Fix multiple definitions of mk[o]stemp[s]64
[glibc.git] / ChangeLog
blob60531095db1dcf533799eb063a40848344b5fb2e
1 2016-11-22  Andreas Schwab  <schwab@suse.de>
3         * misc/mkstemp.c: Include <fcntl.h>.
4         * misc/mkstemps.c: Likewise.
5         * misc/mkostemp.c: Likewise.
6         * misc/mkostemps.c: Likewise.
8 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
10         [BZ #20847]
11         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
12         array bounds.
13         (__execvpe): Likewise.
15 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
17         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
18         -fno-isolate-erroneous-paths options for tilepro.
20 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
22         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
23         to 0 when in 32 bit mode.
24         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
25         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
26         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
27         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
28         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
29         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
30         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
31         XSTAT_IS_XSTAT64 test.
32         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
33         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
34         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
35         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
36         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
37         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
38         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
39         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
40         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
41         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
42         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
44 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
46         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
47         (setpayload): New declaration.
48         * math/Versions (setpayload): New libm symbol at version
49         GLIBC_2.25.
50         (setpayloadf): Likewise.
51         (setpayloadl): Likewise.
52         * math/Makefile (libm-calls): Add s_setpayloadF.
53         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
54         test_Ff_b1_data.
55         (RUN_TEST_Ff_b1): New macro.
56         (RUN_TEST_LOOP_Ff_b1): Likewise.
57         (canonicalize_test_data): Update type.
58         (setpayload_test_data): New array.
59         (setpayload_test): New function.
60         (main): Call setpayload_test.
61         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
62         setpayloadf and setpayloadl.
63         * manual/libm-err-tab.pl: Update comment on interfaces without
64         ulps tabulated.
65         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
66         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
67         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
68         Likewise.
69         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
70         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
71         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
72         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
73         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
74         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
75         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
76         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
77         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
78         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
79         setpayload.
80         (CFLAGS-nldbl-setpayload.c): New variable.
81         * sysdeps/nacl/libm.abilist: Update.
82         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
83         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
84         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
85         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
86         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
87         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
88         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
89         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
90         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
91         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
92         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
93         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
94         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
95         Likewise.
96         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
97         Likewise.
98         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
99         Likewise.
100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
101         Likewise.
102         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
103         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
104         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
105         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
106         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
108         Likewise.
109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
110         Likewise.
111         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
112         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
113         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
115 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
117         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
118         * include/unistd.h: Extend comment about __access_noerrno return
119         semantics.
120         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
121         (access_common): Correct typo for EACCES.
123 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
125         * sysdeps/tile/math-tests.h: New file.
127         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
128         (__old_set_dataplane): Rename from set_dataplane and make a
129         compatibility symbol.
130         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
131         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
132         sys/dataplane.h.
134 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
136         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
137         script quote words in command output to log suitably for input to
138         the shell.
140 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
141             Maciej W. Rozycki  <macro@imgtec.com>
143         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
144         `.Lno_weak_fn' label.
145         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
146         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
148 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
149             Yury Norov  <ynorov@caviumnetworks.com>
151         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
152         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
153         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
154         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
155         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
156         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
157         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
158         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
159         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
160         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
161         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
162         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
163         (sysdep_routines): Remove oldgetrlimit64.
164         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
165         (sysdep_routines): Likewise.
166         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
167         (sysdep_routines): Likewise.
168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
169         [$(subdir) = resource] (sysdep_routines): Likewise.
170         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
171         [$(subdir) = resource] (sysdep_routines): Likewise.
172         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
173         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
174         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
175         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
176         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
177         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
178         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
179         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
180         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
181         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
182         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
183         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
184         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
185         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
186         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
187         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
188         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
189         setrlimit and getrlimit.
190         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
191         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
192         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
195         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
196         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
197         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
198         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
199         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
200         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
201         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
202         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
203         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
204         (__old_getrlimit64): Add compatibility symbol.
205         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
207 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
209         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
210         newly built gmp, mpfr and mpc.
212         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
214 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
216         * conform/Makefile (linknamespace-libs): Rename to
217         linknamespace-libs-thr.
218         (linknamespace-libs-posix): New variable.
219         (linknamespace-libs-xsi): Likewise.
220         (linknamespace-libs-XPG3): Include libcrypt.a.
221         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
222         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
223         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
224         (linknamespace-libs-XOPEN2K): Likewise.
225         (linknamespace-libs-XOPEN2K8): Likewise.
226         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
228         [BZ #20829]
229         * stdio-common/Versions (__snprintf): Add to version
230         GLIBC_PRIVATE.
231         * include/stdio.h (__snprintf): Use libc_hidden_proto.
232         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
233         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
234         of snprintf.
235         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
237 2016-11-16  Zack Weinberg  <zackw@panix.com>
239         * string/string.h: Remove obsolete comment stating that
240         strcoll_l and strxfrm_l have not yet been standardized.
242 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
244         * hurd/hurd.h (__hurd_fail_noerrno): New function.
245         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
246         __access_noerrno.
247         * io/access.c (__access_noerrno): New function.
248         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
249         (hurd_fail_seterrno): Likewise.
250         (access_common): Likewise.
251         (__access_noerrno): Likewise.
252         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
253         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
254         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
255         macro.
257 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
259         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
260         Only declare fpregs if [__SH_FPU_ANY__].
262 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
264         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
265         Make code unconditional.
266         [!(__SH4__ || __SH4A__)]: Remove conditional code.
268 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
270         * manual/sysinfo.texi (S_APPEND): Delete.
271         (S_IMMUTABLE): Likewise.
273 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
274             Magnus Granberg  <zorry@gentoo.org>
275             Mike Frysinger  <vapier@gentoo.org>
277         [BZ #20662]
278         * configure.ac (libc_cv_predef_stack_protector): Also check for
279         __stack_chk_fail_local symbols.
280         * configure: Regenerated.
282 2016-11-15  Florian Weimer  <fweimer@redhat.com>
284         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
285         (libc_hidden_def): Remove redefinition.
286         (__sigsetjmp): Add hidden definition.
287         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
288         (libc_hidden_def): Remove redefinition.
289         (__sigsetjmp): Add hidden definition.
291 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
293         * scripts/build-many-glibcs.py (os.path): Do not import.
294         (Context): Inherit explicitly from object.  Remove blank line
295         between class and docstring.
296         (Config): Likewise.
297         (Glibc): Likewise.
298         (Command): Likewise.
299         (CommandList): Likewise.
300         (Context.write_files): Store chmod mode in a variable.
302         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
303         LIBC_SLIBDIR_RTLDDIR for tilegx32.
304         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
306 2016-11-14  Zack Weinberg  <zackw@panix.com>
308         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
309         creating or re-creating it.
311         * string/bits/string2.h: Fix typo in comment.
313 2016-11-14  Zack Weinberg  <zackw@panix.com>
315         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
316         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
317         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
318         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
319         of redirected function names.
321         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
322         as well.  Document that MESSAGE must be a single string literal.
324 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
326         * scripts/build-many-glibcs.py: New file.
328         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
329         (do_test): Disable -Wmaybe-uninitialized around uses of
330         except_mask.
332         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
334 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
336         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
337         (atomic_store_release): Provide tilepro-specific implementations.
339 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
341         * math/math.h (__MATH_TG): New macro.
342         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
343         [__USE_ISOC99] (signbit): Likewise.
344         [__USE_ISOC99] (isfinite): Likewise.
345         [__USE_ISOC99] (isnan): Likewise.
346         [__USE_ISOC99] (isinf): Likewise.
347         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
348         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
349         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
350         __MATH_TG and __MATH_EVAL_FMT2.
351         * sysdeps/generic/math_private.h (fabs_tg): Define using
352         __MATH_TG.
353         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
354         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
355         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
356         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
357         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
358         macro.
359         (__iscanonical): Likewise.
360         (iscanonical): Define using __MATH_TG.
362 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
364         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
365         guards.
367         * sysdeps/unix/sysv/linux/access.c: New file.
368         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
370 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
372         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
373         and __WORDSIZE32_PTRDIFF_LONG.
375 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
377         * sysdeps/aarch64/libm-test-ulps: Regenerated.
379 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
381         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
382         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
383         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
384         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
385         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
387         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
388         * sysdeps/unix/sysv/linux/truncate.c: New file.
389         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
390         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
391         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
392         Remove.
393         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
394         Likewise.
396         * posix/tst-truncate-common.c: New file.
397         * posix/tst-truncate.c: Use tst-truncate-common.c.
398         * posix/tst-truncate64.c: Likewise and add LFS tests.
399         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
400         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
401         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
402         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
403         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
405         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
406         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
407         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
408         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
409         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
410         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
411         Remove.
412         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
413         Likewise.
415 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
417         [BZ #20790]
418         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
419         to MAXLINESIZE.
420         * sunrpc/bug20790.x: New file.
421         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
422         variable.
423         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
424         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
426         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
428         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
430         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
431         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
432         calloc, realloc, free, memalign and __libc_memalign rather than
433         making them optional.
435         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
436         for libc.so.
438 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
440         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
441         ptw-lseek64.
442         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
443         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
444         Likewise.
445         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
446         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
447         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
448         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
449         * sysdeps/unix/sysv/linux/lseek.c: New file.
450         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
451         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
452         __libc_lseek64 from auto-generation.
453         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
454         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
456 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
458         * nptl/tst-basic1.c (tf, do_test): Use write_message.
459         * nptl/tst-cleanup1.c (do_test): Likewise.
460         * nptl/tst-cleanup3.c (do_test): Likewise.
461         * nptl/tst-key1.c (do_test): Likewise.
462         * nptl/tst-key2.c (tf, do_test): Likewise.
463         * nptl/tst-key3.c (tf, do_test): Likewise.
464         * nptl/tst-stdio1.c (do_test): Likewise.
465         * nptl/tst-stdio2.c (do_test): Likewise.
467         * nptl/tst-kill3.c (handler): Use write_message in place of write.
468         * nptl/tst-kill6.c (handler): Likewise.
469         * nptl/tst-tls2.c (CB): Likewise.
470         * nptl/tst-tls3.c (CB): Likewise.
472 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
474         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
476 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
477             Steve Ellcey  <sellcey@caviumnetworks.com>
479         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
480           __ASSUME_ST_INO_64_BIT as 0
481         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
482         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
483           over the code where __ASSUME_ST_INO_64_BIT is used.
484         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
485         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
486         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
488 2016-11-07  Florian Weimer  <fweimer@redhat.com>
490         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
491         Document ABI exposure of the __kind offset.
492         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
493         Mention reason for the __kind offset exposure in the ABI.
494         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
495         Likewise.
496         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
497         Likewise.
498         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
499         Likewise.
500         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
501         (struct __pthread_mutex_s): Likewise.
502         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
503         Likewise.
504         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
505         Likewise.
506         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
507         Likewise.
508         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
509         Likewise.
510         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
511         Likewise.
512         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
513         Likewise.
514         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
515         (struct __pthread_mutex_s): Likewise.
516         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
517         (struct __pthread_mutex_s): Likewise.
518         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
519         Likewise.
521 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
523         * test-skeleton.c: Document do_test usage.
525 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
527         * iconv/gconv.h (__gconv_info): Define __data element using a
528         zero-length array.
530 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
532         * math/test-tgmath2.c: Split up test function.
534 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
536         * Rules (tests-expected): New variable, depending on
537         $(run-built-tests).
538         (tests): Pass $(tests-expected) to merge-test-results.sh, not
539         $(tests).
541         * Rules [$(run-built-tests) = no] (tests): Do not depend on
542         $(tests-unsupported).
544 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
546         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
547         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
549 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
551         [BZ #20768]
552         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
553         __fegetenv instead of fegetenv.
555         [BZ #14139]
556         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
557         (find_files): Obtain platform name from libm-test-ulps-name and
558         store in %pplatforms.
559         (canonicalize_platform): Remove.
560         (print_platforms): Use $pplatforms directly.
561         (by_platforms): Do not allow for platforms missing from
562         %pplatforms.
563         * sysdeps/aarch64/libm-test-ulps-name: New file.
564         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
565         * sysdeps/arm/libm-test-ulps-name: Likewise.
566         * sysdeps/generic/libm-test-ulps-name: Likewise.
567         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
568         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
569         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
570         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
571         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
572         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
573         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
574         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
575         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
576         * sysdeps/nios2/libm-test-ulps-name: Likewise.
577         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
578         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
579         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
580         * sysdeps/sh/libm-test-ulps-name: Likewise.
581         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
582         * sysdeps/tile/libm-test-ulps-name: Likewise.
583         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
585         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
587         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
588         (test-xfail-check-execstack): New variable.
590         * sysdeps/mips/localplt.data: New file.
592 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
593             Steve Ellcey  <sellcey@caviumnetworks.com>
595         * bits/wordsize.h: Add documentation.
596         * sysdeps/aarch64/bits/wordsize.h : New file
597         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
598         definitions.
599         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
600         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
601         with #if instead of #ifdef.
602         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
603         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
604         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
605         Add or change defines.
606         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
607         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
608         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
609         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
610         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
611         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
612         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
613         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
614         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
615         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
616         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
617         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
618         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
619         * sysdeps/x86/bits/wordsize.h: Likewise.
621 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
622             Kevin Petit  <kevin.petit@arm.com>
624         * sysdeps/aarch64/memchr.S (__memchr): New file.
626 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
628         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
630 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
632         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
633         $(linknamespace-symlists-tests).
635 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
637         * time/tst-strptime2.c: Ignore -Wformat-length warning.
639 2016-11-02  Florian Weimer  <fweimer@redhat.com>
640             Carlos O'Donell  <carlos@redhat.com>
642         [Bug #20729]
643         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
644         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
645         for -Os related change.
647 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
649         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
651 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
653         [BZ #19673]
654         * manual/math.texi (Exponents and Logarithms): Correct description
655         of clog10.
657 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
659         [Bz #20729]
660         * locale/weight.h: Include libc-internal.h.
661         * locale/weightwc.h: Likewise.
662         * nptl/nptl_dbP.h: Likewise.
664 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
666         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
667         when it is MACH_PORT_NULL.
669 2016-10-31  Andreas Schwab  <schwab@suse.de>
671         [BZ #20707]
672         * posix/glob.c (glob): Initialize pglob before checking for
673         GLOB_BRACE.  Don't call glob recursively if pattern contains no
674         valid brace expression despite GLOB_BRACE.
675         * posix/globtest.sh: Test it.
677 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
679         [BZ #20729]
680         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
681         Define.
682         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
683         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
684         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
685         for seq2.back_us and seq1.back_us only for -Os compiles.
686         * locale/weightwc.h (findix): Likewise.
687         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
688         DB_GET_FIELD_ADDRESS only for -Os compiles.
689         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
690         for slen only for -Os compiles.
691         * string/strcoll_l.c (get_next_seq): Ignore
692         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
693         for -Os compiles.
695         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
696         * include/crypt.h: New file.
698 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
700         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
701         from test-skeleton.c.
702         (statclass): Replace calls to write with calls to write_message.
704 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
706         * math/math.h
707         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
708         New macro.
709         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
710         Likewise.
711         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
712         Likewise.
713         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
714         SNANL.
715         * math/test-double.h (snan_value_MACRO): New macro.
716         * math/test-float.h (snan_value_MACRO): Likewise.
717         * math/test-ldouble.h (snan_value_MACRO): Likewise.
718         * math/libm-test.inc (issignaling_test_data): Add tests of
719         snan_value_MACRO.
721 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
723         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
724         behavior when eliding a lock not held by the current thread.
725         * sysdeps/powerpc/nptl/elide.h: Likewise.
727 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
729         [BZ #20728]
730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
731         branch to _exit() by a function call.
733 2016-10-28  Florian Weimer  <fweimer@redhat.com>
735         * malloc/malloc.c: Update chunk layout comments.
736         (chunk_main_arena): Update comment.
738 2016-10-28  Florian Weimer  <fweimer@redhat.com>
740         * crypt/sha256.c, crypt/sha256-block.c,
741         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
742         sha256_process_block to __sha256_process_block.
743         * crypt/sha512.c, crypt/sha512-block.c,
744         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
745         sha512_process_block to __sha512_process_block.
747 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
749         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
751         * math/test-nan-overflow.c: Include stdlib.h for malloc.
753 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
755         [BZ #20019]
756         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
757         definition in unrelocated shared library.
758         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
760 2016-10-28  Florian Weimer  <fweimer@redhat.com>
762         [BZ #20729]
763         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
764         * sysdeps/unix/sysv/linux/i386/Makefile
765         (uses-6-syscall-arguments): Define.
766         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
767         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
768         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
769         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
770         Likewise.
771         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
772         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
773         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
774         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
775         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
776         (CFLAGS-fallocate64.os): Likewise.
777         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
778         (CFLAGS-pthread_rwlock_timedrdlock.os)
779         (CFLAGS-pthread_rwlock_timedwrlock.o)
780         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
781         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
782         (CFLAGS-sem_timedwait.os): Likewise.
784 2016-10-28  Florian Weimer  <fweimer@redhat.com>
786         * elf/tst-linkall-static.c: New file.
787         * elf/Makefile (tests-static): Add tst-linkall-static.
788         (tst-linkall-static): Link against static libraries.
790 2016-10-27  Florian Weimer  <fweimer@redhat.com>
792         * malloc/malloc.c (sysmalloc): Initialize previous size field of
793         mmaped chunks.
795 2016-10-28  Florian Weimer  <fweimer@redhat.com>
797         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
798         members to mchunk_prev_size, mchunk_size.
799         (chunk_main_arena): Reverse sense and rename from
800         chunk_non_main_arena.
801         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
802         mchunk_size instead of size.
803         (set_non_main_arena): Define.
804         (chunksize): Use chunksize_nomask instead of direct member access.
805         (chunksize_nomask): Define.
806         (next_chunk): Use chunksize instead of direct member access.
807         (prev_size, set_prev_size): Define.
808         (prev_chunk): Use prev_size instead of direct member access.
809         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
810         (inuse_bit_at_offset, set_inuse_bit_at_offset)
811         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
812         (mchunk_prev_size, mchunk_size): Poison tokens.
813         (unlink): Use chunksize_nomask, prev_size accessors.
814         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
815         (do_check_free_chunk): Use prev_size accessor.
816         (sysmalloc): Use set_prev_size, set_head accessors.
817         (munmap_chunk, mremap_chunk): Use prev_size accessor.
818         (__libc_free): Use chunksize_nomask accessor.
819         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
820         chunk_main_arena accessors.
821         (_int_free): Use chunksize_nomask, prev_size accessors.
822         (malloc_consolidate): Use chunksize, prev_size accessors.
823         (_int_realloc): Use chunksize_nomask accessor.
824         (_int_memalign): Use set_prev_size accessor.
825         (__malloc_info): Use chunksize_nomask accessor.
826         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
827         accessors.
828         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
829         (heap_trim): Use chunksize_nomask, prev_size accessors.
831 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
833         [BZ #19380]
834         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
835         for inexact results.
836         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
837         of inexact result where mpfr_subnormalize is the only inexact
838         step.
839         * stdlib/tst-strtod-round-data.h: Regenerated.
840         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
841         Define to 0.
842         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
844 2016-10-27  David S. Miller  <davem@davemloft.net>
846         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
848 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
850         * malloc/malloc.c (do_set_mallopt_check): New function.
851         (do_set_mmap_threshold): Likewise.
852         (do_set_mmaps_max): Likewise.
853         (do_set_top_pad): Likewise.
854         (do_set_perturb_byte): Likewise.
855         (do_set_trim_threshold): Likewise.
856         (do_set_arena_max): Likewise.
857         (do_set_arena_test): Likewise.
858         (__libc_mallopt): Use them.
860 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
862         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
863         (canonicalize): New declaration.
864         * math/Versions (canonicalize): New libm symbol at version
865         GLIBC_2.25.
866         (canonicalizef): Likewise.
867         (canonicalizel): Likewise.
868         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
869         * math/s_canonicalize_template.c: New file.
870         * math/libm-test.inc: Update comment on functions tested and
871         testing of NaN payloads.
872         (TEST_NAN_PAYLOAD): New macro.
873         (NO_TEST_INLINE): Update value.
874         (XFAIL_TEST): Likewise.
875         (ERRNO_UNCHANGED): Likewise.
876         (ERRNO_EDOM): Likewise.
877         (ERRNO_ERANGE): Likewise.
878         (IGNORE_RESULT): Likewise.
879         (NON_FINITE): Likewise.
880         (TEST_SNAN): Likewise.
881         (NO_TEST_MATHVEC): Likewise.
882         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
883         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
884         (struct test_Ffp_b1_data): New type.
885         (RUN_TEST_Ffp_b1): New macro.
886         (RUN_TEST_LOOP_Ffp_b1): Likewise.
887         (canonicalize_test_data): New array.
888         (canonicalize_test): New function.
889         (main): Call canonicalize_test.
890         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
891         canonicalizef and canonicalizel.
892         * manual/libm-err-tab.pl: Update comment on interfaces without
893         ulps tabulated.
894         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
895         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
896         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
897         canonicalize.
898         (CFLAGS-nldbl-canonicalize.c): New variable.
899         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
900         to ...
901         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
902         ... here.
903         (do_test): Also test canonicalizel.
904         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
905         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
906         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
907         file.
908         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
909         Use libm_hidden_def.
910         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
911         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
912         (do_test): Also test canonicalizel.
913         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
914         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
915         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
916         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
917         libm_hidden_def.
918         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
919         macro.
920         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
921         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
922         * sysdeps/nacl/libm.abilist: Update.
923         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
924         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
925         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
926         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
927         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
928         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
929         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
930         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
931         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
932         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
933         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
934         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
936         Likewise.
937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
938         Likewise.
939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
940         Likewise.
941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
942         Likewise.
943         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
944         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
945         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
946         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
947         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
949         Likewise.
950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
951         Likewise.
952         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
953         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
954         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
956         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
957         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
958         getpayload.
959         (CFLAGS-nldbl-getpayload.c): New variable.
961 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
963         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
964         integer from the format string.
966 2016-10-26  Florian Weimer  <fweimer@redhat.com>
968         [BZ #19473]
969         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
970         declarations.
971         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
972         weak aliases.
973         * malloc/hooks.c (__malloc_get_state): Remove definition.
974         (malloc_get_state): New stub implementation as
975         compatibility symbol.
976         (malloc_set_state): Rename from __malloc_set_state.  Turn into
977         compat symbol.
978         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
979         malloc_set_state.
980         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
982 2016-10-26  Florian Weimer  <fweimer@redhat.com>
984         * iconvdata/iso646.c (enum variant): Drop illegal_var.
985         (names): Turn into concatenation of strings.
986         (gconv_init): Adapt iteration over names.
988 2016-10-26  Florian Weimer  <fweimer@redhat.com>
990         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
991         make const.
992         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
993         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
994         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
995         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
996         character in sbconv.
997         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
998         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
999         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
1001 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1003         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
1005         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
1006         (M_TRIM_THRESHOLD): Likewise.
1008         * manual/memory.texi (M_ARENA_TEST): Add documentation.
1009         (M_ARENA_MAX): Likewise.
1010         * malloc/malloc.c: Remove obsolete comment.
1012         * manual/memory.texi: Add environment variable alternatives to
1013         setting mallopt parameters.
1015 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
1017         * include/atomic.h
1018         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
1019         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
1021 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1023         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
1024         * stdlib/tst-strfrom.h: New file.
1025         * stdlib/tst-strfrom.c: New file.
1026         * stdlib/tst-strfrom-locale.c: New file.
1028         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
1029         * stdlib/bug-strtod2.c: Likewise.
1030         * stdlib/tst-strtod-round-skeleton.c: Likewise.
1031         * stdlib/tst-strtod6.c: Likewise.
1032         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
1034 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1036         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
1037         * manual/arith.texi: Document strfromd, strfromf, strfroml.
1038         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
1039         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
1040         * stdlib/stdlib.h (strfromd): New declaration.
1041         (strfromf): Likewise.
1042         (strfroml): Likewise.
1043         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
1044         strfrom.
1045         * stdlib/strfromd.c: New file.
1046         * stdlib/strfromf.c: Likewise.
1047         * stdlib/strfroml.c: Likewise.
1048         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
1049         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
1050         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
1051         * sysdeps/arm/nacl/libc.abilist: Update.
1052         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
1053         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1054         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1055         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1056         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1057         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1058         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1059         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1060         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1061         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1062         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1063         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1064         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1065         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
1067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
1068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1070         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1071         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1072         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1073         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1074         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1077         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1078         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1079         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1081 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
1083         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
1084         instead of cmpli.
1085         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
1086         instead of cmpli.
1088 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
1090         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
1091         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1092         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1093         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1094         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1095         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1097 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1099         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
1100         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1101         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
1102         SYSCALL_LL64_PRW.
1103         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1104         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
1105         __ASSUME_PRW_DUMMY_ARG.
1106         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
1107         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1108         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1109         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1110         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
1111         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
1113 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
1115         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
1117 2016-10-22  Florian Weimer  <fweimer@redhat.com>
1119         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
1120         "C++", to override a potential extern "C" directive around the
1121         header file inclusion.
1123 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
1125         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
1127 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1129         * sysdeps/powerpc/fpu/fenv_private.h:
1130         (_FPU_MASK_ALL): Rename to...
1131         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
1132         XE FPSCR bits.
1134         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
1136         (_FPU_MASK_ROUNDING): Rename to...
1137         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
1138         NI bits.
1140         (_FPU_MASK_EXCEPT_ROUND): Rename to...
1141         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
1142         bits and rounding bits.
1144         (__libc_feholdbits_ppc): New inline function to mask, set,
1145         and pontentially clear FSPCR bits, and change MSR[FE] bits.
1146         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
1147         (libc_feholdexcept_setround_ppc): Likewise.
1149         (__libc_femergeenv_ppc): New function to dynamically mask both
1150         old and new FP environments and merge.
1151         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
1152         (libc_feresetround_ppc): Likewise.
1153         (libc_feupdateenv_test_ppc): Likewise.
1154         (libc_feupdateenv_ppc): Likewise.
1156         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
1157         of ISA RN bits, and update macro names.
1158         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
1159         effectively the same as the previously mentioned function.
1161         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
1162         usage with fe_resetround_ppc.
1164         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
1165         to be used.
1166         (libc_feholdexcept_setround_ctxf): Likewise.
1167         (libc_feholdexcept_setround_ctxl): Likewise.
1169 2016-10-21  Florian Weimer  <fweimer@redhat.com>
1171         [BZ #20715]
1172         * math/math.h [__cplusplus] (iszero): Define as function template.
1173         * math/Makefile [CXX] (tests): Add test-math-iszero.
1174         (CFLAGS-test-math-iszero.cc): Set.
1175         * math/test-math-iszero.cc: New file.
1177 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
1179         [BZ #20660]
1180         * sysdeps/arm/e_sqrt.c: New file.
1181         * sysdeps/arm/e_sqrtf.c: Likewise.
1183 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
1185         [BZ #20718]
1186         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
1187         not use floating-point comparisons to test sign.
1188         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
1189         Likewise.
1191         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1192         (getpayload): New declaration.
1193         * math/Versions (getpayload): New libm symbol at version
1194         GLIBC_2.25.
1195         (getpayloadf): Likewise.
1196         (getpayloadl): Likewise.
1197         * math/Makefile (libm-calls): Add s_getpayloadF.
1198         * math/libm-test.inc: Include <nan-high-order-bit.h>.
1199         (struct test_f_f_data): Add comment.
1200         (RUN_TEST_fp_f): New macro.
1201         (RUN_TEST_LOOP_fp_f): Likewise.
1202         (getpayload_test_data): New array.
1203         (getpayload_test): New function.
1204         (main): Call getpayload_test.
1205         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
1206         descriptor.
1207         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
1208         getpayloadf and getpayloadl.
1209         * manual/libm-err-tab.pl: Update comment on interfaces without
1210         ulps tabulated.
1211         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
1212         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
1213         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
1214         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
1215         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
1216         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
1217         * sysdeps/nacl/libm.abilist: Update.
1218         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1219         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1220         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1221         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1222         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1223         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1224         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1225         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1226         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1227         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1228         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1229         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1231         Likewise.
1232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1233         Likewise.
1234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1235         Likewise.
1236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1237         Likewise.
1238         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1239         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1240         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1241         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1242         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1244         Likewise.
1245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1246         Likewise.
1247         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1248         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1249         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1251 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1253         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
1254         tst-fallocate{64}.
1255         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
1256         on syscall return.
1258 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
1260         [BZ #20689]
1261         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
1262         usable.
1264 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
1266         * sysdeps/generic/nan-high-order-bit.h: New file.
1267         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
1268         * sysdeps/mips/nan-high-order-bit.h: Likewise.
1269         * sysdeps/hppa/math_private.h: Remove file.
1270         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
1271         not define here.
1272         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
1273         <nan-high-order-bit.h>.
1274         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1275         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
1276         <nan-high-order-bit.h>.
1277         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1278         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1279         <nan-high-order-bit.h>.
1280         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1281         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
1282         <nan-high-order-bit.h>.
1283         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1284         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
1285         <nan-high-order-bit.h>.
1286         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1287         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
1288         <nan-high-order-bit.h>.
1289         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1290         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
1291         <nan-high-order-bit.h>.
1292         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1293         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
1294         <nan-high-order-bit.h>.
1295         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1296         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
1297         <nan-high-order-bit.h>.
1298         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1299         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
1300         <nan-high-order-bit.h>.
1301         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1302         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1303         <nan-high-order-bit.h>.
1304         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1305         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1306         <nan-high-order-bit.h>.
1307         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1308         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
1309         <nan-high-order-bit.h>.
1310         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1311         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
1312         <nan-high-order-bit.h>.
1313         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1314         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
1315         <nan-high-order-bit.h>.
1316         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1317         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
1318         <nan-high-order-bit.h>.
1319         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1320         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1321         <nan-high-order-bit.h>.
1322         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1323         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1324         <nan-high-order-bit.h>.
1325         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1327 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1329         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
1331 2016-09-22  John David Anglin  <dave.anglin@bell.net>
1333         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
1334         abort-instr.h.
1335         (EFAULT): Remove conditional define.
1336         (ENOSYS): Likewise.
1337         (atomic_compare_and_exchange_val_acq): Use instruction nullification
1338         instead of conditional branch instructions.
1340 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
1342         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1343         (totalordermag): New declaration.
1344         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
1345         New macro.
1346         * math/Versions (totalordermag): New libm symbol at version
1347         GLIBC_2.25.
1348         (totalordermagf): Likewise.
1349         (totalordermagl): Likewise.
1350         * math/Makefile (libm-calls): Add s_totalordermagF.
1351         * math/libm-test.inc (totalordermag_test_data): New array.
1352         (totalordermag_test): New function.
1353         (main): Call totalordermag_test.
1354         * math/test-tgmath.c (NCALLS): Increase to 125.
1355         (F(compile_test)): Call totalordermag.
1356         (F(totalordermag)): New function.
1357         * manual/arith.texi (FP Comparison Functions): Document
1358         totalordermag, totalordermagf and totalordermagl.
1359         * manual/libm-err-tab.pl: Update comment on interfaces without
1360         ulps tabulated.
1361         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
1362         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
1363         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
1364         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
1365         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
1366         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
1367         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
1368         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1369         totalordermag.
1370         (CFLAGS-nldbl-totalordermag.c): New variable.
1371         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
1372         (do_test): Also test totalordermagl.
1373         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
1374         Likewise.
1375         * sysdeps/nacl/libm.abilist: Update.
1376         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1377         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1378         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1379         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1380         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1381         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1382         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1383         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1384         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1385         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1386         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1387         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1389         Likewise.
1390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1391         Likewise.
1392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1393         Likewise.
1394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1395         Likewise.
1396         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1397         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1398         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1399         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1400         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1402         Likewise.
1403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1404         Likewise.
1405         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1406         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1407         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1409 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
1411         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
1412         boolean.
1414 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
1416         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
1417         raising FE_INVALID with feraisexcept in case where part of
1418         argument is infinite, subtract that part of argument from itself.
1419         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
1420         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
1421         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
1423 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
1425         * math/libm-test.inc (totalorder_test_data): Add more tests.
1427 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
1429         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
1430         Undefine weak_alias and add a comment why mips64 require
1431         versioning.
1433 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
1435         [BZ #20647]
1436         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
1437         maximum CPUID level is less than 2.
1439 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
1441         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1442         (totalorder): New declaration.
1443         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
1444         New macro.
1445         * math/Versions (totalorder): New libm symbol at version
1446         GLIBC_2.25.
1447         (totalorderf): Likewise.
1448         (totalorderl): Likewise.
1449         * math/Makefile (libm-calls): Add s_totalorderF.
1450         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
1451         string.
1452         * math/libm-test.inc (PAYLOAD_DIG): New macro.
1453         (qnan_value_pl): Likewise.
1454         (snan_value_pl): Likewise.
1455         (qnan_value): Define using qnan_value_pl.
1456         (snan_value): Define using snan_value_pl.
1457         (struct test_ff_i_data): Add comment about which tests use this
1458         structure.
1459         (RUN_TEST_ff_b): New macro.
1460         (RUN_TEST_LOOP_ff_b): Likewise.
1461         (totalorder_test_data): New array.
1462         (totalorder_test): New function.
1463         (main): Call totalorder_test.
1464         * math/test-tgmath.c (NCALLS): Increase to 122.
1465         (F(compile_test)): Call totalorder.
1466         (F(totalorder)): New function.
1467         * manual/arith.texi (FP Comparison Functions): Document
1468         totalorder, totalorderf and totalorderl.
1469         * manual/libm-err-tab.pl: Update comment on interfaces without
1470         ulps tabulated.
1471         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
1472         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
1473         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
1474         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
1475         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
1476         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
1477         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
1478         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1479         totalorder.
1480         (CFLAGS-nldbl-totalorder.c): New variable.
1481         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
1482         file.
1483         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
1484         Add test-totalorderl-ldbl-128ibm.
1485         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
1486         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
1487         test-totalorderl-ldbl-96.
1488         * sysdeps/nacl/libm.abilist: Update.
1489         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1490         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1491         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1492         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1493         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1494         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1495         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1496         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1497         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1498         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1499         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1500         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1502         Likewise.
1503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1504         Likewise.
1505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1506         Likewise.
1507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1508         Likewise.
1509         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1510         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1511         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1512         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1513         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1515         Likewise.
1516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1517         Likewise.
1518         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1519         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1520         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1522 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1524         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
1525         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
1526         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
1527         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
1528         remove ENOSYS implementation.
1529         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
1530         Consolidate all Linux implementations.
1532 2016-10-11  Florian Weimer  <fweimer@redhat.com>
1534         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
1535         * resolv/herror.c (herror): Cast away const-ness.
1536         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
1537         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
1539 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
1541         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
1542         instead of M_NAN + M_NAN.
1543         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
1545 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1547         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
1548         unused variable 'p'.
1550 2016-10-09  Alan Modra  <amodra@gmail.com>
1551             Andreas Schwab  <schwab@linux-m68k.org>
1553         [BZ #20554]
1554         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
1555         [PIC && !SHARED]: Set up PIC register for PLT call.
1557 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
1559         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
1560         conditional on value of [__FLT_EVAL_METHOD__].
1561         * math/test-iseqsig-excess-precision.c: New file.
1562         * math/Makefile (tests): Add test-iseqsig-excess-precision.
1564 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1566         * math/s_iseqsig_template.c: Include math-private.h.
1568         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
1569         * posix/tst-posix_fadvise.c: New file.
1570         * posix/tst-posix_fadvise64.c: Likewise.
1571         * posix/tst-posix_fadvise-common.c: Likewise.
1572         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1573         (__ASSUME_FADVISE64_64_6ARG): Define.
1574         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1575         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
1576         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1577         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
1578         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
1579         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
1580         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
1581         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
1582         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
1583         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
1584         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
1585         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
1586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
1587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
1588         Likewise.
1589         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
1590         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
1591         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
1592         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
1593         Alias to __posix_fadvise64_l32.
1594         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
1595         Add compat definition to posix_fadvise64.
1596         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
1597         Add versioned definition to posix_fadvise64.
1598         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
1599         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
1600         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
1601         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
1602         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
1604         * io/Makefile (tests): Add tst-posix_fallocate and
1605         tst-posix_fallocate64.
1606         * io/tst-posix_fallocate-common.c: New file.
1607         * io/tst-posix_fallocate.c: Likewise.
1608         * io/tst-posix_fallocate64.c: Likewise.
1609         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
1610         file.
1611         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
1612         Likewise.
1613         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
1614         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
1615         Likewise.
1616         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
1617         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
1618         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
1619         SYSCALL_LL to pass both offset and len arguments.
1620         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
1621         Likewise.
1622         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
1623         __libc_pwrite64 alias used by posix_fallocate64.
1625         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
1626         tst-fallocate64.
1627         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
1628         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
1629         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
1630         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
1631         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
1632         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
1633         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
1634         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
1635         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
1636         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
1637         macro on offset argument.
1638         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
1639         SYSCALL_LL64 on offset argument.
1641         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
1642         tst-fallocate64.
1643         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
1644         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
1645         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
1646         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
1647         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
1648         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
1649         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
1650         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
1651         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
1652         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
1653         macro on offset argument.
1654         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
1655         SYSCALL_LL64 on offset argument.
1656         * test-skeleton.c (FAIL_RET): Add macro.
1657         (FAIL_EXIT): Likewise.
1658         (FAIL_EXIT1): Likewise.
1659         (_FAIL): Likewise.
1661 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1663         [BZ #20629]
1664         resolv: Remove RES_USEBSTRING and its implementation.
1665         * resolv/resolv.h (RES_USEBSTRING): Remove.
1666         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
1667         (digitvalue, encode_bitstring, decode_bitstring): Remove.
1668         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
1669         (labellen): Remove extended label types support.
1670         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
1671         * resolv/res_init.c (res_setoptions): Likewise.
1672         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
1674 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1676         resolv: Remove RES_NOIP6DOTINT and its implementation.
1677         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
1678         (RES_NOIP6DOTINT): Remove.
1679         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
1680         handling.
1681         * resolv/res_debug.c (p_option): Likewise.
1682         * resolv/res_init.c (res_setoptions): Likewise.
1683         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
1685 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1687         resolv: Deprecate unimplemented flags.
1688         * misc/sys/cdefs.h (__glibc_macro_warning1)
1689         (__glibc_macro_warning): Define.
1690         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
1691         (RES_KEEPTSIG): Mark as deprecated.
1692         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
1693         RES_NOCHECKNAME, RES_KEEPTSIG.
1694         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
1696 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1698         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
1699         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
1700         Use strong_alias to create symbols for glibc verison 2.19.
1702 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1704         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
1706 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1708         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
1710 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1712         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
1714 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1716         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1717         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
1718         in header for using it as type for ifunc function because __GI_* symbols
1719         for ppc32 do not target the ifunc symbols.
1720         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1722 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1724         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
1725         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
1726         libc_ifunc_hidden_def.
1727         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
1728         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
1729         Redirect ifunced function in header for using it as type of ifunc'ed
1730         function. Redefine libc_hidden_def to use fallback non ifunc'ed
1731         function for __GI_* symbol.
1732         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
1733         * include/libc-symbols.h
1734         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
1736 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1738         [BZ #20478]
1739         * sysdeps/s390/multiarch/ifunc-resolve.h
1740         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
1741         to create ifunc symbols.
1742         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
1743         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
1744         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
1745         for using it as type for ifunc function.
1746         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
1747         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
1748         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1749         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1750         * sysdeps/s390/multiarch/strcat.c: Likewise.
1751         * sysdeps/s390/multiarch/strchr.c: Likewise.
1752         * sysdeps/s390/multiarch/strcmp.c: Likewise.
1753         * sysdeps/s390/multiarch/strcpy.c: Likewise.
1754         * sysdeps/s390/multiarch/strcspn.c: Likewise.
1755         * sysdeps/s390/multiarch/strlen.c: Likewise.
1756         * sysdeps/s390/multiarch/strncmp.c: Likewise.
1757         * sysdeps/s390/multiarch/strncpy.c: Likewise.
1758         * sysdeps/s390/multiarch/strnlen.c: Likewise.
1759         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
1760         * sysdeps/s390/multiarch/strrchr.c: Likewise.
1761         * sysdeps/s390/multiarch/strspn.c: Likewise.
1762         * sysdeps/s390/multiarch/wcschr.c: Likewise.
1763         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
1764         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
1765         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
1766         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
1767         * sysdeps/s390/multiarch/wmemset.c: Likewise.
1768         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
1769         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
1770         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
1771         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
1772         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
1773         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
1775 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1777         * include/libc-symbols.h (__ifunc_resolver):
1778         New macro is used by __ifunc* macros.
1779         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
1780         depending on HAVE_GCC_IFUNC.
1781         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
1782         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
1783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1784         Redirect ifunced function in header for using as type for ifunc function.
1785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
1786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
1787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
1788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
1789         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1790         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1791         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1792         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1793         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1794         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1795         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1796         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1797         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1798         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
1801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
1803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1804         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1805         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1806         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1807         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1808         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1809         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1810         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1811         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1812         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1813         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1814         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1815         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1816         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
1817         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
1819         Add libc_hidden_def() and use libc_ifunc_hidden() macro
1820         instead of libc_ifunc() macro.
1821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
1822         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1824 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1826         * config.h.in (HAVE_GCC_IFUNC): New undef.
1827         * configure.ac: Add check if gcc supports attribute ifunc feature.
1828         * configure: Regenerated.
1829         * manual/install.texi: Add recommendation for gcc with
1830         indirect-function support.
1831         * INSTALL: Regenerated.
1833 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
1835         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
1836         macro.
1837         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1838         (__iseqsig): New declaration.
1839         * math/s_iseqsig_template.c: New file.
1840         * math/Versions (__iseqsigf): New libm symbol at version
1841         GLIBC_2.25.
1842         (__iseqsig): Likewise.
1843         (__iseqsigl): Likewise.
1844         * math/libm-test.inc (iseqsig_test_data): New array.
1845         (iseqsig_test): New function.
1846         (main): Call iseqsig_test.
1847         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
1848         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
1849         * manual/libm-err-tab.pl: Update comment on interfaces without
1850         ulps tabulated.
1851         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
1852         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
1853         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
1854         * sysdeps/nacl/libm.abilist: Update.
1855         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1856         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1857         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1858         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1859         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1860         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1861         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1862         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1863         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1864         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1865         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1866         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1868         Likewise.
1869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1870         Likewise.
1871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1872         Likewise.
1873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1874         Likewise.
1875         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1876         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1877         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1878         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1879         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1881         Likewise.
1882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1883         Likewise.
1884         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1885         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1886         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1888 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1890         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
1891         do_sincos_2, sloww, sloww1): Update comments.
1893         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
1894         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
1896         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
1897         K boolean and rename it.
1898         (__sin): Adjust.
1899         (__cos): Adjust.
1901 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
1902             Siddhesh Poyarekar  <siddhesh@sourceware.org>
1904         * manual/nss.texi: Fix typos in the manual.
1906 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
1908         * manual/contrib.texi: Fix typos in the manual.
1910         * manual/maint.texi: Fix typos in the manual.
1912         * manual/install.texi: Fix typos in the manual.
1913         * INSTALL: Regenerated.
1915         * manual/lang.texi: Fix typos in the manual.
1917         * manual/probes.texi: Fix typos in the manual.
1919         * manual/threads.texi: Fix typos in the manual.
1921         * manual/debug.texi: Fix typos in the manual.
1923         * manual/crypt.texi: Fix typos in the manual.
1925         * manual/conf.texi: Fix typos in the manual.
1927         * manual/sysinfo.texi: Fix typos in the manual.
1929         * manual/users.texi: Fix typos in the manual.
1931         * manual/job.texi: Fix typos in the manual.
1933         * manual/process.texi: Fix typos in the manual.
1935         * manual/argp.texi: Fix typos in the manual.
1936         * manual/getopt.texi: Likewise.
1937         * manual/startup.texi: Likewise.
1939         * manual/signal.texi: Fix typos in the manual.
1941         * manual/setjmp.texi: Fix typos in the manual.
1943         * manual/resource.texi: Fix typos in the manual.
1945         * manual/time.texi: Fix typos in the manual.
1947         * manual/arith.texi: Fix typos in the manual.
1949         * manual/math.texi: Fix typos in the manual.
1951         * manual/syslog.texi: Fix typos in the manual.
1953         * manual/terminal.texi: Fix typos in the manual.
1955         * manual/socket.texi: Fix typos in the manual.
1957         * manual/filesys.texi: Fix typos in the manual.
1959         * manual/llio.texi: Fix typos in the manual.
1961         * manual/stdio.text: Fix typos in the manual.
1963 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1965         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
1966         instead of K1.
1968         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
1969         SHIFT_QUADRANT and make it bool.
1970         (do_sincos_2): Likewise.
1971         (sloww): Likewise.
1972         (sloww1): Likewise.
1973         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
1974         (__cos): Likewise.
1976 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1978         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1980 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
1982         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
1983         Define to __WORDSIZE, not conditional on [LONG_MAX ==
1984         0x7fffffffL].
1985         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1987 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1989         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
1990         inline by __inline__.
1991         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
1992         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
1993         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
1994         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
1995         sigset_t from signal.h.
1996         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
1997         which is already required.
1999 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
2001         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2003 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
2005         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
2006         (struct tcp_repair_window): New type.
2008 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2010         * libio/tst-memstream3.c: Include string.h.
2012 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2014         [BZ #18241]
2015         [BZ #20181]
2016         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
2017         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
2018         write position is at the end the buffer.
2019         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
2020         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
2021         (_IO_str_seekoff): Set correct offset from negative displacement and
2022         set EINVAL for invalid ones.
2023         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
2024         buffer length.
2025         (_IO_wstr_switch_to_get_mode): New function.
2026         (_IO_wstr_seekoff): Set correct offset from negative displacement and
2027         set EINVAL for invalid ones.
2028         * libio/tst-memstream3.c: New file.
2029         * libio/tst-wmemstream3.c: Likewise.
2030         * manual/examples/memstrm.c: Remove warning when priting size_t.
2032 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
2034         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
2035         macro to use __builtin_fma.
2036         * sysdeps/x86_64/fpu/dla.h: Remove file.
2038         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
2039         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
2040         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
2042 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
2044         [BZ #20292]
2045         * elf/Makefile (routines): Add dl-addr-obj.
2046         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
2047         tst-_dl_addr_inside_object.
2048         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
2049         [ifeq (yesyes,$(have-fpie)$(build-shared))]
2050         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
2051         [ifeq (yesyes,$(have-fpie)$(build-shared))]
2052         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
2053         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
2054         * elf/dl-open.c: Likewise.
2055         * elf/dl-addr-obj.c: New file.
2056         * elf/tst-_dl_addr_inside_object.c: New file.
2058 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
2060         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
2061         <bits/iscanonical.h>.
2062         * bits/iscanonical.h: New file.
2063         * math/s_iscanonicall.c: Likewise.
2064         * math/Versions (__iscanonicall): New libm symbol at version
2065         GLIBC_2.25.
2066         * math/libm-test.inc (iscanonical_test_data): New array.
2067         (iscanonical_test): New function.
2068         (main): Call iscanonical_test.
2069         * math/Makefile (headers): Add bits/iscanonical.h.
2070         (type-ldouble-routines): Add s_iscanonicall.
2071         * manual/arith.texi (Floating Point Classes): Document
2072         iscanonical.
2073         * manual/libm-err-tab.pl: Update comment on interfaces without
2074         ulps tabulated.
2075         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
2076         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
2077         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
2078         Likewise.
2079         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
2080         test-iscanonical-ldbl-128ibm.
2081         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
2082         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
2083         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
2084         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
2085         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
2086         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2087         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2089         Likewise.
2090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2091         Likewise.
2092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2093         Likewise.
2094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2095         Likewise.
2096         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2097         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2099 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2101         * string/bits/string3.h: Remove C++ style comments.
2103 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2105         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
2106         instead of ternary condition.
2107         (do_sincos_2): Likewise.
2108         (__sin): Likewise.
2109         (__cos): Likewise.
2110         (slow): Likewise.
2111         (sloww): Likewise.
2112         (sloww1): Likewise.
2113         (bsloww): Likewise.
2114         (bsloww1): Likewise.
2116         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
2117         instead of ternary condition.
2118         (do_sin_slow): Likewise.
2119         (do_sincos_1): Likewise.
2120         (do_sincos_2): Likewise.
2121         (__cos): Likewise.
2122         (sloww): Likewise.
2123         (sloww1): Likewise.
2124         (sloww2): Likewise.
2125         (bsloww): Likewise.
2126         (bsloww1): Likewise.
2127         (bsloww2): Likewise.
2129         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
2130         check from here...
2131         (slow2): ... and here...
2132         (__sin): ... to here.
2134 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
2136         * math/math.h
2137         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
2138         Cast argument to its own type.
2139         * math/test-iszero-excess-precision.c: New file.
2140         * math/Makefile (tests): Add test-iszero-excess-precision.
2141         (CFLAGS-test-iszero-excess-precision.c): New variable.
2143 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
2145         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
2146         field, add err field.
2147         (__spawni_child): Report error through err member instead of pipe.
2148         (__spawnix): Likewise.
2150 2016-09-28  Zack Weinberg  <zackw@panix.com>
2152         * scripts/check-installed-headers.sh: Generalize treatment of
2153         sys/elf.h to all target architectures.
2155         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
2156         deleted typedef ucontext_t.
2158 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2160         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
2161         (__INTERNAL_SYSCALL1): Likewise.
2162         (__INTERNAL_SYSCALL2): Likewise.
2163         (__INTERNAL_SYSCALL3): Likewise.
2164         (__INTERNAL_SYSCALL4): Likewise.
2165         (__INTERNAL_SYSCALL5): Likewise.
2166         (__INTERNAL_SYSCALL6): Likewise.
2167         (__INTERNAL_SYSCALL7): Likewise.
2168         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
2169         (__INTERNAL_SYSCALL_NARGS): Likewise.
2170         (__INTERNAL_SYSCALL_DISP): Likewise.
2171         (INTERNAL_SYSCALL_CALL): Likewise.
2172         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
2173         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
2174         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
2175         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
2176         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
2177         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
2178         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
2179         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
2180         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
2181         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
2182         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
2183         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
2184         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
2186 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
2188         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
2189         macro.
2190         * math/libm-test.inc (iszero_test_data): New array.
2191         (iszero_test): New function.
2192         (main): Call iszero_test.
2193         * manual/arith.texi (Floating Point Classes): Document iszero.
2194         * manual/libm-err-tab.pl: Update comment on interfaces without
2195         ulps tabulated.
2197 2016-09-23  Zack Weinberg  <zackw@panix.com>
2199         * scripts/check-installed-headers.sh: New script.
2200         * Rules: In each directory that defines header files to be installed,
2201         run check-installed-headers.sh on them as a special test.
2202         * Makefile: Likewise for the headers installed at top level.
2204         * include/aliases.h, include/alloca.h, include/argz.h
2205         * include/arpa/nameser.h, include/arpa/nameser_compat.h
2206         * include/elf.h, include/envz.h, include/err.h
2207         * include/execinfo.h, include/fpu_control.h, include/getopt.h
2208         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
2209         * include/link.h, include/malloc.h, include/mcheck.h
2210         * include/mntent.h, include/netinet/ether.h
2211         * include/nss.h, include/obstack.h, include/printf.h
2212         * include/pty.h, include/resolv.h, include/rpc/auth.h
2213         * include/rpc/auth_des.h, include/rpc/auth_unix.h
2214         * include/rpc/clnt.h, include/rpc/des_crypt.h
2215         * include/rpc/key_prot.h, include/rpc/netdb.h
2216         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
2217         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
2218         * include/rpc/rpc_msg.h, include/rpc/svc.h
2219         * include/rpc/svc_auth.h, include/rpc/xdr.h
2220         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
2221         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
2222         * include/rpcsvc/ypupd.h, include/shadow.h
2223         * include/stdio_ext.h, include/sys/epoll.h
2224         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
2225         * include/sys/prctl.h, include/sys/profil.h
2226         * include/sys/statfs.h, include/sys/sysctl.h
2227         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
2228         * sysdeps/arm/nacl/include/bits/setjmp.h
2229         * sysdeps/mips/include/sys/asm.h
2230         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
2231         * sysdeps/unix/sysv/linux/include/sys/timex.h
2232         * sysdeps/x86/fpu/include/bits/fenv.h:
2233         Add #ifndef _ISOMAC guard around internal declarations.
2234         Add multiple-inclusion guard if not already present.
2236 2016-09-23  Zack Weinberg  <zackw@panix.com>
2238         * sysdeps/generic/sys/ucontext.h
2239         * sysdeps/arm/sys/ucontext.h
2240         * sysdeps/i386/sys/ucontext.h
2241         * sysdeps/m68k/sys/ucontext.h
2242         * sysdeps/mips/sys/ucontext.h
2243         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
2244         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
2245         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
2246         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
2247         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
2248         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
2249         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
2250         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
2251         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
2252         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
2253         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
2254         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
2255         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
2256         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
2257         Include both bits/sigcontext.h and bits/sigstack.h.
2258         Fix grammar error in comment, if present.
2260         * bits/sigstack.h
2261         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
2262         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
2263         * sysdeps/unix/sysv/linux/bits/sigstack.h
2264         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
2265         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
2266         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
2267         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
2268         * bits/sigcontext.h
2269         * sysdeps/mach/hurd/i386/bits/sigcontext.h
2270         * sysdeps/unix/sysv/linux/bits/sigcontext.h
2271         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
2272         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
2273         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
2274         as well as signal.h, if this was not already allowed.  Request
2275         definition of size_t if necessary.  Minimize semantically-null
2276         differences across files.
2278 2016-09-23  Zack Weinberg  <zackw@panix.com>
2280         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
2281         Remove all logic conditional on __need macros.  Move all the
2282         conditionally defined types to their own headers...
2283         * time/bits/types/clock_t.h: Define clock_t here.
2284         * time/bits/types/clockid_t.h: Define clockid_t here.
2285         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
2286         * time/bits/types/struct_timespec.h: Define struct timespec here.
2287         * time/bits/types/struct_timeval.h: Define struct timeval here.
2288         * time/bits/types/struct_tm.h: Define struct tm here.
2289         * time/bits/types/time_t.h: Define time_t here.
2290         * time/bits/types/timer_t.h: Define timer_t here.
2291         * time/Makefile: Install the new headers.
2293         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
2294         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
2295         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
2296         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
2297         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
2298         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
2299         * sysdeps/unix/sysv/linux/bits/resource.h
2300         * sysdeps/unix/sysv/linux/bits/timex.h
2301         * sysdeps/unix/sysv/linux/mips/bits/resource.h
2302         * sysdeps/unix/sysv/linux/net/ppp_defs.h
2303         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
2304         * sysdeps/unix/sysv/linux/sys/acct.h
2305         * sysdeps/unix/sysv/linux/sys/timerfd.h
2306         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
2307         * time/sys/time.h, time/sys/timeb.h
2308         Use the new bits/types headers.
2310         * include/time.h: Remove __need logic.
2311         * include/bits/time.h
2312         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
2313         * include/bits/types/time_t.h, include/bits/types/timer_t.h
2314         * include/bits/types/struct_itimerspec.h
2315         * include/bits/types/struct_timespec.h
2316         * include/bits/types/struct_timeval.h
2317         * include/bits/types/struct_tm.h:
2318         New wrapper headers.
2320 2016-09-23  Zack Weinberg  <zackw@panix.com>
2322         * sysdeps/mach/hurd/net/if_ppp.h
2323         * sysdeps/unix/sysv/linux/net/if_ppp.h:
2324         Only define struct ifpppstatsreq and struct ifpppcstatsreq
2325         if __USE_MISC is defined, to ensure struct ifreq is declared.
2327         * inet/netinet/ether.h: Condition all function prototypes
2328         on __USE_MISC, to ensure struct ether_addr is declared.
2330         * socket/bits/types/struct_osockaddr.h: New header.
2331         * include/bits/types/struct_osockaddr.h: New wrapper.
2332         * socket/Makefile: Install the new header.
2333         * socket/sys/socket.h, inet/protocols/talkd.h:
2334         Refer to bits/types/struct_osockaddr.h for the definition of
2335         struct osockaddr.
2337 2016-09-23  Zack Weinberg  <zackw@panix.com>
2339         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
2340         * inet/protocols/routed.h, inet/protocols/talkd.h
2341         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
2342         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
2343         * sysdeps/generic/netinet/if_ether.h
2344         * sysdeps/generic/netinet/in_systm.h
2345         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
2346         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
2347         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
2348         * sysdeps/mach/hurd/net/if_arp.h
2349         * sysdeps/mach/hurd/net/if_ppp.h
2350         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
2351         * sysdeps/unix/sysv/linux/bits/in.h
2352         * sysdeps/unix/sysv/linux/net/ethernet.h
2353         * sysdeps/unix/sysv/linux/net/if_arp.h
2354         * sysdeps/unix/sysv/linux/net/if_ppp.h
2355         * sysdeps/unix/sysv/linux/net/if_shaper.h
2356         * sysdeps/unix/sysv/linux/net/route.h
2357         * sysdeps/unix/sysv/linux/netinet/if_ether.h
2358         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
2359         * sysdeps/unix/sysv/linux/netinet/if_tr.h
2360         * sysdeps/unix/sysv/linux/netipx/ipx.h
2361         * sysdeps/unix/sysv/linux/sys/acct.h
2362         * include/arpa/nameser.h, include/resolv.h:
2363         Change all uses of u_char to unsigned char,
2364         u_short and ushort to unsigned short, u_int and uint to unsigned int,
2365         u_long and ulong to unsigned long, u_int8_t to uint8_t,
2366         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
2367         and u_int64_t and u_quad_t to uint64_t.
2369         * mach/sys/reboot.h: Remove two casts of integer literals
2370         to the types they already have.
2372         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
2373         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
2374         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
2375         from referring to 'unsigned char' to 'uint8_t' for consistency with
2376         the macro definition below.
2378         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
2379         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
2380         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
2381         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
2382         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
2383         * sysdeps/unix/sysv/linux/sys/acct.h
2384         * include/arpa/nameser.h, include/resolv.h:
2385         Fix indentation disrupted by mechanical edits.
2387         * inet/protocols/talkd.h, resolv/arpa/nameser.h
2388         * sysdeps/generic/netinet/in_systm.h
2389         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
2390         * sysdeps/gnu/netinet/udp.h
2391         * sysdeps/unix/sysv/linux/net/ethernet.h
2392         * sysdeps/unix/sysv/linux/net/if_arp.h
2393         * sysdeps/unix/sysv/linux/net/if_ppp.h
2394         * sysdeps/unix/sysv/linux/net/if_shaper.h
2395         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
2396         * sysdeps/unix/sysv/linux/netinet/if_tr.h
2397         * sysdeps/unix/sysv/linux/netipx/ipx.h
2398         * sysdeps/unix/sysv/linux/sys/acct.h
2399         Include stdint.h for uintNN_t definitions.
2400         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
2402 2016-09-23  Zack Weinberg  <zackw@panix.com>
2404         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
2405         * sysdeps/unix/sysv/linux/netrose/rose.h:
2406         Include sys/socket.h and netax25/ax25.h.
2408         * inet/netinet/icmp6.h, inet/netinet/ip6.h
2409         * resolv/arpa/nameser_compat.h:
2410         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
2412         * sysdeps/unix/sysv/linux/sys/quota.h:
2413         Use __caddr_t instead of caddr_t.
2414         * sysdeps/unix/sysv/linux/sys/timerfd.h:
2415         Use __clockid_t instead of clockid_t.
2417         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
2419         * argp/argp.h: Check whether _LIBC is defined before expanding it.
2420         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
2421         expanding it.
2423         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
2424         Define __glibc_c99_flexarr_available to 1 when the compiler
2425         supports C99-compatible flexible array members, 0 otherwise.
2426         * sysdeps/unix/sysv/linux/bits/socket.h
2427         * sysdeps/mach/hurd/bits/socket.h
2428         * bits/socket.h: Use __glibc_c99_flexarr_available in
2429         definitions of struct cmsghdr and CMSG_DATA.
2431 2016-09-23  Florian Weimer  <fweimer@redhat.com>
2433         * manual/nss.texi (NSS Modules Interface): Adjust function return
2434         type to enum nss_status.  Document errnop argument.  Clarify
2435         h_errnop semantics.  Fix cross-reference formatting.
2436         (NSS Module Function Internals): Mention that *errnop needs to be
2437         set on failure, but not to zero.
2439 2016-09-23  Florian Weimer  <fweimer@redhat.com>
2441         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
2442         (get_random_name): New functions.
2443         (check_wrapper_flags_mode): Use linkat to give the new file a name
2444         determined by get_random_name.
2445         (do_test): Add calls to test open64 and openat64.
2447 2016-09-23  Florian Weimer  <fweimer@redhat.com>
2449         * test-skeleton.c: Remove #include <stdarg.h>.
2451 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
2453         [BZ #19826]
2454         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
2455         initialization of static TLS entries.
2456         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
2457         * nptl/allocatestack.c (init_one_static_tls): Likewise.
2459 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2461         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
2462         _hurd_malloc_fork_prepare.
2463         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
2464         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
2465         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
2466         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
2467         (_hurd_fork_child_hook): Drop malloc_fork_child.
2468         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
2469         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
2470         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
2471         after locking locks (notably hurd_dtable_lock). Call
2472         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
2473         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
2474         __malloc_fork_unlock_child.
2475         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
2477 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
2479         * soft-fp/extendhftf2.c: New.
2480         * soft-fp/fixhfti.c: Likewise.
2481         * soft-fp/fixunshfti.c: Likewise.
2482         * soft-fp/floattihf.c: Likewise.
2483         * soft-fp/floatuntihf.c: Likewise.
2484         * soft-fp/half.h: Likewise.
2485         * soft-fp/trunctfhf2.c: Likewise.
2487 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
2489         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
2490         macro.
2491         * math/libm-test.inc (issubnormal_test_data): New array.
2492         (issubnormal_test): New function.
2493         * manual/arith.texi (Floating Point Classes): Document
2494         issubnormal.
2495         * manual/libm-err-tab.pl: Update comment on interfaces without
2496         ulps tabulated.
2498         * sysdeps/generic/stdint.h: Define
2499         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2500         <bits/libc-header-start.h> instead of including <features.h>.
2501         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
2502         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
2503         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
2504         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
2505         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
2506         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
2507         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
2508         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
2509         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
2510         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
2511         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
2512         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
2513         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
2514         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
2515         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
2516         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
2517         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
2518         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
2519         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
2520         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
2521         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
2522         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
2523         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
2524         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
2525         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
2526         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
2527         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
2528         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
2529         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
2530         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
2531         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
2532         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
2533         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
2534         * manual/arith.texi (Integers): Document these macros for types
2535         specified by width properties.
2536         * manual/lang.texi (Width of Type): Document these macros for
2537         other standard typedefs.
2538         * stdlib/tst-width-stdint.c: New file.
2539         * stdlib/Makefile (tests): Add tst-width-stdint.
2541 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2543         [BZ #20016]
2544         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
2545         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
2546         Move ...
2547         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
2548         ... here, as compatibility symbols in a new file.
2549         * resolv/Makefile (libresolv-routines): Add compat-hooks.
2550         * resolv/res_init.c (__res_vinit): Adjust member names.
2551         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
2552         * resolv/resolv.h (res_sendhookact, res_send_qhook)
2553         (res_send_rhook): Remove.
2554         (struct __res_state): Rename qhook, rhook members.
2556 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2558         malloc: Use __libc_lock wrappers.
2559         * malloc/arena.c (list_lock, free_list_lock): Define using
2560         __libc_lock_define_initialized.
2561         (arena_lock): Adjust formatting.
2562         * malloc/malloc.c (struct malloc_state): Define mutex using
2563         __libc_lock_define.
2564         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
2565         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
2566         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
2567         (mutex_unlock, mutex_trylock): Remove.
2568         (__pthread_initialize): Remove unused macro.
2569         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
2570         (mutex_unlock, mutex_trylock): Remove.
2572 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2574         [BZ #20592]
2575         Remove RR type classification macros.
2576         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
2577         (ns_t_udp_p, ns_t_xfr_p): Remove.
2579 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2581         Remove misleading version information.
2582         * resolv/arpa/nameser.h (__NAMESER): Remove.
2583         * resolv/arpa/nameser_compat.h (__BIND): Remove.
2585 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2587         Remove the always-defined BIND_4_COMPAT macro.
2588         * resolv/arpa/nameser.h: Unconditionally include
2589         <arpa/nameser_compat.h>.
2590         (BIND_4_COMPAT): Remove.
2591         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
2593 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2595         [BZ #20591]
2596         Remove obsolete DNSSEC support.
2597         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
2598         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
2599         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
2600         (ns_verify_tcp, ns_verify_tcp_init): Remove.
2601         (ns_cert_types): Add comment.
2602         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
2603         separately.
2604         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
2605         (dst_s_dns_key_id): Remove.
2606         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
2607         variables.
2609 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2611         [BZ #20524]
2612         * manual/string.texi (String/Array Comparison): Clarify the
2613         strverscmp behavior.
2615 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2617         * test-skeleton.c (xasprintf): Add function.
2618         * io/tst-open-tmpfile.c: New test.
2619         * io/Makefile (tests): Add it.
2621 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2623         Avoid running $(CXX) during build to obtain header file paths.
2624         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
2625         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
2626         * Makerules (cstdlib, cmath): Remove variables.  Use
2627         $(c++-cstdlib-header), $(c++-cmath-header) instead.
2628         * configure: Regenerate.
2630 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2632         * Makeconfig (all-object-suffixes): Include .op only if
2633         $(build-profile).
2635 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2637         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
2638         conditionals.  Do not define PATH_MAX.
2640 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2642         * posix/Makefile (tests): Add tst-spawn3.
2643         * posix/tst-spawn3.c: New file.
2644         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
2645         if it is already opened for open action.
2647         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
2648         all signals when executing the clone vfork child.
2649         (SIGALL_SET): Remove macro.
2651         * nptl/Makefile (tests): Add tst-exec5.
2652         * nptl/tst-exec5.c: New file.
2653         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
2654         asynchronous cancellation.
2656 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2658         * hurd/exc2signal.c: #include <hurd/signal.h>
2659         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
2660         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
2661         accordingly.
2662         * mach/mach_error.c (mach_error): Fix old-style function definition.
2663         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
2665 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2667         * math/Makefile (libm-calls): Remove s_nanF.
2668         (gen-libm-calls): Add s_nanF.
2670         * math/s_nan.c: Refactor into ...
2671         * math/s_nan_template.c: New file.
2673         * math/s_nanf.c: Removed.
2674         * math/s_nanl.c: Removed.
2675         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
2676         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
2678         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2679         (LDOUBLE_nanl_libm_version): New macro.
2681         * sysdeps/generic/math-type-macros-double.h:
2682         (M_STRTO_NAN): New macro.
2683         * sysdeps/generic/math-type-macros-float.h: Likewise.
2684         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2686         * sysdeps/generic/math-type-macros.h: Document
2687         M_STRTO_NAN.
2689 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2691         * math/s_nanf.c: Remove __nanf undef.
2692         * math/s_nan.c: Remove __nan undef.
2693         * math/s_nanl.c: Remove __nanl undef.
2695         * sysdeps/generic/math_private.h (__nan): Remove macro
2696         override.
2697         (__nanf): Likewise.
2698         (__nanl): Likewise.
2700 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2702         * math/Makefile (gen-all-calls): New variable.
2703         (generated): Replace gen-libm-calls with gen-all-calls.
2704         (gen-libm-templates.stmp): Likewise.  Also, ensure
2705         the output directory exists or is created and add
2706         dependency on the Makefile.
2707         (calls): Move s_ldexpF into gen-calls.
2708         (gen-calls): New variable.
2710         * math/s_ldexpf.c: Removed.
2711         * math/s_ldexpl.c: Removed.
2712         * math/s_ldexp.c: Refactored into ...
2713         * math/s_ldexp_template.c: New file.
2715         * sysdeps/generic/math-type-macros-double.h: Remove
2716         redundant fall-through definition of declare_mgen_alias.
2717         (declare_mgen_alias_2): New macro.
2719         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
2720         New macro for function aliased to two exported symbols.
2722         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
2723         new template file.
2724         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2726 2016-09-20  Florian Weimer  <fweimer@redhat.com>
2728         * Makeconfig (all-object-suffixes): Remove .og.
2729         * Makerules (elide-routines.og): Remove.
2730         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
2731         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
2732         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
2734 2016-09-20  Florian Weimer  <fweimer@redhat.com>
2736         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
2737         .os objects.
2739 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2741         [BZ #20615]
2742         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
2743         fpu directory by non-fpu.
2744         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
2745         on non-fpu directory from a fpu directory.
2747 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
2749         * include/limits.h: Define
2750         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2751         <bits/libc-header-start.h> instead of including <features.h>.
2752         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
2753         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
2754         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
2755         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
2756         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
2757         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
2758         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
2759         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
2760         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
2761         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
2762         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
2763         * manual/lang.texi (Width of Type): Document these macros.
2764         * stdlib/tst-width.c: New file.
2765         * stdlib/Makefile (tests): Add tst-width.
2767 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2769         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
2770         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
2772 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2774         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
2775         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
2776         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
2778 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2780         [BZ #18243]
2781         * rt/Makefile (test): Add tst-shm-cancel.
2782         * rt/tst-shm-cancel.c: New file.
2783         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
2785         [BZ #18243]
2786         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
2787         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
2788         definition.
2789         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
2790         uncontended case.
2791         * nptl/sem_wait.c (__new_sem_wait): Likewise.
2792         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
2793         (tf): Fix check for uncontended case.
2794         (do_test): Likewise.
2795         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
2796         (tf): Fix check for uncontended case.
2797         (do_test): Likewise.
2798         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
2799         (tf): Fix check for uncontended case.
2800         (do_test): Likewise.
2801         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
2802         (tf): Fix check for uncontended case.
2803         (do_test): Likewise.
2805         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
2806         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
2808         [BZ #15765]
2809         * nptl/Makefile (tests): Add tst-sem16.
2810         * nptl/tst-sem16.c: New file.
2811         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
2813         * nptl/sem_open.c (sem_open): Init pad value to 0.
2814         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
2815         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
2817 2016-09-15  Florian Weimer  <fweimer@redhat.com>
2819         [BZ #20611]
2820         * inet/Makefile (routines): Add inet6_scopeid_pton.
2821         (tests): Add tst-inet6_scopeid_pton.
2822         * inet/inet6_scopeid_pton.c: New file.
2823         * inet/net-internal.h: Likewise.
2824         * inet/tst-inet6_scopeid_pton.c: New test.
2825         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
2826         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
2827         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2829 2016-09-14  Florian Weimer  <fweimer@redhat.com>
2831         Remove support for compiling wrappers with PTW.
2832         * sysdeps/nptl/Makeconfig: Drop ptw- support.
2833         * nptl/Makefile (pthread-compat-wrappers): Define.
2834         (libpthread-routines): Use pthread-compat-wrappers.
2835         * sysdeps/unix/sysv/linux/alpha/Makefile
2836         (libpthread-routines, libpthread-shared-only-routines): Remove
2837         ptw- prefix.
2838         * sysdeps/s390/nptl/Makefile
2839         (libpthread-routines, libpthread-shared-only-routines): Likewise.
2840         * sysdeps/ia64/nptl/Makefile
2841         (libpthread-routines, libpthread-shared-only-routines): Likewise.
2842         * sysdeps/nacl/Makefile (libpthread-routines): Use
2843         pthread-compat-wrappers to filter the routines list instead of the
2844         ptw- prefix.
2846 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2848         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
2849         with L() and remove explicit suffix, convert real literals
2850         which can be equivalentally substituted with integers, and
2851         transform -L(x) to L(-x).
2853         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2854         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2855         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2856         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2857         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2858         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2859         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2860         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2861         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2862         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2863         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2864         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2865         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2866         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2867         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2868         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2869         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2870         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2871         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2872         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2873         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2874         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2875         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2876         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2877         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
2878         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2879         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2880         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2881         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2882         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2883         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2884         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
2885         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2886         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2887         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2888         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2889         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2890         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2891         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2892         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2893         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2894         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2895         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2896         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2897         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2898         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2899         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2900         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
2901         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2902         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2904 2016-09-13  Florian Weimer  <fweimer@redhat.com>
2906         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
2908 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2910         * malloc/Makefile (tests): Remove individual static test names
2911         and just add all of tests-static.
2913         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
2915 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
2917         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
2918         file.
2920         * sysdeps/sparc/fpu/fegetmode.c: New file.
2921         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
2923         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
2924         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
2926         * sysdeps/s390/fpu/fegetmode.c: New file.
2927         * sysdeps/s390/fpu/fesetmode.c: Likewise.
2929         * sysdeps/powerpc/fpu/fegetmode.c: New file.
2930         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
2931         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
2932         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
2933         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
2934         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
2936         * sysdeps/mips/fpu/fegetmode.c: New file.
2937         * sysdeps/mips/fpu/fesetmode.c: Likewise.
2939         * sysdeps/m68k/fpu/fegetmode.c: New file.
2940         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
2942         * sysdeps/ia64/fpu/fegetmode.c: New file.
2943         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
2945         * sysdeps/hppa/fpu/fegetmode.c: New file.
2946         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
2948         * sysdeps/arm/fegetmode.c: New file.
2949         * sysdeps/arm/fesetmode.c: Likewise.
2951         * sysdeps/alpha/fpu/fegetmode.c: New file.
2952         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
2954         * sysdeps/aarch64/fpu/fegetmode.c: New file.
2955         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
2957         * math/fegetmode.c: New file.
2958         * math/fesetmode.c: Likewise.
2959         * sysdeps/i386/fpu/fegetmode.c: Likewise.
2960         * sysdeps/i386/fpu/fesetmode.c: Likewise.
2961         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
2962         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
2963         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
2964         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
2965         declaration.
2966         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
2967         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
2968         typedef.
2969         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2970         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2971         (femode_t): New typedef.
2972         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2973         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2974         (femode_t): New typedef.
2975         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2976         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2977         (femode_t): New typedef.
2978         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2979         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2980         (femode_t): New typedef.
2981         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2982         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2983         (femode_t): New typedef.
2984         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2985         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2986         (femode_t): New typedef.
2987         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2988         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2989         (femode_t): New typedef.
2990         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2991         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2992         (femode_t): New typedef.
2993         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2994         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2995         (femode_t): New typedef.
2996         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2997         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2998         (femode_t): New typedef.
2999         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
3000         declaration.
3001         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3002         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3003         (femode_t): New typedef.
3004         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3005         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3006         (femode_t): New typedef.
3007         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3008         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3009         (femode_t): New typedef.
3010         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3011         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3012         (femode_t): New typedef.
3013         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3014         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3015         (femode_t): New typedef.
3016         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3017         * manual/arith.texi (FE_DFL_MODE): Document macro.
3018         (fegetmode): Document function.
3019         (fesetmode): Likewise.
3020         * math/Versions (fegetmode): New libm symbol at version
3021         GLIBC_2.25.
3022         (fesetmode): Likewise.
3023         * math/Makefile (libm-support): Add fegetmode and fesetmode.
3024         (tests): Add test-femode and test-femode-traps.
3025         * math/test-femode-traps.c: New file.
3026         * math/test-femode.c: Likewise.
3027         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
3028         alias for __fe_dfl_env.
3029         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
3030         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
3031         (__fe_dfl_mode): Likewise.
3032         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
3033         version GLIBC_2.25.
3034         * sysdeps/nacl/libm.abilist: Update.
3035         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3036         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3037         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3038         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3039         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3040         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3041         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3042         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3043         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3044         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3045         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3046         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3048         Likewise.
3049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3050         Likewise.
3051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3052         Likewise.
3053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3054         Likewise.
3055         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3056         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3057         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3058         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3059         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3061         Likewise.
3062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3063         Likewise.
3064         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3065         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3066         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3068 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
3070         [BZ #20495]
3071         [BZ #20508]
3072         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
3073         processors, set Use_dl_runtime_resolve_slow and set
3074         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
3075         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
3076         New.
3077         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
3078         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
3079         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
3080         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
3081         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
3082         if Use_dl_runtime_resolve_opt is set.  Use
3083         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
3084         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
3085         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
3086         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
3087         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
3088         New.
3089         (_dl_runtime_resolve_opt): Likewise.
3090         (_dl_runtime_profile): Define only if _dl_runtime_profile is
3091         defined.
3093 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3095         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
3096         __libc_memalign with "+ RELA R_390_GLOB_DAT".
3098 2016-09-06  Florian Weimer  <fweimer@redhat.com>
3100         Convert malloc to __libc_lock.  Automated part, using this Perl
3101         s/// command:
3102           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
3103             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
3104         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
3105         conversion.
3107 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
3109         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
3110         (linknamespace-symlists-tests): Likewise.
3111         (linknamespace-header-tests): Likewise.
3113 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
3115         [BZ #19810]
3116         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
3117         * elf/tst-noload.c: New test case.
3118         * elf/Makefile (tests): Add tst-noload.
3120 2016-09-02  Roland McGrath  <roland@hack.frob.com>
3122         * sysdeps/nacl/dup.c: Add libc_hidden_def.
3124         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
3125         not any more.
3127         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
3129 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3131         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
3132         (do_cos_slow): Likewise.
3133         (do_sin): Likewise.
3134         (do_sin_slow): Likewise.
3135         (slow): Likewise.
3136         (slow1): Likewise.
3137         (slow2): Likewise.
3138         (sloww): Likewise.
3139         (sloww1): Likewise.
3140         (sloww2): Likewise.
3141         (bsloww): Likewise.
3142         (bsloww1): Likewise.
3143         (bsloww2): Likewise.
3144         (cslow2): Likewise.
3146         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
3148         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
3149         arguments.  Consolidate input partitioning from callers here.
3150         (do_cos_slow): Likewise.
3151         (do_sin): Likewise.
3152         (do_sin_slow): Likewise.
3153         (do_sincos_1): Remove the no longer necessary input partitioning.
3154         (do_sincos_2): Likewise.
3155         (__sin): Likewise.
3156         (__cos): Likewise.
3157         (slow1): Likewise.
3158         (slow2): Likewise.
3159         (sloww1): Likewise.
3160         (sloww2): Likewise.
3161         (bsloww1): Likewise.
3162         (bsloww2): Likewise.
3163         (cslow2): Likewise.
3165 2016-09-02  Florian Weimer  <fweimer@redhat.com>
3167         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
3168         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
3169         outside of allocated array.
3171 2016-09-02  Florian Weimer  <fweimer@redhat.com>
3173         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
3174         instead of MB_CUR_MAX to avoid variable-length array.
3176 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3178         * math/Makefile (libm-calls): Remove k_rem_pio2F.
3179         (type-double-routines): Add k_rem_pio2.
3180         (type-float-routines): Add k_rem_pio2f.
3182         * sysdeps/generic/math_private.h:
3183         (__kernel_rem_pio2l): Removed.
3185         * math/k_rem_pio2l.c: Removed.
3186         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
3187         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
3188         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
3189         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
3191 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3193         * math/Makefile (gen-libm-calls): Add s_fmin
3194         (libm-calls): Remove above.
3196         * math/s_fmin.c: Refactor into ...
3197         * math/s_fmin_template.c: New file.
3199         * math/s_fminf.c: Removed.
3200         * math/s_fminl.c: Removed.
3201         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3202         (LDOUBLE_fmin_libm_version): New macro.
3204         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
3205         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
3207 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3209         * math/Makefile: (gen-libm-calls): Add s_fmax.
3210         (libm-calls): Remove above.
3212         * math/s_fmax.c: Refactor into ...
3213         * math/s_fmax_template.c: New file.
3214         * math/s_fmaxf.c: Removed.
3215         * math/s_fmaxl.c: Removed.
3217         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3218         (LDOUBLE_fmaxl_libm_version): New macro.
3220         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
3221         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
3223         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
3224         s_fmin.c to pick the aarch64 version of the file.
3225         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
3226         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
3228 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3230         * math/Makefile: (gen-libm-calls): Add s_nextdown.
3231         (libm-calls): Remove above.
3233         * math/s_nextdown.c: Refactor into ...
3234         * math/s_nextdown_template.c: New file.
3235         * math/s_nextdownf.c: Removed.
3236         * math/s_nextdownl.c: Removed.
3238         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
3240 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3242         * math/Makefile (gen-libm-calls): Add s_fdim.
3243         (libm-calls): Move to above.
3245         * math/s_fdim.c: Renamed and refactored into to ...
3246         * math/s_fdim_template.c: New file.
3247         * math/s_fdiml.c: Removed.
3248         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
3249         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
3251         * sysdeps/generic/math-type-macros-double.h:
3252         (declare_mgen_alias): Don't declare if already declared.
3253         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
3254         Likewise.
3256         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3257         (declare_mgen_alias): Don't declare if already declared.
3258         (M_LIBM_NEED_COMPAT): Likewise.
3259         (declare_mgen_libm_compat): Likewise.
3260         (LDOUBLE_fdiml_libm_version): New macro.
3262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
3263         Include math/s_fdim.c now that ldbl-opt version is not needed.
3264         (declare_mgen_alias): New macro to disable aliasing.
3266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
3267         (declare_mgen_alias): Likewise.
3268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
3269         (declare_mgen_alias): Likewise.
3270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
3271         (declare_mgen_alias): Likewise.
3272         (M_LIBM_NEED_COMPAT): Likewise.
3274 2016-09-01  Florian Weimer  <fweimer@redhat.com>
3276         [BZ #20525]
3277         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
3278         Include <linux/quota.h>.
3279         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
3280         and btodb.
3281         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
3282         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
3283         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
3284         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
3285         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
3286         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
3287         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
3288         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
3289         types.
3290         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
3291         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
3293 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3295         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
3296         (gammal_positive): Fix spacing.
3297         (__ieee754_gammal_r): Likewise.
3299 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3301         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
3302         (_Float128): Define as long double, always.
3303         (L): Apply long double type suffix, always.
3305         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
3306         _Float128, excepting comments.
3308         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3309         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3310         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3311         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3312         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3313         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3314         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3315         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3316         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3317         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
3318         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3319         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3320         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3321         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3322         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3323         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3324         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3325         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3326         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3327         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3328         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3329         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3330         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3331         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3332         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3333         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3334         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
3335         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
3336         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3337         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3338         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3339         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3340         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3341         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3342         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3343         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3344         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3345         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3346         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3347         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
3348         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3349         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3350         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3351         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3352         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3353         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3354         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3355         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3356         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3357         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3358         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3359         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3360         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3361         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3362         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
3363         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3364         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3365         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3366         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3367         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3368         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3369         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3370         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3371         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3372         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3373         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
3374         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3375         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3377         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
3378         _Float128, and include math_private.h.
3379         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3381         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
3382         long double semantics.
3383         (_Float128): Likewise.
3384         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
3385         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
3386         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
3387         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
3389 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3391         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
3392         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
3393         * sysdeps/s390/configure: Regenerated.
3394         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
3395         instruction for raising over-/underflow if z196 zarch is supported
3396         by default.
3397         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
3399 2016-08-30  Svante Signell  <svante.signell@gmail.com>
3401         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
3402         it point to a dumb buffer for RPC to fill it.
3404 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3406         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
3407         instead of if/else.
3408         (do_sin_slow): Likewise.
3409         (do_sincos_1): Use fabs instead of if/else.
3410         (do_sincos_2): Likewise.
3411         (__sin): Likewise.
3412         (__cos): Likewise.
3413         (slow2): Likewise.
3414         (sloww): Likewise.
3415         (sloww1): Likewise.  Drop argument M.
3416         (sloww2): Use fabs instead of if/else.
3417         (bsloww): Likewise.
3418         (bsloww1): Likewise.
3419         (bsloww2): Likewise.
3421         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
3422         fall through comment.
3423         (do_sincos_1): Likewise.
3425         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
3426         Consolidate switch cases 0 and 2.
3428 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3430         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
3431         (libm-calls): Remove the above.
3433         * math/s_cexp_template.c: Update using type-generic macros.
3434         * math/s_clog10_template.c: Likewise.
3435         * math/s_cpow_template.c: Likewise.
3436         * math/s_clog_template.c: Likewise.
3437         * math/s_cproj_template.c: Likewise.
3438         * math/s_csqrt_template.c: Likewise.
3440         * math/s_cexp.c: Removed.
3441         * math/s_cexpf.c: Removed.
3442         * math/s_cexpl.c: Removed.
3443         * math/s_clog10.c: Removed.
3444         * math/s_clog10f.c: Removed.
3445         * math/s_clog10l.c: Removed.
3446         * math/s_cpow.c: Removed.
3447         * math/s_cpowf.c: Removed.
3448         * math/s_cpowl.c: Removed.
3449         * math/s_clog.c: Removed.
3450         * math/s_clogf.c: Removed.
3451         * math/s_clogl.c: Removed.
3452         * math/s_cproj.c: Removed.
3453         * math/s_cprojf.c: Removed.
3454         * math/s_cprojl.c: Removed.
3455         * math/s_csqrt.c: Removed.
3456         * math/s_csqrtf.c: Removed.
3457         * math/s_csqrtl.c: Removed.
3459         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
3460         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
3461         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
3462         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
3463         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
3464         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
3466         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
3467         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
3468         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
3469         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
3470         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
3471         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
3472         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
3473         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
3474         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
3475         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
3476         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
3478         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
3479         version.
3481         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
3482         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
3483         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
3484         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
3486 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3488         * s_cexp_template.c: Copy of s_cexp.c.
3489         * s_clog_template.c: Copy of s_clog.c.
3490         * s_clog10_template.c: Copy of s_clog10.c.
3491         * s_cpow_template.c: Copy of s_cpow.c.
3492         * s_cproj_template.c: Copy of s_cproj.c.
3493         * s_csqrt_template.c: Copy of s_csqrt.c.
3495 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3497         [BZ #20517]
3498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
3499         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
3500         exported.
3502 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
3504         * math/fetestexceptflag.c: New file.
3505         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
3506         Stefan Liebler.
3507         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3508         (fetestexceptflag): New function declaration.
3509         * manual/arith.texi (fetestexceptflag): Document function.
3510         * math/Versions (fetestexceptflag): New libm symbol at version
3511         GLIBC_2.25.
3512         * math/Makefile (libm-support): Add fetestexceptflag.
3513         (tests): Add test-fetestexceptflag.
3514         * math/test-fetestexceptflag.c: New file.
3515         * sysdeps/nacl/libm.abilist: Update.
3516         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3517         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3518         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3519         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3520         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3521         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3522         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3523         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3524         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3525         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3526         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3527         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3529         Likewise.
3530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3531         Likewise.
3532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3533         Likewise.
3534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3535         Likewise.
3536         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3537         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3538         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3539         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3540         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3542         Likewise.
3543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3544         Likewise.
3545         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3546         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3547         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3549 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3551         [BZ #20432]
3552         Avoid strong references to malloc-internal symbols when linking
3553         statically, to support statically interposed mallocs.
3554         * include/libc-symbols.h (call_function_static_weak): New macro.
3555         * malloc/Makefile (tests): Add tst-interpose-nothread,
3556         tst-interpose-thread, tst-interpose-static-nothread,
3557         tst-interpose-static-thread.
3558         (tests-static): Add tst-interpose-static-nothread,
3559         tst-interpose-static-thread.
3560         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
3561         tst-interpose-aux-thread.o.
3562         (test-extras): Add tst-interpose-aux-nothread,
3563         tst-interpose-aux-thread.
3564         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
3565         tst-interpose-aux-nothread.o.
3566         (tst-interpose-thread, tst-interpose-static-thread): Link with
3567         tst-interpose-aux-thread.o and libthread.
3568         * malloc/tst-interpose-aux-nothread.c: New file.
3569         * malloc/tst-interpose-aux-thread.c: Likewise.
3570         * malloc/tst-interpose-aux.c: Likewise.
3571         * malloc/tst-interpose-aux.h: Likewise.
3572         * malloc/tst-interpose-nothread.c: Likewise.
3573         * malloc/tst-interpose-skeleton.c: Likewise.
3574         * malloc/tst-interpose-static-nothread.c: Likewise.
3575         * malloc/tst-interpose-static-thread.c: Likewise.
3576         * malloc/tst-interpose-thread.c: Likewise.
3577         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
3578         * sysdeps/mach/hurd/fork.c (__fork): Only call
3579         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
3580         __malloc_fork_unlock_child if defined.
3581         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3583 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3585         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
3586         timespec C99 designated initialization.
3588 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3590         [BZ #19946]
3591         Avoid expected SIGALRM signals.
3592         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
3593         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
3594         (xpthread_create, xpthread_detach, xpthread_join)
3595         (delayed_exit_thread, delayed_exit): New functions.
3596         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
3597         (tf): Use xpthread_cond_wait.
3598         (do_test): Likewise.  Replace alarm with delayed_exit.
3599         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3600         (do_test): Call delayed_exit.  Report failure.
3601         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3602         (do_test): Call delayed_exit.
3603         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3604         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
3605         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3606         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
3607         error.
3608         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3609         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
3610         error.
3611         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
3612         (do_test): Call delayed_exit.
3613         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
3614         (do_test): Call delayed_exit.
3615         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
3616         (do_test): Call delayed_exit instead of alarm.  Use
3617         xpthread_mutex_lock.
3618         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
3619         (do_test): Call delayed_exit instead of alarm.  Use
3620         xpthread_mutex_lock.
3621         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
3622         (do_test): Call delayed_exit instead of alarm.
3623         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
3624         (do_test): Call delayed_exit instead of alarm.  Use
3625         xpthread_spin_lock.
3626         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
3627         (do_test): Call delayed_exit instead of alarm.  Use
3628         xpthread_join.
3630 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
3632         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
3633         adjust CFA when allocating register save area on re-aligned
3634         stack.
3636 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3638         * string/tst-cmp.c: New test.
3639         * string/Makefile (tests): Add it.
3641 2016-08-25  Mark Wielaard  <mark@klomp.org>
3643         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
3644         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
3645         (check_tree_recurse): Use newly defined accessors.
3646         (check_tree): Likewise.
3647         (maybe_split_for_insert): Likewise.
3648         (__tfind): Likewise.
3649         (__tdelete): Likewise.
3650         (trecurse): Likewise.
3651         (tdestroy_recurse): Likewise.
3652         (__tsearch): Likewise. And add asserts for malloc alignment.
3653         (__twalk): Cast root to node in case CHECK_TREE is defined.
3655 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3657         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
3659 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3661         * math/Makefile (libm-gen-calls): Add
3662         catan, catanh, ctan, ctanh.
3663         (libm-calls): Remove the above.
3665         * math/s_catan_template.c: Update using type-generic macros.
3666         * math/s_catanh_template.c: Likewise.
3667         * math/s_ctan_template.c: Likewise.
3668         * math/s_ctanh_template.c: Likewise.
3670         * math/s_catanf.c: Removed.
3671         * math/s_catan.c: Removed.
3672         * math/s_catanl.c: Removed.
3673         * math/s_catanhf.c: Removed.
3674         * math/s_catanh.c: Removed.
3675         * math/s_catanhl.c: Removed.
3676         * math/s_ctanf.c: Removed.
3677         * math/s_ctan.c: Removed.
3678         * math/s_ctanl.c: Removed.
3679         * math/s_ctanhf.c: Removed.
3680         * math/s_ctanh.c: Removed.
3681         * math/s_ctanhl.c: Removed.
3683         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
3684         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
3685         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
3686         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
3687         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
3688         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
3690         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
3691         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
3692         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
3693         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
3695 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3697         * s_catan_template.c: Copy of s_catan.c.
3698         * s_catanh_template.c: Copy of s_catanh.c.
3699         * s_ctan_template.c: Copy of s_ctan.c.
3700         * s_ctanh_template.c: Copy of s_ctanh.c.
3702 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3704         * math/Makefile (gen-libm-calls): Move
3705         casin, casinh, csin, csinh here.
3706         (libm-calls): Remove the above.
3708         * math/s_casin_template.c: Update using type-generic macros.
3709         * math/s_casinh_template.c: Likewise.
3710         * math/s_csin_template.c: Likewise.
3711         * math/s_csinh_template.c: Likewise.
3712         * math/k_casinh_template.c: Likewise.
3714         * math/s_casinf.c: Removed.
3715         * math/s_casin.c: Removed.
3716         * math/s_casinl.c: Removed.
3717         * math/s_casinh.c: Removed.
3718         * math/s_casinhf.c: Removed.
3719         * math/s_casinhl.c: Removed.
3720         * math/s_csin.c: Removed.
3721         * math/s_csinf.c: Removed.
3722         * math/s_csinl.c: Removed.
3723         * math/s_csinh.c: Removed.
3724         * math/s_csinhf.c: Removed.
3725         * math/s_csinhl.c: Removed.
3726         * math/k_casinh.c: Removed.
3727         * math/k_casinhf.c: Removed.
3728         * math/k_casinhl.c: Removed.
3730         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
3731         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
3732         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
3733         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
3735         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
3736         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
3737         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
3738         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
3739         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
3740         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
3741         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
3742         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
3744         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
3745         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
3746         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
3747         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
3749         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
3750         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
3751         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
3752         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
3754 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3756         * s_casin_template.c: Copy of s_casin.c.
3757         * s_casinh_template.c: Copy of s_casinh.c.
3758         * s_csin_template.c: Copy of s_csin.c.
3759         * s_csinh_template.c: Copy of s_csinh.c.
3760         * k_casinh_template.c: Copy of k_casinh.c.
3762 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
3764         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
3766 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3768         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
3769         (mul_split) Remove, rename as mul_splitl, remove
3770         redundant float.h include, and include via mul_splitl.h
3772         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
3773         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3774         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3775         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
3776         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3778         * math/mul_splitl.h: New file.
3780         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
3781         Move into mul_split.h, and remove redundant float.h include.
3783         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
3784         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
3785         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3786         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
3788         * math/mul_split.h: New file.
3790 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3792         * math/Makefile (libm-gen-calls): Move
3793         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
3794         (libm-calls): Remove above.
3796         * math/s_cacos_template.c: Update using type-generic macros.
3797         * math/s_cacosh_template.c: Likewise.
3798         * math/s_ccos_template.c: Likewise.
3799         * math/s_ccosh_template.c: Likwise.
3801         * math/s_cacosf.c: Removed.
3802         * math/s_cacos.c: Removed.
3803         * math/s_cacosl.c: Removed.
3804         * math/s_cacoshf.c: Removed.
3805         * math/s_cacosh.c: Removed.
3806         * math/s_cacoshl.c: Removed.
3807         * math/s_ccosf.c: Removed.
3808         * math/s_ccos.c: Removed.
3809         * math/s_ccosl.c: Removed.
3810         * math/s_ccoshf.c: Removed.
3811         * math/s_ccosh.c: Removed.
3812         * math/s_ccoshl.c: Removed.
3814         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
3815         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
3816         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
3817         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
3818         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
3819         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
3821         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
3822         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
3823         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
3824         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
3826         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
3827         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
3828         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
3829         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
3831 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3833         * s_cacos_template.c: Copy of s_cacos.c.
3834         * s_cacosh_template.c: Copy of s_cacosh.c.
3835         * s_ccos_template.c: Copy of s_ccos.c.
3836         * s_ccosh_template.c: Copy of s_ccosh.c.
3838 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3840         * stdlib/tst-strtod-round-skeleton.c:
3841         Refactored from tst-strtod-round.c.
3843         (L_): New macro to apply literal modifier.
3844         (FNPFX): New macro to select str or wcs prefix.
3845         (CHAR): New macro to choose wchar_t or char.
3846         (STRM): New macro to choose printf for tested character type.
3848         (STRTO): New macro to choose appropriate string -> real function.
3849         (FNPFXS): Stringitized version of FNPFX.
3850         (STR): Support for above macro.
3851         (STRX): Likewise.
3853         (TEST): Update with above macros.
3854         (test): Likewise.
3855         (GEN_ONE_TEST): Likewise.
3856         (test_in_one_mode): Likewise.
3858         * stdlib/tst-strtod-round.c: New file.
3859         * wcsmbs/tst-wcstod-round.c: New file.
3861         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
3862         (tst-wcstod-round): Add libm depencency for fesetround.
3864 2016-08-19  Zack Weinberg  <zackw@panix.com>
3866         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
3868 2016-08-18  Torvald Riegel  <triegel@redhat.com>
3870         [BZ #20477]
3871         * resolv/res_hconf.c (do_init): Use atomic access.
3872         * resolv/res_hconf.h: Add comments.
3873         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
3874         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
3875         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3877 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
3879         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
3880         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
3881         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
3882         Likewise.
3884 2016-08-18  Florian Weimer  <fweimer@redhat.com>
3886         [BZ #16907]
3887         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
3888         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
3889         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
3890         (__attribute__): Remove definition.
3892 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3894         * sysdeps/ieee754/ldbl-128/e_asinl.c:
3895         Remove unused sqrtl declaration.
3897 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3899         * math/Makefile: (gen-libm-templates.stmp): New rule.
3900         (libm-calls): Move carg conj cimag and cabs into ...
3901         (gen-libm-calls): New variable.
3902         (generated): Inform Make objects from gen-libm-calls
3903         may be generated.
3905         * sysdeps/generic/math-type-macros.h: New file.
3906         * sysdeps/generic/math-type-macros-float.h: Likewise.
3907         * sysdeps/generic/math-type-macros-double.h: Likewise.
3908         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3909         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
3910         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
3912         * math/cabs.c: Refactor into
3913         * math/cabs_template.c: new file.
3914         * math/cabsf.c: Removed.
3915         * math/cabsl.c: Removed.
3916         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
3917         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
3919         * math/carg.c: Refactor into
3920         * math/carg_template.c: new file.
3921         * math/cargf.c: Removed.
3922         * math/cargl.c: Removed.
3923         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
3924         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
3926         * math/conj.c: Refactor into
3927         * math/conj_template.c: new file.
3928         * math/conjf.c: Removed.
3929         * math/conjl.c: Removed.
3930         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
3931         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
3933         * math/cimag.c: Refactor into
3934         * math/cimag_template.c: new file.
3935         * math/cimagf.c: Removed.
3936         * math/cimagl.c: Removed.
3937         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
3938         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
3940         * math/cimag.c: Refactor into
3941         * math/cimag_template.c: new file.
3942         * math/cimagf.c: Removed.
3943         * math/cimagl.c: Removed.
3944         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
3945         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
3947 2016-08-17  Florian Weimer  <fweimer@redhat.com>
3949         Reduce time to expected nptl/tst-once5 failure.
3950         * nptl/tst-once5.cc (TIMEOUT): Define.
3952 2016-08-17  Florian Weimer  <fweimer@redhat.com>
3954         [BZ #20452]
3955         Avoid additional copies of objects in libc.a in static libraries.
3956         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
3957         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
3958         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
3959         rt-sysdep.
3960         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
3961         Add nptl-sysdep.
3962         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
3963         Add ptw-sysdep.
3964         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
3965         rt-sysdep.
3966         * sysdeps/unix/sysv/linux/alpha/Makefile
3967         (libpthread-shared-only-routines): Add ptw-sysdep,
3968         ptw-sigprocmask, ptw-rt_sigaction.
3969         * sysdeps/unix/sysv/linux/ia64/Makefile
3970         (librt-shared-only-routines): Add rt-sysdep.
3971         * sysdeps/unix/sysv/linux/i386/Makefile
3972         (libpthread-shared-only-routines): Add libc-do-syscall.
3973         * sysdeps/unix/sysv/linux/microblaze/Makefile
3974         (libpthread-shared-only-routines): Add sysdep.
3975         * sysdeps/unix/sysv/linux/powerpc/Makefile
3976         (librt-shared-only-routines): Add rt-sysdep.
3977         (libpthread-shared-only-routines): Add sysdep.
3978         * sysdeps/unix/sysv/linux/s390/Makefile
3979         (librt-shared-only-routines): Add rt-sysdep.
3980         * sysdeps/unix/sysv/linux/sparc/Makefile
3981         (librt-shared-only-routines): Add rt-sysdep.
3982         (libpthread-shared-only-routines): Add sysdep.
3983         * sysdeps/unix/sysv/linux/tile/Makefile
3984         (libpthread-shared-only-routines): Likewise.
3986 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
3988         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
3989         Mask implicit bit out of unpacked value.
3990         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
3991         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
3992         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
3994         * sysdeps/sparc/fpu/fesetexcept.c: New file.
3996         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
3998         * sysdeps/s390/fpu/fesetexcept.c: New file.
4000         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
4001         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
4002         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
4004         * sysdeps/mips/fpu/fesetexcept.c: New file.
4006         * sysdeps/m68k/fpu/fesetexcept.c: New file.
4008         * sysdeps/ia64/fpu/fesetexcept.c: New file.
4010         * sysdeps/hppa/fpu/fesetexcept.c: New file.
4012         * sysdeps/arm/fesetexcept.c: New file.
4014         * sysdeps/alpha/fpu/fesetexcept.c: New file.
4016         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
4018         * math/fesetexcept.c: New file.
4019         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
4020         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
4021         * math/fenv.h: Define
4022         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4023         <bits/libc-header-start.h> instead of including <features.h>.
4024         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
4025         declaration.
4026         * manual/arith.texi (fesetexcept): Document function.
4027         * math/Versions (fesetexcept): New libm symbol at version
4028         GLIBC_2.25.
4029         * math/Makefile (libm-support): Add fesetexcept.
4030         (tests): Add test-fesetexcept and test-fesetexcept-traps.
4031         * math/test-fesetexcept.c: New file.
4032         * math/test-fesetexcept-traps.c: Likewise.
4033         * sysdeps/nacl/libm.abilist: Update.
4034         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4035         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4036         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4037         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4038         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4039         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4040         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4041         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4042         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4043         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4044         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4045         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4047         Likewise.
4048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4049         Likewise.
4050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4051         Likewise.
4052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4053         Likewise.
4054         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4055         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4056         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4057         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4058         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4060         Likewise.
4061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4062         Likewise.
4063         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4064         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4065         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4067 2016-08-16  Florian Weimer  <fweimer@redhat.com>
4069         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
4070         New.
4071         (do_test): Apply default_stack_size_in_mb if not set.
4072         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
4074 2016-08-15  Andreas Schwab  <schwab@suse.de>
4076         [BZ #20435]
4077         CVE-2016-6323
4078         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
4079         as .cantunwind.
4081 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
4083         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
4084         comment from fraiseexcpt.c.
4086         * math/test-fexcept.c (feraiseexcept_exact): New function.
4087         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
4088         (test_except): Likewise.
4090 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
4092         [BZ #20455]
4093         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
4094         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
4095         to be restored.
4097         * math/test-fexcept-traps.c: New file.
4098         * math/test-fexcept.c: Likewise.
4099         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
4100         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
4101         macro.
4102         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
4103         (EXCEPTION_SET_FORCES_TRAP): Likewise.
4105 2016-08-09  Torvald Riegel  <triegel@redhat.com>
4107         * include/atomic.h (atomic_fetch_and_relaxed,
4108         atomic_fetch_and_release, atomic_fetch_or_release,
4109         atomic_fetch_xor_release): New.
4111 2016-08-06  Christian Seiler  <christian@iwakd.de>
4113         [BZ #20444]
4114         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
4115         MACH_PORT_NULL.
4117 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
4119         * math/s_fdim.c: Avoid alias renamed.
4120         * math/s_fdimf.c: Likewise.
4121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4122         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4123         Add s_fdimf-vis3, s_fdim-vis3.
4124         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
4125         (CFLAGS-s_fdim-vis3.c): Likewise.
4126         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
4127         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
4129 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
4131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4132         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4133         Remove s_fdimf-vis3, s_fdim-vis3.
4134         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
4135         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
4136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
4137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
4138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
4139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
4140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
4141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
4142         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
4143         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
4145 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
4147         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
4148         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
4149         -Wa,-Av9a -mvis.
4151 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4153         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
4154         LIT() to individual constants in simple expressions
4155         after splitting on spaces.
4156         (_apply_lit): Rename replaced version, and use it to
4157         apply to what appears to be a token.
4159         * math/libm-test.inc: Fix many, many issues with
4160         spacing.
4162 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
4164         * math/math.h: Move comment about <bits/mathdef.h> definitions
4165         above inclusion of <bits/mathdef.h>.  Do not mention
4166         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
4168 2016-08-05  Torvald Riegel  <triegel@redhat.com>
4170         * include/atomic.h (atomic_exchange_relaxed): New.
4172 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
4174         * math/e_scalb.c: Do not include <fenv.h>.
4175         (invalid_fn): Do calculation resulting in NaN instead of raising
4176         FE_INVALID and returning a NaN explicitly.
4177         * math/e_scalbf.c: Do not include <fenv.h>.
4178         (invalid_fn): Do calculation resulting in NaN instead of raising
4179         FE_INVALID and returning a NaN explicitly.
4180         * math/e_scalbl.c: Do not include <fenv.h>.
4181         (invalid_fn): Do calculation resulting in NaN instead of raising
4182         FE_INVALID and returning a NaN explicitly.
4184 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
4186         * po/de.po: Updated from Translation Project.
4187         * po/fi.po: Likewise.
4188         * po/sv.po: Likewise.
4190 2016-08-04  Florian Weimer  <fweimer@redhat.com>
4192         [BZ #20452]
4193         Use sysdep.o from libc.a in static libraries.
4194         * sysdeps/unix/sysv/linux/i386/Makefile
4195         (libpthread-shared-only-routines): Add sysdep.
4196         (librt-shared-only-routines): Likewise.
4198 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
4200         * math/tgmath.h (nextdown): Define if
4201         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
4202         (nextup): Likewise.
4204         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
4205         macro.
4206         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
4207         Document.
4208         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
4209         Document macro.
4210         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
4211         (exp10f): Likewise.
4212         (exp10l): Likewise.
4213         * math/bits/mathcalls.h (exp10): Declare if
4214         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
4216         * manual/arith.texi (nextup): Fix typo in last change.
4218 2016-08-03  Zack Weinberg  <zackw@panix.com>
4220         [BZ #19239]
4221         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
4222         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
4223         define major, minor, and makedev to issue deprecation warnings on use.
4224         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
4225         previously-activated deprecation warnings for these macros and prevent
4226         subsequent inclusions of this header from having any effect.
4227         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
4228         including <sys/sysmacros.h>, and undefine it again afterward.
4230 2016-08-03  Zack Weinberg  <zackw@panix.com>
4232         * sysdeps/generic/sys/sysmacros.h: Delete file.
4233         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
4234         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
4235         * bits/sysmacros.h: ... here; this encoding is now the generic
4236         encoding.  Now defines only the following macros:
4237         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
4238         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
4239         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
4241         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
4242         bits/sysmacros.h and the above new macros to generate the
4243         public implementations of major, minor, and makedev.
4244         * misc/tst-makedev.c: New test.
4245         * include/sys/sysmacros.h: New wrapper.
4247         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
4248         (routines): Add makedev.
4249         (tests): Add tst-makedev.
4250         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
4251         gnu_dev_makedev.
4252         * posix/Makefile (headers): Remove sys/sysmacros.h.
4253         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
4255         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
4256         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
4257         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
4258         * sysdeps/unix/sysv/linux/alpha/libc.abilist
4259         * sysdeps/unix/sysv/linux/arm/libc.abilist
4260         * sysdeps/unix/sysv/linux/hppa/libc.abilist
4261         * sysdeps/unix/sysv/linux/i386/libc.abilist
4262         * sysdeps/unix/sysv/linux/ia64/libc.abilist
4263         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4264         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
4265         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
4266         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4267         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4268         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4269         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4270         * sysdeps/unix/sysv/linux/nios2/libc.abilist
4271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4275         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
4276         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
4277         * sysdeps/unix/sysv/linux/sh/libc.abilist
4278         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4279         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4282         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
4283         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
4284         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
4285         Add GLIBC_2.25.
4287         * include/features.h (__glibc_clang_prereq): New macro.
4288         * misc/sys/cdefs.h (__glibc_clang_has_extension)
4289         (__attribute_deprecated_msg__): New macros.
4291 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
4293         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
4294         macro.
4295         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
4296         * manual/arith.texi (issignaling): Document as ISO from TS
4297         18661-1:2014.
4298         (nextup): Likewise.
4299         (nextupf): Likewise.
4300         (nextupl): Likewise.
4301         (nextdown): Likewise.
4302         (nextdownf): Likewise.
4303         (nextdownl): Likewise.
4304         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
4305         macro.
4306         * math/math.h: Define
4307         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4308         <bits/libc-header-start.h> instead of including <features.h>.
4309         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
4310         [__USE_GNU].
4311         * math/bits/mathcalls.h (nextdown): Declare if
4312         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
4313         (nextup): Likewise.
4314         (__issignaling): Likewise.
4316 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4318         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
4319         check, and remove __glibc_likely hint
4320         from FP_INFINITE check.
4321         * s_csinhf.c (__csinhf): Likewise.
4323         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
4324         hint from FP_INFINITE check.
4325         * s_csinhl.c (__csinhl): Likewise.
4327 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4329         * math/Makefile (libm-calls): Insert F placeholder into
4330         object names.  Move w_lgamma_compat* routines into
4331         (libm-compat-calls): New variable.
4332         (libm-compat-calls-ldouble-yes): New variable.
4333         (calls): Insert F placeholder.
4334         (generated): Redefine using new type-foreach macro call.
4335         (routines): Likewise.
4337         (types): New variable to hold a list of symbolic names
4338         for each type supported by the target machine.
4339         (libm-routines): Redefine using new types variable.
4340         (type-foreach): macro to replace fooF with the
4341         appropriately suffixed foo for each types.
4343         (type-ldouble-suffix): New variable.
4344         (type-ldouble-routines): Likewise.
4345         (type-ldouble-yes): Likewise.
4346         (type-double-suffix): Likewise.
4347         (type-double-routines): Likewise.
4348         (type-float-suffix): Likewise.
4349         (type-float-routines): Likewise.
4351         (dbl-only-routines): Remove.
4352         (long-c-yes): Likewise.
4353         (long-m-routines): Likewise.
4354         (long-m-support): Likewise.
4355         (long-m-yes): Likewise.
4356         (test-longdouble-yes): Likewise.
4358         (test-float.o): Simplify by increasing the scope of the
4359         recipe which adds libm-test.stmp to the vector types.
4360         (test-ifloat.o): Likewise.
4361         (test-float-finite.o): Likewise.
4362         (test-double.o): Likewise
4363         (test-idouble.o): Likewise.
4364         (test-double-finite.o): Likewise.
4365         (test-ldouble.o): Likewise
4366         (test-ildoubl.o): Likewise.
4367         (test-ldouble-finite.o): Likewise.
4369         (libm-tests): Redefine type tests using foreach and the
4370         list of types in types.
4372         (CPPFLAGS-test-ildoubl.c): Rename to
4373         (CPPFLAGS-test-ildouble.c): New variable
4375         * math/test-ildoubl.c: Rename to
4376         * math/test-ildouble.c: New file.
4378 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4380         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
4381         Use fabsl instead of fabs.
4382         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
4383         Likewise.
4384         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
4385         Add long double suffix to constant to ensure proper
4386         promotion to long double.
4388 2016-08-03  Tom Tromey  <tom@tromey.com>
4390         [BZ #20311]
4391         * nptl_db/Makefile (headers): Add proc_service.h.
4392         * nptl_db/proc_service.h: Add include guard.  Use
4393         __BEGIN/__END_DECLS.
4394         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
4395         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
4396         arguments.
4399 2016-08-03  Florian Weimer  <fweimer@redhat.com>
4401         [BZ #17730]
4402         Avoid using memalign for TCB allocations.
4403         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
4404         (_dl_allocate_tls_storage): Use malloc and manual alignment.
4405         Avoid alignment gap in the TLS_DTV_AT_TP case.
4406         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
4407         determine the pointer to free.
4408         * nptl/tst-tls3-malloc.c: New test.
4409         * nptl/Makefile (tests): Add it.
4410         (tst-tls3-malloc): Link with libdl, libpthread.
4411         (LDFLAGS-tst-tls3-malloc): Set.
4412         (tst-tls3-malloc.out): Depend on DSO used in test.
4414 2016-08-03  Florian Weimer  <fweimer@redhat.com>
4416         [BZ #17730]
4417         Avoid using memalign for TLS allocations.
4418         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
4419         is_static member with to_free member.
4420         (union dtv): Use struct dtv_pointer.
4421         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
4422         dtv_pointer instead of is_static.
4423         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
4424         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
4425         instead of val.
4426         (allocate_dtv_entry): New function.
4427         (allocate_and_init): Return struct dtv_pointer.  Call
4428         allocate_dtv_entry instead of __libc_memalign.
4429         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
4430         instead of val.
4431         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
4432         instead of is_static.  Adjust call to allocate_and_init.
4433         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
4434         struct dtv_pointer instead of val.
4436 2016-08-03  Florian Weimer  <fweimer@redhat.com>
4438         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
4439         (MALLOC_ALIGN_MASK): Move ...
4440         * malloc/malloc-internal.h: ... to here.
4441         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
4443 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
4445         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
4446         (UDP_ENCAP_GTP1U): Likewise.
4448         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
4449         (PF_MAX): Update value.
4450         (AF_QIPCRTR): New macro.
4452 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
4454         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
4455         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4456         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4457         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4458         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4459         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
4460         s_truncf-vis3, s_trunc-vis3.
4461         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
4462         (CFLAGS-s_ceil-vis3.c): Likewise.
4463         (CFLAGS-s_floorf-vis3.c): Likewise.
4464         (CFLAGS-s_floor-vis3.c): Likewise.
4465         (CFLAGS-s_truncf-vis3.c): Likewise.
4466         (CFLAGS-s_trunc-vis3.c): Likewise.
4467         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
4468         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
4469         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
4470         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
4471         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
4472         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
4473         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
4474         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
4475         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
4476         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
4477         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
4478         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
4480 2016-08-02  David S. Miller  <davem@davemloft.net>
4482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
4483         (__nearbyint_vis3): Don't check for sNaN before float register is
4484         loaded with the incoming argument.
4485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
4486         (__nearbyintf_vis3): Likewise.
4487         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
4488         Likewise.
4489         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
4490         Likewise.
4492         * string/test-strncmp.c (do_test_limit): Make sure the test data
4493         stream is aligned as required for the type "CHAR".
4494         (do_test): Likewise.
4496 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
4498         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
4499         by beq instructions jumping to the end of the function.
4500         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
4501         clobber list. Use "i" constraint instead of "X".
4502         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
4503         of "X".
4505 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
4507         * bits/libc-header-start.h: New file.
4508         * Makefile (headers): Add bits/libc-header-start.h.
4509         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
4510         (__GLIBC_USE): New macro.
4511         * libio/stdio.h: Define
4512         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4513         <bits/libc-header-start.h> instead of including <features.h>.
4514         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
4515         (open_memstream): Likewise.
4516         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
4517         (__asprintf): Likewise.
4518         (asprintf): Likewise.
4519         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
4520         (getdelim): Likewise.
4521         (getline): Likewise.
4522         * string/string.h: Define
4523         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4524         <bits/libc-header-start.h> instead of including <features.h>.
4525         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
4526         (strndup): Likewise.
4527         * wcsmbs/wchar.h: Define
4528         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4529         <bits/libc-header-start.h> instead of including <features.h>.
4530         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
4531         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
4533 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4535         Support linking against compatibility symbols, for use in tests.
4536         * include/libc-symbols.h (symbol_version_reference): New macro.
4537         (symbol_version): Use it.
4538         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
4539         (compat_symbol): Use compat_symbol_reference.
4540         (compat_symbol_1, compat_symbol_2): Remove.
4541         (compat_symbol_reference, compat_symbol_reference_1)
4542         (compat_symbol_reference_2): New macro.  Use
4543         symbol_version_reference.
4545 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4547         [BZ #19469]
4548         * malloc/Makefile (CPPFLAGS): Compile tests with
4549         -DTEST_NO_MALLOPT.
4550         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
4552 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
4554         [BZ #20033]
4555         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
4556         finite version.
4557         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
4558         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
4559         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
4560         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
4561         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
4562         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
4563         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
4564         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
4565         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
4566         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
4567         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
4568         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
4569         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
4570         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
4571         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
4572         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
4573         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
4574         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
4575         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
4576         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
4577         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
4578         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
4579         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
4580         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
4581         in zero power.
4583 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4585         [BZ #20370]
4586         * malloc/arena.c (get_free_list): Update comment.  Assert that
4587         arenas on the free list have no attached threads.
4588         (remove_from_free_list): New function.
4589         (reused_arena): Call it.
4591 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
4593         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
4594         when it is a NaN.
4595         [_IEEE_FP_INEXACT] Remove.
4596         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
4597         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
4598         when it is a NaN.
4599         [_IEEE_FP_INEXACT] Remove.
4600         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
4601         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
4602         when it is a NaN.
4603         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
4604         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
4605         when its absolute value is greater than 0x1.0p52.
4606         [_IEEE_FP_INEXACT] Remove.
4607         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
4608         when its absolute value is greater than 0x1.0p23.
4609         [_IEEE_FP_INEXACT] Remove.
4611 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
4613         * version.h (RELEASE): Set to "development"
4614         (VERSION): Set to 2.24.90.
4615         * NEWS: Add 2.25 section.
4617         * version.h (RELEASE): Set to "stable"
4618         (VERSION): Set to 2.24.
4619         * include/features.h (__GLIBC_MINOR__): Set to 24.
4621         * NEWS: Add 2.24 fixed bugs.
4622         * po/libc.pot: Regenerate.
4624 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
4626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4627         [$(subdir) = math] (libm-sysdep_routines): Remove.
4628         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4629         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
4630         s_truncf-vis3, s_trunc-vis3.
4631         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
4633         file.
4634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
4635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
4636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
4637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
4640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
4641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
4643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
4644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
4645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
4646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
4647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
4648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
4649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4650         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4651         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4652         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
4653         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
4654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
4655         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
4656         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4657         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4658         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
4659         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4660         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4661         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
4662         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4663         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4664         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
4665         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4666         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4667         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
4668         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
4669         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
4670         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
4671         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4672         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4673         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
4674         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
4675         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
4676         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
4678 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
4680         [BZ #20384]
4681         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
4682         test-double-libmvec-sincos-avx-main.o,
4683         test-double-libmvec-sincos-avx2-main.o,
4684         test-double-libmvec-sincos-main.o,
4685         test-float-libmvec-sincosf-avx-main.o,
4686         test-float-libmvec-sincosf-avx2-main.o and
4687         test-float-libmvec-sincosf-main.o.
4688         test-float-libmvec-sincosf-avx512-main.o.
4689         ($(objpfx)test-double-libmvec-sincos): Also link with
4690         $(objpfx)test-double-libmvec-sincos-main.o.
4691         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
4692         $(objpfx)test-double-libmvec-sincos-avx-main.o.
4693         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
4694         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
4695         ($(objpfx)test-float-libmvec-sincosf): Also link with
4696         $(objpfx)test-float-libmvec-sincosf-main.o.
4697         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
4698         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
4699         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
4700         test-double-libmvec-sincos-avx512-main.o and
4701         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
4702         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
4703         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
4704         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
4705         (CFLAGS-test-double-libmvec-sincos.c): Removed.
4706         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
4707         (CFLAGS-test-double-libmvec-sincos-main.c): New.
4708         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
4709         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
4710         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
4711         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
4712         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
4713         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
4714         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
4715         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
4716         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
4717         -DREQUIRE_AVX2.
4718         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
4719         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
4720         -DREQUIRE_AVX512F.
4721         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
4722         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
4723         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
4724         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
4725         file.
4726         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
4727         Likewise.
4728         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
4729         Likewise.
4730         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
4731         Likewise.
4732         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
4733         Likewise.
4734         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
4735         Likewise.
4736         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
4737         Likewise.
4738         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
4739         Likewise.
4741 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
4743         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
4745 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
4747         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
4748         and typo in a comment about AT_HWCAP entry.
4750 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4752         * sysdeps/aarch64/libm-test-ulps: Updated.
4754 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4756         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
4757         of r13 as it is not restored in mvcle case.
4759 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
4761         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
4762         Rename "ret" to "__ret".
4763         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
4764         inline_syscall5, inline_syscall6): Likewise.
4766 2016-07-19   Will Newton  <will.newton@gmail.com>
4768         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
4769         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
4770         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
4771         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
4772         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
4774 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
4776         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
4777         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
4778         -mfpmath=387 with $(rtld-CFLAGS).
4779         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
4780         $(rtld-CFLAGS).
4782 2016-07-18   Ross Burton  <ross.burton@intel.com>
4783              Khem Raj  <raj.khem@gmail.com>
4785         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
4786         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
4787         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
4788         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
4789         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
4790         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
4791         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
4792         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
4793         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
4794         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
4795         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
4796         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
4797         R_METAG_TLS_DTPOFF): New.
4799 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4800             Matt Clay  <mclay@lycos.com>
4802         [BZ #20357]
4803         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
4804         to call __mpsin/__mpcos and to negate values.
4805         * math/auto-libm-test-in: Add test.
4806         * math/auto-libm-test-out: Regenerate.
4808 2016-07-18  Zack Weinberg  <zackw@panix.com>
4810         * grp/Makefile: Don't install the internal header grp-merge.h.
4812 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4814         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4816 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4818         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
4820 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4822         [BZ #15368]
4823         * sysdeps/unix/sysv/linux/nptl-signals.h
4824         (__nptl_clear_internal_signals): New function.
4825         (__libc_signal_block_all): Likewise.
4826         (__libc_signal_block_app): Likewise.
4827         (__libc_signal_restore_set): Likewise.
4828         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
4829         implementation.
4830         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
4831         the cached pid/tid value in pthread structure.
4833 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
4835         [BZ #20347]
4836         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4838 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
4840         [BZ #20348]
4841         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
4842         preadv64, pwrite64 and pwritev64.
4844 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
4846         [BZ #20350]
4847         * posix/tst-preadwrite.c: Renamed to ...
4848         * posix/tst-preadwrite-common.c: This.
4849         (PREAD): Removed.
4850         (PWRITE): Likewise.
4851         (STRINGIFY): Likewise.
4852         (STRINGIFY2): Likewise.
4853         (do_prepare): Make it static and remove function arguments.
4854         (do_test): Likewise.
4855         (PREPARE): Updated.
4856         (TEST_FUNCTION): New.
4857         (name): Make it static.
4858         (fd): Likewise.
4859         (do_prepare): Use create_temp_file.
4860         (do_test): Renamed to ...
4861         (do_test_with_offset): This.  Make it static and accept offset.
4862         Properly check return value of PWRITE and PREAD.  Return bytes
4863         read.  Don't close fd nor unlink name.
4864         * posix/tst-preadwrite.c: Rewrite.
4865         * posix/tst-preadwrite64.c: Likewise.
4867 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
4869         [BZ #20309]
4870         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
4871         -mtls-dialect=gnu2 works.
4872         * configure: Regenerated.
4873         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
4874         (tests): Add tst-gnu2-tls1.
4875         (modules-names): Add tst-gnu2-tls1mod.
4876         ($(objpfx)tst-gnu2-tls1): New.
4877         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
4878         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
4879         * elf/tst-gnu2-tls1.c: New file.
4880         * elf/tst-gnu2-tls1mod.c: Likewise.
4881         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
4882         bytes for push in the PLT entry to align the stack.
4884 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
4886         [BZ #20349]
4887         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
4889 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4891         [BZ #18707]
4892         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
4893         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
4895 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4897         * sysdeps/unix/sysv/linux/sysdep.h
4898         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
4899         guards.
4900         * misc/tst-preadvwritev-common.c: New file.
4901         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
4902         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
4903         a check for files larger than 2GB.
4905         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4906         (__ASSUME_OFF_DIFF_OFF64): Remove define.
4907         * sysdeps/unix/sysv/linux/pread.c
4908         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
4909         __OFF_T_MATCHES_OFF64_T.
4910         * sysdeps/unix/sysv/linux/pread64.c
4911         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
4912         * sysdeps/unix/sysv/linux/preadv.c
4913         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
4914         * sysdeps/unix/sysv/linux/preadv64.c
4915         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
4916         * sysdeps/unix/sysv/linux/pwrite.c
4917         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
4918         * sysdeps/unix/sysv/linux/pwrite64.c
4919         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
4920         * sysdeps/unix/sysv/linux/pwritev.c
4921         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
4922         * sysdeps/unix/sysv/linux/pwritev64.c
4923         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
4925 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
4927         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4928         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
4930 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
4932         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
4934 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
4936         [BZ #20240]
4937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4938         (CFLAGS-s_modf-ppc32.c): New variable.
4939         (CFLAGS-s_modff-ppc32.c): Likewise.
4940         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4941         (CFLAGS-s_modf-ppc64.c): Likewise.
4942         (CFLAGS-s_modff-ppc64.c): Likewise.
4944 2016-07-07  Andreas Schwab  <schwab@suse.de>
4946         [BZ #20263]
4947         * nptl/tst-robust10.c: New test.
4948         * nptl/Makefile (tests): Add tst-robust10.
4950 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
4952         [BZ #20263]
4953         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
4955 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4957         * sysdeps/s390/linkmap.h (struct link_map_machine):
4958         Remove member gotplt and add member jmprel.
4959         * sysdeps/s390/s390-32/dl-machine.h
4960         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
4961         instead of gotplt with &got[3].
4962         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
4963         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4965 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
4967         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
4969 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4971         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
4972         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
4973         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
4974         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
4975         * libio/vtables.c (_IO_vtable_check)
4976         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
4977         * libio/libioP.h (IO_set_accept_foreign_vtables)
4978         [!PTR_MANGLE]: Do not call PTR_MANGLE.
4980 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
4982         [BZ #20314]
4983         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
4984         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
4985         $(common-objpfx)cmath.
4986         ($(common-objpfx)cstdlib): New target.
4987         ($(common-objpfx)cmath): Likewise.
4989 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
4991         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
4993 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4995         [BZ #20327]
4996         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
4997         are not part of the string.
4999 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5001         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
5002         * nptl/tst-cancel4-common.h (fifoname): New variable.
5003         (fifofd): Likewise.
5004         (cl_fifo): New function.
5005         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
5006         SIGINT.
5007         (tf_open): Add early cancel test.
5009 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
5011         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
5013 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
5015         * sysdeps/generic/ldsodefs.h
5016         (dl_symbol_visibility_binds_local_p): New inline function.
5017         * elf/dl-addr.c (determine_info): Treat hidden and internal
5018         symbols as local.
5019         * elf/dl-lookup.c (do_lookup_x): Likewise.
5020         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
5022 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
5024         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
5025         invalid exception for a sNaN input.
5026         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5027         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
5028         (__nearbyint_vis3): Likewise
5029         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
5030         (__nearbyintf_vis3): Likewise
5031         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
5032         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5033         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
5034         Likewise.
5035         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
5036         Likewise.
5038 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
5040         [BZ #20139]
5041         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
5042         (HAVE_AVX512DQ_ASM_SUPPORT): This.
5043         * sysdeps/x86_64/configure.ac: Require assembler from binutils
5044         2.24 or above.
5045         (HAVE_AVX512_ASM_SUPPORT): Removed.
5046         (HAVE_AVX512DQ_ASM_SUPPORT): New.
5047         * sysdeps/x86_64/configure: Regenerated.
5048         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
5049         check unconditional.
5050         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
5051         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5052         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5053         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
5054         Likewise.
5055         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5056         Likewise.
5057         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
5058         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
5059         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5060         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5061         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
5062         Likewise.
5063         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5064         Likewise.
5065         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5066         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5067         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
5068         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
5069         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
5070         Likewise.
5071         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
5072         Likewise.
5073         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
5074         Likewise.
5075         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
5076         Likewise.
5077         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
5078         Likewise.
5079         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
5080         Likewise.
5081         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
5082         Likewise.
5083         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
5084         Likewise.
5085         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
5086         Likewise.
5087         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
5088         Likewise.
5089         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
5090         Likewise.
5092 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
5094         [BZ #20024]
5095         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
5096         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
5097         of this implementation of vector function.
5098         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
5099         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
5100         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
5101         Likewise.
5102         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
5103         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
5104         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
5105         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
5106         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
5107         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
5108         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
5109         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
5110         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
5111         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
5112         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
5113         for testing vector sincos with fixed ABI.
5114         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5115         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5116         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5117         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5118         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5119         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5120         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5121         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
5122         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
5123         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
5124         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
5125         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
5126         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
5127         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
5128         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
5129         * sysdeps/x86_64/fpu/Makefile: Added new tests.
5131 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
5133         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
5135 2016-06-30  Anton Blanchard  <anton@samba.org>
5137         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5138         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
5139         s_sinf-ppc64.
5140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
5141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
5142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
5143         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
5145 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5147         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5148         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5149         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
5150         e_expf-ppc64.
5151         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
5152         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
5153         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
5154         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
5156 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
5158         [BZ #20277]
5159         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
5160         when SHARED is defined.
5162 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
5164         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
5165         (index_arch_Prefer_ERMS): Likewise.
5166         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
5167         __memcpy_erms for Prefer_ERMS.
5168         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5169         (__memmove_erms): Enabled for libc.a.
5170         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
5171         __memmove_erms or Prefer_ERMS.
5172         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
5173         __mempcpy_erms for Prefer_ERMS.
5174         * sysdeps/x86_64/multiarch/memset.S (memset): Return
5175         __memset_erms for Prefer_ERMS.
5177 2016-06-30  Andreas Schwab  <schwab@suse.de>
5179         [BZ #20262]
5180         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
5181         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
5182         of memory.
5184 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
5186         [BZ #18645]
5187         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
5188         (test-extras): Add tst-cleanupx4aux.
5189         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
5190         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
5191         tst-cleanupx4aux.o.
5192         * nptl/tst-cleanupx4aux.c: New file.
5194 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
5196         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
5198 2016-06-29  Andreas Schwab  <schwab@suse.de>
5200         [BZ #20260]
5201         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
5202         address before the beginning of the string as an integer to avoid
5203         array-bounds warning.
5205 2016-06-28  Richard Henderson  <rth@redhat.com>
5207         * elf/elf.h (EM_BPF): New.
5208         (EM_NUM): Update.
5209         (R_BPF_NONE, R_BPF_MAP_FD): New.
5211         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
5212         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
5213         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
5214         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
5215         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
5216         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
5217         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
5218         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
5219         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
5220         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
5221         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
5222         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
5223         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
5224         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
5225         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
5226         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
5227         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
5228         (EM_NUM): Update.
5230 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
5232         [BZ #18960]
5233         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
5234         Set _nl_current_LC_CATEGORY_used to two instead of one.
5236 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
5238         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
5239         (do_test): ... this.
5240         (TEST_FUNCTION): New macro.
5241          Include test-skeleton.c.
5242         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
5243         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
5245 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
5247         [BZ #15479]
5248         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
5249         floating-point environment rather than just control word.
5250         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5251         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
5252         floating-point environment, with "invalid" exceptions merged in,
5253         rather than just control word.
5254         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
5255         * math/libm-test.inc (trunc_test_data): Do not allow spurious
5256         "inexact" exceptions.
5258         [BZ #15479]
5259         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
5260         floating-point environment rather than just control word.
5261         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5262         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
5263         floating-point environment, with "invalid" exceptions merged in,
5264         rather than just control word.
5265         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
5266         * math/libm-test.inc (floor_test_data): Do not allow spurious
5267         "inexact" exceptions.
5269         [BZ #15479]
5270         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
5271         floating-point environment rather than just control word.
5272         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5273         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
5274         floating-point environment, with "invalid" exceptions merged in,
5275         rather than just control word.
5276         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
5277         * math/libm-test.inc (ceil_test_data): Do not allow spurious
5278         "inexact" exceptions.
5280 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
5282         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
5283         __libc_vfork.
5284         (__vfork) [IS_IN (libc)]: Remove alias.
5285         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
5286         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
5287         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
5289 2016-06-24  Torvald Riegel  <triegel@redhat.com>
5291         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
5292         of atomic_compare_and_exchange_bool_rel.
5293         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5294         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
5295         catomic_compare_and_exchange_bool_rel): Remove.
5296         * sysdeps/aarch64/atomic-machine.h
5297         (atomic_compare_and_exchange_bool_rel): Likewise.
5298         * sysdeps/alpha/atomic-machine.h
5299         (atomic_compare_and_exchange_bool_rel): Likewise.
5300         * sysdeps/arm/atomic-machine.h
5301         (atomic_compare_and_exchange_bool_rel): Likewise.
5302         * sysdeps/mips/atomic-machine.h
5303         (atomic_compare_and_exchange_bool_rel): Likewise.
5304         * sysdeps/microblaze/atomic-machine.h
5305         ( __arch_compare_and_exchange_bool_8_rel,
5306         __arch_compare_and_exchange_bool_16_rel): Likewise.
5307         * sysdeps/powerpc/atomic-machine.h
5308         ( __arch_compare_and_exchange_bool_8_rel,
5309         __arch_compare_and_exchange_bool_16_rel): Likewise.
5310         * sysdeps/powerpc/powerpc32/atomic-machine.h
5311         ( __arch_compare_and_exchange_bool_32_rel,
5312         __arch_compare_and_exchange_bool_64_rel): Likewise.
5313         * sysdeps/powerpc/powerpc64/atomic-machine.h
5314         ( __arch_compare_and_exchange_bool_32_rel,
5315         __arch_compare_and_exchange_bool_64_rel): Likewise.
5316         * sysdeps/tile/atomic-machine.h
5317         (atomic_compare_and_exchange_bool_rel): Likewise.
5319 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
5321         [BZ #20296]
5322         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
5323         when either argument is a NaN.
5324         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5325         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
5327         * math/libm-test.inc (snan_value_ld): New macro.
5328         (isgreater_test_data): Add sNaN tests.
5329         (isgreaterequal_test_data): Likewise.
5330         (isless_test_data): Likewise.
5331         (islessequal_test_data): Likewise.
5332         (islessgreater_test_data): Likewise.
5333         (isunordered_test_data): Likewise.
5334         (nextafter_test_data): Likewise.
5335         (nexttoward_test_data): Likewise.
5336         (remainder_test_data): Likewise.
5337         (remquo_test_data): Likewise.
5338         (significand_test_data): Likewise.
5339         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
5341 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5343         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
5344         environment macros are defined.
5345         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
5347 2016-06-23  Florian Weimer  <fweimer@redhat.com>
5349         [BZ #20191]
5350         Implement vtable verification in libio.
5351         * Makerules (shlib.lds): Place __libc_IO_vtables section.
5352         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
5353         * debug/vdprintf_chk.c (__vdprintf_chk): Call
5354         _IO_new_file_init_internal instead of _IO_file_init.
5355         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
5356         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
5357         * libio/Makefile (routines): Add vtables.
5358         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
5359         (_IO_init): Remove, not for internal use.
5360         (_IO_init_internal): Declare, internal replacement for _IO_init.
5361         (_IO_file_init): Remove, not for internal use.
5362         (_IO_new_file_init): Remove, not for internal use.
5363         (_IO_new_file_init_internal): Declare, internal replacement for
5364         _IO_new_file_init.
5365         (_IO_old_file_init): Remove, not for internal use.
5366         (_IO_old_file_init_internal): Declare, internal replacement for
5367         _IO_old_file_init.
5368         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
5369         internal use.
5370         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
5371         Declare.
5372         (libio_vtable): New macro.
5373         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
5374         functions.
5375         * libio/fileops.c (_IO_new_file_init_internal): Rename from
5376         _IO_new_file_init.
5377         (_IO_new_file_init): New externally visible wrapper which disables
5378         vtable verification.
5379         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
5380         Define as vtables.
5381         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
5382         (_IO_init): New externally visible wrapper which disables
5383         vtable verification.
5384         * libio/iofdopen.c (_IO_new_fdopen): Call
5385         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
5386         comment.
5387         * libio/iofopen.c (__fopen_internal): Call
5388         _IO_new_file_init_internal instead of _IO_file_init.
5389         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
5390         Define as vtables.
5391         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
5392         _IO_new_file_init_internal instead of _IO_file_init.
5393         * libio/iopopen.c (_IO_new_popen): Likewise.
5394         (_IO_proc_jumps): Define as vtable.
5395         * libio/iovdprintf.c (_IO_vdprintf): Call
5396         _IO_new_file_init_internal instead of _IO_file_init.
5397         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
5398         (__open_memstream): Call _IO_init_internal instead of _IO_init.
5399         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
5400         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
5401         _IO_old_file_init.
5402         (_IO_old_file_init): New externally visible wrapper which disables
5403         vtable verification.
5404         (_IO_old_file_jumps): Define as vtable.
5405         * libio/oldiofdopen.c (_IO_old_fdopen): Call
5406         _IO_old_file_init_internal instead of _IO_old_file_init.
5407         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5408         * libio/oldiopopen.c (_IO_old_popen): Likewise.
5409         (_IO_old_proc_jumps): Define as vtable.
5410         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
5411         Define as vtables.
5412         * libio/vtables.c: New file.
5413         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
5414         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
5415         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
5416         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
5417         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
5418         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
5419         instead of _IO_init.
5421 2016-06-23  Florian Weimer  <fweimer@redhat.com>
5423         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
5425 2016-06-23  Florian Weimer  <fweimer@redhat.com>
5427         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
5428         potentially unused.
5430 2016-06-22  Florian Weimer  <fweimer@redhat.com>
5432         * test-skeleton.c (write_message): New function.
5433         * malloc/tst-mallocfork2.c (write_message): Remove.
5434         * debug/tst-longjmp_chk2.c (write_indented): New function.
5435         (write_message): Remove.
5436         (stackoverflow_handler): Call write_indented.
5438 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
5440         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
5441         "inexact" exceptions after fnstenv.
5442         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5443         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
5444         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
5446 2015-06-22  Zack Weinberg  <zackw@panix.com>
5448         * sysdeps/generic/bits/hwcap.h: Moved to ...
5449         * bits/hwcap.h: Here.
5451 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
5453         * sysdeps/aarch64/memcpy.S (memcpy):
5454         Further tuning for performance.
5456 2016-06-21  Florian Weimer  <fweimer@redhat.com>
5458         [BZ #20284]
5459         * malloc/arena.c (reused_arena): Do not return NULL if we start
5460         out with a non-corrupted arena.
5462 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5464         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
5465         * misc/tst-preadvwritev.c: New file.
5466         * misc/tst-preadvwritev64.c: Likewise.
5467         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
5468         usage.
5469         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
5470         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
5471         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
5472         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
5474 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
5476         [BZ #19654]
5477         * sysdeps/x86_64/fpu/Makefile: Added new tests.
5478         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
5479         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
5480         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
5481         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
5482         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
5483         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
5484         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
5485         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
5486         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
5487         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
5488         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
5489         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
5490         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
5491         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
5492         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
5493         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
5494         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
5495         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
5496         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
5497         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
5498         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
5499         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
5500         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
5501         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
5502         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
5504 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
5506         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
5507         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
5509 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
5511         * sysdeps/aarch64/memcpy.S (memcpy):
5512         Rewrite of optimized memcpy and memmove.
5513         * sysdeps/aarch64/memmove.S (memmove): Remove
5514         memmove code (merged into memcpy.S).
5516 2016-06-20  Florian Weimer  <fweimer@redhat.com>
5518         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
5519         * sysdeps/generic/dl-dtv.h: New file.
5520         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5521         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
5522         (dtv_t): Remove.
5523         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5524         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
5525         (dtv_t): Remove.
5526         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5527         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
5528         (dtv_t): Remove.
5529         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5530         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
5531         (dtv_t): Remove.
5532         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5533         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
5534         (dtv_t): Remove.
5535         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5536         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
5537         (dtv_t): Remove.
5538         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5539         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
5540         (dtv_t): Remove.
5541         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
5542         (dtv_t): Remove.
5543         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5544         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
5545         (dtv_t): Remove.
5546         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5547         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
5548         (dtv_t): Remove.
5549         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5550         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
5551         (dtv_t): Remove.
5552         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5553         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
5554         (dtv_t): Remove.
5555         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5556         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
5557         (dtv_t): Remove.
5558         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5559         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
5560         (dtv_t): Remove.
5561         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5562         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
5563         (dtv_t): Remove.
5564         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5565         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
5566         (dtv_t): Remove.
5568 2016-06-20  Florian Weimer  <fweimer@redhat.com>
5570         Revert symbol poisoning of  __malloc_initialize_hook.
5571         * include/stdc-predef.h (__malloc_initialize_hook): Remove
5572         poisoning.
5573         * malloc/Makefile: Remove un-poisoning.
5574         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
5575         instead of old__malloc_initialize_hook.
5576         * malloc/malloc-hooks.h: Likewise.
5577         * malloc/malloc.c: Likewise.
5578         * malloc/mcheck-init.c: Likewise.
5580 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
5582         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
5584 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
5586         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
5587         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
5588         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
5589         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
5591 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5593         * NEWS: Mention addition of nextup and nextdown.
5594         * manual/arith.texi: Document nextup and nextdown.
5595         * manual/libm-err-tab.pl: Add nextup and nextdown.
5596         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
5597         * math/Versions (libm): Add GLIBC_2.24.
5598         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
5599         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
5600         Add new test.
5601         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
5602         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
5603         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
5604         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
5605         (nextup_test_data): Likewise.
5606         (nextdown_test_data): Likewise.
5607         * math/s_nextdown.c: New file.
5608         * math/s_nextdownf.c: Likewise.
5609         * math/s_nextdownl.c: Likewise.
5610         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
5611         F(nextup): New function.
5612         F(nextdown): Likewise.
5613         * math/tgmath.h: Add nextup and nextdown.
5614         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
5615         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
5616         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
5617         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
5618         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
5619         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
5620         Add nextup and nextdown.
5621         (CFLAGS-nldbl-nextup.c): New variable.
5622         (CFLAGS-nldbl-nextdown.c): Likewise.
5623         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
5624         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
5625         * sysdeps/nacl/libm.abilist: Update.
5626         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5627         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5628         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5629         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5630         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5631         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5632         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5633         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5634         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5635         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5636         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5637         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
5639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5640         Likewise.
5641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
5642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
5643         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5644         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5645         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5646         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5647         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
5649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
5650         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5651         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5652         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
5653         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5655 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5657         * manual/pattern.texi: Fix typos & grammar errors.
5659 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5661         * manual/search.texi: Fix typos & grammar errors.
5663 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5665         * manual/message.texi: Fix typos & grammar errors.
5667 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
5669         * manual/contrib.texi: Fix spelling typos.
5670         * manual/crypt.texi: Likewise.
5671         * manual/filesys.texi: Likewise.
5672         * manual/locale.texi: Likewise.
5673         * manual/message.texi: Likewise.
5674         * manual/nss.texi: Likewise.
5675         * manual/string.texi: Likewise.
5677 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5679         * manual/locale.texi: Fix typos & grammar errors.
5681 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5683         * manual/charset.texi: Fix typos & grammar errors.
5685 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5687         * manual/string.texi: Fix typos.
5689 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5691         * manual/ctype.texi: Fix typos.
5693 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5695         * manual/memory.texi: Fix various typos & grammar errors.
5697 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
5699         [BZ #20255]
5700         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
5701         * math/libm-test.inc (fdim_test_data): Add another test.
5703         [BZ #6796]
5704         [BZ #20255]
5705         [BZ #20256]
5706         * math/s_fdim.c: Include <math_private.h>.
5707         (__fdim): Use math_narrow_eval on result.
5708         * math/s_fdimf.c: Include <math_private.h>.
5709         (__fdimf): Use math_narrow_eval on result.
5710         * sysdeps/i386/fpu/s_fdim.S: Remove file.
5711         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
5712         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
5713         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
5714         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
5715         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
5716         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
5717         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
5718         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
5719         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
5720         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
5721         * math/libm-test.inc (fdim_test_data): Expect errno setting on
5722         overflow.  Add sNaN tests.
5724         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
5725         fpclassify.
5726         * math/s_fdimf.c (__fdimf): Likewise.
5727         * math/s_fdiml.c (__fdiml): Likewise.
5729 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5731         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5732         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
5733         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5734         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
5735         ifunc'ed strcasecmp/strncasecmp.
5736         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
5737         [EALIGN]: Removed.
5738         [END]: Likewise.
5739         [__strcasecmp]: Define instead of the above to control symbol name.
5740         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
5741         for __strcasecmp_power8.
5742         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
5743         for __strncasecmp_power8.
5744         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
5745         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
5746         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
5747         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
5748         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
5749         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
5751 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
5753         [BZ #20252]
5754         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
5755         arguments when second argument is a NaN.
5756         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
5757         qNaN tests.
5759         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
5760         (conj_test_data): Likewise.
5761         (copysign_test_data): Likewise.
5762         (creal_test_data): Likewise.
5763         (fma_test_data): Likewise.
5764         (fmod_test_data): Likewise.
5766         [BZ #20250]
5767         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
5768         itself.
5769         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
5770         zero input to itself.
5771         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
5772         Likewise.
5773         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
5774         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
5775         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5776         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
5777         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
5779 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5781         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
5782         * nptl/tst-cancel4-common.c: New file.
5783         * nptl/tst-cancel4-common.h: Likewise.
5784         * nptl/tst-cancel4.c: Move common definitions to
5785         tst-cancel4-common.{c,h} file.
5786         * nptl/tst-cancel4_1.c: New test.
5787         * nptl/tst-cancel4_2.c: New test.
5789 2016-06-13  Florian Weimer  <fweimer@redhat.com>
5791         [BZ #20248]
5792         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
5793         (write_message): New function.
5794         (stackoverflow_handler): Call it instead of printf, to avoid
5795         excessive stack usage by printf.
5796         (do_test): Restore SIGSEGV, SIGBUS default handlers.
5798 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5800         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
5801         (prio_inherit_missing): Remove define.
5802         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5803         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5804         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
5805         Likewise.
5806         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5807         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5808         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5809         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5810         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5811         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5813 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5815         [BZ #19670]
5816         [BZ #19672]
5818         * io/test-lfs.c (do_prepare): Use xmalloc.
5819         * io/tst-fcntl.c (do_prepare): Likewise.
5820         * libio/tst-fopenloc.c (do_bz17916): Likewise.
5821         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
5822         * login/tst-utmp.c (do_prepare): Likewise.
5823         * posix/tst-exec.c (do_prepare): Likewise.
5824         * posix/tst-pathconf.c (prepare): Likewise.
5825         * posix/tst-spawn.c (do_prepare): Likewise.
5826         * posix/tst-truncate.c (do_prepare): Likewise.
5827         * rt/tst-aio.c (do_prepare): Likewise.
5828         * rt/tst-aio64.c (do_prepare): Likewise.
5830 2016-06-11  Florian Weimer  <fweimer@redhat.com>
5832         [BZ #20237]
5833         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
5834         (get*ent): Set entidx to NULL during initialization.  If entidx is
5835         NULL, start iteration from the beginning.
5837 2016-06-11  Florian Weimer  <fweimer@redhat.com>
5839         * malloc/malloc.c (musable): Return correct size for dumped fake
5840         mmapped chunk.
5842 2016-06-11  Florian Weimer  <fweimer@redhat.com>
5844         [BZ #20222]
5845         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
5846         (_IO_cookie_write): Likewise.
5847         (_IO_cookie_seek): Likewise.
5848         (_IO_cookie_close): Likewise.
5849         (_IO_old_cookie_seek): Likewise.
5850         (set_callbacks): New function.
5851         (_IO_cookie_init): Call set_callbacks to copy callbacks.
5853 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
5855         * locale/programs/localedef.c (oldstyle_tables): Remove.
5856         * locale/programs/localedef.h (oldstyle_tables): Likewise.
5858 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
5860         [BZ #20240]
5861         * math/Makefile (CFLAGS-s_modf.c): New variable.
5862         (CFLAGS-s_modff.c): Likewise.
5863         (CFLAGS-s_modfl.c): Likewise.
5864         * math/libm-test.inc (modf_test_data): Add sNaN tests.
5866 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
5868         [BZ #20215]
5869         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
5870         [!__GNUC_PREREQ (3,2)]: Likewise.
5872 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
5874         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
5875         (msghdr.msg_controllen): Likewise.
5876         (cmsghdr.cmsg_len): Likewise.
5877         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
5878         ptw-oldsendmsg.
5879         (CFLAGS-oldrecvmsg.c): Remove rule.
5880         (CFLAGS-oldsendmsg.c): Likewise.
5881         (CFLAGS-recvmsg.c): Add rule.
5882         (CFLAGS-sendmsg.c): Likewise.
5883         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
5884         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
5885         (CFLAGS-recvmsg.c): Remove rule.
5886         (CFLAGS-sendmsg.c): Likewise.
5887         (CFLAGS-oldrecvmsg.c): Likewise.
5888         (CFLAGS-oldsendmsg.c): Likewise.
5889         (CFLAGS-recvmmsg.c): Likewise.
5890         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
5891         to kernel defined interfaces.
5892         (msghdr.msg_controllen): Likewise.
5893         (cmsghdr.cmsg_len): Likewise.
5894         (msghdr.__glibc_reserved1): Remove member.
5895         (msghdr.__glibc_reserved2): Likewise.
5896         (cmsghdr.__glibc_reserved1): Likewise.
5897         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
5898         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
5899         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5900         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
5901         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
5902         version.
5903         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5904         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
5905         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5906         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
5907         Remove recvmsg and sendmsg.
5908         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
5909         Likewise.
5910         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5911         Likewise.
5912         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
5913         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
5914         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
5915         Likewise.
5916         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
5917         Likewise.
5918         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
5919         [libc] (GLIBC_2.24): Likewise.
5920         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
5921         Likewise.
5922         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
5923         Likewise.
5924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5925         [libc] (GLIBC_2.24): Likewise.
5926         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
5927         Likewise.
5928         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
5929         Likewise.
5930         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
5931         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
5932         Likewise.
5933         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
5934         Likewise.
5935         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
5936         Likewise.
5937         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
5938         Likewise.
5939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
5940         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
5941         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
5942         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
5943         version for {recv,send,recm,sendm}msg.
5944         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5945         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5946         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5947         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5948         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5949         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5950         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5951         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5952         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5953         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5954         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5955         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5957         Likewise.
5958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5959         Likewise.
5960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5962         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5963         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5964         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5965         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5966         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5967         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5970         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5971         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5972         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5974 2016-06-10  Florian Weimer  <fweimer@redhat.com>
5976         [BZ #19564]
5977         Remove __malloc_initialize_hook from the API.
5978         * malloc/malloc.h (__malloc_initialize_hook): Remove.
5979         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
5980         #pragma GCC poison.
5981         * malloc/malloc-hooks.h: New file.
5982         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
5983         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
5984         (old__malloc_initialize_hook): Rename from
5985         __malloc_initialize_hook to evade poisoning.  Turn into compat
5986         symbol.
5987         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
5988         __malloc_initialize_hook.
5989         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
5990         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
5991         * manual/memory.texi (Hooks for Malloc): Remove
5992         __malloc_initialize_hook.  Adjust hook example.
5994 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
5996         [BZ #20235]
5997         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
5998         itself.
5999         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6000         * math/libm-test.inc (log2_test_data): Add sNaN tests.
6002         [BZ #20234]
6003         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
6004         infinity or NaN input to itself.
6006         [BZ #20233]
6007         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
6008         to itself.
6010         [BZ #20232]
6011         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
6012         itself.
6014 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
6016         * sysdeps/x86_64/start.S (_start): Always indirect branch to
6017         __libc_start_main via GOT.
6019 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
6021         * sysdeps/x86_64/memcopy.h: New file.
6022         * sysdeps/x86_64/wordcopy.c: Likewise.
6024 2016-06-09  Florian Weimer  <fweimer@redhat.com>
6026         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
6027         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
6028         <cstdlib>.
6029         (optimization_barrier): New.
6030         (do_test): Use it.  Call quick_exit in the global namespace.
6031         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
6032         instead of <cstdlib>, <thread>.
6033         (optimization_barrier): New.
6034         (non_main_thread): Adjust declaration.  Call optimization_barrier.
6035         Call quick_exit in the global namespace.
6036         (do_test): Call optimization_barrier.  Use pthread_create,
6037         pthread_join instead of std::thread.
6039 2016-06-09  Andreas Schwab  <schwab@suse.de>
6041         [BZ #19755]
6042         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
6043         new entries in auto-propagate mode.
6044         * nscd/grpcache.c (cache_addgr): Likewise.
6046 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6048         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
6049         New functions.
6050         (add_temp_file): Use them.
6052 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
6054         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
6056 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
6058         [BZ #20229]
6059         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
6060         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
6061         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
6063         [BZ #20228]
6064         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
6065         itself.
6066         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6067         * math/libm-test.inc (log10_test_data): Add sNaN tests.
6069         [BZ #20227]
6070         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
6071         itself.
6072         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6073         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6074         * math/libm-test.inc (log_test_data): Add sNaN tests.
6076         [BZ #20226]
6077         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
6078         itself.
6079         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6080         * math/libm-test.inc (exp_test_data): Add sNaN tests.
6081         (exp10_test_data): Likewise.
6082         (expm1_test_data): Likewise.
6084         [BZ #20225]
6085         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
6086         itself.
6087         * math/s_ldexpf.c (__ldexpf): Likewise.
6088         * math/s_ldexpl.c (__ldexpl): Likewise.
6089         * math/w_scalbln.c (__w_scalbln): Likewise.
6090         * math/w_scalblnf.c (__w_scalblnf): Likewise.
6091         * math/w_scalblnl.c (__w_scalblnl): Likewise.
6092         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
6093         (scalbln_test_data): Likewise.
6095         [BZ #20224]
6096         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
6097         argument to itself.
6098         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
6100 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
6102         [BZ #19776]
6103         * sysdeps/x86_64/memcpy.S: Make it dummy.
6104         * sysdeps/x86_64/mempcpy.S: Likewise.
6105         * sysdeps/x86_64/memmove.S: New file.
6106         * sysdeps/x86_64/memmove_chk.S: Likewise.
6107         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
6108         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
6109         * sysdeps/x86_64/memmove.c: Removed.
6110         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
6111         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6112         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
6113         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
6114         Likewise.
6115         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6116         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6117         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6118         memcpy-sse2-unaligned, memmove-avx-unaligned,
6119         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
6120         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6121         (__libc_ifunc_impl_list): Replace
6122         __memmove_chk_avx512_unaligned_2 with
6123         __memmove_chk_avx512_unaligned.  Remove
6124         __memmove_chk_avx_unaligned_2.  Replace
6125         __memmove_chk_sse2_unaligned_2 with
6126         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
6127         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
6128         with __memmove_avx512_unaligned.  Replace
6129         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
6130         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
6131         with __memcpy_chk_avx512_unaligned.  Remove
6132         __memcpy_chk_avx_unaligned_2.  Replace
6133         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
6134         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
6135         Replace __memcpy_avx512_unaligned_2 with
6136         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
6137         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
6138         with __mempcpy_chk_avx512_unaligned.  Remove
6139         __mempcpy_chk_avx_unaligned_2.  Replace
6140         __mempcpy_chk_sse2_unaligned_2 with
6141         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
6142         Replace __mempcpy_avx512_unaligned_2 with
6143         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
6144         Replace __mempcpy_sse2_unaligned_2 with
6145         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
6146         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
6147         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
6148         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
6149         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
6150         (ENTRY): Removed.
6151         (END): Likewise.
6152         (ENTRY_CHK): Likewise.
6153         (libc_hidden_builtin_def): Likewise.
6154         Don't include ../memcpy.S.
6155         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
6156         __memcpy_chk_avx512_unaligned_erms and
6157         __memcpy_chk_avx512_unaligned.  Use
6158         __memcpy_chk_avx_unaligned_erms and
6159         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
6160         Default to __memcpy_chk_sse2_unaligned.
6161         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6162         Change function suffix from unaligned_2 to unaligned.
6163         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
6164         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
6165         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
6166         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
6167         (ENTRY): Removed.
6168         (END): Likewise.
6169         (ENTRY_CHK): Likewise.
6170         (libc_hidden_builtin_def): Likewise.
6171         Don't include ../mempcpy.S.
6172         (mempcpy): New.  Add a weak alias.
6173         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
6174         __mempcpy_chk_avx512_unaligned_erms and
6175         __mempcpy_chk_avx512_unaligned.  Use
6176         __mempcpy_chk_avx_unaligned_erms and
6177         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
6178         Default to __mempcpy_chk_sse2_unaligned.
6180 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
6182         [BZ #19881]
6183         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
6184         into ...
6185         * sysdeps/x86_64/memset.S: This.
6186         (__bzero): Removed.
6187         (__memset_tail): Likewise.
6188         (__memset_chk): Likewise.
6189         (memset): Likewise.
6190         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
6191         defined.
6192         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
6193         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
6194         (__memset_zero_constant_len_parameter): Check SHARED instead of
6195         PIC.
6196         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6197         memset-avx2 and memset-sse2-unaligned-erms.
6198         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6199         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
6200         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
6201         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6202         (__bzero): Enabled.
6203         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
6204         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
6205         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
6206         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
6207         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6208         (memset): Removed.
6209         (__memset_chk): Likewise.
6210         (MEMSET_SYMBOL): New.
6211         (libc_hidden_builtin_def): Replace __memset_sse2 with
6212         __memset_sse2_unaligned.
6213         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
6214         __memset_chk_sse2 and __memset_chk_avx2 with
6215         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
6216         Use __memset_chk_sse2_unaligned_erms or
6217         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
6218         __memset_chk_avx512_unaligned_erms and
6219         __memset_chk_avx512_unaligned.
6221 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6223         * math/gen-auto-libm-test.c (fp_format_desc): remove
6224         suffix member.
6225         (output_generic_value): Remove usage of suffix member,
6226         and the resulting unuse of the fp_format argument.
6227         (output_for_one_input_case): Remove unused fp_format
6228         parameter.
6230         * math/auto-libm-test-out: Regenerate.
6232         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
6233         usage with TEST_COND_ibm128.
6234         (TEST_COND_flt_32): Remove.
6235         (TEST_COND_dbl_64): Remove.
6236         (TEST_COND_ldbl_96_intel): Remove.
6237         (TEST_COND_ldbl_96_m68k): Remove.
6238         (TEST_COND_ldbl_128): Remove.
6240 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6242         * auto-libm-test-in:
6243         Replace flt-32 usage with binary32.
6244         Replace dbl-64 usage with binary64.
6245         Replace ldbl-intel-96 usage with intel96.
6246         Replace ldbl-m68k-96 usage with m68k96.
6247         Replace ldbl-128ibm usage with ibm128.
6248         Replace ldbl-128 usage with binary128.
6250         * auto-libm-test-out: Regenerate.
6252 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6254         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
6255         (parse_ulps): Dynamically generate type name matching
6256         string from all_floats.
6257         (get_ulps): Generate the ulps as an array instead.
6258         (output_ulps): Dynamically compose the type based
6259         on the number of supported formats, and print
6260         the indices as type specific helper macros.
6262         * math/libm-test.inc: Remove comment about CHOOSE.
6263         (ulp_data): Generate the type in libm-test-ulps.h.
6264         (ULP_IDX): New macro.
6265         (find_ulps): Update usage of max_ulp.
6267         * math/test-double-vlen2.h (CHOOSE): Remove.
6268         * math/test-double-vlen4.h (CHOOSE): Likewise.
6269         * math/test-double-vlen8.h (CHOOSE): Likewise.
6270         * math/test-float.c (CHOOSE): Likewise.
6271         * math/test-float-finite.c (CHOOSE): Likewise.
6272         * math/test-double.c (CHOOSE): Likewise.
6273         * math/test-double-finite.c (CHOOSE): Likewise.
6274         * math/test-idouble.c (CHOOSE): Likewise.
6275         * math/test-ifloat.c (CHOOSE): Likewise.
6276         * math/test-ildoubl.c (CHOOSE): Likewise.
6277         * math/test-ldouble-finite.c (CHOOSE): Likewise.
6278         * math/test-ldouble.c (CHOOSE): Likewise.
6280         * math/test-float.h (TEST_FLOAT): Remove.
6281         * math/test-double.h (TEST_DOUBLE): Likewise.
6282         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
6284 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6286         * math/gen-libm-test.pl: (apply_lit): New subroutine.
6287         (parse_args): Strip C suffix from floating point literals
6288         typed with 'f' and wrap them with LIT().
6290         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
6291         (test_ff_f_data_nexttoward): Rename to
6292         (test_fj_f_data): New struct.
6293         (nexttoward_test_data): Relabel tests as
6294         TEST_fj_f instead of TEST_ff_f.
6296 2016-06-08  Florian Weimer  <fweimer@redhat.com>
6298         Emacs bug 23726.
6299         * malloc/malloc.c (dumped_main_arena_start): Update comment.
6300         (__libc_realloc): Correct size computation for dumped fake mmapped
6301         chunks.
6303 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
6305         [BZ #20219]
6306         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
6307         to itself.
6308         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
6310         [BZ #20218]
6311         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
6312         to itself.
6313         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
6315 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
6317         [BZ #20195]
6318         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
6319         check to ...
6320         (init_cpu_features): Here.
6322 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
6324         [BZ #20214]
6325         * sysdeps/unix/sysv/linux/bits/in.h
6326         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
6327          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
6328         Define to 1.
6329         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
6330          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
6331         Define to 0.
6332         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
6333         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
6335 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
6337         [BZ #20198]
6338         * stdlib/Makefile (tests): Add tst-quick_exit, and
6339         tst-thread-quick_exit.
6340         [ifeq ($(have-cxx-thread_local),yes)]
6341         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
6342         (CFLAGS-tst-thread-quick_exit.o): Likewise.
6343         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
6344         (LDLIBS-tst-thread-quick_exit): Likewise.
6345         [ifneq ($(have-cxx-thread_local),yes)]
6346         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
6347         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
6348         If run_dtors is true call __call_tls_dtors.
6349         (exit): Call __run_exit_handlers with run_dtors set to true.
6350         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
6351         definition.
6352         * stdlib/quick_exit.c (quick_exit): Remove function.
6353         (__new_quick_exit): New function.
6354         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
6355         function.
6356         * stdlib/tst-quick_exit.cc: New file.
6357         * stdlib/tst-thread-quick_exit.cc: New file.
6358         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
6359         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
6360         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
6361         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
6362         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
6363         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
6364         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
6365         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
6366         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
6367         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
6368         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
6369         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
6370         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
6371         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
6372         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
6373         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
6374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
6375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
6376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
6377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
6378         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
6379         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
6380         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
6381         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
6382         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
6383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
6384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
6385         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
6386         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
6387         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
6389 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
6391         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
6392         a typo in comments.
6394 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
6396         [BZ #20213]
6397         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
6398         argument to itself.
6399         * math/libm-test.inc (asin_test_data): Add sNaN tests.
6401 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6403         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
6404         required flags.
6405         (CFLAGS-pwritev64.c): Likewise.
6406         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
6407         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6408         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
6409         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6410         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
6411         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
6412         syscall from auto-generation.
6413         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
6414         [WORDSIZE == 64] (pwritev64): Remove macro.
6415         [!PWRITEV] (PWRITEV): Likewise.
6416         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
6417         [!PWRITEV] (PWRITE): Likewise.
6418         [!PWRITEV] (OFF_T): Likewise.
6419         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
6420         (LO_HI_LONG): Remove macro.
6421         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
6422         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
6423         (PWRITEV): Remove macro.
6424         (PWRITEV_REPLACEMENTE): Likewise.
6425         (PWRITE): Likewise.
6426         (OFF_T): Likewise.
6427         (pwritev64): New function.
6428         * nptl/tst-cancel4.c (tf_writev): Add test.
6430         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
6431         required flags.
6432         (CFLAGS-preadv64.c): Likewise.
6433         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
6434         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6435         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
6436         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
6437         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
6438         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
6439         syscall from auto-generation.
6440         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
6441         [WORDSIZE == 64] (preadv64): Remove macro.
6442         [!PREADV] (PREADV): Likewise.
6443         [!PREADV] (PREADV_REPLACEMENT): Likewise.
6444         [!PREADV] (PREAD): Likewise.
6445         [!PREADV] (OFF_T): Likewise.
6446         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
6447         (LO_HI_LONG): Remove macro.
6448         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
6449         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
6450         (PREADV): Remove macro.
6451         (PREADV_REPLACEMENTE): Likewise.
6452         (PREAD): Likewise.
6453         (OFF_T): Likewise.
6454         (preadv64): New function.
6455         * nptl/tst-cancel4.c (tf_preadv): Add test.
6457 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
6459         [BZ #20212]
6460         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
6461         argument to itself.
6462         * math/libm-test.inc (acos_test_data): Add sNaN tests.
6464 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6466         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
6467         New symbol defined as libc_hidden_def.
6468         (strcasestr): Became a weak alias to __strcasestr.
6469         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
6470         according to multi-arch support.  Move __stpncpy hidden
6471         definition from here to...
6472         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
6473         symbol stpncpy.
6474         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
6475         libc_hidden_builtin_def.
6476         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
6477         memset symbol to use when multi-arch support is available.
6479 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6481         * dlfcn/tst-rec-dlopen.c: Include string.h.
6483 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6485         * manual/install.texi: Remove mention of --without-tls
6486         * INSTALL: Regenerate.
6488 2016-06-05  Florian Weimer  <fweimer@redhat.com>
6490         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
6491         Remove.
6492         (call_function, interposed_malloc_called): New variables.
6493         (malloc): New function.
6494         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
6495         and clear call_function as needed.
6497 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
6499         * include/wchar.h (__wmemset): Use __typeof.
6501 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
6503         * include/wchar.h (__wmemset): Declare function without typeof.
6505 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
6507         [BZ #20205]
6508         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
6509         exponent when incrementing negative subnormal with low mantissa
6510         word zero.
6511         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
6512         Add another test.
6514 2016-06-03  Florian Weimer  <fweimer@redhat.com>
6516         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
6517         __wmemset instead of wmemset.
6519 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
6521         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
6522         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
6523         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
6524         __USE_KERNEL_IPV6_DEFS to 0.
6525         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
6526         Update comment.
6528 2016-06-01  Florian Weimer  <fweimer@redhat.com>
6530         [BZ #19861]
6531         Do not use IFUNC resolver with potentially unrelocated symbol.
6532         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
6533         (DEFINE_FORK): Remove macro and inline definition.
6534         (fork_alias): Renamed from fork_ifunc.
6535         (__fork_alias): Renamed from __fork_ifunc.
6537 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
6539         [BZ 19653]
6540         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
6541         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
6543 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6545         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
6546         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
6547         i386-linux-gnu).
6548         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
6549         Set to no.
6550         * sysdeps/mach/hurd/configure: Refresh.
6552 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6554         [BZ #20178]
6555         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
6556         on failure instead of exit.
6558 2016-05-30  Roland McGrath  <roland@hack.frob.com>
6560         [BZ #3629]
6561         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
6562         of POSIX.1-2008.
6564 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6566         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
6567           Use PLT entry for calling _hurd_self_sigstate.
6569 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
6571         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
6572         available logical processors with SMT level type sharing L2
6573         cache for Intel processors.
6575 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6577         [BZ #20160]
6578         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
6579         argument to itself before returning the result.
6580         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
6581         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
6582         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
6583         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
6584         Likewise.
6585         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
6586         Likewise.
6587         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
6588         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
6589         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
6590         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
6591         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
6592         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
6594         [BZ #20160]
6595         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
6596         argument to itself before returning the result.
6597         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
6598         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
6599         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
6600         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
6601         Likewise.
6602         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6603         Likewise.
6604         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
6605         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
6606         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
6607         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
6608         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
6609         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
6611 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6613         * libm-test.inc: Replace usage of M_El with
6614         (lit_e): New macro.
6616 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6618         * libm-test.inc: Replace usage of M_PI_4l with
6619         (lit_pi_4_d): New macro.
6621 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6623         * libm-test.inc: Replace usage of M_PIl with
6624         (lit_pi): New macro.
6626 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6628         * libm-test.inc: Replace usage of M_PI2l with
6629         (lit_pi_2_d): New macro.
6631         * math/test-double.h (LITM): New macro.
6632         * math/test-float.h (LITM): Likewise.
6633         * math/test-ldouble.h (LITM): Likewise.
6635 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6637         * libm-test.inc (M_PI_34l): Rename to
6638         (lit_pi_3_m_4_d): New Macro.
6639         (M_PI_34_LOG10El): Rename to
6640         (lit_pi_3_m_4_ln10_m_d): New Macro.
6641         (M_PI2_LOG10El): Rename to
6642         (lit_pi_2_ln10_m_d):  New Macro.
6643         (M_PI4_LOG10El): Rename to
6644         (lit_pi_4_ln10_m_d):  New Macro.
6645         (M_PI_LOG10El): Rename to
6646         (lit_pi_ln10_d):  New Macro.
6648 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6650         [BZ #20157]
6651         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
6652         determine whether to negate low half if [_ARCH_PPCGR], and integer
6653         comparison otherwise.
6654         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
6655         determine whether to negate low half.
6657         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
6658         (NO_TEST_INLINE_DOUBLE): Likewise.
6659         (TEST_COND_x86_64): Likewise.
6660         (TEST_COND_x86): Likewise.
6661         (M_PI_6l): Likewise.
6663 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6665         * math/libm-test.inc:
6666         (TEST_FLOAT): Change usage to TEST_COND_binary32.
6667         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
6668         (TEST_LDOUBLE): Update usage to evaluate as true if
6669         the guarded tests match the property being tested.
6670         (LDBL_MAX_EXP): Change to MAX_EXP.
6671         (LDBL_MIN_EXP): Change to MIN_EXP.
6672         (LDBL_MANT_DIG): Change to MANT_DIG, except for
6673         nexttoward tests.
6675 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6677         * math/libm-test.inc:
6678         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
6679         (TYPE_MIN): Likewise.
6680         (TYPE_TRUE_MIN): Likewise.
6681         (TYPE_MAX): Likewise.
6682         (MIN_EXP): Likewise.
6683         (MAX_EXP): Likewise.
6684         (MANT_DIG): Likewise.
6686         (FSTR_MAX): New macro.
6687         (__CONCATX): Likewise.
6688         (QTYPE_STR): Likewise.
6689         (TEST_COND_binary32): Likewise.
6690         (TEST_COND_binary64): Likewise.
6691         (TEST_COND_binary128): Likewise.
6692         (TEST_COND_ibm128): Likewise.
6693         (TEST_COND_intel96): Likewise.
6694         (TEST_COND_m68k96): Likewise.
6696         (TEST_COND_flt_32): Redefine as equivalent format test macro.
6697         (TEST_COND_dbl_64): Likewise.
6698         (TEST_COND_ldbl_96_intel): Likewise.
6699         (TEST_COND_ldbl_96_m68k): Likewise.
6700         (TEST_COND_ldbl_128): Likewise.
6701         (TEST_COND_ldbl_128ibm): Likewise.
6703         (plus_zero): Redefine using LIT macro.
6704         (minus_zero): Likewise.
6705         (plus_infty): Redefine as (INF).
6706         (minux_infty): Redefine as (-INF).
6707         (max_value): Redefine as TYPE_MAX.
6708         (min_value): Redefine as TYPE_MIN.
6709         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
6711         (print_float): Refactor to use snprintf to convert FLOAT values
6712         to string. This brings it closer to dropin replacement of strtof
6713         for the TS 18661 defined types.
6714         (update_stats): Likewise.
6715         (print_complex_function_ulps): Likewise.
6716         (print_max_error): Likewise.
6717         (print_complex_max_error): Likewise.
6718         (check_float_internal): Likewise.
6720         * math/test-float.h (PREFIX): New macro.
6721         (LIT): Likewise.
6722         (TYPE_STR): Likewise.
6723         (FTOSTR): Likewise.
6725         * math/test-double.h (PREFIX): New macro.
6726         (LIT): Likewise.
6727         (TYPE_STR): Likewise.
6728         (FTOSTR): Likewise.
6730         * math/test-ldouble.h (PREFIX): New macro.
6731         (LIT): Likewise.
6732         (TYPE_STR): Likewise.
6733         (FTOSTR): Likewise.
6735 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6737         [BZ #20156]
6738         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
6739         to itself when zero or not finite.
6740         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
6741         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
6742         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
6743         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6745 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
6747         [BZ #20153]
6748         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
6749         x * x + x for infinities and NaNs.
6751         [BZ #20151]
6752         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
6753         argument to itself before returning result.
6754         (__ieee754_y0l): Likewise.
6755         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6756         (__ieee754_y1l).
6758         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
6759         (atan_test_data): Likewise.
6760         (ceil_test_data): Likewise.
6761         (cos_test_data): Likewise.
6762         (cosh_test_data): Likewise.
6763         (erf_test_data): Likewise.
6764         (exp2_test_data): Likewise.
6765         (fabs_test_data): Likewise.
6766         (floor_test_data): Likewise.
6767         (ilogb_test_data): Likewise.
6768         (j0_test_data): Likewise.
6769         (j1_test_data): Likewise.
6770         (jn_test_data): Likewise.
6771         (lgamma_test_data): Likewise.
6772         (lrint_test_data): Likewise.
6773         (llrint_test_data): Likewise.
6774         (logb_test_data): Likewise.
6775         (lround_test_data): Likewise.
6776         (llround_test_data): Likewise.
6777         (nearbyint_test_data): Likewise.
6778         (rint_test_data): Likewise.
6779         (round_test_data): Likewise.
6780         (sin_test_data): Likewise.
6781         (sincos_test_data): Likewise.
6782         (sinh_test_data): Likewise.
6783         (sqrt_test_data): Likewise.
6784         (tan_test_data): Likewise.
6785         (tanh_test_data): Likewise.
6786         (tgamma_test_data): Likewise.
6787         (trunc_test_data): Likewise.
6788         (y0_test_data): Likewise.
6789         (y1_test_data): Likewise.
6790         (yn_test_data): Likewise.
6792         * math/libm-test.inc: Update comment about NaN testing.
6793         (TEST_SNAN): New macro.
6794         (snan_value): Likewise.
6795         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
6796         (fpclassify_test_data): Add sNaN tests.
6797         (isfinite_test_data): Likewise.
6798         (isinf_test_data): Likewise.
6799         (isnan_test_data): Likewise.
6800         (isnormal_test_data): Likewise.
6801         (issignaling_test_data): Likewise.
6802         (signbit_test_data): Likewise.
6803         * math/gen-libm-test.pl (%beautify): Add snan_value.
6804         (show_exceptions): Add argument $test_snan.
6805         (parse_args): Handle snan_value as non-finite.  Update call to
6806         show_exceptions.
6807         * math/Makefile (libm-test-no-inline-cflags): Add
6808         -fsignaling-nans.
6810 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6812         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
6813         (CFLAGS-oldsendmsg.c): Add rule.
6814         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
6815         Correct recvmsg symbol name.
6816         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
6817         Likewise.
6819 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6821         * sysdeps/unix/sysv/linux/Makefile
6822         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
6823         oldsendmmsg.
6824         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
6825         sendmmsg.
6826         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6827         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6828         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6829         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6831         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6832         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6834         Likewise.
6835         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6836         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
6837         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
6838         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
6839         iovlen and controllen fields to adjust to POSIX specification.
6840         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6842         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
6843         and change to correct expected type.
6844         (msghdr.msg_controllen): Likewise.
6845         (cmsghdr.cmsg_len): Likewise.
6846         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
6847         expected POSIX assumption about the size.
6848         (msghdr.msg_controllen): Likewise.
6849         (msghdr.__glibc_reserved1): Likewise.
6850         (msghdr.__glibc_reserved2): Likewise.
6851         (cmsghdr.cmsg_len): Likewise.
6852         (cmsghdr.__glibc_reserved1): Likewise.
6853         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
6854         Add ptw-oldrecvmsg and ptw-oldsendmsg.
6855         (CFLAGS-sendmsg.c): Remove rule.
6856         (CFLAGS-recvmsg.c): Likewise.
6857         (CFLAGS-oldsendmsg.c): Add rule.
6858         (CFLAGS-oldrecvmsg.c): Likewise.
6859         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
6860         recvmsg and sendmsg.
6861         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
6862         Likewise.
6863         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
6864         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
6865         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
6866         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
6867         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
6868         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
6869         Likewise.
6870         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
6871         Likewise.
6872         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
6873         Likewise.
6874         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
6875         Likewise.
6876         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
6877         Likewise.
6878         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
6879         Likewise.
6880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
6881         (GLIBC_2.24): Likewise.
6882         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
6883         Likewise.
6884         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
6885         Likewise.
6886         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
6887         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
6888         Likewise.
6889         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
6890         Likewise.
6891         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
6892         Likewise.
6893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
6894         (GLIBC_2.24): Likewise.
6895         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
6896         Likewise.
6897         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
6898         Likewise.
6899         * sysdeps/unix/sysv/linux/Makefile
6900         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
6901         (CFLAGS-sendmsg.c): Add rule.
6902         (CFLAGS-recvmsg.c): Likewise.
6903         (CFLAGS-oldsendmsg.c): Likewise.
6904         (CFLAGS-oldrecvmsg.c): Likewise.
6905         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
6906         initialization.
6907         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
6908         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
6909         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
6910         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
6911         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
6912         iovlen and controllen fields to adjust to POSIX specification.
6913         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
6914         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
6915         added recvmsg and sendmsg.
6916         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6917         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6918         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6919         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6920         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6921         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6922         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6923         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6924         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6925         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6926         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6927         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
6928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6929         Likewise.
6930         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
6931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6932         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6933         Likewise.
6934         Likewise.
6935         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6936         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6937         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6938         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6939         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6940         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6942         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6944         Likewise.
6945         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6946         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6948         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
6949         from auto-generation.
6950         (sendmsg): Likewise.
6951         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
6952         (sendmsg): Likewise.
6953         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
6954         (sendmsg): Likewise.
6955         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
6956         (sendmsg): Likewise.
6957         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
6958         (sendmsg): Likewise.
6959         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
6960         (sendmsg): Likewise.
6961         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
6962         Likewise.
6963         (sendmsg): Likewise.
6964         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
6965         (sendmsg): Likewise.
6966         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6967         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6968         Remove.
6969         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6970         Likewise.
6971         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6972         Undefine.
6973         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6974         Likewise.
6975         * sysdeps/unix/sysv/linux/kernel-features.h
6976         (__ASSUME_SENDMSG_SYSCALL): Define.
6977         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6978         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6979         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6980         Remove.
6981         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6982         Likewise.
6983         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6984         Undefine.
6985         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6986         Likewise.
6987         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6988         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6989         Remove.
6990         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6991         Likewise.
6992         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6993         Undefine.
6994         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6995         Likewise.
6996         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6997         (__ASSUME_SENDMSG_SYSCALL): Undefine.
6998         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6999         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7000         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7001         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7002         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7003         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7004         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7006 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7008         * stdlib/gen-tst-strtod-round.c: Add backslash to
7009         compile command in comment.
7010         (printfp): Remove the literal suffix, and define an infinite
7011         value as INF to avoid expansion clash with INFINITY.
7012         (round_str): Remove the literal suffix.
7013         (round_for_all): Likewise, remove the now duplicate ldbl-64
7014         entry, and remove some magic constants.
7016         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
7017         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
7018         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
7019         (_CONCAT): New macro.
7020         (CONCAT): Likewise.
7021         (CHOOSE_ld): Likewise.
7022         (CHOOSE_f): Likewise.
7023         (CHOOSE_d): Likewise.
7024         (FTYPE_MEMBER): Likewise.
7025         (BOOL_MEMBER): Likewise.
7026         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
7027         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
7028         (_XNTRY): Likewise.
7029         (XNTRY): Likewise.
7030         (_ENTRY): Likewise.
7031         (ENTRY): Likewise.
7032         (test_exactness): Generate members via macro.
7033         (test_results): Likewise.
7034         (test): Update members.
7035         (TEST): Redefine using new macros.
7036         (INF): New macro.
7037         (fetestmodes): New structure.
7038         (do_test): Refactor to be type generic.
7039         (test_in_one_mode): Refactor duplicate code into
7040         (GEN_ONE_TEST): New macro.
7042         * stdlib/tst-strtod-round-data.h: Regenerate.
7044         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
7045         Extend to pass additional arbitrary parameters to
7046         generators.
7048 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
7050         [BZ #15479]
7051         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
7052         floating-point state after first floating-point operation on
7053         input.  Restore full floating-point state instead of just rounding
7054         mode.
7055         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
7056         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
7057         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
7058         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
7059         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
7061         [BZ #15479]
7062         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
7063         floating-point state after first floating-point operation on
7064         input.  Restore full floating-point state instead of just rounding
7065         mode.
7066         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
7067         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
7068         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
7069         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
7070         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
7072 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7074         [BZ #19727]
7075         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
7076         valid high surrogate.
7077         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
7078         of an utf16 surrogate.
7079         * iconv/gconv_simple.c (BODY): Likewise.
7080         * iconvdata/bug-iconv12.c: New file.
7081         * iconvdata/Makefile (tests): Add bug-iconv12.
7083 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7085         [BZ #19726]
7086         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
7087         outptrp in case of an illegal input.
7088         * iconv/tst-iconv6.c: New file.
7089         * iconv/Makefile (tests): Add tst-iconv6.
7091 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7093         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
7094         an error in case of a value in range of an utf16 low surrogate.
7096 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7098         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
7099         an error in case of a value in range of an utf16 low surrogate.
7101 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7103         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
7104         Move to ...
7105         * sysdeps/s390/Makefile: ... here.
7106         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
7107         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
7108         (BRANCH_ON_COUNT): New define.
7109         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
7110         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
7111         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
7112         run on s390-32, too.
7113         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
7114         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
7115         run on s390-32, too.
7116         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
7117         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
7118         run on s390-32, too.
7120 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7122         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
7123         etf3eh or new vector loop-variant.
7125 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7127         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
7128         etf3eh or new vector loop-variant.
7130 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7132         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
7133         or new vector loop-variant.
7135 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7137         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
7138         Rename to TR_LOOP and usage of tr instead of troo instruction.
7140 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7142         * sysdeps/s390/multiarch/gconv_simple.c: New File.
7143         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
7145 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7147         * sysdeps/s390/multiarch/8bit-generic.c: New File.
7148         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
7149         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
7150         New override define.
7151         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
7153 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7155         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
7156         * sysdeps/s390/configure.ac: Add test for S390 vector register
7157         support in gcc.
7158         * sysdeps/s390/configure: Regenerated.
7160 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7162         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
7163         Install file from $(objpfx)gconv-modules.
7164         ($(objpfx)gconv-modules): Concatenate architecture specific file
7165         in variable sysdeps-gconv-modules and gconv-modules in src dir.
7166         * sysdeps/s390/gconv-modules: New file.
7167         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
7168         Deleted.
7169         ($(objpfx)gconv-modules-s390): Deleted.
7170         (sysdeps-gconv-modules): New variable.
7172 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
7174         [BZ #15479]
7175         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
7176         of immediate operand to rounding instruction.
7177         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
7178         Likewise.
7179         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
7180         Likewise.
7181         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
7182         Likewise.
7184 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7186         * math/libm-test.inc (MIN_EXP): Directly define as
7187         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
7189 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7191         * math/libm-test.inc (MANT_DIG): Directly define as
7192         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
7194 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7196         * stdlib/gen-tst-strtod-round.c (main):
7197           Change usage to more closely match the generated
7198           output.  Add usage and compilation instructions.
7199           (string_to_fp): Add and use FILE* parameter as
7200           output target.
7201           (print_fp): Likewise.
7202           (round_str): Likewise.
7203           (round_for_all): Likewise.
7204         * stdlib/tst-strtod-round.c (tests): Move into
7205         * stdlib/tst-strtod-round-data.h: New file.
7207 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
7209         [BZ #15479]
7210         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
7211         (__round): Do not force "inexact" exception.
7212         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
7213         variable.
7214         (__round): Do not force "inexact" exception.
7215         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
7216         (__roundf): Do not force "inexact" exception.
7217         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
7218         (__roundl): Do not force "inexact" exception.
7219         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
7220         (__roundl): Do not force "inexact" exception.
7221         * math/libm-test.inc (round_test_data): Do not allow spurious
7222         "inexact" exceptions.
7224         [BZ #15479]
7225         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
7226         exception in comment.
7227         (huge): Remove variable.
7228         (__floor): Do not force "inexact" exception.
7229         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
7230         "inexact" exception in comment.
7231         (huge): Remove variable.
7232         (__floor): Do not force "inexact" exception.
7233         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
7234         exception in comment.
7235         (huge): Remove variable.
7236         (__floorf): Do not force "inexact" exception.
7237         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
7238         exception in comment.
7239         (huge): Remove variable.
7240         (__floorl): Do not force "inexact" exception.
7242         [BZ #15479]
7243         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
7244         exception in comment.
7245         (huge): Remove variable.
7246         (__ceil): Do not force "inexact" exception.
7247         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
7248         "inexact" exception in comment.
7249         (huge): Remove variable.
7250         (__ceil): Do not force "inexact" exception.
7251         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
7252         (__ceilf): Do not force "inexact" exception.
7253         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
7254         exception in comment.
7255         (huge): Remove variable.
7256         (__ceill): Do not force "inexact" exception.
7258 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
7260         * config.h.in (BIND_NOW): New.
7261         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
7262         * configure: Regenerated.
7263         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
7264         indirect branch via the GOT slot.
7266 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7268         [BZ #19765]
7269         * sysdeps/s390/mempcpy.S: New File.
7270         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
7271         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
7272         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7273         Add mempcpy variants.
7274         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
7275         (memcpy): Adjust to be usable from mempcpy entry point.
7276         (__memcpy_mvcle): Likewise.
7277         * sysdeps/s390/s390-64/memcpy.S: Likewise.
7278         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
7279         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
7280         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
7281         (__memcpy_z10): Likewise.
7282         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
7284 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7286         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
7287         Remove __GI_ symbol.
7288         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
7289         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
7290         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
7291         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
7292         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
7293         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
7295 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7297         * sysdeps/s390/s390-64/memcpy.S (memcpy):
7298         Use cghi instead of chi to compare 64bit value.
7300 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7302         * sysdeps/s390/s390-32/memcpy.S (memcpy):
7303         Jump to 1MB check before executing mvc-loop.
7305 2016-05-24  Florian Weimer  <fweimer@redhat.com>
7307         [BZ #6527]
7308         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
7309         unconditionally.
7310         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
7312 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7314         * stdlib/tst-strtod6.c (do_test): Use new type generic
7315         invocation of the test function.
7316         (test): Refactor into ...
7317         (TEST_STRTOD): New macro base function.
7319 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7321         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
7322         (TEST_STRTOD): New macro.
7323         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
7325 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7327         * stdlib/tst-strtod6.c (do_test): Use new type generic
7328         invocation of the test function.
7329         (test): Refactor into ...
7330         (TEST_STRTOD): New macro base function.
7332 2016-05-23  Florian Weimer  <fweimer@redhat.com>
7334         CVE-2016-4429
7335         [BZ #20112]
7336         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
7337         payload.
7339 2016-05-23  Florian Weimer  <fweimer@redhat.com>
7341         [BZ #20111]
7342         * bits/sockaddr.h (_SS_SIZE): Define.
7343         * bits/socket.h (_SS_SIZE): Remove.
7344         (_SS_PADSIZE): Adjust to account for all padding.
7345         (struct sockaddr_storage): Update comment.  Avoid implicit
7346         padding.
7347         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
7348         (_SS_PADSIZE): Adjust to account for all padding.
7349         (struct sockaddr_storage): Update comment.  Avoid implicit
7350         padding.
7351         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
7352         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
7353         (_SS_PADSIZE): Adjust to account for all padding.
7354         (struct sockaddr_storage): Update comment.  Avoid implicit
7355         padding.
7356         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
7357         __SS_SIZE is 126 in this version.
7358         * inet/tst-sockaddr.c: New file.
7359         * inet/Makefile (tests): Add tst-sockaddr.c
7360         (tst-sockaddr.c): Compile with non-strict aliasing.
7362 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
7364         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
7365         [XPG3 || XPG4].
7366         (NL_ARGMAX): Also expect for [XPG3].
7367         (NL_LANGMAX): Likewise.
7368         (NL_MSGMAX): Likewise.
7369         (NL_NMAX): Likewise.
7370         (NL_SETMAX): Likewise.
7371         (NL_TEXTMAX): Likewise.
7372         (NZERO): Likewise.
7373         (TMP_MAX): Likewise.
7374         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
7375         variable.
7377         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
7378         (PF_MAX): Update value.
7379         (AF_KCM): New macro.
7380         (SOL_NETBEUI): Likewise.
7381         (SOL_LLC): Likewise.
7382         (SOL_DCCP): Likewise.
7383         (SOL_NETLINK): Likewise.
7384         (SOL_TIPC): Likewise.
7385         (SOL_RXRPC): Likewise.
7386         (SOL_PPPOL2TP): Likewise.
7387         (SOL_BLUETOOTH): Likewise.
7388         (SOL_PNPIPE): Likewise.
7389         (SOL_RDS): Likewise.
7390         (SOL_IUCV): Likewise.
7391         (SOL_CAIF): Likewise.
7392         (SOL_ALG): Likewise.
7393         (SOL_NFC): Likewise.
7394         (SOL_KCM): Likewise.
7395         (MSG_BATCH): New enum value and macro.
7397 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
7399         [BZ #18185]
7400         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
7401         sharing L2 cache to 2 for Knights Landing.
7403 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
7405         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
7406         (FTW_DP): Do not expect for [XPG3 || XPG4].
7407         (FTW_SL): Do not expect for [XPG3].
7408         (FTW_SLN): Likewise.
7409         (FTW_PHYS): Likewise.
7410         (FTW_MOUNT): Likewise.
7411         (FTW_DEPTH): Likewise.
7412         (FTW_CHDIR): Likewise.
7413         (nftw): Likewise.
7414         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
7415         variable.
7417 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
7419         * manual/errno.texi: Fix various typos & grammar errors.
7421 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
7423         * manual/intro.texi: Fix duplicated typo.
7425 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
7427         [BZ #13304]
7428         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
7429         <float.h>, <math_private.h> and <stdlib.h>.
7430         (add_split): New function.
7431         (mul_split): Likewise.
7432         (ext_val): New typedef.
7433         (store_ext_val): New function.
7434         (mul_ext_val): New function.
7435         (compare): New function.
7436         (add_split_ext): New function.
7437         (__fmal): After checking for Inf, NaN and zero, compute result as
7438         an exact sum of scaled double values in round-to-nearest before
7439         adding those up and adjusting for other rounding modes.
7440         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
7441         tests of fma.
7442         * math/auto-libm-test-out: Regenerated.
7444 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
7446         [BZ #20119]
7447         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
7448         processor level type mask for CPUID with EAX == 11.
7450 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
7452         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
7453         logical threads if the HTT bit is 0.
7454         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
7455         (index_cpu_HTT): Likewise.
7456         (reg_HTT): Likewise.
7458 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
7460         [BZ #20115]
7461         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
7462         Remove alignments on jump targets.
7464 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
7466         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
7467         (getpwent): Likewise.
7468         (setpwent): Likewise.
7469         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
7470         variable.
7472         * conform/data/search.h-data (insque): Do not expect for [XPG3].
7473         (remque): Likewise.
7474         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
7475         variable.
7477 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
7479         * math/libm-test.inc: Update comment not to refer to signs of NaNs
7480         not being tested.
7482 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7484         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7485         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
7486         call.
7487         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7488         (__condvar_cleanup1): Likewise.
7490 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7492         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
7493         New
7494         (__pthread_unwind): Renamed to ...
7495         (PTHREAD_UNWIND): This.
7496         (__pthread_enable_asynccancel): Replace
7497         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
7499 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
7501         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
7502         (CLONE_NEWCGROUP): New macro.
7504         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
7505         (Q_GETNEXTQUOTA): New macro.
7507 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7509         [BZ #19907]
7510         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
7511         buffer updated by the previous run.
7512         * string/test-memcpy.c (do_one_test): Likewise.
7513         * benchtests/bench-memmove.c (do_one_test): Add a comment.
7514         * string/test-memmove.c (do_one_test): Likewise.
7516 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
7518         [BZ #20094]
7519         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
7520         not [__USE_XOPEN].
7521         (unlockpt): Likewise.
7522         (ptsname): Likewise.
7523         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
7524         variable.
7526         [BZ #20076]
7527         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
7528         instead of [__USE_UNIX98].
7529         (S_ISSOCK): Likewise.
7530         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
7531         variable.
7533         [BZ #20074]
7534         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
7535         [__USE_POSIX].
7536         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
7537         variable.
7539         [BZ #20051]
7540         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
7541         (ttyslot): Do not declare.
7542         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
7543         (ttyslot): New prototype.
7544         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
7545         variable.
7546         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7548 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7550         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
7552 2016-05-13  Florian Weimer  <fweimer@redhat.com>
7554         Fix race condition in tst-mallocfork2, use fewer resources.
7555         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
7556         to current process group.
7557         (signal_sender): Yield in the non-sleeping case.
7559 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
7561         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
7562         (ecvt): Likewise.
7563         (fcvt): Likewise.
7564         (gcvt): Likewise.
7565         (getsubopt): Likewise.
7566         (grantpt): Likewise.
7567         (initstate): Likewise.
7568         (l64a): Likewise.
7569         (mktemp): Likewise.
7570         (mkstemp): Likewise.
7571         (ptsname): Likewise.
7572         (random): Likewise.
7573         (realpath): Likewise.
7574         (setstate): Likewise.
7575         (srandom): Likewise.
7576         (ttyslot): Likewise.
7577         (unlockpt): Likewise.
7578         (valloc): Likewise.
7580         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
7581         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
7582         variable.
7584 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
7586         [BZ #20072]
7587         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
7588         init_cpu_features only if SHARED is defined.
7589         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
7591 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
7593         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
7594         non-inclusive caches on Intel processors.
7596 2016-05-13  Florian Weimer  <fweimer@redhat.com>
7598         * malloc/malloc.c (dumped_main_arena_start)
7599         (dumped_main_arena_end): New variables.
7600         (DUMPED_MAIN_ARENA_CHUNK): New macro.
7601         (do_check_chunk): Skip dumped fake mmapped chunks.
7602         (munmap_chunk): Likewise.
7603         (__libc_free): Do not adjust statistics for fake mmapped chunks.
7604         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
7605         mmapped chunks.
7606         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
7607         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
7608         and dumped_main_arena_end to cover the dumped heap.
7610 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
7612         * conform/data/time.h-data (getdate_err): Do not expect for
7613         [XPG3].
7614         (getdate): Likewise.
7615         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
7616         variable.
7618         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
7619         (F_ULOCK): Likewise.
7620         (F_TEST): Likewise.
7621         (F_TLOCK): Likewise.
7622         (useconds_t): Likewise.
7623         (intptr_t): Do not expect for [XPG3] or [XPG4].
7624         (brk): Do not expect for [XPG3]
7625         (fchown): Likewise.
7626         (fchdir): Likewise.
7627         (ftruncate): Likewise.
7628         (getdtablesize): Likewise.
7629         (gethostid): Likewise.
7630         (getpagesize): Likewise.
7631         (getpgid): Likewise.
7632         (getsid): Likewise.
7633         (getwd): Likewise.
7634         (lchown): Likewise.
7635         (lockf): Likewise.
7636         (readlink): Likewise.
7637         (sbrk): Likewise.
7638         (setpgrp): Likewise.
7639         (setregid): Likewise.
7640         (setreuid): Likewise.
7641         (symlink): Likewise.
7642         (sync): Likewise.
7643         (truncate): Likewise.
7644         (ualarm): Likewise.
7645         (usleep): Likewise.
7646         (vfork): Likewise.
7647         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
7648         variable.
7650         [BZ #20054]
7651         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
7652         not [__USE_UNIX98].
7653         * conform/data/unistd.h-data (gethostname): Do not expect for
7654         [XPG3].
7656         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
7657         [!POSIX] (S_IFBLK): Likewise.
7658         [!POSIX] (S_IFCHR): Likewise.
7659         [!POSIX] (S_IFIFO): Likewise.
7660         [!POSIX] (S_IFREG): Likewise.
7661         [!POSIX] (S_IFDIR): Likewise.
7662         [!POSIX] (S_IFLNK): Likewise.
7663         [!POSIX] (S_IFSOCK): Likewise.
7664         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
7665         variable.
7666         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7668 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
7670         * sysdeps/aarch64/memset.S (__memset):
7671         Rewrite of optimized memset.
7673 2016-05-12  Florian Weimer  <fweimer@redhat.com>
7675         [BZ #19703]
7676         Partially async-signal-safe fork for single-threaded processes.
7677         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
7678         variable.  Do not acquire and reset/release malloc and libio locks
7679         in single-threaded processes.
7680         * malloc/tst-mallocfork2.c: New file.
7681         * malloc/Makefile (tests): Add it.
7683 2016-05-12  Florian Weimer  <fweimer@redhat.com>
7685         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
7686         argument.  Use scratch buffer instead of extend_alloca.
7687         (gethosts): Use scratch buffer instead of extend_alloca.
7688         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
7689         extend_alloca.
7690         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
7692 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
7694         [BZ #20055]
7695         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
7696         instead of [__USE_UNIX98].
7697         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
7698         [__USE_UNIX98].
7699         * conform/data/termios.h-data (tcgetsid): Do not expect for
7700         [XPG3].
7701         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
7702         variable.
7703         (test-xfail-XPG4/termios.h/conform): Likewise.
7705 2016-05-11  Florian Weimer  <fweimer@redhat.com>
7707         Do not use mcheck in localedef.
7708         * locale/programs/localedef.c (turn_on_mcheck)
7709         (__malloc_initialize_hook): Remove.
7711 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7713         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
7714         * sysdeps/s390/s390-64/Makefile: Likewise.
7716 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
7718         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
7719         Remove ifunc-defines.sym.
7720         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
7721         Likewise.
7722         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
7723         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
7724         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
7725         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
7726         rtld-global-offsets.sym.
7727         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
7728         * sysdeps/x86/cpu-features-offsets.sym: This.
7729         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
7730         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
7732 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
7734         [BZ #20073]
7735         * io/sys/stat.h (fchmod): Declare for
7736         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
7737         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
7738         variable.
7740         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
7741         [XPG3] (S_IFSOCK): Likewise.
7742         [XPG3] (S_ISVTX): Likewise.
7743         [XPG3] (S_ISLNK): Likewise.
7744         [XPG3] (S_ISSOCK): Likewise.
7745         [XPG3] (fchmod): Likewise.
7746         [XPG3] (lstat): Likewise.
7747         [XPG3] (mknod): Likewise.
7749         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
7750         [XPG3].  Expect type long and XFAIL for [XPG4].
7751         (st_blocks): Likewise.
7753         [BZ #20044]
7754         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
7755         (pthread_atfork): New prototype.
7756         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
7757         variable.
7759         [BZ #20043]
7760         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
7761         prototype.
7763 2016-05-10  Florian Weimer  <fweimer@redhat.com>
7765         [BZ #20017]
7766         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
7767         gmtime.
7769 2016-05-10  Florian Weimer  <fweimer@redhat.com>
7771         [BZ #19994]
7772         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
7773         flag in _res.options.
7775 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
7777         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
7778         [XPG3 || XPG4].
7779         (blksize_t): Likewise.
7780         (clockid_t): Likewise.
7781         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
7782         variable.
7783         (test-xfail-XPG4/sys/types.h/conform): Likewise.
7785 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7787         * sysdeps/unix/sysv/linux/s390/init-first.c:
7788         Add VDSO_SYMBOL(getcpu).
7789         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
7790         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
7791         Add VDSO_SYMBOL(getcpu).
7792         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
7793         New define HAVE_GETCPU_VSYSCALL.
7794         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7796 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
7798         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
7799         instead of <sysdeps/x86_64/cacheinfo.c>.
7800         * sysdeps/x86_64/cacheinfo.c: Moved to ...
7801         * sysdeps/x86/cacheinfo.c: Here.
7803 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7805         * malloc/malloc-internal.h: Adjust header file guard.
7807 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7809         [BZ #19787]
7810         * inet/getnameinfo.c (check_sprintf_result): New function.
7811         (CHECKED_SNPRINTF): New macro.
7812         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
7813         to the host buffer.
7814         (gni_host_local): Use checked_copy to copy the host name.
7815         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
7816         (gni_serv_local): Use checked_copy to copy the service name.
7817         (getnameinfo): Remove unnecessary truncation of result buffers.
7819 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7821         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
7822         in case of inet_ntop failure.
7824 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7826         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
7827         avoid long lines.
7828         (gni_host_inet_numeric): Likewise.  Reduce scope of local
7829         variables.
7830         (gni_host_inet, gni_host_local): Add comment.
7831         (gni_host): Add comment.  Use temporary to avoid long lines.
7833 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7835         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
7836         registers specifiers where general purpose registers specifiers should
7837         have been used.
7839 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7841         [BZ #19779]
7842         CVE-2016-1234
7843         Avoid copying names of directory entries.
7844         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
7845         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
7846         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
7847         (struct readdir_result): New type.
7848         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
7849         (GL_READDIR): New macros.
7850         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
7851         (convert_dirent, convert_dirent64): New functions.
7852         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
7853         convert_dirent64.  Adjust references to the readdir result.
7854         * sysdeps/unix/sysv/linux/i386/glob64.c:
7855         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
7856         * posix/bug-glob2.c (LONG_NAME): Define.
7857         (filesystem): Add LONG_NAME.
7858         (my_DIR): Increase the size of room_for_dirent.
7860 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
7862         [BZ #20041]
7863         * misc/sys/select.h (__need_timespec): Only define if
7864         [__USE_XOPEN2K].
7865         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
7866         variable.
7867         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7868         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7869         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7871 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7872             Segher Boessenkool  <segher@gcc.gnu.org>
7874         [BZ #20004]
7875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
7876         (__novec_swapcontext): Add missing load.
7878 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
7880         [BZ #20023]
7881         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
7882         <time.h>.
7883         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
7884         variable.
7885         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7887 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
7890         flags CLONE_VM compare.
7892 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7894         [BZ #20031]
7895         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
7896         completely empty.
7898 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7900         [BZ #19573]
7901         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
7902         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
7903         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
7904         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
7905         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
7906         (hesiod_free_list): Mark as hidden.
7907         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
7908         res_set, res_get.
7909         * hesiod/hesiod.c: Remove unnecessary forward declarations.
7910         (init, __hesiod_res_get, __hesiod_res_set): Remove.
7911         (hesiod_init): Remove obsolete res_ninit call.
7912         (hesiod_end): Do not free resolver state.  Do not invoke callback.
7913         (hesiod_bind): Do not call init.
7914         (get_txt_records): Use res_mkquery, res_send instead of
7915         res_nmkquery, res_nsend.
7916         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
7917         instead of _nss_hesiod_init.
7918         (_nss_hesiod_initgroups_dyn): Likewise.
7919         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
7920         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
7921         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
7923 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7925         * hesiod/hesiod_p.h (DEF_RHS): Remove.
7926         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
7928 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7930         * hesiod/hesiod.h: Remove RCS keyword.
7931         * hesiod/hesiod_p.h: Likewise.
7933         * hesiod/hesiod.c: Likewise.
7935 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
7937         [BZ #12450]
7938         * locale/iso-639.def: Add Samogitian/sgs.
7940 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
7942         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
7944         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
7946 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
7947             Carlos O'Donell  <carlos@redhat.com>
7949         [BZ #19072]
7950         * grp/Makefile (headers): Add grp-merge.h
7951         (routines): Add grp-merge.
7952         * grp/getgrgid_r.c: Include grp-merge.h.
7953         (DEEPCOPY_FN): Define.
7954         (MERGE_FN): Define.
7955         * grp/getgrname_r.c: Include grp-merge.h.
7956         (DEEPCOPY_FN): Define.
7957         (MERGE_FN): Define.
7958         * grp/grp-merge.c: New file.
7959         * grp/grp-merge.h: New file.
7960         * include/grp-merge.h: New file.
7961         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
7962         __copy_grp@GLIBC_PRIVATE.
7963         * manual/nss.texi (Actions in the NSS configuration): Describe
7964         return, continue, and merge.
7965         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
7966         (DEEPCOPY_FN): Define.
7967         (MERGE_FN): Define.
7968         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
7969         (DEEPCOPY_FN): Define.
7970         (MERGE_FN): Define.
7971         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
7972         [!MERGE_FN]: Define __merge_einval.
7973         (CHECK_MERGE): Define.
7974         (REENTRANT_NAME): Process merge if do_merge is true.
7975         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
7976         (__nss_getent_r): Likewise.
7977         * nss/nsswitch.c (nss_parse_service_list): Likewise.
7978         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
7980 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7982         [BZ #20012]
7983         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
7984         length to calculate the buffer to read.
7985         (fmemopen_write): Set the buffer position based on bytes written.
7986         (fmemopen_seek): Return EINVAL for invalid whence modes.
7988         [BZ #19957]
7989         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
7990         tst-getpid2.
7991         (test): Add tst-clone2.
7992         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
7993         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
7994         pid/tid fields for CLONE_VM.
7995         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7996         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7997         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7998         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
7999         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
8000         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
8001         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
8002         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
8003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
8004         Likewise.
8005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8006         Likewise.
8007         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8008         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8009         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8010         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8011         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8012         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8013         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8014         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
8016 2016-04-29  Florian Weimer  <fweimer@redhat.com>
8018         [BZ #19642]
8019         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
8020         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
8021         (gni_serv_local, gni_serv): New functions extracted from
8022         getnameinfo.
8023         (getnameinfo): Call gni_host and gni_serv to perform the
8024         processing.  Always free scratch buffer.
8026 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8028         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
8029         remaining bytes in the dest string, with zeros.
8031 2016-04-29  Florian Weimer  <fweimer@redhat.com>
8033         [BZ #20010]
8034         CVE-2016-3706
8035         * sysdeps/posix/getaddrinfo.c
8036         (convert_hostent_to_gaih_addrtuple): New function.
8037         (gethosts): Call convert_hostent_to_gaih_addrtuple.
8038         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
8039         AF_INET data.
8041 2016-04-29  Florian Weimer  <fweimer@redhat.com>
8043         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
8044         callback function gl_readdir.
8045         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
8046         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
8047         (glob_in_dir): Remove len.  Use strdup instead of malloc and
8048         memcpy to copy the name.
8049         * manual/pattern.texi (Calling Glob): Document requirements for
8050         implementations of the gl_readdir callback function.
8051         * manual/examples/mkdirent.c: New example.
8052         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
8053         per the manual guidance.
8054         * posix/tst-gnuglob.c (my_readdir): Likewise.
8056 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
8058         [BZ #20014]
8059         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
8060         not [__USE_POSIX].
8061         (getchar_unlocked): Likewise.
8062         (putc_unlocked): Likewise.
8063         (putchar_unlocked): Likewise.
8064         (flockfile): Likewise.
8065         (ftrylockfile): Likewise.
8066         (funlockfile): Likewise.
8067         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
8068         variable.
8069         (test-xfail-XPG4/stdio.h/conform): Likewise.
8071         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
8072         Expect constant.
8073         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
8074         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
8075         variable.
8076         (test-xfail-XPG4/langinfo.h/conform): Likewise.
8077         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8079         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
8080         [__USE_LARGEFILE64] (off64_t): Likewise.
8081         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
8082         variable.
8084 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8086         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
8088 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8090         * resolv/inet_addr.c: Reindent preprocessor conditionals.
8091         * resolv/res_init.c: Likewise.
8092         * resolv/res_mkquery.c: Likewise.
8094 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8096         * resolv/res_init.c (isascii): Do not define.  Use definition in
8097         <ctype.h>.
8098         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
8099         (LOG_AUTH): Remove.
8100         (SPRINTF): Remove, adjust caller.
8101         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
8103 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8105         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
8106         SUNSECURITY conditional.
8107         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
8109 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8111         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
8112         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
8113         Remove BSD-related preprocessor conditionals.
8114         * conf/portability.h: Remove.
8116 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8118         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
8119         * resolv/res_data.c: Likewise.
8121 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8123         * resolv/res_comp.c: Remove code conditional on __ultrix__.
8124         * resolv/res_data.c: Remove code conditional on ultrix.
8126 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8128         * resolv/res_init.c (RFC1535): Do not define.  Remove
8129         RFC1535 preprocessor conditionals.
8130         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
8131         because there configuration options which make the resolver
8132         behavior different.
8134 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8136         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
8137         RESOLVSORT preprocessor conditionals.
8138         * resolv/nss_dns/dns-host.c: Likewise.
8139         * resolv/res_init.c: Likewise.
8141 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8143         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
8144         is never defined.
8146 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8148         * inet/inet_lnaof.c: Remove SCSS keyword.
8149         * inet/inet_mkadr.c: Likewise.
8150         * inet/inet_net.c: Likewise.
8151         * inet/inet_netof.c: Likewise.
8152         * inet/rcmd.c: Likewise.
8153         * inet/rexec.c: Likewise.
8154         * inet/ruserpass.c: Likewise.
8156 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8158         * resolv/inet_addr.c: Remove _LIBC conditionals.
8159         * resolv/res_data.c: Likewise.
8160         * resolv/res_init.c: Likewise.
8161         * resolv/res_mkquery.c: Likewise.
8162         * resolv/res_libc.c: Update comment.
8163         * resolv/README: Update.
8165 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8167         * resolv/gethnamaddr.c: Remove SCSS keyword.
8168         * resolv/herror.c: Likewise.
8169         * resolv/inet_addr.c: Likewise.
8170         * resolv/inet_net_ntop.c: Likewise.
8171         * resolv/inet_net_pton.c: Likewise.
8172         * resolv/inet_neta.c: Likewise.
8173         * resolv/inet_ntop.c: Likewise.
8174         * resolv/inet_pton.c: Likewise.
8175         * resolv/ns_date.c: Remove RCS keyword.
8176         * resolv/ns_name.c: Likewise.
8177         * resolv/ns_netint.c: Likewise.
8178         * resolv/ns_parse.c: Likewise.
8179         * resolv/ns_print.c: Likewise.
8180         * resolv/ns_samedomain.c: Likewise.
8181         * resolv/ns_ttl.c: Likewise.
8182         * resolv/nsap_addr.c: Likewise.
8183         * resolv/res_comp.c: Remove SCSS and RCS keyword.
8184         * resolv/res_data.c: Remove RCS keyword.
8185         * resolv/res_debug.c: Remove SCSS and RCS keyword.
8186         * resolv/res_init.c: Likewise.
8187         * resolv/res_mkquery.c: Likewise.
8188         * resolv/res_query.c: Likewise.
8189         * resolv/res_send.c: Likewise.
8191 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
8193         * conform/data/stdio.h-data (fdopen): Expect also for
8194         [XPG3 || XPG4].
8196         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
8197         (fseeko): Likewise.
8198         (ftello): Likewise.
8199         (ftrylockfile): Likewise.
8200         (funlockfile): Likewise.
8201         (getc_unlocked): Likewise.
8202         (getchar_unlocked): Likewise.
8203         (putc_unlocked): Likewise.
8204         (putchar_unlocked): Likewise.
8206 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8208         [BZ #19868]
8209         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
8210         DNS packet syntax checks (which were not needed before).  Skip
8211         over non-PTR records.
8213 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8215         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
8216         definition.  Include <stddef.h> instead.
8218 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8220         [BZ #19831]
8221         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
8222         function.
8223         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
8224         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
8226 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8228         [BZ #19862]
8229         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
8230         (getanswer_r): Do not call syslog.
8231         (gaih_getanswer_slice): Likewise.
8232         * resolv/gethnamaddr.c (AskedForGot): Remove.
8233         (getanswer): Do not call syslog.
8234         (gethostbyaddr): Likewise.
8236 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
8238         * conform/data/signal.h-data (union sigval): Expect also if
8239         [XOPEN2K].
8240         (struct sigevent): Likewise.
8241         (SIGEV_NONE): Likewise.
8242         (SIGEV_SIGNAL): Likewise.
8243         (SIGEV_THREAD): Likewise.
8244         (SIGRTMIN): Likewise.
8245         (SIGRTMAX): Likewise.
8246         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
8247         variable.
8248         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8250 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8252         [BZ #19830]
8253         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
8254         (gaih_getanswer_slice): Likewise.
8255         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
8256         Also check for availability of RR metadata.
8258 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8260         [BZ #19825]
8261         * resolv/res_send.c (send_vc): Remove early *resplen2
8262         initialization.  Set *resplen2 on socket error.  Call
8263         close_and_return_error for other errors.
8265 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
8267         * sysdeps/unix/sysv/linux/netiucv/iucv.h
8268         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
8269         (SCM_IUCV_TRGCLS): New define.
8271 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8273         [BZ #20005]
8274         * libio/fmemopen.c (fmemopen_write): Update internal position after
8275         write.
8276         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
8277         * stdio-common/tst-fmemopen4.c: New file..
8279 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
8281         [BZ #19996]
8282         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
8283         not [__USE_XOPEN2K].
8284         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
8285         variable.
8287         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
8288         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
8289         variable.
8291         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
8292         [__USE_XOPEN2K8].
8293         [__USE_LARGEFILE64] (off64_t): Likewise.
8294         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
8295         variable.
8297 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
8299         [BZ #19989]
8300         * libio/stdio.h (cuserid): Do not declare if
8301         [__USE_XOPEN2K && !__USE_GNU].
8302         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
8303         variable.
8305 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8307         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8308         (sysdep_routines): Add P8 and PPC64 strcspn targets.
8309         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8310         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
8311         ifunc'ed strcspn.
8312         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
8313         [EALIGN]: Removed.
8314         [END]: Likewise
8315         [STRSPN]: Define instead of the above to control symbol name.
8316         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
8317         New file.
8318         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
8319         Likewise.
8320         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
8321         Likewise.
8322         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
8323         Likewise.
8324         * sysdeps/powerpc/powerpc64/power8/strspn.S:
8325         [INITIAL_MASK]: New macro.
8326         [STRCSPN]: Likewise.
8327         [UPDATE_MASK]: Likewise.
8328         [USE_AS_STRCSPN]: Lisewise.
8330 2016-04-25  Florian Weimer  <fweimer@redhat.com>
8332         [BZ #19931]
8333         * stdio-common/tst-vfprintf-width-prec.c: New file.
8334         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
8335         (tests-special): Add tst-vfprintf-width-prec-mem.out.
8336         (generated): Add mtrace-related files.
8337         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
8338         (tst-%-mem.out): New pattern rule, replaces
8339         tst-printf-bz18872-mem.out.
8340         * stdio-common/vfprintf.c (vfprintf): When handling a precision
8341         specifier, deallocate any previously allocated work buffer.
8343 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
8345         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
8346         Add nop before __startcontext, add explaining comments.
8348 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
8350         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
8351         any more. Notably since IPV6_PKTINFO has been reintroduced with a
8352         completely different API.
8354         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
8355         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
8356         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
8357         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
8358         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
8359         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
8360         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
8361         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
8362         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
8363         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
8365 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
8367         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
8369 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
8371         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
8372         when it is the default of 0.
8374 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8376         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
8377         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8378         (sysdep_routines): Add new strcasestr targets.
8379         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8380         (__libc_ifunc_impl_list): Likewise.
8381         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
8382         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
8383         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
8384         * sysdeps/powerpc/powerpc64/power8/Makefile:
8385         New file to add strcasestr-ppc64 to sysdep_routines.
8386         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
8387         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
8389 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
8391         * benchtests/Makefile (wcsmbs-benchset): Include only for
8392         native builds and runs.
8393         (LOCALES): Likewise.
8394         (bench-build): Build timing-type here instead of the bench
8395         target.  Generate locale only for native builds.
8396         * benchtests/README: Add note for cross-building.
8398         * benchtests/Makefile (bench-clean): Clean up extra-objs.
8400         * benchtests/README: Update README to include instructions on
8401         using bench-build.
8403         * Makefile.in (bench-build): New target.
8404         * Rules (PHONY): Add bench-build target.
8405         * benchtests/Makefile (bench): Depend on bench-build.
8406         (bench-build): New target.
8408 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8410         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
8411         profil_reply_port.
8412         (profile_waiter): Do not initialize profil_reply_port.
8413         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
8414         frequency instead of tick length in us.
8416 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
8418         [BZ #18712]
8419         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
8420         (__old_mempcpy_small): Likewise.
8421         (__old_strcpy_small): Likewise.
8422         (__old_stpcpy_small): Likewise.
8423         (__old_strpbrk_c2): Fix compat symbol name.
8424         (__old_strpbrk_c3): Likewise.
8425         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
8426         (__mempcpy_small): Remove.
8427         (__strcpy_small): Remove.
8428         (__stpcpy_small): Remove.
8430 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
8432         [BZ #19400]
8433         * locale/iso-639.def: Add the Talossan/tzl language.
8435 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
8437         [BZ #16983]
8438         * locale/programs/ld-address.c (address_finish): Update postal_fmt
8439         comment.  Add "ln" to strchr check on postal_fmt.
8441 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
8443         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
8444         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
8445         tel_dom_fmt.
8447 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8449         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8450         (sysdep_routines): Added __strlen_power8.
8451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
8452         __strlen_power8 entry.
8453         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
8454         Implementation for POWER8.
8455         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
8456         for __strlen_power8.
8457         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
8458         Implementation for POWER8.
8460 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
8462         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
8464 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
8466         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
8467         Goldmont and Airmont processors.
8469 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
8471         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
8472         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
8473         (__STRING2_SMALL_GET32): Remove.
8474         (memset): Remove.
8475         (__memset_1): Remove.
8476         (__memset_gc): Remove.
8477         (__mempcpy): Remove.
8478         (mempcpy): Remove.
8479         (__mempcpy_args): Remove.
8480         (strchr): Remove.
8481         (strcpy): Remove.
8482         (strcpy_args): Remove.
8483         (__stpcpy_args): Remove.
8484         (__strcmp_cc): Remove.
8485         (__strcmp_gc): Remove.
8486         (strstr): Remove.
8488 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
8490         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
8491         * nis/nis_call.c (nis_server_cache_add): Likewise.
8493 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8495         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
8497 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8499         * malloc/arena.c (__malloc_fork_lock_parent)
8500         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
8501         internal_function attribute.
8503 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
8505         * stdio-common/printf_fp.c (__printf_fp_l):
8506         Rename ___printf_fp_l to __printf_fp_l and
8507         remove strong alias. Use libc_hidden_def instead
8508         of ldbl_hidden_def macro.
8510 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8512         Remove malloc hooks from fork handler.  They are no longer needed
8513         because malloc runs right before fork, and no malloc calls from
8514         other fork handlers are not possible anymore.
8515         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
8516         declarations.
8517         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
8518         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
8519         (atfork_recursive_cntr): Remove.
8520         (__malloc_fork_lock_parent): Do not override malloc hooks and
8521         thread_arena.
8522         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
8523         thread_arena.
8524         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
8525         thread_arena instead of save_arena.
8527 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8529         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
8530         (thread_atfork, thread_atfork_static): Remove.
8531         * sysdeps/mach/hurd/malloc-machine.h:
8532         (thread_atfork, thread_atfork_static): Remove.
8534 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8536         [BZ #19431]
8537         Run the malloc fork handler as late as possible to avoid deadlocks.
8538         * malloc/malloc-internal.h: New file.
8539         * malloc/malloc.c: Include it.
8540         * malloc/arena.c (ATFORK_MEM): Remove.
8541         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
8542         Update comment.
8543         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
8544         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
8545         Remove outdated comment.
8546         (ptmalloc_init): Do not call thread_atfork.  Remove
8547         thread_atfork_static.
8548         * malloc/tst-malloc-fork-deadlock.c: New file.
8549         * Makefile (tests): Add tst-malloc-fork-deadlock.
8550         (tst-malloc-fork-deadlock): Link against libpthread.
8551         * manual/memory.texi (Aligned Memory Blocks): Update safety
8552         annotation comments.
8553         * sysdeps/nptl/fork.c (__libc_fork): Call
8554         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
8555         __malloc_fork_unlock_child.
8556         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
8558 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8560         [BZ #19613]
8561         Remove union wait.
8562         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
8563         (w_stopsig, w_stopval): Remove.
8564         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
8565         stat_loc argument.
8566         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
8567         (__WAIT_STATUS_DEFN): Remove.
8568         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
8569         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
8570         (wait, wait3, wait4): Use int * for the stat_loc argument.
8571         * posix/wait.c (__wait): Likewise.
8572         * posix/wait3.c (__wait3): Likewise.
8573         * posix/wait4.c (__wait4): Likewise.
8574         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
8575         (__WAIT_STATUS_DEFN): Remove.
8576         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
8577         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
8578         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
8579         argument.
8580         * sysdeps/posix/wait.c (__libc_wait): Likewise.
8581         * sysdeps/posix/wait3.c (__wait3): Likewise.
8582         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
8583         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
8584         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
8585         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
8586         stat_loc argument.
8587         * manual/process.texi (BSD Wait Functions): Remove union wait.
8589 2016-04-13  Andreas Schwab  <schwab@suse.de>
8591         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
8592         (test-extras): Add tst-tlsalign-vars.
8593         * math/Makefile: Wrap long lines.
8594         (libm-vec-test-wrappers): Define.
8595         (test-extras): Add $(libm-vec-test-wrappers).
8596         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
8597         * nss/Makefile (extra-test-objs): Add nss_test1.os.
8598         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
8599         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
8600         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
8601         (extra-test-objs): Add corresponding objects.
8603 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
8605         [BZ #19928]
8606         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
8607         New.
8608         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
8609         times of shared cache size.
8610         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
8611         (VMOVNT): New.
8612         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
8613         (VMOVNT): Likewise.
8614         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
8615         (VMOVNT): Likewise.
8616         (VMOVU): Changed to movups for smaller code sizes.
8617         (VMOVA): Changed to movaps for smaller code sizes.
8618         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
8619         comments.
8620         (PREFETCH): New.
8621         (PREFETCH_SIZE): Likewise.
8622         (PREFETCHED_LOAD_SIZE): Likewise.
8623         (PREFETCH_ONE_SET): Likewise.
8624         Rewrite to use forward and backward loops, which move 4 vector
8625         registers at a time, to support overlapping addresses and use
8626         non temporal store if size is above the threshold and there is
8627         no overlap between destination and source.
8629 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
8631         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
8632         Include dl-vdso.
8633         * sysdeps/unix/sysv/linux/mips/Versions: Add
8634         __vdso_clock_gettime.
8635         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
8636         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
8637         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
8638         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
8639         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
8640         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8641         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8642         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
8643         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
8645 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8647         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
8648         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
8649         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8650         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8651         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8652         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8655         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
8656         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
8657         syscalls generation.
8658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8659         [__NR_pwrite64] (__NR_write): Remove define.
8660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8661         [__NR_pwrite64] (__NR_write): Remove define.
8662         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
8663         Remove define.
8664         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
8665         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
8666         Remove define.
8667         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
8668         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
8669         Linux implementation as base.
8670         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8672         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
8673         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
8674         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8675         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
8677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8678         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
8679         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
8680         syscall generation.
8681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8682         [__NR_pread64] (__NR_pread): Remove define.
8683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8684         [__NR_pread64] (__NR_pread): Likewise.
8685         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
8686         define.
8687         (__libc_pread): Use SYSCALL_LL macro on offset argument.
8688         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
8689         Remove define.
8690         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
8691         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
8692         Linux implementation as base.
8693         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8694         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8695         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8697         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
8698         definition.
8699         (__ALIGNMENT_COUNT): Likewise.
8700         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
8701         (__ALIGNMENT_COUNT): Likewise.
8702         (SYSCALL_LL): New define.
8703         (SYSCALL_LL64): Likewise.
8704         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
8705         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
8706         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
8707         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
8709         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8710         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
8711         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8712         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
8713         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8714         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
8716 2016-04-11  Florian Weimer  <fweimer@redhat.com>
8718         [BZ #19865]
8719         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
8720         original buffer before retry.
8722 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8724         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
8725         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
8726         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
8727         GLRO(dl_auxv) list.
8728         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
8729         including <ldsodefs.h>.
8730         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
8732 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
8734         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
8735         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
8736         $(CPPFLAGS).
8738 2016-04-09  Khem Raj  <raj.khem@gmail.com>
8740         [BZ #17950]
8741         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
8742         Add -mfpmath=387.
8744 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
8746         * sysdeps/i386/configure.ac: Change == to = when calling test.
8747         * sysdeps/x86_64/configure.ac: Likewise.
8748         * sysdeps/i386/configure: Regenerated.
8749         * sysdeps/x86_64/configure: Likewise.
8751 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
8753         [BZ #16137]
8754         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
8755         * benchtests/bench-strcoll.c (input_files): Likewise.
8756         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
8757         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
8758         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
8760 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
8762         [BZ #19929]
8763         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
8764         [__USE_XOPEN2K8 && !__USE_GNU].
8765         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
8766         variable.
8768         [BZ #19925]
8769         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
8770         define if [!__USE_MISC && __USE_XOPEN2K].
8771         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
8772         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
8773         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
8774         Likewise.
8775         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
8776         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
8777         variable.
8778         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8780 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8782         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8783         (sysdep_routines): Add new strspn targets.
8784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8785         (__libc_ifunc_impl_list): Add strspn.
8786         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
8787         New file.
8788         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
8789         Likewise.
8790         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
8791         Likewise.
8792         * sysdeps/powerpc/powerpc64/power8/strspn.S:
8793         Likewise.
8795 2016-04-07  Florian Weimer  <fweimer@redhat.com>
8797         * misc/hsearch_r.c: Include <limits.h>.
8799 2016-04-07  Florian Weimer  <fweimer@redhat.com>
8801         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
8803 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
8805         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8806         (MEMCPY_SYMBOL): New.
8807         (MEMPCPY_SYMBOL): Likewise.
8808         (MEMMOVE_CHK_SYMBOL): Likewise.
8809         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
8810         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
8811         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
8812         Provide alias for memcpy in libc.a and ld.so.
8814 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
8816         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8817         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
8818         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
8819         Disabled fro now.
8820         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
8821         symbols.  Properly check USE_MULTIARCH on __memset symbols.
8823 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
8825         * benchtests/Makefile (string-benchset): Add memcpy-large,
8826         memmove-large and memset-large.
8827         * benchtests/bench-memcpy-large.c: New file.
8828         * benchtests/bench-memmove-large.c: Likewise.
8829         * benchtests/bench-memmove-large.c: Likewise.
8830         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
8832 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
8834         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
8835         32-bit displacement to avoid long nop between instructions.
8837 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
8839         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
8840         a comment on VMOVU and VMOVA.
8842 2016-04-04  Florian Weimer  <fweimer@redhat.com>
8844         [BZ #19633]
8845         Use specified locale for number formatting in strfmon_l.
8846         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
8847         (__nl_lookup_word): New inline functions.
8848         * include/printf.h (__print_fp_l): Declare.
8849         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
8850         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
8851         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
8852         (___printf_fp): New function.
8853         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
8854         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
8855         * stdlib/tst-strfmon_l.c (do_test): New test.
8856         * stdlib/Makefile (tests): Add kt.
8857         (LOCALES): Build additional locales.
8858         (tst-strfmon_l.out): Require locales.
8860 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
8862         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
8863         if not in libc.
8864         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8865         Likewise.
8866         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
8867         Likewise.
8868         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8869         Likewise.
8871 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
8873         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
8874         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
8875         with unaligned_erms.
8876         (__memmove_erms): Skip if source == destination.
8877         (__memmove_unaligned_erms): Don't check source == destination
8878         first.
8880 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8882         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
8883         bit_arch_Fast_Copy_Backward for Intel Core proessors.
8885 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8887         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
8888         * string/strspn.c (strspn): Likewise.
8890 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8892         * benchtests/bench-memset.c (do_test): Support 64-byte
8893         alignment.
8894         (test_main): Test 64-byte alignment.
8896 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8898         * benchtests/bench-memmove.c (test_main): Test 64-byte
8899         alignment.
8901 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8903         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
8905 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8907         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
8908         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
8909         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
8911         * string/strpbrk.c (strpbrk): Rewrite function.
8912         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
8913         (__strpbrk_c2): Likewise.
8914         (__strpbrk_c3): Likewise.
8915         * string/string-inlines.c
8916         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
8917         Likewise.
8918         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
8919         Likewise.
8921         * string/strspn.c (strcspn): Rewrite function.
8922         * string/bits/string2.h (strspn): Use __builtin_strcspn.
8923         (__strspn_c1): Remove inline function.
8924         (__strspn_c2): Likewise.
8925         (__strspn_c3): Likewise.
8926         * string/string-inlines.c
8927         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
8928         compatibility symbol.
8929         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
8930         Likewise.
8931         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
8932         Likewise.
8933         * string/string-inlines.c: Include generic version.
8935 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
8936             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8938         * string/Version (libc): Add GLIBC_2.24.
8939         * string/strcspn.c (strcspn): Rewrite function.
8940         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
8941         (__strcspn_c1): Remove inline function.
8942         (__strcspn_c2): Likewise.
8943         (__strcspn_c3): Likewise.
8944         * string/string-inline.c
8945         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
8946         compatibility symbol.
8947         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
8948         Likewise.
8949         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
8950         Likewise.
8951         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
8953 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8955         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8956         Use ahi instead of aghi to adjust stack pointer.
8958 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8960         [BZ #19853]
8961         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
8962         TEST to take significant digits as second parameter.
8963         [TEST]: Redefine in terms of TEST_N taking 30
8964         significant digits.
8965         (do_test): Add test case to demonstrate precision
8966         failure in the ldbl-128ibm printf.
8967         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
8968         (__mpn_extract_long_double): Carry 7 extra intermediate
8969         bits of precision to aide computing difference when
8970         signs differ.
8972 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
8974         [BZ #19881]
8975         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8976         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
8977         memset-avx512-unaligned-erms.
8978         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8979         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
8980         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
8981         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
8982         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
8983         __memset_sse2_unaligned_erms, __memset_erms,
8984         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
8985         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
8986         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
8987         file.
8988         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8989         Likewise.
8990         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
8991         Likewise.
8992         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
8993         Likewise.
8995 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
8997         [BZ #19776]
8998         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8999         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
9000         memmove-avx512-unaligned-erms.
9001         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9002         (__libc_ifunc_impl_list): Test
9003         __memmove_chk_avx512_unaligned_2,
9004         __memmove_chk_avx512_unaligned_erms,
9005         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
9006         __memmove_chk_sse2_unaligned_2,
9007         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
9008         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
9009         __memmove_avx512_unaligned_erms, __memmove_erms,
9010         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
9011         __memcpy_chk_avx512_unaligned_2,
9012         __memcpy_chk_avx512_unaligned_erms,
9013         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
9014         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
9015         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
9016         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
9017         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
9018         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
9019         __mempcpy_chk_avx512_unaligned_erms,
9020         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
9021         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
9022         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
9023         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
9024         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
9025         __mempcpy_erms.
9026         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
9027         file.
9028         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
9029         Likwise.
9030         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9031         Likwise.
9032         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
9033         Likwise.
9035 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9037         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
9038         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
9039         (La_s390_64_regs): Likewise.
9040         (La_s390_32_retval): Append vector register lrv_v24.
9041         (La_s390_64_retval): Likeweise.
9042         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9043         Handle extended structs La_s390_32_regs and La_s390_32_retval.
9044         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9045         Handle extended structs La_s390_64_regs and La_s390_64_retval.
9047 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9049         [BZ #19916]
9050         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
9051         to create a non-vector/vector version for _dl_runtime_resolve and
9052         _dl_runtime_profile. Move implementation to ...
9053         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
9054         (_dl_runtime_resolve) Save and restore fpr/vrs.
9055         (_dl_runtime_profile) Save and restore vrs and fix some issues
9056         if _dl_call_pltexit is called.
9057         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
9058         Choose the correct resolver function if running on a machine with vx.
9059         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
9060         to create a non-vector/vector version for _dl_runtime_resolve and
9061         _dl_runtime_profile. Move implementation to ...
9062         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
9063         (_dl_runtime_resolve) Save and restore fpr/vrs.
9064         (_dl_runtime_profile) Save and restore vrs and fix some issues
9065         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
9066         Choose the correct resolver function if running on a machine with vx.
9068 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9070         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
9072 2016-03-31  Florian Weimer  <fweimer@redhat.com>
9074         [BZ #19509]
9075         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
9076         skip_map != NULL.
9077         * elf/tst-dlsym-error.c: New file.
9078         * elf/Makefile (tests): Add tst-dlsym-error.
9079         (tst-dlsym-error): Link against libdl.
9081 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
9083         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9084         (__ASSUME_FUTIMESAT): Remove macro.
9085         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
9087 2016-03-29  Florian Weimer  <fweimer@redhat.com>
9089         [BZ #19879]
9090         CVE-2016-3075
9091         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
9092         copy name.
9094 2016-03-29  Florian Weimer  <fweimer@redhat.com>
9096         [BZ #19837]
9097         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
9098         error if parse_line fails.
9100 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9102         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
9103         (index_cpu_ERMS): Likewise.
9104         (reg_ERMS): Likewise.
9106 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
9108         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
9109         PER_LINUX_FDPIC): Add.
9111 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9113         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9114         memcpy-avx512-no-vzeroupper.
9115         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
9116         to ...
9117         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
9118         (MEMCPY): Don't define.
9119         (MEMCPY_CHK): Likewise.
9120         (MEMPCPY): Likewise.
9121         (MEMPCPY_CHK): Likewise.
9122         (MEMPCPY_CHK): Renamed to ...
9123         (__mempcpy_chk_avx512_no_vzeroupper): This.
9124         (MEMPCPY_CHK): Renamed to ...
9125         (__mempcpy_chk_avx512_no_vzeroupper): This.
9126         (MEMCPY_CHK): Renamed to ...
9127         (__memmove_chk_avx512_no_vzeroupper): This.
9128         (MEMCPY): Renamed to ...
9129         (__memmove_avx512_no_vzeroupper): This.
9130         (__memcpy_avx512_no_vzeroupper): New alias.
9131         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
9133 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9135         [BZ #18858]
9136         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9137         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
9138         and mempcpy-avx512-no-vzeroupper.
9139         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
9140         New.
9141         (MEMPCPY): Likewise.
9142         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
9143         (MEMPCPY_CHK): New.
9144         (MEMPCPY): Likewise.
9145         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
9146         (MEMPCPY): Likewise.
9147         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
9148         (MEMPCPY): Likewise.
9149         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
9150         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
9151         Likewise.
9152         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
9153         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
9155 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9156              Amit Pawar  <Amit.Pawar@amd.com>
9158         [BZ #19583]
9159         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
9160         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
9161         processors.  Set Fast_Copy_Backward for AMD Excavator
9162         processors.
9163         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
9164         New.
9165         (index_arch_Fast_Unaligned_Copy): Likewise.
9166         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
9167         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
9169 2016-03-25  Florian Weimer  <fweimer@redhat.com>
9171         [BZ #19791]
9172         * resolv/res_send.c (close_and_return_error): New function.
9173         (send_dg): Initialize *resplen2 after reopen failure.  Call
9174         close_and_return_error for error returns.  On error paths without
9175         __res_iclose, initialze *resplen2 explicitly.  Update comment for
9176         successful return.
9178 2016-03-25  Florian Weimer  <fweimer@redhat.com>
9180         [BZ# 19860]
9181         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
9182         zero if the compiler does not provide the AVX512F bit.
9184 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
9186         [BZ #19848]
9187         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
9188         from 8 to 4.
9189         (__ieee754_powl): Compare integer exponent against 4 not 8.
9190         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
9191         from 8 to 4.
9192         (__ieee754_powl): Compare integer exponent against 4 not 8.
9193         * math/auto-libm-test-in: Add more tests of pow.
9194         * math/auto-libm-test-out: Regenerated.
9195         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
9196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9198 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
9200         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
9201         Make code unconditional.
9202         [!__NR_utimensat]: Remove conditional code.
9203         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
9204         Make code unconditional.
9205         [!__NR_utimensat]: Remove conditional code.
9206         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
9207         Make code unconditional.
9208         [!__NR_utimensat]: Remove conditional code.
9210 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
9212         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
9213         Make code unconditional.
9215 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
9217         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
9218         call-clobbered %eax on retry path.
9219         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
9221 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
9223         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
9224         Don't set %rcx twice before "rep movsb".
9226 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
9228         [BZ #19583]
9229         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
9230         inline.  Check family before setting family, model and
9231         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
9232         bits here.
9233         (init_cpu_features): Replace HAS_CPU_FEATURE and
9234         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
9235         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
9236         for Intel processors with usable AVX2.  Call get_common_indeces
9237         for other processors with family == NULL.
9238         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
9239         (CPU_FEATURES_ARCH_P): Likewise.
9240         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
9241         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
9243 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9245         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
9246         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
9247         $(shared-thread-library) instead of hardcoding the path to libpthread.
9249 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
9251         * sysdeps/unix/sysv/linux/kernel-features.h
9252         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
9253         * sysdeps/unix/sysv/linux/getdents.c
9254         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
9255         [!have_no_getdents64_defined]: Likewise.
9256         (__GETDENTS): Remove __have_no_getdents64 conditional.
9258 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
9260         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
9261         Remove macro.
9262         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
9263         <kernel-features.h>.
9264         (signalfd) [__NR_signalfd4]: Make code unconditional.
9265         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
9267 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9269         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
9270         style.
9272 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
9274         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
9275         (__pthread_enable_asynccancel): Use JUMPTARGET to call
9276         __pthread_unwind.
9277         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
9278         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
9279         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
9280         (__condvar_cleanup1): Likewise.
9282 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
9284         [BZ #19822]
9285         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
9286         move it to the final $@ location.
9288 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9290         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
9291         access where posix_spawn success and pid argument is null.
9292         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
9293         success case.
9295 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
9297         * sysdeps/mach/hurd/i386/c++-types.data: New file.
9299         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
9301         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
9302         and __fcntl.
9303         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
9304         __fcntl only.
9305         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
9306         adding attribute_hidden to __open and __fcntl.
9308         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
9309         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
9310         depend on libc-modules.h,
9311         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
9313 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
9315         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
9316         Remove macro.
9317         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
9318         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
9319         entry.
9321         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
9322         Remove macro.
9323         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
9324         include <kernel-features.h>.
9325         [!__ASSUME_FALLOCATE]: Remove conditional code.
9326         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
9328 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9330         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
9331         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
9332         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
9333         (_ZGVdN4v_cos_avx2): Likewise.
9334         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
9335         (_ZGVdN4v_cos): Likewise.
9336         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
9337         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
9338         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
9339         (_ZGVdN4v_exp_avx2): Likewise.
9340         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
9341         (_ZGVdN4v_exp): Likewise.
9342         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
9343         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
9344         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
9345         (_ZGVdN4v_log_avx2): Likewise.
9346         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
9347         (_ZGVdN4v_log): Likewise.
9348         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
9349         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
9350         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
9351         (_ZGVdN4vv_pow_avx2): Likewise.
9352         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
9353         (_ZGVdN4vv_pow): Likewise.
9354         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
9355         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
9356         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
9357         (_ZGVdN4v_sin_avx2): Likewise.
9358         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
9359         (_ZGVdN4v_sin): Likewise.
9360         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
9361         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
9362         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
9363         (_ZGVdN4vvv_sincos_avx2): Likewise.
9364         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
9365         (_ZGVdN4vvv_sincos): Likewise.
9366         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
9367         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
9368         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
9369         (_ZGVbN4v_cosf_sse4): Likewise.
9370         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
9371         (_ZGVdN8v_cosf_avx2): Likewise.
9372         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
9373         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
9374         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
9375         (_ZGVbN4v_expf_sse4): Likewise.
9376         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
9377         (_ZGVdN8v_expf_avx2): Likewise.
9378         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
9379         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
9380         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
9381         (_ZGVbN4v_logf_sse4): Likewise.
9382         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
9383         (_ZGVdN8v_logf_avx2): Likewise.
9384         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
9385         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
9386         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
9387         (_ZGVbN4vv_powf_sse4): Likewise.
9388         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
9389         (_ZGVdN8vv_powf_avx2): Likewise.
9390         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
9391         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
9392         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
9393         (_ZGVbN4vvv_sincosf_sse4): Likewise.
9394         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
9395         (_ZGVdN8vvv_sincosf_avx2): Likewise.
9396         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
9397         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
9398         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
9399         (_ZGVbN4v_sinf_sse4): Likewise.
9400         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
9401         (_ZGVdN8v_sinf_avx2): Likewise.
9402         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
9403         Use JUMPTARGET to call callee.
9404         (WRAPPER_IMPL_SSE2_ff): Likewise.
9405         (WRAPPER_IMPL_SSE2_fFF): Likewise.
9406         (WRAPPER_IMPL_AVX): Likewise.
9407         (WRAPPER_IMPL_AVX_ff): Likewise.
9408         (WRAPPER_IMPL_AVX_fFF): Likewise.
9409         (WRAPPER_IMPL_AVX512): Likewise.
9410         (WRAPPER_IMPL_AVX512_ff): Likewise.
9411         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
9412         Likewise.
9413         (WRAPPER_IMPL_SSE2_ff): Likewise.
9414         (WRAPPER_IMPL_SSE2_fFF): Likewise.
9415         (WRAPPER_IMPL_AVX): Likewise.
9416         (WRAPPER_IMPL_AVX_ff): Likewise.
9417         (WRAPPER_IMPL_AVX_fFF): Likewise.
9418         (WRAPPER_IMPL_AVX512): Likewise.
9419         (WRAPPER_IMPL_AVX512_ff): Likewise.
9420         (WRAPPER_IMPL_AVX512_fFF): Likewise.
9422 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9424         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
9425         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
9426         qualifier.
9427         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
9428         internal_function qualifiers.
9430 2016-03-15  Carlos O'Donell <carlos@redhat.com>
9432         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
9433         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
9434         * math/atest-exp.c (exp_mpn): Mark chk unused.
9435         * math/atest-exp2.c (exp_mpn): Likwise.
9436         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
9437         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
9439 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
9441         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
9442         Remove macro.
9443         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
9444         <kernel-features.h>.
9445         [__NR_ppoll]: Make code unconditional.
9446         [!__ASSUME_PPOLL]: Remove conditional code.
9448         * sysdeps/unix/sysv/linux/kernel-features.h
9449         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
9450         (__ASSUME_ACCEPT4): Likewise.
9451         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9452         Define.
9453         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
9454         Likewise.
9455         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9456         Likewise.
9457         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
9458         Likewise.
9459         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
9460         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
9461         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9462         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9463         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9464         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9465         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9466         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9467         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9468         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9469         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9470         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9471         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9472         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9473         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9474         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9475         Likewise.
9476         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9477         Likewise.
9478         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9479         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9480         0x040300].
9481         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9482         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9483         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9484         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9485         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
9486         0x030300].
9487         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
9488         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9489         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9490         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9491         0x040300].
9492         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9493         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9494         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9495         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9496         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9497         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9498         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
9499         0x030300].
9500         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9501         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9502         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9503         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9504         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9505         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9506         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9507         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9508         * sysdeps/unix/sysv/linux/s390/kernel-features.h
9509         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9510         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9511         0x040300].
9512         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9513         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9514         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9515         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9516         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9517         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9518         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9519         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9520         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9521         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9522         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9523         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9524         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9525         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9526         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
9527         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9528         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9529         Likewise.
9530         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9531         Likewise.
9533 2016-03-15  Andreas Schwab  <schwab@suse.de>
9535         [BZ #19257]
9536         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
9537         statp->_u._ext.nscount as loop count.
9539 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
9541         * math/test-signgam-finite-c99.c: Also #undef
9542         __LIBC_INTERNAL_MATH_INLINES.
9543         * math/test-signgam-main.c: Likewise.
9545 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
9547         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
9548         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9549         (MADV_FREE): Likewise.
9550         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
9551         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
9552         EPOLLEXCLUSIVE.
9554 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
9556         * timezone/README: Remove mention of checktab.awk. Mention wiki
9557         SharedSourceFiles.
9559 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
9561         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
9562         WUNTRACED.
9564 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9566         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
9567         order to match the type of p when calling atomic_exchange_acq().
9569 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9571         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
9572         cfi_offset calls.
9573         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
9574         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
9575         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
9576         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
9577         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
9579 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
9581         * timezone/checktab.awk: Removed.
9583 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
9585         * manual/math.texi (Errors in Math Functions): Document relaxed
9586         accuracy goals for IBM long double.
9587         * math/libm-test.inc (test_exceptions): Always allow spurious
9588         "underflow" and "inexact" exceptions for IBM long double.
9590 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
9592         [BZ #19762]
9593         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
9594         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
9595         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
9596         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
9597         (bit_arch_*): This for feature array.
9598         (bit_*): Renamed to ...
9599         (bit_cpu_*): This for cpu array.
9600         (index_*): Renamed to ...
9601         (index_arch_*): This for feature array.
9602         (index_*): Renamed to ...
9603         (index_cpu_*): This for cpu array.
9604         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
9605         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
9606         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
9607         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
9608         bit_##name with index_cpu_##name and bit_cpu_##name.
9609         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
9610         bit_##name with index_arch_##name and bit_arch_##name.
9612 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
9614         [BZ #19792]
9615         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
9616         Terminate FDE before return label.
9618 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
9620         [BZ #19790]
9621         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
9622         (rintl): Define as macro.
9623         [USE_AS_NEARBYINTL] (__rintl): Likewise.
9624         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
9625         of fesetround.  Ensure results are evaluated before end of scope.
9626         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
9627         USE_AS_NEARBYINTL and include s_rintl.c.
9628         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
9629         Disable exception traps in new environment.
9630         (libc_feholdsetround_ppc_ctx): Likewise.
9632 2016-03-08  Roland McGrath  <roland@hack.frob.com>
9634         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
9635         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
9636         (tst_audit10_aux) [__AVX512F__]: ... here.
9638 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
9640         * include/sys/auxv.h: New file.
9642 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
9644         [BZ #19759]
9645         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
9647 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9649         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
9650         operand modifier.
9651         (feclearexcept): Likewise.
9653 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9655         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
9656         to reflect the entire 32-bit HWCAP.
9657         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
9658         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
9660 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
9662         [BZ #19783]
9663         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
9664         $(test-via-rtld-prefix).
9665         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
9667 2016-03-08  Florian Weimer  <fweimer@redhat.com>
9669         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
9670         union wait.  Report any non-zero exit status as error.
9672 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9674         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
9675         configured with --enable-hardcoded-path-in-tests.
9677 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
9679         [BZ #19677]
9680         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
9681         (__ieee754_remainderl): Put zero low parts in canonical form.
9682         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
9683         file.  Based on
9684         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
9685         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
9686         with wrapper round test-fmodrem-ldbl-128ibm.c.
9687         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
9688         file.
9689         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
9690         Likewise.
9691         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
9692         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
9694 2016-03-07  Florian Weimer  <fweimer@redhat.com>
9696         [BZ #19610]
9697         * elf/ldconfig.c (opt_link): Update comment.
9698         (options): Update help string for option -X.
9699         (search_dir): Unlink stale symbolic link only if updating symbolic
9700         links.
9701         * elf/tst-ldconfig-X.sh: New file.
9702         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
9703         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
9705 2016-03-07  Andreas Schwab  <schwab@suse.de>
9707         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
9708         needed arguments.
9710 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
9712         [BZ #15333]
9713         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
9714         to lstat64.
9716 2016-03-07  Florian Weimer  <fweimer@redhat.com>
9718         * libio/filedoalloc.c (isatty): Remove.
9719         (local_isatty): Add comment.  Call __isatty directly.
9720         (_IO_file_doallocate): Update comment.  Assume _LIBC.
9721         * libio/wfiledoalloc.c (isatty): Remove.
9722         (_IO_wfile_doallocate): Update comment.
9724 2016-03-07  Florian Weimer  <fweimer@redhat.com>
9726         [BZ #19269]
9727         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
9728         tst-audit4-aux.o.
9729         (tst-audit10): Depend on tst-audit10-aux.o.
9730         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
9731         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
9732         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
9733         instead of inline AVX code.
9734         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
9735         instead of inline AVX512 code.
9736         * sysdeps/x86_64/tst-audit4-aux.c: New file
9737         * sysdeps/x86_64/tst-audit10-aux.c: New file
9739         [BZ #19648]
9740         * test-skeleton.c (main): Do not set RLIMIT_DATA.
9742 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9744         [BZ #14750]
9745         [BZ #10354]
9746         [BZ #18433]
9747         * include/sched.h (__clone): Add hidden prototype.
9748         (__clone2): Likewise.
9749         * include/unistd.h (__dup): Likewise.
9750         * posix/Makefile (tests): Add tst-spawn2.
9751         * posix/tst-spawn2.c: New file.
9752         * sysdeps/posix/dup.c (__dup): Add hidden definition.
9753         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
9754         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
9755         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
9756         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
9757         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
9758         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
9759         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
9760         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
9761         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
9762         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
9763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
9764         Likewise.
9765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9766         Likewise.
9767         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
9768         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
9769         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
9770         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9771         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
9772         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
9773         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
9774         * sysdeps/unix/sysv/linux/nptl-signals.h
9775         (____nptl_is_internal_signal): New function.
9776         * sysdeps/unix/sysv/linux/spawni.c: New file.
9778         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
9779         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
9780         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
9781         * posix/tst-execvp2.c (do_test): Likewise.
9782         * posix/tst-execvp3.c (do_test): Likewise.
9783         * posix/tst-execvp4.c (do_test): Likewise.
9784         * posix/tst-execvpe1.c: New file.
9785         * posix/tst-execvpe2.c: Likewise.
9786         * posix/tst-execvpe3.c: Likewise.
9787         * posix/tst-execvpe4.c: Likewise.
9788         * posix/tst-execvpe5.c: Likewise.
9789         * posix/tst-execvpe6.c: Likewise.
9791         [BZ #19534]
9792         * posix/execl.c (execl): Remove dynamic memory allocation.
9793         * posix/execle.c (execle): Likewise.
9794         * posix/execlp.c (execlp): Likewise.
9796 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
9798         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
9799         Replace .text with .text.avx512.
9800         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
9801         Likewise.
9803 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
9805         * sysdeps/generic/libnsl.abilist: New file.
9806         * sysdeps/generic/libutil.abilist: New file.
9808 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
9810         [BZ #19762]
9811         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
9812         HAS_ARCH_FEATURE with Fast_Rep_String.
9813         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
9814         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
9815         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
9816         Likewise.
9817         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
9818         Likewise.
9819         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
9820         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
9821         Likewise.
9822         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
9823         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
9824         Likewise.
9826 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
9828         [BZ #19745]
9829         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
9830         with *%rax in call.
9832 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
9834         [BZ #19745]
9835         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
9836         with *__libc_start_main@GOTPCREL(%rip) in call.
9838 2016-03-04  Roland McGrath  <roland@hack.frob.com>
9840         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
9841         inside conditional for nonempty $(CXX).
9843         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
9844         nonempty.
9846         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
9847         to test for empty $(CXX) rather than $(CXX) of "no".
9849 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
9851         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
9853 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
9854             H.J. Lu  <hongjiu.lu@intel.com>
9856         [BZ #18880]
9857         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
9858         instead of Slow_BSF, and also check for Fast_Copy_Backward to
9859         enable __memcpy_ssse3_back.
9861 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
9863         [BZ #19758]
9864         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
9865         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
9867 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
9869         [BZ #19490]
9870         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
9871         (__fentry__): Likewise.
9873 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
9875         * gmon/Makefile (noprof): Add $(sysdep_noprof).
9876         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
9878 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
9880         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
9881         __mcount_internal directly.
9882         (C_LABEL(__fentry__)): Likewise.
9883         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
9884         directly.
9886 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
9888         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9889         (__start_context): Call __setcontext directly.
9891 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
9893         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9894         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9895         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
9896         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
9897         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9898         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9899         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
9900         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9901         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9902         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
9903         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
9904         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
9905         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9906         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9907         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9908         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9909         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
9910         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9911         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9912         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
9913         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
9914         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9915         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9916         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
9917         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
9918         Remove conditional code.
9919         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9920         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
9921         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9922         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9923         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
9924         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9925         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
9926         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9927         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9928         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9929         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9930         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9932 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
9934         * NEWS (2.23): Fix typo in bug 19048 text.
9936 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
9938         [BZ #14259]
9939         * Makeconfig: Rename msgcatdir to localedir.
9940         Rename inst_msgcatdir to inst_localedir.
9941         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
9942         * config.make.in: Add localedir.
9943         * elf/Makefile ($(objpfx)sotruss): Use localedir.
9944         (ldd-rewrite): Likewise.
9945         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
9946         (install-others): Use inst_localedir.
9947         (CPPFLAGS): Use localedir.
9948         * locale/Makefile (locale-CPPFLAGS): Likewise.
9949         * po/Makefile (mo-installed): Use inst_localedir.
9951         [BZ #19575]
9952         * localedata/charmaps/GB18030: Update comments regarding PAU to
9953         non-PUA mappings.
9955 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
9957         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
9958         test for header.
9959         * sysdeps/unix/sysv/linux/configure: Regenerated.
9960         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
9961         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
9962         Remove conditional code.
9963         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
9965         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9966         Define to 3.2.0.
9967         (arch_minimum_kernel): Likewise.
9968         * sysdeps/unix/sysv/linux/configure: Regenerated.
9969         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
9970         Define to 2.6.32.
9971         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
9972         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
9973         (arch_minimum_kernel): Define to 2.6.32.
9974         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
9975         * README: Document Linux 3.2 requirement.
9976         * manual/install.texi (Linux): Document Linux 3.2 headers
9977         requirement.
9978         * INSTALL: Regenerated.
9980 2016-02-24  Andreas Schwab  <schwab@suse.de>
9982         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
9983         if !NO_LONG_DOUBLE.
9985 2016-02-22  Roland McGrath  <roland@hack.frob.com>
9987         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
9988         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
9990 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
9992         [BZ #19512]
9993         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
9995 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
9997         * posix/tst-dir.c: Include libc-internal.h.
9999 2016-02-20  Florian Weimer  <fweimer@redhat.com>
10001         [BZ #19056]
10002         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
10003         * manual/filesys.texi (Reading/Closing Directory): Mention
10004         deprecaion.
10005         * posix/tst-dir.c (main): Disable deprecation warning in test.
10007 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
10009         [BZ #19679]
10010         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
10011         Renamed to ...
10012         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
10013         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10014         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
10015         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10016         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
10017         * sysdeps/x86_64/dl-trampoline.h
10018         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10019         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
10021 2016-02-19  Mark Wielaard  <mjw@redhat.com>
10023         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
10025 2016-02-19  Mark Wielaard  <mjw@redhat.com>
10027         * elf/elf.h (R_386_GOT32X): New.
10028         (R_386_NUM): Update.
10029         (R_X86_64_GOTPCRELX: New.
10030         (R_X86_64_REX_GOTPCRELX): New.
10031         (R_X86_64_NUM): Update.
10033 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
10035         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
10037 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
10039         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
10040         assign attr->stackaddr to it, and adjust it down when
10041         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
10042         [_STACK_GROWS_UP]: Delete assert.
10043         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
10044         Implement stack grows up logic.
10045         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
10046         stack grows up logic.
10048 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10050         * NEWS: Update with 2.24 template.
10052 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
10054         [BZ #19678]
10055         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10056         Ensure +0.0 is returned when taking the next value below the least
10057         positive value.
10059 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10061         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
10062         available.  Do not define NO_THREADS.
10063         * malloc/malloc.c: Do not check NO_THREADS.
10064         * malloc/arena.c: Likewise.
10066 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10068         * malloc/malloc.c (__libc_mallinfo): Update comment.
10069         (struct malloc_par): Remove max_total_mem member, it was always 0.
10070         (int_mallinfo): Store 0 into usmblks (no functional change).
10071         * malloc/hooks.c (struct malloc_state): Document that
10072         max_total_mem is always 0.
10073         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
10074         always 0.
10075         * manual/memory.texi (Statistics of Malloc): Likewise.
10077 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10079         * malloc/malloc.c (sysmalloc): Do not update arena_max.
10080         * malloc/arena.c (arena_max): Remove.
10081         (heap_trim, _int_new_arena): Do not update arena_max.
10083 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10085         * resolv/res_init.c (res_ninit): Update comment.
10087 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10089         [BZ #19505]
10090         * posix/spawn_int.h: Add headers and include guard.
10091         (__spawn_valid_fd): New function.
10092         * posix/spawn_faction_addopen.c
10093         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
10094         * posix/spawn_faction_addclose.c
10095         (posix_spawn_file_actions_addclose): Likewise.
10096         * posix/spawn_faction_adddup2.c
10097         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
10098         second file descriptor.
10099         * posix/spawn_valid_fd.c: New file.
10100         * posix/tst-posix_spawn-fd.c: New file.
10101         * posix/Makefile (routines): Add spawn_valid_fd.
10102         (tests): Add tst-posix_spawn-fd.
10104 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10106         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
10107         (do_test): Limit the number of arenas, so that we can use fewer
10108         outer threads.  Limit timeout to 3 seconds, in preparation for a
10109         larger TIMEOUT value.
10111 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
10113         [BZ #19674]
10114         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
10115         sign in overflowing and underflowing results when overflow or
10116         underflow is detected early.  Include sign in result before rather
10117         than after scaling.
10119         [BZ #19603]
10120         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
10121         (__ieee754_remainderl): Adjust sign of integer version of low part
10122         when taking absolute value of high part.
10123         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10124         * math/libm-test.inc (remainder_test_data): Add another test.
10125         (remquo_test_data): Likewise.
10127 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
10129         [BZ #19602]
10130         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
10131         equal high parts and both low parts zero specially.
10132         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
10133         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
10134         Add test-fmodl-ldbl-128ibm.
10136         [BZ #19595]
10137         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
10138         common logic for all cases of shifting subnormal results.  Do not
10139         insert sign bit in shifted mantissa.  Always pass -1023 as biased
10140         exponent to ldbl_insert_mantissa in subnormal case.
10142         [BZ #19594]
10143         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
10144         on high and low parts then adjust result and use
10145         ldbl_canonicalize_int if needed.
10147         [BZ #19593]
10148         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
10149         on high part and __floor or __ceil on low part then use
10150         ldbl_canonicalize_int if needed.
10152         [BZ #19592]
10153         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
10154         high and low parts then use ldbl_canonicalize_int if needed.
10156         [BZ #17899]
10157         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
10158         New function.
10159         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
10160         on high and low parts then use ldbl_canonicalize_int if needed.
10162 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10164         * configure: Regenerated.
10166         * po/libc.pot: Regenerated.
10168         * po/be.po: Updated translation.
10169         * po/bg.po: Likewise.
10170         * po/ca.po: Likewise.
10171         * po/cs.po: Likewise.
10172         * po/da.po: Likewise.
10173         * po/el.po: Likewise.
10174         * po/eo.po: Likewise.
10175         * po/es.po: Likewise.
10176         * po/fi.po: Likewise.
10177         * po/fr.po: Likewise.
10178         * po/gl.po: Likewise.
10179         * po/hr.po: Likewise.
10180         * po/hu.po: Likewise.
10181         * po/ia.po: Likewise.
10182         * po/id.po: Likewise.
10183         * po/it.po: Likewise.
10184         * po/ja.po: Likewise.
10185         * po/lt.po: Likewise.
10186         * po/nb.po: Likewise.
10187         * po/nl.po: Likewise.
10188         * po/pt_BR.po: Likewise.
10189         * po/rw.po: Likewise.
10190         * po/sk.po: Likewise.
10191         * po/sl.po: Likewise.
10192         * po/sv.po: Likewise.
10193         * po/tr.po: Likewise.
10194         * po/zh_CN.po: Likewise.
10195         * po/zh_TW.po: Likewise.
10197         * version.h (RELEAES): Set to "development".
10198         (VERSION): Set to 2.23.90.
10200         * version.h (RELEASE): Set to "stable".
10201         (VERSION): Set to 2.23.
10202         * include/feature.h (__GLIBC_MINOR__): Set to 23.
10204         * NEWS: Updated fixed bugs.
10206 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
10207             Wilco Dijkstra  <wdijkstr@arm.com>
10209         [BZ #19462]
10210         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
10211         (_STRING_INLINE_unaligned): This.
10212         * include/string.h: Include <string_private.h>.
10213         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
10214         _STRING_INLINE_unaligned.
10215         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
10216         (_STRING_INLINE_unaligned): New.
10217         * sysdeps/aarch64/string_private.h: New file.
10218         * sysdeps/generic/string_private.h: Likewise.
10219         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
10220         * sysdeps/s390/string_private.h: Likewise.
10221         * sysdeps/x86/string_private.h: Likewise.
10222         * sysdeps/m68k/m680x0/m68020/bits/string.h
10223         (_STRING_ARCH_unaligned): Renamed to ...
10224         (_STRING_INLINE_unaligned): This.
10225         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
10226         to ...
10227         (_STRING_INLINE_unaligned): This.
10228         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
10229         to ...
10230         (_STRING_INLINE_unaligned): This.
10231         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
10232         to ...
10233         (_STRING_INLINE_unaligned): This.
10235 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
10236             H.J. Lu  <hongjiu.lu@intel.com>
10238         [BZ #19590]
10239         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
10240         relocation.
10242 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
10244         [BZ #18665]
10245         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
10246         *herrno_p.
10247         (gaih_getanswer): Document functional behviour. Return tryagain
10248         if any result is tryagain.
10249         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
10250         when freed.
10251         * resolv/res_send.c: Add copyright text.
10252         (__libc_res_nsend): Document that MAXPACKET is expected.
10253         (send_vc): Document. Remove buffer reuse.
10254         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
10255         size of the buffer. Add Dprint for truncated UDP buffer.
10257 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
10259         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
10260         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
10261         * INSTALL: Regenerate.
10263 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
10264             Jonathan Wakely  <jwakely@redhat.com>
10265             Carlos O'Donell  <carlos@redhat.com>
10267         [BZ 19439]
10268         * math/Makefile (tests): Add test-math-isinff.
10269         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
10270         * math/bits/mathcalls.h [__USE_MISC]: Use
10271         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
10272         functions not in C++11 and which don't conflict e.g. isinff,
10273         isinfl etc.
10274         * math/test-math-isinff.cc: New file.
10276 2016-02-12  Florian Weimer  <fweimer@redhat.com>
10278         * misc/bug18240.c (do_test): Set RLIMIT_AS.
10280 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10282         [BZ #19529]
10283         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
10285 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10287         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10289 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
10291         [BZ #19550]
10292         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
10293         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
10294         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
10295         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
10296         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
10297         New syscall entry.
10298         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
10299         New syscall entry.
10300         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
10301         syscall entry.
10303 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
10305         [BZ #18240]
10306         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
10307         unsigned int wraparound.
10309 2016-01-27  Florian Weimer  <fweimer@redhat.com>
10311         [BZ #18240]
10312         * misc/bug18240.c: New test.
10313         * misc/Makefile (tests): Add it.
10315 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
10316             Joseph Myers  <joseph@codesourcery.com>
10318         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
10319         load in branch delay slot when less than a word of input left.
10321 2016-01-27  Andreas Schwab  <schwab@suse.de>
10323         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
10324         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
10325         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
10326         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
10328 2016-01-26  David S. Miller  <davem@davemloft.net>
10330         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
10332 2016-01-25  David S. Miller  <davem@davemloft.net>
10334         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
10335         __sqrtl_finite.
10336         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
10337         instead using versioned_symbol.
10338         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
10339         of entries.
10341         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
10342         __sqrtl_finite to GLIBC_2.23
10344 2016-01-25  Ricchard Henderson  <rth@redhat.com>
10346         * sysdeps/alpha/fpu/libm-test-ulps: Update.
10348 2016-01-25  Andreas Schwab  <schwab@suse.de>
10350         [BZ #17514]
10351         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
10352         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
10353         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
10354         * nptl/tst-mutex-errorcheck.c: New file.
10356 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10358         [BZ #18560]
10359         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
10360         (IPCOP_semop): Likewise.
10361         (IPCOP_semget): Likewise.
10362         (IPCOP_semctl): Likewise.
10363         (IPCOP_msgsnd): Likewise.
10364         (IPCOP_msgrcv): Likewise.
10365         (IPCOP_msgget): Likewise.
10366         (IPCOP_msgctl): Likewise.
10367         (IPCOP_shmat): Likewise.
10368         (IPCOP_shmdt): Likewise.
10369         (IPCOP_shmget): Likewise.
10370         (IPCOP_shmctl): Likewise.
10372 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
10374         * string/tst-endian.c: Include <libc-internal.h>.
10375         (do_test): Ignore tautological-compare warnings around
10376         "htobeXX (beXXtoh (i)) != i" and
10377         "htoleXX (leXXtoh (i)) != i" if-statements.
10379 2016-01-24  David S. Miller  <davem@davemloft.net>
10381         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
10382         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
10383         alias.
10384         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
10385         __sqrtl_finite.
10387         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10389 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
10391         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
10392         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
10393         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10395 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10397         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
10398         (thread_func): Use new function to simplify barrier check.
10399         (do_test): Use new function to simplify checking barrier exit
10400         code, and actually join the child thread.
10402 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10404         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
10405         semicolon.
10406         (__libc_tend): Likewise.
10407         (__libc_tabort): Likewise.
10409 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
10411         * sysdeps/nios2/libm-test-ulps: Update.
10412         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
10413         (__gtsf2): Likewise.
10414         (__unorddf2): Likewise.
10415         (__unordsf2): Likewise.
10416         (__ledf2): Likewise.
10418 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
10420         * nis/nis_table.c (__follow_path): Disable diagnostic for
10421         uninitialized variable that is a false positive for gcc 4.7.
10422         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
10424 2016-01-20  Roland McGrath  <roland@hack.frob.com>
10426         * sysdeps/nacl/lowlevellock-futex.h
10427         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
10428         Always evaluate PRIVATE argument.
10430 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
10432         [BZ #19490]
10433         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
10434         (pthread_cond_broadcast): Use ENTRY/END
10435         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
10436         (pthread_cond_signal): Likewise.
10437         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
10438         Likewise.
10439         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
10440         Likewise.
10441         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
10442         Likewise.
10444 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
10446         * sysdeps/ieee754/dbl-64/s_finite.c
10447         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
10448         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
10449         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
10450         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
10451         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
10453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10454         (__gtsf2): Add as optional for libc.so.
10455         (__unordsf2): Likewise.
10456         (__signbit): Remove for libc.so.
10457         (__signbitl): Likewise.
10459 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10461         * iconvdata/bug-iconv11.c (test_ibm93x):
10462         Use %zu printf format specifier for size_t argument.
10464 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
10466         * math/gen-libm-test.pl (parse_ulps): Do not reduce
10467         already-recorded ulps.
10468         * sysdeps/arm/libm-test-ulps: Regenerated.
10469         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10470         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10471         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10473 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10474             Paul Pluzhnikov  <ppluzhnikov@google.com>
10476         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
10477         assembler not supporting AVX-512.
10479 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
10481         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10483 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
10485         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10486         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10488         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10490         * sysdeps/arm/libm-test-ulps: Regenerated.
10492 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
10494         [BZ #19451]
10495         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
10497 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10499         [BZ #19486]
10500         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
10501         * sysdeps/generic/fix-fp-int-convert-overflow.h
10502         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
10503         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
10504         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
10505         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
10506         Likewise.
10507         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
10508         Avoid conversions to long int where inexact exceptions
10509         could be raised.
10510         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
10511         Likewise.
10512         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
10513         Avoid conversions to long long int where inexact exceptions
10514         could be raised.
10515         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
10516         Likewise.
10518 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
10520         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
10521         * configure: Regenerated.
10523 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
10525         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
10527 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
10529         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
10530         outside of comment.
10532 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10534         * nptl/tst-barrier1.c: Add description on first line.
10535         * nptl/tst-barrier2.c: Likewise.
10536         * nptl/tst-barrier3.c: Likewise.
10537         * nptl/tst-barrier4.c: Likewise.
10538         * nptl/tst-barrier5.c: Likewise.
10540 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10542         [BZ #18868]
10543         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
10545 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
10547         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
10548         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
10549         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
10550         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
10551         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
10552         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
10553         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10554         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10555         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10556         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10557         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10559 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10561         [BZ #13065]
10562         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
10563         new implementation.
10564         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
10565         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
10566         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
10567         (BARRIER_IN_THRESHOLD): New macro.
10568         * nptl/pthread_barrierattr_setpshared.c
10569         (pthread_barrierattr_setpshared): Clean up.
10570         * nptl/tst-barrier4.c: Correct comment.
10571         * nptl/tst-barrier5.c: New file.
10572         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
10573         (gen-as-const-headers): Remove lowlevelbarrier.sym.
10574         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
10575         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
10576         * nptl/lowlevelbarrier.sym: Remove.
10577         * nptl/DESIGN-barrier.txt: Remove.
10578         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
10579         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
10580         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
10581         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
10582         error.
10583         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
10584         implementation.
10586 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10588         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
10589         (do_child): Mask SIGRTMIN while thr is running.
10591 2016-01-15  Martin Sebor  <msebor@redhat.com>
10593         [BZ #19432]
10594         * iconvdata/Makefile: Add bug-iconv11.
10595         * iconvdata/bug-iconv11.c: New test.
10596         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
10597         * iconvdata/ibm933.c: Same.
10598         * iconvdata/ibm935.c: Same.
10599         * iconvdata/ibm937.c: Same.
10600         * iconvdata/ibm939.c: Same.
10602 2016-01-15  Martin Sebor  <msebor@redhat.com>
10604         [BZ #19443]
10605         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
10606         [DEBUG] (_ufc_set_bits): Declare used.
10607         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
10608         [DEBUG] (print_all): Declare used.
10609         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
10610         operands of the ternary ?: expression to target type.
10611         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
10612         calling the undeclared abort.
10613         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
10615 2016-01-15  Martin Sebor  <msebor@redhat.com>
10617         [BZ #18755]
10618         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
10619         warnings.
10620         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
10621         (__gai_create_helper_thread): Same.
10622         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
10623         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
10624         to suppress -Wmaybe-uninitialized warnings.
10626 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
10628         [BZ #19465]
10629         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
10630         inside if.
10631         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10632         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10633         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10635 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
10637         [BZ #19466]
10638         * time/tst-mktime2.c (time_t_max): Removed.
10639         (time_t_min): Likewise.
10640         (TYPE_SIGNED): New.
10641         (TYPE_MINIMUM): Likewise.
10642         (TYPE_MAXIMUM): Likewise.
10643         (TIME_T_MIN): Likewise.
10644         (TIME_T_MAX): Likewise.
10645         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
10646         and TIME_T_MIN.
10647         (do_test): Likewise.
10649 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
10651         [BZ #19467]
10652         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10653         index_Fast_Unaligned_Load flag for Excavator family CPUs.
10655 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
10657         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
10659 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
10661         * benchtests/Makefile (PYTHON): Define.
10662         (bench-func): Use $(PYTHON) to run python scripts.
10663         ($(objpfx)bench-%.c): Likewise.
10665 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
10667         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
10668         leading slash when `file_name' is "/".
10670 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
10672         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
10673         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
10674         Likewise.
10675         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
10676         Likewise.
10677         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
10678         Likewise.
10679         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
10680         enum constant and macro.
10681         (PTRACE_SETSIGMASK): Likewise.
10682         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10683         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10684         (PTRACE_GETSIGMASK): Likewise.
10685         (PTRACE_SETSIGMASK): Likewise.
10686         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10687         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
10688         Likewise.
10689         (PTRACE_SETSIGMASK): Likewise.
10690         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10691         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10692         (PTRACE_GETSIGMASK): Likewise.
10693         (PTRACE_SETSIGMASK): Likewise.
10694         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10695         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
10696         Likewise.
10697         (PTRACE_SETSIGMASK): Likewise.
10698         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10699         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
10700         Likewise.
10701         (PTRACE_SETSIGMASK): Likewise.
10702         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10703         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
10704         Likewise.
10705         (PTRACE_SETSIGMASK): Likewise.
10706         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10708 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
10709             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10711         [BZ #19439]
10712         * math/bits/mathcalls.h
10713         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
10714         prototype.
10715         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
10717 2016-01-11  Andreas Schwab  <schwab@suse.de>
10719         [BZ #19253]
10720         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
10721         cache when TZDEFRULES was used.
10722         * time/tst-tzname.c: New file.
10723         * time/Makefile (test): Add tst-tzname.
10724         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
10725         * timezone/Makefile (test-zones): Add $(posixrules-file).
10726         ($(testdata)/$(posixrules-file)): New rule.
10728 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
10730         Fix doc quoting problems with Texinfo 5
10731         Without this change, in the info file output, Texinfo 5 quotes code
10732         in text with undirected single quotes 'like this' and generates
10733         code examples that with many PDF readers cannot be cut out of PDFs
10734         and pasted into code.
10735         * manual/libc.texinfo: Configure the libc manual like the GNU
10736         Emacs manual, by using @documentencoding and setting
10737         txicodequoteundirected and txicodequotebacktick.  This way,
10738         Texinfo 5 quotes code in text with directed single quotes ‘like
10739         this’ and produces examples that can be cut out of PDFs.  This
10740         change causes Texinfo 5 to generate info files that contain UTF-8
10741         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
10742         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
10744 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10746         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
10747         __libc_tabort, __libc_tend): New wrappers that enforce compiler
10748         barriers to their respective compiler built-ins.
10749         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
10750         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
10751         * sysdeps/powerpc/sysdep.h: Likewise.
10752         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
10753         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
10754         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
10756 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
10758         * scripts/config.guess: Revert previous shebang change.
10759         * scripts/config.sub: Likewise.
10760         * scripts/mkinstalldirs: Likewise.
10762 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10764         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
10765         PPC_FEATURE2_HAS_IEEE128.
10766         * sysdeps/powerpc/dl-procinfo.c:
10767         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
10769 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
10771         [BZ #19415]
10772         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
10773         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
10774         (_dl_lookup_address): Rewrite using function resolver trampoline.
10775         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
10776         two bits in address.
10778 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
10780         * longlong.h: Change !__SHMEDIA__ to
10781         (!defined (__SHMEDIA__) || !__SHMEDIA__).
10782         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
10784 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
10785             Joseph Myers  <joseph@codesourcery.com>
10786             Mark Shinwell  <shinwell@codesourcery.com>
10787             Andrew Stubbs  <ams@codesourcery.com>
10788             Rich Felker <dalias@libc.org>
10790         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
10792 2016-01-07  Richard Henderson  <rth@redhat.com>
10794         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
10796 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
10798         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
10799         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
10800         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10801         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10802         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
10804 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
10805             Joseph Myers  <joseph@codesourcery.com>
10807         * timezone/private.h: Update from tzcode 2015g.
10808         * timezone/tzfile.h: Likewise.
10809         * timezone/tzselect.ksh: Likewise.
10810         * timezone/zdump.c: Likewise.
10811         * timezone/zic.c: Likewise.
10812         * timezone/ialloc.c: Remove file.
10813         * timezone/scheck.c: Likewise.
10814         * timezone/Makefile (extra-objs): Remove variable.
10815         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
10816         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
10817         -Wno-maybe-uninitialized.
10818         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
10819         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
10820         (CFLAGS-ialloc.c): Remove variable.
10821         (CFLAGS-scheck.c): Likewise.
10822         * timezone/README: Update list of files from tzcode.
10824 2016-01-07  Khem Raj  <raj.khem@gmail.com>
10826         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
10827         instead of __fxprintf when _LIBC is undefined.
10829 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
10831         * catgets/test-gencat.sh: Remove space after shebang.
10832         * conform/GlibcConform.pm: Likewise.
10833         * conform/check-header-lists.sh: Likewise.
10834         * conform/conformtest.pl: Likewise.
10835         * conform/linknamespace.pl: Likewise.
10836         * conform/list-header-symbols.pl: Likewise.
10837         * debug/catchsegv.sh: Likewise.
10838         * elf/genrtldtbl.awk: Likewise.
10839         * elf/tst-pathopt.sh: Likewise.
10840         * elf/tst-rtld-load-self.sh: Likewise.
10841         * grp/tst_fgetgrent.sh: Likewise.
10842         * iconvdata/gen-8bit-gap-1.sh: Likewise.
10843         * iconvdata/gen-8bit-gap.sh: Likewise.
10844         * iconvdata/gen-8bit.sh: Likewise.
10845         * iconvdata/run-iconv-test.sh: Likewise.
10846         * intl/tst-gettext.sh: Likewise.
10847         * intl/tst-gettext2.sh: Likewise.
10848         * intl/tst-gettext4.sh: Likewise.
10849         * intl/tst-gettext6.sh: Likewise.
10850         * intl/tst-translit.sh: Likewise.
10851         * io/ftwtest-sh: Likewise.
10852         * libio/test-freopen.sh: Likewise.
10853         * locale/gen-translit.pl: Likewise.
10854         * malloc/tst-mtrace.sh: Likewise.
10855         * manual/check-safety.sh: Likewise.
10856         * manual/libc-texinfo.sh: Likewise.
10857         * manual/tsort.awk: Likewise.
10858         * manual/xtract-typefun.awk: Likewise.
10859         * nptl/tst-cancel-wrappers.sh: Likewise.
10860         * nptl/tst-tls6.sh: Likewise.
10861         * posix/globtest.sh: Likewise.
10862         * posix/tst-getconf.sh: Likewise.
10863         * posix/wordexp-tst.sh: Likewise.
10864         * scripts/check-c++-types.sh: Likewise.
10865         * scripts/check-local-headers.sh: Likewise.
10866         * scripts/config.guess: Likewise.
10867         * scripts/config.sub: Likewise.
10868         * scripts/cpp: Likewise.
10869         * scripts/cross-test-ssh.sh: Likewise.
10870         * scripts/documented.sh: Likewise.
10871         * scripts/evaluate-test.sh: Likewise.
10872         * scripts/gen-libc-abis: Likewise.
10873         * scripts/gen-sorted.awk: Likewise.
10874         * scripts/list-fixed-bugs.py: Likewise.
10875         * scripts/merge-test-results.sh: Likewise.
10876         * scripts/mkinstalldirs: Likewise.
10877         * scripts/rellns-sh: Likewise.
10878         * scripts/test-installation.pl: Likewise.
10879         * scripts/update-copyrights: Likewise.
10880         * stdio-common/tst-printf.sh: Likewise.
10881         * stdio-common/tst-unbputc.sh: Likewise.
10882         * stdlib/tst-fmtmsg.sh: Likewise.
10883         * stdlib/tst-setcontext3.sh: Likewise.
10884         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
10885         * sysdeps/unix/make-syscalls.sh: Likewise.
10887 2016-01-06  John David Anglin  <dave.anglin@bell.net>
10889         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
10890         asm stw with atomic_exchange_rel.  Add explanatory comment.
10891         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
10892         Likewise.
10894 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
10896         [BZ #19122]
10897         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
10898         * sysdeps/generic/dl-unistd.h: New file.
10899         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
10901 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
10903          [BZ #19122]
10904          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
10905          * sysdeps/generic/dl-mman.h: New file.
10906          * sysdeps/mach/hurd/dl-mman.h: Likewise.
10908 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
10910         * manual/texinfo.tex: Update to version 2016-01-04.21 with
10911         trailing whitespace removed.
10912         * scripts/config.guess: Update to version 2016-01-01.
10913         * scripts/config.sub: Update to version 2016-01-01.
10914         * scripts/move-if-change: Update from gnulib.
10916 2016-01-04  Anton Blanchard  <anton@samba.org>
10918         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
10919         for array indices.
10920         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
10922 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
10924         * NEWS: Update copyright dates.
10925         * catgets/gencat.c (print_version): Likewise.
10926         * csu/version.c (banner): Likewise.
10927         * debug/catchsegv.sh: Likewise.
10928         * debug/pcprofiledump.c (print_version): Likewise.
10929         * debug/xtrace.sh (do_version): Likewise.
10930         * elf/ldconfig.c (print_version): Likewise.
10931         * elf/ldd.bash.in: Likewise.
10932         * elf/pldd.c (print_version): Likewise.
10933         * elf/sotruss.sh: Likewise.
10934         * elf/sprof.c (print_version): Likewise.
10935         * iconv/iconv_prog.c (print_version): Likewise.
10936         * iconv/iconvconfig.c (print_version): Likewise.
10937         * locale/programs/locale.c (print_version): Likewise.
10938         * locale/programs/localedef.c (print_version): Likewise.
10939         * login/programs/pt_chown.c (print_version): Likewise.
10940         * malloc/memusage.sh (do_version): Likewise.
10941         * malloc/memusagestat.c (print_version): Likewise.
10942         * malloc/mtrace.pl: Likewise.
10943         * manual/libc.texinfo: Likewise.
10944         * nptl/version.c (banner): Likewise.
10945         * nscd/nscd.c (print_version): Likewise.
10946         * nss/getent.c (print_version): Likewise.
10947         * nss/makedb.c (print_version): Likewise.
10948         * posix/getconf.c (main): Likewise.
10949         * scripts/test-installation.pl: Likewise.
10950         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10952         * All files with FSF copyright notices: Update copyright dates
10953         using scripts/update-copyrights.
10954         * intl/plural.c: Regenerated.
10955         * locale/programs/charmap-kw.h: Likewise.
10956         * locale/programs/locfile-kw.h: Likewise.
10958 2016-01-02  Helge Deller  <deller@gmx.de>
10960         [BZ #19285]
10961         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
10962         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
10963         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
10964         (MADV_xxK_PAGES): Remove.
10966 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
10968         [BZ #15421]
10969         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
10970         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
10971         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
10972         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
10974 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
10976         [BZ #19408]
10977         * sysdeps/unix/sysv/linux/personality.c: New file.
10978         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
10979         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
10980         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
10981         (sysdep_routines): Add personality.
10982         (tests): Add tst-personality.
10983         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
10984         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
10985         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
10986         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
10987         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
10988         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
10989         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
10990         Likewise.
10991         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
10992         Likewise.
10993         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
10994         Likewise.
10995         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
10996         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
10997         Likewise.
10999 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
11001         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
11002         (PATH_ARM_SYSTYPE): Remove.
11003         (PATH_CPUINFO): Likewise.
11004         (IO_BASE_FOOTBRIDGE): Likewise.
11005         (IO_SHIFT_FOOTBRIDGE): Likewise.
11006         (struct platform): Likewise.
11007         (init_iosys): Remove compatibility code for 2.4 kernels.
11008         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
11010 2015-12-29  Florian Weimer  <fweimer@redhat.com>
11012         * malloc/tst-malloc-thread-fail.c: New file.
11013         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
11014         (tst-malloc-thread-fail): Link against libpthread.
11016 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
11018         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
11019         (get_parser): New function.
11020         (main): New function.
11022 2015-12-29  Rob Wu  <rob@robwu.nl>
11024         [BZ #19369]
11025         * resolv/res_init.c (__res_vinit): Reset defdname before use.
11027 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
11029         [BZ #19270]
11030         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
11032 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
11034         [BZ #15421]
11035         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
11037 2015-12-23  Torvald Riegel  <triegel@redhat.com>
11039         [BZ #13690]
11040         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
11041         after releasing it.
11042         (__lll_robust_unlock): Likewise.
11043         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11044         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
11045         (lll_robust_unlock): Likewise.
11046         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
11047         Prevent warnings in callers.
11049 2015-12-23  Florian Weimer  <fweimer@redhat.com>
11051         * malloc/arena.c (list_lock): Update comment.
11053 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11055         * sysdeps/powerpc/hwcapinfo.c: Export symbol
11056         __parse_hwcap_and_convert_at_platform to libc.a.
11058 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11060         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
11061         platform and feature support for POWER9.
11062         * sysdeps/powerpc/dl-procinfo.h: Likewise.
11063         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
11064         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
11065         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
11066         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
11067         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11068         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11069         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11071 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11073         Harmonize generic stdio-lock support with nptl
11075         This fixes build when _IO_funlockfile is a macro, fixes build where
11076         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
11077         stack unwind.
11079         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
11080         _IO_release_lock ): Use cleanup attribute on new
11081         _IO_acquire_lock_file variable instead of assuming that
11082         _IO_release_lock will be called.
11083         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
11084         _IO_acquire_lock_needs_exceptions_enabled.
11085         (_IO_acquire_lock_clear_flags2): New macro.
11087 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11089         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11091 2015-12-21  Florian Weimer  <fweimer@redhat.com>
11093         [BZ #19182]
11094         * malloc/arena.c (list_lock): Document lock ordering requirements.
11095         (free_list_lock): New lock.
11096         (ptmalloc_lock_all): Comment on free_list_lock.
11097         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
11098         (detach_arena): Update comment.  free_list_lock is now needed.
11099         (_int_new_arena): Use free_list_lock around detach_arena call.
11100         Acquire arena lock after list_lock.  Add comment, including FIXME
11101         about incorrect synchronization.
11102         (get_free_list): Switch to free_list_lock.
11103         (reused_arena): Acquire free_list_lock around detach_arena call
11104         and attached threads counter update.  Add two FIXMEs about
11105         incorrect synchronization.
11106         (arena_thread_freeres): Switch to free_list_lock.
11107         * malloc/malloc.c (struct malloc_state): Update comments to
11108         mention free_list_lock.
11110 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
11112         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
11113         Remove functions.
11114         (sloww, sloww1): Accept argument to offset quadrant.
11115         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
11116         quadrant.
11117         (__sin, __cos): Consolidate common code into new functions.
11118         (reduce_sincos_1, do_sincos_1): New functions.
11119         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
11121         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
11122         code to new functions.
11123         (reduce_sincos_2, do_sincos_2): New functions.
11124         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
11126         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
11127         common code for sincos.
11128         (__cos) [!IN_SINCOS]: Likewise.
11129         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
11130         New function.
11131         (__sincos): Use it.
11133 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
11135         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
11136         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
11137         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11139 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11141         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
11142         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
11143         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
11144         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
11145         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11146         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
11147         index_Prefer_No_VZEROUPPER): New feature.
11148         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
11149         Prefer_No_VZEROUPPER for Knights Landing.
11151 015-12-18  Torvald Riegel  <triegel@redhat.com>
11153         * math/atest-exp2.c (mp_exp_m1): Remove.
11155 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11157         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
11158         syscalls.
11159         (__SYSCALL0): New macro.
11160         (__SYSCALL1): Likewise.
11161         (__SYSCALL2): Likewise.
11162         (__SYSCALL3): Likewise.
11163         (__SYSCALL4): Likewise.
11164         (__SYSCALL5): Likewise.
11165         (__SYSCALL6): Likewise.
11166         (__SYSCALL_CONCAT_X): Likewise.
11167         (__SYSCALL_CONCAT): Likewise.
11168         (__SYSCALL_DIST): Likewise.
11169         (__SYSCALL_CALL): Likewise.
11171 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
11173         [BZ #19363]
11174         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
11176 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11178         [BZ #19375]
11179         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
11180         negative subnormals.
11182 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
11184         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11185         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
11186         (INTERNAL_SYSCALL_NCS): Use it.
11187         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11189 2015-12-16  Florian Weimer  <fweimer@redhat.com>
11191         [BZ #19243]
11192         * malloc/arena.c (get_free_list): Remove assert and adjust
11193         reference count handling.  Add comment about reused_arena
11194         interaction.
11195         (reused_arena): Add comments abount get_free_list interaction.
11196         * malloc/tst-malloc-thread-exit.c: New file.
11197         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
11198         (tst-malloc-thread-exit): Link against libpthread.
11200 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
11202         [BZ #19367]
11203         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
11204         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
11205         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
11206         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
11207         (index_Prefer_MAP_32BIT_EXEC): Likewise.
11209 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
11211         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
11212         Silvermont optimizations for Knights Landing.
11214 2015-12-15  Andreas Schwab  <schwab@suse.de>
11216         [BZ #17197]
11217         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
11218         immediately after emitting SI.
11219         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
11220         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
11221         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
11222         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
11223         * iconvdata/bug-iconv10.c: New file.
11224         * iconvdata/Makefile (tests): Add bug-iconv10.
11225         ($(objpfx)bug-iconv10.out): New rule.
11227 2015-12-15  Florian Weimer  <fweimer@redhat.com>
11229         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
11230         aliasing violation.
11232 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
11234         [BZ #18472]
11235         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
11236         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
11237         conditionals for them.
11238         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
11239         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
11240         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
11241         sys/kdaemon.h.
11242         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
11243         compat-only syscall, obsoleted in glibc 2.23.
11244         (create_module): Likewise.
11245         (get_kernel_syms): Likewise.
11246         (query_module): Likewise.
11247         (uselib): Likewise.
11248         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
11250 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
11252         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
11253         <linux/version.h>.
11254         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
11255         conditional code.
11256         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
11257         and ioshift_name initialization.
11259 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
11261         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11262         Fix indentation.
11264 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
11266         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
11268 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
11270         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
11272 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
11273             Jakub Wilk  <jwilk@debian.org>
11275         [BZ #19347]
11276         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
11277         to change the group of the device to the tty group.
11279 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
11281         Split large string section; add truncation advice
11282         * manual/examples/strncat.c: Remove.
11283         This example was misleading, as the code would have undefined
11284         behavior if "hello" was longer than SIZE.  Anyway, the manual
11285         shouldn't encourage strncpy+strncat for this sort of thing.
11286         * manual/string.texi (Copying Strings and Arrays): Split into
11287         three sections Copying Strings and Arrays, Concatenating Strings,
11288         and Truncating Strings, as this section was way too long.  All
11289         cross-referenced changed.  Add advice about string-truncation
11290         functions.  Remove misleading strncat example.
11292 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
11294         * manual/nss.texi (NSS Modules Interface): Document
11295         NSS_STATUS_NOTFOUND and SUCCESS.
11297 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
11299         [BZ 18568]
11300         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
11301         201505L, for Unicode 8.
11303 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
11305         * locale/C-translit.h: Regenerate.
11307 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
11309         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
11310         and U+0153.
11312 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
11314         [BZ #19351]
11315         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
11316         expanding log(1+z), compare z rather than its square with epsilon
11317         to determine when to avoid evaluating the expansion.
11319         [BZ #19350]
11320         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
11321         Increase overflow threshold.
11323         [BZ #19349]
11324         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
11325         when small.
11327         * sysdeps/unix/sysv/linux/i386/kernel-features.h
11328         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
11329         New macro.
11330         [__LINUX_KERNEL_VERSION >= 0x040300]
11331         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11332         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
11333         Likewise.
11334         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
11335         Likewise.
11336         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
11337         Likewise.
11338         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
11339         Likewise.
11340         [__LINUX_KERNEL_VERSION >= 0x040300]
11341         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
11342         [__LINUX_KERNEL_VERSION >= 0x040300]
11343         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11344         [__LINUX_KERNEL_VERSION >= 0x040300]
11345         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11346         [__LINUX_KERNEL_VERSION >= 0x040300]
11347         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11348         [__LINUX_KERNEL_VERSION >= 0x040300]
11349         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11350         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
11351         Likewise.
11352         [__LINUX_KERNEL_VERSION >= 0x040300]
11353         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
11354         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11355         Likewise.
11356         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
11357         Likewise.
11358         [__LINUX_KERNEL_VERSION >= 0x040300]
11359         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
11360         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11361         Likewise.
11362         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
11363         Likewise.
11364         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11365         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
11366         Likewise.
11367         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
11368         Likewise.
11369         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
11370         Likewise.
11371         [__LINUX_KERNEL_VERSION >= 0x040300]
11372         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11373         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
11374         Likewise.
11375         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
11376         Likewise.
11377         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
11378         Likewise.
11379         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
11380         Likewise.
11381         [__LINUX_KERNEL_VERSION >= 0x040300]
11382         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
11383         [__LINUX_KERNEL_VERSION >= 0x040300]
11384         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11385         [__LINUX_KERNEL_VERSION >= 0x040300]
11386         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11387         [__LINUX_KERNEL_VERSION >= 0x040300]
11388         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11389         [__LINUX_KERNEL_VERSION >= 0x040300]
11390         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11391         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
11392         Likewise.
11393         [__LINUX_KERNEL_VERSION >= 0x040300]
11394         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
11395         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11396         Likewise.
11397         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
11398         Likewise.
11399         [__LINUX_KERNEL_VERSION >= 0x040300]
11400         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
11401         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11402         Likewise.
11403         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
11404         Likewise.
11405         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11406         (__ASSUME_SOCKET_SYSCALL): Likewise.
11407         (__ASSUME_BIND_SYSCALL): Likewise.
11408         (__ASSUME_CONNECT_SYSCALL): Likewise.
11409         (__ASSUME_LISTEN_SYSCALL): Likewise.
11410         (__ASSUME_ACCEPT_SYSCALL): Likewise.
11411         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11412         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11413         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11414         (__ASSUME_SEND_SYSCALL): Likewise.
11415         (__ASSUME_SENDTO_SYSCALL): Likewise.
11416         (__ASSUME_RECV_SYSCALL): Likewise.
11417         (__ASSUME_RECVFROM_SYSCALL): Likewise.
11418         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
11419         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11420         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11421         (__ASSUME_SENDMSG_SYSCALL): Likewise.
11422         (__ASSUME_RECVMSG_SYSCALL): Likewise.
11423         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11424         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
11425         Likewise.
11426         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
11427         Likewise.
11428         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
11429         Likewise.
11430         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
11431         Likewise.
11432         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
11433         Likewise.
11434         [__LINUX_KERNEL_VERSION >= 0x020625]
11435         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11436         [__LINUX_KERNEL_VERSION >= 0x020625]
11437         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11438         [__LINUX_KERNEL_VERSION >= 0x020625]
11439         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11440         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
11441         Likewise.
11442         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
11443         Likewise.
11444         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
11445         Likewise.
11446         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
11447         Likewise.
11448         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
11449         Likewise.
11450         [__LINUX_KERNEL_VERSION >= 0x020625]
11451         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11452         [__LINUX_KERNEL_VERSION >= 0x020625]
11453         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11454         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
11455         Likewise.
11456         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
11457         Likewise.
11459 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
11461         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
11462         record the current if the current ABI and CPU support the FP64
11463         extension.
11464         (has-modd-spreg): Define to record the current if the current ABI and
11465         CPU support 32-bit floating point values in odd FPU registers.
11466         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11467         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
11468         $(has-modd-spreg) equals yes.
11469         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
11470         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
11471         $(has-modd-spreg) equal yes.
11473 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
11475         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
11476         basename.
11478 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
11480         * benchtests/Makefile (bench-math): Move ffs and ffsll...
11481         (bench-string): ... here.
11482         (bench): Add bench-string.
11483         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
11484         to *-benchset to reflect what they are.
11485         (benchset): Adjust.
11487         * benchtests/sincos-inputs: Add inputs from sin-inputs and
11488         cos-inputs.
11490 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
11492         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
11493         __attribute__ ((__simd__)) for vector math function declarations.
11495 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11497         Fix typo in strncat, wcsncat manual entries
11498         * manual/string.texi (Copying and Concatenation): Fix typos in
11499         sample implementations of strncat and wcsncat, by having them use
11500         the old value of the destination length, not the new one.
11502 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
11504         [BZ #16961]
11505         [BZ #16962]
11506         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
11507         string on the stack for strtod.
11508         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
11509         a string on the stack for strtof.
11510         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
11511         constructing a string on the stack for strtold.
11512         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
11513         __strtold_nan to GLIBC_PRIVATE.
11514         * math/test-nan-overflow.c: New file.
11515         * math/test-nan-payload.c: Likewise.
11516         * math/Makefile (tests): Add test-nan-overflow and
11517         test-nan-payload.
11519 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11521         Consistency about byte vs character in string.texi
11522         * manual/string.texi (String and Array Utilities):
11523         Distinguish more carefully among bytes, multibyte characters,
11524         and wide characters.  Use "byte" when talking about C 'char',
11525         to distinguish it more clearly from multibyte characters.
11526         Say "wide character" or "multibyte character" instead of
11527         "character", when a wide or multibyte character is intended.
11528         Similarly for "multibyte string" versus "string".
11529         Define these terms more carefully.
11531 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
11533         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
11534         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
11535         Likewise.
11536         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
11537         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
11538         * sysdeps/sh/math_private.h: New file.
11539         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
11540         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
11541         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
11542         long double function name.
11543         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11544         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11545         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11546         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11547         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
11549         Remove __finitel, __isinfl, and __isnanl.
11550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
11551         Likewise.
11552         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11554         Remove __finitel.
11555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11556         Likewise.
11557         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11559 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
11561         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
11562         installed libmvec_nonshared.a.
11564 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11566         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
11567         (sysdep_routines): Likewise.
11568         (sysdep-rtld-routines): Likewise.
11569         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
11570         [$(subdir) = nptl](tests-static): test-get_hwcap-static
11571         * sysdeps/powerpc/Versions: Added new
11572         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
11573         * sysdeps/powerpc/hwcapinfo.c: New file.
11574         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
11575         and parse hwcap, hwcap2 and platform number information.
11576         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
11577         to store HWCAP+HWCAP2 and platform number.
11578         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
11579         for HWCAP+HWCAP2 and platform number in the TCB.
11580         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
11581         the HWCAP, HWCAP2 and platform number in the TCB.
11582         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
11583         (TLS_INIT_TP): Included calls to add the hwcap and
11584         at_platform values in the TCB in TP initialization.
11585         (TLS_DEFINE_INIT_TP): Likewise.
11586         (THREAD_GET_HWCAP): New macro.
11587         (THREAD_SET_HWCAP): Likewise.
11588         (THREAD_GET_AT_PLATFORM): Likewise.
11589         (THREAD_SET_AT_PLATFORM): Likewise.
11590         * sysdeps/powerpc/powerpc32/dl-machine.h:
11591         (dl_platform_init): New function that calls
11592         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
11593         powerpc32.
11594         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
11595         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
11596         this functionality, static linking case.
11597         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
11598         linking case.
11599         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
11600         __parse_hwcap_and_convert_at_platform for the static linking case.
11601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
11602         Included the new __parse_hwcap_and_convert_at_platform symbol in the
11603         ABI list for GLIBC 2.23.
11604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
11605         Likewise.
11606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
11607         Likewise.
11609 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
11611         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
11612         * configure: Regenerate.
11613         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
11614         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
11616 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
11618         * iconvdata/ibm930.c: Add comment explaining encoding uses.
11619         * iconvdata/ibm933.c: Likewise.
11620         * iconvdata/ibm935.c: Likewise.
11621         * iconvdata/ibm937.c: Likewise.
11622         * iconvdata/ibm939.c: Likewise.
11624 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11626         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
11627         pthread_join.
11628         * nptl/tst-cancel21.c (tf): Likewise.
11630 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
11632         [BZ #19313]
11633         * bits/typesizes.h (__CPU_MASK_TYPE): New.
11634         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
11635         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
11636         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
11637         Likewise.
11638         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
11639         Likewise.
11640         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
11641         Likewise.
11642         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
11643         Likewise.
11644         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
11645         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
11646         unsigned long int with __CPU_MASK_TYPE.
11648 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11650         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11652 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
11654         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
11655         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
11656         t512.x.
11657         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
11659 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
11661         [BZ #19214]
11662         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
11663         argument to return extended model.  Update family and model
11664         with extended family and model when family == 0x0f.
11665         (init_cpu_features): Updated.
11667 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11669         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
11670         signed off_t, so 32bit bigger than 2GiB values are fine actually.
11672         * sysdeps/mach/hurd/mmap64.c: New file.
11674 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
11676         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
11677         rights for its main user thread in NEWTASK.
11679 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
11681         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
11682         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
11684 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
11686         [BZ #14259]
11687         * Makeconfig: Rename localedir to complocaledir.
11688         Rename inst_localedir to inst_complocaledir.
11689         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
11690         * config.make.in: Use complocaledir and libc_cv_complocaledir.
11691         * configure.ac: Use libc_cv_complocaledir.
11692         * configure: Regenerate.
11693         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
11694         -DCOMPLOCALEDIR.
11695         * locale/findlocale.c: Use COMPLOCALEDIR.
11696         * locale/loadarchive.c: Likewise.
11697         * locale/programs/locale.c: Likewise.
11698         * locale/programs/localedef.c: Likewise.
11699         * locale/programs/locarchive.c: Likewise.
11700         * localedata/Makefile: Use inst_complocaledir.
11701         * sysdeps/gnu/configure: Regenerate.
11702         * sysdeps/hppa/configure: Regenerate.
11703         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
11704         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11706         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
11707         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
11708         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
11709         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
11711 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
11713         [BZ #19058]
11714         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
11715         AS_NEEDED.
11716         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
11717         workaround.
11718         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
11719         libmvec-static-only-routines): Added new file.
11720         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
11722 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11724         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
11725         of interrupted RPC instead of restoring it.
11727         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
11728         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
11729         libc_hidden_def.
11730         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
11731         into initialized data instead of common. Define rtld_hidden_data_def.
11732         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
11733         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
11734         libc_hidden_def.
11735         (if_freenameindex): Add libc_hidden_weak.
11736         (if_nameindex): Add libc_hidden_weak.
11737         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
11738         __open64.
11739         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
11740         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
11741         * sysdeps/mach/nanosleep.c: Include <time.h>
11742         (__nanosleep): Rename to __libc_nanosleep.
11743         (__nanosleep): Add weak_alias.
11744         (nanosleep): Update alias.
11746 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
11748         * stdlib/strtod_nan.c: New file.
11749         * stdlib/strtod_nan_double.h: Likewise.
11750         * stdlib/strtod_nan_float.h: Likewise.
11751         * stdlib/strtod_nan_main.c: Likewise.
11752         * stdlib/strtod_nan_narrow.h: Likewise.
11753         * stdlib/strtod_nan_wide.h: Likewise.
11754         * stdlib/strtof_nan.c: Likewise.
11755         * stdlib/strtold_nan.c: Likewise.
11756         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
11757         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
11758         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
11759         * wcsmbs/wcstod_nan.c: Likewise.
11760         * wcsmbs/wcstof_nan.c: Likewise.
11761         * wcsmbs/wcstold_nan.c: Likewise.
11762         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
11763         strtold_nan.
11764         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
11765         wcstof_nan.
11766         * include/stdlib.h (__strtof_nan): Declare and use
11767         libc_hidden_proto.
11768         (__strtod_nan): Likewise.
11769         (__strtold_nan): Likewise.
11770         (__wcstof_nan): Likewise.
11771         (__wcstod_nan): Likewise.
11772         (__wcstold_nan): Likewise.
11773         * include/wchar.h (____wcstoull_l_internal): Declare.
11774         * stdlib/strtod_l.c: Do not include <ieee754.h>.
11775         (____strtoull_l_internal): Remove declaration.
11776         (STRTOF_NAN): Define macro.
11777         (SET_MANTISSA): Remove macro.
11778         (STRTOULL): Likewise.
11779         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
11780         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
11781         (STRTOF_NAN): Define macro.
11782         (SET_MANTISSA): Remove macro.
11783         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
11784         (SET_MANTISSA): Remove macro.
11785         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
11786         macro.
11787         (SET_MANTISSA): Remove macro.
11788         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
11789         macro.
11790         (SET_MANTISSA): Remove macro.
11791         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
11792         (SET_MANTISSA): Remove macro.
11793         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
11794         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
11795         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
11797         [BZ #19266]
11798         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
11799         upper case and lower case letters inside NAN(), not using TOLOWER.
11800         * stdlib/tst-strtod-nan-locale-main.c: New file.
11801         * stdlib/tst-strtod-nan-locale.c: Likewise.
11802         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
11803         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
11804         Depend on $(gen-locales).
11805         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
11806         * wcsmbs/tst-wcstod-nan-locale.c: New file.
11807         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
11808         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
11809         Depend on $(gen-locales).
11810         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
11812 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
11814         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
11816         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
11817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
11818         __finitel, __isinfl, and __isnanl.
11819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
11820         Likewise.
11821         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
11823         __finitel.
11824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11825         Likewise.
11826         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11828 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11830         * malloc/memusage.c (me): Remove redundant getenv call.
11832 2015-10-24  Florian Weimer  <fweimer@redhat.com>
11834         [BZ #19143]
11835         [BZ #19164]
11836         * nptl/check-cpuset.h: Remove.
11837         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
11838         Remove CPU set size check.
11839         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
11840         Likewise.
11841         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
11842         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
11843         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
11844         (__pthread_setaffinity_new): Remove CPU set size check.
11845         * sysdeps/unix/sysv/linux/sched_setaffinity.c
11846         (__kernel_cpumask_size): Remove.
11847         (__sched_setaffinity_new): Remove CPU set size check.
11848         * manual/threads.texi (Default Thread Attributes): Remove stale
11849         reference to check_cpuset_attr, determine_cpumask_size in comment.
11850         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
11851         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
11852         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
11853         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
11854         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
11855         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
11856         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
11857         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
11858         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
11859         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
11860         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
11861         skeleton test file.
11862         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
11863         tst-affinity-pid.
11865 2015-11-24  Florian Weimer  <fweimer@redhat.com>
11867         * scripts/update-abilist.sh: New file.
11868         * Makefile (+subdir_targets): Add subdir_update-all-abi.
11869         * Makerules (update-all-abi-%, update-all-abi)
11870         (subdir_update-all-abi): New targets.
11871         * elf/Makefile (update-all-abi): New target.
11873 2015-11-24  Florian Weimer  <fweimer@redhat.com>
11875         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
11876         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
11877         (__libc_lock_define_initialized): Use it.
11878         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
11879         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
11880         * malloc/malloc.c (main_arena): Likewise.
11881         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
11882         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
11884 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
11886         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11887         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
11888         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11889         (PTRACE_O_MASK): Update value.
11890         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
11891         New value in enum __ptrace_setoptions.
11892         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11893         (PTRACE_O_MASK): Update value.
11894         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11895         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11896         (PTRACE_O_MASK): Update value.
11897         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
11898         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11899         (PTRACE_O_MASK): Update value.
11900         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
11901         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11902         (PTRACE_O_MASK): Update value.
11903         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
11904         New value in enum __ptrace_setoptions.
11905         (PTRACE_O_MASK): Update value.
11906         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
11907         New value in enum __ptrace_setoptions.
11908         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11909         (PTRACE_O_MASK): Update value.
11911         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
11912         New macro.
11913         (PACKET_AUXDATA): Likewise.
11914         (PACKET_ORIGDEV): Likewise.
11915         (PACKET_VERSION): Likewise.
11916         (PACKET_HDRLEN): Likewise.
11917         (PACKET_RESERVE): Likewise.
11918         (PACKET_TX_RING): Likewise.
11919         (PACKET_LOSS): Likewise.
11920         (PACKET_VNET_HDR): Likewise.
11921         (PACKET_TX_TIMESTAMP): Likewise.
11922         (PACKET_TIMESTAMP): Likewise.
11923         (PACKET_FANOUT): Likewise.
11924         (PACKET_TX_HAS_OFF): Likewise.
11925         (PACKET_QDISC_BYPASS): Likewise.
11926         (PACKET_ROLLOVER_STATS): Likewise.
11927         (PACKET_FANOUT_DATA): Likewise.
11928         (PACKET_MR_UNICAST): Likewise.
11930         [BZ #19242]
11931         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
11932         (TOUPPER): Likewise.
11933         * stdlib/tst-strtol-locale-main.c: New file.
11934         * stdlib/tst-strtol-locale.c: Likewise.
11935         * stdlib/Makefile (tests): Add tst-strtol-locale.
11936         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
11937         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
11938         Depend on $(gen-locales).
11939         * wcsmbs/tst-wcstol-locale.c: New file.
11940         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
11941         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
11942         tr_TR.ISO-8859-9.
11943         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
11944         Depend on $(gen-locales).
11946 2015-11-20  Roland McGrath  <roland@hack.frob.com>
11948         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
11949         __glibc_likely instead of __builtin_expect.  After falling back to
11950         dyncode_create in a non-ET_DYN case, use the allocate_code_data
11951         system interface to register the code pages as occupied.
11953 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
11955         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11956         [!ARM_MATH_PRIVATE_H].
11957         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
11958         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11959         [!HPPA_MATH_PRIVATE_H].
11960         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
11961         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
11962         to [!I386_MATH_PRIVATE_H].
11963         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
11964         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
11965         Change guard to [!M68K_MATH_PRIVATE_H].
11966         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
11967         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
11968         guard to [!MICROBLAZE_MATH_PRIVATE_H].
11969         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
11970         macro.
11971         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11972         [!MIPS_MATH_PRIVATE_H].
11973         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
11974         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11975         [!NIO2_MATH_PRIVATE_H].
11976         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
11977         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11978         [!TILE_MATH_PRIVATE_H].
11979         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
11981         [BZ #15421]
11982         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
11983         initialize with 0 and define as weak alias of __signgam.
11984         * include/math.h [!_ISOMAC] (__signgam): Declare.
11985         * math/Makefile (libm-calls): Add w_lgamma_compat.
11986         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
11987         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
11988         test-signgam-ullong-init.
11989         (tests-static): Add test-signgam-uchar-static,
11990         test-signgam-uchar-init-static, test-signgam-uint-static,
11991         test-signgam-uint-init-static, test-signgam-ullong-static and
11992         test-signgam-ullong-init-static.
11993         (CFLAGS-test-signgam-uchar.c): New variable.
11994         (CFLAGS-test-signgam-uchar-init.c): Likewise.
11995         (CFLAGS-test-signgam-uchar-static.c): Likewise.
11996         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
11997         (CFLAGS-test-signgam-uint.c): Likewise.
11998         (CFLAGS-test-signgam-uint-init.c): Likewise.
11999         (CFLAGS-test-signgam-uint-static.c): Likewise.
12000         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
12001         (CFLAGS-test-signgam-ullong.c): Likewise.
12002         (CFLAGS-test-signgam-ullong-init.c): Likewise.
12003         (CFLAGS-test-signgam-ullong-static.c): Likewise.
12004         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
12005         * math/Versions (libm): Add GLIBC_2.23.
12006         * math/lgamma-compat.h: New file.
12007         * math/test-signgam-main.c: Likewise.
12008         * math/test-signgam-uchar-init-static.c: Likewise.
12009         * math/test-signgam-uchar-init.c: Likewise.
12010         * math/test-signgam-uchar-static.c: Likewise.
12011         * math/test-signgam-uchar.c: Likewise.
12012         * math/test-signgam-uint-init-static.c: Likewise.
12013         * math/test-signgam-uint-init.c: Likewise.
12014         * math/test-signgam-uint-static.c: Likewise.
12015         * math/test-signgam-uint.c: Likewise.
12016         * math/test-signgam-ullong-init-static.c: Likewise.
12017         * math/test-signgam-ullong-init.c: Likewise.
12018         * math/test-signgam-ullong-static.c: Likewise.
12019         * math/test-signgam-ullong.c: Likewise.
12020         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
12021         wrapper of w_lgamma_main.c.
12022         * math/w_lgamma_compat.c: New file.
12023         * math/w_lgamma_compatf.c: Likewise.
12024         * math/w_lgamma_compatl.c: Likewise.
12025         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
12026         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
12027         defining compatibility symbols.
12028         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
12029         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
12030         wrapper of w_lgammaf_main.c.
12031         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
12032         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
12033         defining compatibility symbols.
12034         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
12035         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
12036         wrapper of w_lgammal_main.c.
12037         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
12038         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
12039         defining compatibility symbols.
12040         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
12041         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
12042         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
12043         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
12044         <lgamma-compat.h>.
12045         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
12046         (__ieee754_gamma): Define as alias.
12047         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
12048         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
12049         <lgamma-compat.h>.
12050         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
12051         (__ieee754_gammaf): Define as alias.
12052         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
12053         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
12054         <lgamma-compat.h>.
12055         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
12056         (__ieee754_gammal): Define as alias.
12057         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
12058         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
12059         <math/w_lgamma_compat.c>.
12060         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
12061         Define as alias of __lgamma_compat and use in defining lgammal.
12062         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
12063         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
12064         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
12065         (USE_AS_COMPAT): New macro.
12066         (LGAMMA_OLD_VER): Undefine and redefine.
12067         (lgammal): Do not define here.
12068         (gammal): Only define here if [GAMMA_ALIAS].
12069         * conform/linknamespace.pl (@whitelist): Remove signgam.
12070         * sysdeps/nacl/libm.abilist: Update.
12071         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12072         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12073         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12074         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12075         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12076         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12077         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12078         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12079         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12080         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12081         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12082         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12084         Likewise.
12085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12086         Likewise.
12087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12088         Likewise.
12089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12090         Likewise.
12091         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12092         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12093         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12094         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12095         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12097         Likewise.
12098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12099         Likewise.
12100         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12101         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12102         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12104 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12106         [BZ #16364]
12107         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
12108         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
12110 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12112         * sysdeps/s390/fpu/bits/mathinline.h:
12113         Use __asm__ [__volatile__] instead of asm [volatile].
12114         * sysdeps/s390/abort-instr.h: Likewise.
12115         * sysdeps/s390/atomic-machine.h: Likewise.
12116         * sysdeps/s390/bits/string.h: Likewise.
12117         * sysdeps/s390/dl-tls.h: Likewise.
12118         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12119         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12120         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12121         * sysdeps/s390/fpu/fesetround.c: Likewise.
12122         * sysdeps/s390/fpu/fpu_control.h: Likewise.
12123         * sysdeps/s390/fpu/s_fma.c: Likewise.
12124         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
12125         * sysdeps/s390/memusage.h: Likewise.
12126         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
12127         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
12128         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
12129         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
12130         * sysdeps/s390/nptl/tls.h: Likewise.
12131         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
12132         * sysdeps/s390/s390-32/backtrace.c: Likewise.
12133         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12134         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
12135         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12136         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12137         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
12138         * sysdeps/s390/s390-64/backtrace.c: Likewise.
12139         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12140         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
12141         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
12142         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12143         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12144         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
12145         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12146         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12147         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
12148         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12149         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
12150         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12151         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
12152         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12153         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
12155 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12156             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12158         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
12159         Add lwarx hint, and use macro for acquire instruction.
12160         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12161         Likewise.
12162         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
12163         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
12164         update to use new atomic macros.
12166 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12168         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12169         (__lll_trylock_elision): Fix setting of adapt_count.
12170         * sysdeps/unix/sysv/linux/powerpc/htm.h
12171         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
12172         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
12173         (_ABORT_SYSCALL): Renumber, and clarify definition.
12174         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
12176 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12178         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
12179         after system headers to prevent MIN/MAX redefinition.  Define
12180         HAVE_ALLOCA to preserve builtin alloca usage.
12182 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
12184         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
12185         static and don't set or restore rounding.
12186         (__cos)[IN_SINCOS]: Likewise.
12187         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
12188         (__sincos): Set and restore rounding mode.  Remove check for infinite
12189         or NaN input.
12191         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
12193         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
12194         as used.
12196 2015-11-16  Florian Weimer  <fweimer@redhat.com>
12198         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
12200 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
12202         * config.make.in (have-glob-dat-reloc): New.
12203         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
12204         target supports GLOB_DAT relocaton. AC_SUBST.
12205         * configure: Regenerated.
12206         * elf/Makefile (tests): Add tst-prelink.
12207         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
12208         (tst-prelink-ENV): New.
12209         ($(objpfx)tst-prelink-conflict.out): Likewise.
12210         ($(objpfx)tst-prelink-cmp.out): Likewise.
12211         * sysdeps/x86/tst-prelink.c: Moved to ...
12212         * elf/tst-prelink.c: Here.
12213         * sysdeps/x86/tst-prelink.exp: Moved to ...
12214         * elf/tst-prelink.exp: Here.
12215         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
12216         (tst-prelink-ENV): Removed.
12217         ($(objpfx)tst-prelink-conflict.out): Likewise.
12218         ($(objpfx)tst-prelink-cmp.out): Likewise.
12219         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
12221 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
12223         [BZ #14551]
12224         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
12225         (__mpn_construct_long_double): If high part overflows to infinity,
12226         set errno and recompute overflowed result of the correct sign.
12227         * sysdeps/ieee754/ldbl-128ibm/Makefile
12228         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
12229         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
12230         $(libm).
12231         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
12233 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
12235         [BZ #15479]
12236         [BZ #19238]
12237         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
12238         floating-point state after first operation on input.  Restore full
12239         state rather than just rounding mode.
12240         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
12241         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
12242         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
12244         [BZ #19235]
12245         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
12246         add 0.5 to integer arguments.
12247         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
12248         Likewise.
12249         (.LC2): New object.
12251 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
12253         * scripts/pylintrc (reports): Set to no.
12255 2015-11-10  Roland McGrath  <roland@hack.frob.com>
12257         * elf/dl-load.c (open_verify): Take new argument FD.
12258         Skip __open call if passed FD is not -1.
12259         (_dl_map_object, open_path): Update callers.
12260         * elf/dl-sysdep-open.h: New file.
12261         * elf/dl-load.c: Include it.
12262         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
12263         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
12264         * sysdeps/nacl/dl-sysdep-open.h: New file.
12265         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
12266         from libc to rtld.
12268 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
12270         [BZ #19228]
12271         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
12272         and restore full floating-point state.
12273         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12274         Likewise.
12275         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
12276         Likewise.
12277         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
12278         Likewise.
12279         * math/test-nearbyint-except-2.c: New file.
12280         * math/Makefile (tests): Add test-nearbyint-except-2.
12282 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
12284         [BZ #19178]
12285         * sysdeps/x86/Makefile (tests): Add tst-prelink.
12286         (tst-prelink-ENV): New.
12287         ($(objpfx)tst-prelink-conflict.out): Likewise.
12288         ($(objpfx)tst-prelink-cmp.out): Likewise.
12289         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
12290         * sysdeps/x86/tst-prelink.c: New file.
12291         * sysdeps/x86/tst-prelink.exp: Likewise.
12293 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
12295         * math/auto-libm-test-in: Add another test of pow.
12296         * math/auto-libm-test-out: Regenerated.
12297         * math/libm-test.inc (pow_test_data): Add another test.
12299 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12301         [BZ #19219]
12302         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
12303         weak_alias to nearbyintl.
12305 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
12307         * sysdeps/aarch64/bits/string.h: New file.
12308         (_STRING_ARCH_unaligned): Define.
12310 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
12312         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
12313         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12314         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12315         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
12316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
12318 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
12320         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
12321         for original name of the DSO.  Add it to the name list of the DSO
12322         if it is actually given.
12323         (_dl_map_object): Keep track of whether an audit module rewrote
12324         the file name.  If yes, pass the original name to
12325         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
12326         debugging is enabled, log the change of the file name.
12327         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
12328         _dl_map_object_from_fd.
12329         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
12330         * elf/tst-audit11.c: New file
12331         * elf/tst-auditmod11.c: New file.
12332         * elf/tst-audit11mod1.c: New file.
12333         * elf/tst-audit11mod2.c: New file.
12334         * elf/tst-audit11mod2.map: New file.
12335         * elf/tst-audit12.c: New file
12336         * elf/tst-auditmod12.c: New file.
12337         * elf/tst-audit12mod1.c: New file.
12338         * elf/tst-audit12mod2.c: New file.
12339         * elf/tst-audit12mod2.map: New file.
12340         * elf/tst-audit12mod3.c: New file.
12342 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
12344         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
12345         Don't create weak aliases,
12346         because versioned symbols are created later.
12347         * sysdeps/s390/s390-32/setjmp.S
12348         (setjmp, _setjmp): Remove weak and rename to an unique name
12349         in SHARED case due to existing versioned symbols.
12350         * sysdeps/s390/s390-64/setjmp.S: Likewise.
12351         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
12352         (getcontext): Create weak alias only in non SHARED case.
12353         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12355 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
12357         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
12358         (__ASSUME_*_SYSCALL) Define new macros.
12359         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
12360         Remove socketcall syscalls.
12361         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
12362         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
12363         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
12364         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
12365         * sysdeps/unix/sysv/linux/send.c (__libc_send):
12366         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
12368 2015-11-09  Florian Weimer  <fweimer@redhat.com>
12370         [BZ #12926]
12371         Terminate process on invalid netlink response.
12372         * sysdeps/unix/sysv/linux/netlinkaccess.h
12373         (__netlink_assert_response): Declare.
12374         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
12375         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
12376         (sysdep_routines): Add netlink_assert_response.
12377         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
12378         __netlink_assert_response.
12379         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
12380         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
12381         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
12382         __netlink_assert_response.
12384 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
12386         [BZ #19178]
12387         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
12388         (RTYPE_CLASS_PLT): Likewise.
12389         (RTYPE_CLASS_COPY): Likewise.
12390         (RTYPE_CLASS_TLS): Likewise.
12391         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
12392         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
12393         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
12394         DL_DEBUG_PRELINK.
12396 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
12398         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
12399         calls with argument -0.5.
12400         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
12402         * configure.ac (libc_cv_z_nodelete): Remove configure test.
12403         (libc_cv_z_nodlopen): Likewise.
12404         (libc_cv_z_initfirst): Likewise.
12405         * configure: Regenerated.
12407 2015-11-06  Florian Weimer  <fweimer@redhat.com>
12409         Simplify abilist format to be line-based.
12410         * scripts/abilist.awk: Collect descriptors in the descs variable.
12411         (emit): Write descs variable and sort it
12412         externally, with sort.
12413         * sysdeps/**/*.abilist: Convert to new format.
12415 2015-11-06  Mark Wielaard  <mjw@redhat.com>
12417         [BZ #11460]
12418         * io/Makefile (routines): Add fts64.
12419         (tests): Add tst-fts and tst-fts-lfs.
12420         (CFLAGS-fts64.c): New.
12421         * io/Versions (GLIBC_2.23): New.
12422         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
12423         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
12424         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
12425         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
12426         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
12427         (FTSENT64): Likewise.
12428         (fts64_children): Likewise.
12429         (fts64_close): Likewise.
12430         (fts64_open): Likewise.
12431         (fts64_read): Likewise.
12432         (fts64_set): Likewise.
12433         * io/fts64.c: New file.
12434         * io/tst-fts.c: New test.
12435         * io/tst-fts-lfs.c: Likewise.
12436         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
12437         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
12438         fts64_set.
12439         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12440         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12441         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12442         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12443         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12444         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12445         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12446         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12447         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12448         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12449         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12450         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12451         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12453         Likewise.
12454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12455         Likewise.
12456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12458         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12459         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12460         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12461         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12462         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12465         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12466         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12467         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12468         * sysdeps/wordsize-64/fts.c: New file.
12469         * sysdeps/wordsize-64/fts64.c: Likewise.
12470         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
12471         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
12472         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
12473         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
12475 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
12477         * math/libm-test.inc (NON_FINITE): New macro.
12478         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
12479         * math/gen-libm-test.pl (show_exceptions): Add argument
12480         $non_finite.
12481         (parse_args): Update call to show_exceptions.
12482         * math/test-math-finite.h: New file.
12483         * math/test-math-no-finite.h: Likewise.
12484         * math/test-double-finite.c: Likewise.
12485         * math/test-float-finite.c: Likewise.
12486         * math/test-ldouble-finite.c: Likewise.
12487         * math/test-double.c: Include "test-math-no-finite.h".
12488         * math/test-float.c: Include "test-math-no-finite.h".
12489         * math/test-ldouble.c: Include "test-math-no-finite.h".
12490         * math/test-math-inline.h (TEST_FINITE): New macro.
12491         * math/test-math-vector.h (TEST_FINITE): Likewise.
12492         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
12493         (libm-tests): Add test-float-finite and test-double-finite.
12494         ($(objpfx)test-float-finite.o): New dependency on
12495         $(objpfx)libm-test.stmp.
12496         ($(objpfx)test-double-finite.o): Likewise.
12497         ($(objpfx)test-ldouble-finite.o): Likewise.
12498         (libm-test-no-inline-cflags): New variable.
12499         (libm-test-finite-cflags): Likewise.
12500         (CFLAGS-test-float-finite.c): Likewise.
12501         (CFLAGS-test-double-finite.c): Likewise.
12502         (CFLAGS-test-ldouble-finite.c): Likewise.
12503         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
12504         (CFLAGS-test-double.c): Likewise.
12505         (CFLAGS-test-ldouble.c): Likewise.
12507 2015-11-05  Roland McGrath  <roland@hack.frob.com>
12509         * io/fcntl.c (__fcntl): Add ... to prototype.
12510         * misc/ioctl.c (__ioctl): Likewise.
12511         * misc/syscall.c (syscall): Likewise.
12513 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
12515         * scripts/list-fixed-bugs.py: New file.
12517         [BZ #19213]
12518         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
12519         returned for argument 1.
12520         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
12521         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
12522         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
12523         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
12524         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
12525         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
12527         [BZ #19211]
12528         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
12529         __USE_XOPEN], not if [!__USE_ISOC99].
12530         (lgammaf): Likewise.
12531         (lgammal): Likewise.
12532         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
12533         (gammaf): Likewise.
12534         (gammal): Likewise.
12535         * math/test-signgam-finite-c11.c: New file.
12536         * math/test-signgam-finite-c99.c: Likewise.
12537         * math/test-signgam-finite.c: Likewise.
12538         * math/Makefile (tests): Add test-signgam-finite,
12539         test-signgam-finite-c99 and test-signgam-finite-c11.
12540         (CFLAGS-test-signgam-finite.c): New variable.
12541         (CFLAGS-test-signgam-finite-c99.c): Likewise.
12542         (CFLAGS-test-signgam-finite-c11.c): Likewise.
12544         [BZ #19212]
12545         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
12546         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
12547         500].
12548         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
12549         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
12550         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
12551         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
12552         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
12553         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
12554         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
12555         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
12556         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
12557         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
12559         [BZ #19209]
12560         * math/bits/math-finite.h (ldexp): Remove declaration.
12561         (ldexpf): Likewise.
12562         (ldexpl): Likewise.
12564         [BZ #19205]
12565         * math/bits/math-finite.h (acosf): Condition declaration on
12566         [__USE_ISOC99].
12567         (acosl): Likewise.
12568         (acoshf): Likewise.
12569         (acoshl): Likewise.
12570         (asinf): Likewise.
12571         (asinl): Likewise.
12572         (atan2f): Likewise.
12573         (atan2l): Likewise.
12574         (atanhf): Likewise.
12575         (atanhl): Likewise.
12576         (coshf): Likewise.
12577         (coshl): Likewise.
12578         (expf): Likewise.
12579         (expl): Likewise.
12580         (fmodf): Likewise.
12581         (fmodl): Likewise.
12582         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
12583         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
12584         (j0l): Likewise.
12585         (y0f): Likewise.
12586         (y0l): Likewise.
12587         (j1f): Likewise.
12588         (j1l): Likewise.
12589         (y1f): Likewise.
12590         (y1l): Likewise.
12591         (jnf): Likewise.
12592         (jnl): Likewise.
12593         (ynf): Likewise.
12594         (ynl): Likewise.
12595         (lgammaf_r): Condition declaration on [__USE_ISOC99].
12596         (lgammal_r): Likewise.
12597         (__lgamma_r_finite): New declaration.
12598         (__lgammaf_r_finite): Likewise.
12599         (__lgammal_r_finite): Likewise.
12600         (lgamma): Use __lgamma_r_finite.
12601         (lgammaf): Condition definition on [__USE_ISOC99].  Use
12602         __lgammaf_r_finite.
12603         (lgammal): Condition definition on [__USE_ISOC99].  Use
12604         __lgammal_r_finite.
12605         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
12606         __lgamma_r_finite.
12607         (gammaf): Condition definition on [__USE_ISOC99].  Use
12608         __lgammaf_r_finite.
12609         (gammal): Condition definition on [__USE_ISOC99].  Use
12610         __lgammal_r_finite.
12611         (logf): Condition declaration on [__USE_ISOC99].
12612         (logl): Likewise.
12613         (log10f): Likewise.
12614         (log10l): Likewise.
12615         (ldexpf): Likewise.
12616         (ldexpl): Likewise.
12617         (powf): Likewise.
12618         (powl): Likewise.
12619         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
12620         __USE_ISOC99].
12621         (remainderf): Condition declaration on [__USE_ISOC99].
12622         (remainderl): Likewise.
12623         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
12624         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
12625         (scalbl): Likewise.
12626         (sinhf): Condition declaration on [__USE_ISOC99].
12627         (sinhl): Likewise.
12628         (sqrtf): Likewise.
12629         (sqrtl): Likewise.
12631 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
12633         * sysdeps/arm/atomic-machine.h
12634         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
12635         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
12636         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
12637         Remove conditional code.
12638         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
12639         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
12640         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
12641         Change conditional to [__ASSEMBLER__].
12642         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
12643         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
12644         [!__ASSEMBLER__].
12645         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
12646         code.
12647         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
12648         conditional macro definitions.
12649         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
12650         (__arch_compare_and_exchange_val_16_acq): Likewise.
12651         (__arch_compare_and_exchange_val_32_acq): Likewise.
12652         (atomic_exchange_and_add): Likewise.
12653         (atomic_add): Likewise.
12654         (atomic_add_negative): Likewise.
12655         (atomic_add_zero): Likewise.
12656         (atomic_bit_set): Likewise.
12657         (atomic_bit_test_set): Likewise.
12658         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
12659         code unconditional.
12660         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12662         * math/test-math-errno.h: New file.
12663         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
12664         empty.
12665         (TEST_ERRNO): New macro.
12666         (TEST_EXCEPTIONS): Likewise.
12667         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
12668         (TEST_EXCEPTIONS): Likewise.
12669         * math/test-math-vector.h (TEST_ERRNO): Likewise.
12670         * math/test-double.c: Include "test-math-errno.h".
12671         * math/test-float.c: Likewise.
12672         * math/test-ldouble.c: Likewise.
12673         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
12674         code unconditional.
12675         (test_exceptions): Only run code if TEST_EXCEPTIONS.
12676         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
12677         unconditional.
12678         (test_errno): Only run code if TEST_ERRNO.
12679         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
12681 2015-11-04  Florian Weimer  <fweimer@redhat.com>
12683         * nptl/tst-once5.cc: Remove attribution.
12685 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
12687         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
12688         sqrt, tan, tanh, y0, y1 and yn.
12689         * math/auto-libm-test-out: Regenerated.
12690         * math/libm-test.inc (scalb_test_data): Add more tests.
12691         (scalbn_test_data): Likewise.
12692         (scalbln_test_data): Likewise.
12693         (signbit_test_data): Likewise.
12694         (sin_test_data): Likewise.
12695         (sincos_test_data): Likewise.
12696         (sinh_test_data): Likewise.
12697         (sqrt_test_data): Likewise.
12698         (tan_test_data): Likewise.
12699         (tanh_test_data): Likewise.
12700         (tgamma_test_data): Likewise.
12701         (y0_test_data): Likewise.
12702         (y1_test_data): Likewise.
12703         (yn_test_data): Likewise.
12704         (significand_test_data): Likewise.
12705         * sysdeps/i386/fpu/libm-test-ulps: Update.
12707 2015-11-03  David Kastrup  <dak@gnu.org>
12709         [BZ #18604]
12710         * assert/assert.h (assert): Don't macro-expand failed assertion
12711         expression in error message.
12712         * malloc/malloc.c (assert): Likewise.
12714 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
12716         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
12717         test.
12718         * configure: Regenerated.
12720 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
12722         * math/libm-test.inc (modf_test_data): Add more tests.
12723         (nearbyint_test_data): Likewise.
12724         (nextafter_test_data): Likewise.
12725         (nexttoward_test_data): Likewise.
12726         (pow_test_data): Likewise.
12727         (remainder_test_data): Likewise.
12728         (remquo_test_data): Likewise.
12729         (rint_test_data): Likewise.
12731         [BZ #19201]
12732         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12733         Check for zero remainder in case of large exponents and ensure
12734         correct sign of result in that case.
12735         * math/libm-test.inc (remainder_test_data): Add more tests.
12737         [BZ #6799]
12738         * math/s_nextafter.c: Include <errno.h>.
12739         (__nextafter): Set errno on overflow and underflow.
12740         * math/s_nexttowardf.c: Include <errno.h>.
12741         (__nexttowardf): Set errno on overflow and underflow.
12742         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
12743         (__nextafterl): Set errno on overflow and underflow.
12744         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
12745         (__nexttoward): Set errno on overflow and underflow.
12746         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
12747         (__nexttowardf): Set errno on overflow and underflow.
12748         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
12749         (__nextafterf): Set errno on overflow and underflow.
12750         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
12751         (__nextafterl): Set errno on overflow and underflow.
12752         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
12753         (__nexttoward): Set errno on overflow and underflow.
12754         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
12755         (__nexttowardf): Set errno on overflow and underflow.
12756         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
12757         (__nextafterl): Set errno on overflow and underflow.
12758         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
12759         (__nexttoward): Set errno on overflow and underflow.
12760         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
12761         (__nexttowardf): Set errno on overflow and underflow.
12762         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
12763         (__nexttoward): Set errno on overflow and underflow.
12764         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
12765         (__nexttowardf): Set errno on overflow and underflow.
12766         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
12767         (__nldbl_nexttowardf): Set errno on overflow and underflow.
12768         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
12769         (__nextafterl): Set errno on overflow and underflow.
12770         * math/libm-test.inc (nextafter_test_data): Do not allow errno
12771         setting to be missing on overflow.  Add more tests.
12772         (nexttoward_test_data): Likewise.
12774         * configure.ac (libc_cv_initfini_array): Remove configure test.
12775         * configure: Regenerated.
12777 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
12779         [BZ #19189]
12780         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
12781         non-finite argument handle arguments with negative sign.
12783         * math/libm-test.inc (j0_test_data): Do not test sign of zero
12784         result from infinite argument.
12785         (j1_test_data): Likewise.
12786         (jn_test_data): Likewise.
12787         (y0_test_data): Likewise.
12788         (y1_test_data): Likewise.
12789         (yn_test_data): Likewise.
12791         [BZ #16171]
12792         * math/w_remainder.c (drem): Define as weak alias of __remainder.
12793         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
12794         * math/w_remainderf.c (dremf): Define as weak alias of
12795         __remainderf.
12796         * math/w_remainderl.c (dreml): Define as weak alias of
12797         __remainderl.
12798         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
12799         __remainder.
12800         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
12801         __remainderf.
12802         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
12803         __remainderl.
12804         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
12805         weak alias of remainderl.
12806         * sysdeps/ieee754/ldbl-opt/w_remainder.c
12807         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
12808         alias of __remainder.
12809         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
12810         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
12811         strong alias of __remainderl.
12812         (dreml): Use long_double_symbol.
12813         * math/Makefile (libm-calls): Remove w_drem.
12814         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
12815         (CFLAGS-nldbl-drem.c): Remove variable.
12816         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
12817         * math/w_drem.c: Remove file.
12818         * math/w_dremf.c: Likewise.
12819         * math/w_dreml.c: Likewise.
12820         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
12821         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
12822         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
12824         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
12825         * sysdeps/i386/configure: Regenerated.
12826         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
12827         * sysdeps/x86_64/configure: Regenerated.
12829         * configure.ac (libc_cv_asm_protected_directive): Remove configure
12830         test.
12831         (libc_cv_visibility_attribute): Likewise.
12832         (libc_cv_protected_data): Test unconditionally.
12833         (libc_cv_broken_visibility_attribute): Remove configure test.
12834         (libc_cv_have_sdata_section): Test unconditionally.
12835         * configure: Regenerated.
12837         * include/libc-internal.h (libc_max_align_t): Remove typedef.
12838         * include/scratch_buffer.h: Include <stddef.h> instead of
12839         <libc-internal.h>.
12840         (struct scratch_buffer): Use max_align_t instead of
12841         libc_max_align_t.
12843 2015-10-29  Florian Weimer  <fweimer@redhat.com>
12845         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
12846         instead of extend_alloca.  Change control flow to avoid a goto.
12847         Remove assert which is trivially always true.
12849 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
12851         [BZ #16068]
12852         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
12853         (FE_ALL_EXCEPT_X86): New macro.
12854         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
12855         FE_ALL_EXCEPT.  Ensure precision control is included in
12856         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
12857         handle "denormal operand exception" and clear FZ and DAZ bits.
12858         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
12859         (FE_ALL_EXCEPT_X86): New macro.
12860         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
12861         FE_ALL_EXCEPT.  Ensure precision control is included in
12862         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
12863         handle "denormal operand exception" and clear FZ and DAZ bits.
12864         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
12865         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
12866         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12867         test-fenv-x87 and test-fenv-sse-2.
12868         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
12870         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
12871         * math/test-double.h (BUILD_COMPLEX): New macro.
12872         * math/test-float.h (BUILD_COMPLEX): Likewise.
12873         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
12875         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
12876         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
12877         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
12878         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
12879         instead of DBL_DENORM_MIN in comment.
12880         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
12881         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
12882         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
12883         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
12884         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
12885         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
12887 2015-10-28  Florian Weimer  <fweimer@redhat.com>
12889         [BZ# 19048]
12890         * malloc/malloc.c (struct malloc_state): Update comment.  Add
12891         attached_threads member.
12892         (main_arena): Initialize attached_threads.
12893         * malloc/arena.c (list_lock): Update comment.
12894         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
12895         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
12896         (deattach_arena): New function.
12897         (_int_new_arena): Initialize arena reference count and deattach
12898         replaced arena.
12899         (get_free_list, reused_arena): Update reference count and deattach
12900         replaced arena.
12901         (arena_thread_freeres): Update arena reference count and only put
12902         unreferenced arenas on the free list.
12904 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
12906         [BZ #19181]
12907         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
12908         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
12909         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
12910         * math/test-fenv-clear-main.c: New file.
12911         * math/test-fenv-clear.c: Likewise.
12912         * math/Makefile (tests): Add test-fenv-clear.
12913         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
12914         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12915         test-fenv-clear-sse.
12916         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
12918         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
12919         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
12920         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
12922 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12924         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
12925         static libc.
12927 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
12929         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
12930         test.
12931         * sysdeps/i386/configure: Regenerated.
12932         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
12933         test.
12934         * sysdeps/x86_64/configure: Regenerated.
12935         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
12936         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12937         memset-avx2 unconditionally instead of conditionally on
12938         [$(config-cflags-avx2) = yes].
12939         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12940         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
12941         unconditional.
12942         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
12943         * sysdeps/x86_64/multiarch/memset_chk.S
12944         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
12945         to [IS_IN (libc) && SHARED].
12947 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12949         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
12950         configure test.
12951         * sysdeps/arm/configure: Regenerated.
12952         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
12953         Define variable if not already defined.
12955         [BZ #17404]
12956         * sysdeps/mips/atomic-machine.h
12957         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
12958         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
12959         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
12961         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
12962         unconditional.
12963         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
12964         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12965         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
12966         unconditional.
12967         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12968         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
12969         unconditional.
12970         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12971         * stdlib/setenv.c
12972         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
12973         code unconditional.
12974         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
12975         Remove conditional code.
12976         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
12977         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
12978         unconditional.
12979         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12980         code.
12981         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
12982         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
12983         unconditional.
12984         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12985         code.
12986         * sysdeps/ieee754/ldbl-128/k_tanl.c
12987         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12988         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12989         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
12990         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12991         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12992         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
12993         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
12994         unconditional.
12995         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12996         code.
12997         * sysdeps/ieee754/ldbl-96/k_tanl.c
12998         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12999         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13001         * nptl/tst-initializers1-c11.c: New file.
13002         * nptl/tst-initializers1-gnu11.c: Likewise.
13003         * nptl/Makefile (tests): Add these new tests.
13004         (CFLAGS-tst-initializers1-c11.c): New variable.
13005         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
13007         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
13008         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
13009         instead of -std=gnu99.
13010         * configure.ac (systemtap): Test with -std=gnu11 instead of
13011         -std=gnu99.
13012         * configure: Regenerated.
13013         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
13014         in compilation command in comment.
13016         * sysdeps/nptl/configure.ac: Remove file.
13017         * sysdeps/nptl/configure: Remove generated file.
13018         * configure.ac (libc_cv_forced_unwind): Do not substitute.
13019         * configure: Regenerated.
13020         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
13021         * config.make.in (have-forced-unwind): Remove variable.
13022         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
13023         unconditional.
13024         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
13025         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
13026         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
13027         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
13028         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
13029         unconditional.
13031 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13033         [BZ #19174]
13034         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
13035         .skip_lock_out_of_tbegin_retries.
13036         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13037         (__lll_lock_elision): Likewise, and respect a value of
13038         try_tbegin <= 0.
13040 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13042         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
13043         statement.
13045 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
13047         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
13048         variable.
13049         (test-xfail-ISO11/stdalign.h/conform): Likewise.
13050         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13052         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
13053         of -std=c1x -D_ISOC11_SOURCE.
13055         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
13056         * configure: Regenerated.
13057         * manual/install.texi (Tools for Compilation): Document
13058         requirement for GCC 4.7 or later.
13059         * INSTALL: Regenerated.
13061 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
13063         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
13064         on CNT to a conditional jump to 'puntdata'.
13066 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
13068         * configure.ac (libc_cv_gcc___thread): Remove configure test.
13069         (libc_cv_gcc_tls_model_attr): Likewise.
13070         * configure: Regenerated.
13072         * configure.ac (libc_cv_need_minus_P): Remove configure test.
13073         * configure: Regenerated.
13074         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
13076 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
13078         * configure.ac (old_glibc_headers): Remove configure test.
13079         * configure: Regenerated.
13080         * config.make.in (old-glibc-headers): Remove variable.
13081         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
13082         (install): Remove dependency on remove-old-headers.
13083         (headers2_0): Remove variable.
13084         (remove-old-headers): Remove rule.
13086         * configure.ac (libc_cv_dot_text): Remove configure test.
13087         (libc_cv_asm_set_directive): Use .text instead of
13088         ${libc_cv_dot_text} in configure test.
13089         * configure: Regenerated.
13091 2015-10-26  Florian Weimer  <fweimer@redhat.com>
13093         [BZ #19168]
13094         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13096 2015-10-26  Florian Weimer  <fweimer@redhat.com>
13098         * configure.ac (CXX): Clear the variable if the C++ toolchain does
13099         not support static linking.
13100         * configure: Regenerate.
13102 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
13104         * math/libm-test.inc (check_float_internal): Do not special-case
13105         errors up to 0.5 ulp.
13107         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13108         log2.
13109         * math/auto-libm-test-out: Regenerated.
13110         * math/libm-test.inc (MAX_EXP): New macro.
13111         (ilogb_test_data): Add more tests.
13112         (isfinite_test_data): Likewise.
13113         (isgreater_test_data): Likewise.
13114         (isgreaterequal_test_data): Likewise.
13115         (isinf_test_data): Likewise.
13116         (isless_test_data): Likewise.
13117         (islessequal_test_data): Likewise.
13118         (islessgreater_test_data): Likewise.
13119         (isnan_test_data): Likewise.
13120         (isnormal_test_data): Likewise.
13121         (issignaling_test_data): Likewise.
13122         (isunordered_test_data): Likewise.
13123         (j0_test_data): Likewise.
13124         (j1_test_data): Likewise.
13125         (jn_test_data): Likewise.
13126         (lgamma_test_data): Likewise.
13127         (log_test_data): Likewise.
13128         (log10_test_data): Likewise.
13129         (log1p_test_data): Likewise.
13130         (log2_test_data): Likewise.
13131         (logb_test_data): Likewise.
13132         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13134         [BZ #18611]
13135         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
13136         avoid excess range and precision on underflow.
13137         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13138         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
13139         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13140         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
13141         underflow.
13142         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13143         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13144         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13145         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13146         * math/auto-libm-test-in: Do not allow missing errno setting for
13147         tests of j1 and jn.
13148         * math/auto-libm-test-out: Regenerated.
13150 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
13152         [BZ #15491]
13153         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
13154         floating-point environment instead of clearing all exceptions.
13155         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13156         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
13157         merging in "invalid" exceptions from frndint.
13158         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13159         * math/test-nearbyint-except.c: New file.
13160         * math/Makefile (tests): Add test-nearbyint-except.
13162 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
13164         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
13166         * sysdeps/tile/libm-test-ulps: Regenerated.
13168 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
13171         (__NR_sync_file_range2): Assume it is always defined.
13172         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
13173         (__NR_sync_file_range): Assume it is always defined.
13175 2015-10-22  Andreas Schwab  <schwab@suse.de>
13177         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13178         INTERNAL_SYSCALL_ERRNO.
13179         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13180         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13181         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13182         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13183         Likewise.
13184         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13186 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
13188         * io/tst-fcntl.c (fd): New static variable.
13189         (do_prepare): Open temporary file here....
13190         (do_test): ...not here.
13192         * io/ftwtest-sh: Also trap on exit to remove temporary files.
13194 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
13196         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
13197         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
13198         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
13199         Moved before "#ifdef __ASSEMBLER__".
13201 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
13203         [BZ #19156]
13204         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
13205         arguments very close to 0.
13207 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
13209         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
13210         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
13212 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
13214         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
13215         New.  Defined for GCC 5 and above when not compiling for
13216         profiling.
13217         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
13219         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13220         Renamed to ...
13221         (CFLAGS-epoll_pwait.o): This.
13222         (CFLAGS-mmap.c): Renamed to ...
13223         (CFLAGS-mmap.o): This.
13224         (CFLAGS-mmap64.c): Renamed to ...
13225         (CFLAGS-mmap64.o): This.
13226         (CFLAGS-epoll_pwait.os): New.
13227         (CFLAGS-mmap.os): Likewise.
13228         (CFLAGS-mmap64.os): Likewise.
13229         (CFLAGS-semtimedop.os): Likewise.
13230         (CFLAGS-semtimedop.c): Renamed to ...
13231         (CFLAGS-semtimedop.o): This.
13233 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13235         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
13236         warning message.
13238 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
13240         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
13241         * Makefile ($(objpfx)c++-types-check.out): Filter out
13242         $(+gccwarn-c) instead of -Wstrict-prototypes.
13244         * io/fts.c (fts_open): Convert to prototype-style function
13245         definition.
13246         * malloc/mcheck.c (mcheck): Likewise.
13247         (mcheck_pedantic): Likewise.
13248         * posix/regexec.c (re_search_2_stub): Likewise.  Use
13249         internal_function.
13250         (re_search_internal): Likewise.
13251         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
13252         prototype-style function definition.
13253         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13254         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
13255         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
13256         (xdr_utmpptr): Likewise.
13257         (xdr_utmparr): Likewise.
13258         (xdr_utmpidle): Likewise.
13259         (xdr_utmpidleptr): Likewise.
13260         (xdr_utmpidlearr): Likewise.
13262         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
13263         log, log10 and log2.
13264         * math/auto-libm-test-out: Regenerated.
13265         * math/libm-test.inc (fmod_test_data): Add more tests.
13266         (fpclassify_test_data): Likewise.
13267         (frexp_test_data): Likewise.
13268         (hypot_test_data): Likewise.
13269         (ilogb_test_data): Likewise.
13271 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
13273         * debug/fortify_fail.c (__fortify_fail): Convert to
13274         prototype-style function definition.  Use internal_function.
13275         * libio/genops.c (save_for_backup): Convert to prototype-style
13276         function definition.
13277         * libio/wgenops.c (save_for_wbackup): Likewise.
13278         * login/grantpt.c (grantpt): Likewise.
13279         * login/ptsname.c (ptsname): Likewise.
13280         (__ptsname_r): Likewise.
13281         * login/unlockpt.c (unlockpt): Likewise.
13282         * mach/msgserver.c (__mach_msg_server): Likewise.
13283         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
13284         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
13285         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
13286         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
13287         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
13288         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
13289         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
13290         Likewise.
13291         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
13292         internal_function.
13293         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
13294         prototype-style function definition.
13295         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
13296         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
13297         (__pthread_create_2_0): Likewise.
13298         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
13299         * nptl/register-atfork.c (__register_atfork): Likewise.
13300         * posix/glob.c (glob): Likewise.
13301         * posix/regcomp.c (re_comp): Likewise.
13302         * posix/regexec.c (re_exec): Likewise.
13303         * stdlib/add_n.c [__STDC__]: Make code unconditional.
13304         [!__STDC__]: Remove conditional code.
13305         * stdlib/cmp.c [__STDC__]: Make code unconditional.
13306         [!__STDC__]: Remove conditional code.
13307         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
13308         [!__STDC__]: Remove conditional code.
13309         * stdlib/divrem.c [__STDC__]: Make code unconditional.
13310         [!__STDC__]: Remove conditional code.
13311         * stdlib/lshift.c [__STDC__]: Make code unconditional.
13312         [!__STDC__]: Remove conditional code.
13313         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
13314         [!__STDC__]: Remove conditional code.
13315         * stdlib/mul.c [__STDC__]: Make code unconditional.
13316         [!__STDC__]: Remove conditional code.
13317         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
13318         [!__STDC__]: Remove conditional code.
13319         * stdlib/rshift.c [__STDC__]: Make code unconditional.
13320         [!__STDC__]: Remove conditional code.
13321         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
13322         function definition.
13323         (STRTOF): Likewise.
13324         * stdlib/strtod_l.c (__STRTOF): Likewise.
13325         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
13326         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
13327         (__strtol_l): Likewise.
13328         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
13329         [!__STDC__]: Remove conditional code.
13330         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
13331         definition.
13332         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
13333         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13334         type.
13335         (__strcasecmp): Convert to prototype-style function definition.
13336         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
13337         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13338         type.
13339         (__strncasecmp): Convert to prototype-style function definition.
13340         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
13341         * sunrpc/xdr.c (xdr_union): Likewise.
13342         * sunrpc/xdr_array.c (xdr_array): Likewise.
13343         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
13344         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
13345         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
13346         Likewise.
13347         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
13348         Likewise.
13349         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
13350         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13351         Likewise.
13352         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
13353         (LOCALE_PARAM_PROTO): Likewise.
13354         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
13355         argument type.
13356         (ut_argument_spec): Remove macro.
13357         (ut_argument_spec_iso): Rename to ut_argument_spec.
13358         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
13359         prototype-style function definition.
13360         (memcpy_uppcase): Likewise.
13361         (__strftime_internal): Likewise.
13362         (my_strftime): Likewise.
13363         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
13364         (LOCALE_PARAM_DECL): Likewise.
13365         [_LIBC] (LOCALE_PARAM): Include argument type.
13366         (__strptime_internal): Convert to prototype-style function
13367         definition.
13368         (strptime): Likewise.
13369         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
13370         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13371         type.
13372         (__wcscasecmp): Convert to prototype-style function definition.
13373         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
13374         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13375         type.
13376         (__wcsncasecmp): Convert to prototype-style function definition.
13378         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
13379         function definition.
13380         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13381         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13382         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
13383         * elf/dl-minimal.c (_itoa): Likewise.
13384         * hurd/hurdmalloc.c (malloc): Likewise.
13385         (free): Likewise.
13386         (realloc): Likewise.
13387         * inet/inet6_option.c (inet6_option_space): Likewise.
13388         (inet6_option_init): Likewise.
13389         (inet6_option_append): Likewise.
13390         (inet6_option_alloc): Likewise.
13391         (inet6_option_next): Likewise.
13392         (inet6_option_find): Likewise.
13393         * io/ftw.c (FTW_NAME): Likewise.
13394         (NFTW_NAME): Likewise.
13395         (NFTW_NEW_NAME): Likewise.
13396         (NFTW_OLD_NAME): Likewise.
13397         * libio/iofwide.c (_IO_fwide): Likewise.
13398         * libio/strops.c (_IO_str_init_static_internal): Likewise.
13399         (_IO_str_init_static): Likewise.
13400         (_IO_str_init_readonly): Likewise.
13401         (_IO_str_overflow): Likewise.
13402         (_IO_str_underflow): Likewise.
13403         (_IO_str_count): Likewise.
13404         (_IO_str_seekoff): Likewise.
13405         (_IO_str_pbackfail): Likewise.
13406         (_IO_str_finish): Likewise.
13407         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
13408         (_IO_wstr_overflow): Likewise.
13409         (_IO_wstr_underflow): Likewise.
13410         (_IO_wstr_count): Likewise.
13411         (_IO_wstr_seekoff): Likewise.
13412         (_IO_wstr_pbackfail): Likewise.
13413         (_IO_wstr_finish): Likewise.
13414         * locale/programs/localedef.c (normalize_codeset): Likewise.
13415         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13416         (add_locales_to_archive): Likewise.
13417         (delete_locales_from_archive): Likewise.
13418         * malloc/malloc.c (__libc_mallinfo): Likewise.
13419         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
13420         * misc/tsearch.c (__tfind): Likewise.
13421         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
13422         * nptl/pthread_attr_getdetachstate.c
13423         (__pthread_attr_getdetachstate): Likewise.
13424         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
13425         Likewise.
13426         * nptl/pthread_attr_getinheritsched.c
13427         (__pthread_attr_getinheritsched): Likewise.
13428         * nptl/pthread_attr_getschedparam.c
13429         (__pthread_attr_getschedparam): Likewise.
13430         * nptl/pthread_attr_getschedpolicy.c
13431         (__pthread_attr_getschedpolicy): Likewise.
13432         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
13433         Likewise.
13434         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
13435         Likewise.
13436         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
13437         Likewise.
13438         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
13439         Likewise.
13440         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
13441         (__pthread_attr_init_2_0): Likewise.
13442         * nptl/pthread_attr_setdetachstate.c
13443         (__pthread_attr_setdetachstate): Likewise.
13444         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
13445         Likewise.
13446         * nptl/pthread_attr_setinheritsched.c
13447         (__pthread_attr_setinheritsched): Likewise.
13448         * nptl/pthread_attr_setschedparam.c
13449         (__pthread_attr_setschedparam): Likewise.
13450         * nptl/pthread_attr_setschedpolicy.c
13451         (__pthread_attr_setschedpolicy): Likewise.
13452         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
13453         Likewise.
13454         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
13455         Likewise.
13456         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
13457         Likewise.
13458         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
13459         Likewise.
13460         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
13461         Likewise.
13462         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
13463         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
13464         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
13465         use internal_function.
13466         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
13467         prototype-style function definition.
13468         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
13469         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
13470         internal_function.
13471         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
13472         Convert to prototype-style function definition.
13473         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13474         Likewise.
13475         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
13476         Likewise.
13477         (__pthread_mutex_unlock): Likewise.
13478         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
13479         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
13480         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
13481         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
13482         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
13483         * nss/makedb.c (process_input): Likewise.
13484         * posix/fnmatch.c (__strchrnul): Likewise.
13485         (__wcschrnul): Likewise.
13486         (fnmatch): Likewise.
13487         * posix/fnmatch_loop.c (FCT): Likewise.
13488         * posix/glob.c (globfree): Likewise.
13489         (__glob_pattern_type): Likewise.
13490         (__glob_pattern_p): Likewise.
13491         * posix/regcomp.c (re_compile_pattern): Likewise.
13492         (re_set_syntax): Likewise.
13493         (re_compile_fastmap): Likewise.
13494         (regcomp): Likewise.
13495         (regerror): Likewise.
13496         (regfree): Likewise.
13497         * posix/regexec.c (regexec): Likewise.
13498         (re_match): Likewise.
13499         (re_search): Likewise.
13500         (re_match_2): Likewise.
13501         (re_search_2): Likewise.
13502         (re_search_stub): Likewise.  Use internal_function
13503         (re_copy_regs): Likewise.
13504         (re_set_registers): Convert to prototype-style function
13505         definition.
13506         (prune_impossible_nodes): Likewise.  Use internal_function.
13507         * resolv/inet_net_pton.c (inet_net_pton): Convert to
13508         prototype-style function definition.
13509         (inet_net_pton_ipv4): Likewise.
13510         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13511         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
13512         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
13513         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
13514         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13515         Make variadic.
13516         * time/strptime_l.c (localtime_r): Convert to prototype-style
13517         function definition.
13518         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13519         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13520         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13521         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13523         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
13524         definition.
13525         (_ufc_doit_r): Likewise.
13526         * crypt/crypt_util.c (_ufc_copymem): Likewise.
13527         (_ufc_output_conversion_r): Likewise.
13528         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
13529         * inet/rcmd.c (rcmd_af): Likewise.
13530         (rcmd): Likewise.
13531         (ruserok_af): Likewise.
13532         (ruserok): Likewise.
13533         (ruserok2_sa): Likewise.
13534         (ruserok_sa): Likewise.
13535         (iruserok_af): Likewise.
13536         (iruserok): Likewise.
13537         (__ivaliduser): Likewise.
13538         (__validuser2_sa): Likewise.
13539         * inet/rexec.c (rexec_af): Likewise.
13540         (rexec): Likewise.
13541         * inet/ruserpass.c (ruserpass): Likewise.
13542         * locale/programs/xmalloc.c (xcalloc): Likewise.
13543         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
13544         * math/w_drem.c (__drem): Likewise.
13545         * math/w_dremf.c (__dremf): Likewise.
13546         * math/w_dreml.c (__dreml): Likewise.
13547         * misc/daemon.c (daemon): Likewise.
13548         * resolv/res_debug.c (p_fqnname): Likewise.
13549         * stdlib/div.c (div): Likewise.
13550         * string/memcmp.c (memcmp_bytes): Likewise.
13551         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
13552         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
13554         * crypt/cert.c (main): Convert to prototype-style function
13555         definition.
13556         * io/pipe.c (__pipe): Likewise.
13557         * io/pipe2.c (__pipe2): Likewise.
13558         * misc/futimesat.c (futimesat): Likewise.
13559         * misc/utimes.c (__utimes): Likewise.
13560         * posix/execve.c (__execve): Likewise.
13561         * posix/execvp.c (execvp): Likewise.
13562         * posix/execvpe.c (__execvpe): Likewise.
13563         * posix/fexecve.c (fexecve): Likewise.
13564         * socket/socketpair.c (socketpair): Likewise.
13565         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13566         * stdlib/erand48.c (erand48): Likewise.
13567         * stdlib/erand48_r.c (__erand48_r): Likewise.
13568         * stdlib/jrand48.c (jrand48): Likewise.
13569         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
13570         * stdlib/lcong48.c (lcong48): Likewise.
13571         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
13572         * stdlib/nrand48.c (nrand48): Likewise.
13573         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
13574         * stdlib/seed48.c (seed48): Likewise.
13575         * stdlib/seed48_r.c (__seed48_r): Likewise.
13576         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
13577         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
13578         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
13580 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
13582         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
13583         * configure: Regenerated.
13584         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
13585         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
13586         unconditional.
13587         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13588         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13589         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13590         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
13591         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
13592         unconditional.
13593         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13595         * posix/Makefile (CFLAGS-regex.c): Remove variable.
13596         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
13598         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
13599         function definition.
13600         * crypt/crypt_util.c (__encrypt_r): Likewise.
13601         * libio/genops.c (_IO_no_init): Likewise.
13602         * libio/iofopncook.c (_IO_fopencookie): Likewise.
13603         (_IO_old_fopencookie): Likewise.
13604         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13605         * libio/iogetline.c (_IO_getline): Likewise.
13606         (_IO_getline_info): Likewise.
13607         * libio/iogetwline.c (_IO_getwline): Likewise.
13608         (_IO_getwline_info): Likewise.
13609         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
13610         * libio/vswprintf.c (_IO_vswprintf): Likewise.
13611         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
13612         (find_entry): Likewise.
13613         (iterate_table): Likewise.
13614         (lookup): Likewise.
13615         * login/forkpty.c (forkpty): Likewise.
13616         * misc/hsearch_r.c (__hsearch_r): Likewise.
13617         * misc/select.c (__select): Likewise.
13618         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
13619         Likewise.
13620         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
13621         Likewise.
13622         * nptl/old_pthread_cond_timedwait.c
13623         (__pthread_cond_timedwait_2_0): Likewise.
13624         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
13625         * nptl/pthread_barrierattr_getpshared.c
13626         (pthread_barrierattr_getpshared): Likewise.
13627         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
13628         Likewise.
13629         * nptl/pthread_mutex_setprioceiling.c
13630         (pthread_mutex_setprioceiling): Likewise.
13631         * nptl/pthread_mutexattr_getprioceiling.c
13632         (pthread_mutexattr_getprioceiling): Likewise.
13633         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
13634         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13635         Likewise.
13636         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
13637         Likewise.
13638         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
13639         Likewise.
13640         * socket/recvfrom.c (__recvfrom): Likewise.
13641         * socket/sendto.c (__sendto): Likewise.
13642         * socket/setsockopt.c (__setsockopt): Likewise.
13643         * stdio-common/_itoa.c (_itoa): Likewise.
13644         * stdio-common/_itowa.c (_itowa): Likewise.
13645         * stdio-common/reg-printf.c (__register_printf_specifier):
13646         Likewise.
13647         (__register_printf_function): Likewise.
13648         * stdio-common/tempname.c (__path_search): Likewise.
13649         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
13650         * stdlib/mul_1.c (mpn_mul_1): Likewise.
13651         * stdlib/random_r.c (__initstate_r): Likewise.
13652         * stdlib/setenv.c (__add_to_environ): Likewise.
13653         * stdlib/submul_1.c (mpn_submul_1): Likewise.
13654         * streams/getpmsg.c (getpmsg): Likewise.
13655         * streams/putmsg.c (putmsg): Likewise.
13656         * streams/putpmsg.c (putpmsg): Likewise.
13657         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
13658         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
13659         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
13660         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
13661         * sunrpc/pm_getport.c (pmap_getport): Likewise.
13662         * sunrpc/svc_udp.c (cache_get): Likewise.
13663         * sunrpc/xdr_array.c (xdr_vector): Likewise.
13664         * sysdeps/mach/hurd/getcwd.c
13665         (__canonicalize_directory_name_internal): Likewise.
13666         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
13667         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
13668         * sysdeps/mach/hurd/select.c (__select): Likewise.
13669         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
13670         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
13671         * sysdeps/sparc/nptl/pthread_barrier_init.c
13672         (__pthread_barrier_init): Likewise.
13673         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
13674         (__pthread_cond_timedwait): Likewise.
13675         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
13676         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
13677         Likewise.
13678         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
13679         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
13680         Likewise.
13681         * sysvipc/semtimedop.c (semtimedop): Likewise.
13682         * time/setitimer.c (__setitimer): Likewise.
13683         * time/strftime_l.c (emacs_strftime): Likewise.
13685 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
13687         * config.make.in (have-ssp): Delete.
13688         (stack-protector): New variable.
13689         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
13690         cache test for -fstack-protector-strong.  Export stack_protector to
13691         the best ssp flag.
13692         * configure: Regenerated.
13693         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
13694         * nscd/Makefile (CFLAGS-nscd): Likewise.
13695         * resolv/Makefile (CFLAGS-libresolv): Likewise.
13697 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
13699         [BZ #19122]
13700         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
13701         attribute_hidden.
13703 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13705         [BZ #18743]
13706         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
13707         code to...
13708         (ELIDE_LOCK): ...here.
13709         (__get_new_count): New function with part of the code from
13710         __elide_lock that updates the value of adapt_count after a
13711         transaction abort.
13712         (__elided_trylock): Moved this code to...
13713         (ELIDE_TRYLOCK): ...here.
13715 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
13717         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
13718         * configure: Regenerate.
13719         * INSTALL: Regenerate.
13720         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
13721         and tweak grammar.
13723 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
13725         * login/programs/pt_chown.c: Include signal.h
13726         (main): Clear any signal mask from the parent process.
13728 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
13730         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
13731         * configure: Regenerated.
13732         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
13733         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
13734         $(gnu89-inline-CFLAGS).
13736         * configure.ac (libc_cv_asm_weak_directive): Remove configure
13737         test.
13738         (libc_cv_asm_weakext_directive): Likewise.
13739         * configure: Regenerated.
13740         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
13741         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
13742         * include/libc-symbols.h
13743         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
13744         #error.
13745         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
13746         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
13748         * sysdeps/arm/backtrace.c (__backtrace): Convert to
13749         prototype-style function definition.
13750         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
13751         * sysdeps/i386/ffs.c (__ffs): Likewise.
13752         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13753         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
13754         Likewise.
13755         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13756         Likewise.
13757         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
13758         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
13759         Likewise.
13760         * sysdeps/m68k/ffs.c (__ffs): Likewise.
13761         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
13762         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
13763         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
13764         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
13765         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
13766         * sysdeps/mach/hurd/access.c (__access): Likewise.
13767         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
13768         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
13769         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
13770         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
13771         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
13772         (cthread_getspecific): Likewise.
13773         (cthread_setspecific): Likewise.
13774         (__libc_getspecific): Likewise.
13775         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
13776         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
13777         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
13778         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
13779         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
13780         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
13781         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
13782         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
13783         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
13784         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
13785         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
13786         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
13787         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
13788         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
13789         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
13790         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
13791         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
13792         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
13793         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
13794         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
13795         * sysdeps/mach/hurd/link.c (__link): Likewise.
13796         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
13797         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
13798         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
13799         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
13800         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
13801         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
13802         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
13803         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
13804         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
13805         * sysdeps/mach/hurd/rename.c (rename): Likewise.
13806         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
13807         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
13808         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
13809         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
13810         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
13811         * sysdeps/mach/hurd/send.c (__send): Likewise.
13812         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
13813         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
13814         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
13815         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
13816         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
13817         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
13818         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
13819         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
13820         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
13821         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
13822         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
13823         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
13824         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
13825         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
13826         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
13827         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
13828         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
13829         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
13830         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
13831         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
13832         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
13833         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
13834         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
13835         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
13836         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
13837         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
13838         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
13839         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
13840         * sysdeps/posix/alarm.c (alarm): Likewise.
13841         * sysdeps/posix/cuserid.c (cuserid): Likewise.
13842         * sysdeps/posix/dirfd.c (dirfd): Likewise.
13843         * sysdeps/posix/dup.c (__dup): Likewise.
13844         * sysdeps/posix/dup2.c (__dup2): Likewise.
13845         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
13846         (main): Likewise.
13847         * sysdeps/posix/flock.c (__flock): Likewise.
13848         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
13849         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
13850         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
13851         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
13852         * sysdeps/posix/isatty.c (__isatty): Likewise.
13853         * sysdeps/posix/killpg.c (killpg): Likewise.
13854         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
13855         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
13856         * sysdeps/posix/raise.c (raise): Likewise.
13857         * sysdeps/posix/remove.c (remove): Likewise.
13858         * sysdeps/posix/rename.c (rename): Likewise.
13859         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
13860         * sysdeps/posix/seekdir.c (seekdir): Likewise.
13861         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
13862         * sysdeps/posix/sigignore.c (sigignore): Likewise.
13863         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
13864         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13865         * sysdeps/posix/sigset.c (sigset): Likewise.
13866         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
13867         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
13868         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
13869         * sysdeps/posix/time.c (time): Likewise.
13870         * sysdeps/posix/ttyname.c (getttyname): Likewise.
13871         (ttyname): Likewise.
13872         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
13873         * sysdeps/posix/utime.c (utime): Likewise.
13874         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
13875         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
13876         Likewise.
13877         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
13878         (pthread_spin_trylock): Likewise.
13879         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
13880         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
13881         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
13882         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
13883         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
13884         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
13885         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
13886         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
13887         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
13888         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
13889         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
13890         * sysdeps/s390/ffs.c (__ffs): Likewise.
13891         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
13892         Likewise.
13893         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13894         Likewise.
13895         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
13896         Likewise.
13897         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
13898         (pthread_barrier_destroy): Likewise.
13899         * sysdeps/sparc/nptl/pthread_barrier_wait.c
13900         (__pthread_barrier_wait): Likewise.
13901         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
13902         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
13903         (__pthread_barrier_wait): Likewise.
13904         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
13905         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
13906         (memcmp_not_common_alignment): Likewise.
13907         (MEMCMP): Likewise.
13908         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
13909         (_wordcopy_fwd_dest_aligned): Likewise.
13910         (_wordcopy_bwd_aligned): Likewise.
13911         (_wordcopy_bwd_dest_aligned): Likewise.
13912         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
13913         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
13914         * sysdeps/unix/bsd/stty.c (stty): Likewise.
13915         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
13916         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
13917         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
13918         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
13919         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
13920         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
13921         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
13922         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
13923         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
13924         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
13925         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
13926         * sysdeps/unix/stime.c (stime): Likewise.
13927         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
13928         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
13929         Likewise.  Use internal_function.
13930         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
13931         Convert to prototype-style function definition.
13932         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13933         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13934         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
13935         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13936         Likewise.  Use internal_function.
13937         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
13938         prototype-style function definition
13939         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13940         Likewise.
13941         (__getlogin_r): Likewise.
13942         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
13943         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
13944         (__pthread_cond_broadcast): Likewise.
13945         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
13946         (__pthread_cond_destroy): Likewise.
13947         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
13948         (__pthread_cond_init): Likewise.
13949         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
13950         (__pthread_cond_signal): Likewise.
13951         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
13952         (__pthread_cond_wait): Likewise.
13953         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
13954         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13955         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
13956         Likewise.
13957         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
13958         Likewise.
13959         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
13960         Likewise.
13961         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
13962         Likewise.
13963         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
13964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
13965         (__ftruncate64): Likewise.
13966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
13967         (truncate64): Likewise.
13968         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
13969         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
13970         (pthread_getcpuclockid): Likewise.
13971         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
13972         Likewise.
13973         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
13974         Likewise.
13975         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
13976         Likewise.
13977         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
13978         Likewise.
13979         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
13980         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
13981         (__libc_sigaction): Likewise.
13982         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
13983         Likewise.
13984         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
13985         (__sigprocmask): Likewise.
13986         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
13987         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
13988         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
13989         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13990         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13991         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
13992         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13993         Likewise.
13994         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
13995         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
13996         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13997         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
13998         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
13999         Likewise.
14000         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
14001         (__sigprocmask): Likewise.
14002         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
14003         (cfgetispeed): Likewise.
14004         (cfsetospeed): Likewise.
14005         (cfsetispeed): Likewise.
14006         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
14007         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
14008         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14009         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
14010         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
14011         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
14012         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
14013         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
14014         Likewise.
14015         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
14016         Likewise.
14017         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
14018         Likewise.
14019         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
14020         Likewise.
14021         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
14023 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14025         sunrpc: Rewrite with explicit TLS access using __thread.
14026         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
14027         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
14028         directly.
14029         (__rpc_thread_variables): Access thread_rpc_vars directly.
14030         Eliminate redundant assignment of the tvp variable.
14032 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14034         malloc: Rewrite with explicit TLS access using __thread.
14035         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
14036         (tsd_setspecific, tsd_getspecific): Remove.
14037         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
14038         (tsd_setspecific, tsd_getspecific): Likewise.
14039         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
14040         (tsd_setspecific, tsd_getspecific): Likewise.
14041         * malloc/arena.c (thread_arena): New TLS variable.
14042         (arena_key): Remove variable.
14043         (arena_get): Use thread_arena.
14044         (arena_lookup): Remove macro.
14045         (malloc_atfork, free_atfork, ptmalloc_lock_all)
14046         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
14047         (_int_new_arena, get_free_list, reused_arena)
14048         (arena_thread_freeres): Use thread_arena.
14049         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
14050         tsd_getspecific, tsd_setspecific from safety annotations.
14051         (Allocating Cleared Space): Remove arena_lookup from safety
14052         annotations.
14054 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14056         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
14057         struct scratch_buffer instead of extend_alloca.
14059 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14061         * sysdeps/unix/sysv/linux/kernel-features.h
14062         (__ASSUME_SOCK_CLOEXEC): Remove.
14063         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
14064         (__have_paccept): Remove unused macro.
14065         * include/unistd.h (__have_sock_cloexec): Remove declaration.
14066         * misc/syslog.c (openlog_internal): Remove fallback code for
14067         !__ASSUME_SOCK_CLOEXEC.
14068         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
14069         missing SOCK_CLOEXEC.
14070         * nscd/connections.c (have_sock_cloexec): Remove definition.
14071         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
14072         * nscd/nscd_helper.c (open_socket): Remove fallback code for
14073         !__ASSUME_SOCK_CLOEXEC.
14074         * resolv/res_send.c (__have_o_nonblock): Remove definition.
14075         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
14076         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
14077         definition.
14078         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
14079         code for !__ASSUME_SOCK_CLOEXEC.
14081 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14083         [BZ #18982]
14084         * manual/stdio.texi (Variable Arguments Output): Add portability
14085         note, explaining that vfprintf clobbers the va_list pointer.
14087 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
14089         * math/libm-test.inc (fabs_test_data): Add more tests.
14090         (fdim_test_data): Likewise.
14091         (fma_test_data): Likewise.
14092         (fmax_test_data): Likewise.
14093         (fmin_test_data): Likewise.
14094         (fmod_test_data): Likewise.
14096 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
14098         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
14099         data.
14101 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
14103         * math/libm-test.inc (ceil_test_data): Add more tests and more
14104         expectations for "inexact".
14105         (floor_test_data): Add more tests.
14106         (round_test_data): Likewise.
14107         (trunc_test_data): Likewise.
14109         * crypt/cert.c (good_bye): Convert to prototype-style function
14110         definition.
14111         (get8): Likewise.
14112         (put8): Likewise.
14113         * crypt/crypt-entry.c (crypt): Likewise.
14114         (__fcrypt): Likewise.
14115         * crypt/crypt_util.c (_ufc_prbits): Likewise.
14116         (_ufc_set_bits): Likewise.
14117         (_ufc_clearmem): Likewise.
14118         (__init_des_r): Likewise.
14119         (shuffle_sb): Likewise.
14120         (shuffle_sb): Likewise.
14121         (_ufc_setup_salt_r): Likewise.
14122         (_ufc_mk_keytab_r): Likewise.
14123         (_ufc_dofinalperm_r): Likewise.
14124         (encrypt): Likewise.
14125         (__setkey_r): Likewise.
14126         (setkey): Likewise.
14127         * crypt/md5.c (md5_init_ctx): Likewise.
14128         (md5_read_ctx): Likewise.
14129         (md5_finish_ctx): Likewise.
14130         (md5_stream): Likewise.
14131         (md5_buffer): Likewise.
14132         (md5_process_bytes): Likewise.
14133         * crypt/sha256.c (__sha256_init_ctx): Likewise.
14134         (__sha256_finish_ctx): Likewise.
14135         (__sha256_process_bytes): Likewise.
14136         * crypt/sha512.c (__sha512_init_ctx): Likewise.
14137         (__sha512_finish_ctx): Likewise.
14138         (__sha512_process_bytes): Likewise.
14139         * ctype/isctype.c (__isctype): Likewise.
14140         * debug/backtrace.c (__backtrace): Likewise.
14141         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
14142         * debug/fgets_chk.c (__fgets_chk): Likewise.
14143         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
14144         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
14145         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14146         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14147         * debug/memset_chk.c (__memset_chk): Likewise.
14148         * debug/strcat_chk.c (__strcat_chk): Likewise.
14149         * debug/strncat_chk.c (__strncat_chk): Likewise.
14150         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
14151         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
14152         * dirent/dirfd.c (dirfd): Likewise.
14153         * dirent/getdents.c (__getdirentries): Likewise.
14154         * dirent/getdents64.c (getdirentries64): Likewise.
14155         * dirent/rewinddir.c (__rewinddir): Likewise.
14156         * dirent/seekdir.c (seekdir): Likewise.
14157         * dirent/telldir.c (telldir): Likewise.
14158         * elf/sln.c (makesymlinks): Likewise.
14159         (makesymlink): Likewise.
14160         * gmon/gmon.c (__moncontrol): Likewise.
14161         (__monstartup): Likewise.
14162         (write_hist): Likewise.
14163         (write_call_graph): Likewise.
14164         (write_bb_counts): Likewise.
14165         * grp/setgroups.c (setgroups): Likewise.
14166         * inet/inet_lnaof.c (inet_lnaof): Likewise.
14167         * inet/inet_net.c (inet_network): Likewise.
14168         * inet/inet_netof.c (inet_netof): Likewise.
14169         * inet/rcmd.c (rresvport_af): Likewise.
14170         (rresvport): Likewise.
14171         * io/access.c (__access): Likewise.
14172         * io/chdir.c (__chdir): Likewise.
14173         * io/chmod.c (__chmod): Likewise.
14174         * io/chown.c (__chown): Likewise.
14175         * io/close.c (__close): Likewise.
14176         * io/creat.c (creat): Likewise.
14177         * io/creat64.c (creat64): Likewise.
14178         * io/dup.c (__dup): Likewise.
14179         * io/dup2.c (__dup2): Likewise.
14180         * io/dup3.c (__dup3): Likewise.
14181         * io/euidaccess.c (__euidaccess): Likewise.
14182         * io/faccessat.c (faccessat): Likewise.
14183         * io/fchmod.c (__fchmod): Likewise.
14184         * io/fchmodat.c (fchmodat): Likewise.
14185         * io/fchown.c (__fchown): Likewise.
14186         * io/fchownat.c (fchownat): Likewise.
14187         * io/fcntl.c (__fcntl): Likewise.
14188         * io/flock.c (__flock): Likewise.
14189         * io/fts.c (fts_load): Likewise.
14190         (fts_close): Likewise.
14191         (fts_read): Likewise.
14192         (fts_set): Likewise.
14193         (fts_children): Likewise.
14194         (fts_build): Likewise.
14195         (fts_stat): Likewise.
14196         (fts_sort): Likewise.
14197         (fts_alloc): Likewise.
14198         (fts_lfree): Likewise.
14199         (fts_palloc): Likewise.
14200         (fts_padjust): Likewise.
14201         (fts_maxarglen): Likewise.
14202         (fts_safe_changedir): Likewise.
14203         * io/getwd.c (getwd): Likewise.
14204         * io/isatty.c (__isatty): Likewise.
14205         * io/lchown.c (__lchown): Likewise.
14206         * io/link.c (__link): Likewise.
14207         * io/linkat.c (linkat): Likewise.
14208         * io/lseek.c (__libc_lseek): Likewise.
14209         * io/mkdir.c (__mkdir): Likewise.
14210         * io/mkdirat.c (mkdirat): Likewise.
14211         * io/mkfifo.c (mkfifo): Likewise.
14212         * io/mkfifoat.c (mkfifoat): Likewise.
14213         * io/open.c (__libc_open): Likewise.
14214         * io/open64.c (__libc_open64): Likewise.
14215         * io/readlink.c (__readlink): Likewise.
14216         * io/readlinkat.c (readlinkat): Likewise.
14217         * io/rmdir.c (__rmdir): Likewise.
14218         * io/symlink.c (__symlink): Likewise.
14219         * io/symlinkat.c (symlinkat): Likewise.
14220         * io/ttyname.c (ttyname): Likewise.
14221         * io/ttyname_r.c (__ttyname_r): Likewise.
14222         * io/umask.c (__umask): Likewise.
14223         * io/unlink.c (__unlink): Likewise.
14224         * io/unlinkat.c (unlinkat): Likewise.
14225         * io/utime.c (utime): Likewise.
14226         * libio/clearerr.c (clearerr): Likewise.
14227         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
14228         * libio/feof.c (_IO_feof): Likewise.
14229         * libio/feof_u.c (feof_unlocked): Likewise.
14230         * libio/ferror.c (_IO_ferror): Likewise.
14231         * libio/ferror_u.c (ferror_unlocked): Likewise.
14232         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14233         * libio/fileno.c (__fileno): Likewise.
14234         * libio/fputc.c (fputc): Likewise.
14235         * libio/fputc_u.c (fputc_unlocked): Likewise.
14236         * libio/fputwc.c (fputwc): Likewise.
14237         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
14238         * libio/freopen.c (freopen): Likewise.
14239         * libio/freopen64.c (freopen64): Likewise.
14240         * libio/fseek.c (fseek): Likewise.
14241         * libio/fseeko.c (fseeko): Likewise.
14242         * libio/fseeko64.c (fseeko64): Likewise.
14243         * libio/ftello.c (__ftello): Likewise.
14244         * libio/ftello64.c (ftello64): Likewise.
14245         * libio/fwide.c (fwide): Likewise.
14246         * libio/genops.c (_IO_un_link): Likewise.
14247         (_IO_link_in): Likewise.
14248         (_IO_least_marker): Likewise.
14249         (_IO_switch_to_main_get_area): Likewise.
14250         (_IO_switch_to_backup_area): Likewise.
14251         (_IO_switch_to_get_mode): Likewise.
14252         (_IO_free_backup_area): Likewise.
14253         (_IO_switch_to_put_mode): Likewise.
14254         (__overflow): Likewise.
14255         (__underflow): Likewise.
14256         (__uflow): Likewise.
14257         (_IO_setb): Likewise.
14258         (_IO_doallocbuf): Likewise.
14259         (_IO_default_underflow): Likewise.
14260         (_IO_default_uflow): Likewise.
14261         (_IO_default_xsputn): Likewise.
14262         (_IO_sgetn): Likewise.
14263         (_IO_default_xsgetn): Likewise.
14264         (_IO_sync): Likewise.
14265         (_IO_default_setbuf): Likewise.
14266         (_IO_default_seekpos): Likewise.
14267         (_IO_default_doallocate): Likewise.
14268         (_IO_init): Likewise.
14269         (_IO_old_init): Likewise.
14270         (_IO_default_sync): Likewise.
14271         (_IO_default_finish): Likewise.
14272         (_IO_default_seekoff): Likewise.
14273         (_IO_sputbackc): Likewise.
14274         (_IO_sungetc): Likewise.
14275         (_IO_set_column): Likewise.
14276         (_IO_set_column): Likewise.
14277         (_IO_adjust_column): Likewise.
14278         (_IO_get_column): Likewise.
14279         (_IO_init_marker): Likewise.
14280         (_IO_remove_marker): Likewise.
14281         (_IO_marker_difference): Likewise.
14282         (_IO_marker_delta): Likewise.
14283         (_IO_seekmark): Likewise.
14284         (_IO_unsave_markers): Likewise.
14285         (_IO_nobackup_pbackfail): Likewise.
14286         (_IO_default_pbackfail): Likewise.
14287         (_IO_default_seek): Likewise.
14288         (_IO_default_stat): Likewise.
14289         (_IO_default_read): Likewise.
14290         (_IO_default_write): Likewise.
14291         (_IO_default_showmanyc): Likewise.
14292         (_IO_default_imbue): Likewise.
14293         (_IO_iter_next): Likewise.
14294         (_IO_iter_file): Likewise.
14295         * libio/getc.c (_IO_getc): Likewise.
14296         * libio/getwc.c (_IO_getwc): Likewise.
14297         * libio/iofclose.c (_IO_new_fclose): Likewise.
14298         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14299         * libio/iofflush.c (_IO_fflush): Likewise.
14300         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
14301         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
14302         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
14303         * libio/iofgets.c (_IO_fgets): Likewise.
14304         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
14305         * libio/iofgetws.c (fgetws): Likewise.
14306         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14307         * libio/iofopen64.c (_IO_fopen64): Likewise.
14308         * libio/iofopncook.c (_IO_cookie_read): Likewise.
14309         (_IO_cookie_write): Likewise.
14310         (_IO_cookie_seek): Likewise.
14311         (_IO_cookie_close): Likewise.
14312         (_IO_cookie_seekoff): Likewise.
14313         (_IO_old_cookie_seek): Likewise.
14314         * libio/iofputs.c (_IO_fputs): Likewise.
14315         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
14316         * libio/iofputws.c (fputws): Likewise.
14317         * libio/iofputws_u.c (fputws_unlocked): Likewise.
14318         * libio/iofread.c (_IO_fread): Likewise.
14319         * libio/iofread_u.c (__fread_unlocked): Likewise.
14320         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
14321         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
14322         * libio/ioftell.c (_IO_ftell): Likewise.
14323         * libio/iofwrite.c (_IO_fwrite): Likewise.
14324         * libio/iogetdelim.c (_IO_getdelim): Likewise.
14325         * libio/iogets.c (_IO_gets): Likewise.
14326         * libio/iopadn.c (_IO_padn): Likewise.
14327         * libio/iopopen.c (_IO_new_proc_open): Likewise.
14328         (_IO_new_popen): Likewise.
14329         (_IO_new_proc_close): Likewise.
14330         * libio/ioputs.c (_IO_puts): Likewise.
14331         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
14332         (_IO_seekoff): Likewise.
14333         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
14334         (_IO_seekpos): Likewise.
14335         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
14336         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
14337         * libio/ioungetc.c (_IO_ungetc): Likewise.
14338         * libio/ioungetwc.c (ungetwc): Likewise.
14339         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14340         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
14341         * libio/iowpadn.c (_IO_wpadn): Likewise.
14342         * libio/libc_fatal.c (__libc_fatal): Likewise.
14343         * libio/memstream.c (__open_memstream): Likewise.
14344         (_IO_mem_sync): Likewise.
14345         (_IO_mem_finish): Likewise.
14346         * libio/oldfileops.c (_IO_old_file_init): Likewise.
14347         (_IO_old_file_close_it): Likewise.
14348         (_IO_old_file_finish): Likewise.
14349         (_IO_old_file_fopen): Likewise.
14350         (_IO_old_file_attach): Likewise.
14351         (_IO_old_file_setbuf): Likewise.
14352         (_IO_old_do_write): Likewise.
14353         (old_do_write): Likewise.
14354         (_IO_old_file_underflow): Likewise.
14355         (_IO_old_file_overflow): Likewise.
14356         (_IO_old_file_sync): Likewise.
14357         (_IO_old_file_seekoff): Likewise.
14358         (_IO_old_file_write): Likewise.
14359         (_IO_old_file_xsputn): Likewise.
14360         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
14361         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14362         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
14363         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
14364         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
14365         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
14366         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
14367         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
14368         (_IO_old_popen): Likewise.
14369         (_IO_old_proc_close): Likewise.
14370         * libio/oldpclose.c (__old_pclose): Likewise.
14371         * libio/pclose.c (__new_pclose): Likewise.
14372         * libio/peekc.c (_IO_peekc_locked): Likewise.
14373         * libio/putc.c (_IO_putc): Likewise.
14374         * libio/putc_u.c (putc_unlocked): Likewise.
14375         * libio/putchar.c (putchar): Likewise.
14376         * libio/putchar_u.c (putchar_unlocked): Likewise.
14377         * libio/putwc.c (putwc): Likewise.
14378         * libio/putwc_u.c (putwc_unlocked): Likewise.
14379         * libio/putwchar.c (putwchar): Likewise.
14380         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
14381         * libio/rewind.c (rewind): Likewise.
14382         * libio/setbuf.c (setbuf): Likewise.
14383         * libio/setlinebuf.c (setlinebuf): Likewise.
14384         * libio/vasprintf.c (_IO_vasprintf): Likewise.
14385         * libio/vscanf.c (_IO_vscanf): Likewise.
14386         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
14387         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
14388         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14389         * libio/wgenops.c (_IO_least_wmarker): Likewise.
14390         (_IO_switch_to_main_wget_area): Likewise.
14391         (_IO_switch_to_wbackup_area): Likewise.
14392         (_IO_wsetb): Likewise.
14393         (_IO_wdefault_pbackfail): Likewise.
14394         (_IO_wdefault_finish): Likewise.
14395         (_IO_wdefault_uflow): Likewise.
14396         (__woverflow): Likewise.
14397         (__wuflow): Likewise.
14398         (__wunderflow): Likewise.
14399         (_IO_wdefault_xsputn): Likewise.
14400         (_IO_wdefault_xsgetn): Likewise.
14401         (_IO_wdoallocbuf): Likewise.
14402         (_IO_wdefault_doallocate): Likewise.
14403         (_IO_switch_to_wget_mode): Likewise.
14404         (_IO_free_wbackup_area): Likewise.
14405         (_IO_switch_to_wput_mode): Likewise.
14406         (_IO_sputbackwc): Likewise.
14407         (_IO_sungetwc): Likewise.
14408         (_IO_adjust_wcolumn): Likewise.
14409         (_IO_init_wmarker): Likewise.
14410         (_IO_wmarker_delta): Likewise.
14411         (_IO_seekwmark): Likewise.
14412         (_IO_unsave_wmarkers): Likewise.
14413         * libio/wmemstream.c (open_wmemstream): Likewise.
14414         (_IO_wmem_sync): Likewise.
14415         (_IO_wmem_finish): Likewise.
14416         * locale/nl_langinfo.c (nl_langinfo): Likewise.
14417         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
14418         * locale/programs/simple-hash.c (init_hash): Likewise.
14419         (delete_hash): Likewise.
14420         (insert_entry): Likewise.
14421         (set_entry): Likewise.
14422         (next_prime): Likewise.
14423         (is_prime): Likewise.
14424         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
14425         (xmalloc): Likewise.
14426         (xrealloc): Likewise.
14427         * locale/programs/xstrdup.c (xstrdup): Likewise.
14428         * localedata/collate-test.c (xstrcoll): Likewise.
14429         * localedata/xfrm-test.c (xstrcmp): Likewise.
14430         * login/getlogin_r.c (__getlogin_r): Likewise.
14431         * login/getpt.c (__posix_openpt): Likewise.
14432         * login/login_tty.c (login_tty): Likewise.
14433         * login/setlogin.c (setlogin): Likewise.
14434         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
14435         (mach_msg_destroy_port): Likewise.
14436         (mach_msg_destroy_memory): Likewise.
14437         * malloc/mcheck.c (flood): Likewise.
14438         * misc/acct.c (acct): Likewise.
14439         * misc/brk.c (__brk): Likewise.
14440         * misc/chflags.c (chflags): Likewise.
14441         * misc/chroot.c (chroot): Likewise.
14442         * misc/fchflags.c (fchflags): Likewise.
14443         * misc/fstab.c (getfsspec): Likewise.
14444         (getfsfile): Likewise.
14445         * misc/fsync.c (fsync): Likewise.
14446         * misc/ftruncate.c (__ftruncate): Likewise.
14447         * misc/ftruncate64.c (__ftruncate64): Likewise.
14448         * misc/getdomain.c (getdomainname): Likewise.
14449         (getdomainname): Likewise.
14450         * misc/gethostname.c (__gethostname): Likewise.
14451         * misc/getpass.c (getpass): Likewise.
14452         * misc/getttyent.c (skip): Likewise.
14453         (value): Likewise.
14454         * misc/gtty.c (gtty): Likewise.
14455         * misc/hsearch.c (hsearch): Likewise.
14456         (hcreate): Likewise.
14457         * misc/hsearch_r.c (__hcreate_r): Likewise.
14458         (__hdestroy_r): Likewise.
14459         * misc/ioctl.c (__ioctl): Likewise.
14460         * misc/mkdtemp.c (mkdtemp): Likewise.
14461         * misc/mkostemp.c (mkostemp): Likewise.
14462         * misc/mkostemp64.c (mkostemp64): Likewise.
14463         * misc/mkostemps.c (mkostemps): Likewise.
14464         * misc/mkostemps64.c (mkostemps64): Likewise.
14465         * misc/mkstemp.c (mkstemp): Likewise.
14466         * misc/mkstemp64.c (mkstemp64): Likewise.
14467         * misc/mkstemps.c (mkstemps): Likewise.
14468         * misc/mkstemps64.c (mkstemps64): Likewise.
14469         * misc/mktemp.c (__mktemp): Likewise.
14470         * misc/preadv.c (preadv): Likewise.
14471         * misc/preadv64.c (preadv64): Likewise.
14472         * misc/pwritev.c (pwritev): Likewise.
14473         * misc/pwritev64.c (pwritev64): Likewise.
14474         * misc/readv.c (__readv): Likewise.
14475         * misc/revoke.c (revoke): Likewise.
14476         * misc/setdomain.c (setdomainname): Likewise.
14477         * misc/setegid.c (setegid): Likewise.
14478         * misc/seteuid.c (seteuid): Likewise.
14479         * misc/sethostid.c (sethostid): Likewise.
14480         * misc/sethostname.c (sethostname): Likewise.
14481         * misc/setregid.c (__setregid): Likewise.
14482         * misc/setreuid.c (__setreuid): Likewise.
14483         * misc/sstk.c (sstk): Likewise.
14484         * misc/stty.c (stty): Likewise.
14485         * misc/syscall.c (syscall): Likewise.
14486         * misc/syslog.c (setlogmask): Likewise.
14487         * misc/truncate.c (__truncate): Likewise.
14488         * misc/truncate64.c (truncate64): Likewise.
14489         * misc/ualarm.c (ualarm): Likewise.
14490         * misc/usleep.c (usleep): Likewise.
14491         * misc/ustat.c (ustat): Likewise.
14492         * misc/writev.c (__writev): Likewise.
14493         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
14494         * nptl/old_pthread_cond_broadcast.c
14495         (__pthread_cond_broadcast_2_0): Likewise.
14496         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
14497         Likewise.
14498         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
14499         Likewise.
14500         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
14501         Likewise.
14502         * nptl/pt-raise.c (raise): Likewise.
14503         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
14504         Likewise.
14505         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
14506         * nptl/pthread_barrierattr_destroy.c
14507         (pthread_barrierattr_destroy): Likewise.
14508         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
14509         Likewise.
14510         * nptl/pthread_barrierattr_setpshared.c
14511         (pthread_barrierattr_setpshared): Likewise.
14512         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14513         Likewise.
14514         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
14515         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
14516         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
14517         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
14518         Likewise.
14519         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
14520         Likewise.
14521         * nptl/pthread_condattr_getpshared.c
14522         (pthread_condattr_getpshared): Likewise.
14523         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
14524         Likewise.
14525         * nptl/pthread_condattr_setpshared.c
14526         (pthread_condattr_setpshared): Likewise.
14527         * nptl/pthread_detach.c (pthread_detach): Likewise.
14528         * nptl/pthread_equal.c (__pthread_equal): Likewise.
14529         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
14530         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
14531         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
14532         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
14533         Likewise.
14534         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
14535         Likewise.
14536         * nptl/pthread_mutex_getprioceiling.c
14537         (pthread_mutex_getprioceiling): Likewise.
14538         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
14539         Likewise.
14540         * nptl/pthread_mutexattr_getprotocol.c
14541         (pthread_mutexattr_getprotocol): Likewise.
14542         * nptl/pthread_mutexattr_getpshared.c
14543         (pthread_mutexattr_getpshared): Likewise.
14544         * nptl/pthread_mutexattr_getrobust.c
14545         (pthread_mutexattr_getrobust): Likewise.
14546         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
14547         Likewise.
14548         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
14549         Likewise.
14550         * nptl/pthread_mutexattr_setprioceiling.c
14551         (pthread_mutexattr_setprioceiling): Likewise.
14552         * nptl/pthread_mutexattr_setprotocol.c
14553         (pthread_mutexattr_setprotocol): Likewise.
14554         * nptl/pthread_mutexattr_setpshared.c
14555         (pthread_mutexattr_setpshared): Likewise.
14556         * nptl/pthread_mutexattr_setrobust.c
14557         (pthread_mutexattr_setrobust): Likewise.
14558         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
14559         Likewise.
14560         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
14561         Likewise.
14562         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
14563         Likewise.
14564         * nptl/pthread_rwlockattr_getkind_np.c
14565         (pthread_rwlockattr_getkind_np): Likewise.
14566         * nptl/pthread_rwlockattr_getpshared.c
14567         (pthread_rwlockattr_getpshared): Likewise.
14568         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
14569         Likewise.
14570         * nptl/pthread_rwlockattr_setkind_np.c
14571         (pthread_rwlockattr_setkind_np): Likewise.
14572         * nptl/pthread_rwlockattr_setpshared.c
14573         (pthread_rwlockattr_setpshared): Likewise.
14574         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
14575         Likewise.
14576         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
14577         Likewise.
14578         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
14579         Likewise.
14580         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
14581         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
14582         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
14583         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
14584         * nptl/sem_close.c (sem_close): Likewise.
14585         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
14586         * nptl/sem_init.c (__old_sem_init): Likewise.
14587         * nptl/sigaction.c (__sigaction): Likewise.
14588         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
14589         * posix/_exit.c (_exit): Likewise.
14590         * posix/alarm.c (alarm): Likewise.
14591         * posix/confstr.c (confstr): Likewise.
14592         * posix/fpathconf.c (__fpathconf): Likewise.
14593         * posix/getgroups.c (__getgroups): Likewise.
14594         * posix/getpgid.c (__getpgid): Likewise.
14595         * posix/group_member.c (__group_member): Likewise.
14596         * posix/pathconf.c (__pathconf): Likewise.
14597         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
14598         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
14599         * posix/setgid.c (__setgid): Likewise.
14600         * posix/setpgid.c (__setpgid): Likewise.
14601         * posix/setuid.c (__setuid): Likewise.
14602         * posix/sleep.c (__sleep): Likewise.
14603         * posix/sysconf.c (__sysconf): Likewise.
14604         * posix/times.c (__times): Likewise.
14605         * posix/uname.c (__uname): Likewise.
14606         * posix/waitid.c (__waitid): Likewise.
14607         * pwd/getpw.c (__getpw): Likewise.
14608         * resolv/base64.c (b64_pton): Likewise.
14609         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
14610         * resolv/gethnamaddr.c (Dprintf): Likewise.
14611         (gethostbyname): Likewise.
14612         (gethostbyname2): Likewise.
14613         (gethostbyaddr): Likewise.
14614         (_sethtent): Likewise.
14615         (_gethtbyname): Likewise.
14616         (_gethtbyname2): Likewise.
14617         (_gethtbyaddr): Likewise.
14618         (map_v4v6_address): Likewise.
14619         (map_v4v6_hostent): Likewise.
14620         (addrsort): Likewise.
14621         (ht_sethostent): Likewise.
14622         (ht_gethostbyname): Likewise.
14623         (ht_gethostbyaddr): Likewise.
14624         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
14625         (inet_net_ntop_ipv4): Likewise.
14626         * resolv/inet_neta.c (inet_neta): Likewise.
14627         * resolv/inet_ntop.c (inet_ntop): Likewise.
14628         (inet_ntop4): Likewise.
14629         (inet_ntop6): Likewise.
14630         * resolv/inet_pton.c (__inet_pton): Likewise.
14631         (inet_pton4): Likewise.
14632         (inet_pton6): Likewise.
14633         * resolv/res_debug.c (loc_aton): Likewise.
14634         (loc_ntoa): Likewise.
14635         * resource/getpriority.c (__getpriority): Likewise.
14636         * resource/getrusage.c (__getrusage): Likewise.
14637         * resource/nice.c (nice): Likewise.
14638         * resource/setpriority.c (__setpriority): Likewise.
14639         * resource/setrlimit64.c (setrlimit64): Likewise.
14640         * resource/vlimit.c (vlimit): Likewise.
14641         * resource/vtimes.c (vtimes): Likewise.
14642         * rt/aio_error.c (aio_error): Likewise.
14643         * rt/aio_return.c (aio_return): Likewise.
14644         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
14645         * signal/kill.c (__kill): Likewise.
14646         * signal/killpg.c (killpg): Likewise.
14647         * signal/raise.c (raise): Likewise.
14648         * signal/sigaction.c (__sigaction): Likewise.
14649         * signal/sigaddset.c (sigaddset): Likewise.
14650         * signal/sigaltstack.c (sigaltstack): Likewise.
14651         * signal/sigandset.c (sigandset): Likewise.
14652         * signal/sigblock.c (__sigblock): Likewise.
14653         * signal/sigdelset.c (sigdelset): Likewise.
14654         * signal/sigempty.c (sigemptyset): Likewise.
14655         * signal/sigfillset.c (sigfillset): Likewise.
14656         * signal/sighold.c (sighold): Likewise.
14657         * signal/sigignore.c (sigignore): Likewise.
14658         * signal/sigintr.c (siginterrupt): Likewise.
14659         * signal/sigisempty.c (sigisemptyset): Likewise.
14660         * signal/sigismem.c (sigismember): Likewise.
14661         * signal/signal.c (signal): Likewise.
14662         * signal/sigorset.c (sigorset): Likewise.
14663         * signal/sigpause.c (__sigpause): Likewise.
14664         * signal/sigpending.c (sigpending): Likewise.
14665         * signal/sigprocmask.c (__sigprocmask): Likewise.
14666         * signal/sigrelse.c (sigrelse): Likewise.
14667         * signal/sigreturn.c (__sigreturn): Likewise.
14668         * signal/sigset.c (sigset): Likewise.
14669         * signal/sigsetmask.c (__sigsetmask): Likewise.
14670         * signal/sigstack.c (sigstack): Likewise.
14671         * signal/sigsuspend.c (__sigsuspend): Likewise.
14672         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
14673         * signal/sysv_signal.c (__sysv_signal): Likewise.
14674         * socket/accept.c (accept): Likewise.
14675         * socket/accept4.c (__libc_accept4): Likewise.
14676         * socket/bind.c (__bind): Likewise.
14677         * socket/connect.c (__connect): Likewise.
14678         * socket/getpeername.c (getpeername): Likewise.
14679         * socket/getsockname.c (__getsockname): Likewise.
14680         * socket/getsockopt.c (getsockopt): Likewise.
14681         * socket/listen.c (__listen): Likewise.
14682         * socket/recv.c (__recv): Likewise.
14683         * socket/recvmsg.c (__recvmsg): Likewise.
14684         * socket/send.c (__send): Likewise.
14685         * socket/sendmsg.c (__sendmsg): Likewise.
14686         * socket/shutdown.c (shutdown): Likewise.
14687         * socket/sockatmark.c (sockatmark): Likewise.
14688         * socket/socket.c (__socket): Likewise.
14689         * stdio-common/ctermid.c (ctermid): Likewise.
14690         * stdio-common/cuserid.c (cuserid): Likewise.
14691         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
14692         * stdio-common/remove.c (remove): Likewise.
14693         * stdio-common/rename.c (rename): Likewise.
14694         * stdio-common/renameat.c (renameat): Likewise.
14695         * stdio-common/tempname.c (__gen_tempname): Likewise.
14696         * stdio-common/xbug.c (InitBuffer): Likewise.
14697         (AppendToBuffer): Likewise.
14698         (ReadFile): Likewise.
14699         * stdlib/a64l.c (a64l): Likewise.
14700         * stdlib/drand48_r.c (drand48_r): Likewise.
14701         * stdlib/getcontext.c (getcontext): Likewise.
14702         * stdlib/getenv.c (getenv): Likewise.
14703         * stdlib/l64a.c (l64a): Likewise.
14704         * stdlib/llabs.c (llabs): Likewise.
14705         * stdlib/lldiv.c (lldiv): Likewise.
14706         * stdlib/lrand48_r.c (lrand48_r): Likewise.
14707         * stdlib/mrand48_r.c (mrand48_r): Likewise.
14708         * stdlib/putenv.c (putenv): Likewise.
14709         * stdlib/random.c (__srandom): Likewise.
14710         (__initstate): Likewise.
14711         (__setstate): Likewise.
14712         * stdlib/random_r.c (__srandom_r): Likewise.
14713         (__setstate_r): Likewise.
14714         (__random_r): Likewise.
14715         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
14716         * stdlib/setcontext.c (setcontext): Likewise.
14717         * stdlib/setenv.c (setenv): Likewise.
14718         (unsetenv): Likewise.
14719         * stdlib/srand48.c (srand48): Likewise.
14720         * stdlib/srand48_r.c (__srand48_r): Likewise.
14721         * stdlib/swapcontext.c (swapcontext): Likewise.
14722         * stdlib/system.c (__libc_system): Likewise.
14723         * stdlib/tst-strtod.c (expand): Likewise.
14724         * stdlib/tst-strtol.c (expand): Likewise.
14725         * stdlib/tst-strtoll.c (expand): Likewise.
14726         * streams/fattach.c (fattach): Likewise.
14727         * streams/fdetach.c (fdetach): Likewise.
14728         * streams/getmsg.c (getmsg): Likewise.
14729         * streams/isastream.c (isastream): Likewise.
14730         * string/ffs.c (__ffs): Likewise.
14731         * string/ffsll.c (ffsll): Likewise.
14732         * string/memcmp.c (memcmp_common_alignment): Likewise.
14733         (memcmp_not_common_alignment): Likewise.
14734         (MEMCMP): Likewise.
14735         * string/memcpy.c (memcpy): Likewise.
14736         * string/memmove.c (MEMMOVE): Likewise.
14737         * string/memset.c (memset): Likewise.
14738         * string/rawmemchr.c (RAWMEMCHR): Likewise.
14739         * string/strchrnul.c (STRCHRNUL): Likewise.
14740         * string/strerror.c (strerror): Likewise.
14741         * string/strndup.c (__strndup): Likewise.
14742         * string/strverscmp.c (__strverscmp): Likewise.
14743         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
14744         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
14745         (clnttcp_freeres): Likewise.
14746         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
14747         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
14748         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
14749         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
14750         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
14751         (xdr_callhdr): Likewise.
14752         * sunrpc/rpcinfo.c (udpping): Likewise.
14753         (tcpping): Likewise.
14754         (pstatus): Likewise.
14755         (pmapdump): Likewise.
14756         (brdcst): Likewise.
14757         (deletereg): Likewise.
14758         (getprognum): Likewise.
14759         (getvers): Likewise.
14760         (get_inet_address): Likewise.
14761         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
14762         * sunrpc/svc_udp.c (svcudp_create): Likewise.
14763         (svcudp_stat): Likewise.
14764         (svcudp_recv): Likewise.
14765         (svcudp_reply): Likewise.
14766         (svcudp_getargs): Likewise.
14767         (svcudp_freeargs): Likewise.
14768         (svcudp_destroy): Likewise.
14769         * sunrpc/xdr.c (xdr_bytes): Likewise.
14770         (xdr_netobj): Likewise.
14771         (xdr_string): Likewise.
14772         (xdr_wrapstring): Likewise.
14773         * sunrpc/xdr_float.c (xdr_float): Likewise.
14774         (xdr_double): Likewise.
14775         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
14776         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
14777         * sysvipc/ftok.c (ftok): Likewise.
14778         * sysvipc/msgctl.c (msgctl): Likewise.
14779         * sysvipc/msgget.c (msgget): Likewise.
14780         * sysvipc/msgrcv.c (msgrcv): Likewise.
14781         * sysvipc/msgsnd.c (msgsnd): Likewise.
14782         * sysvipc/semget.c (semget): Likewise.
14783         * sysvipc/semop.c (semop): Likewise.
14784         * sysvipc/shmat.c (shmat): Likewise.
14785         * sysvipc/shmctl.c (shmctl): Likewise.
14786         * sysvipc/shmdt.c (shmdt): Likewise.
14787         * sysvipc/shmget.c (shmget): Likewise.
14788         * termios/cfmakeraw.c (cfmakeraw): Likewise.
14789         * termios/speed.c (cfgetospeed): Likewise.
14790         (cfgetispeed): Likewise.
14791         (cfsetospeed): Likewise.
14792         (cfsetispeed): Likewise.
14793         * termios/tcflow.c (tcflow): Likewise.
14794         * termios/tcflush.c (tcflush): Likewise.
14795         * termios/tcgetattr.c (__tcgetattr): Likewise.
14796         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
14797         * termios/tcgetsid.c (tcgetsid): Likewise.
14798         * termios/tcsendbrk.c (tcsendbreak): Likewise.
14799         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
14800         * time/adjtime.c (__adjtime): Likewise.
14801         * time/dysize.c (dysize): Likewise.
14802         * time/ftime.c (ftime): Likewise.
14803         * time/getitimer.c (__getitimer): Likewise.
14804         * time/gettimeofday.c (__gettimeofday): Likewise.
14805         * time/gmtime.c (__gmtime_r): Likewise.
14806         (gmtime): Likewise.
14807         * time/localtime.c (__localtime_r): Likewise.
14808         (localtime): Likewise.
14809         * time/offtime.c (__offtime): Likewise.
14810         * time/settimeofday.c (__settimeofday): Likewise.
14811         * time/stime.c (stime): Likewise.
14812         * time/strftime_l.c (tm_diff): Likewise.
14813         (iso_week_days): Likewise.
14814         * time/strptime.c (strptime): Likewise.
14815         * time/time.c (time): Likewise.
14816         * time/timespec_get.c (timespec_get): Likewise.
14817         * time/tzset.c (tzset_internal): Likewise.
14818         (compute_change): Likewise.
14819         (__tz_compute): Likewise.
14820         * wcsmbs/btowc.c (__btowc): Likewise.
14821         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
14822         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
14823         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
14824         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
14825         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
14826         * wcsmbs/wcscat.c (__wcscat): Likewise.
14827         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14828         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
14829         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
14830         * wcsmbs/wcscspn.c (wcscspn): Likewise.
14831         * wcsmbs/wcsdup.c (wcsdup): Likewise.
14832         * wcsmbs/wcslen.c (__wcslen): Likewise.
14833         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
14834         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
14835         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
14836         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
14837         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14838         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
14839         * wcsmbs/wcsspn.c (wcsspn): Likewise.
14840         * wcsmbs/wcsstr.c (wcsstr): Likewise.
14841         * wcsmbs/wcstok.c (wcstok): Likewise.
14842         * wcsmbs/wctob.c (wctob): Likewise.
14843         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
14844         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14845         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
14846         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
14847         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
14848         * wcsmbs/wmemset.c (__wmemset): Likewise.
14849         * wctype/wcfuncs.c (__towlower): Likewise.
14850         (__towupper): Likewise.
14852         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
14853         (lll_unlock_elision): Add adapt_count parameter.
14855 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
14857         * sysdeps/nptl/configure.ac: Do not give errors based on the
14858         results of top-level configure tests.
14859         * sysdeps/nptl/configure: Regenerated.
14861         * configure.ac (libc_cv_Bgroup): Remove configure test.
14862         * configure: Regenerated.
14863         * config.make.in (have-Bgroup): Remove variable.
14865         * configure.ac (sizeof_long_double): Remove configure test.
14866         * configure: Regenerated.
14867         * config.make.in (sizeof-long-double): Remove variable.
14869         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
14870         * configure: Regenerated.
14871         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
14872         variable.
14873         (exceptions): Likewise.
14874         * sysdeps/arm/configure: Regenerated.
14875         * config.make.in (exceptions): Remove variable.
14876         * Makeconfig (uses-callbacks): Use -fexceptions instead of
14877         $(exceptions).
14878         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
14879         (CFLAGS-vdprintf_chk.c): Likewise.
14880         (CFLAGS-printf_chk.c): Likewise.
14881         (CFLAGS-fprintf_chk.c): Likewise.
14882         (CFLAGS-vprintf_chk.c): Likewise.
14883         (CFLAGS-vfprintf_chk.c): Likewise.
14884         (CFLAGS-gets_chk.c): Likewise.
14885         (CFLAGS-fgets_chk.c): Likewise.
14886         (CFLAGS-fgets_u_chk.c): Likewise.
14887         (CFLAGS-fread_chk.c): Likewise.
14888         (CFLAGS-fread_u_chk.c): Likewise.
14889         (CFLAGS-wprintf_chk.c): Likewise.
14890         (CFLAGS-fwprintf_chk.c): Likewise.
14891         (CFLAGS-vwprintf_chk.c): Likewise.
14892         (CFLAGS-vfwprintf_chk.c): Likewise.
14893         (CFLAGS-fgetws_chk.c): Likewise.
14894         (CFLAGS-fgetws_u_chk.c): Likewise.
14895         * libio/Makefile (CFLAGS-fileops.c): Likewise.
14896         (CFLAGS-fputc.c): Likewise.
14897         (CFLAGS-fputwc.c): Likewise.
14898         (CFLAGS-freopen64.c): Likewise.
14899         (CFLAGS-freopen.c): Likewise.
14900         (CFLAGS-fseek.c): Likewise.
14901         (CFLAGS-fseeko64.c): Likewise.
14902         (CFLAGS-fseeko.c): Likewise.
14903         (CFLAGS-ftello64.c): Likewise.
14904         (CFLAGS-ftello.c): Likewise.
14905         (CFLAGS-fwide.c): Likewise.
14906         (CFLAGS-genops.c): Likewise.
14907         (CFLAGS-getc.c): Likewise.
14908         (CFLAGS-getchar.c): Likewise.
14909         (CFLAGS-getwc.c): Likewise.
14910         (CFLAGS-getwchar.c): Likewise.
14911         (CFLAGS-iofclose.c): Likewise.
14912         (CFLAGS-iofflush.c): Likewise.
14913         (CFLAGS-iofgetpos64.c): Likewise.
14914         (CFLAGS-iofgetpos.c): Likewise.
14915         (CFLAGS-iofgets.c): Likewise.
14916         (CFLAGS-iofgetws.c): Likewise.
14917         (CFLAGS-iofputs.c): Likewise.
14918         (CFLAGS-iofputws.c): Likewise.
14919         (CFLAGS-iofread.c): Likewise.
14920         (CFLAGS-iofsetpos64.c): Likewise.
14921         (CFLAGS-iofsetpos.c): Likewise.
14922         (CFLAGS-ioftell.c): Likewise.
14923         (CFLAGS-iofwrite.c): Likewise.
14924         (CFLAGS-iogetdelim.c): Likewise.
14925         (CFLAGS-iogetline.c): Likewise.
14926         (CFLAGS-iogets.c): Likewise.
14927         (CFLAGS-iogetwline.c): Likewise.
14928         (CFLAGS-ioputs.c): Likewise.
14929         (CFLAGS-ioseekoff.c): Likewise.
14930         (CFLAGS-ioseekpos.c): Likewise.
14931         (CFLAGS-iosetbuffer.c): Likewise.
14932         (CFLAGS-iosetvbuf.c): Likewise.
14933         (CFLAGS-ioungetc.c): Likewise.
14934         (CFLAGS-ioungetwc.c): Likewise.
14935         (CFLAGS-oldfileops.c): Likewise.
14936         (CFLAGS-oldiofclose.c): Likewise.
14937         (CFLAGS-oldiofgetpos64.c): Likewise.
14938         (CFLAGS-oldiofgetpos.c): Likewise.
14939         (CFLAGS-oldiofsetpos64.c): Likewise.
14940         (CFLAGS-oldiofsetpos.c): Likewise.
14941         (CFLAGS-peekc.c): Likewise.
14942         (CFLAGS-putc.c): Likewise.
14943         (CFLAGS-putchar.c): Likewise.
14944         (CFLAGS-putwc.c): Likewise.
14945         (CFLAGS-putwchar.c): Likewise.
14946         (CFLAGS-rewind.c): Likewise.
14947         (CFLAGS-wfileops.c): Likewise.
14948         (CFLAGS-wgenops.c): Likewise.
14949         (CFLAGS-oldiofopen.c): Likewise.
14950         (CFLAGS-iofopen.c): Likewise.
14951         (CFLAGS-iofopen64.c): Likewise.
14952         (CFLAGS-oldtmpfile.c): Likewise.
14953         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
14954         (CFLAGS-fprintf.c): Likewise.
14955         (CFLAGS-printf.c): Likewise.
14956         (CFLAGS-vfwprintf.c): Likewise.
14957         (CFLAGS-vfscanf.c): Likewise.
14958         (CFLAGS-vfwscanf.c): Likewise.
14959         (CFLAGS-fscanf.c): Likewise.
14960         (CFLAGS-scanf.c): Likewise.
14961         (CFLAGS-isoc99_vfscanf.c): Likewise.
14962         (CFLAGS-isoc99_vscanf.c): Likewise.
14963         (CFLAGS-isoc99_fscanf.c): Likewise.
14964         (CFLAGS-isoc99_scanf.c): Likewise.
14965         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
14966         (CFLAGS-isoc99_fwscanf.c): Likewise.
14967         (CFLAGS-isoc99_vwscanf.c): Likewise.
14968         (CFLAGS-isoc99_vfwscanf.c): Likewise.
14970         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
14971         after mkstemp64.
14972         * login/tst-utmp.c (do_prepare): Likewise.
14973         * rt/tst-aio.c (do_prepare): Likewise.
14974         * rt/tst-aio64.c (do_prepare): Likewise.
14976 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14978         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14979         (__lll_lock_elision): Remove adapt_count decrement...
14980         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14981         (__lll_trylock_elision): Likewise.
14982         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14983         (__lll_unlock_elision): ... to here. And utilize
14984         new adapt_count parameter.
14985         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
14986         (__lll_unlock_elision): Update to include adapt_count
14987         parameter.
14988         (lll_unlock_elision): Pass pointer to adapt_count
14989         variable.
14991 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14993         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
14994         Add elision adapt_count parameter to list of arguments.
14995         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
14996         (lll_unlock_elision): Update with new parameter list
14997         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
14998         (lll_unlock_elision): Likewise.
14999         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
15000         (lll_unlock_elision): Likewise.
15002 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15004         [BZ #19122]
15005         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
15006         attribute_hidden.
15008         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
15009         attribute_hidden.
15010         [IS_IN (rtld)] (__strdup): Likewise.
15011         [IS_IN (rtld)] (__strerror_r): Likewise.
15012         [IS_IN (rtld)] (__strsep_g): Likewise.
15013         [IS_IN (rtld)] (memchr): Likewise.
15014         [IS_IN (rtld)] (memcmp): Likewise.
15015         [IS_IN (rtld)] (memcpy): Likewise.
15016         [IS_IN (rtld)] (memmove): Likewise.
15017         [IS_IN (rtld)] (memset): Likewise.
15018         [IS_IN (rtld)] (rawmemchr): Likewise.
15019         [IS_IN (rtld)] (stpcpy): Likewise.
15020         [IS_IN (rtld)] (strchr): Likewise.
15021         [IS_IN (rtld)] (strcmp): Likewise.
15022         [IS_IN (rtld)] (strlen): Likewise.
15023         [IS_IN (rtld)] (strnlen): Likewise.
15024         [IS_IN (rtld)] (strsep): Likewise.
15026         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
15027         attribute_hidden.
15028         [IS_IN (rtld)] (__strtoul_internal): Likewise.
15030         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
15031         attribute_hidden.
15032         [IS_IN (rtld)] (__libc_sigaction): Likewise.
15034         * include/setjmp.h (__longjmp): Add attribute_hidden.
15035         [IS_IN (rtld)] (__sigsetjmp): Likewise.
15037         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
15038         Add attribute_hidden.
15040         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
15041         [IS_IN (rtld)] (__open): Likewise.
15042         [IS_IN (rtld)] (__fcntl): Likewise.
15044         * include/dirent.h (__opendirat): Add attribute_hidden.
15045         (__getdents): Likewise.
15046         (__getdents64): Likewise.
15047         (__alloc_dir): Likewise.
15048         [IS_IN (rtld)] (__closedir): Likewise.
15049         [IS_IN (rtld)] (__fdopendir): Likewise.
15050         [IS_IN (rtld)] (__readdir): Likewise.
15051         [IS_IN (rtld)] (__readdir64): Likewise.
15052         [IS_IN (rtld)] (__rewinddir): Likewise.
15054         * include/dlfcn.h (_dl_catch_error): Moved to ...
15055         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
15056         attribute_hidden.
15058         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
15059         (_itoa_word): Likewise.
15061         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
15062         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
15063         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
15064         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
15065         (_dl_higher_prime_number): Likewise.
15066         (_dl_debug_printf_c): Likewise.
15067         (_dl_signal_cerror): Likewise.
15068         (_dl_receive_error): Likewise.
15069         (_dl_reloc_bad_type): Likewise.
15070         (_dl_resolve_conflicts): Likewise.
15071         (_dl_check_all_versions): Likewise.
15072         (_dl_check_map_versions): Likewise.
15073         (_dl_sort_fini): Likewise.
15074         (_dl_debug_initialize): Likewise.
15075         (_dl_init_paths): Likewise.
15076         (_dl_show_auxv): Likewise.
15077         (_dl_next_ld_env_entry): Likewise.
15078         (_dl_important_hwcaps): Likewise.
15079         (_dl_load_cache_lookup): Likewise.
15080         (_dl_update_slotinfo): Likewise.
15081         (_dl_show_scope): Likewise.
15083         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
15084         attribute_hidden.
15085         (_wordcopy_fwd_dest_aligned): Likewise.
15086         (_wordcopy_bwd_aligned): Likewise.
15087         (_wordcopy_bwd_dest_aligned): Likewise.
15089         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15090         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
15091         Likewise.
15092         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
15093         Likewise.
15094         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
15096 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15098         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
15099         GCC 5 requirement.
15101 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
15103         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
15104         test.
15105         * sysdeps/i386/configure: Regenerated.
15106         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
15107         code unconditional.
15109         * configure.ac (libc_cv_asm_previous_directive): Remove configure
15110         test.
15111         (libc_cv_asm_popsection_directive): Likewise.
15112         * configure: Regenerated.
15113         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
15114         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
15115         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
15116         (__make_section_unallocated): Make definition unconditional.
15117         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
15118         Remove conditional definition.
15119         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
15120         (__make_section_unallocated): Likewise.
15122         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
15123         * configure: Regenerated.
15124         * config.make.in (static-libgcc): Remove variable.
15125         * Makerules (build-shlib-helper): Use -static-libgcc instead of
15126         $(static-libgcc).
15127         (build-module-helper): Likewise.
15129         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
15130         * configure: Regenerated.
15132 2015-10-15  Florian Weimer  <fweimer@redhat.com>
15134         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
15135         (struct char_buffer): New type.
15136         (char_buffer_start, char_buffer_size, char_buffer_error)
15137         (char_buffer_rewind, char_buffer_add): New functions.
15138         (ADDW): Remove macro, replaced by the char_buffer_add function.
15139         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
15140         of extend_alloca.  Make control flow more explicit.
15142 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15144         [BZ #19137]
15145         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
15146         Add -fomit-frame-pointer.
15147         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
15149 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15151         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
15152         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
15153         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
15154         only if !__GNUC_PREREQ (5,0).
15155         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
15156         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
15157         (INTERNAL_SYSCALL_NCS): Likewise.
15158         (LOADREGS_0): New macro for GCC 5.
15159         (ASMARGS_0): Likewise.
15160         (LOADREGS_1): Likewise.
15161         (ASMARGS_1): Likewise.
15162         (LOADREGS_2): Likewise.
15163         (ASMARGS_2): Likewise.
15164         (LOADREGS_3): Likewise.
15165         (ASMARGS_3): Likewise.
15166         (LOADREGS_4): Likewise.
15167         (ASMARGS_4): Likewise.
15168         (LOADREGS_5): Likewise.
15169         (ASMARGS_5): Likewise.
15170         (LOADREGS_6): Likewise.
15171         (ASMARGS_6): Likewise.
15173 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15175         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
15176         -fomit-frame-pointer.
15177         (CFLAGS-mmap64.c): Likewise.
15178         (CFLAGS-semtimedop.c): Likewise.
15179         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
15180         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
15181         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15182         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15184 2015-10-15  Florian Weimer  <fweimer@redhat.com>
15186         [BZ #18928]
15187         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
15188         _dl_pointer_guard member.
15189         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
15190         initializer.
15191         (security_init): Always set up pointer guard.
15192         (process_envvars): Do not process LD_POINTER_GUARD.
15194 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
15196         [BZ #19134]
15197         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
15198         (.LC2): Likewise.
15199         (.LC3): Likewise.
15200         (__lround): Do not add 0.5 to integer or out-of-range arguments.
15202 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15204         [BZ #19129]
15205         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
15206         r0 and r1.
15208 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
15210         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
15212 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
15214         * include/stap-probe.h: Fix macro definition formatting.
15216 2015-10-14  Florian Weimer  <fweimer@redhat.com>
15218         [BZ #19074]
15219         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
15220         load and store num_ifs.
15222 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
15224         [BZ #18822]
15225         * sysdeps/unix/sysv/linux/sched_getaffinity.c
15226         (__sched_getaffinity_new): Add libc_hidden_proto and
15227         libc_hidden_def.
15229 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
15231         [BZ #19007]
15232         * scripts/localplt.awk: Also allow GOT references.
15233         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
15234         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
15235         with "+ REL R_386_GLOB_DAT".
15236         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
15237         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
15239 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
15241         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
15242         INLINE_SYSCALL_ERROR_RETURN_VALUE.
15243         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
15244         Likewise.
15245         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
15246         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
15247         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
15248         INTERNAL_SYSCALLINTERNAL_SYSCALL and
15249         INLINE_SYSCALL_ERROR_RETURN_VALUE.
15250         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
15251         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15252         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
15253         Likewise.
15254         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15256 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
15258         [BZ #19125]
15259         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
15260         <math_private.h> and <stdint.h>.
15261         (__llround): Avoid conversions to and from long long int, and
15262         subtractions, where those might raise spurious exceptions.
15263         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
15264         <math_private.h> and <stdint.h>.
15265         (__llroundf): Avoid conversions to and from long long int, and
15266         subtractions, where those might raise spurious exceptions.
15268 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
15270         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
15271         INLINE_SYSCALL_ERROR_RETURN_VALUE.
15272         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
15273         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
15274         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15275         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15276         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
15277         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
15278         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
15279         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
15280         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15281         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15282         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
15283         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15284         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15285         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
15286         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
15287         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15288         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
15289         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
15290         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
15291         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
15292         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
15293         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
15294         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
15295         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
15296         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
15297         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15298         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15299         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
15300         (__xstat64_conv): Likewise.
15301         (__xstat32_conv): Likewise.
15303 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
15305         * sysdeps/unix/sysv/linux/sysdep.h: New file.
15306         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
15307         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
15308         <sysdeps/unix/sysv/linux/sysdep.h>.
15309         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
15310         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
15311         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
15312         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15313         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
15314         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
15315         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
15316         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
15317         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
15318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15320         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15321         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15322         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15323         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15324         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15325         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
15326         (sysdep-dl-routines): Add sysdep.
15327         [$(subdir) == nptl] (libpthread-routines): Likewise.
15328         [$(subdir) == rt] (librt-routines): Likewise.
15329         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
15330         PIC when branching to SYSCALL_ERROR_LABEL.
15331         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
15332         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
15333         <sysdeps/unix/sysv/linux/sysdep.h>.
15334         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
15335         (SYSCALL_ERROR_ERRNO): Removed.
15336         (SYSCALL_ERROR_HANDLER): Changed to empty.
15337         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
15338         (__syscall_error): New prototype.
15339         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
15340         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
15342 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
15344         [BZ #19124]
15345         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
15346         (_dl_runtime_resolve_avx512): Make it a hidden alias of
15347         _dl_runtime_resolve_avx.
15348         (_dl_runtime_profile_avx512): Make it a hidden alias of
15349         _dl_runtime_profile_avx.
15351 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
15353         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
15354         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
15355         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
15356         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
15358         [BZ #16422]
15359         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
15360         New configure test.
15361         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
15362         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
15363         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
15364         <math_private.h> and <stdint.h>.
15365         (__llrint): Avoid conversions to long long int where those might
15366         raise spurious exceptions.
15367         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
15368         <math_private.h> and <stdint.h>.
15369         (__llrintf): Avoid conversions to long long int where those might
15370         raise spurious exceptions.
15372 2015-10-12  Andreas Schwab  <schwab@suse.de>
15374         [BZ #18969]
15375         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
15376         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
15377         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
15378         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
15379         $(gen-locales).
15380         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
15381         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
15382         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
15383         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
15384         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
15385         $(gen-locales).
15386         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
15387         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
15388         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
15389         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
15390         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
15391         ($(objpfx)tst-ftell-active-handler.out)
15392         ($(objpfx)tst-ftell-append.out)
15393         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
15394         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
15395         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
15396         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
15397         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
15398         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
15399         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
15400         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
15401         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
15402         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
15403         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
15404         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
15405         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
15406         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
15407         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
15408         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
15409         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
15410         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
15411         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
15412         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
15413         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
15414         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
15415         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
15416         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
15417         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
15418         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
15419         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
15420         $(gen-locales).
15421         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
15422         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
15423         $(gen-locales).
15424         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
15425         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
15426         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
15427         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
15428         $(gen-locales).
15429         * libio/tst_wprintf2.c (main): Use explicit locale.
15430         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
15432 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15434         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
15435         __msg_sig_post.
15436         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
15438 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
15440         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15441         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15443         * sysdeps/arm/libm-test-ulps: Regenerated.
15445         [BZ #15470]
15446         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
15448         [BZ #16399]
15449         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
15450         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
15451         and <fix-fp-int-convert-overflow.h>.
15452         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
15453         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15454         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
15455         and <fix-fp-int-convert-overflow.h>.
15456         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
15457         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15458         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
15459         <fix-fp-int-convert-overflow.h>.
15460         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
15461         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15462         * sysdeps/ieee754/dbl-64/s_lround.c: Include
15463         <fix-fp-int-convert-overflow.h>.
15464         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
15465         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15466         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
15467         and <fix-fp-int-convert-overflow.h>.
15468         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
15469         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15470         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
15471         <limits.h> and <fix-fp-int-convert-overflow.h>.
15472         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
15473         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15474         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
15475         and <fix-fp-int-convert-overflow.h>.
15476         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
15477         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15478         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
15479         and <fix-fp-int-convert-overflow.h>.
15480         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
15481         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15482         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
15484 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
15486         [BZ #18589]
15487         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
15488         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
15489         $(gen-locales).
15491 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15492             Phil Blundell <pb@pbcl.net>
15494         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
15495         * nptl/tst-cancel26.c: New file.
15496         * nptl/tst-cancel27.c: Likewise.
15498 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
15500         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
15501         __ILP32__ isn't defined.
15502         (lrint): Likewise.
15503         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
15504         (lrintf): Likewise.
15505         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
15506         (lrintl): Likewise.
15507         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
15508         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
15509         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
15511 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15513         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
15514         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
15516         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
15517         file.
15518         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
15519         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
15521 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
15523         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
15524         configure test.
15525         * sysdeps/i386/configure: Regenerated.
15526         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
15527         configure test.
15528         * sysdeps/x86_64/configure: Regenerated.
15529         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
15530         Make code unconditional.
15532         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
15533         test.
15534         * sysdeps/i386/configure: Regenerated.
15535         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
15536         test.
15537         * sysdeps/x86_64/configure: Regenerated.
15538         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
15539         Make code unconditional.
15540         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
15541         Likewise.
15542         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
15543         Likewise.
15544         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15545         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
15546         code unconditional.
15547         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15548         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
15549         code unconditional.
15550         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15551         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
15552         code unconditional.
15553         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
15554         code unconditional.
15555         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15556         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
15557         code unconditional.
15558         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15559         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
15560         code unconditional.
15561         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15562         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
15563         code unconditional.
15564         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15565         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
15566         code unconditional.
15567         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15568         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
15570         [BZ #19095]
15571         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
15572         mantissa to long int before shifting left.
15574 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
15576         [BZ #19094]
15577         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
15578         <limits.h>.
15579         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15580         when result overflows but exception would not result from cast.
15581         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
15582         <limits.h>.
15583         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15584         when result overflows but exception would not result from cast.
15585         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
15586         <limits.h>.
15587         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15588         when result overflows but exception would not result from cast.
15589         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
15590         <limits.h>.
15591         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15592         when result overflows but exception would not result from cast.
15593         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
15594         <limits.h>.
15595         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15596         when result overflows but exception would not result from cast.
15597         * math/libm-test.inc (lrint_test_data): Add more tests.
15598         (llrint_test_data): Likewise.
15600 2015-10-08  Roland McGrath  <roland@hack.frob.com>
15602         [BZ #18872]
15603         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
15604         Move out from under [$(run-built-tests) = yes] conditional.
15605         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
15606         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
15608 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
15610         [BZ #18589]
15611         * string/Makefile (tests): Add bug-strcoll2.
15612         (LOCALES): Add cs_CZ.UTF-8.
15613         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
15615         [BZ #18589]
15616         * string/bug-strcoll2.c: New file.
15617         * locale/categories.def: Revert commit
15618         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
15619         * locale/langinfo.h: Likewise.
15620         * locale/localeinfo.h: Likewise.
15621         * locale/C-collate.c: Likewise.
15622         * locale/programs/ld-collate.c (collate_output): Likewise.
15623         * string/strcoll_l.c (STRDIFF): Likewise.
15624         (STRCOLL): Likewise.
15625         * wcsmbs/wcscoll_l.c: Likewise.
15627 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
15629         * math/libm-test.inc (lround_test_data): Do not expect the absence
15630         of "inexact" for some tests with non-integer arguments.
15631         (llround_test_data): Likewise.
15633         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
15634         test.
15635         (libc_cv_cc_sse2avx): Likewise.
15636         * sysdeps/i386/configure: Regenerated.
15637         * sysdeps/i386/i686/multiarch/Makefile
15638         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
15639         [$(subdir) = math].
15640         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
15641         code unconditional.
15642         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
15643         Likewise.
15644         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
15645         Likewise.
15646         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
15647         Likewise.
15648         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
15649         test.
15650         (libc_cv_cc_sse2avx): Likewise.
15651         * sysdeps/x86_64/configure: Regenerated.
15652         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
15653         unconditional.
15654         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
15655         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
15656         unconditional.
15657         (_dl_runtime_profile)
15658         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
15659         conditional code.
15660         * sysdeps/x86_64/fpu/multiarch/Makefile
15661         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
15662         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
15663         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15664         * sysdeps/x86_64/fpu/multiarch/e_exp.c
15665         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15666         * sysdeps/x86_64/fpu/multiarch/e_log.c
15667         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15668         * sysdeps/x86_64/fpu/multiarch/s_atan.c
15669         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15670         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
15671         Likewise.
15672         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
15673         Likewise.
15674         * sysdeps/x86_64/fpu/multiarch/s_sin.c
15675         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15676         * sysdeps/x86_64/fpu/multiarch/s_tan.c
15677         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15678         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
15679         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
15680         (HAVE_SSE2AVX_SUPPORT): Likewise.
15682 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
15684         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
15685         instead of #pragma optimize.
15687 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
15689         [BZ #17195]
15690         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
15691         as is similarly done in systrim and _int_free already.
15693 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15695         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
15697 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
15699         [BZ #19088]
15700         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
15701         <limits.h>.
15702         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
15703         overflows but exception would not result from cast.
15704         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
15705         and <limits.h>.
15706         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
15707         overflows but exception would not result from cast.
15708         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
15709         <limits.h>.
15710         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
15711         overflows but exception would not result from cast.
15712         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
15713         <limits.h>.
15714         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
15715         overflows but exception would not result from cast.
15716         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
15717         <limits.h>.
15718         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
15719         overflows but exception would not result from cast.
15720         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
15721         <limits.h>.
15722         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
15723         overflows but exception would not result from cast.
15724         * math/libm-test.inc (lround_test_data): Add more tests.
15725         (llround_test_data): Likewise.
15727 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
15729         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
15730         (CFLAGS-ialloc.c): Ditto.
15731         (CFLAGS-scheck.c): Ditto.
15733 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
15735         [BZ #19086]
15736         * manual/filesys.texi (Storage Allocation): Fix argument order for
15737         posix_fallocate64.
15739 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
15741         [BZ #19085]
15742         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
15743         exponent below 48 inside case for non-overflowing exponent.
15744         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
15746 2015-10-07  Florian Weimer  <fweimer@redhat.com>
15748         * iconvdata/cp737.h (from_idx): Add const.
15749         * iconvdata/cp775.h (from_idx): Likewise.
15751 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
15753         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
15754         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
15755         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
15757         [BZ #19079]
15758         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
15759         file, conditioned on [!_LP64].
15760         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
15761         [!_LP64] (__lround): Do not define as function or alias.
15762         [!_LP64] (lround): Likewise.
15763         [!_LP64] (__lroundl): Likewise.
15764         [!_LP64] (lroundl): Likewise.
15765         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
15766         macro.
15767         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
15768         Likewise.
15770 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
15772         * math/libm-test.inc (lrint_test_data): Add more tests.
15773         (llrint_test_data): Likewise.
15774         (lround_test_data): Likewise.
15775         (llround_test_data): Likewise.
15777         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
15778         (llrint_test_data): Add tests used for lrint.
15780         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
15781         test.
15782         * sysdeps/i386/configure: Regenerated.
15783         * sysdeps/i386/i686/multiarch/Makefile
15784         [$(config-cflags-sse4) = yes]: Make code unconditional.
15785         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
15786         Likewise.
15787         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
15788         Likewise.
15789         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
15790         test.
15791         * sysdeps/x86_64/configure: Regenerated.
15792         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
15793         Make code unconditional.
15794         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
15795         Likewise.
15796         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
15797         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
15799         * scripts/rpm2dynsym.sh: Remove file.
15801 2015-10-06  Florian Weimer  <fweimer@redhat.com>
15803         * configure.ac (libc_cv_cxx_thread_local): Define.
15804         * configure: Regenerate.
15805         * config.make.in (have-cxx-thread_local): Define.
15806         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
15807         (LDLIBS-tst-thread_local1): Define.
15808         (tests): Add tst-thread_local1.
15809         [have-cxx-thread_local != yes] (tests-unsupported): Add
15810         tst-thread_local1.
15811         * nptl/tst-thread_local1.cc: New file.
15813 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
15815         [BZ #19078]
15816         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
15817         (u_thres): Likewise.
15818         (__expl): Determine whether to call __kernel_standard_l based on
15819         value of result, not argument.
15821         * math/libm-test.inc (scalb_test_data): Add more expectations for
15822         the "inexact" exception.
15824         [BZ #19077]
15825         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
15826         0.0L for argument 1.0L.
15828         [BZ #19076]
15829         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
15830         constant 0.0L when computing infinite result.
15832 2015-10-06  Florian Weimer  <fweimer@redhat.com>
15834         [BZ #10432]
15835         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
15836         malloc_usable_size.
15838 2015-10-06  Florian Weimer  <fweimer@redhat.com>
15840         [BZ #19018]
15841         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15842         Mangle function pointer before storing it.
15843         (__call_tls_dtors): Demangle function pointer before calling it.
15845 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15847         [BZ #19012]
15848         * iconv/gconv_db.c (gen_steps): Check for additional errors.
15849         Clean up on failure.
15851 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
15853         [BZ #19071]
15854         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
15855         long int variable to store possibly incremented high part of
15856         mantissa.
15857         * math/libm-test.inc (lround_test_data): Add tests used for
15858         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
15859         for tests requiring 64-bit long.  Do not condition tests on
15860         [TEST_FLOAT] unnecessarily.
15861         (llround_test_data): Add tests used for lround.  Add another
15862         expectation for the "inexact" exception.  Do not condition tests
15863         on [TEST_FLOAT] unnecessarily.
15865         [BZ #887]
15866         [BZ #19049]
15867         [BZ #19050]
15868         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
15869         * sysdeps/ieee754/dbl-64/e_log10.c: Include
15870         <fix-int-fp-convert-zero.h>.
15871         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15872         * sysdeps/ieee754/dbl-64/e_log2.c: Include
15873         <fix-int-fp-convert-zero.h>.
15874         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15875         * sysdeps/ieee754/dbl-64/s_erf.c: Include
15876         <fix-int-fp-convert-zero.h>.
15877         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15878         * sysdeps/ieee754/dbl-64/s_logb.c: Include
15879         <fix-int-fp-convert-zero.h>.
15880         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15881         * sysdeps/ieee754/flt-32/e_log10f.c: Include
15882         <fix-int-fp-convert-zero.h>.
15883         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15884         * sysdeps/ieee754/flt-32/e_log2f.c: Include
15885         <fix-int-fp-convert-zero.h>.
15886         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15887         * sysdeps/ieee754/flt-32/s_erff.c: Include
15888         <fix-int-fp-convert-zero.h>.
15889         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15890         * sysdeps/ieee754/flt-32/s_logbf.c: Include
15891         <fix-int-fp-convert-zero.h>.
15892         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15893         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
15894         <fix-int-fp-convert-zero.h>.
15895         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15896         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
15897         <fix-int-fp-convert-zero.h>.
15898         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15899         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
15900         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
15901         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
15902         file.
15903         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
15905 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
15907         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15909 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
15911         [BZ #19059]
15912         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
15913         overflowing computation.
15914         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15915         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15916         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15917         Likewise.
15918         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15919         Likewise.
15920         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
15921         Likewise.
15922         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15923         Likewise.
15924         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15925         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15926         Likewise.
15927         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15928         Likewise.
15929         * math/libm-test.inc (nexttoward_test_data): Add more tests.
15931         * nss/rewrite_field.c (__nss_rewrite_field): Use
15932         internal_function.
15933         * nss/valid_field.c (__nss_valid_field): Likewise.
15934         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
15936 2015-10-02  Florian Weimer  <fweimer@redhat.com>
15938         [BZ #18724]
15939         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
15940         (__nss_invalid_field_characters, __nss_valid_field)
15941         (__nss_valid_list_field, __nss_rewrite_field): Declare.
15942         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
15943         tst-field.c: New file.
15944         * nss/Makefile (routines): Add valid_field, rewrite_field.
15945         (tests-static): Define unconditionally.
15946         (tests): Include tests-static.
15947         [build-static-nss] (tests-static): Use append.
15948         [build-static-nss] (tests): Remove modification.
15949         * nss/getent.c (print_group): Call putgrent.  Report error.
15950         (print_gshadow): Call putsgent.  Report error.
15951         (print_passwd): Call putpwent.  Report error.
15952         (print_shadow): Call putspent.  Report error.
15953         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
15954         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
15955         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
15956         name, password, directory, shell fields for valid syntax.  Rewrite
15957         GECOS field to match syntax.
15958         * pwd/Makefile (tests): Add tst-putpwent.
15959         * pwd/tst-putpwent.c: New file.
15960         * grp/putgrent.c (putgrent): Convert to ISO function definition.
15961         Check grName, grpasswd, gr_mem fields for valid syntax.
15962         Change loop variable i to size_t.
15963         * grp/Makefile (tests): Add tst-putgrent.
15964         * grp/tst-putgrent.c: New file.
15965         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
15966         valid syntax.
15967         * shadow/Makefile (tests): Add tst-putspent.
15968         * shadow/tst-putspent.c: New file.
15969         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
15970         sg_mem fields for valid syntax.
15971         * gshadow/Makefile (tests): Add tst-putsgent.
15972         * gshadow/tst-putsgent.c: New file.
15974 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15976         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
15977         assembly instructions.
15979 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15981         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
15982         prefix from operands.
15984 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
15986         [BZ #16347]
15987         [BZ #19046]
15988         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
15989         <libc-internal.h>.
15990         (MAXLGM): Do not use diagnostic control macros.
15991         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
15992         threshold for ldbl-128ibm.
15993         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
15994         instead of multiplying by log then subtracting.
15995         * math/auto-libm-test-in: Add more tests of lgamma.
15996         * math/auto-libm-test-out: Regenerated.
15998         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
15999         (TYPE_HEX_DIG): Likewise.
16000         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
16001         precisions when printing floating-point numbers.
16002         (check_float_internal): Likewise.
16004 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
16006         [BZ #16620]
16007         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
16008         of log (10) rounded downward to 48 bits.
16009         (log10_low): Use corresponding low part of log (10).
16011         [BZ #19032]
16012         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
16013         compute result as (x - x) / (x - x) not as 0 / 0.
16014         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16015         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
16017         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16018         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
16019         and expm1.
16020         * math/auto-libm-test-out: Regenerated.
16021         * math/libm-test.inc (acos_test_data): Add more tests.
16022         (asin_test_data): Likewise.
16023         (asinh_test_data): Likewise.
16024         (atan_test_data): Likewise.
16025         (atanh_test_data): Likewise.
16026         (atan2_test_data): Likewise.
16027         (cbrt_test_data): Likewise.
16028         (ceil_test_data): Likewise.
16029         (copysign_test_data): Likewise.
16030         (cos_test_data): Likewise.
16031         (cosh_test_data): Likewise.
16032         (erf_test_data): Likewise.
16033         (erfc_test_data): Likewise.
16034         (exp_test_data): Likewise.
16035         (exp10_test_data): Likewise.
16036         (exp2_test_data): Likewise.
16037         (expm1_test_data): Likewise.
16038         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16040 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
16042         [BZ #19006]
16043         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
16044         to ...
16045         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
16046         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
16047         to ...
16048         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
16049         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
16050         to ...
16051         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
16052         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
16053         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
16054         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
16055         to ...
16056         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
16057         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16058         Moved to ...
16059         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
16060         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16061         Moved to ...
16062         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
16063         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
16064         to ...
16065         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
16066         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16067         Moved to ...
16068         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
16069         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
16070         to ...
16071         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
16072         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
16073         Removed.
16074         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
16075         Likewise.
16076         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
16077         Likewise.
16078         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
16079         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
16080         Likewise.
16081         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16082         Likewise.
16083         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16084         Likewise.
16085         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16086         Likewise.
16087         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16088         Likewise.
16089         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
16090         Likewise.
16091         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
16092         Likewise.
16093         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
16094         Likewise.
16095         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
16096         Likewise.
16097         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
16098         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
16099         Likewise.
16100         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16101         Likewise.
16102         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16103         Likewise.
16104         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16105         Likewise.
16106         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
16107         Likewise.
16108         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16109         Replace ../i486/pthread_cond_timedwait.S with
16110         ../pthread_cond_timedwait.S.
16112 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
16114         * math/libm-test.inc (acos_test_data): Refine expectations for
16115         errno and "inexact" exceptions.
16116         (acosh_test_data): Likewise.
16117         (asin_test_data): Likewise.
16118         (asinh_test_data): Likewise.
16119         (atan_test_data): Likewise.
16120         (atanh_test_data): Likewise.
16121         (atan2_test_data): Likewise.
16122         (cbrt_test_data): Likewise.
16123         (ceil_test_data): Likewise.
16124         (copysign_test_data): Likewise.
16125         (cosh_test_data): Likewise.
16126         (erf_test_data): Likewise.
16127         (erfc_test_data): Likewise.
16128         (exp_test_data): Likewise.
16129         (exp10_test_data): Likewise.
16130         (exp2_test_data): Likewise.
16131         (expm1_test_data): Likewise.
16132         (fabs_test_data): Likewise.
16133         (floor_test_data): Likewise.
16134         (fma_test_data): Likewise.
16135         (fmax_test_data): Likewise.
16136         (fmin_test_data): Likewise.
16137         (fmod_test_data): Likewise.
16138         (fpclassify_test_data): Likewise.
16139         (frexp_test_data): Likewise.
16140         (hypot_test_data): Likewise.
16141         (ilogb_test_data): Likewise.
16142         (isgreater_test_data): Likewise.
16143         (isgreaterequal_test_data): Likewise.
16144         (isinf_test_data): Likewise.
16145         (isless_test_data): Likewise.
16146         (islessequal_test_data): Likewise.
16147         (islessgreater_test_data): Likewise.
16148         (isnan_test_data): Likewise.
16149         (isnormal_test_data): Likewise.
16150         (issignaling_test_data): Likewise.
16151         (isunordered_test_data): Likewise.
16152         (j0_test_data): Likewise.
16153         (j1_test_data): Likewise.
16154         (jn_test_data): Likewise.
16155         (lgamma_test_data): Likewise.
16156         (lrint_test_data): Likewise.
16157         (llrint_test_data): Likewise.
16158         (log_test_data): Likewise.
16159         (log10_test_data): Likewise.
16160         (log1p_test_data): Likewise.
16161         (log2_test_data): Likewise.
16162         (logb_test_data): Likewise.
16163         (lround_test_data): Likewise.
16164         (llround_test_data): Likewise.
16165         (modf_test_data): Likewise.
16166         (nearbyint_test_data): Likewise.
16167         (nextafter_test_data): Likewise.
16168         (nexttoward_test_data): Likewise.
16169         (pow_test_data): Likewise.
16170         (remainder_test_data): Likewise.
16171         (remquo_test_data): Likewise.
16172         (rint_test_data): Likewise.
16173         (round_test_data): Likewise.
16174         (signbit_test_data): Likewise.
16175         (sinh_test_data): Likewise.
16176         (sqrt_test_data): Likewise.
16177         (tanh_test_data): Likewise.
16178         (tgamma_test_data): Likewise.
16179         (trunc_test_data): Likewise.
16180         (y0_test_data): Likewise.
16181         (y1_test_data): Likewise.
16182         (yn_test_data): Likewise.
16183         (significand_test_data): Likewise.
16185 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
16187         * manual/filesys.texi (Storage Allocation): Document that
16188         posix_fallocate emulation fails when fd is open with O_WRONLY.
16190 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
16192         [BZ #19016]
16193         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
16194         allow more cases with X^2 + Y^2 >= 0.5.
16195         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
16196         normal element in sum instead of special-casing based on values of
16197         arguments.
16198         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
16199         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
16200         -1 as normal element in sum instead of special-casing based on
16201         values of arguments.
16202         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
16203         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
16204         (__x2y2m1): Update comment.
16205         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
16206         as normal element in sum instead of special-casing based on values
16207         of arguments.
16208         * math/s_clog.c (__clog): Handle more cases using log1p without
16209         hypot.
16210         * math/s_clog10.c (__clog10): Likewise.
16211         * math/s_clog10f.c (__clog10f): Likewise.
16212         * math/s_clog10l.c (__clog10l): Likewise.
16213         * math/s_clogf.c (__clogf): Likewise.
16214         * math/s_clogl.c (__clogl): Likewise.
16215         * math/auto-libm-test-in: Add more tests of clog and clog10.
16216         * math/auto-libm-test-out: Regenerated.
16217         * sysdeps/i386/fpu/libm-test-ulps: Update.
16218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16220 2015-09-28  Martin Sebor  <msebor@redhat.com>
16222         [BZ #18969]
16223         * string/Makefile (LOCALES): Define.
16224         (gen-locales.mk): Include.
16225         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
16226         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
16227         * string/tst-strxfrm2.c (do_test): Print the name of the locale
16228         on setlocale failure.
16230 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
16232         [BZ #18985]
16233         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
16234         (__strftime_internal): Likewise.
16235         * time/tst-strftime.c (do_bz18985): New test.
16236         (do_test): Call it.
16238 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
16240         [BZ #18956]
16241         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
16242         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
16243         extracting high part.
16244         * math/auto-libm-test-in: Add another test of pow.
16245         * math/auto-libm-test-out: Regenerated.
16246         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16248 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
16250         [BZ #18825]
16251         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
16252         New macro.
16253         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
16254         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
16255         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
16256         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
16257         DBL_NARROW_EVAL, reloading the PIC register as needed.
16258         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
16259         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
16260         FLT_NARROW_EVAL.  Use separate return path for case when first
16261         argument is NaN.
16262         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
16263         DEFINE_LDBL_MIN.
16264         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
16265         PIC register.
16266         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
16267         math_check_force_underflow_nonneg.
16268         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
16269         underflow for subnormal result.
16270         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16271         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
16272         math_check_force_underflow_nonneg.
16273         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
16274         math_check_force_underflow.
16275         * sysdeps/x86_64/fpu/x86_64-math-asm.h
16276         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
16277         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
16278         DEFINE_LDBL_MIN.
16279         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
16280         * math/auto-libm-test-in: Add more tests of pow.
16281         * math/auto-libm-test-out: Regenerated.
16283 2015-09-25  Florian Weimer  <fweimer@redhat.com>
16285         * nss/bug17079.c (init_test_items): Add diagnostic for
16286         inconsistent entries.
16287         (test_buffer_size): Skip inconsistent entries.
16289 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
16291         [BZ #13304]
16292         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
16293         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
16294         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
16296         [BZ #13304]
16297         * sysdeps/microblaze/s_fma.c: New file.
16298         * sysdeps/microblaze/s_fmaf.c: Likewise.
16299         * sysdeps/microblaze/sfp-machine.h: Likewise.
16301 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
16303         [BZ #17250]
16304         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
16305         member.
16307 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
16309         [BZ #18803]
16310         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
16311         (MO): New macro.
16312         (__ieee754_hypot) [PIC]: Load PIC register.
16313         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
16314         DBL_NARROW_EVAL.
16315         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
16316         math_check_force_underflow_nonneg in case where result might be
16317         tiny.
16318         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16319         Likewise.
16320         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16321         Likewise.
16322         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16323         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16324         * math/auto-libm-test-in: Add more tests of hypot.
16325         * math/auto-libm-test-out: Regenerated.
16327 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
16329         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
16331 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
16333         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
16334         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
16335         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
16336         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
16337         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
16338         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
16339         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
16341         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
16342         LOAD_PIC_REG.
16344         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
16345         (FLT_CHECK_FORCE_UFLOW): Likewise.
16346         (DBL_CHECK_FORCE_UFLOW): Likewise.
16347         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
16348         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
16349         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
16350         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
16351         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
16352         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
16353         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
16354         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
16355         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
16356         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16357         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
16358         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
16359         (flt_min): Replace with use of DEFINE_FLT_MIN.
16360         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
16361         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
16362         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16363         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
16364         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
16365         (flt_min): Replace with use of DEFINE_FLT_MIN.
16366         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
16367         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
16368         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16369         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
16370         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
16371         (flt_min): Replace with use of DEFINE_FLT_MIN.
16372         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
16373         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
16374         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
16375         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
16376         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
16377         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
16378         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
16379         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
16380         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16381         (__atan): Use DBL_CHECK_FORCE_UFLOW.
16382         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
16383         (flt_min): Replace with use of DEFINE_FLT_MIN.
16384         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
16385         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
16386         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16387         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
16388         main computation.
16389         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
16390         (flt_min): Replace with use of DEFINE_FLT_MIN.
16391         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
16392         main computation.
16393         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
16394         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16395         (MO): New macro.
16396         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
16397         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
16398         (flt_min): Replace with use of DEFINE_FLT_MIN.
16399         (MO): New macro.
16400         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
16401         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
16402         (__log1pl): Use MO.
16404         [BZ #19003]
16405         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
16406         $(config-cflags-nofma).
16408 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16410         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16412 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
16414         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
16415         (TWO127): Likewise.
16417         * sysdeps/generic/math_private.h (fabs_tg): New macro.
16418         (min_of_type): Likewise.
16419         (math_check_force_underflow): Likewise.
16420         (math_check_force_underflow_nonneg): Likewise.
16421         (math_check_force_underflow_complex): Likewise.
16422         * math/e_exp2l.c (__ieee754_exp2l): Use
16423         math_check_force_underflow_nonneg.
16424         * math/k_casinh.c (__kernel_casinh): Likewise.
16425         * math/k_casinhf.c (__kernel_casinhf): Likewise.
16426         * math/k_casinhl.c (__kernel_casinhl): Likewise.
16427         * math/s_catan.c (__catan): Use
16428         math_check_force_underflow_complex.
16429         * math/s_catanf.c (__catanf): Likewise.
16430         * math/s_catanh.c (__catanh): Likewise.
16431         * math/s_catanhf.c (__catanhf): Likewise.
16432         * math/s_catanhl.c (__catanhl): Likewise.
16433         * math/s_catanl.c (__catanl): Likewise.
16434         * math/s_ccosh.c (__ccosh): Likewise.
16435         * math/s_ccoshf.c (__ccoshf): Likewise.
16436         * math/s_ccoshl.c (__ccoshl): Likewise.
16437         * math/s_cexp.c (__cexp): Likewise.
16438         * math/s_cexpf.c (__cexpf): Likewise.
16439         * math/s_cexpl.c (__cexpl): Likewise.
16440         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
16441         * math/s_clog10.c (__clog10): Likewise.
16442         * math/s_clog10f.c (__clog10f): Likewise.
16443         * math/s_clog10l.c (__clog10l): Likewise.
16444         * math/s_clogf.c (__clogf): Likewise.
16445         * math/s_clogl.c (__clogl): Likewise.
16446         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
16447         * math/s_csinf.c (__csinf): Likewise.
16448         * math/s_csinh.c (__csinh): Likewise.
16449         * math/s_csinhf.c (__csinhf): Likewise.
16450         * math/s_csinhl.c (__csinhl): Likewise.
16451         * math/s_csinl.c (__csinl): Likewise.
16452         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
16453         * math/s_csqrtf.c (__csqrtf): Likewise.
16454         * math/s_csqrtl.c (__csqrtl): Likewise.
16455         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
16456         * math/s_ctanf.c (__ctanf): Likewise.
16457         * math/s_ctanh.c (__ctanh): Likewise.
16458         * math/s_ctanhf.c (__ctanhf): Likewise.
16459         * math/s_ctanhl.c (__ctanhl): Likewise.
16460         * math/s_ctanl.c (__ctanl): Likewise.
16461         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
16462         instead of volatile.
16463         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
16464         math_check_force_underflow.
16465         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16466         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
16467         volatile when forcing underflow.
16468         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16469         math_check_force_underflow_nonneg.
16470         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
16471         Likewise.
16472         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
16473         math_check_force_underflow.
16474         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16475         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16476         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16477         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
16478         math_check_force_underflow_nonneg.
16479         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
16480         math_check_force_underflow.
16481         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
16482         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
16483         instead of volatile.
16484         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
16485         math_check_force_underflow.
16486         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16487         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16488         math_check_force_underflow_nonneg.
16489         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
16490         math_check_force_underflow.
16491         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16492         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16493         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
16494         math_check_force_underflow_nonneg.
16495         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
16496         Likewise.
16497         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
16498         math_check_force_underflow.
16499         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16500         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
16501         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
16502         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
16503         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16504         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
16505         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
16506         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
16507         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
16508         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
16509         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16510         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
16511         Likewise.
16512         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
16513         math_check_force_underflow_nonneg.
16514         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
16515         Likewise.
16516         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
16517         math_check_force_underflow.
16518         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16519         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
16520         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16521         Likewise.
16522         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
16523         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
16524         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
16525         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
16526         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
16527         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
16528         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
16529         instead of volatile.
16530         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
16531         math_check_force_underflow.
16532         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
16533         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
16534         math_check_force_underflow.
16535         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
16536         Likewise.
16537         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16538         Use math_check_force_underflow_nonneg.
16539         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
16540         math_check_force_underflow.
16541         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
16542         Likewise.
16543         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16544         Likewise.
16545         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16546         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16547         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16548         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16549         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
16550         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16551         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16552         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
16553         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
16554         math_check_force_underflow_nonneg.
16555         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
16556         math_check_force_underflow.
16557         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16558         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
16559         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
16560         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
16561         math_check_force_underflow_nonneg.
16562         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
16563         math_check_force_underflow.
16564         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
16565         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
16566         instead of volatile.
16567         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
16568         math_check_force_underflow.
16570         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
16571         * stdlib/strtod_l.c: Include <math_private.h>.
16572         (overflow_value): Use math_narrow_eval.
16573         (underflow_value): Likewise.
16574         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16575         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
16576         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16577         (__ieee754_gamma_r): Likewise.
16578         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
16579         Likewise.
16580         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
16581         Likewise.
16582         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
16583         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
16584         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
16585         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
16586         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16587         (__ieee754_gammaf_r): Likewise.
16588         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16589         Likewise.
16590         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
16591         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
16592         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
16593         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
16594         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
16595         volatile.
16596         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
16597         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
16598         math_narrow_eval.
16599         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
16600         Likewise.
16601         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16602         Likewise.
16603         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
16604         Likewise.
16605         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
16606         volatile.
16607         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
16608         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
16609         math_narrow_eval.
16610         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16611         Likewise.
16612         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16613         Likewise.
16615 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
16617         * nptl/Versions: Remove ignored symbols.
16619 2015-09-22  Florian Weimer  <fweimer@redhat.com>
16621         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
16622         * nss/Makefile (tests): Update.
16624 2015-09-22  Florian Weimer  <fweimer@redhat.com>
16626         * nss/bug18287.c: New file.
16627         * nss/Makefile (tests): Add bug18287.
16629 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16631         * mach/Versions (__mach_host_self_): Add symbol.
16633 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16635         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
16636         vm_page_size.
16638 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16640         Really fix sysdeps/i386/fpu/s_scalbn.S build
16642         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
16643         (libc: GLIBC_2_22): Remove unused version set.
16645 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
16647         * config.make.in (enable-timezone-tools): New variable.
16648         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
16649         (enable_timezone_tools): Export to generated files.
16650         * configure: Regenerate.
16651         * INSTALL: Regenerate.
16652         * manual/install.texi (--disable-timezone-tools): Document new flag.
16653         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
16654         ifeq ($(enable-timezone-tools),yes) check.
16656 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
16658         * timezone/Makefile: Revert previous change.
16660         [BZ #18980]
16661         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
16662         (DEFINE_DBL_MIN): Likewise.
16663         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
16664         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
16665         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
16666         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
16667         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
16668         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16669         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16670         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
16671         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
16672         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16673         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16674         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
16675         (flt_min): Replace with use of DEFINE_FLT_MIN.
16676         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16677         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
16678         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16679         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16680         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
16681         (flt_min): Replace with use of DEFINE_FLT_MIN.
16682         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16683         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
16684         (flt_min): Replace with use of DEFINE_FLT_MIN.
16685         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16686         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
16687         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
16688         (__ieee754_hypot): Use DBL_NARROW_EVAL.
16689         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
16690         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
16691         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
16692         (__ieee754_pow): Use DBL_NARROW_EVAL.
16693         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
16694         (__ieee754_powf): Use FLT_NARROW_EVAL.
16695         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
16696         (__ieee754_expf_sse2): Convert double-precision result to single
16697         precision.
16698         * sysdeps/i386/fpu/libm-test-ulps: Update.
16700 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16702         * timezone/Makefile: Ignore unused variable errors due to private.h
16703         (time_t_min) and (time_t_max).
16704         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
16705         Likewise.
16707 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
16709         [BZ #18981]
16710         * sysdeps/i386/fpu/i386-math-asm.h: New file.
16711         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
16712         (__ieee754_scalb): Use DBL_NARROW_EVAL.
16713         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
16714         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
16715         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
16716         (__scalbn): Use DBL_NARROW_EVAL.
16717         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
16718         (__scalbnf): Use FLT_NARROW_EVAL.
16720 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16722         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
16723         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
16724         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
16725         * stdio-common/printf_fp.c (___printf_fp):
16726         Use signbit to get the sign. Use isinf macro to allow inlining.
16727         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
16728         * stdio-common/printf_size.c (__printf_size): Likewise.
16730 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
16732         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
16734 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
16736         [BZ #18980]
16737         * sysdeps/generic/math_private.h: Include <float.h>.
16738         (math_narrow_eval): New macro.
16739         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
16740         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
16741         math_narrow_eval on overflowing return value.
16742         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
16743         Likewise.
16744         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16745         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
16746         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
16747         Likewise.
16748         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
16750 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16752         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
16753         * math/Makefile: Remove isinf_ns.c.
16754         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
16755         * math/multc3.c (__multc3): Likewise.
16756         * math/s_casin.c (__casin): Likewise.
16757         * math/s_casinf.c (__casinf): Likewise.
16758         * math/s_casinl.c (__casinl): Likewise.
16759         * math/s_cproj.c (__cproj): Likewise.
16760         * math/s_cprojf.c (__cprojf): Likewise.
16761         * math/s_cprojl.c (__cprofl): Likewise.
16762         * math/s_ctan.c (__ctan): Likewise.
16763         * math/s_ctanf.c (__ctanf): Likewise.
16764         * math/s_ctanh.c (__ctanh): Likewise.
16765         * math/s_ctanhf.c (__ctanhf): Likewise.
16766         * math/s_ctanhl.c (__ctanhl): Likewise.
16767         * math/s_ctanl.c (__ctanl): Likewise.
16768         * math/w_fmod.c (__fmod): Likewise.
16769         * math/w_fmodf.c (__fmodf): Likewise.
16770         * math/w_fmodl.c (_fmodl): Likewise.
16771         * math/w_remainder.c (__remainder): Likewise.
16772         * math/w_remainderf.c (__remainderf): Likewise.
16773         * math/w_remainderl.c (__remainderl): Likewise.
16774         * math/w_scalb.c (__scalb): Likewise.
16775         * math/w_scalbf.c (__scalbf): Likewise.
16776         * math/w_scalbl.c (__scalbl): Likewise.
16777         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
16778         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
16779         with isinf.
16780         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
16781         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
16782         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
16783         __isinf_nsf with isinf.
16784         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
16785         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
16786         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
16787         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
16788         with isinf.
16789         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
16790         __isinf_nsl with isinf.
16791         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
16792         with isinf.
16793         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
16794         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
16795         __isinf_nsl with isinf.
16796         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
16797         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
16798         with isinf.
16800 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16802         * resolv/base64.c (rcsid): Remove unused static.
16803         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
16804         static.  (tqpi1): Likewise.
16805         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
16806         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
16807         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
16808         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
16809         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
16810         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
16811         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
16812         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
16813         Likewise.
16815 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
16817         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
16818         <nptl/pthreadP.h>.
16819         (_longjmp_unwind): Use __libc_ptf_call.
16820         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
16822 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
16824         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
16825         * sysdeps/arm/__longjmp.S: Likewise.
16827 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16829         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
16830         Use __builtin_signbit.
16831         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
16832         Use __builtin_signbitf.
16833         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
16834         Use __builtin_signbitl.
16835         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16836         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
16838 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16840         [BZ #15367]
16841         [BZ #17441]
16843         * math/Makefile: Build test-snan.c with -fsignaling-nans.
16844         * math/math.h (fpclassify): Use __builtin_fpclassify when
16845         available.  (signbit): Use __builtin_signbit(f/l).
16846         (isfinite): Use__builtin_isfinite.  (isnormal): Use
16847         __builtin_isnormal.  (isnan): Use __builtin_isnan.
16848         (isinf): Use __builtin_isinf_sign.
16850 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16852         * benchtests/Makefile: Add bench-math-inlines, link with libm.
16853         * benchtests/bench-math-inlines.c: New benchmark.
16854         * benchtests/bench-util.h: New file.
16855         * benchtests/bench-util.c: New file.
16856         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
16858 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
16860         * elf/tst-dlmopen1.c: Define TEST_SO.
16861         (do_test): Use TEST_SO.
16863         * elf/dl-load.c: Include libc-internal.h.
16864         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
16866 2015-09-18  Vincent Bernat  <vincent@bernat.im>
16868         [BZ #17887]
16869         * time/strptime_l.c (__strptime_internal): Make %z accept
16870         [+-]HH:MM time zones.
16872 2015-09-18  Vincent Bernat  <vincent@bernat.im>
16874         [BZ #17886]
16875         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
16876         valid time zone.
16878 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
16880         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
16881         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
16882         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16883         (__ASSUME_FDATASYNC): Delete.
16885 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16887         * conform/linknamespace.pl: Require weak undefined symbols to be
16888         in the standard namespace.
16889         (%strong_syms): Rename to %seen_syms.
16890         (%strong_seen): Rename to %seen_where.
16892 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
16894         [BZ #18970]
16895         * misc/error.c (error): Replace pthread_setcancelstate with
16896         __pthread_setcancelstate.
16897         (error_at_line): Likewise.
16898         * posix/wordexp.c (parse_comm): Likewise.
16899         * stdlib/fmtmsg.c (fmtmsg): Likewise.
16900         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
16901         (__pthread_setcancelstate): This.
16902         (pthread_setcancelstate): Add an alias.
16903         * nptl/nptl-init.c (pthread_functions): Replace
16904         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
16905         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
16906         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
16907         hidden_proto.
16908         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
16909         it with hidden_def.
16910         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
16911         (pthread_setcancelstate): Renamed to ...
16912         (__pthread_setcancelstate): This.
16913         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
16914         __libc_ptf_call with __pthread_setcancelstate.
16916 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16917             Andreas Schwab  <schwab@suse.de>
16919         [BZ #17118]
16920         * math/s_ctan.c (__ctan): Determine sign of zero real part of
16921         result when imaginary part of argument is infinite using sine and
16922         cosine.
16923         * math/s_ctanf.c (__ctanf): Likewise.
16924         * math/s_ctanl.c (__ctanl): Likewise.
16925         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
16926         of result when real part of argument is infinite using sine and
16927         cosine.
16928         * math/s_ctanhf.c (__ctanhf): Likewise.
16929         * math/s_ctanhl.c (__ctanhl): Likewise.
16930         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
16931         (ctanh_test_data): Add more tests of ctanh.
16933 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16935         [BZ #15384]
16936         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
16937         bit-mask as in subtraction.
16938         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
16939         Likewise.
16940         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
16941         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
16942         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
16944         [BZ #18951]
16945         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
16946         underflow exception for small results.
16947         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
16948         Likewise.
16949         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
16950         Likewise.
16951         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16952         Likewise.
16953         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16954         Likewise.
16955         * math/auto-libm-test-in: Add more tests of tgamma.
16956         * math/auto-libm-test-out: Regenerated.
16958 2015-09-17  Andreas Schwab  <schwab@suse.de>
16960         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
16962 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
16964         [BZ #18977]
16965         * math/bits/mathcalls.h
16966         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
16967         not declare.
16968         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
16969         Likewise.
16970         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
16971         Likewise.
16972         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
16973         Likewise.
16974         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
16975         Likewise.
16976         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
16977         Likewise.
16978         * conform/data/math.h-data
16979         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
16980         function.
16981         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
16982         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
16983         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
16984         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
16985         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
16986         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
16987         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
16988         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
16989         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
16990         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
16991         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
16993         [BZ #6803]
16994         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
16995         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
16996         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
16997         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
16998         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
16999         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
17000         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
17001         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
17002         [NO_LONG_DOUBLE] (scalbnl): Likewise.
17003         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
17004         Likewise.
17005         [NO_LONG_DOUBLE] (scalbnl): Likewise.
17006         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
17007         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
17008         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
17009         long_double_symbol calls.
17010         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
17011         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
17012         strong alias of __ldexpl.
17013         (scalbnl): Define using long_double_symbol.
17014         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
17015         Remove alias.
17016         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
17017         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
17018         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
17019         (scalbln_test_data): Add more errno expectations.
17021 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
17023         Cache the host port like we cache the task port.  This way we do not
17024         need to call the kernel just to get the port.  Furthermore, we no
17025         longer increase the reference count on every invocation of
17026         `mach_host_self'.
17028         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
17029         Protect declarations against the macro expansion.
17030         * mach/mach_init.c (__mach_host_self_): New variable.
17031         (mach_init): Initialize `__mach_host_self_'.
17032         * mach/mach_init.h (__mach_host_self_): New declaration.
17033         (__mach_host_self, mach_host_self): New macros.
17034         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
17035         Release reference.
17037 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
17039         [BZ #4404]
17040         * po/de.po: Update from Translation Project.
17042         [BZ #16415]
17043         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
17044         (__expm1l): Remove code to handle positive infinity and overflow.
17045         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
17046         variable.
17047         (__expm1l): Remove code to handle positive infinity and overflow.
17049 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
17050             Paul Pluzhnikov  <ppluzhnikov@google.com>
17052         [BZ #18872]
17053         * stdio-common/Makefile (tst-printf-bz18872): New test.
17054         (tst-printf-bz18872-mem.out): Likewise.
17055         * stdio-common/tst-printf-bz18872.sh: Generate new test.
17056         * stdio-common/vfprintf.c: Fix memory leaks.
17058 2015-09-16  Andreas Schwab  <schwab@suse.de>
17060         [BZ #17244]
17061         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
17062         Remove extra va_start/va_end calls.
17064         [BZ #17243]
17065         * posix/execl.c (execl): Add missing va_end.
17066         * posix/execle.c (execle): Likewise.
17067         * posix/execlp.c (execlp): Likewise.
17069 2015-09-15  Roland McGrath  <roland@hack.frob.com>
17071         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
17072         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
17074 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
17076         [BZ #18967]
17077         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
17078         undefine around includes of <bits/mathcalls.h>.
17079         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
17080         not declare function.
17081         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
17082         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
17083         (scalb): Likewise.
17084         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
17085         not define macro.
17086         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
17087         variable.
17088         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17089         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17090         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17092         [BZ #18857]
17093         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
17094         return non-finite argument without doing ordered comparisons on
17095         it.
17097         [BZ #16296]
17098         * math/fenv.h (fegetround): Use __attribute_pure__.
17099         * include/fenv.h (__fegetround): Likewise.
17101         [BZ #18595]
17102         * math/s_ctan.c (__ctan): Force underflow exception for results
17103         whose real or imaginary part has small absolute value.
17104         * math/s_ctanf.c (__ctanf): Likewise.
17105         * math/s_ctanh.c (__ctanh): Likewise.
17106         * math/s_ctanhf.c (__ctanhf): Likewise.
17107         * math/s_ctanhl.c (__ctanhl): Likewise.
17108         * math/s_ctanl.c (__ctanl): Likewise.
17109         * math/auto-libm-test-in: Do not allow missing underflow for ctan
17110         and ctanh.  Add more tests of ctan and ctanh.
17112         [BZ #15918]
17113         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
17114         handling of cases where one argument is an infinity.
17116         [BZ #18875]
17117         [BZ #18966]
17118         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
17119         (MO): New macro.
17120         (__ieee754_exp10): For small results, force underflow exception
17121         and remove excess range and precision from return value.
17122         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
17123         (MO): New macro.
17124         (__ieee754_exp10f): For small results, force underflow exception
17125         and remove excess range and precision from return value.
17126         * math/auto-libm-test-in: Add more tests of exp10.
17127         * math/auto-libm-test-out: Regenerated.
17129 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
17131         [BZ #18875]
17132         [BZ #18961]
17133         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
17134         (MO): New macro.
17135         (__ieee754_exp): For small results, force underflow exception and
17136         remove excess range and precision from return value.
17137         (__exp_finite): Likewise.
17138         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
17139         (MO): New macro.
17140         (__ieee754_expf): For small results, force underflow exception and
17141         remove excess range and precision from return value.
17142         (__expf_finite): Likewise.
17143         * math/auto-libm-test-in: Add more tests of exp.
17144         * math/auto-libm-test-out: Regenerated.
17146         [BZ #16521]
17147         [BZ #18875]
17148         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
17149         small results.
17150         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
17151         (MO): New macro.
17152         (__ieee754_exp2): For small results, force underflow exception and
17153         remove excess range and precision from return value.
17154         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
17155         (MO): New macro.
17156         (__ieee754_exp2f): For small results, force underflow exception
17157         and remove excess range and precision from return value.
17158         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
17159         (MO): New macro.
17160         (__ieee754_exp2l): Force underflow exception for small results.
17161         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17162         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
17163         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
17164         (MO): New macro.
17165         (__ieee754_exp2l): Force underflow exception for small results.
17166         * math/auto-libm-test-in: Add more tests or exp2.
17167         * math/auto-libm-test-out: Regenerated.
17169 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
17171         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
17173         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
17174         /dev/null.
17176 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17178         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17179         io fs process)): Drop spurious backslash.
17181 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
17183         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
17184         Use sysinfo system call instead of parsing /proc/meminfo.
17185         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
17186         Likewise.
17188 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
17190         [BZ #16985]
17191         * programs/localedef.c (main): Display argv[remaining] when
17192         output_path is NULL.
17194 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
17196         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17197         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
17198         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
17199         tanh.
17200         * math/auto-libm-test-out: Regenerated.
17201         * sysdeps/i386/fpu/libm-test-ulps: Update.
17202         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17203         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17206 2015-09-11  Roland McGrath  <roland@hack.frob.com>
17208         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
17209         Use 'override' keyword to freeze the value here, preventing
17210         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
17212 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
17214         [BZ #14912]
17215         * sysdeps/aarch64/bits/atomic.h: Move to ...
17216         * sysdeps/aarch64/atomic-machine.h: ...here.
17217         (_AARCH64_BITS_ATOMIC_H): Rename macro to
17218         _AARCH64_ATOMIC_MACHINE_H.
17219         * sysdeps/alpha/bits/atomic.h: Move to ...
17220         * sysdeps/alpha/atomic-machine.h: ...here.
17221         * sysdeps/arm/bits/atomic.h: Move to ...
17222         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
17223         * bits/atomic.h: Move to ...
17224         * sysdeps/generic/atomic-machine.h: ...here.
17225         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17226         * sysdeps/i386/bits/atomic.h: Move to ...
17227         * sysdeps/i386/atomic-machine.h: ...here.
17228         * sysdeps/ia64/bits/atomic.h: Move to ...
17229         * sysdeps/ia64/atomic-machine.h: ...here.
17230         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
17231         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
17232         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17233         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
17234         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
17235         * sysdeps/microblaze/bits/atomic.h: Move to ...
17236         * sysdeps/microblaze/atomic-machine.h: ...here.
17237         * sysdeps/mips/bits/atomic.h: Move to ...
17238         * sysdeps/mips/atomic-machine.h: ...here.
17239         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
17240         * sysdeps/powerpc/bits/atomic.h: Move to ...
17241         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
17242         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
17243         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
17244         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
17245         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
17246         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
17247         <atomic-machine.h> instead of <bits/atomic.h>.
17248         * sysdeps/s390/bits/atomic.h: Move to ...
17249         * sysdeps/s390/atomic-machine.h: ...here.
17250         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
17251         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
17252         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17253         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
17254         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
17255         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
17256         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
17257         * sysdeps/tile/bits/atomic.h: Move to ...
17258         * sysdeps/tile/atomic-machine.h: ...here.
17259         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
17260         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
17261         <sysdeps/tile/atomic-machine.h> instead of
17262         <sysdeps/tile/bits/atomic.h>.
17263         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17264         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
17265         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
17266         <sysdeps/tile/atomic-machine.h> instead of
17267         <sysdeps/tile/bits/atomic.h>.
17268         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17269         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
17270         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
17271         <sysdeps/arm/atomic-machine.h> instead of
17272         <sysdeps/arm/bits/atomic.h>.
17273         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
17274         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
17275         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17276         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
17277         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
17278         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17279         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
17280         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
17281         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
17282         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
17283         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
17284         * sysdeps/x86_64/bits/atomic.h: Move to ...
17285         * sysdeps/x86_64/atomic-machine.h: ...here.
17286         * include/atomic.h: Include <atomic-machine.h> instead of
17287         <bits/atomic.h>.
17289         * sysdeps/mips/mips32/libm-test-ulps: Update.
17290         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17292         [BZ #18952]
17293         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
17294         not convert non-integer negative arguments to int to determine the
17295         value of signgam.
17296         * math/auto-libm-test-in: Add more tests of lgamma.
17297         * math/auto-libm-test-out: Regenerated.
17299         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
17300         cosh, csqrt, erfc, expm1 and lgamma.
17301         * math/auto-libm-test-out: Regenerated.
17302         * sysdeps/i386/fpu/libm-test-ulps: Update.
17303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17305 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
17307         [BZ #2542]
17308         [BZ #2543]
17309         [BZ #2558]
17310         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
17311         __lgamma_neg for arguments from -28.0 to -2.0.
17312         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
17313         __lgamma_negf for arguments from -15.0 to -2.0.
17314         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17315         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
17316         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
17317         Call __lgamma_negl for arguments from -33.0 to -2.0.
17318         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
17319         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
17320         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
17321         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
17322         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17323         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17324         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
17325         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
17326         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
17327         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
17328         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
17329         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
17330         (__lgamma_neg): Likewise.
17331         (__lgamma_negl): Likewise.
17332         (__lgamma_product): Likewise.
17333         (__lgamma_productl): Likewise.
17334         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
17335         * math/auto-libm-test-in: Add more tests of lgamma.
17336         * math/auto-libm-test-out: Regenerated.
17337         * sysdeps/i386/fpu/libm-test-ulps: Update.
17338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17340 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
17342         [BZ #18675]
17343         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
17345 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
17347         [BZ #14912]
17348         * bits/libc-lock.h: Move to ...
17349         * sysdeps/generic/libc-lock.h: ...here.
17350         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
17351         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
17352         * sysdeps/mach/hurd/libc-lock.h: ...here.
17353         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
17354         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
17355         * sysdeps/mach/bits/libc-lock.h: Move to ...
17356         * sysdeps/mach/libc-lock.h: ...here.
17357         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
17358         * sysdeps/nptl/bits/libc-lock.h: Move to ...
17359         * sysdeps/nptl/libc-lock.h: ...here.
17360         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
17361         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
17362         * sysdeps/nptl/libc-lockP.h: ...here.
17363         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
17364         * crypt/crypt_util.c: Include <libc-lock.h> instead of
17365         <bits/libc-lock.h>.
17366         * dirent/scandir-tail.c: Likewise.
17367         * dlfcn/dlerror.c: Likewise.
17368         * elf/dl-close.c: Likewise.
17369         * elf/dl-iteratephdr.c: Likewise.
17370         * elf/dl-lookup.c: Likewise.
17371         * elf/dl-open.c: Likewise.
17372         * elf/dl-support.c: Likewise.
17373         * elf/dl-writev.h: Likewise.
17374         * elf/rtld.c: Likewise.
17375         * grp/fgetgrent.c: Likewise.
17376         * gshadow/fgetsgent.c: Likewise.
17377         * gshadow/sgetsgent.c: Likewise.
17378         * iconv/gconv_conf.c: Likewise.
17379         * iconv/gconv_db.c: Likewise.
17380         * iconv/gconv_dl.c: Likewise.
17381         * iconv/gconv_int.h: Likewise.
17382         * iconv/gconv_trans.c: Likewise.
17383         * include/link.h: Likewise.
17384         * inet/getnameinfo.c: Likewise.
17385         * inet/getnetgrent.c: Likewise.
17386         * inet/getnetgrent_r.c: Likewise.
17387         * intl/bindtextdom.c: Likewise.
17388         * intl/dcigettext.c: Likewise.
17389         * intl/finddomain.c: Likewise.
17390         * intl/gettextP.h: Likewise.
17391         * intl/loadmsgcat.c: Likewise.
17392         * intl/localealias.c: Likewise.
17393         * intl/textdomain.c: Likewise.
17394         * libidn/idn-stub.c: Likewise.
17395         * libio/libioP.h: Likewise.
17396         * locale/duplocale.c: Likewise.
17397         * locale/freelocale.c: Likewise.
17398         * locale/newlocale.c: Likewise.
17399         * locale/setlocale.c: Likewise.
17400         * login/getutent_r.c: Likewise.
17401         * login/getutid_r.c: Likewise.
17402         * login/getutline_r.c: Likewise.
17403         * login/utmp-private.h: Likewise.
17404         * login/utmpname.c: Likewise.
17405         * malloc/mtrace.c: Likewise.
17406         * misc/efgcvt.c: Likewise.
17407         * misc/error.c: Likewise.
17408         * misc/fstab.c: Likewise.
17409         * misc/getpass.c: Likewise.
17410         * misc/mntent.c: Likewise.
17411         * misc/syslog.c: Likewise.
17412         * nis/nis_call.c: Likewise.
17413         * nis/nis_callback.c: Likewise.
17414         * nis/nss-default.c: Likewise.
17415         * nis/nss_compat/compat-grp.c: Likewise.
17416         * nis/nss_compat/compat-initgroups.c: Likewise.
17417         * nis/nss_compat/compat-pwd.c: Likewise.
17418         * nis/nss_compat/compat-spwd.c: Likewise.
17419         * nis/nss_nis/nis-alias.c: Likewise.
17420         * nis/nss_nis/nis-ethers.c: Likewise.
17421         * nis/nss_nis/nis-grp.c: Likewise.
17422         * nis/nss_nis/nis-hosts.c: Likewise.
17423         * nis/nss_nis/nis-network.c: Likewise.
17424         * nis/nss_nis/nis-proto.c: Likewise.
17425         * nis/nss_nis/nis-pwd.c: Likewise.
17426         * nis/nss_nis/nis-rpc.c: Likewise.
17427         * nis/nss_nis/nis-service.c: Likewise.
17428         * nis/nss_nis/nis-spwd.c: Likewise.
17429         * nis/nss_nisplus/nisplus-alias.c: Likewise.
17430         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
17431         * nis/nss_nisplus/nisplus-grp.c: Likewise.
17432         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
17433         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
17434         * nis/nss_nisplus/nisplus-network.c: Likewise.
17435         * nis/nss_nisplus/nisplus-proto.c: Likewise.
17436         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
17437         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
17438         * nis/nss_nisplus/nisplus-service.c: Likewise.
17439         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
17440         * nis/ypclnt.c: Likewise.
17441         * nptl/libc_pthread_init.c: Likewise.
17442         * nss/getXXbyYY.c: Likewise.
17443         * nss/getXXent.c: Likewise.
17444         * nss/getXXent_r.c: Likewise.
17445         * nss/nss_db/db-XXX.c: Likewise.
17446         * nss/nss_db/db-netgrp.c: Likewise.
17447         * nss/nss_db/nss_db.h: Likewise.
17448         * nss/nss_files/files-XXX.c: Likewise.
17449         * nss/nss_files/files-alias.c: Likewise.
17450         * nss/nsswitch.c: Likewise.
17451         * posix/regex_internal.h: Likewise.
17452         * posix/wordexp.c: Likewise.
17453         * pwd/fgetpwent.c: Likewise.
17454         * resolv/res_hconf.c: Likewise.
17455         * resolv/res_libc.c: Likewise.
17456         * shadow/fgetspent.c: Likewise.
17457         * shadow/lckpwdf.c: Likewise.
17458         * shadow/sgetspent.c: Likewise.
17459         * socket/opensock.c: Likewise.
17460         * stdio-common/reg-modifier.c: Likewise.
17461         * stdio-common/reg-printf.c: Likewise.
17462         * stdio-common/reg-type.c: Likewise.
17463         * stdio-common/vfprintf.c: Likewise.
17464         * stdio-common/vfscanf.c: Likewise.
17465         * stdlib/abort.c: Likewise.
17466         * stdlib/cxa_atexit.c: Likewise.
17467         * stdlib/fmtmsg.c: Likewise.
17468         * stdlib/random.c: Likewise.
17469         * stdlib/setenv.c: Likewise.
17470         * string/strsignal.c: Likewise.
17471         * sunrpc/auth_none.c: Likewise.
17472         * sunrpc/bindrsvprt.c: Likewise.
17473         * sunrpc/create_xid.c: Likewise.
17474         * sunrpc/key_call.c: Likewise.
17475         * sunrpc/rpc_thread.c: Likewise.
17476         * sysdeps/arm/backtrace.c: Likewise.
17477         * sysdeps/generic/ldsodefs.h: Likewise.
17478         * sysdeps/generic/stdio-lock.h: Likewise.
17479         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
17480         * sysdeps/i386/backtrace.c: Likewise.
17481         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17482         * sysdeps/m68k/backtrace.c: Likewise.
17483         * sysdeps/mach/hurd/cthreads.c: Likewise.
17484         * sysdeps/mach/hurd/dirstream.h: Likewise.
17485         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
17486         * sysdeps/nptl/malloc-machine.h: Likewise.
17487         * sysdeps/nptl/stdio-lock.h: Likewise.
17488         * sysdeps/posix/dirstream.h: Likewise.
17489         * sysdeps/posix/getaddrinfo.c: Likewise.
17490         * sysdeps/posix/system.c: Likewise.
17491         * sysdeps/pthread/aio_suspend.c: Likewise.
17492         * sysdeps/s390/s390-32/backtrace.c: Likewise.
17493         * sysdeps/s390/s390-64/backtrace.c: Likewise.
17494         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17495         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17496         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
17497         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
17498         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
17499         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
17500         * sysdeps/unix/sysv/linux/system.c: Likewise.
17501         * sysdeps/x86_64/backtrace.c: Likewise.
17502         * time/alt_digit.c: Likewise.
17503         * time/era.c: Likewise.
17504         * time/tzset.c: Likewise.
17505         * wcsmbs/wcsmbsload.c: Likewise.
17506         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
17507         instead of <bits/libc-lock.h> in comment.
17509 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
17511         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
17512         Only use .set mips2 if the current ISA is below mips2.
17513         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
17514         Likewise.
17515         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
17516         mips32r2 if the current ISA is below mips32r2.
17517         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
17518         (TLS_IE): Updated to use the TLD_RDHWR macro.
17519         (TLS_LE): Likewise.
17520         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
17521         __ASSEMBLER__ condition.
17523 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17525         Fix parallel build of before-compile targets.
17527         * sysdeps/mach/Makefile ($(patsubst
17528         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
17529         mach-before-compile target.
17530         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17531         io fs process)): Move rule to dedicated hurd-before-compile target.
17533 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17535         Fix rules generating headers in hurd/ and mach/ when initial make call
17536         has subdir= explicitly set.
17538         * sysdeps/mach/Makefile ($(patsubst
17539         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
17540         calling $(MAKE).
17541         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17542         io fs process)): Force subdir to hurd when calling $(MAKE).
17543         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
17544         subdir to mach when calling $(MAKE).
17546 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
17548         Check sysheaders when looking for Mach and Hurd headers
17550         * sysdeps/mach/configure.ac: Add sysheaders check.
17551         * sysdeps/mach/configure: Regenerate.
17552         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
17553         * sysdeps/mach/hurd/configure: Regenerate.
17555 2015-09-04  Roland McGrath  <roland@hack.frob.com>
17557         [BZ #18921]
17558         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
17559         Fix inverted sense of test of 'o_directory_works' value.
17560         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
17561         Bernhard Voelker <mail@bernhard-voelker.de>.
17563 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
17565         [BZ #14912]
17566         * bits/linkmap.h: Move to ...
17567         * sysdeps/generic/linkmap.h: ...here.
17568         * sysdeps/aarch64/bits/linkmap.h: Move to ...
17569         * sysdeps/aarch64/linkmap.h: ...here.
17570         * sysdeps/arm/bits/linkmap.h: Move to ...
17571         * sysdeps/arm/linkmap.h: ...here.
17572         * sysdeps/hppa/bits/linkmap.h: Move to ...
17573         * sysdeps/hppa/linkmap.h: ...here.
17574         * sysdeps/ia64/bits/linkmap.h: Move to ...
17575         * sysdeps/ia64/linkmap.h: ...here.
17576         * sysdeps/mips/bits/linkmap.h: Move to ...
17577         * sysdeps/mips/linkmap.h: ...here.
17578         * sysdeps/s390/bits/linkmap.h: Move to ...
17579         * sysdeps/s390/linkmap.h: ...here.
17580         * sysdeps/sh/bits/linkmap.h: Move to ...
17581         * sysdeps/sh/linkmap.h: ...here.
17582         * sysdeps/x86/bits/linkmap.h: Move to ...
17583         * sysdeps/x86/linkmap.h: ...here.
17584         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
17586 2015-09-04  Andreas Schwab  <schwab@suse.de>
17588         [BZ #18635]
17589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
17590         (__makecontext): Terminate FDE before return label.
17591         (__novec_makecontext): Likewise.
17593 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17595         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
17596         first member of struct sv in syscall macro.
17598 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
17600         [BZ #14912]
17601         * bits/stdio-lock.h: Move to ...
17602         * sysdeps/generic/stdio-lock.h: ...here.
17603         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
17604         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
17605         * sysdeps/nptl/stdio-lock.h: ...here.
17606         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
17607         * include/libio.h: Include <stdio-lock.h> instead of
17608         <bits/stdio-lock.h>.
17609         * sysdeps/nptl/fork.c: Likewise.
17610         * sysdeps/pthread/flockfile.c: Likewise.
17611         * sysdeps/pthread/ftrylockfile.c: Likewise.
17612         * sysdeps/pthread/funlockfile.c: Likewise.
17614         [BZ #14912]
17615         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
17616         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
17617         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
17618         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
17619         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
17620         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
17621         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
17623 2015-09-03  Roland McGrath  <roland@hack.frob.com>
17625         * elf/Makefile (test-xfail-tst-protected1a): New variable.
17626         (test-xfail-tst-protected1b): New variable.
17628 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
17630         [BZ #14912]
17631         * bits/libc-tsd.h: Move to ...
17632         * sysdeps/generic/libc-tsd.h: ...here.
17633         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
17634         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
17635         * sysdeps/mach/hurd/libc-tsd.h: ...here.
17636         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
17637         * include/ctype.h: Include <libc-tsd.h> instead of
17638         <bits/libc-tsd.h>.
17639         * include/rpc/rpc.h: Likewise.
17640         * locale/localeinfo.h: Likewise.
17641         * sunrpc/rpc_thread.c: Likewise.
17642         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
17643         * sysdeps/nptl/malloc-machine.h: Likewise.
17645         * Makefile (headers): Remove bits/libc-lock.h.
17646         * libio/Makefile (headers): Remove bits/stdio-lock.h.
17648         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
17649         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
17650         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
17651         <bits/stdio-lock.h>.
17652         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
17653         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
17655 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
17657         [BZ #18757]
17658         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
17659         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
17660         BZ #18757.
17662 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
17664         * malloc/mtrace.pl: Filter out NULL entries.
17666 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
17668         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
17669         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
17670         macro.
17672         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
17673         (TCP_CC_INFO): Likewise.
17674         (TCP_SAVE_SYN): Likewise.
17675         (TCP_SAVED_SYN): Likewise.
17677 2015-08-31  Brett Neumeier <brett@neumeier.us>
17679         [BZ #18870]
17680         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
17682 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
17684         [BZ #18873]
17685         Fix broken overflow check in posix_fallocate
17686         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
17687         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17688         Fix parenthesization typo.
17690 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
17692         [BZ #18887]
17693         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
17694         tst-mntent-blank-passno.
17695         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
17696         * misc/tst-mntent-blank-corrupt.c: New test.
17697         * misc/tst-mntent-blank-passno.c: New test ripped from ...
17698         * misc/tst-mntent.c (do_test): ... here.
17700 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
17702         [BZ #4404]
17703         * po/de.po: Fix SIGALRM typo.
17705 2015-08-28  James Perkins  <james@loowit.net>
17707         * time/tst-strptime2.c (tests): Replace short list of test
17708         strings for strptime %z specifier with code which exhaustively
17709         tests every combination of sign and 0 to 5 digits. Tests for
17710         rejection of invalid strings.
17712 2015-08-28  James Perkins  <james@loowit.net>
17714         [BZ #16141]
17715         * time/strptime_l.c (__strptime_internal): Fix %z minutes
17716         calculation, removing incorrect decimal time rounding, so that
17717         all minute values result in a valid seconds value.
17718         * time/strptime_l.c (__strptime_internal): Extend %z time zone
17719         offset range limits to UTC-99:59 through UTC+99:59 to parse
17720         current and historical use cases.
17721         * time/tst-strptime2.c (tests): Modify and add tests for the
17722         strptime %z input field descriptor, specifically conversion of
17723         minutes to seconds and validating an offset range of -9959 to
17724         +9959.
17726 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17727             Dmitry V. Levin  <ldv@altlinux.org>
17729         [BZ #18877]
17730         * posix/Makefile (tests): Add tst-mmap-offset.
17731         * posix/tst-mmap.c: New file.
17732         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
17733         offset calculation for negative values.
17735 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17737         * sysdeps/i386/init-arch.h: New file.
17738         * sysdeps/i386/i586/init-arch.h: Likewise.
17739         * sysdeps/i386/i686/init-arch.h: Likewise.
17740         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
17741         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
17742         * sysdeps/x86/cpu-features.h (bit_I586): New.
17743         (bit_I686): Likewise.
17744         (bit_CX8): Likewise.
17745         (bit_CMOV): Likewise.
17746         (index_CX8): Likewise.
17747         (index_CMOV): Likewise.
17748         (index_I586): Likewise.
17749         (index_I686): Likewise.
17750         (reg_CX8): Likewise.
17751         (reg_CMOV): Likewise.
17752         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
17753         available at compile-time.
17754         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
17755         available at compile-time.
17756         * sysdeps/x86/init-arch.h (USE_I586): New macro.
17757         (USE_I686): Likewise.
17759 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17761         * sysdeps/i386/bcopy.S: New file.
17762         * sysdeps/i386/bzero.S: Likewise.
17763         * sysdeps/i386/memcpy.S: Likewise.
17764         * sysdeps/i386/memmove.S: Likewise.
17765         * sysdeps/i386/mempcpy.S: Likewise.
17766         * sysdeps/i386/memset.S: Likewise.
17767         * sysdeps/i386/bzero.c: Removed.
17768         * sysdeps/i386/memset.c: Likewise.
17769         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
17770         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
17771         * sysdeps/i386/i586/memset_chk.S: Likewise.
17772         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
17773         * sysdeps/i386/memcpy_chk.S: Here.
17774         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
17775         * sysdeps/i386/memmove_chk.S: Here.
17776         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
17777         * sysdeps/i386/mempcpy_chk.S: Likewise.
17778         * sysdeps/i386/i686/memset_chk.S: Moved to ...
17779         * sysdeps/i386/memset_chk.S: Likewise.
17781 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
17783         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
17784         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
17785         file, move DIAG_POP_NEEDS_COMMENT to end of file.
17786         * soft-fp/fmadf4.c: Ditto.
17787         * soft-fp/fmatf4.c: Ditto.
17789 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17791         * sysdeps/i386/i586/Implies: Removed.
17792         * sysdeps/i386/i686/Implies: Likewise.
17794 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17796         * sysdeps/i386/i486/strlen.S: Moved to ...
17797         * sysdeps/i386/strlen.S: Here.
17799 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17801         * sysdeps/i386/i486/strcat.S: Moved to ...
17802         * sysdeps/i386/strcat.S: Here.
17804 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17806         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
17807         * sysdeps/i386/pthread_spin_trylock.S: Here.
17808         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
17809         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
17811 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17813         * sysdeps/i386/i486/string-inlines.c: Moved to ...
17814         * sysdeps/i386/string-inlines.c: Here.
17816 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17818         * sysdeps/i386/i486/htonl.S: Moved ...
17819         * sysdeps/i386/htonl.S: here.
17821 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17823         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
17824         * sysdeps/i386/bits/atomic.h: Here.
17826 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17828         * sysdeps/i386/i486/Versions: Removed.
17830 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17832         [BZ #2898]
17833         * misc/mktemp.c: Add mkdtemp to the link_warning message.
17834         Based on patch by Aurelien Jarno.
17836 2015-08-26  Stan Shebs  <stanshebs@google.com>
17838         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
17839         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17841 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17843         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
17844         * sysdeps/powerpc/dl-procinfo.c:
17845         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
17846         feature so it shows when LD_SHOW_AUXV=1.
17848 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17850         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
17851         (__arch_compare_and_exchange_val_32_acq): Remove and use common
17852         definition.  ISA 2.07B no longer requires full sync.
17854 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
17856         [BZ #18863]
17857         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
17858         (si_call_addr): Define.
17859         (si_syscall): Define.
17860         (si_arch): Define.
17862 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
17864         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
17865         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
17866         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
17867         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
17868         (__memset_zero_constant_len_parameter): New.
17869         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
17870         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
17871         (__memset_zero_constant_len_parameter): Don't define if
17872         __memset_chk or USE_AS_BZERO are defined.
17874         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
17875         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
17876         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
17878         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
17879         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
17880         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
17881         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
17882         comments.
17883         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
17884         -mno-mmx for $(all-rtld-routines).
17885         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
17886         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
17887         i386.
17889 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17891         * sysdeps/generic/unwind.h
17892         (_Unwind_Word): Use __mode__(__unwind_word__)
17893         instead of __mode__(__word__).
17894         (_Unwind_Sword): Likewise.
17896         * sysdeps/s390/s390-64/utf8-utf16-z9.c
17897         (MAX_NEEDED_INPUT): New define.
17898         (MAX_NEEDED_OUTPUT): New define.
17900         * NEWS: New item for IBM z13 string optimizations.
17902         * sysdeps/s390/multiarch/memrchr-c.c: New File.
17903         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
17904         * sysdeps/s390/multiarch/memrchr.c: Likewise.
17905         * sysdeps/s390/multiarch/Makefile
17906         (sysdep_routines): Add memrchr functions.
17907         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17908         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
17910         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
17911         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
17912         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
17913         * sysdeps/s390/multiarch/Makefile
17914         (sysdep_routines): Add wmemcmp functions.
17915         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17916         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
17917         * benchtests/bench-wmemcmp.c: New File.
17918         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
17920         * sysdeps/s390/multiarch/wmemset-c.c: New File.
17921         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
17922         * sysdeps/s390/multiarch/wmemset.c: Likewise.
17923         * sysdeps/s390/multiarch/Makefile
17924         (sysdep_routines): Add wmemset functions.
17925         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17926         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
17927         * wcsmbs/wmemset.c: Use WMEMSET if defined.
17928         * string/test-memset.c: Add wmemset support.
17929         * wcsmbs/test-wmemset.c: New File.
17930         * wcsmbs/Makefile (strop-tests): Add wmemset.
17931         * benchtests/bench-memset.c: Add wmemset support.
17932         * benchtests/bench-wmemset.c: New File.
17933         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
17935         * sysdeps/s390/multiarch/memccpy-c.c: New File.
17936         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
17937         * sysdeps/s390/multiarch/memccpy.c: Likewise.
17938         * sysdeps/s390/multiarch/Makefile
17939         (sysdep_routines): Add memccpy functions.
17940         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17941         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
17942         * string/memccpy.c: Use MEMCCPY if defined.
17944         * sysdeps/s390/multiarch/memchr-vx.S: New File.
17945         * sysdeps/s390/multiarch/memchr.c: Likewise.
17946         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
17947         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
17948         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
17949         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
17950         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
17951         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
17952         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
17953         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
17954         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
17955         and rawmemchr functions.
17956         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17957         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
17958         and wmemchr.
17959         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
17960         * string/test-memchr.c: Add wmemchr support.
17961         * wcsmbs/test-wmemchr.c: New File.
17962         * wcsmbs/Makefile (strop-tests): Add wmemchr.
17963         * benchtests/bench-memchr.c: Add wmemchr support.
17964         * benchtests/bench-wmemchr.c: New File.
17965         * benchtests/Makefile (wcsmbs-bench): wmemchr.
17967         * sysdeps/s390/multiarch/strcspn-c.c: New File.
17968         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
17969         * sysdeps/s390/multiarch/strcspn.c: Likewise.
17970         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
17971         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
17972         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
17973         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
17974         wcscspn functions.
17975         * sysdeps/s390/multiarch/ifunc-impl-list.c
17976         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
17977         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
17978         * string/test-strcspn.c: Add wcscspn support.
17979         * wcsmbs/test-wcscspn.c: New File.
17980         * wcsmbs/Makefile (strop-tests): Add wcscspn.
17981         * benchtests/bench-strcspn.c: Add wcscspn support.
17982         * benchtests/bench-wcscspn.c: New File.
17983         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
17985         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
17986         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
17987         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
17988         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
17989         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
17990         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
17991         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
17992         wcspbrk functions.
17993         * sysdeps/s390/multiarch/ifunc-impl-list.c
17994         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
17995         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
17996         * string/test-strpbrk.c: Add wcspbrk support.
17997         * wcsmbs/test-wcspbrk.c: New File.
17998         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
17999         * benchtests/bench-strpbrk.c: Add wcspbrk support.
18000         * benchtests/bench-wcspbrk.c: New File.
18001         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
18003         * sysdeps/s390/multiarch/strspn-c.c: New File.
18004         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
18005         * sysdeps/s390/multiarch/strspn.c: Likewise.
18006         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
18007         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
18008         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
18009         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
18010         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
18011         wcsspn functions.
18012         * sysdeps/s390/multiarch/ifunc-impl-list.c
18013         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
18014         * string/test-strspn.c: Add wcsspn support.
18015         * wcsmbs/test-wcsspn.c: New File.
18016         * wcsmbs/Makefile (strop-tests): Add wcsspn.
18017         * benchtests/bench-strspn.c: Add wcsspn support.
18018         * benchtests/bench-wcsspn.c: New File.
18019         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
18021         * sysdeps/s390/multiarch/strrchr-c.c: New File.
18022         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
18023         * sysdeps/s390/multiarch/strrchr.c: Likewise.
18024         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
18025         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
18026         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
18027         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
18028         wcsrchr functions.
18029         * sysdeps/s390/multiarch/ifunc-impl-list.c
18030         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
18031         * benchtests/bench-wcsrchr.c: New File.
18032         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
18034         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
18035         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
18036         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
18037         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
18038         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
18039         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
18040         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
18041         wcschrnul functions.
18042         * sysdeps/s390/multiarch/ifunc-impl-list.c
18043         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
18044         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
18045         * string/test-strchr.c: Add wcschrnul support.
18046         * wcsmbs/test-wcschrnul.c: New File.
18047         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
18048         * benchtests/bench-strchr.c: Add wcschrnul support.
18049         * benchtests/bench-wcschrnul.c: New File.
18050         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
18052         * sysdeps/s390/multiarch/strchr-c.c: New File.
18053         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
18054         * sysdeps/s390/multiarch/strchr.c: Likewise.
18055         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
18056         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
18057         * sysdeps/s390/multiarch/wcschr.c: Likewise.
18058         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
18059         wcschr functions.
18060         * sysdeps/s390/multiarch/ifunc-impl-list.c
18061         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
18062         * string/strchr.c (STRCHR): Define and use macro.
18063         * benchtests/bench-wcschr.c: New File.
18064         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
18066         * sysdeps/s390/multiarch/strncmp-c.c: New File.
18067         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
18068         * sysdeps/s390/multiarch/strncmp.c: Likewise.
18069         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
18070         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
18071         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
18072         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
18073         wcsncmp functions.
18074         * sysdeps/s390/multiarch/ifunc-impl-list.c
18075         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
18076         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
18077         * benchtests/bench-strncmp.c: Add wcsncmp support.
18078         * benchtests/bench-wcsncmp.c: New File.
18079         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
18081         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
18082         * sysdeps/s390/multiarch/strcmp.c: Likewise.
18083         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
18084         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
18085         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
18086         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
18087         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
18088         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
18089         wcscmp functions.
18090         * sysdeps/s390/multiarch/ifunc-impl-list.c
18091         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
18092         * string/strcmp.c (STRCMP): Define and use macro.
18093         * benchtests/bench-wcscmp.c: New File.
18094         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
18095         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
18096         instead of _HAVE_STRING_ARCH_memchr.
18098         * sysdeps/s390/multiarch/strncat-c.c: New File.
18099         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
18100         * sysdeps/s390/multiarch/strncat.c: Likewise.
18101         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
18102         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
18103         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
18104         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
18105         wcsncat functions.
18106         * sysdeps/s390/multiarch/ifunc-impl-list.c
18107         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
18108         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
18109         * string/test-strncat.c: Add wcsncat support.
18110         * wcsmbs/test-wcsncat.c: New File.
18111         * wcsmbs/Makefile (strop-tests): Add wcsncat.
18112         * benchtests/bench-strncat.c: Add wcsncat support.
18113         * benchtests/bench-wcsncat.c: New File.
18114         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
18116         * sysdeps/s390/multiarch/strcat-c.c: New File.
18117         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
18118         * sysdeps/s390/multiarch/strcat.c: Likewise.
18119         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
18120         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
18121         * sysdeps/s390/multiarch/wcscat.c: Likewise.
18122         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
18123         wcscat functions.
18124         * sysdeps/s390/multiarch/ifunc-impl-list.c
18125         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
18126         * string/strcat.c (STRCAT): Define and use macro.
18127         * wcsmbs/wcscat.c: Use WCSCAT if defined.
18128         * string/test-strcat.c: Add wcscat support.
18129         * wcsmbs/test-wcscat.c: New File.
18130         * wcsmbs/Makefile (strop-tests): Add wcscat.
18131         * benchtests/bench-strcat.c: Add wcscat support.
18132         * benchtests/bench-wcscat.c: New File.
18133         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
18135         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
18136         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
18137         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
18138         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
18139         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
18140         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
18141         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
18142         wcpncpy functions.
18143         * sysdeps/s390/multiarch/ifunc-impl-list.c
18144         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
18145         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
18146         * string/test-stpncpy.c: Add wcpncpy support.
18147         * wcsmbs/test-wcpncpy.c: New File.
18148         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
18149         * benchtests/bench-stpncpy.c: Add wcpncpy support.
18150         * benchtests/bench-wcpncpy.c: New File.
18151         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
18153         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
18154         * sysdeps/s390/multiarch/strncpy.c: Likewise.
18155         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
18156         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
18157         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
18158         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
18159         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
18160         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
18161         wcsncpy functions.
18162         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
18163         * sysdeps/s390/multiarch/ifunc-impl-list.c
18164         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
18165         * string/test-strncpy.c: Add wcsncpy support.
18166         * wcsmbs/test-wcsncpy.c: New File.
18167         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
18168         * benchtests/bench-strncpy.c: Add wcsncpy support.
18169         * benchtests/bench-wcsncpy.c: New File.
18170         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
18172         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
18173         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
18174         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
18175         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
18176         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
18177         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
18178         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
18179         wcpcpy functions.
18180         * string/stpcpy.c: Use STPCPY if defined.
18181         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
18182         * sysdeps/s390/multiarch/ifunc-impl-list.c
18183         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
18184         * string/test-stpcpy.c: Add wcpcpy support.
18185         * wcsmbs/test-wcpcpy.c: New File.
18186         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
18187         * benchtests/bench-stpcpy.c: Add wcpcpy support.
18188         * benchtests/bench-wcpcpy.c: New File.
18189         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
18191         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
18192         * sysdeps/s390/multiarch/strcpy.c: Likewise.
18193         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
18194         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
18195         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
18196         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
18197         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
18198         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
18199         wcscpy functions.
18200         * sysdeps/s390/multiarch/ifunc-impl-list.c
18201         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
18202         * benchtests/bench-wcscpy.c: New File.
18203         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
18205         * sysdeps/s390/multiarch/strnlen-c.c: New File.
18206         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
18207         * sysdeps/s390/multiarch/strnlen.c: Likewise.
18208         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
18209         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
18210         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
18211         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
18212         wcsnlen functions.
18213         * sysdeps/s390/multiarch/ifunc-impl-list.c
18214         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
18215         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
18216         * string/test-strnlen.c: Add wcsnlen support.
18217         * wcsmbs/test-wcsnlen.c: New File.
18218         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
18219         * benchtests/bench-strnlen.c: Add wcsnlen support.
18220         * benchtests/bench-wcsnlen.c: New File.
18221         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
18223         * sysdeps/s390/multiarch/Makefile: New File.
18224         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
18225         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
18226         * sysdeps/s390/multiarch/strlen.c: Likewise.
18227         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
18228         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
18229         * sysdeps/s390/multiarch/wcslen.c: Likewise.
18230         * string/strlen.c (STRLEN): Define and use macro.
18231         * sysdeps/s390/multiarch/ifunc-impl-list.c
18232         (IFUNC_VX_IMPL): New macro function.
18233         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
18234         * benchtests/Makefile (wcsmbs-bench): New variable.
18235         (string-bench-all): Added wcsmbs-bench.
18236         * benchtests/bench-wcslen.c: New File.
18238         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
18239         s390_vx_libc_ifunc2): New macro function.
18241         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
18242         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
18243         assembler support.
18244         * sysdeps/s390/configure: Regenerated.
18246         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
18247         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
18249         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
18250         * sysdeps/s390/dl-procinfo.h: Add vector capability.
18251         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
18253         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
18254         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
18255         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
18256         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
18257         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
18258         (memcmp, bcmp): Use __memcmp_default as alias source.
18259         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
18260         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
18261         Rename to __memcmp_default.
18262         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
18263         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
18264         (memcpy): Use __memcpy_default as alias source.
18265         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
18266         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
18267         Rename to __memcpy_default.
18268         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
18269         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
18270         (memset): Use __memset_default as alias source.
18271         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
18272         * sysdeps/s390/s390-32/memset.S (__memset_g5):
18273         Rename to __memset_default.
18274         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
18275         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
18276         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
18277         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
18278         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
18279         (memcmp, bcmp): Use __memcmp_default as alias source.
18280         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
18281         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
18282         Rename to __memcmp_default.
18283         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
18284         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
18285         (memcpy): Use __memcpy_default as alias source.
18286         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
18287         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
18288         Rename to __memcpy_default.
18289         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
18290         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
18291         (memset): Use __memset_default as alias source.
18292         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
18293         * sysdeps/s390/s390-64/memset.S (__memset_z900):
18294         Rename to __memset_default.
18295         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
18296         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
18298         [BZ #18610]
18299         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
18300         __ieee_instruction_pointer to __unused.
18301         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
18302         __ieee_instruction_pointer.
18303         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
18304         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
18305         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18306         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18307         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
18308         Mark dxc-field as reserved.
18310 2015-08-25  Roland McGrath  <roland@hack.frob.com>
18312         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
18313         if the weak reference is not null.
18315 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
18317         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
18319         [BZ #11214]
18320         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
18322 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18324         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
18325         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
18326         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
18327         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
18328         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
18329         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
18330         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
18331         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
18332         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
18333         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
18334         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
18335         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
18336         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
18337         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
18338         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
18339         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
18340         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
18341         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
18343 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18345         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
18346         register other than r0 for tabort, it has special meaning.
18347         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
18348         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
18349         transaction before starting syscall.
18351 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18353         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
18355 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
18357         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
18359         * sysdeps/x86_64/rtld-memcmp.c: Removed.
18360         * sysdeps/x86_64/rtld-memset.S: Likewise.
18361         * sysdeps/x86_64/rtld-strchr.S: Likewise.
18362         * sysdeps/x86_64/rtld-strlen.S: Likewise.
18363         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
18364         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18366         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
18368 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
18370         * debug/strcpy_chk.c: Improve performance.
18371         * debug/stpcpy_chk.c: Likewise.
18372         * sysdeps/x86_64/strcpy_chk.S: Remove.
18373         * sysdeps/x86_64/stpcpy_chk.S: Remove.
18375         [BZ #18240]
18376         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
18378 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
18380         [BZ #15128]
18381         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
18382         ifuncmain8.
18383         (modules-names): Add ifuncmod8.
18384         ($(objpfx)ifuncmain8): New rule.
18385         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
18386         <cpuid.h>.
18387         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
18388         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
18389         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
18390         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
18391         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
18392         * sysdeps/x86_64/dl-trampoline.h: Likewise.
18393         * sysdeps/x86_64/ifuncmain8.c: New file.
18394         * sysdeps/x86_64/ifuncmod8.c: Likewise.
18395         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
18396         Removed.
18397         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
18398         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
18399         Change rtld_savespace_sse to __glibc_unused2.
18400         (RTLD_CHECK_FOREIGN_CALL): Removed.
18401         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
18402         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
18403         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
18405 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
18407         * sysdeps/aarch64/bzero.S (__bzero): Remove.
18409 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
18411         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
18412         Unconditionally set __fpcr to avoid uninialized warning.
18413         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
18415 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18417         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
18418         is corrupt.
18420         * malloc/arena.c (arena_get2): Drop unused argument.
18421         (arena_lock): Adjust.
18422         (arena_get_retry): Likewise.
18424 2015-08-24  Andreas Schwab  <schwab@suse.de>
18426         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
18427         Don't define.
18428         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18429         (__ASSUME_IPC64): Don't undef.
18430         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
18431         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
18432         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
18433         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
18434         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
18435         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
18436         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
18437         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
18438         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
18439         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
18440         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
18441         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
18442         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
18443         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
18444         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
18445         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
18446         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
18447         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
18448         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
18449         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
18450         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
18452 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
18454         * manual/Makefile (install): Only build manual when perl is available.
18456 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18458         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
18459         '#undef memcpy' by '#undef memchr'.
18461 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18463         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
18464         memchr not point to the internal __GI_memchr implementation.
18466 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
18468         * timezone/Makefile (CFLAGS-zdump.c): Remove
18469         -Wno-strict-prototypes.
18470         (CFLAGS-zic.c): Likewise.
18471         (CFLAGS-ialloc.c): Likewise.
18472         (CFLAGS-scheck.c): Likewise.
18474         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
18475         -Wno-error=undef.
18477 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18479         * i386/i686/multiarch/strcasestr-c.c: Removed.
18480         * x86_64/multiarch/strcasestr.c: Likewise.
18481         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18482         Remove strcasestr.
18484 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
18486         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
18488         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
18489         variables for high and low parts before possibly modifying them.
18491 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18493         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
18494         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
18495         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
18496         of "multiarch/init-arch.h".
18497         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
18498         * sysdeps/x86/init-arch.h: This.
18500 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18502         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
18503         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
18505 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
18507         [BZ #17787]
18508         * manual/macros.texi: Add twoexp macro.
18509         * manual/filesys.texi: Fix exponents.
18510         * manual/llio.texi: Likewise.
18511         * manual/stdio.texi: Likewise.
18513 2015-08-20  Florian Weimer  <fweimer@redhat.com>
18515         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
18516         incorrect use.
18518 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
18520         [BZ #18370]
18521         * math/s_csqrt.c (__csqrt): Force underflow exception for results
18522         whose real or imaginary part has small absolute value.
18523         * math/s_csqrtf.c (__csqrtf): Likewise.
18524         * math/s_csqrtl.c (__csqrtl): Likewise.
18525         * math/auto-libm-test-in: Add more tests of csqrt.
18526         * math/auto-libm-test-out: Regenerated.
18527         * sysdeps/i386/fpu/libm-test-ulps: Update.
18529 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18531         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
18532         __ppc_set_ppr_very_low): New functions.
18533         * manual/platform.texi: Add documentation about
18534         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
18536 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
18538         * string/stpncpy.c (stpncpy): Improve performance using
18539         __strnlen/memcpy/memset.
18541 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18543         [BZ #18796]
18544         * scripts/test-installation.pl: Don't add -lmvec to build options if
18545         libmvec wasn't built.
18547 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
18549         [BZ #14341]
18550         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
18551         case when there is a gap between DT_REL and DT_JMPREL sections.
18552         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
18553         (LDFLAGS-tst-split-dynreloc): New.
18554         (tst-split-dynreloc-ENV): Likewise.
18555         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
18556         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
18558 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18560         [BZ #18822]
18561         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
18562         attribute_hidden.
18563         (__xstat64_conv): Likewise.
18564         (__xstat32_conv): Likewise.
18566 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18568         [BZ #18822]
18569         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18570         Don't load %ebx when calling __setcontext.  Call __setcontext
18571         with HIDDEN_JUMPTARGET.
18572         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
18573         libc_hidden_def.
18575 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18577         * sysdeps/i386/i686/Makefile
18578         [$(subdir) == string] (sysdep_routines): Moved to ...
18579         * sysdeps/i386/Makefile: Here.
18580         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
18581         * sysdeps/i386/cacheinfo.c: Here.
18582         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
18583         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
18584         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
18585         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
18587 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18589         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
18590         __i586__ is defined.
18591         (HAS_I686): Defined to 1 if __i686__ is defined.
18593 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
18595         * elf/Makefile [$(have-z-execstack) = yes]
18596         (CPPFLAGS-tst-execstack.c): New variable.
18598         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
18599         conditional to [defined UTMPX || _HAVE_UT_TYPE].
18600         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
18601         UTMPX || _HAVE_UT_TV].
18602         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
18603         UTMPX || _HAVE_UT_TV - 0].
18605 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
18607         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
18608         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
18609         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
18611 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18613         * sysdeps/powerpc/dl-procinfo.c:
18614         (_dl_powerpc_cap_flags): Added missing strings for some
18615         hwcap features.
18616         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
18618 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
18620         Port the 0x7efe...feff pattern to GCC 6.
18621         See Steve Ellcey's bug report in:
18622         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
18623         * string/memrchr.c (MEMRCHR):
18624         * string/rawmemchr.c (RAWMEMCHR):
18625         * string/strchr.c (strchr):
18626         * string/strchrnul.c (STRCHRNUL):
18627         Rewrite code to avoid issues with signed shift overflow.
18629 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
18631         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
18632         whether cpuid is available only if HAS_CPUID is 0.
18633         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
18634         (HAS_I586): Likewise.
18635         (HAS_I686): Likewise.
18637 2015-08-18  Zack Weinberg  <zackw@panix.com>
18639         * misc/Versions (libc): Add GLIBC_2.23.
18641 2015-08-18  Alan Modra  <amodra@gmail.com>
18643         [BZ #18421]
18644         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
18645         .Lp__global.
18646         (_start): Load %dp via .Lp__global.
18647         [!SHARED]: Use .section .rodata.
18649 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18651         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
18652         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
18654 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18656         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
18657         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
18659 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18661         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
18662         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
18664 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18666         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
18667         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
18669 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18671         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
18672         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
18674 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18676         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
18677         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
18679 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18681         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
18683 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18685         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
18686         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
18687         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18688         (__ASSUME_LWS_CAS): Delete.
18690 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18692         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
18693         * sysdeps/hppa/configure: Regenerated.
18694         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
18695         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
18696         * sysdeps/hppa/nptl/tls.h: Likewise.
18698 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
18700         [BZ #18823]
18701         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
18702         for scaling up small arguments.
18703         * math/s_csqrtf.c (__csqrtf): Likewise.
18704         * math/s_csqrtl.c (__csqrtl): Likewise.
18705         * math/auto-libm-test-in: Add more tests of csqrt.
18706         * math/auto-libm-test-out: Regenerated.
18708 2015-08-17  Andreas Schwab  <schwab@suse.de>
18710         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
18711         version set GLIBC_2.19.
18713 2015-08-16  Zack Weinberg  <zackw@panix.com>
18715         [BZ #18681]
18716         * misc/regexp.h: This interface is no longer supported.
18717         Remove all contents, leaving only an #error directive.
18718         * misc/regexp.c (loc1, loc2, locs, step, advance):
18719         Demote to compatibility symbols.
18721 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
18723         [BZ #18084]
18724         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
18725         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
18726         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
18727         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
18728         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
18729         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
18730         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
18731         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
18732         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
18734 2015-08-15  Zack Weinberg  <zackw@panix.com>
18736         [BZ #18795]
18737         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
18738         buffer length is known to be too large, not if it's known to be
18739         small enough.
18740         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
18741         overflow at runtime, involving a length parameter, twice: once
18742         with a compile-time constant length parameter, once without.
18744 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
18746         [BZ #18824]
18747         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
18748         scaling x * y up instead of down.
18749         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18750         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18751         * math/auto-libm-test-in: Add more tests of fma.
18752         * math/auto-libm-test-out: Regenerated.
18754 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
18756         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18758 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18760         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
18761         unnecessary movq.
18762         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
18763         Likewise.
18765 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
18767         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18768         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
18769         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
18770         and tgamma.
18771         * math/auto-libm-test-out: Regenerated.
18772         * sysdeps/i386/fpu/libm-test-ulps: Update.
18773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18775         [BZ #16520]
18776         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
18777         (__tanh): Force underflow exception for arguments with small
18778         absolute value.
18779         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
18780         (__tanhf): Force underflow exception for arguments with small
18781         absolute value.
18782         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
18783         (__tanhl): Force underflow exception for arguments with small
18784         absolute value.
18785         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
18786         (__tanhl): Force underflow exception for arguments with small
18787         absolute value.
18788         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
18789         (__tanhl): Force underflow exception for arguments with small
18790         absolute value.
18791         * math/auto-libm-test-in: Add more tests of tanh.
18792         * math/auto-libm-test-out: Regenerated.
18793         * sysdeps/i386/fpu/libm-test-ulps: Update.
18795 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18797         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
18798         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
18800 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18802         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
18803         <cpuid.h>.
18805 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18807         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
18808         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
18810 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18812         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
18813         Remove $(objpfx)init-arch.o.
18814         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
18815         init-arch.
18816         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
18817         (INIT_ARCH_EXT): Defined as empty.
18818         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
18819         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
18820         __init_cpu_features call.  Replace HAS_XXX with
18821         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18822         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
18823         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
18824         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
18825         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
18826         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
18827         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
18828         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
18829         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
18830         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
18831         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
18832         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
18833         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
18834         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
18835         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
18836         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
18837         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
18838         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
18839         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
18840         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
18841         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
18842         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
18843         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
18844         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
18845         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
18846         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
18847         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
18848         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
18849         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
18850         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
18851         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
18852         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
18853         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
18854         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
18855         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
18856         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
18858 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18860         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
18861         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18862         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
18863         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
18864         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
18865         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
18866         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
18867         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
18868         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
18869         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
18870         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
18871         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
18872         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18873         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18874         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18875         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18876         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18877         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18878         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18879         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18880         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18881         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18882         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18883         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18884         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18885         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18886         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18887         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18888         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18889         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18890         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18891         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18892         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18893         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18894         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18895         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18896         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18897         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18898         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18899         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18900         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18901         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18902         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18904 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18906         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
18907         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18908         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18909         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18910         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18911         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
18912         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18913         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
18914         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18915         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18916         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18917         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
18918         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
18919         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
18920         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
18921         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
18922         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
18923         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
18924         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
18925         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
18926         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
18927         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
18928         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
18929         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18930         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18931         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
18932         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
18933         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
18934         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18935         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18936         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18937         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18938         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18939         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18940         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18941         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18942         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18943         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18944         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18945         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18946         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18947         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18948         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18950 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18952         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
18953         (dl_platform_init): Call init_cpu_features.
18954         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
18955         * sysdeps/i386/i686/cacheinfo.c
18956         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
18957         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
18958         * sysdeps/i386/i686/multiarch/Versions: Removed.
18959         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
18960         Removed.
18961         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
18962         * sysdeps/unix/sysv/linux/x86/Makefile
18963         (libpthread-sysdep_routines): Remove init-arch.
18964         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
18965         <sysdeps/x86_64/dl-procinfo.c> instead of
18966         sysdeps/generic/dl-procinfo.c>.
18967         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
18968         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
18969         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
18970         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
18971         [$(subdir) == elf] (tests-static): Add
18972         tst-get-cpu-features-static.
18973         * sysdeps/x86/Versions: New file.
18974         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
18975         * sysdeps/x86/cpu-features.c: Likewise.
18976         * sysdeps/x86/cpu-features.h: Likewise.
18977         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
18978         * sysdeps/x86/libc-start.c: Likewise.
18979         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
18980         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
18981         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
18982         * sysdeps/x86_64/dl-procinfo.c: Likewise.
18983         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
18984         Assume USE_MULTIARCH is defined and don't check it.
18985         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
18986         (is_amd): Likewise.
18987         (max_cpuid): Likewise.
18988         (intel_check_word): Likewise.
18989         (__cache_sysconf): Don't call __init_cpu_features.
18990         (__x86_preferred_memory_instruction): Removed.
18991         (init_cacheinfo): Don't call __init_cpu_features. Replace
18992         __cpu_features with GLRO(dl_x86_cpu_features).
18993         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
18994         (dl_platform_init): Call init_cpu_features.
18995         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
18996         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
18997         * sysdeps/x86_64/multiarch/Versions: Removed.
18998         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
18999         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
19000         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
19001         Removed.
19002         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
19004 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19006         [BZ #18820]
19007         * libio/Makefile (test-fmemopen-mem): New test.
19008         * libio/test-fmemopen.c (do_bz18820): New test.
19009         * libio/fmemopen.c (__fmemopen): Fix memory leak.
19010         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
19012 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19014         [BZ #16734]
19015         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
19016         (FREE_BUF): Delete.
19017         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
19018         * libio/genops.c (_IO_setb): Use malloc and free directly.
19019         (_IO_default_doallocate, _IO_default_finish): Likewise.
19020         ( _IO_unbuffer_all): Likewise.
19021         ( libc_freeres_fn): Likewise.
19022         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19023         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
19024         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
19025         (_IO_wdefault_doallocate): Likewise.
19027 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19029         [BZ #18086]
19030         * sysdeps/posix/nice.c (nice): Restore old errno.
19031         * posix/tst-nice.c (do_test): Add test for BZ #18086.
19033 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
19035         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
19037 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19039         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
19040         __bcopy and add a weak_alias to bcopy.
19041         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
19042         for static build.
19044         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
19045         cleanup macro usage.
19046         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
19047         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
19048         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
19049         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
19050         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
19051         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
19052         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
19053         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
19054         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19055         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
19056         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19057         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
19058         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19059         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
19060         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19061         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
19062         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
19063         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
19064         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
19066         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
19067         libc_hidden_def.
19068         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
19070         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
19071         (sysdep_routines): Add strstr-ppc64.
19072         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
19074 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
19076         [BZ #18778]
19077         * elf/Makefile (tests): Add Add tst-nodelete2.
19078         (modules-names): Add tst-nodelete2mod.
19079         (tst-nodelete2mod.so-no-z-defs): New.
19080         ($(objpfx)tst-nodelete2): Likewise.
19081         ($(objpfx)tst-nodelete2.out): Likewise.
19082         (LDFLAGS-tst-nodelete2): Likewise.
19083         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
19084         out of loop through all loaded libraries.
19085         * elf/tst-nodelete2.c: New file.
19086         * elf/tst-nodelete2mod.c: Likewise.
19087         * elf/tst-znodelete-zlib.cc: Delete.
19089 2015-08-11  Andreas Schwab  <schwab@suse.de>
19091         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
19092         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
19093         (__openat64_nocancel): Likewise.
19095 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
19097         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
19098         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
19099         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
19100         * math/auto-libm-test-out: Regenerated.
19101         * sysdeps/i386/fpu/libm-test-ulps: Update.
19102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19104 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
19106         [BZ #18790]
19107         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
19108         threshold for returning +/- 1.
19109         * math/auto-libm-test-in: Add more tests of tanh.
19110         * math/auto-libm-test-out: Regenerated.
19111         * sysdeps/i386/fpu/libm-test-ulps: Update.
19113 2015-08-10  Andreas Schwab  <schwab@suse.de>
19115         [BZ #18781]
19116         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
19117         MORE_OFLAGS to oflag.
19118         * io/test-lfs.c (do_test): Test openat64.
19120 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
19122         [BZ #18789]
19123         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
19124         smaller threshold for returning the argument.
19125         * math/auto-libm-test-in: Add more tests of sinh.
19126         * math/auto-libm-test-out: Regenerated.
19127         * sysdeps/i386/fpu/libm-test-ulps: Update.
19129 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
19131         [BZ #18674]
19132         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
19133         break.
19135 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
19137         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
19138         (generated): Don't add $(addprefix z.,$(tzfiles)).
19140 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
19142         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
19143         * scripts/sysd-rules.awk: Likewise.
19145 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
19147         * iconvdata/tst-tables.sh: Change echo -n to printf.
19148         * nss/db-Makefile: Likewise.
19149         * posix/tst-getconf.sh: Likewise.
19150         * stdio-common/tst-unbputc.sh: Likewise.
19152 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
19154         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
19155         MADV_*_PAGES defines behind this feature check.
19157 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
19159         [BZ #18480]
19160         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
19161         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
19162         Define.
19163         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
19164         LOAD_REGS_5, LOAD_REGS_6): Update.
19165         (INTERNAL_SYSCALL): Update using new LOAD defines.
19166         (INTERNAL_SYSCALL_NCS): Likewise.
19167         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
19169 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19171         [BZ #16734]
19172         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
19174 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19176         [BZ #17905]
19177         * catgets/Makefile (tst-catgets-mem): New test.
19178         * catgets/catgets.c (catopen): Don't use unbounded alloca.
19179         * catgets/open_catalog.c (__open_catalog): Likewise.
19180         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
19182 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
19184         [BZ #18787]
19185         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
19186         clobber registers.
19187         (atomic_compare_and_exchange_val_acq): Use register asms to assign
19188         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
19189         Cast return to __typeof (oldval).
19191 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
19193         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
19194         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
19195         and delete sys/syscall.h include.
19197 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
19199         [BZ #16517]
19200         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
19201         (tan): Force underflow exception for arguments with small absolute
19202         value.
19203         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
19204         (__kernel_tanf): Force underflow exception for arguments with
19205         small absolute value.
19206         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
19207         (__kernel_tanl): Force underflow exception for arguments with
19208         small absolute value.
19209         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
19210         (__kernel_tanl): Force underflow exception for arguments with
19211         small absolute value.
19212         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
19213         (__kernel_tanl): Force underflow exception for arguments with
19214         small absolute value.
19215         * math/auto-libm-test-in: Add more tests of tan.
19216         * math/auto-libm-test-out: Regenerated.
19218 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19220         Fix sysdeps/i386/fpu/s_scalbn.S build
19222         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
19224 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
19226         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
19228 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19230         Fix gcrt0.o compilation
19232         When static-start-installed-name is different from
19233         start-installed-name, we must not use the shared objects.
19235         * csu/Makefile
19236         (extra-objs): Add gmon-start.o when building shared library and
19237         $(static-start-installed-name) is different from
19238         $(start-installed-name).
19239         $(objpfx)g$(static-start-installed-name): When building shared
19240         library and $(static-start-installed-name) is different from
19241         $(static-start-installed-name), revert to non-shared rule,
19242         i.e. using $(objpfx)% and gmon-start.o.
19244 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
19246         [BZ #16519]
19247         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
19248         (__ieee754_sinh): Force underflow exception for arguments with
19249         small absolute value.
19250         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
19251         (__ieee754_sinhf): Force underflow exception for arguments with
19252         small absolute value.
19253         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
19254         (__ieee754_sinhl): Force underflow exception for arguments with
19255         small absolute value.
19256         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
19257         (__ieee754_sinhl): Force underflow exception for arguments with
19258         small absolute value.
19259         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
19260         (__ieee754_sinhl): Force underflow exception for arguments with
19261         small absolute value.
19262         * math/auto-libm-test-in: Add more tests of sinh.
19263         * math/auto-libm-test-out: Regenerated.
19264         * sysdeps/i386/fpu/libm-test-ulps: Update.
19266 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19268         * libio/oldfileops.c: Include unistd.h.
19270 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
19272         * stdlib/isomac.c: Include ctype.h.
19274 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
19276         * dirent/tst-seekdir.c (main): Converted to ...
19277         (do_test): ... this.
19278         (TEST_FUNCTION): New macro.
19279         Include test-skeleton.c.
19280         * elf/tst-dlmodcount.c (main): Converted to ...
19281         (do_test): ... this.
19282         (TEST_FUNCTION): New macro.
19283         Include test-skeleton.c.
19284         * elf/tst-order-main.c (main): Converted to ...
19285         (do_test): ... this.
19286         (TEST_FUNCTION): New macro.
19287         Include test-skeleton.c.
19288         * elf/tst-pie2.c (main): Converted to ...
19289         (do_test): ... this.
19290         (TEST_FUNCTION): New macro.
19291         Include test-skeleton.c.
19292         * inet/tst-ether_aton.c (main): Converted to ...
19293         (do_test): ... this.
19294         (TEST_FUNCTION): New macro.
19295         Include test-skeleton.c.
19296         * misc/tst-mntent.c (main): Converted to ...
19297         (do_test): ... this.
19298         (TEST_FUNCTION): New macro.
19299         Include test-skeleton.c.
19300         * misc/tst-tsearch.c (main): Converted to ...
19301         (do_test): ... this.
19302         (TEST_FUNCTION): New macro.
19303         Include test-skeleton.c.
19304         * posix/tst-regexloc.c (main): Converted to ...
19305         (do_test): ... this.
19306         (TEST_FUNCTION): New macro.
19307         Include test-skeleton.c.
19308         * resolv/tst-aton.c (main): Converted to ...
19309         (do_test): ... this.
19310         (TEST_FUNCTION): New macro.
19311         Include test-skeleton.c.
19312         * stdio-common/test-fwrite.c (main): Converted to ...
19313         (do_test): ... this.
19314         (TEST_FUNCTION): New macro.
19315         Include test-skeleton.c.
19316         * stdio-common/tst-ferror.c (main): Converted to ...
19317         (do_test): ... this.
19318         (TEST_FUNCTION): New macro.
19319         Include test-skeleton.c.
19320         * stdio-common/tst-printf.c (main): Converted to ...
19321         (do_test): ... this.
19322         (TEST_FUNCTION): New macro.
19323         Include test-skeleton.c.
19324         * stdio-common/tst-printfsz.c (main): Converted to ...
19325         (do_test): ... this.
19326         (TEST_FUNCTION): New macro.
19327         Include test-skeleton.c.
19328         * stdlib/tst-strtod.c (main): Converted to ...
19329         (do_test): ... this.
19330         (TEST_FUNCTION): New macro.
19331         Include test-skeleton.c.
19332         * string/tst-strlen.c (main): Converted to ...
19333         (do_test): ... this.
19334         (TEST_FUNCTION): New macro.
19335         Include test-skeleton.c.
19336         * string/tst-svc.c (main): Converted to ...
19337         (do_test): ... this.
19338         (TEST_FUNCTION): New macro.
19339         Include test-skeleton.c.
19340         * time/tst-strptime.c (main): Converted to ...
19341         (do_test): ... this.
19342         (TEST_FUNCTION): New macro.
19343         Include test-skeleton.c.
19344         * timezone/tst-timezone.c (main): Converted to ...
19345         (do_test): ... this.
19346         (TEST_FUNCTION): New macro.
19347         Include test-skeleton.c.
19349 2015-08-05  Zack Weinberg  <zackw@panix.com>
19351         * misc/regexp.h: Update comments.
19353 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
19355         [BZ #18635]
19356         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
19357         before return label.
19359 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19361         [BZ #18661]
19362         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
19363         when calling __errno_location.
19364         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
19365         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
19367 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19369         [BZ #18661]
19370         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
19371         (__lll_timedwait_tid): Align stack to 16 bytes when calling
19372         __gettimeofday.
19374 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19376         [BZ #18661]
19377         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19378         (__start_context): Don't use pop to restore %rdi so that stack
19379         is aligned to 16 bytes when calling __setcontext.
19381 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19383         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
19384         only for libc.
19385         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19387 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19389         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
19390         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
19391         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
19393 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19395         * string/memccpy.c (memccpy):
19396         Improve performance by using memchr/memcpy/__mempcpy.
19398 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19400         * string/strncpy.c (strncpy):
19401         Improve performance by using __strnlen/memcpy.
19403 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19405         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19406         Optimize to avoid an unnecessary FPCR read.
19408 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19410         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
19411         Optimize to reduce FPCR/FPSR accesses.
19413 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19415         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
19416         dead->data[category] != NULL.
19418 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
19420         [BZ #18647]
19421         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
19422         and |x| close to 1, use absolute value of x when computing log.
19423         * math/auto-libm-test-in: Add more tests of pow.
19424         * math/auto-libm-test-out: Regenerated.
19426 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19428         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
19429         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
19430         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
19432 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
19434         [BZ #18525]
19435         * locales/km_KH: Remove timezone definition.
19436         * locales/lo_LA: Likewise.
19437         * locales/my_MM: Likewise.
19438         * locales/nan_TW@latin: Likewise.
19439         * locales/th_TH: Likewise.
19440         * locales/uk_UA: Likewise.
19442 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
19444         [BZ #18265]
19445         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
19446         (wcsncat): Likewise.
19447         (wcscmp): Likewise.
19448         (wcsncmp): Likewise.
19450 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
19452         * test-skeleton.c (usage): New function.
19453         (main): Call usage when opt is '?'.
19455 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
19457         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
19458         before first use.
19460 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
19462         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
19463         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
19464         in there too.
19466 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
19468         * version.h (RELEASE): Set to "development".
19469         (VERSION): Set to "2.22.90"
19471         * version.h (RELEASE): Set to "stable".
19472         (VERSION): Set to "2.22"
19473         * include/features.h (__GLIBC_MINOR__): Set to 22.
19475 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
19477         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
19478         Restructure macro to avoid "value computed is not used" warning.
19479         (atomic_compare_and_exchange_val_acq): Likewise.
19481 2015-08-04  Andreas Schwab  <schwab@suse.de>
19483         [BZ #18635]
19484         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
19485         ret.
19486         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
19488 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
19490         * po/pl.po: Updated translation.
19491         * po/uk.po: Likewise.
19492         * po/fi.po: Likewise.
19493         * po/ko.po: Likewise.
19494         * po/ru.po: Likewise.
19495         * po/vi.po: Likewise.
19497 2015-07-31  Zack Weinberg  <zackw@panix.com>
19499         [BZ #18681]
19500         * regexp.h: Add unconditional #warning stating that this header
19501         will be removed soon.  Revise banner comment to match.
19502         (compile): Consistently use ERROR instead of RETURN to report
19503         errors (partial fix for bz#18681).
19504         * regexp.c: Don't include regexp.h. Remove some unnecessary
19505         declarations.
19507 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
19509         * po/libc.pot: Regenerated.
19511 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
19513         [BZ #18740]
19514         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
19515         float-vlen4-arch-ext-cflags): Removed.
19516         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
19517         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
19519 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19521         [BZ #14113]
19522         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
19523         aligned to __aligned__.
19524         (pthread_cond_t, pthread_rwlock_t): Likewise.
19526 2015-07-30  Torvald Riegel  <triegel@redhat.com>
19528         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
19530 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19532         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
19533         (struct sigaction): Change sa_flags from a long to an int, and add
19534         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
19536 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19538         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
19539         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
19540         sysdeps/generic/sysdep.h include.
19541         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
19542         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
19543         sysdeps/hppa/sysdep.h.
19544         (ENTRY, PSEUDO): Undefine before defining.
19546 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19548         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
19549         from scratch to use INTERNAL_SYSCALL.
19551 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
19553         [BZ #18078]
19554         * scripts/check-localplt.awk: Support alternate relocations.
19555         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
19556         sections.
19557         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
19558         malloc entries with + REL R_386_GLOB_DAT.
19559         * sysdeps/x86_64/localplt.data: New file.
19561 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
19563         [BZ #18731]
19564         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
19565         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19566         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19568 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19570         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
19572 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19574         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
19575         directly in terms of __sync_fetch_and_add and delete (int) cast.
19577 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19579         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
19580         the -D_ASM_IA64_CURRENT_H flag.
19582 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19584         [BZ #18641]
19585         * pwd/pwd.h (putpwent): Delete __nonnull markings.
19587 2015-07-27  Andreas Schwab  <schwab@suse.de>
19589         * conform/conformtest.pl (checknamespace): Filter out string
19590         literals while tokenizing.
19592 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
19594         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19595         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
19596         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19598 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
19600         * nptl/tst-join7mod.c: Add #include <string.h>.
19602 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
19604         * sysdeps/nios2/libm-test-ulps: Update.
19606 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
19608         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
19609         Fix order of arguments to the rt_sigprocmask syscall.
19610         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
19611         Likewise.
19613 2015-07-24  Roland McGrath  <roland@hack.frob.com>
19615         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
19617 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19619         [BZ #18457]
19620         * nptl/Makefile (tests): New test case tst-join7.
19621         (modules-names): New test case module tst-join7mod.
19622         * nptl/tst-join7.c: New file.
19623         * nptl/tst-join7mod.c: New file.
19624         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
19625         all translation units in libc.so, libpthread.so and rtld.
19627 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19629         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19631 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
19633         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
19634         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
19635         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
19636         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
19637         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
19638         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
19639         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
19640         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
19641         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
19642         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
19643         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
19644         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
19645         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
19646         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
19647         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
19648         implementation.
19650 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19652         [BZ #17711]
19653         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19654         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
19655         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19656         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19657         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
19658         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19660 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19662         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
19663         instead of just saying load lock in the comments.
19665 2015-07-23  Roland McGrath  <roland@hack.frob.com>
19667         * sysdeps/unix/Subdirs: Moved ...
19668         * sysdeps/posix/Subdirs: ... here.
19669         * login/pty.h (struct termios, struct winsize): Add forward decls.
19670         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
19671         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
19672         * sysdeps/arm/nacl/libc.abilist: Updated.
19673         * sysdeps/nacl/libutil.abilist: New file.
19675         * bits/signum.h: Update comments to mention 1003.1-2013 too.
19676         (SIGWINCH): New macro.
19678         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
19679         * sysdeps/arm/nacl/libc.abilist: Add it.
19681 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
19683         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
19685 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
19687         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
19688         Swap __glibc_reserved0 and sa_flags order.
19690 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19692         [BZ #18657]
19693         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
19694         are pending TLS destructor calls.
19695         * include/link.h (struct link_map): Add concurrency note for
19696         L_TLS_DTOR_COUNT.
19697         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19698         Don't touch the link map flag.  Atomically increment
19699         l_tls_dtor_count.
19700         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
19701         Avoid taking the load lock and don't touch the link map flag.
19702         * stdlib/tst-tls-atexit-nodelete.c: New test case.
19703         * stdlib/Makefile (tests): Use it.
19704         * stdlib/tst-tls-atexit.c (do_test): dlopen
19705         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
19706         to allow tst-tls-atexit-nodelete test case to use it.
19708 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19710         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
19711         to bits/types.h.
19712         (msgqnum_t): New typedef.
19713         (msglen_t): Likewise.
19714         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
19715         and msg_qbytes type to msglen_t.
19717 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19719         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
19720         pad0 to __glibc_reserved0.
19721         (struct stat64): Likewise.
19723 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19725         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
19726         Change sa_flags from a long to an int and add __glibc_reserved0 before
19727         it for padding.
19729 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19731         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
19732         anonymous by deleting "siginfo" name.
19734 2015-07-21  Roland McGrath  <roland@hack.frob.com>
19736         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
19737         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
19738         rather than __nacl_irt_filename.
19739         * sysdeps/nacl/xstat.c (__xstat): Likewise.
19741         * NEWS: New item for arm-nacl port.
19742         * sysdeps/arm/nacl/libc.abilist: New file.
19743         * sysdeps/nacl/ld.abilist: New file.
19744         * sysdeps/nacl/libBrokenLocale.abilist: New file.
19745         * sysdeps/nacl/libanl.abilist: New file.
19746         * sysdeps/nacl/libcrypt.abilist: New file.
19747         * sysdeps/nacl/libdl.abilist: New file.
19748         * sysdeps/nacl/libm.abilist: New file.
19749         * sysdeps/nacl/libpthread.abilist: New file.
19750         * sysdeps/nacl/libresolv.abilist: New file.
19751         * sysdeps/nacl/librt.abilist: New file.
19753 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
19755         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
19756         __startcontext to initialize the new context.
19757         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
19758         up CFI directive to forbid further backtracing.
19760 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
19762         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
19763         reference.
19764         * charmaps/ANSI_X3.4-1968: Likewise.
19765         * charmaps/BS_4730: Likewise.
19766         * charmaps/BS_VIEWDATA: Likewise.
19767         * charmaps/CP1250: Likewise.
19768         * charmaps/CP1251: Likewise.
19769         * charmaps/CP1252: Likewise.
19770         * charmaps/CP1253: Likewise.
19771         * charmaps/CP1254: Likewise.
19772         * charmaps/CP1255: Likewise.
19773         * charmaps/CP1256: Likewise.
19774         * charmaps/CSN_369103: Likewise.
19775         * charmaps/EBCDIC-DK-NO: Likewise.
19776         * charmaps/GB_1988-80: Likewise.
19777         * charmaps/GREEK-CCITT: Likewise.
19778         * charmaps/GREEK7: Likewise.
19779         * charmaps/INIS-8: Likewise.
19780         * charmaps/ISIRI-3342: Likewise.
19781         * charmaps/ISO_2033-1983: Likewise.
19782         * charmaps/ISO_5427-EXT: Likewise.
19783         * locales/POSIX: Likewise.
19784         * locales/ar_SA: Likewise.
19785         * locales/be_BY: Likewise.
19786         * locales/be_BY@latin: Likewise.
19787         * locales/ca_ES: Likewise.
19788         * locales/cs_CZ: Likewise.
19789         * locales/da_DK: Likewise.
19790         * locales/de_BE: Likewise.
19791         * locales/de_CH: Likewise.
19792         * locales/de_LU: Likewise.
19793         * locales/en_AU: Likewise.
19794         * locales/en_BW: Likewise.
19795         * locales/en_CA: Likewise.
19796         * locales/en_DK: Likewise.
19797         * locales/en_GB: Likewise.
19798         * locales/en_IE: Likewise.
19799         * locales/en_NZ: Likewise.
19800         * locales/en_ZA: Likewise.
19801         * locales/en_ZW: Likewise.
19802         * locales/es_AR: Likewise.
19803         * locales/es_BO: Likewise.
19804         * locales/es_CL: Likewise.
19805         * locales/es_CO: Likewise.
19806         * locales/es_DO: Likewise.
19807         * locales/es_EC: Likewise.
19808         * locales/es_ES: Likewise.
19809         * locales/es_HN: Likewise.
19810         * locales/es_MX: Likewise.
19811         * locales/es_PA: Likewise.
19812         * locales/es_PE: Likewise.
19813         * locales/es_PY: Likewise.
19814         * locales/es_SV: Likewise.
19815         * locales/es_US: Likewise.
19816         * locales/es_UY: Likewise.
19817         * locales/es_VE: Likewise.
19818         * locales/et_EE: Likewise.
19819         * locales/fa_IR: Likewise.
19820         * locales/fo_FO: Likewise.
19821         * locales/fr_CA: Likewise.
19822         * locales/fr_CH: Likewise.
19823         * locales/gv_GB: Likewise.
19824         * locales/he_IL: Likewise.
19825         * locales/hr_HR: Likewise.
19826         * locales/id_ID: Likewise.
19827         * locales/is_IS: Likewise.
19828         * locales/it_CH: Likewise.
19829         * locales/iw_IL: Likewise.
19830         * locales/kl_GL: Likewise.
19831         * locales/ko_KR: Likewise.
19832         * locales/kw_GB: Likewise.
19833         * locales/lg_UG: Likewise.
19834         * locales/lt_LT: Likewise.
19835         * locales/lv_LV: Likewise.
19836         * locales/mi_NZ: Likewise.
19837         * locales/nhn_MX: Likewise.
19838         * locales/nl_BE: Likewise.
19839         * locales/pl_PL: Likewise.
19840         * locales/sk_SK: Likewise.
19841         * locales/sl_SI: Likewise.
19842         * locales/sv_FI: Likewise.
19843         * locales/tl_PH: Likewise.
19844         * locales/tr_TR: Likewise.
19845         * locales/vi_VN: Likewise.
19847 2015-07-21  Khem Raj  <raj.khem@gmail.com>
19849         [BZ #17475]
19850         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
19851         of tu_IN and bh_IN.
19853 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
19855         [BZ #18694]
19856         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
19857         bits/wordsize.h.
19858         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
19860 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19862         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
19863         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
19864         (spawn_thread): New function.
19865         (load): Rename to reg_dtor_and_close.  Move dlopen to...
19866         (do_test): ... here.  Use IS_LOADED to test for its
19867         availability.
19869 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
19871         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19873 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
19875         [BZ #18696]
19876         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
19877         si_addr_bnd.
19878         (si_lower): New.
19879         (si_upper): Likewise.
19881 2015-07-16  David S. Miller  <davem@davemloft.net>
19883         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
19885 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19887         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
19888         buffer.
19889         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
19890         fail output information.
19892 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19894         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
19895         and strstr-ppc64..
19896         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19897         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
19898         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
19899         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
19900         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
19902 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
19904         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
19905         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
19906         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
19907         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
19909 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
19911         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
19912         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
19913         rtld_hidden_proto.
19914         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
19916 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19918         * tst-nodelete-opened.c (do_test): Add comment to clarify how
19919         the test can fail.
19921         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
19923         [BZ #18676]
19924         * elf/tst-nodelete-opened.c: New test case.
19925         * elf/tst-nodelete-opened-lib.c: New test case module.
19926         * elf/Makefile (tests, modules-names): Use them.
19927         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
19928         early.
19930 2015-07-15  David S. Miller  <davem@davemloft.net>
19932         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
19933         futex-intenal.h
19934         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
19935         * sysdeps/sparc/sparc64/Makefile: Likewise.
19936         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
19937         Remove space from macro define.
19938         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
19940 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
19942         [BZ #17475]
19943         * locale/iso-639.def: Update Bhili and Tulu language codes as
19944         per iso639-3.
19946 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
19948         * elf/tst-leaks1.c (main): Converted to ...
19949         (do_test): ... this.
19950         (TEST_FUNCTION): New macro.
19951         Include test-skeleton.c.
19952         * localedata/tst-langinfo.c (main): Converted to ...
19953         (do_test): ... this.
19954         (TEST_FUNCTION): New macro.
19955         Include test-skeleton.c.
19956         * math/test-fpucw.c (main): Converted to ...
19957         (do_test): ... this.
19958         (TEST_FUNCTION): New macro.
19959         Include test-skeleton.c.
19960         * math/test-tgmath.c (main): Converted to ...
19961         (do_test): ... this.
19962         (TEST_FUNCTION): New macro.
19963         Include test-skeleton.c.
19964         * math/test-tgmath2.c (main): Converted to ...
19965         (do_test): ... this.
19966         (TEST_FUNCTION): New macro.
19967         Include test-skeleton.c.
19968         * setjmp/tst-setjmp.c (main): Converted to ...
19969         (do_test): ... this.
19970         (TEST_FUNCTION): New macro.
19971         Include test-skeleton.c.
19972         * stdio-common/tst-sscanf.c (main): Converted to ...
19973         (do_test): ... this.
19974         (TEST_FUNCTION): New macro.
19975         Include test-skeleton.c.
19976         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
19977         (do_test): ... this.
19978         (TEST_FUNCTION): New macro.
19979         Include test-skeleton.c.
19981         * elf/tst-audit9.c (main): Converted to ...
19982         (do_test): ... this.
19983         (TEST_FUNCTION): New macro.
19984         Include test-skeleton.c.
19986 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
19988         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
19990 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
19992         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
19993         New variable.
19995 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
19997         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19999 2015-07-14  Roland McGrath  <roland@hack.frob.com>
20001         * sysdeps/generic/dl-fileid.h: New file.
20002         * sysdeps/posix/dl-fileid.h: New file.
20003         * sysdeps/nacl/dl-fileid.h: New file.
20004         * include/link.h: Include <dl-fileid.h>.
20005         (struct link_map): Replace l_dev and l_ino with l_file_id.
20006         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
20007         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
20008         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
20010 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20012         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
20014 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20016         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
20017         Add iff $CXX is set.
20018         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
20019         Likewise.
20020         (tst-nodelete-zmodiff): Likewise.
20021         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
20023 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20025         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
20027 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
20029         * sysdeps/aarch64/fpu/math_private.h
20030         (define math_opt_barrier): Add AArch64 version.
20031         (math_force_eval): Likewise.
20033 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
20035         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
20037 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
20039         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
20040         %ld with %jd and cast to intmax_t.
20041         (do_test_length_zero): Likewise.
20043 2015-07-10  Roland McGrath  <roland@hack.frob.com>
20045         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
20047 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
20049         * sysdeps/tile/libm-test-ulps: Regenerated.
20051         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
20052         Comment out the whole function, not just its body.
20054 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20056         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
20057         locks.
20059         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
20061 2015-07-10  Torvald Riegel  <triegel@redhat.com>
20063         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
20064         (sem_assume_only_signals_cause_futex_EINTR): Remove.
20066 2015-07-10  Torvald Riegel  <triegel@redhat.com>
20068         * sysdeps/nptl/futex-internal.h: New file.
20069         * sysdeps/nacl/futex-internal.h: New file.
20070         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
20071         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
20072         error checking.
20073         (setxid_unmark_thread): Likewise.
20074         (__nptl_setxid): Likewise.
20075         (__wait_lookup_done): Likewise.
20076         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
20077         * nptl/nptl-init.c (sighandler_setxid): Likewise.
20078         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
20079         * nptl/pthread_once.c (clear_once_control): Likewise.
20080         (__pthread_once_slow): Likewise.
20081         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
20082         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
20083         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
20084         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20085         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
20086         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
20087         Likewise.
20088         (__pthread_rwlock_rdlock): Likewise.
20089         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20090         Likewise.
20091         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
20092         Likewise.
20093         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20094         Likewise.
20095         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
20096         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
20097         Likewise.
20098         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
20099         __ASSUME_PRIVATE_FUTEX check.
20100         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
20101         Check that shared futexes are supported.
20102         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
20103         wrappers with error checking.
20104         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
20105         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
20106         * nptl/pthread_barrierattr_setpshared.c
20107         (pthread_barrierattr_setpshared): Check that shared futexes are
20108         supported.
20109         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
20110         Likewise.
20111         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
20112         Likewise.
20113         * nptl/sem_init.c (futex_private_if_supported): Remove.
20114         (__new_sem_init): Adapt and check that shared futexes are supported.
20115         * nptl/sem_open.c (sem_open): Likewise.
20116         * nptl/sem_post.c (futex_wake): Remove.
20117         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
20118         (do_futex_wait): Use futex wrappers with error checking.
20119         * nptl/sem_wait.c: Include lowlevellock.h.
20120         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
20121         Use futex_supports_pshared.
20122         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
20123         Use futex wrappers with error checking.
20124         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
20125         Likewise.
20126         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
20127         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
20128         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
20129         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
20130         (futex_wake): Likewise.
20131         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
20132         (do_futex_wait): Use futex wrappers with error checking.
20133         (__new_sem_wait_slow): Update EINTR handling.
20134         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
20136 2015-07-09  Martin Sebor  <msebor@redhat.com>
20138         [BZ #18435]
20139         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
20140         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
20141         * nptl/Makefile (test-xfail-tst-once5): Define.
20143 2015-07-09  Roland McGrath  <roland@hack.frob.com>
20145         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
20146         * elf/dl-minimal.c: For readability, reorder some definitions and
20147         introduce more page breaks.  Include <stdio.h>.
20148         (__libc_fatal): New function.
20150         * include/unistd.h: Add rtld_hidden_proto for _exit.
20151         * posix/_exit.c: Add rtld_hidden_def.
20152         * sysdeps/mach/hurd/_exit.c: Likewise.
20153         * sysdeps/nacl/_exit.c: Likewise.
20154         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
20155         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
20157 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
20159         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
20160         bndmov encoding with zero displacement.
20162 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
20163             H.J. Lu  <hongjiu.lu@intel.com>
20165         [BZ #18134]
20166         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
20167         * sysdeps/i386/configure: Regenerated.
20168         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
20169         (_dl_runtime_profile): Save and restore Intel MPX return bound
20170         registers when calling _dl_call_pltexit.  Add
20171         PRESERVE_BND_REGS_PREFIX before return.
20172         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
20173         (LRV_BND1_OFFSET): Likewise.
20174         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
20175         lrv_bnd1.
20176         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
20177         typo in bndmov encoding.
20178         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
20179         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
20180         branch instructions to preserve bounds.
20182 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
20185         [GLIBC_2.22]: Add fmemopen.
20187 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20189         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
20190         returns an error, also try to use host port from __mach_host_self for
20191         the __vm_wire call.
20192         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
20194 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20196         [BZ #18400]
20197         [BZ #18648]
20198         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
20199         Fix pr_uid and pr_gid members.
20200         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
20201         definition to elf_greg_t.
20203 2015-07-08  Roland McGrath  <roland@hack.frob.com>
20205         [BZ #18383]
20206         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
20207         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
20208         * sysdeps/arm/configure: Regenerated.
20209         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
20210         (test-xfail-tst-tlsalign-static): Variable removed.
20212         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
20213         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
20214         rather than explicit 'ln -s'.
20216         * resolv/rpc/netdb.h: New file.
20217         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
20219 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20221         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
20222         length buffers.
20223         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
20224         test-skeleton.c.
20226         [BZ #6544]
20227         [BZ #11216]
20228         [BZ #12836]
20229         [BZ #13151]
20230         [BZ #13152]
20231         [BZ #14292]
20232         * include/stdio.h (fmemopen): Remove hidden prototype.
20233         (__fmemopen): Add new hidden prototype.
20234         * libio/Makefile: Add oldfmemopen object.
20235         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
20236         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
20237         compliance.
20238         * libio/oldfmemopen.c: New file: old fmemopen implementation for
20239         symbol compatibility.
20240         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
20241         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
20242         fmemopen.
20243         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
20244         on append and read mode.
20245         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
20246         fmemopen.
20247         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
20248         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
20249         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
20250         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
20251         Likewise.
20252         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
20253         [GLIBC_2.22]: Likewise.
20254         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
20255         Likewise.
20256         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
20257         Likewise.
20258         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
20259         [GLIBC_2.22]: Likewise.
20260         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
20261         [GLIBC_2.22]: Likewise.
20262         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
20263         [GLIBC_2.22]: Likewise.
20264         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
20265         [GLIBC_2.22]: Likewise.
20266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
20267         [GLIBC_2.22]: Likewise.
20268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
20269         [GLIBC_2.22]: Likewise.
20270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
20271         [GLIBC_2.22]: Likewise.
20272         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
20273         Likewise.
20274         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
20275         Likewise.
20276         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
20277         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
20278         [GLIBC_2.22]: Likewise.
20279         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
20280         [GLIBC_2.22]: Likewise.
20281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
20282         [GLIBC_2.22]: Likewise.
20283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
20284         [GLIBC_2.22]: Likewise.
20285         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
20286         Likewise.
20287         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
20288         Likewise.
20289         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
20290         Likewise.
20291         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
20292         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
20294 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
20296         [BZ #18643]
20297         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
20298         IPV6_PATHMTU, and IPV6_DONTFRAG.
20300 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
20302         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
20303         and _IO_UNBUFFERED.
20304         * libio/oldfileops.c: Likewise.
20305         * libio/wfileops.c: Likewise.
20307 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
20309         * nscd/selinux.c: Delete selinux/flask.h include.
20311 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
20313         [BZ #18641]
20314         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
20315         (putpwent): Likewise.
20316         (getpwnam): Likewise.
20317         (getpwent_r): Likewise.
20318         (getpwuid_r): Likewise.
20319         (getpwnam_r): Likewise.
20320         (fgetpwent_r): Likewise.
20322 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
20324         [BZ #18557]
20325         * inet/rcmd.c (__validuser2_sa): Check user first to
20326         short-circuit host check.
20328 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
20329             Mikhail Ilin  <m.ilin@samsung.com>
20331         [BZ #17833]
20332         * elf/Makefile (tests): Add tst-nodelete.
20333         (modules-names): Add tst-nodelete-uniquemod.
20334         (tst-nodelete-uniquemod.so-no-z-defs): New.
20335         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
20336         (tst-nodelete-zmod.so-no-z-defs): Likewise.
20337         ($(objpfx)tst-nodelete): Likewise.
20338         ($(objpfx)tst-nodelete.out): Likewise.
20339         (LDFLAGS-tst-nodelete): Likewise.
20340         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
20341         * elf/dl-close.c (_dl_close_worker): Add a parameter to
20342         implement forced object deletion.
20343         (_dl_close): Pass false to _dl_close_worker.
20344         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
20345         * elf/tst-nodelete.cc: New file.
20346         * elf/tst-nodeletelib.cc: Likewise.
20347         * elf/tst-znodeletelib.cc: Likewise.
20348         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
20350 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
20352         [BZ #18508]
20353         * stdlib/Makefile ($(objpfx)tst-makecontext3):
20354         Depend on $(libdl).
20355         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
20356         is not called infinitely times.
20357         (backtrace_helper): New function.
20358         (trace_arg): New struct.
20359         (st1): Enlarge stack size.
20360         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20361         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
20362         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20363         Likewise.
20365 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
20367         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20369 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
20371         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
20372         Include sys/types.h instead of bits/types.h.
20373         Remove inclusion of bits/wordsize.h.
20375 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
20377         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
20378         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
20379         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
20380         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
20381         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
20382         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
20384 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
20386         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
20387         link-defines.sym.
20388         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
20389         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
20390         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
20391         and LR_SIZE.
20392         * sysdeps/i386/link-defines.sym: New file.
20394 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
20396         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
20397         (modules-names): Add tst-auditmod3a tst-auditmod3b.
20398         ($(objpfx)tst-audit3): New rule.
20399         ($(objpfx)tst-audit3.out): Likewise.
20400         * sysdeps/i386/tst-audit3.c: New file.
20401         * sysdeps/i386/tst-audit3.h: Likewise.
20402         * sysdeps/i386/tst-auditmod3a.c: Likewise.
20403         * sysdeps/i386/tst-auditmod3b.c: Likewise.
20405 2015-07-07  Torvald Riegel  <triegel@redhat.com>
20407         [BZ #18633]
20408         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
20409         pointer in C code.
20410         (__strcat_c): Likewise.
20411         (__strcat_g): Likewise.
20413 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
20415         [BZ #18592]
20416         * misc/sbrk.c: Set errno to ENOMEM on overflow.
20418 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
20420         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
20421         New function.  (__ieee754_sqrtf): New function.
20422         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
20423         New function.
20424         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
20425         New function.
20427 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
20429         * sysdeps/ieee754/support.c: Remove unused file.
20431 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20433         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
20434         registers instead of d ones so the layout is kernel abi compatible.
20435         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
20436         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
20437         Likewise.
20439 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20441         * sysdeps/aarch64/libm-test-ulps: Regenerated.
20443 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
20445         [BZ #18619]
20446         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
20447         and return argument in case of subnormal argument.
20449 2015-07-01  Martin Sebor  <msebor@redhat.com>
20451         [BZ #18435]
20452         * nptl/Makefile: Add tst-once5.cc.
20453         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
20454         Remove macro redefinitions.
20455         * nptl/tst-once5.cc: New test.
20457 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
20459         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20461         * sysdeps/arm/libm-test-ulps: Regenerated.
20463         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20464         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20466 2015-06-30  Torvald Riegel  <triegel@redhat.com>
20468         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
20469         lll_lock_wait_private and lll_futex_wake probes.
20471         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
20472         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
20473         Likewise.
20474         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
20475         atomic_spin_nop.
20476         * sysdeps/x86_64/bits/atomic.h: Likewise.
20477         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
20478         to atomic_spin_nop and move ...
20479         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
20480         ... here and ...
20481         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
20482         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
20483         atomic_spin_nop instead of BUSY_WAIT_NOP.
20484         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
20485         Likewise.
20486         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
20487         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
20488         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
20489         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
20490         instead of atomic_delay.
20492 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
20494         [BZ #18613]
20495         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
20496         X_ADJ not X when adjusting exponent.
20497         (__ieee754_gamma_r): Do intermediate computations in
20498         round-to-nearest then adjust overflowing and underflowing results
20499         as needed.
20500         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
20501         of X_ADJ not X when adjusting exponent.
20502         (__ieee754_gammaf_r): Do intermediate computations in
20503         round-to-nearest then adjust overflowing and underflowing results
20504         as needed.
20505         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
20506         log of X_ADJ not X when adjusting exponent.
20507         (__ieee754_gammal_r): Do intermediate computations in
20508         round-to-nearest then adjust overflowing and underflowing results
20509         as needed.  Use 1.0L not 1.0f as numerator of division.
20510         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
20511         log of X_ADJ not X when adjusting exponent.
20512         (__ieee754_gammal_r): Do intermediate computations in
20513         round-to-nearest then adjust overflowing and underflowing results
20514         as needed.  Use 1.0L not 1.0f as numerator of division.
20515         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
20516         of X_ADJ not X when adjusting exponent.
20517         (__ieee754_gammal_r): Do intermediate computations in
20518         round-to-nearest then adjust overflowing and underflowing results
20519         as needed.  Use 1.0L not 1.0f as numerator of division.
20520         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
20521         to auto-libm-test-in.
20522         (tgamma_test): Use ALL_RM_TEST.
20523         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
20524         tests of tgamma with spurious-overflow.
20525         * math/auto-libm-test-out: Regenerated.
20526         * math/gen-libm-have-vector-test.sh: Do not check for START.
20527         * sysdeps/i386/fpu/libm-test-ulps: Update.
20528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20530         [BZ #18612]
20531         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
20532         arguments, just return 0.5 times the argument, with underflow
20533         forced as needed.
20534         * math/auto-libm-test-in: Add more tests of j1.
20535         * math/auto-libm-test-out: Regenerated.
20537         [BZ #16559]
20538         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
20539         (__ieee754_j1): Force underflow exception for small results.
20540         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20541         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
20542         (__ieee754_j1f): Force underflow exception for small results.
20543         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20544         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20545         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20546         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
20547         (__ieee754_j1l): Force underflow exception for small results.
20548         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20549         * math/auto-libm-test-in: Add more tests of j1 and jn.
20550         * math/auto-libm-test-out: Regenerated.
20552         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
20553         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
20554         (PF_MPLS): Likewise.
20555         (AF_IB): Likewise.
20556         (AF_MPLS): Likewise.
20557         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
20558         value and macro.
20559         (MS_RMT_MASK): Include MS_LAZYTIME.
20561 2015-06-26  Mel Gorman  <mgorman@suse.de>
20563         [BZ #18502]
20564         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
20565         already minimal.
20567 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
20569         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
20570         (DT_MIPS_NUM): Update.
20571         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
20572         DT_MIPS_RLD_MAP_REL.
20574 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
20576         [BZ #16559]
20577         [BZ #18602]
20578         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
20579         round-to-nearest internally then recompute results that
20580         underflowed to zero in the original rounding mode.
20581         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20582         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20583         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20584         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20585         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
20586         * sysdeps/i386/fpu/libm-test-ulps: Update.
20587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20589 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20591         * NEWS: Fixed description of link with vector math library.
20593 2015-06-25  Andreas Schwab  <schwab@suse.de>
20595         [BZ #18549]
20596         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
20597         * libio/test-fmemopen.c (do_test): Add test for it.
20599 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
20601         [BZ #17841]
20602         * Makeconfig (no-pie-ldflag): New.
20603         (+link): Set to $(+link-pie) if default to PIE.
20604         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
20605         * config.make.in (build-pie-default): New.
20606         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
20607         is default.  AC_SUBST.
20608         * configure: Regenerated.
20609         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
20611 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20613         * nptl/descr.h (struct pthread): Change type of field setxid_futex
20614         to 'unsigned int'.
20616         * resolv/gai_misc.h (struct waitlist): Change type of field
20617         counterp to 'volatile unsigned int *'.
20618         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
20619         FUTEXADDR and OLDVAL.
20620         * resolv/getaddrinfo_a.c (getaddrinfo_a):
20621         Give local variable TOTAL type 'volatile unsigned int'.
20622         (struct async_waitlist): Change type of field counter to 'unsigned int'.
20623         * resolv/gai_suspend.c (gai_suspend):
20624         Give local variable CNTR type 'unsigned int'.
20626         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
20627         counterp to 'volatile unsigned int *'.
20628         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
20629         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
20630         (aio_suspend): Give local variable CNTR type 'unsigned int'.
20631         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
20632         Give local variable TOTAL type 'volatile unsigned int'.
20633         (struct async_waitlist): Change type of field counter to 'unsigned int'.
20635 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20637         [BZ #18383]
20638         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
20639         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
20640         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
20641         comment for i386/x86-64.
20642         (test-xfail-tst-tlsalign-extern-static): Removed.
20644 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20646         * math/test-double.h: New file.
20647         * math/test-float.h: Likewise.
20648         * math/test-ldouble.h: Likewise.
20649         * math/test-math-inline.h: Likewise.
20650         * math/test-math-no-inline.h: Likewise.
20651         * math/test-math-scalar.h: Likewise.
20652         * math/test-math-vector.h: Likewise.
20653         * math/test-vec-loop.h: Remove file.  Contents moved into
20654         test-math-vector.h.
20655         * math/libm-test.inc (MATHCONST): Do not document macro.
20656         * math/test-double.c: Include test-double.h, test-math-no-inline.h
20657         and test-math-scalar.h.
20658         (FUNC): Remove macro.
20659         (FUNC_TEST): Likewise.
20660         (FLOAT): Likewise.
20661         (MATHCONST): Likewise.
20662         (PRINTF_EXPR): Likewise.
20663         (PRINTF_XEXPR): Likewise.
20664         (PRINTF_NEXPR): Likewise.
20665         (TEST_DOUBLE): Likewise.
20666         (TEST_MATHVEC): Likewise.
20667         (__NO_MATH_INLINES): Likewise.
20668         * math/test-float.c: Include test-float.h, test-math-no-inline.h
20669         and test-math-scalar.h.
20670         (FUNC): Remove macro.
20671         (FUNC_TEST): Likewise.
20672         (FLOAT): Likewise.
20673         (MATHCONST): Likewise.
20674         (PRINTF_EXPR): Likewise.
20675         (PRINTF_XEXPR): Likewise.
20676         (PRINTF_NEXPR): Likewise.
20677         (TEST_FLOAT): Likewise.
20678         (TEST_MATHVEC): Likewise.
20679         (__NO_MATH_INLINES): Likewise.
20680         * math/test-idouble.c: Include test-double.h, test-math-inline.h
20681         and test-math-scalar.h.
20682         (FUNC): Remove macro.
20683         (FUNC_TEST): Likewise.
20684         (FLOAT): Likewise.
20685         (MATHCONST): Likewise.
20686         (PRINTF_EXPR): Likewise.
20687         (PRINTF_XEXPR): Likewise.
20688         (PRINTF_NEXPR): Likewise.
20689         (TEST_DOUBLE): Likewise.
20690         (TEST_MATHVEC): Likewise.
20691         (TEST_INLINE): Likewise.
20692         (__NO_MATH_INLINES): Likewise.
20693         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
20694         test-math-scalar.h.
20695         (FUNC): Remove macro.
20696         (FUNC_TEST): Likewise.
20697         (FLOAT): Likewise.
20698         (MATHCONST): Likewise.
20699         (PRINTF_EXPR): Likewise.
20700         (PRINTF_XEXPR): Likewise.
20701         (PRINTF_NEXPR): Likewise.
20702         (TEST_FLOAT): Likewise.
20703         (TEST_MATHVEC): Likewise.
20704         (TEST_INLINE): Likewise.
20705         (__NO_MATH_INLINES): Likewise.
20706         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
20707         and test-math-scalar.h.
20708         (FUNC): Remove macro.
20709         (FUNC_TEST): Likewise.
20710         (FLOAT): Likewise.
20711         (MATHCONST): Likewise.
20712         (PRINTF_EXPR): Likewise.
20713         (PRINTF_XEXPR): Likewise.
20714         (PRINTF_NEXPR): Likewise.
20715         (TEST_LDOUBLE): Likewise.
20716         (TEST_MATHVEC): Likewise.
20717         (TEST_INLINE): Likewise.
20718         (__NO_MATH_INLINES): Likewise.
20719         * math/test-ldouble.c: Include test-ldouble.h,
20720         test-math-no-inline.h and test-math-scalar.h.
20721         (FUNC): Remove macro.
20722         (FUNC_TEST): Likewise.
20723         (FLOAT): Likewise.
20724         (MATHCONST): Likewise.
20725         (PRINTF_EXPR): Likewise.
20726         (PRINTF_XEXPR): Likewise.
20727         (PRINTF_NEXPR): Likewise.
20728         (TEST_LDOUBLE): Likewise.
20729         (TEST_MATHVEC): Likewise.
20730         (__NO_MATH_INLINES): Likewise.
20731         * math/test-double-vlen2.h: Include test-double.h,
20732         test-math-no-inline.h and test-math-vector.h.
20733         (FLOAT): Remove macro.
20734         (FUNC): Likewise.
20735         (MATHCONST): Likewise.
20736         (PRINTF_EXPR): Likewise.
20737         (PRINTF_XEXPR): Likewise.
20738         (PRINTF_NEXPR): Likewise.
20739         (TEST_DOUBLE): Likewise.
20740         (TEST_MATHVEC): Likewise.
20741         (__NO_MATH_INLINES): Likewise.
20742         (CNCT): Likewise.
20743         (CONCAT): Likewise.
20744         (WRAPPER_NAME): Likewise.
20745         (WRAPPER_DECL): Likewise.
20746         (WRAPPER_DECL_ff): Likewise.
20747         (WRAPPER_DECL_fFF): Likewise.
20748         (VECTOR_WRAPPER): Likewise.
20749         (VECTOR_WRAPPER_ff): Likewise.
20750         (VECTOR_WRAPPER_fFF): Likewise.
20751         (VEC_LEN): New macro.
20752         * math/test-double-vlen4.h: Include test-double.h,
20753         test-math-no-inline.h and test-math-vector.h.
20754         (FLOAT): Remove macro.
20755         (FUNC): Likewise.
20756         (MATHCONST): Likewise.
20757         (PRINTF_EXPR): Likewise.
20758         (PRINTF_XEXPR): Likewise.
20759         (PRINTF_NEXPR): Likewise.
20760         (TEST_DOUBLE): Likewise.
20761         (TEST_MATHVEC): Likewise.
20762         (__NO_MATH_INLINES): Likewise.
20763         (CNCT): Likewise.
20764         (CONCAT): Likewise.
20765         (WRAPPER_NAME): Likewise.
20766         (WRAPPER_DECL): Likewise.
20767         (WRAPPER_DECL_ff): Likewise.
20768         (WRAPPER_DECL_fFF): Likewise.
20769         (VECTOR_WRAPPER): Likewise.
20770         (VECTOR_WRAPPER_ff): Likewise.
20771         (VECTOR_WRAPPER_fFF): Likewise.
20772         (VEC_LEN): New macro.
20773         * math/test-double-vlen8.h: Include test-double.h,
20774         test-math-no-inline.h and test-math-vector.h.
20775         (FLOAT): Remove macro.
20776         (FUNC): Likewise.
20777         (MATHCONST): Likewise.
20778         (PRINTF_EXPR): Likewise.
20779         (PRINTF_XEXPR): Likewise.
20780         (PRINTF_NEXPR): Likewise.
20781         (TEST_DOUBLE): Likewise.
20782         (TEST_MATHVEC): Likewise.
20783         (__NO_MATH_INLINES): Likewise.
20784         (CNCT): Likewise.
20785         (CONCAT): Likewise.
20786         (WRAPPER_NAME): Likewise.
20787         (WRAPPER_DECL): Likewise.
20788         (WRAPPER_DECL_ff): Likewise.
20789         (WRAPPER_DECL_fFF): Likewise.
20790         (VECTOR_WRAPPER): Likewise.
20791         (VECTOR_WRAPPER_ff): Likewise.
20792         (VECTOR_WRAPPER_fFF): Likewise.
20793         (VEC_LEN): New macro.
20794         * math/test-float-vlen4.h: Include test-float.h,
20795         test-math-no-inline.h and test-math-vector.h.
20796         (FLOAT): Remove macro.
20797         (FUNC): Likewise.
20798         (MATHCONST): Likewise.
20799         (PRINTF_EXPR): Likewise.
20800         (PRINTF_XEXPR): Likewise.
20801         (PRINTF_NEXPR): Likewise.
20802         (TEST_FLOAT): Likewise.
20803         (TEST_MATHVEC): Likewise.
20804         (__NO_MATH_INLINES): Likewise.
20805         (CNCT): Likewise.
20806         (CONCAT): Likewise.
20807         (WRAPPER_NAME): Likewise.
20808         (WRAPPER_DECL): Likewise.
20809         (WRAPPER_DECL_ff): Likewise.
20810         (WRAPPER_DECL_fFF): Likewise.
20811         (VECTOR_WRAPPER): Likewise.
20812         (VECTOR_WRAPPER_ff): Likewise.
20813         (VECTOR_WRAPPER_fFF): Likewise.
20814         (VEC_LEN): New macro.
20815         * math/test-float-vlen8.h: Include test-float.h,
20816         test-math-no-inline.h and test-math-vector.h.
20817         (FLOAT): Remove macro.
20818         (FUNC): Likewise.
20819         (MATHCONST): Likewise.
20820         (PRINTF_EXPR): Likewise.
20821         (PRINTF_XEXPR): Likewise.
20822         (PRINTF_NEXPR): Likewise.
20823         (TEST_FLOAT): Likewise.
20824         (TEST_MATHVEC): Likewise.
20825         (__NO_MATH_INLINES): Likewise.
20826         (CNCT): Likewise.
20827         (CONCAT): Likewise.
20828         (WRAPPER_NAME): Likewise.
20829         (WRAPPER_DECL): Likewise.
20830         (WRAPPER_DECL_ff): Likewise.
20831         (WRAPPER_DECL_fFF): Likewise.
20832         (VECTOR_WRAPPER): Likewise.
20833         (VECTOR_WRAPPER_ff): Likewise.
20834         (VECTOR_WRAPPER_fFF): Likewise.
20835         (VEC_LEN): New macro.
20836         * math/test-float-vlen16.h: Include test-float.h,
20837         test-math-no-inline.h and test-math-vector.h.
20838         (FLOAT): Remove macro.
20839         (FUNC): Likewise.
20840         (MATHCONST): Likewise.
20841         (PRINTF_EXPR): Likewise.
20842         (PRINTF_XEXPR): Likewise.
20843         (PRINTF_NEXPR): Likewise.
20844         (TEST_FLOAT): Likewise.
20845         (TEST_MATHVEC): Likewise.
20846         (__NO_MATH_INLINES): Likewise.
20847         (CNCT): Likewise.
20848         (CONCAT): Likewise.
20849         (WRAPPER_NAME): Likewise.
20850         (WRAPPER_DECL): Likewise.
20851         (WRAPPER_DECL_ff): Likewise.
20852         (WRAPPER_DECL_fFF): Likewise.
20853         (VECTOR_WRAPPER): Likewise.
20854         (VECTOR_WRAPPER_ff): Likewise.
20855         (VECTOR_WRAPPER_fFF): Likewise.
20856         (VEC_LEN): New macro.
20857         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
20858         test-vec-loop.h.
20859         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20860         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20861         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20862         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20863         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20864         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20865         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
20867 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20869         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
20870         (__getlogin_r): ... this.
20872 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20874         [BZ #18594]
20875         * math/s_ccosh.c (__ccosh): Compare with least normal value
20876         instead of comparing class with FP_SUBNORMAL.
20877         * math/s_ccoshf.c (__ccoshf): Likewise.
20878         * math/s_ccoshl.c (__ccoshl): Likewise.
20879         * math/s_cexp.c (__cexp): Likewise.
20880         * math/s_cexpf.c (__cexpf): Likewise.
20881         * math/s_cexpl.c (__cexpl): Likewise.
20882         * math/s_csin.c (__csin): Likewise.
20883         * math/s_csinf.c (__csinf): Likewise.
20884         * math/s_csinh.c (__csinh): Likewise.
20885         * math/s_csinhf.c (__csinhf): Likewise.
20886         * math/s_csinhl.c (__csinhl): Likewise.
20887         * math/s_csinl.c (__csinl): Likewise.
20888         * math/s_ctan.c (__ctan): Likewise.
20889         * math/s_ctanf.c (__ctanf): Likewise.
20890         * math/s_ctanh.c (__ctanh): Likewise.
20891         * math/s_ctanhf.c (__ctanhf): Likewise.
20892         * math/s_ctanhl.c (__ctanhl): Likewise.
20893         * math/s_ctanl.c (__ctanl): Likewise.
20894         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
20895         csin, csinh, ctan and ctanh.
20896         * math/auto-libm-test-out: Regenerated.
20897         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
20898         * sysdeps/i386/fpu/libm-test-ulps: Update.
20899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20901 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20903         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
20904         return value is wrong, print the expected value too.
20906 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20908         [BZ #18585]
20909         * elf/readlib.c (is_gdb_python_file): New.
20910         (process_file): Don't issue errors on filenames with -gdb.py
20911         suffix.
20913 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20915         * math/auto-libm-test-in: Add more tests of csin and csinh.
20916         * math/auto-libm-test-out: Regenerated.
20917         * math/libm-test.inc (csin_test_data): Remove tests moved to
20918         auto-libm-test-in.
20919         (csinh_test_data): Likewise.
20921         [BZ #18593]
20922         * math/s_csin.c (__csin): Negate before rather than after possibly
20923         overflowing multiplication.
20924         * math/s_csinf.c (__csinf): Likewise.
20925         * math/s_csinh.c (__csinh): Likewise.
20926         * math/s_csinhf.c (__csinhf): Likewise.
20927         * math/s_csinhl.c (__csinhl): Likewise.
20928         * math/s_csinl.c (__csinl): Likewise.
20929         * math/auto-libm-test-in: Add some tests of csin and csinh.
20930         * math/auto-libm-test-out: Regenerated.
20931         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
20932         (csinh_test_data): Likewise.
20933         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20935         [BZ #18586]
20936         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
20937         underflow exception for small results.
20939 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
20941         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
20942         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
20943         variable and included header.
20944         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
20945         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
20946         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
20947         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
20948         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
20949         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
20950         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
20951         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
20952         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
20953         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
20954         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
20955         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
20956         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
20957         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
20958         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
20959         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
20961 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20963         [BZ #16526]
20964         [BZ #16538]
20965         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
20966         (__sin): Force underflow exception for arguments with small
20967         absolute value.
20968         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
20969         (__kernel_sinf): Force underflow exception for arguments with
20970         small absolute value.
20971         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
20972         (__kernel_sincosl): Force underflow exception for arguments with
20973         small absolute value.
20974         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
20975         (__kernel_sinl): Force underflow exception for arguments with
20976         small absolute value.
20977         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
20978         (__kernel_sincosl): Force underflow exception for arguments with
20979         small absolute value.
20980         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
20981         (__kernel_sinl): Force underflow exception for arguments with
20982         small absolute value.
20983         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
20984         (__kernel_sinl): Force underflow exception for arguments with
20985         small absolute value.
20986         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
20987         (__kernel_sinf): Force underflow exception for arguments with
20988         small absolute value.
20989         * math/auto-libm-test-in: Add more tests of sin and sincos.
20990         * math/auto-libm-test-out: Regenerated.
20992         [BZ #18245]
20993         [BZ #18583]
20994         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
20995         (__kernel_standard_l): Use feholdexcept and fesetenv around
20996         conversion to double instead of special-casing overflow and
20997         underflow.
20998         * math/libm-test.inc (fmod_test_data): Add more tests.
20999         (remainder_test_data): Likewise.
21000         (sqrt_test_data): Likewise.
21002 2015-06-23  Torvald Riegel  <triegel@redhat.com>
21004         [BZ #17403]
21005         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
21006         atomic_read_barrier, atomic_write_barrier): Define.
21007         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
21008         atomic_read_barrier, atomic_write_barrier): Define.
21010 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
21012         * math/Makefile [$(PERL) != no]
21013         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
21014         dependency on libm-test.stmp below the inclusion of Rules.
21016 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
21018         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
21019         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
21020         and included header.
21021         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
21022         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
21023         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
21024         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
21025         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
21026         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
21027         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
21028         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
21029         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
21030         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
21031         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
21032         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
21033         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
21034         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
21035         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
21036         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
21037         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
21038         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
21039         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
21041 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
21043         [BZ #18371]
21044         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
21045         intermediate but not final result might underflow.
21046         * math/s_csqrtf.c (__csqrtf): Likewise.
21047         * math/s_csqrtl.c (__csqrtl): Likewise.
21048         * math/auto-libm-test-in: Add more tests of csqrt.
21049         * math/auto-libm-test-out: Regenerated.
21050         * sysdeps/i386/fpu/libm-test-ulps: Update.
21052         [BZ #18219]
21053         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
21054         threshold on absolute value of exponent for which scaling is used.
21055         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21056         * math/auto-libm-test-in: Add more tests of exp2.
21057         * math/auto-libm-test-out: Regenerated.
21059 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
21061         [BZ #17977]
21062         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
21063         when initializing interface list, based on the bug analysis
21064         and the patch proposed by Eric Newton.
21065         * resolv/tst-res_hconf_reorder.c: New test.
21066         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
21067         tst-res_hconf_reorder.
21068         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
21069         and $(shared-thread-library).
21070         (tst-res_hconf_reorder-ENV): New variable.
21072         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
21073         in comment.
21075 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
21077         [BZ #16353]
21078         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
21079         (__expm1): Force underflow exception for arguments with small
21080         absolute value.
21081         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
21082         (__expm1f): Force underflow exception for arguments with small
21083         absolute value.
21084         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
21085         (__expm1): Force underflow exception for arguments with small
21086         absolute value.
21087         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
21088         (__expm1f): Force underflow exception for arguments with small
21089         absolute value.
21090         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21091         Check for small arguments before calling __expm1.
21092         * math/auto-libm-test-in: Do not mark underflow exceptions as
21093         possibly missing for bug 16353.
21094         * math/auto-libm-test-out: Regenerated.
21096 2015-06-22  Andreas Schwab  <schwab@suse.de>
21098         [BZ #18513]
21099         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
21100         PTR queries.
21102 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
21104         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
21106         * string/strcoll_l.c: Remove unused struct element idxnow.
21108 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
21110         [BZ #18569]
21111         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
21112         underflow and return argument in case of subnormal argument.
21113         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
21114         Likewise.
21115         * math/auto-libm-test-in: Add more tests of expm1.
21116         * math/auto-libm-test-out: Regenerated.
21118         [BZ #16361]
21119         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
21120         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
21121         tiny results.
21122         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
21123         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
21124         tiny results.
21125         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
21126         mark underflow exceptions as possibly missing for bug 16361.
21127         * math/auto-libm-test-out: Regenerated.
21129 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
21131         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
21132         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
21133         Remove variable.
21134         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21135         (test-xfail-XOPEN2K8/utmpx.h/conform).
21137         * conform/conformtest.pl ($xerrors): New variable.
21138         (note_error): New function.
21139         (compiletest): New argument $xfail.  Use not_error.
21140         (runtest): Likewise.
21141         (top level): Handle xfail- lines.  Update calls to compiletest and
21142         runtest.  Handle xfail- and optional- in headers listed with
21143         allow-header.
21144         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
21145         (O_EXEC): Likewise.
21146         (O_SEARCH): Likewise.
21147         * conform/data/stropts.h-data (ioctl): Likewise.
21148         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
21149         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
21150         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
21151         (msghdr.msg_controllen): Likewise.
21152         (cmsghdr.cmsg_len): Likewise.
21153         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
21154         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
21155         variable.
21156         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21157         (test-xfail-XPG4/stropts.h/conform): Likewise.
21158         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21159         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21160         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21161         (test-xfail-UNIX98/stropts.h/conform): Likewise.
21162         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21163         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21164         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21165         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21166         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21167         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21168         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21169         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21170         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21171         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21172         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21173         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21174         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21175         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21176         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21178 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21180         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
21181         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
21182         definitions for proper unfolding of __MATHDECL_VEC.
21184 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21186         * benchtests/bench-strcoll.c:
21187         Include string.h.
21188         (main): Remove unused variable res.
21190 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21192         * timezone/Makefile (%/UTC %/Universal):
21193         Generate test-result files for UTC and Universal.
21195 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21197         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21199 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
21201         [BZ #16350]
21202         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
21203         for arguments with small absolute value.
21204         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
21205         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
21206         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
21207         (__asinh): Force underflow exception for arguments with small
21208         absolute value.
21209         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
21210         (__asinhf): Force underflow exception for arguments with small
21211         absolute value.
21212         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
21213         (__asinhl): Force underflow exception for arguments with small
21214         absolute value.
21215         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
21216         (__asinhl): Force underflow exception for arguments with small
21217         absolute value.
21218         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
21219         (__asinhl): Force underflow exception for arguments with small
21220         absolute value.
21221         * math/auto-libm-test-in: Do not mark underflow exceptions as
21222         possibly missing for bug 16350.
21223         * math/auto-libm-test-out: Regenerated.
21225         * include/bits/ipc.h: Remove file.
21226         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
21227         variable.
21228         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21229         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21230         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21231         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21232         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21233         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21234         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21235         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21236         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21238         * math/auto-libm-test-in: Remove spurious underflow allowance for
21239         tests of cexp.
21240         * math/auto-libm-test-out: Regenerated.
21242         [BZ #18558]
21243         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
21244         unconditional definition.
21245         (MCAST_BLOCK_SOURCE): Likewise.
21246         (MCAST_UNBLOCK_SOURCE): Likewise.
21247         (MCAST_LEAVE_GROUP): Likewise.
21248         (MCAST_JOIN_SOURCE_GROUP): Likewise.
21249         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
21250         (MCAST_MSFILTER): Likewise.
21251         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
21252         Remove variable.
21253         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21254         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21255         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21256         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21257         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21259 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
21261         * NEWS: Mention addition of x86_64 vector sincosf.
21262         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
21263         * math/test-float-vlen4.h: Likewise.
21264         * math/test-float-vlen8.h: Likewise.
21265         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21266         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
21267         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21268         * sysdeps/x86_64/fpu/Versions: New versions added.
21269         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21270         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21271         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21272         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
21273         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
21274         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
21275         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
21276         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
21277         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
21278         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
21279         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
21280         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
21281         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
21282         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
21283         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
21284         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
21285         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
21286         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
21287         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21288         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21289         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21290         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21291         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21292         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21294         * NEWS: Mention addition of x86_64 vector sincos.
21295         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
21296         * math/math.h (__MATHDECL_VEC): New macro.
21297         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
21298         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
21299         declaration under condition.
21300         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
21301         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
21302         TEST_VEC_LOOP change.
21303         * math/test-double-vlen4.h: Likewise.
21304         * math/test-double-vlen8.h: Likewise.
21305         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
21306         * math/test-float-vlen4.h: Likewise.
21307         * math/test-float-vlen8.h: Likewise.
21308         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21309         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
21310         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21311         * sysdeps/x86_64/fpu/Versions: New versions added.
21312         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21313         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21314         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21315         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
21316         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
21317         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
21318         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
21319         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
21320         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
21321         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
21322         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
21323         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
21324         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
21325         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
21326         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
21327         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
21328         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
21329         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21330         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21331         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21332         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21333         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21334         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21335         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21337         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21338         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21339         redirections for powf.
21340         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21341         * sysdeps/x86_64/fpu/Versions: New versions added.
21342         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21343         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21344         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21345         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
21346         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
21347         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
21348         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
21349         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
21350         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
21351         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
21352         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
21353         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
21354         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
21355         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
21356         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
21357         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
21358         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
21359         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21360         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21361         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21362         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21363         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21364         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21365         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21366         * math/test-float-vlen16.h: Fixed 2 argument macro.
21367         * math/test-float-vlen4.h: Likewise.
21368         * math/test-float-vlen8.h: Likewise.
21369         * NEWS: Mention addition of x86_64 vector powf.
21371 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
21373         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21374         and redefine.
21375         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21376         and redefine.
21377         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
21378         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21379         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21381         [BZ #18553]
21382         * resource/getpriority.c (getpriority): Rename to __getpriority
21383         and define as weak alias of __getpriority.
21384         * resource/setpriority.c (setpriority): Rename to __setpriority
21385         and define as weak alias of __setpriority.
21386         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
21387         __getpriority and define as weak alias of __getpriority.
21388         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
21389         __setpriority and define as weak alias of __setpriority.
21390         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
21391         strong name.
21392         (setpriority): Use __setpriority as strong name.
21393         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
21394         __getpriority and define as weak alias of __getpriority.
21395         * include/sys/resource.h (__getpriority): Declare.  Use
21396         libc_hidden_proto.
21397         (__setpriority): Likewise.
21398         (getpriority): Don't use libc_hidden_proto.
21399         (setpriority): Likewise.
21400         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
21401         getpriority.  Call __setpriority instead of setpriority.
21402         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
21403         Remove variable.
21405         [BZ #18547]
21406         * misc/getttyent.c (getttynam): Rename to __getttynam and define
21407         as weak alias of __getttynam.  Use prototype function definition.
21408         Call __setttyent, __getttyent and __endttyent instead of
21409         setttyent, getttyent and endttyent.
21410         (getttyent): Rename to __getttyent and define as weak alias of
21411         __getttyent.  Call __setttyent instead of setttyent.  Call
21412         __fgets_unlocked instead of fgets_unlocked.
21413         (setttyent): Rename to __setttyent and define as weak alias of
21414         __setttyent.
21415         (endttyent): Rename to __endttyent and define as weak alias of
21416         __endttyent.
21417         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
21418         (__setttyent): Likewise.
21419         (__endttyent): Likewise.
21420         (getttyent): Don't use libc_hidden_proto.
21421         (setttyent): Likewise.
21422         (endttyent): Likewise.
21423         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
21424         __endttyent instead of setttyent, getttyent and endttyent.
21425         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
21426         Remove variable.
21428         [BZ #18546]
21429         * socket/recv.c (__recv): Use libc_hidden_def.
21430         * socket/socket.c (__socket): Likewise.
21431         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
21432         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
21433         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
21434         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
21435         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
21436         libc_hidden_def.
21437         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
21438         libc_hidden_weak.
21439         * include/sys/socket.h (__socket): Do not use attribute_hidden.
21440         Use libc_hidden_proto.
21441         (__recv): Likewise.
21442         * socket/Versions (libc): Export __recv and __socket at version
21443         GLIBC_PRIVATE.
21444         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
21445         instead of recv.
21446         (init_mq_netlink): Call __socket instead of socket.
21447         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
21448         Remove variable.
21450         [BZ #18545]
21451         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
21452         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
21453         hidden_weak.
21454         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
21455         define as alias of __mq_timedsend.  Use hidden_weak.
21456         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
21457         __mq_timedsend as strong name.
21458         (mq_timedreceive): Use __mq_timedreceive as strong name.
21459         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
21460         (__mq_timedreceive): Likewise.
21461         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
21462         __mq_timedreceive instead of mq_timedreceive.
21463         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
21464         instead of mq_timedsend.
21465         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
21466         Remove variable.
21468         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
21469         hidden_def and hidden_weak instead of libc_hidden_def and
21470         libc_hidden_weak.
21471         (top level): Refer to hidden_def in comment.
21472         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
21473         macro.  Use it instead of libc_hidden_def.
21474         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
21475         specify __GI_* name explicitly.
21476         (mq_timedreceive): Likewise.
21477         (mq_setattr): Likewise.
21479         [BZ #18544]
21480         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
21481         __pthread_barrier_init and define as weak alias of
21482         __pthread_barrier_init.
21483         * sysdeps/sparc/nptl/pthread_barrier_init.c
21484         (pthread_barrier_init): Likewise.
21485         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
21486         __pthread_barrier_wait and define as weak alias of
21487         __pthread_barrier_wait.
21488         * sysdeps/sparc/nptl/pthread_barrier_wait.c
21489         (pthread_barrier_wait): Likewise.
21490         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
21491         (pthread_barrier_wait): Likewise.
21492         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
21493         (pthread_barrier_wait): Likewise.
21494         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
21495         (pthread_barrier_wait): Likewise.
21496         * nptl/Versions (libpthread): Export __pthread_barrier_init and
21497         __pthread_barrier_wait at version GLIBC_PRIVATE.
21498         * include/pthread.h (__pthread_barrier_init): Declare.
21499         (__pthread_barrier_wait): Likewise.
21500         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
21501         Call __pthread_barrier_wait instead of pthread_barrier_wait.
21502         (helper_thread): Likewise.
21503         (init_mq_netlink): Call __pthread_barrier_init instead of
21504         pthread_barrier_init.
21506         [BZ #18542]
21507         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
21508         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
21509         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
21510         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
21511         vswscanf.
21512         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
21513         Remove variable.
21515         [BZ #18540]
21516         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
21517         strong alias of _IO_fflush.  Use libc_hidden_def.
21518         * libio/iofflush_u.c (fflush_unlocked): Rename to
21519         __fflush_unlocked and define as weak alias of __fflush_unlocked.
21520         Use libc_hidden_weak.
21521         * include/stdio.h (__fflush_unlocked): Declare.  Use
21522         libc_hidden_proto.
21523         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
21524         fflush_unlocked.
21525         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
21526         Remove variable.
21528         [BZ #18539]
21529         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
21530         define as weak alias of __addseverity.
21531         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
21532         Remove variable.
21533         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
21534         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
21535         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
21537         [BZ #18536]
21538         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
21539         (__tfind): Likewise.
21540         (__tdelete): Likewise.
21541         (__twalk): Likewise.
21542         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
21543         __twalk to GLIBC_PRIVATE.
21544         * include/search.h (__tsearch): Use libc_hidden_proto.
21545         (__tfind): Likewise.
21546         (__tdelete): Likewise.
21547         (__twalk): Likewise.
21548         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
21549         Call __tdelete instead of tdelete.
21550         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
21551         tfind.  Call __tsearch instead of tsearch.
21552         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
21553         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
21554         Remove variable.
21555         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
21557         [BZ #18534]
21558         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
21559         (dprintf): Define as a weak alias of __dprintf, not a strong
21560         alias.
21561         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
21562         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
21563         dprintf.
21564         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
21565         Remove variable.
21566         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
21567         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
21569         [BZ #18533]
21570         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
21571         not a strong alias.
21572         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
21573         Remove variable.
21575         [BZ #18532]
21576         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
21577         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
21578         (in6addr_loopback): Rename to __in6addr_loopback and define as
21579         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
21580         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
21581         libc_hidden_proto.
21582         (__in6addr_any): Likewise.
21583         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
21584         in6addr_any.
21585         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
21586         variable.
21587         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
21589 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
21591         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
21592         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
21593         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21594         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21595         redirections for pow.
21596         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21597         * sysdeps/x86_64/fpu/Versions: New versions added.
21598         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21599         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21600         build of SSE, AVX2 and AVX512 IFUNC versions.
21601         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
21602         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
21603         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
21604         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
21605         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
21606         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
21607         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
21608         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
21609         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
21610         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
21611         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
21612         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
21613         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
21614         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
21615         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21616         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21617         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21618         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21619         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21620         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21621         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21622         * NEWS: Mention addition of x86_64 vector pow.
21624         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21625         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21626         redirections for expf.
21627         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21628         * sysdeps/x86_64/fpu/Versions: New versions added.
21629         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21630         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21631         build of SSE, AVX2 and AVX512 IFUNC versions.
21632         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
21633         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
21634         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
21635         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
21636         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
21637         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
21638         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
21639         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
21640         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
21641         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
21642         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
21643         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
21644         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
21645         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21646         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21647         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21648         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21649         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21650         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21651         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21652         * NEWS: Mention addition of x86_64 vector expf.
21654         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
21655         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
21656         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21657         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21658         redirections for exp.
21659         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21660         * sysdeps/x86_64/fpu/Versions: New versions added.
21661         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21662         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21663         build of SSE, AVX2 and AVX512 IFUNC versions.
21664         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
21665         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
21666         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
21667         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
21668         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
21669         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
21670         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
21671         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
21672         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
21673         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
21674         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
21675         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
21676         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
21677         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21678         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21679         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21680         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21681         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21682         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21683         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21684         * NEWS: Mention addition of x86_64 vector exp.
21686         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21687         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21688         redirections for logf.
21689         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21690         * sysdeps/x86_64/fpu/Versions: New versions added.
21691         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21692         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21693         build of SSE, AVX2 and AVX512 IFUNC versions.
21694         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
21695         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
21696         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
21697         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
21698         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
21699         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
21700         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
21701         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
21702         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
21703         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
21704         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
21705         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
21706         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
21707         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21708         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21709         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21710         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21711         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21712         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21713         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21714         * NEWS: Mention addition of x86_64 vector logf.
21716         * bits/libm-simd-decl-stubs.h: Added stubs for log.
21717         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
21718         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21719         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21720         redirections for log.
21721         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21722         * sysdeps/x86_64/fpu/Versions: New versions added.
21723         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21724         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21725         build of SSE, AVX2 and AVX512 IFUNC versions.
21726         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
21727         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
21728         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
21729         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
21730         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
21731         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
21732         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
21733         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
21734         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
21735         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
21736         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
21737         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
21738         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
21739         test.
21740         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21741         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21742         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21743         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21744         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21745         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21746         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21747         * NEWS: Mention addition of x86_64 vector log.
21749 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21751         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
21752         cfi_adjust_cfa_offset argument.
21753         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
21754         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
21756         [BZ #18034]
21757         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
21758         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
21759         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
21760         ordering using ldar.
21761         (_dl_tlsdesc_dynamic): Likewise.
21762         (_dl_tlsdesc_return_lazy): Likewise.
21763         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
21764         relaxed atomics instead of volatile and synchronize with release store.
21765         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
21766         volatile.
21767         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21769 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
21771         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21772         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
21773         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21774         * sysdeps/x86_64/fpu/Versions: New versions added.
21775         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21776         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21777         build of SSE, AVX2 and AVX512 IFUNC versions.
21778         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
21779         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
21780         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
21781         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
21782         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
21783         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
21784         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
21785         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
21786         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
21787         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
21788         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
21789         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
21790         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
21791         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21792         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21793         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21794         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21795         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21796         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21797         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21798         * NEWS: Mention addition of x86_64 vector sinf.
21800 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
21802         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
21803         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
21804         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
21805         Remove variable.
21806         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
21807         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
21809 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
21811         [BZ #18530]
21812         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
21813         strong alias of _IO_fputs.  Use libc_hidden_def.
21814         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
21815         and define as weak alias of __fputs_unlocked.  Use
21816         libc_hidden_weak.
21817         * include/stdio.h (__fputs_unlocked): Declare.  Use
21818         libc_hidden_proto.
21819         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
21820         fputs_unlocked.
21822         [BZ #18529]
21823         * resolv/netdb.h [__USE_POSIX]: Change condition to
21824         [__USE_XOPEN2K].
21825         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
21826         not expect.
21827         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
21828         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
21829         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
21830         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
21831         [XPG4 || UNIX98] (AI_ALL): Likewise.
21832         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
21833         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
21834         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
21835         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
21836         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
21837         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
21838         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
21839         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
21840         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
21841         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
21842         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
21843         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
21844         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
21845         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
21846         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
21847         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
21848         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
21849         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
21850         [XPG4 || UNIX98] (gai_strerror): Likewise.
21851         [XPG4 || UNIX98] (getaddrinfo): Likewise.
21852         [XPG4 || UNIX98] (getnameinfo): Likewise.
21854         [BZ #18528]
21855         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
21856         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
21857         __USE_XOPEN2K8].
21858         (getgrent): Likewise.
21859         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
21860         expect.
21861         [XPG3 || POSIX2008] (endgrent): Likewise.
21862         [XPG3] (setgrent): Likewise.
21863         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
21864         variable.
21865         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
21867         [BZ #18527]
21868         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
21869         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
21870         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
21871         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
21872         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
21873         * include/unistd.h (__getlogin_r): Declare.  Use
21874         libc_hidden_proto.
21875         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
21876         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
21877         variable.
21878         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
21879         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
21880         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
21882 2015-06-12  Martin Sebor  <msebor@redhat.com>
21884         [BZ #18512]
21885         * Makerules (check-install-supported): New target.
21886         (install): Add check-install-supported as a dependency.
21887         * manual/install.texi (Installing the C Library): Document
21888         that overriding prefix and exec_prefix is not supported.
21889         Mention DESTDIR.
21890         * INSTALL: Regenerate from the above.
21892 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
21894         [BZ #18519]
21895         * posix/Versions (libc): Export __libc_pread at version
21896         GLIBC_PRIVATE.
21897         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
21898         instead of pread.
21899         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
21900         variable.
21902         [BZ #18522]
21903         * misc/efgcvt_r.c
21904         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
21905         (cvt_symbol): Use weak_alias instead of strong_alias.
21906         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
21907         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
21908         Remove variable.
21909         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
21910         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
21912         [BZ #18520]
21913         * inet/herrno.c (h_errno): Rename to __h_errno.
21914         (__libc_h_errno): Define as alias of __h_errno not h_errno.
21915         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
21916         to __h_errno instead of h_errno.
21917         * nptl/herrno.c (h_errno): Rename to __h_errno.
21918         (__h_errno_location): Refer to __h_errno not h_errno.
21919         * resolv/Versions (h_errno): Rename to __h_errno.
21920         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
21921         Remove variable.
21922         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
21924 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
21926         * configure.ac: More strict check for AVX512 assembler support.
21927         * configure: Regenerated.
21929         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
21930         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
21931         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21932         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
21933         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21934         * sysdeps/x86_64/fpu/Versions: New versions added.
21935         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21936         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21937         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21938         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
21939         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
21940         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
21941         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
21942         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
21943         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
21944         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
21945         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
21946         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
21947         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
21948         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
21949         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
21950         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
21951         test.
21952         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21953         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21954         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21955         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21956         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21957         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21958         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21959         * NEWS: Mention addition of x86_64 vector sin.
21961 2015-06-11  Florian Weimer  <fweimer@redhat.com>
21963         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
21964         comment.
21966 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
21968         [BZ #18479]
21969         * nptl/pt-interp.c: New file.
21970         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
21971         Add pt-interp.
21972         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
21973         $(common-objpfx)runtime-linker.h.
21975 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
21977         * Makeconfig (+interp): Remove unused variable.
21978         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
21979         only.  Depend on $(common-objpfx)runtime-linker.h instead of
21980         $(elf-objpfx)runtime-linker.h.
21981         ($(elf-objpfx)runtime-linker.h): Rename to
21982         $(common-objpfx)runtime-linker.h and move ...
21983         * Makerules [$(build-shared) = yes]: ... here.
21984         * elf/interp.c: Include <runtime-linker.h> instead of
21985         <elf/runtime-linker.h>.
21987 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21989         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
21990         (__gettimeofday_syscall): Remove vsyscall fallback.
21991         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
21992         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
21993         Add syscall fallback function.
21994         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
21995         if vDSO is not present.
21996         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
21997         fallback function.
21998         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
21999         present.
22000         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
22001         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22003 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
22005         [BZ #18497]
22006         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
22007         of wcscmp.
22008         (wcscmp): Define as weak alias of WCSCMP.
22009         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
22010         wcscoll.
22011         (USE_HIDDEN_DEF): Define.
22012         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
22013         __wcscoll.  Don't use libc_hidden_weak.
22014         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
22015         wcscmp.
22016         * sysdeps/i386/i686/multiarch/wcscmp-c.c
22017         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
22018         __GI_wcscmp.
22019         (weak_alias): Undefine and redefine.
22020         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
22021         __wcscmp and define as weak alias of __wcscmp.
22022         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
22023         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
22024         (__wcscoll): Likewise.
22025         (wcscmp): Don't use libc_hidden_proto.
22026         (wcscoll): Likewise.
22027         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
22028         wcscoll.
22029         * posix/regexec.c (check_node_accept_bytes): Likewise.
22030         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
22031         variable.
22032         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
22033         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
22035         [BZ #18507]
22036         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
22037         __fstatvfs and define as weak alias of __fstatvfs.  Use
22038         libc_hidden_weak.
22039         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
22040         and define as weak alias of __statvfs.  Use libc_hidden_weak.
22041         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
22042         Define as alias of __fstatvfs, not fstatvfs.
22043         (fstatvfs64): Likewise.
22044         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
22045         Define as alias of __statvfs, not statvfs.
22046         (statvfs64): Likewise.
22047         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
22048         Remove variable.
22050 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22053         (HAVE_GETCPU_VSYSCALL): Define.
22054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22055         (HAVE_GETCPU_VSYSCALL): Likewise.
22056         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
22057         * sysdeps/unix/sysv/linux/sched_getcpu.c
22058         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
22059         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
22060         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
22061         prototype.
22062         * sysdeps/unix/sysv/linux/x86_64/init-first.c
22063         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
22064         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
22065         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
22066         Define.
22067         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
22068         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22069         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
22070         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22072 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
22074         * sysdeps/x86_64/fpu/Makefile: New file.
22075         * sysdeps/x86_64/fpu/Versions: New file.
22076         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
22077         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
22078         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
22079         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
22080         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
22081         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
22082         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
22083         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
22084         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
22085         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
22086         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
22087         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
22088         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
22089         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22090         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22091         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
22092         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
22093         * sysdeps/x86_64/configure.ac: Options for libmvec build.
22094         * sysdeps/x86_64/configure: Regenerated.
22095         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
22096         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
22097         * manual/install.texi (Configuring and compiling): Document
22098         --disable-mathvec.
22099         * INSTALL: Regenerated.
22100         * NEWS: Mention addition of libmvec and x86_64 vector cos.
22102         * math/Makefile: Added rules for vector tests.
22103         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
22104         declaration under condition.
22105         * math/test-double-vlen2.h: New file.
22106         * math/test-double-vlen4.h: New file.
22107         * math/test-double-vlen8.h: New file.
22108         * math/test-vec-loop.h: Added initialization macro.
22109         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
22110         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
22111         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
22112         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
22113         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
22114         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
22115         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
22116         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
22117         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
22118         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
22119         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
22121         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22122         * sysdeps/x86_64/fpu/Versions: New versions added.
22123         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
22124         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
22125         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
22126         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
22127         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
22128         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
22129         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
22130         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
22131         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
22132         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
22133         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
22134         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
22135         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
22136         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22137         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22138         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22139         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
22140         * NEWS: Mention addition of x86_64 vector cosf.
22142         * math/Makefile: Added CFLAGS for new tests.
22143         * math/test-float-vlen16.h: New file.
22144         * math/test-float-vlen4.h: New file.
22145         * math/test-float-vlen8.h: New file.
22146         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
22147         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
22148         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22149         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
22150         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
22151         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
22152         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
22153         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
22154         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
22155         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
22156         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
22158 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
22160         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
22161         * locale/programs/ld-ctype.c: Likewise.
22163 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
22165         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
22166         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
22167         bit_ZMM16_31_state): New macro.
22168         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22169         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
22171 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
22173         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
22175 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
22177         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
22179 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
22181         [BZ #18498]
22182         * libio/memstream.c (open_memstream): Rename to __open_memstream
22183         and define as weak alias of __open_memstream.
22184         * include/stdio.h (__open_memstream): Declare.  Use
22185         libc_hidden_proto.
22186         (open_memstream): Don't use libc_hidden_proto.
22187         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
22188         open_memstream.
22189         * posix/getopt.c (_getopt_internal_r): Likewise.
22190         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
22191         variable.
22192         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
22193         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
22194         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
22196         [BZ #18496]
22197         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
22198         instead of wcrtomb.
22200         [BZ #18483]
22201         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
22202         [__USE_XOPEN2K8].  Remove redundant #endif.
22203         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
22204         Remove redundant #if.
22205         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
22206         Remove variable.
22207         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
22208         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
22210         [BZ #18495]
22211         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
22212         (__iswlower): Likewise.
22213         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
22214         (__iswlower): Likewise.
22215         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
22216         instead of towlower.
22217         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
22218         instead of iswlower.  Call __towupper instead of towupper.
22219         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
22220         instead of iswalnum.
22222 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22224         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
22225         errors to stderr.
22227 2015-06-05  Florian Weimer  <fweimer@redhat.com>
22229         [BZ #15661]
22230         [BZ #17322]
22231         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
22232         Check for overflow properly.  Check for O_APPEND.  Ignore large
22233         file system block sizes.  Add comments about problems.
22234         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
22235         * manual/filesys.texi (Storage Allocation): New node.
22237 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22239         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
22240         cancellable syscalls.
22241         (SYS_ify): Add guard to no redefine it.
22242         (INLINE_SYSCALL): Likewise.
22243         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
22244         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
22245         SYSCALL_CANCEL instead.
22246         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
22247         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
22248         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
22249         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
22250         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
22251         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
22252         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
22253         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
22254         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
22255         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
22256         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
22257         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
22258         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
22259         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
22260         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
22261         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
22262         Likewise.
22263         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
22264         (__libc_pread64): Likewise.
22265         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
22266         (__libc_preadv): Likewise.
22267         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
22268         (__libc_readv64): Likewise.
22269         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
22270         (__libc_pwrite): Likewise.
22271         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
22272         (__libc_pwrite64): Likewise.
22273         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
22274         (__libc_pwritev): Likewise.
22275         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
22276         (__libc_pwritev64): Likewise.
22277         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
22278         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
22279         (sync_file_range): Likewise.
22280         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
22281         Likewise.
22282         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
22283         Likewise.
22284         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
22285         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
22286         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
22287         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
22288         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
22289         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
22290         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
22291         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
22292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
22293         Likewise.
22294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22295         (__libc_read64): Likewise.
22296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
22297         Likewise.
22298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
22299         Likewise.
22300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
22301         Likewise.
22302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
22303         Likewise.
22304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22305         (__libc_pread64): Likewise.
22306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
22307         Likewise.
22308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22309         (__libc_pwrite64): Likewise.
22310         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
22311         (sync_file_range): Likewise.
22312         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
22313         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
22314         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
22315         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
22316         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
22317         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
22318         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
22319         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
22320         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
22321         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22322         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22323         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
22324         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
22325         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
22326         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
22327         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
22328         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
22329         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22330         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
22331         Likewise.
22332         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
22333         Likewise.
22334         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
22335         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
22336         Likewise.
22337         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
22338         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
22339         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
22340         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
22341         Likewise.
22342         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
22343         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
22344         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
22345         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
22346         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
22348 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
22350         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
22351         Include dl-vdso.
22352         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
22353         Use VDSO routines for gettimeofday, clock_gettime if
22354         available.
22355         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
22356         Declare VDSO symbols.
22357         * sysdeps/unix/sysv/linux/arm/sysdep.h:
22358         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
22359         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
22360         * sysdeps/unix/sysv/linux/arm/Versions: Add
22361         __vdso_clock_gettime.
22363 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22365         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
22366         be an inline implementation regardless of library is built within.
22367         (open_not_cancel_2): Likewise.
22368         (__read_nocancel): Likewise.
22369         (__write_nocancel): Likewise.
22370         (openat_not_cancel): Likewise.
22371         (openat_not_cancel_3): Likewise.
22372         (openat64_not_cancel): Likewise.
22373         (openat64_not_cancel_3): Likewise.
22374         (__close_nocancel): Likewise.
22375         (pause_not_cancel): Likewise.
22376         (nanosleep_not_cancel): Likewise.
22377         (sigsuspend_not_cancel): Likewise.
22379 2015-06-04  Torvald Riegel  <triegel@redhat.com>
22381         [BZ #14958]
22382         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
22383         wake-up.
22384         (__pthread_rwlock_rdlock_slow): Likewise.
22385         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22386         Likewise.
22387         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
22388         Likewise.
22389         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
22390         * nptl/tst-rwlock16.c: New file.
22391         * nptl/Makefile (tests): Add new test.
22393 2015-06-04  Torvald Riegel  <triegel@redhat.com>
22395         [BZ #18324]
22396         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
22397         missing wake-up of readers.
22398         * nptl/tst-rwlock15.c: New file.
22399         * nptl/Makefile (tests): Add new test.
22401 2015-06-03  Roland McGrath  <roland@hack.frob.com>
22403         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
22404         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
22405         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
22406         and __nacl_supply_interface_rtld.
22407         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
22408         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
22409         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
22410         Add __nacl_supply_interface_rtld.
22411         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
22413 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
22415         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
22416         isfinite.
22417         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22418         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
22420 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
22422         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
22423         __signbit* with standard C99 macros.
22424         * math/e_exp10l.c: Likewise.
22425         * math/e_exp2l.c: Likewise.
22426         * math/e_scalb.c: Likewise.
22427         * math/e_scalbf.c: Likewise.
22428         * math/e_scalbl.c: Likewise.
22429         * math/s_ldexp.c: Likewise.
22430         * math/s_ldexpf.c: Likewise.
22431         * math/s_ldexpl.c: Likewise.
22432         * math/w_atan2.c: Likewise.
22433         * math/w_atan2f.c: Likewise.
22434         * math/w_atan2l.c: Likewise.
22435         * math/w_cosh.c: Likewise.
22436         * math/w_coshf.c: Likewise.
22437         * math/w_coshl.c: Likewise.
22438         * math/w_exp10.c: Likewise.
22439         * math/w_exp10f.c: Likewise.
22440         * math/w_exp10l.c: Likewise.
22441         * math/w_exp2.c: Likewise.
22442         * math/w_exp2f.c: Likewise.
22443         * math/w_exp2l.c: Likewise.
22444         * math/w_fmod.c: Likewise.
22445         * math/w_fmodf.c: Likewise.
22446         * math/w_fmodl.c: Likewise.
22447         * math/w_hypot.c: Likewise.
22448         * math/w_hypotf.c: Likewise.
22449         * math/w_hypotl.c: Likewise.
22450         * math/w_jnl.c: Likewise.
22451         * math/w_lgamma.c: Likewise.
22452         * math/w_lgamma_r.c: Likewise.
22453         * math/w_lgammaf.c: Likewise.
22454         * math/w_lgammaf_r.c: Likewise.
22455         * math/w_lgammal.c: Likewise.
22456         * math/w_lgammal_r.c: Likewise.
22457         * math/w_pow.c: Likewise.
22458         * math/w_powf.c: Likewise.
22459         * math/w_powl.c: Likewise.
22460         * math/w_remainder.c: Likewise.
22461         * math/w_remainderf.c: Likewise.
22462         * math/w_remainderl.c: Likewise.
22463         * math/w_scalb.c: Likewise.
22464         * math/w_scalbf.c: Likewise.
22465         * math/w_scalbl.c: Likewise.
22466         * math/w_scalbln.c: Likewise.
22467         * math/w_scalblnf.c: Likewise.
22468         * math/w_scalblnl.c: Likewise.
22469         * math/w_sinh.c: Likewise.
22470         * math/w_sinhf.c: Likewise.
22471         * math/w_sinhl.c: Likewise.
22472         * math/w_tgamma.c: Likewise.
22473         * math/w_tgammaf.c: Likewise.
22474         * math/w_tgammal.c: Likewise.
22475         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22476         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
22477         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22478         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22479         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22480         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22481         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
22482         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22483         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22484         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22485         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22486         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22487         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22488         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22489         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22490         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22491         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22492         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22493         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22494         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22495         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22496         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22497         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22498         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22499         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22500         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22501         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
22502         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22503         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22504         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22505         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
22506         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
22507         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
22508         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
22509         * stdio-common/printf_fp.c: Likewise.
22510         * stdio-common/printf_fphex.c: Likewise.
22511         * stdio-common/printf_size.c: Likewise.
22513 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
22515         [BZ #18470]
22516         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
22517         strnlen.
22518         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
22519         Remove variable.
22520         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
22521         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
22522         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
22523         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
22524         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
22525         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
22526         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
22527         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
22528         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
22529         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
22531         [BZ #18468]
22532         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
22533         weak alias of __wmemchr.  Use libc_hidden_weak.
22534         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
22535         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
22536         instead of wmemchr.
22538 2015-06-02  Roland McGrath  <roland@hack.frob.com>
22540         [BZ #18383]
22541         * elf/tst-tlsalign-extern.c: New file.
22542         * elf/tst-tlsalign-extern-static.c: New file.
22543         * elf/tst-tlsalign-vars.c: New file.
22544         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
22545         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
22546         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
22547         ($(objpfx)tst-tlsalign-extern-static): Likewise.
22548         (test-xfail-tst-tlsalign-extern-static): New variable.
22550 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
22552         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
22553         Use variable name _sc_err instead of err.
22554         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
22555         instead of ret.
22556         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
22557         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
22558         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
22559         (INLINE_SYSCALL): Likewise.
22561         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
22562         * include/string.h (__strnlen): Use libc_hidden_proto.
22563         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
22564         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
22565         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
22566         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
22567         (libc_hidden_def): Undefine and redefine.
22568         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
22569         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
22570         __GI_strnlen.
22571         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
22572         libc_hidden_def.
22573         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
22575         [BZ #18469]
22576         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
22577         weak alias of __towlower.  Use libc_hidden_weak.
22578         (towupper): Rename to __towupper and define as weak alias of
22579         __towupper.  Use libc_hidden_weak.
22580         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
22581         (__towupper): Likewise.
22582         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
22583         __towlower instead of towlower.
22585 2015-06-02  Roland McGrath  <roland@hack.frob.com>
22587         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
22588         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
22590 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22592         * sysdeps/aarch64/libm-test-ulps: Update.
22594 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22596         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
22597         Define.
22598         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22599         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
22600         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
22601         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22602         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
22603         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
22604         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
22606 2015-06-01  Martin Sebor  <msebor@redhat.com>
22608         [BZ #18116]
22609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22610         (__setcontext): Use extended four-operand version of mtsf whenever
22611         possible.
22612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22613         (__novec_swapcontext): Likewise.
22615 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22617         * benchtests/scripts/compare_bench.py: New file.
22618         * benchtests/scripts/import_bench.py (mean): New function.
22619         (split_list): Likewise.
22620         (do_for_all_timings): Likewise.
22621         (compress_timings): Likewise.
22623         * benchtests/scripts/import_bench.py: New file.
22624         * benchtests/scripts/validate_benchout.py: Import import_bench
22625         instead of jsonschema.
22626         (validate_bench): Remove function.
22627         (main): Use import_bench.
22629 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
22631         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
22632         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
22634 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22636         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22638 2015-05-28  Roland McGrath  <roland@hack.frob.com>
22640         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
22641         set THREAD_SELF->tid to a magic value and futex-wake it.
22642         Pass its address to the thread_exit system call.
22643         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
22644         bit is clear.
22645         * sysdeps/nacl/lowlevellock.h: New file.
22646         * sysdeps/nacl/lll_timedwait_tid.c: New file.
22648         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
22649         Add TIMEOUT to current time, don't subtract it.
22651 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
22653         [BZ #2981]
22654         [BZ #18422]
22655         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
22656         ($(objpfx)tst-audit2.out): Also depend on
22657         $(objpfx)tst-auditmod9b.so.
22658         * elf/tst-audit2.c: Include <dlfcn.h>.
22659         (calloc_called): New.
22660         (calloc): Allow to be called more than once.
22661         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
22663 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
22665         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
22666         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
22668 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
22670         * stdlib/monetary.h: Fix comment.
22672 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
22674         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
22675         Avoid using variables in #defines that might cause shadowing.
22676         (INTERNAL_VSYSCALL_CALL): Likewise.
22678 2015-05-26  Roland McGrath  <roland@hack.frob.com>
22680         * sysdeps/nacl/lll_timedlock_wait.c: New file.
22682         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
22683         * nptl/lll_timedlock_wait.c: ... to this new file.
22684         * nptl/Makefile (libpthread-routines): Add it.
22685         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
22686         * nptl/lll_timedwait_tid.c: ... to this new file.
22687         * nptl/Makefile (libpthread-routines): Add it.
22688         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
22689         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
22690         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
22691         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
22692         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
22693         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
22694         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
22695         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
22696         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
22697         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
22699 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22701         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
22702         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22703         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
22704         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
22705         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
22706         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22707         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22708         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22709         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22710         * sysdeps/unix/sysv/linux/tile/sysdep.h
22711         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22712         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
22713         using vDSO syscall macro.
22715 2015-05-26  Andriy Rysin  <arysin@gmail.com>
22717         [BZ #17293]
22718         * uk_UA: Fix sorting order for Ukrainian locale
22720 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
22722         * stdlib/monetary.h: Fix comment.
22724 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22726         [BZ #18234]
22727         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
22728         st_mtim and st_ctim members.
22729         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
22730         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
22731         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
22732         (struct stat64): Likewise.
22733         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
22734         (struct stat64): Likewise.
22735         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
22736         (struct stat64): Likewise.
22738 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22740         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
22741         Define and include sysdep-vdso.h.
22742         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
22743         Likewise.
22744         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
22745         Likewise.
22746         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
22747         Define with VDSO_SYMBOL and use PTR_MANGLE.
22748         (__vdso_clock_gettime): Likewise.
22749         (__vdso_clock_getres): Likewise.
22750         (_libc_vdso_platform_setup): Likewise.
22751         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
22752         Likewise.
22753         (_libc_vdso_platform_setup): Likewise.
22754         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
22755         Likewise.
22756         (__vdso_clock_gettime): Likewise.
22757         (__vdso_clock_getres): Likewise.
22758         (__vdso_get_tbfreq): Likewise.
22759         (__vdso_getcpu): Likewise.
22760         (__vdso_time): Likewise.
22761         (__vdso_sigtramp_rt64): Likewise.
22762         (__vdso_signtramp32): Likewise.
22763         (__vdso_sigtramp_rt32): Likewise.
22764         (_libc_vdso_platform_setup): Likewise.
22765         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
22766         Likewise.
22767         (__vdso_clock_gettime): Likewise.
22768         (__vdso_clock_getres): Likewise.
22769         (_libc_vdso_platform_setup): Likewise.
22770         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
22771         Likewise.
22772         (__vdso_clock_gettime): Likewise.
22773         (_libc_vdso_platform_setup): Likewise.
22774         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
22775         Likewise.
22776         (__vdso_getcpu): Likewise.
22777         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
22778         Use VDSO_SYMBOL macro to define.
22779         (__vdso_clock_gettime): Likewise.
22780         (__vdso_clock_getres): Likewise.
22781         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
22782         Likewise.
22783         (__vdso_clock_gettime): Likewise.
22784         (__vdso_clock_getres): Likewise.
22785         (__vdso_get_tbfreq): Likewise.
22786         (__vdso_getcpu): Likewise.
22787         (__vdso_time): Likewise.
22788         (__vdso_sigtramp_rt64): Likewise.
22789         (__vdso_signtramp32): Likewise.
22790         (__vdso_sigtramp_rt32): Likewise.
22791         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
22792         Likewise.
22793         (__vdso_clock_gettime): Likewise.
22794         (__vdso_clock_getres): Likewise.
22795         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
22796         Likewise.
22797         (__vdso_clock_gettime): Likewise.
22798         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
22799         Likewise.
22800         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
22801         macro.
22802         (INTERNAL_VSYSCALL): Likewise.
22803         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
22804         Remove macro.
22805         (INTERNAL_VSYSCALL): Likewise.
22806         (INTERNAL_VSYSCALL_NCS): Likewise.
22807         (INTERNAL_VSYSCALL_CALL): New macro.
22808         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
22809         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
22810         Likewise.
22811         (INTERNAL_VSYSCALL): Likewise.
22812         (INTERNAL_VSYSCALL_NCS): Likewise.
22813         (INTERNAL_VSYSCALL_CALL): New macro.
22814         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
22815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22816         (INLINE_VSYSCALL): Remove macro.
22817         (INTERNAL_VSYSCALL): Remove macro.
22818         (INTERNAL_VSYSCALL_NCS): Remove macro.
22819         (INTERNAL_VSYSCALL_CALL): New macro.
22820         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
22821         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
22822         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
22823         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
22824         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
22825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22826         (INLINE_VSYSCALL): Remove macro.
22827         (INTERNAL_VSYSCALL): Likewise.
22828         (INTERNAL_VSYSCALL_NCS): Likewise.
22829         (INTERNAL_VSYSCALL_CALL): New macro.
22830         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
22831         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
22832         PTR_DEMANGLE on vDSO pointer.
22833         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
22834         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
22835         macro.
22836         (INTERNAL_SYSCALL): Likewise.
22837         (INTERNAL_VSYSCALL_NCS): Remove macro.
22838         (INTERNAL_VSYSCALL_CALL): New macro.
22839         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
22840         Remove macro.
22841         (INTERNAL_VSYSCALL): Likewise.
22842         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
22843         sysdep-vdso.h instead of libc-vdso.h.
22844         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
22845         definition.
22846         (INLINE_VSYSCALL): Likewise.
22847         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
22848         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
22849         definition.
22850         (INLINE_VSYSCALL): Likewise.
22851         (INTERNAL_VSYSCALL): Likewise.
22852         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
22853         * sysdeps/unix/sysv/linux/timespec_get.c
22854         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
22855         (timespec_get): Use ANSI prototype.
22856         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
22857         and definition for Linux.
22859 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
22861         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
22862         * include/libc-symbols.h: libmvec_hidden_* macro series added.
22864 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22866         [BZ #2981]
22867         [BZ #18410]
22868         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
22869         for missing DT_PLTRELSZ.
22871 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
22873         Remove obsolete aliases that broke 'locale -a'
22874         [BZ #18412]
22875         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
22876         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
22877         breaking some applications that use 'locale -a' output.
22878         Change the encoding of this file from Latin-1 to ASCII to avoid
22879         other potential problems with people grepping this file.
22881 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22883         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
22884         -fasynchronous-unwind-tables.
22885         (CFLAGS-sendto.c): Likewise.
22886         (CFLAGS-sendmsg.c): Likewise.
22887         (CFLAGS-connect.c): Likewise.
22888         (CFLAGS-recvmsg.c): Likewise.
22889         (CFLAGS-recvfrom.c): Likewise.
22890         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
22891         (SOCKETCALL): New macro: non-cancellable socketcall.
22892         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
22893         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
22894         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
22895         * sysdeps/unix/sysv/linux/accept.c: New file.
22896         * sysdeps/unix/sysv/linux/bind.c: Likewise.
22897         * sysdeps/unix/sysv/linux/connect.c: Likewise.
22898         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
22899         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
22900         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
22901         * sysdeps/unix/sysv/linux/listen.c: Likewise.
22902         * sysdeps/unix/sysv/linux/recv.c: Likewise.
22903         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
22904         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
22905         * sysdeps/unix/sysv/linux/send.c: Likewise.
22906         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
22907         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
22908         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
22909         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
22910         * sysdeps/unix/sysv/linux/socket.c: Likewise.
22911         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
22912         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
22913         prototype.
22914         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
22915         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22916         instead of __internal_xxx function.
22917         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
22918         prototype.
22919         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
22920         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22921         instead of __internal_xxx function.
22922         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
22923         prototype.
22924         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
22925         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22926         instead of __internal_xxx function.
22927         * sysdeps/unix/sysv/linux/accept.S: Remove file.
22928         * sysdeps/unix/sysv/linux/bind.S: Likewise.
22929         * sysdeps/unix/sysv/linux/connect.S: Likewise.
22930         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
22931         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
22932         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
22933         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
22934         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
22935         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
22936         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
22937         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
22938         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22939         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
22940         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
22941         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
22942         * sysdeps/unix/sysv/linux/listen.S: Likewise.
22943         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
22944         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
22945         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
22946         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
22947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
22948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
22949         * sysdeps/unix/sysv/linux/recv.S: Likewise.
22950         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
22951         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
22952         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
22953         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22954         * sysdeps/unix/sysv/linux/send.S: Likewise.
22955         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
22956         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
22957         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
22958         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
22959         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
22960         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
22961         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
22962         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
22963         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
22964         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
22965         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
22966         socketcall is implemented in GLIBC.
22968 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
22970         * soft-fp/fmadf4.c: Include <libc-internal.h>.
22971         (__fma): Ignore uninitialized warnings around packing.
22972         * soft-fp/fmasf4.c: Include <libc-internal.h>.
22973         (__fmaf): Ignore uninitialized warnings around packing.
22974         * soft-fp/fmatf4.c: Include <libc-internal.h>.
22975         (__fmal): Ignore uninitialized warnings around packing.
22977         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
22978         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
22979         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
22980         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
22982         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
22983         switch statement into default case.
22984         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
22986         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
22987         a conditional in forcing "inexact".
22988         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22989         Likewise.
22991 2015-05-22  Roland McGrath  <roland@hack.frob.com>
22993         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22994         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
22995         for each INTERNAL_SYSCALL use.
22997 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
22999         [BZ #438]
23000         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
23001         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
23002         variable.
23004         [BZ #18444]
23005         * string/basename.c (basename): Rename to __basename and define as
23006         weak alias of __basename.  Use libc_hidden_weak.
23007         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
23008         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
23009         __basename instead of basename.
23010         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
23011         Remove variable.
23012         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
23014 2015-05-18  Florian Weimer  <fweimer@redhat.com>
23016         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
23017         (_IO_JUMPS_FILE_plus): New.
23018         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
23019         _IO_CAST_FIELD_ACCESS.
23020         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
23021         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
23022         * libio/freopen.c (freopen): Likewise.
23023         * libio/freopen64.c (freopen64): Likewise.
23024         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
23025         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
23026         * libio/iofwide.c (_IO_fwide): Likewise.
23027         * libio/memstream.c (open_memstream): Likewise.
23028         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23029         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
23030         * libio/oldiopopen.c (_IO_old_popen): Likewise.
23032 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
23034         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
23035         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
23036         NADJ.
23037         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
23038         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
23039         NADJ.
23040         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
23041         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
23042         NADJ.
23044         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
23045         (p == 4) case.
23047         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
23048         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
23049         Remove variable.
23050         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
23051         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
23052         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
23054 2015-05-21  Florian Weimer  <fweimer@redhat.com>
23056         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
23057         Adjust jump table label generation macros.
23059 2015-05-21  Florian Weimer  <fweimer@redhat.com>
23061         * stdio-common/vfprintf.c (vfprintf): Move local variables
23062         args_malloced, specs, specs_malloced, and the code after
23063         do_positional to the printf_positional function.
23064         (printf_positional): New function.
23066 2015-05-21  Florian Weimer  <fweimer@redhat.com>
23068         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
23069         function.
23070         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
23071         STEP4_TABLE, process_arg): Move macro definitions
23072         out of the vfprintf function.  (Cosmetic change only.)
23074 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
23076         * benchtests/Makefile (stdio-common-bench): Define.
23077         (benchset): Add stdio-common-bench.
23078         * sprintf-inputs: New file.
23079         * sprintf-source.c: New file.
23081 2015-05-21  Andreas Schwab  <schwab@suse.de>
23083         [BZ #13028]
23084         [BZ #17053]
23085         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
23086         of struct __res_state.
23087         * resolv/res_send.c (__libc_res_nsend): Likewise.
23088         (get_nsaddr): New function.
23089         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
23090         statp directly.
23092 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
23094         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
23095         -D_POSIX_C_SOURCE=199506L.
23097         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
23099         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
23100         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
23101         Do not mention otherwise.
23102         [POSIX] (_XOPEN_VERSION): Do not expect.
23103         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
23104         [POSIX] (_POSIX2_C_BIND): Likewise.
23105         [POSIX] (_POSIX2_VERSION): Likewise.
23106         [POSIX] (_XOPEN_XPG2): Likewise.
23107         [POSIX] (_XOPEN_XPG3): Likewise.
23108         [POSIX] (_XOPEN_XPG4): Likewise.
23109         [POSIX] (_XOPEN_UNIX): Likewise.
23110         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
23111         [POSIX] (_POSIX_BARRIERS): Likewise.
23112         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
23113         [POSIX] (_POSIX_CPUTIME): Likewise.
23114         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
23115         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
23116         [POSIX] (_POSIX_SHELL): Likewise.
23117         [POSIX] (_POSIX_SPAWN): Likewise.
23118         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
23119         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
23120         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
23121         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
23122         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
23123         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
23124         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
23125         [POSIX] (_XBS5_LP64_OFF64): Likewise.
23126         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
23127         [POSIX] (_POSIX_TIMEOUTS): Likewise.
23128         [POSIX] (_POSIX2_PBS): Likewise.
23129         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
23130         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
23131         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
23132         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
23133         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
23134         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
23135         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
23136         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
23137         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
23138         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
23139         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
23140         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
23141         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
23142         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
23143         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
23144         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
23145         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
23146         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
23147         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
23148         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
23149         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
23150         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
23151         [POSIX] (_SC_2_C_BIND): Likewise.
23152         [POSIX] (_SC_2_C_VERSION): Likewise.
23153         [POSIX] (_SC_2_PBS): Likewise.
23154         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
23155         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
23156         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
23157         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
23158         [POSIX] (_SC_2_PBS_TRACK): Likewise.
23159         [POSIX] (_SC_ATEXIT_MAX): Likewise.
23160         [POSIX] (_SC_BARRIERS): Likewise.
23161         [POSIX] (_SC_BASE): Likewise.
23162         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
23163         [POSIX] (_SC_DEVICE_IO): Likewise.
23164         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
23165         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
23166         [POSIX] (_SC_FD_MGMT): Likewise.
23167         [POSIX] (_SC_FIFO): Likewise.
23168         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
23169         [POSIX] (_SC_FILE_LOCKING): Likewise.
23170         [POSIX] (_SC_FILE_SYSTEM): Likewise.
23171         [POSIX] (_SC_IOV_MAX): Likewise.
23172         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
23173         [POSIX] (_SC_NETWORKING): Likewise.
23174         [POSIX] (_SC_PAGE_SIZE): Likewise.
23175         [POSIX] (_SC_PASS_MAX): Likewise.
23176         [POSIX] (_SC_PIPE): Likewise.
23177         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
23178         [POSIX] (_SC_REGEXP): Likewise.
23179         [POSIX] (_SC_SHELL): Likewise.
23180         [POSIX] (_SC_SIGNALS): Likewise.
23181         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
23182         [POSIX] (_SC_SPIN_LOCKS): Likewise.
23183         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
23184         [POSIX] (_SC_USER_GROUPS): Likewise.
23185         [POSIX] (_SC_USER_GROUPS_R): Likewise.
23186         [POSIX] (_SC_STREAMS): Likewise.
23187         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
23188         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
23189         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
23190         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
23191         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
23192         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
23193         [POSIX] (_PC_FILESIZEBITS): Likewise.
23194         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
23195         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
23196         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
23197         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
23198         [POSIX] (uid_t): Likewise.
23199         [POSIX] (gid_t): Likewise.
23200         [POSIX] (off_t): Likewise.
23201         [POSIX] (pid_t): Likewise.
23202         [POSIX] (cuserid): Allow.
23203         (_SC_2_CHAR_TERM): Require constant.
23204         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
23205         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
23206         variable.
23208 2015-05-20  Roland McGrath  <roland@hack.frob.com>
23210         * sysdeps/nacl/pthread-pids.h: New file.
23211         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
23212         (create_thread): Use __nacl_get_tid to initialize PD->tid.
23214         * nptl/pthread-pids.h: New file.
23215         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
23216         * nptl/nptl-init.c: Include <pthread-pids.h>.
23217         (__pthread_initialize_minimal_internal):
23218         Call __pthread_initialize_pids instead of set_tid_address syscall.
23220         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
23221         * sysdeps/posix/usleep.c: ... here.
23223 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23225         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
23226         call_pselect6 object.
23227         [$(subdir) = io]: Remove call_sync_file_range object.
23228         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
23229         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
23230         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
23231         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
23233 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
23235         * math/s_cproj.c: Add include "math_private.h".
23236         * math/s_cprojf.c: Likewise.
23237         * math/s_cprojl.c: Likewise.
23239 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
23241         [BZ #18244]
23242         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
23243         high mantissa bit when testing whether P is a NaN.
23244         * math/libm-test.inc (remainder_test_data): Add more tests.
23245         (remquo_test_data): Likewise.
23247         [BZ #18049]
23248         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
23249         below -32, return the argument, with underflow if subnormal.
23250         * math/auto-libm-test-in: Add more tests of atanh.
23251         * math/auto-libm-test-out: Regenerated.
23253 2015-05-19  Roland McGrath  <roland@hack.frob.com>
23255         [BZ #18434]
23256         * nptl/tst-sem15.c: New file.
23257         * nptl/Makefile (tests): Add it.
23258         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
23259         s/<</>>/ to fix typo in EOVERFLOW check.
23260         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
23262 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23264         * manual/strings.texi (envz_remove): Fix typo in safety
23265         annotations.
23267 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
23268             Steve Ellcey  <sellcey@imgtec.com>
23270         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
23271         in order to avoid strict alias warnings.
23272         (iruserok_af): Ditto for ra.
23274 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
23276         [BZ #17581]
23277         * malloc/hooks.c
23278         (magicbyte): Convert to a function and avoid returning 0x01.
23279         (mem2mem_check): Avoid using a length byte equal to the magic byte.
23280         (mem2chunk_check): Fix unsigned comparisons to zero.
23281         Hoist defs of sz and magic.
23283 2015-05-19  Richard Henderson  <rth@redhat.com>
23285         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
23287         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23289 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23291         [BZ #16159]
23292         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
23293         * malloc/arena.c (arena_lock): Check if arena is corrupt.
23294         (reused_arena): Find a non-corrupt arena.
23295         (heap_trim): Pass arena to unlink.
23296         * malloc/hooks.c (malloc_check_get_size): Pass arena to
23297         malloc_printerr.
23298         (top_check): Likewise.
23299         (free_check): Likewise.
23300         (realloc_check): Likewise.
23301         * malloc/malloc.c (malloc_printerr): Add arena argument.
23302         (unlink): Likewise.
23303         (munmap_chunk): Adjust.
23304         (ARENA_CORRUPTION_BIT): New macro.
23305         (arena_is_corrupt): Likewise.
23306         (set_arena_corrupt): Likewise.
23307         (sysmalloc): Use mmap if there are no usable arenas.
23308         (_int_malloc): Likewise.
23309         (__libc_malloc): Don't fail if arena_get returns NULL.
23310         (_mid_memalign): Likewise.
23311         (__libc_calloc): Likewise.
23312         (__libc_realloc): Adjust for additional argument to
23313         malloc_printerr.
23314         (_int_free): Likewise.
23315         (malloc_consolidate): Likewise.
23316         (_int_realloc): Likewise.
23317         (_int_memalign): Don't touch corrupt arenas.
23318         * malloc/tst-malloc-backtrace.c: New test case.
23320         * Makefile (summarize-tests): Fix return value on success.
23322         * manual/string.texi (Envz Functions): Add envz_remove.
23324 2015-05-18  Roland McGrath  <roland@hack.frob.com>
23326         * sysdeps/posix/opendir.c: Include <stdbool.h>.
23327         (invalid_name): New function, broken out of ...
23328         (__opendirat): ... here.  Call it.
23329         (need_isdir_precheck): New function, broken out of ...
23330         (__opendirat): ... here.  Call it.
23331         Use __fxstatat64, not __xstatat64.
23332         (opendir_oflags): New function, broken out of ...
23333         (__opendirat): ... here.  Call it.
23334         (opendir_tail): New function, broken out of ...
23335         (__opendirat): ... here.  Call it.
23336         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
23337         opendir_tail, rather than punting to __opendirat.
23338         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
23340 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23342         * .gitignore: Ignore generated *.pyc.
23344 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
23346         * include/stdio.h: Define __need_wint_t.
23347         * test-skeleton.c: Avoid `for' loop initial declaration.
23348         * nptl/tst-initializers1.c: Use test-skeleton.c.
23350 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23352         [BZ #18418]
23353         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
23355 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
23357         [BZ #16352]
23358         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
23359         (__ieee754_atanh): Force underflow exception for results with
23360         small absolute value.
23361         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
23362         (__ieee754_atanhf): Force underflow exception for results with
23363         small absolute value.
23364         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
23365         (__ieee754_atanh): Force underflow exception for results with
23366         small absolute value.
23367         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
23368         (__ieee754_atanhf): Force underflow exception for results with
23369         small absolute value.
23370         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
23371         (__ieee754_atanhl): Force underflow exception for results with
23372         small absolute value.
23373         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
23374         (__ieee754_atanhl): Force underflow exception for results with
23375         small absolute value.
23376         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
23377         (__ieee754_atanhl): Force underflow exception for results with
23378         small absolute value.
23379         * math/auto-libm-test-in: Do not allow missing underflow
23380         exceptions from atanh.
23381         * math/auto-libm-test-out: Regenerated.
23383         [BZ #18221]
23384         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
23385         2**-28 as threshold for returning x or +/- 1/x.
23386         * math/auto-libm-test-in: Add more tests of tan.
23387         * math/auto-libm-test-out: Regenerated.
23389         [BZ #18220]
23390         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23391         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
23392         * math/auto-libm-test-in: Add another test of lgamma.
23393         * math/auto-libm-test-out: Regenerated.
23395 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
23397         * stdio-common/printf_fp.c (___printf_fp): Use abs.
23398         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
23399         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
23400         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
23401         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
23402         (ADD2A): Use fabs.  (SUB2A): Use fabs.
23403         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
23404         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
23405         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
23406         (log1): Use fabs.  (my_log2): Use fabs.
23407         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
23408         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
23409         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
23410         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
23411         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
23412         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
23413         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
23414         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
23415         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
23416         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
23417         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
23419 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
23421         [BZ #18217]
23422         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
23423         as threshold for returning 1 - x.
23424         * math/auto-libm-test-in: Add more tests of erfc.
23425         * math/auto-libm-test-out: Regenerated.
23427 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
23429         [BZ #18196]
23430         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
23431         threshold for large arguments.
23432         * math/auto-libm-test-in: Add another test of atan.
23433         * math/auto-libm-test-out: Regenerated.
23435         [BZ #16339]
23436         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
23437         (__log1p): Force underflow exception for results with small
23438         absolute value.
23439         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
23440         (__log1pf): Force underflow exception for results with small
23441         absolute value.
23442         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
23443         (__log1p): Force underflow exception for results with small
23444         absolute value.
23445         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
23446         (__log1pf): Force underflow exception for results with small
23447         absolute value.
23448         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
23449         (__log1pl): Force underflow exception for results with small
23450         absolute value.
23451         * math/auto-libm-test-in: Do not allow missing underflow
23452         exceptions from log1p.
23453         * math/auto-libm-test-out: Regenerated.
23455 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
23456             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23458         [BZ #16704]
23459         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
23461 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
23463         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
23464         (libmvec): New variable.
23465         * configure.ac: Added option for mathvec build.
23466         * configure: Regenerated.
23467         * mathvec/Depend: New file.
23468         * mathvec/Makefile: New file.
23469         * shlib-versions: Added libmvec.
23470         * math/Makefile: Added rule for libm.so installation.
23472         * bits/math-vector.h: New file.
23473         * bits/libm-simd-decl-stubs.h: New header.
23474         * math/Makefile (headers): Added new header
23475         libm-simd-decl-stubs.h.
23476         * math/math.h (__MATHCALL_VEC): New macro.
23478         * math/gen-libm-have-vector-test.sh: Script generates series of macros
23479         for conditions in testing functions.
23480         * math/Makefile: Added call of libm-have-vector-test.sh.
23481         * math/libm-test.inc (HAVE_VECTOR): New macros.
23483         * math/libm-test.inc: START refactored.
23484         * math/test-double.c (TEST_MATHVEC): Add define.
23485         * math/test-float.c: Likewise.
23486         * math/test-idouble.c: Likewise.
23487         * math/test-ifloat.c: Likewise.
23488         * math/test-ildoubl.c: Likewise.
23489         * math/test-ldouble.c: Likewise.
23490         * sysdeps/generic/math-tests-arch.h
23491         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
23492         architecture check.
23494         * math/test-double.c (FUNC_TEST): New macro.
23495         * math/test-float.c: Likewise.
23496         * math/test-idouble.c: Likewise.
23497         * math/test-ifloat.c: Likewise.
23498         * math/test-ildoubl.c: Likewise.
23499         * math/test-ldouble.c: Likewise.
23500         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
23502 2015-05-13  Roland McGrath  <roland@hack.frob.com>
23504         * sysdeps/nacl/fdopendir.c: New file.
23506         * dirent/scandir-tail.c: New file.
23507         * dirent/scandir64-tail.c: New file.
23508         * dirent/Makefile (routines): Add them.
23509         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
23510         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
23511         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
23512         [!SCANDIR] (SCANDIR_TAIL): New macro.
23513         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
23514         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
23515         (SCANDIRAT): Macro removed.
23516         (SCANDIR_TAIL): New macro.
23517         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
23518         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
23519         (SCANDIRAT): Just call __opendirat and __scandir_tail.
23520         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
23521         (READDIR): Macro removed.
23522         (SCANDIR_TAIL): New macro.
23523         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
23524         (SCANDIR_TAIL): New macro.
23526         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
23527         * dirent/scandir-cancel.c: ... to this new file.
23528         * dirent/Makefile (routines): Add it.
23529         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
23530         * sysdeps/unix/sysv/linux/i386/scandir64.c
23531         (SKIP_SCANDIR_CANCEL): Macro removed.
23532         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
23534         * dirent/tst-scandir.c: New file.
23535         * dirent/tst-scandir64.c: New file.
23536         * dirent/Makefile (tests): Add them.
23538 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
23540         [BZ #18409]
23541         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
23543 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23545         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
23546         list.
23548 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
23550         * benchtests/bench-strcoll.c: New benchmark.
23551         * benchtests/Makefile: Generate locales and run benchmark.
23552         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
23553         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
23554         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
23555         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
23556         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
23557         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
23558         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
23559         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
23560         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
23561         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
23562         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
23563         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
23564         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
23565         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
23566         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
23567         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
23568         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
23569         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
23570         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
23571         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
23572         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
23573         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
23574         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
23575         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
23577 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
23579         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
23580         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23582 2015-05-12  Roland McGrath  <roland@hack.frob.com>
23584         * posix/uname-values.h: New file.
23585         * posix/uname.c: Include that instead of <config-name.h>.
23586         * sysdeps/nacl/uname-values.h: New file.
23587         * sysdeps/arm/nacl/uname-values.h: New file.
23589 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
23591         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
23592         splitting into fields.
23594 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
23596         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
23597         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
23598         * locale/localeinfo.h: Add enum collation_encoding_type.
23599         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
23600         * programs/ld-collate.c (collate_output): Add encoding type info.
23601         * string/strcoll_l.c (STRDIFF): New function.
23602         * (STRCOLL): Use STRDIFF to skip over equal prefix.
23603         * wcsmbs/wcscoll_l.c: Define STRDIFF.
23605 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
23607         [BZ #18397]
23608         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
23609         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
23610         <fpu_control.h> instead of <math/fpu_control.c>.
23611         * sysdeps/mips/mips32/fpu/Makefile: New file.
23613 2015-05-11  Andreas Schwab  <schwab@suse.de>
23615         [BZ #18007]
23616         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
23617         nss_endgrent.
23618         (_nss_compat_endgrent): Call nss_endgrent.
23619         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
23620         nss_endpwent.
23621         (_nss_compat_endpwent): Call nss_endpwent.
23622         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
23623         needent, call nss_setspent only if non-zero.
23624         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
23625         (internal_endspent): Don't call nss_endspent.
23626         (_nss_compat_endspent): Call nss_endspent.
23627         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
23628         Remove.  All uses removed.
23629         (internal_setent): Remove parameter stayopen, add parameter
23630         stream.  Use it instead of global variable.
23631         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
23632         (internal_endent, internal_getent): Add parameter stream.  Use it
23633         instead of global variable.
23634         (CONCAT(_nss_files_end,ENTNAME))
23635         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
23636         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
23637         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
23638         uses removed.
23639         (internal_setent, internal_endent): Add parameter stream.  Use it
23640         instead of global variable.
23641         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
23642         stream.
23643         (get_next_alias): Add parameter stream.
23644         (_nss_files_getaliasent_r): Pass global stream.
23645         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
23646         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
23647         (_nss_files_gethostbyname4_r): Pass local stream to
23648         internal_setent, internal_getent and internal_endent.  Remove
23649         locking.
23651 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23653         * tst-strfmon1.c (tests): Update expected currency symbol.
23655 2015-05-08  Roland McGrath  <roland@hack.frob.com>
23657         * sysdeps/nacl/gethostname.c: New file.
23659 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
23661         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
23662         and sinh.
23663         * math/auto-libm-test-out: Regenerated.
23664         * sysdeps/i386/fpu/libm-test-ulps: Update.
23665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23667 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
23669         [BZ #18125]
23670         * stdlib/tst-setcontext3.c: New file.
23671         * stdlib/tst-setcontext3.sh: New file.
23672         * stdlib/Makefile (tests): Add tst-setcontext3.
23673         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
23674         to verify test program created output file.
23675         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
23676         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
23677         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
23678         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
23680 2015-05-06  Roland McGrath  <roland@hack.frob.com>
23682         [BZ #18383]
23683         * elf/tst-tlsalign.c: New file.
23684         * elf/tst-tlsalign-static.c: New file.
23685         * elf/tst-tlsalign-lib.c: New file.
23686         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
23687         (tests-static): Add tst-tlsalign-static.
23688         (modules-names): Add tst-tlsalign-lib.
23689         (test-xfail-tst-tlsalign): New variable.
23690         (test-xfail-tst-tlsalign-static): New variable.
23692         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
23693         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
23695 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
23697         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
23698         csqrt, erfc, sin and sincos.
23699         * math/auto-libm-test-out: Regenerated.
23700         * sysdeps/i386/fpu/libm-test-ulps: Update.
23701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23703 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23705         * sysdeps/aarch64/libm-test-ulps: Update.
23707 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
23709         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
23710         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
23711         * math/auto-libm-test-out: Regenerated.
23712         * sysdeps/i386/fpu/libm-test-ulps: Update.
23713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23715 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
23717         [BZ #18265]
23718         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
23719         (wcsncpy): Likewise.
23721 2015-05-05  Florian Weimer  <fweimer@redhat.com>
23723         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23724         Assume __ASSUME_FALLOCATE is always true.
23725         * sysdeps/unix/sysv/linux/posix_fallocate64.c
23726         (__posix_fallocate64_l64): Likweise.
23727         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
23728         (posix_fallocate): Likewise.
23729         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
23730         (__posix_fallocate64_l64): Likewise.
23731         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23732         [!__ASSUME_FALLOCATE]: Add comment.
23734 2015-05-05  Florian Weimer  <fweimer@redhat.com>
23736         * sysdeps/unix/sysv/linux/i386/Makefile
23737         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
23738         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
23739         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
23740         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23741         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23742         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
23743         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
23745 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
23747         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
23748         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
23749         tgamma.
23750         * math/auto-libm-test-out: Regenerated.
23751         * sysdeps/i386/fpu/libm-test-ulps: Update.
23752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23754 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
23756         * math/auto-libm-test-in: Add more tests of tgamma.
23757         * math/auto-libm-test-out: Regenerated.
23758         * sysdeps/i386/fpu/libm-test-ulps: Update.
23759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23761         * math/auto-libm-test-in: Add more tests of tanh.
23762         * math/auto-libm-test-out: Regenerated.
23763         * sysdeps/i386/fpu/libm-test-ulps: Update.
23764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23766         * math/auto-libm-test-in: Add more tests of tan.
23767         * math/auto-libm-test-out: Regenerated.
23768         * sysdeps/i386/fpu/libm-test-ulps: Update.
23769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23771         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
23772         * math/auto-libm-test-out: Regenerated.
23773         * sysdeps/i386/fpu/libm-test-ulps: Update.
23774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23776         * math/auto-libm-test-in: Add another test of pow.
23777         * math/auto-libm-test-out: Regenerated.
23778         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23780         * math/auto-libm-test-in: Add more tests of lgamma.
23781         * math/auto-libm-test-out: Regenerated.
23782         * sysdeps/i386/fpu/libm-test-ulps: Update.
23783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23785         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
23786         log1p.
23787         * math/auto-libm-test-out: Regenerated.
23788         * sysdeps/i386/fpu/libm-test-ulps: Update.
23789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23791 2015-05-01  Mark Wielaard  <mjw@redhat.com>
23793         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
23794         Elf64_Chdr structs and ELFCOMPRESS constants.
23796 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
23798         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
23799         expm1.
23800         * math/auto-libm-test-out: Regenerated.
23801         * sysdeps/i386/fpu/libm-test-ulps: Update.
23802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23804         * math/auto-libm-test-in: Add more tests of erf and erfc.
23805         * math/auto-libm-test-out: Regenerated.
23806         * sysdeps/i386/fpu/libm-test-ulps: Update.
23807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23809 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23811         * config.h.in (HAVE_AARCH64_BE): Add.
23813 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
23815         * math/auto-libm-test-in: Add more tests of csqrt.
23816         * math/auto-libm-test-out: Regenerated.
23817         * sysdeps/i386/fpu/libm-test-ulps: Update.
23818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23820         * math/auto-libm-test-in: Add more tests of cosh and sinh.
23821         * math/auto-libm-test-out: Regenerated.
23822         * sysdeps/i386/fpu/libm-test-ulps: Update.
23823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23825         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
23827 2015-04-29  Roland McGrath  <roland@hack.frob.com>
23829         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
23830         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
23832         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
23833         (euidaccess, eaccess): Define as weak aliases.
23835         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
23836         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
23837         but __suseconds_t is often 'long int' so some sources assume that
23838         type is being used (e.g. they use %ld to print tv_usec).
23840 2015-04-29  Florian Weimer  <fweimer@redhat.com>
23842         [BZ #18007]
23843         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
23844         (CVE-2014-8121)
23845         * nss/tst-nss-getpwent.c: New file.
23846         * nss/Makefile (tests): Add new test.
23848 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
23850         [BZ #18346]
23851         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
23852         exponents less than 48 as cases where high part of mantissa needs
23853         examining to determine whether argument is integral.
23854         * math/libm-test.inc (round_test_data): Add more tests.
23856 2015-04-28  Mark Wielaard  <mjw@redhat.com>
23858         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
23860 2015-04-27  David S. Miller  <davem@davemloft.net>
23862         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
23863         __tls_get_addr.
23864         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
23866 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
23868         [BZ#18333]
23869         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
23871 2015-04-27  Florian Weimer  <fweimer@redhat.com>
23873         [BZ#18333]
23874         * time/tzset.c (parse_tzname): Return error on memory allocation
23875         failure.
23876         * test-skeleton.c (struct temp_name_list): Change type of name
23877         member to non-const.
23878         (add_temp_file): Create a copy of the file name.
23879         (delete_temp_files): Deallocate memory.
23880         (create_temp_file): Add comment.
23882 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23884         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
23885         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
23887 2015-04-24  Roland McGrath  <roland@hack.frob.com>
23889         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
23890         * sysdeps/arm/configure: Regenerated.
23892 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23894         [BZ #17715]
23895         * time/tzfile.c (__tzfile_read): Check for large values of
23896         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
23897         * time/tzset.c (__tzstring_len): New function, based on the old
23898         __tzstring function.
23899         (__tzstring): Call __tzstring_len.
23900         (parse_tzname): New helper function extracted from
23901         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
23902         the input string.
23903         (parse_offset): New helper function extracted from
23904         __tzset_parse_tz.  Replace switch with fallthrough with
23905         initialization before sscanf.
23906         (parse_rule): Likewise.
23907         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
23908         new-style function definition.
23909         * timezone/Makefile (tests): Add tst-tzset.
23910         (tst-tzset.out): Dependencies on time zone files.
23911         (tst-tzset-ENV): Set TZDIR.
23912         (testdata/XT%): Copy crafted time zone files.
23913         * timezone/README: Mention crafted time zone files.
23914         * timezone/testdata/XT1, timezone/testdata/XT2,
23915         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
23916         files.
23917         * timezone/tst-tzset.c: New test.
23919 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23921         * Makeconfig (+gccwarn): Remove -Winline.
23923 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23925         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
23927 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23929         * NEWS: Mention sysconf() cache information support for s390.
23930         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
23932 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
23934         * math/k_casinh.c (__kernel_casinh): Use __copysign.
23935         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
23936         (__nearbyint): Likewise.
23937         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
23938         (copysignl): Likewise.
23940 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
23942         [BZ #18287]
23943         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
23944         based on padding.  (CVE-2015-1781)
23946 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23948         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
23949         libc-vdso.h.
23950         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
23951         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
23952         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
23953         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
23954         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
23955         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
23956         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
23957         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23958         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23959         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
23960         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23961         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23962         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
23963         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
23964         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
23965         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
23966         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
23967         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
23968         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
23969         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
23970         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
23971         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
23972         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
23974 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
23976         * stdlib/setenv.c (__add_to_environ):
23977         Dump core quickly if setenv (..., NULL, ...) is called.
23978         This time, do it the right way, and pacify GCC with a pragma.
23980 2015-04-17  Roland McGrath  <roland@hack.frob.com>
23982         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
23983         IMAP->l_prev cannot be null, and #if out the code for the contrary
23984         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
23985         believe that NS (&_dl_ns[NSID]) could point outside the array.
23987         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
23988         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
23989         before using NSID as an index.
23991 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
23993         [BZ #17825]
23994         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
23995         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
23996         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23998 2015-04-17  Roland McGrath  <roland@hack.frob.com>
24000         Add preliminary port to Google Native Client on ARM.
24001         * abi-tags (.*-.*-nacl.*): New entry.
24002         * sysdeps/arm/nacl: New directory.
24003         * sysdeps/nacl: New directory.
24005 2015-04-16  David S. Miller  <davem@davemloft.net>
24007         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
24008         lowlevellock-futex.h
24010 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
24012         * sysdeps/tile/configure.ac: New file.
24013         * sysdeps/tile/configure: Regenerated.
24015 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24017         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
24018         conditionals for weak_alias and libc_hidden_weak.
24019         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
24020         libc_hidden_weak and weak_alias.
24021         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
24022         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
24023         and weak_alias for static one.
24025 2015-04-15  David S. Miller  <davem@davemloft.net>
24027         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24029 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24031         [BZ #18206]
24032         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
24033           Use signed comparision instead of substraction to avoid
24034           overflow bug.
24035         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
24036           Take the sign of ret.
24037         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
24038           Do not expect precise return values. Only the sign matters.
24039         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
24040         * wcsmbs/test-wcsncmp.c: New File.
24041         * string/test-strncmp.c: Add wcsncmp support.
24043 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24045         [BZ #6792]
24046         * math/w_log1p.c: New file.
24047         * math/w_log1pf.c: Likewise.
24048         * math/w_log1pl.c: Likewise.
24049         * math/Makefile (libm-calls): Add w_log1p.
24050         * math/s_log1pl.c (log1pl): Remove weak_alias.
24051         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
24052         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
24053         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
24054         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
24055         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
24056         [NO_LONG_DOUBLE] (log1pl): Likewise.
24057         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
24058         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
24059         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
24060         (log1p): Remove long_double_symbol.
24061         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
24062         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
24063         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
24064         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
24065         remove weak_alias for corresponding log1p function.
24066         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
24067         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
24068         * sysdeps/ia64/fpu/w_log1p.c: New file.
24069         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
24070         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
24071         * math/libm-test.inc (log1p_test_data): Add errno expectations.
24073 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
24075         [BZ #18247]
24076         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
24077         decimal exponent by 1.
24078         * stdlib/tst-strtod-round-data: Add more tests.
24079         * stdlib/tst-strtod-round.c (tests): Regenerated.
24081 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
24083         * math/auto-libm-test-in: Add more tests of clog and clog10.
24084         * math/auto-libm-test-out: Regenerated.
24085         * sysdeps/i386/fpu/libm-test-ulps: Update.
24086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24088 2015-04-09  Roland McGrath  <roland@hack.frob.com>
24090         * Makeconfig (module-cppflags): Exclude all .v.i files.
24091         (skip-module-cppflags): Variable removed.
24093         * configure.ac (libc_config_ok): Initialize before reading
24094         preconfigure scripts, not after.
24095         * configure: Regenerated.
24097         * test-skeleton.c (TIMEOUT): Move #define to top level.
24098         (main): Grok environment variable TEST_DIRECT.  If set, print
24099         test expectation details into that file and then behave as if
24100         given --direct.
24102 2015-04-09  Florian Weimer  <fweimer@redhat.com>
24104         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
24105         warning on 32-bit.
24107 2015-04-08  David S. Miller  <davem@davemloft.net>
24109         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24111 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
24113         * math/auto-libm-test-in: Add more tests of atanh.
24114         * math/auto-libm-test-out: Regenerated.
24115         * sysdeps/i386/fpu/libm-test-ulps: Update.
24116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24118         * math/auto-libm-test-in: Add more tests of atan.
24119         * math/auto-libm-test-out: Regenerated.
24120         * sysdeps/i386/fpu/libm-test-ulps: Update.
24121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24123 2015-04-08  Florian Weimer  <fweimer@redhat.com>
24125         * elf/pldd.c (main): Rewrite to use struct
24126         scratch_buffer instead of extend_alloca.
24127         * elf/pldd-xx.c (find_maps): Likewise.
24128         * grp/initgroups.c: Include <scratch_buffer.h> instead of
24129         <alloca.h>.
24130         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
24131         scratch_buffer instead of extend_alloca.
24132         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
24133         grp/compat-initgroups.c.
24134         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
24135         Rewrite to use struct scratch_buffer instead of extend_alloca.
24136         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
24137         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24139 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
24141         * math/auto-libm-test-in: Add more tests of cbrt.
24142         * math/auto-libm-test-out: Regenerated.
24143         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24145         * math/auto-libm-test-in: Add more tests of cabs.
24146         * math/auto-libm-test-out: Regenerated.
24147         * sysdeps/i386/fpu/libm-test-ulps: Update.
24148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24150         [BZ #18210]
24151         [BZ #18211]
24152         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
24153         (__ieee754_atan2): Set FE_TONEAREST mode for internal
24154         computations.
24155         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
24156         clog10.
24157         * math/auto-libm-test-out: Regenerated.
24158         * sysdeps/i386/fpu/libm-test-ulps: Update.
24159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24161         [BZ #18197]
24162         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
24163         (atan): Set FE_TONEAREST mode for internal computations.
24164         * math/auto-libm-test-in: Add more tests of atan.
24165         * math/auto-libm-test-out: Regenerated.
24167 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
24169         [BZ #17930]
24170         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
24172 2015-04-07  Florian Weimer  <fweimer@redhat.com>
24174         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
24176 2015-04-07  Florian Weimer  <fweimer@redhat.com>
24178         * include/scratch_buffer.h: New file.
24179         * malloc/scratch_buffer_grow.c: Likewise.
24180         * malloc/scratch_buffer_grow_preserve.c: Likewise.
24181         * malloc/scratch_buffer_set_array_size.c: Likewise.
24182         * malloc/tst-scratch_buffer.c: Likewise.
24183         * malloc/Makefile (routines): Add scratch_buffer_grow.
24184         (tests): Add test case.
24185         * malloc/Versions (GLIBC_PRIVATE): Export
24186         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
24187         __libc_scratch_buffer_set_array_size.
24189 2015-04-06  Richard Henderson  <rth@redhat.com>
24191         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
24192         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24194         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
24195         unsigned int before printing.
24197 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24199         [BZ #17596]
24200         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
24201         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24203 2015-04-02  Florian Weimer  <fweimer@redhat.com>
24205         * include/libc-internal.h (libc_max_align_t): Define.
24207 2015-04-02  Andreas Schwab  <schwab@suse.de>
24209         [BZ #16850]
24210         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
24212 2015-04-02  Mel Gorman  <mgorman@suse.de>
24214         [BZ #17195]
24215         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
24216         as well as the main arena.
24218 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
24220         [BZ #18185]
24221         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
24222         sharing L2 cache to 2 for Silvermont/Knights Landing.
24224 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
24226         [BZ #17711]
24227         * config.make.in (have-protected-data): New.
24228         * configure.ac: Check linker support for protected data symbol.
24229         * configure: Regenerated.
24230         * elf/Makefile (modules-names): Add tst-protected1moda and
24231         tst-protected1modb if $(have-protected-data) is yes.
24232         (tests): Add tst-protected1a and tst-protected1b if
24233         $(have-protected-data) is yes.
24234         ($(objpfx)tst-protected1a): New.
24235         ($(objpfx)tst-protected1b): Likewise.
24236         (tst-protected1modb.so-no-z-defs): Likewise.
24237         * elf/tst-protected1a.c: New file.
24238         * elf/tst-protected1b.c: Likewise.
24239         * elf/tst-protected1mod.h: Likewise.
24240         * elf/tst-protected1moda.c: Likewise.
24241         * elf/tst-protected1modb.c: Likewise.
24243 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
24245         [BZ #17711]
24246         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
24247         indicates it is called from do_lookup_x on relocation against
24248         protected data, skip the data definion in the executable from
24249         copy reloc.
24250         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
24251         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
24252         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
24253         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
24254         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
24255         otherwise to 0.
24256         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
24257         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
24258         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
24259         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
24260         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
24261         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
24263 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
24265         * sysdeps/nptl/pthread.h: Remove duplicate definition of
24266         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
24268 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
24270         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
24271         THREAD_SETMEM_NC.
24272         * sysdeps/x86_64/nptl/tls.h: Ditto.
24274 2015-03-27  Roland McGrath  <roland@hack.frob.com>
24276         * dlfcn/tststatic.c (main): Converted to ...
24277         (do_test): ... this.
24278         (TEST_FUNCTION): New macro.
24279         Include test-skeleton.c.
24281 2015-03-26  Alan Modra  <amodra@gmail.com>
24283         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
24284         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
24285         zero for undefined weak.
24286         (elf_machine_plt_conflict): Similarly.
24288 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
24290         * math/auto-libm-test-in: Add more tests of acosh, asinh and
24291         atanh.
24292         * math/auto-libm-test-out: Regenerated.
24293         * sysdeps/i386/fpu/libm-test-ulps: Update.
24294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24296         * math/auto-libm-test-in: Add another test of asin.
24297         * math/auto-libm-test-out: Regenerated.
24298         * sysdeps/i386/fpu/libm-test-ulps: Update.
24299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24301         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
24302         Remove macro.
24303         (LLL_EBX_REG): Likewise.
24304         (LLL_ENTER_KERNEL): Likewise.
24306         * math/auto-libm-test-in: Add more tests of asin.
24307         * math/auto-libm-test-out: Regenerated.
24308         * sysdeps/i386/fpu/libm-test-ulps: Update.
24309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24311         [BZ #18138]
24312         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
24313         libc_do_syscall_args): New structure.
24314         (INTERNAL_SYSCALL_MAIN_0): New macro.
24315         (INTERNAL_SYSCALL_MAIN_1): Likewise.
24316         (INTERNAL_SYSCALL_MAIN_2): Likewise.
24317         (INTERNAL_SYSCALL_MAIN_3): Likewise.
24318         (INTERNAL_SYSCALL_MAIN_4): Likewise.
24319         (INTERNAL_SYSCALL_MAIN_5): Likewise.
24320         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
24321         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
24322         Replace conditional definitions by conditional definitions of ....
24323         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
24324         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
24325         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
24326         (libpthread-sysdep_routines): Add libc-do-syscall.
24327         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
24328         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
24329         to __NR_futex not 240.
24331 2015-03-25  Alan Modra  <amodra@gmail.com>
24333         * NEWS: Advertise TLS optimization.
24334         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
24335         (DT_PPC_NUM): Increment.
24336         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
24337         (CHECK_STATIC_TLS): Use here.
24338         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
24339         TLS descriptors.
24340         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24341         * sysdeps/powerpc/dl-tls.c: New file.
24342         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
24343         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
24344         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
24345         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
24346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
24347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
24348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
24350 2015-03-25  Alan Modra  <amodra@gmail.com>
24352         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
24353         for overlapping .opd entries" to "support...".
24354         * sysdeps/powerpc/powerpc64/configure: Regenerate
24356 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
24358         * math/auto-libm-test-in: Add more tests of acos.
24359         * math/auto-libm-test-out: Regenerated.
24360         * sysdeps/i386/fpu/libm-test-ulps: Update.
24361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24363         * math/auto-libm-test-in: Add more tests of expm1.
24364         * math/auto-libm-test-out: Regenerated.
24365         * sysdeps/i386/fpu/libm-test-ulps: Update.
24366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24368 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
24370         * math/auto-libm-test-in: Add more tests of cosh and sinh.
24371         * math/auto-libm-test-out: Regenerated.
24372         * sysdeps/i386/fpu/libm-test-ulps: Update.
24373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24375         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24378         * math/auto-libm-test-in: Add more tests of log2.
24379         * math/auto-libm-test-out: Regenerated.
24380         * sysdeps/i386/fpu/libm-test-ulps: Update.
24381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24383 2015-03-23  Roland McGrath  <roland@hack.frob.com>
24385         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
24386         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
24387         _IO_IS_APPENDING bit in READ_WRITE instead.
24389 2015-03-23  Florian Weimer  <fweimer@redhat.com>
24391         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
24392         (__determine_cpumask_size): Replace extend_alloca with a
24393         variable-length array.  Do not treat res == 0 as an error.
24395 2015-03-23  Florian Weimer  <fweimer@redhat.com>
24397         [BZ #18100]
24398         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
24399         and integer overflow.
24400         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
24401         (main): Add integer overflow tests.
24402         * manual/pattern.texi (Calling Wordexp): Document additional use
24403         for WRDE_SYNTAX.
24405 2015-03-23  Alan Modra  <amodra@gmail.com>
24407         * config.h.in: Remove HAVE_ASM_PPC_REL16.
24408         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
24409         and false branch of conditional.
24410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24411         Likewise.
24413 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
24415         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
24416         libc-modules.h
24417         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
24418         unused declaration of _hurd_intr_rpc_msg_in_trap.
24419         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
24420         defined instead of whether it is non-zero.
24421         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
24422         input constraint instead of both input and output constraint.  Use ecx
24423         clobber instead of %ecx.
24424         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
24425         mutex_unlock): Use a statement expression instead of an expression list.
24426         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
24427         type to vm_size_t instead of vm_address_t.
24428         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
24429         defined instead of whether it is non-zero.
24430         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
24431         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
24432         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
24433         comparisons with mapaddr.
24434         * nscd/nscd-client.h: Include <time.h>.
24435         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
24436         9th parameter to __vm_region instead of int.
24437         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
24438         * scripts/check-local-headers.sh (exclude): Add device/,
24439         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
24440         cthreads.h.
24442 2015-03-19  Roland McGrath  <roland@hack.frob.com>
24444         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
24445         to account for alignment padding.
24446         * sysdeps/arm/memmove.S: Likewise.
24448 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
24450         * sysdeps/unix/sysv/linux/generic/README: New file.
24452 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
24454         [BZ #18138]
24455         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
24456         (futex_abstimed_wait)
24457         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
24458         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
24459         of lll_futex_timed_wait.
24461 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
24463         [BZ #17542]
24464         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
24466 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
24468         [BZ #17090]
24469         [BZ #17620]
24470         [BZ #17621]
24471         [BZ #17628]
24472         * NEWS: Update.
24473         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
24474         entries with Static TLS too.  Skip entries past the end of the
24475         allocated DTV, from Alan Modra.
24476         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
24477         Static TLS DTV entry set up from...
24478         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
24479         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
24480         * nptl/allocatestack.c (init_one_static_tls): ... and here...
24481         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
24482         for Static TLS.
24483         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
24484         that the slot we find is associated with the given map before
24485         using its generation count.
24486         * nptl_db/db_info.c: Include ldsodefs.h.
24487         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
24488         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
24489         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
24490         (link_map::l_tls_offset): New struct field.
24491         (dtv_t::counter): Likewise.
24492         (rtld_global): New struct.
24493         (_rtld_global): New rtld variable.
24494         (dl_tls_dtv_slotinfo_list): New rtld global field.
24495         (dtv_slotinfo_list): New struct.
24496         (dtv_slotinfo): Likewise.
24497         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
24498         (td_lookup): Rename to...
24499         (td_mod_lookup): ... this.  Use new mod parameter instead of
24500         LIBPTHREAD_SO.
24501         * nptl_db/td_thr_tlsbase.c: Include link.h.
24502         (dtv_slotinfo_list, dtv_slotinfo): New functions.
24503         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
24504         addresses even if the DTV is out of date or missing them.
24505         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
24506         index zero-length arrays.
24507         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
24508         (td_lookup): Make it a macro implemented in terms of...
24509         (td_mod_lookup): ... this declaration.
24510         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
24511         (DB_MAIN_VARIABLE): Likewise.
24513 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24515         [BZ #18134]
24516         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
24518 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
24520         * stdlib/setenv.c (__add_to_environ): Revert previous change.
24522 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
24524         [BZ #18128]
24525         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
24526         (atomic_add, atomic_increment_and_test)
24527         (atomic_decrement_and_test): Fix 64-bit arithmetic.
24529 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
24531         * stdlib/setenv.c (__add_to_environ):
24532         Dump core quickly if setenv (..., NULL, ...) is called.
24534 2015-03-13  Roland McGrath  <roland@hack.frob.com>
24536         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
24537         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
24538         all the necessary asm magic in one place.
24539         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
24540         using those.
24542 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
24544         [BZ #14906]
24545         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
24546         traced file mtime. Use consistent log message.
24547         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
24548         (register_traced_file): Call install_watches. Always set mtime.
24549         (invalidate_cache): Iterate over all trace files. Call install_watches.
24550         (inotify_check_files): Don't inline. Handle watching parent
24551         directories and configuration file movement in and out.
24552         (handle_inotify_events): New function.
24553         (main_loop_poll): Call handle_inotify_events.
24554         (main_loop_epoll): Likewise.
24555         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
24556         (struct traced_file): Use array of inotify fds. Add parent directory,
24557         and basename.
24558         (struct database_dyn): Remove unused file_mtime.
24559         (init_traced_file): New inline function.
24560         (define_traced_file): New macro.
24561         * nss/nss_db/db-init.c: Use define_traced_file.
24562         (_nss_db_init): Use init_traced_file.
24563         * nss/nss_files/files-init.c: Use define_traced_file.
24564         (_nss_files_init): Use init_traced_file.
24566 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
24568         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
24569         [_LIBC]: Do not include <stdlib.h>.
24570         [!_LIBC] (abort): Remove declaration.
24571         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
24572         _FP_STATIC_ASSERT instead of conditionally calling abort.
24573         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
24574         (_FP_EXTEND_CNAN): Likewise.
24575         (FP_TRUNC): Likewise.
24576         (__FP_CLZ): Likewise.
24577         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
24579 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
24581         * manual/string.texi (XPG basename): Fix prototype.
24583 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24585         [BZ #18080]
24586         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
24587         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
24588         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
24589         (__setcontext): Likewise.
24590         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
24591         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
24592         Call rt_sigprocmask syscall one time to set new signal mask
24593         and retrieve the current signal mask instead of two calls.
24594         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
24595         (__swapcontext): Likewise.
24596         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
24597         * stdlib/tst-setcontext2.c: New file.
24599 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24601         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24603 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
24605         [BZ #18093]
24606         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
24607         the wrong size.
24609 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
24611         [BZ #18043]
24612         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
24614 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24616         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
24617         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
24618         Remove define.
24619         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
24620         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
24621         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
24622         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
24623         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
24624         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
24625         define.
24626         * nptl_db/td_symbol_list.c (td_lookup): Remove
24627         HAVE_ASM_GLOBAL_DOT_NAME code.
24628         * sysdeps/powerpc/powerpc64/configure.ac: Remove
24629         HAVE_ASM_GLOBAL_DOT_NAME check.
24630         * sysdeps/powerpc/powerpc64/configure: Regenerate.
24631         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
24632         (DOT_LABEL): Remove define.
24633         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
24634         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
24635         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
24636         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
24637         (__TLS_GET_ADDR): Likewise.
24638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
24639         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
24641 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
24643         [BZ #18111]
24644         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
24645         (_FPU_SETCW): Initialize cw from fpsr before storing.
24646         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
24647         (fesetexceptflag): Rewrite using fpu_control.h.
24648         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
24650 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
24652         [BZ #18110]
24653         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
24654         asms.
24655         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24657 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
24659         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
24660         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
24661         abort.
24662         (_FP_FMA): Likewise.
24663         (_FP_DIV): Likewise.
24665 2015-03-10  Roland McGrath  <roland@hack.frob.com>
24667         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
24668         with 0 in that case.
24669         * Makefile (summarize-tests): New canned sequence, factored out of
24670         commands for targets tests and xtests.  Display summary lines that
24671         don't start with PASS: or XFAIL: rather than ones that do start with
24672         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
24673         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
24674         do start with ERROR: or FAIL:.
24675         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
24676         (except for [$(build-shared) = yes]).
24677         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
24678         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
24679         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
24680         * nptl/Makefile: Revert 2015-03-04 changes.
24681         [$(CXX) empty] (tests-unsupported): New variable.
24682         * debug/Makefile: Likewise.
24684         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
24685         gnulib file.  Replace __attribute with __attribute__ throughout.
24687 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
24689         * sysdeps/hppa/fpu/libm-test-ulps: Update.
24691 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
24693         [BZ #18104]
24694         * math/auto-libm-test-in: Add another test of pow.
24695         * math/auto-libm-test-out: Regenerated.
24697 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24699         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
24700         $(config-cflags-nofma).
24702 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
24704         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
24705         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
24706         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
24707         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
24708         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
24709         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
24710         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
24711         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
24712         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
24713         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
24714         Add comment on closing #endif.
24716 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24718         * posix/wordexp.c (CHAR_IN_SET): New macro.
24719         (parse_param): Use it.
24721 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24723         * sysdeps/powerpc/fpu/libm-test-ulps: update.
24725 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24727         [BZ #18043]
24728         * posix/wordexp.c (parse_param): Fix buffer overflow.
24729         * posix/wordexp-test.c (test_case): Add test case.
24731 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24733         [BZ #18042]
24734         * posix/wordexp.c (parse_backtick): Fix off-by-one.
24735         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
24737 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24739         [BZ #18043]
24740         * posix/wordexp-test.c (test_case): Add test for BZ #18043
24741         (do_bz18043): Delete.
24742         (at_page_end): New.
24743         (testit): Refactor to have words at the edge of unreadable page.
24745 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24747         [BZ #16734]
24748         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
24749         Cleanup read-only streams as well.
24750         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
24752 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24754         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
24755         <bits/libc-lockP.h>
24757 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
24759         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
24760         on [__KERNEL__].
24761         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
24762         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
24763         * soft-fp/op-common.h (_FP_DECL): Likewise.
24765 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
24767         * elf/ifuncdep2.c (global): Replace
24768         __attribute__((visibility("protected"))) with
24769         asm (".protected global").
24770         * elf/ifuncmod1.c (global): Likewise.
24771         * elf/ifuncmod5.c (global): Likewise.
24773 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
24775         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
24776         <asm/sfp-machine.h> instead of <sfp-machine.h>.
24778 2015-03-06  Roland McGrath  <roland@hack.frob.com>
24780         * manual/install.texi (Configuring and compiling):
24781         Document test-wrapper-env-only.
24782         * INSTALL: Regenerated.
24784 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24786         [BZ #18043]
24787         * posix/wordexp.c (parse_param): Fix buffer overflow.
24788         * posix/wordexp-test.c (do_bz18043): Add test case.
24790 2015-03-06  Vincent Bernat  <vincent@bernat.im>
24792         * time/tst-strptime2.c (do_test): Ensure failing tests are
24793         reported correctly.
24794         * time/tst-strptime3.c (do_test): Likewise.
24796 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
24798         Fix aio_error thread-safety.
24799         * sysdeps/pthread/aio_error.c: New file
24800         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
24801         synchronization.
24803 2015-03-06  Florian Weimer  <fweimer@redhat.com>
24805         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
24806         (group_number, vfprintf): Use it.
24807         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
24808         (JUMP, REF): Use it.
24809         (WORK_BUFFER_SIZE): New enum constant.
24810         (process_arg, vfprintf): Use it.
24812 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
24814         * manual/errno.texi (Error Messages): Complete example function
24815         by adding missing #define.
24816         (program_invocation_name): Add statement indicating GNU
24817         extension and reference which header file declares the variable.
24818         (program_invocation_short_name): Likewise.
24820 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
24822         * manual/errno.texi (Error Messages): Delete strerror ISO C89
24823         compatibility note.
24825 2015-03-05  Roland McGrath  <roland@hack.frob.com>
24827         * Makeconfig (test-wrapper-env-only): New variable.
24828         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
24829         then use that with $(test-wrapper-env-only) rather than using
24830         $(test-wrapper-env) $(run-program-env) $($*-ENV).
24832 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
24834         [BZ #18082]
24835         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
24836         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
24837         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
24838         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
24839         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
24840         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
24841         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
24842         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
24843         Likewise.
24844         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
24845         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
24846         Likewise.
24847         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
24848         Likewise.
24849         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
24850         Likewise.
24851         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
24852         Likewise.
24853         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
24854         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
24855         Likewise.
24856         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
24857         Likewise.
24858         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
24859         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
24861 2015-03-04  Roland McGrath  <roland@hack.frob.com>
24863         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
24864         (ETH_ALEN): New macro.
24865         (struct ether_addr): Use it for length of ether_addr_octet.
24867         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
24868         (setdb): Don't call __nss_configure_lookup for "rpc".
24869         (do_test): Don't call test_rpc.
24870         (output_rpcent, test_rpc): Functions moved ...
24871         * sunrpc/test-rpcent.c: ... to this new file.
24872         * sunrpc/Makefile (tests): Add it.
24874         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
24875         __xpg_sigpause.
24876         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
24877         * nptl/tst-signal6.c: Likewise.
24878         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
24879         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
24881         * configure.ac (libc_cv_cxx_link_ok): New check.
24882         Reset CXX to empty if it fails to link.
24883         * configure: Regenerated.
24884         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
24885         bug-atexit3-lib only if $(CXX) is nonempty.
24886         * nptl/Makefile (tests): Likewise for tst-cancel24.
24887         (tests, tests-static): Likewise for tst-cancel24-static.
24888         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
24889         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
24890         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
24891         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
24893 2015-03-04  Andreas Schwab  <schwab@suse.de>
24895         [BZ #17631]
24896         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
24897         for non-GCC compilers.
24898         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24899         Likewise.
24901 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24903         [BZ #17776]
24904         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
24905         integer before bitwise and assembly operations.
24906         (feclearexcept): Likewise.
24907         * math/test-fenvinline.c: New file.
24908         * math/Makefile: Add test-fenvinline test.
24910 2015-03-03  Alan Modra  <amodra@gmail.com>
24912         [BZ #16512]
24913         * scripts/localplt.awk: Strip off symbol version.
24914         * NEWS: Mention bug fix.
24916 2015-03-02  Roland McGrath  <roland@hack.frob.com>
24918         * sysdeps/pthread/timer_routines.c
24919         (timer_free_list, thread_free_list, thread_active_list): Make static.
24921 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
24923         [BZ #17779]
24924         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24925         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
24926         Undefine.
24927         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24928         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
24929         Likewise.
24930         * sysdeps/unix/sysv/linux/sh/kernel-features.h
24931         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
24932         Likewise.
24934 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
24936         [BZ #18036]
24937         * posix/fnmatch_loop.c (END): Detect invalid pattern.
24938         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
24940 2015-03-02  Andreas Schwab  <schwab@suse.de>
24942         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
24943         variable name.
24945 2015-03-02  Florian Weimer  <fweimer@redhat.com>
24947         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
24948         Return error status.
24950 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
24952         [BZ #15969]
24953         * locale/findlocale.c (_nl_find_locale): Introduce const
24954         version of loc_name and drop unsafe type casts.
24956 2015-02-27  Roland McGrath  <roland@hack.frob.com>
24958         * dlfcn/tststatic2.c (main): Converted to ...
24959         (do_test): ... this.
24960         (TEST_FUNCTION): New macro.
24961         Include test-skeleton.c.
24963 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
24965         [BZ #17711]
24966         * elf/Makefile (tests): Add vismain only if PIE is enabled.
24967         (tests-pie): Add vismain.
24968         (CFLAGS-vismain.c): New.
24969         * elf/vismain.c: Add comments for PIE requirement.
24971 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
24973         [BZ #18046]
24974         [BZ #18047]
24975         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
24976         0x1p-56L as threshold for just returning the argument.
24977         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
24978         0x1p-32L as threshold for just returning the argument.
24979         * math/auto-libm-test-in: Add more tests of atanh.
24980         * math/auto-libm-test-out: Regenerated.
24981         * sysdeps/i386/fpu/libm-test-ulps: Update.
24982         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
24984 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
24986         * string/bcopy.c (bcopy): Call memmove for performance.
24988 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
24990         * string/bzero.c (__bzero): Call memset for performance.
24992 2015-02-27  John David Anglin  <dave.anglin@bell.net>
24994         [BZ #18068]
24995         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
24996         to 00100000.
24998 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
25000         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
25002 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
25004         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
25005         (__kernel_standard): Use CSTR macro when setting exc.name.
25006         * sysdeps/ieee754/Makefile [$(subdir) = math]
25007         (CFLAGS-k_standard.c): Remove variable.
25009         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
25010         setting p and q from "else if" to "else".
25011         (qzero): Likewise.
25012         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
25013         (qone): Likewise.
25014         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
25015         (qzerof): Likewise.
25016         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
25017         (qonef): Likewise.
25018         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
25019         (qzero): Likewise.
25020         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
25021         (qone): Likewise.
25023         [BZ #18038]
25024         [BZ #18039]
25025         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
25026         return pi/2 for arguments below 0x1p-113L.
25027         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
25028         return pi/2 for arguments below 0x1p-106L.
25029         * math/auto-libm-test-in: Add more tests of acos.
25030         * math/auto-libm-test-out: Regenerated.
25032         [BZ #16351]
25033         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
25034         (MO): New macro.
25035         (__ieee754_asin): Force underflow exception for results with small
25036         absolute value.
25037         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
25038         (MO): New macro.
25039         (__ieee754_asinf): Force underflow exception for results with
25040         small absolute value.
25041         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
25042         (__ieee754_asin): Force underflow exception for results with small
25043         absolute value.
25044         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
25045         (__ieee754_asinf): Force underflow exception for results with
25046         small absolute value.
25047         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
25048         (__ieee754_asinl): Force underflow exception for results with
25049         small absolute value.
25050         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
25051         (__ieee754_asinl): Force underflow exception for results with
25052         small absolute value.
25053         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
25054         (__ieee754_asinl): Force underflow exception for results with
25055         small absolute value.
25056         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
25057         Include <math.h>.
25058         * math/auto-libm-test-in: Do not mark underflow exceptions as
25059         possibly missing for bug 16351.
25060         * math/auto-libm-test-out: Regenerated.
25062         [BZ #18030]
25063         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
25064         of power of 2 down when low part has opposite sign.
25065         * math/libm-test.inc (logb_test_data): Add more tests.
25067 2015-02-26  Andreas Schwab  <schwab@suse.de>
25069         [BZ #18032]
25070         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
25071         over collating symbol inside a bracket expression.  Minor cleanup.
25072         * posix/tst-fnmatch3.c (do_test): Add test case.
25074 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
25076         [BZ #18029]
25077         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
25078         Adjust exponent of power of 2 down when low part has opposite
25079         sign.
25080         * math/libm-test.inc (ilogb_test_data): Add more tests.
25082 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
25084         [BZ #15969]
25085         * locale/findlocale.c (_nl_find_locale): Fix constness error in
25086         the previous change.
25088         [BZ #15969]
25089         * locale/findlocale.c (_nl_find_locale): Retry archive search
25090         after alias expansion.
25092 2015-02-25  Roland McGrath  <roland@hack.frob.com>
25094         * iconv/tst-iconv3.c (main): Converted to ...
25095         (do_test): ... this.
25096         (TEST_FUNCTION): New macro.
25097         Include test-skeleton.c.
25099         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
25100         (convert): Make function static.
25101         (test_unalign): Likewise.  Add const to argument pointee types.
25102         (main): Replace with static function do_test.
25103         Print "Succeeded." only if RET is zero.
25104         (TEST_FUNCTION): New macro.
25105         Include test-skeleton.c.
25107         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
25108         returns a null pointer.
25110 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25112         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
25113         to __memcpy_ppc only for static builds.
25115 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
25117         [BZ #18020]
25118         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
25119         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
25120         * math/auto-libm-test-in: Add more tests of asinh.
25121         * math/auto-libm-test-out: Regenerated.
25122         * sysdeps/i386/fpu/libm-test-ulps: Update.
25123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25125 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
25127         [BZ #15850]
25128         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
25129         and ip6_mtuinfo definitions here.
25130         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
25131         in this define too.  Update comment.
25133 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
25135         * elf/sprof.c (load_shobj): Tweak error message to match others.
25137 2015-02-24  Kevin Easton  <kevin@guarana.org>
25139         [BZ #16145] (partial fix)
25140         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
25141         to reduce lock contention.
25143 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
25145         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
25146         (struct timex): Update time comment.
25147         (ADJ_SETOFFSET): Define.
25149 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
25151         [BZ #18019]
25152         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25153         2**56 not 2**28 as threshold for log (2x) formula.
25154         * math/auto-libm-test-in: Add more tests of acosh.
25155         * math/auto-libm-test-out: Regenerated.
25156         * sysdeps/i386/fpu/libm-test-ulps: Update.
25157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25159 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
25161         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
25162         parenthesis around the buf assignment.
25163         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
25165 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
25167         [BZ #16783]
25168         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
25169         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
25170         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
25171         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
25172         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
25173         * math/libm-test.inc (scalb_test_data): Add more tests.
25175 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
25177         [BZ #17916]
25178         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
25179         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
25181 2015-02-24  Eric Rannaud  <e@nanocritical.com>
25183         [BZ #17523]
25184         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
25185         * io/bits/fcntl2.h (open): Use it.
25186         (openat): Likewise.
25187         * io/open.c (__libc_open): Likewise.
25188         * io/open64.c (__libc_open64): Likewise.
25189         * io/open64_2.c (__open64_2): Likewise.
25190         * io/open_2.c (__open_2): Likewise.
25191         * io/openat.c (__openat): Likewise.
25192         * io/openat64.c (__openat64): Likewise.
25193         * io/openat64_2.c (__openat64_2): Likewise.
25194         * io/openat_2.c (__openat_2): Likewise.
25195         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
25196         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
25197         * sysdeps/posix/open64.c (__libc_open64): Likewise.
25198         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
25199         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
25200         (__open_nocancel): Likewise.
25201         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
25202         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
25203         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
25205 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25207         [BZ #14841]
25208         * resolv/gethnamaddr.c (getanswer): Skip logging if
25209         RES_USE_DNSSEC is set.
25210         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25212 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
25214         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
25216 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
25218         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25219         201304L, for Unicode 7.
25221 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
25223         [BZ #17836]
25224         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
25225         shared library.  Add gmon-start.os otherwise.
25226         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
25227         $(objpfx)gmon-start.os if builing shared library.
25228         ($(objpfx)g$(static-start-installed-name)): Likewise.
25230 2015-02-23  Andreas Schwab  <schwab@suse.de>
25232         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
25234 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
25236         [BZ #17269]
25237         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
25238         (enlarge_userbuf): Likewise.
25240 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
25242         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
25243         * math/atest-exp.c (TIMEOUT): Adjust to 200.
25244         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
25245         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
25247 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
25249         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
25250         expression inside statement expression.
25252 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
25254         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
25255         <sysdeps/nptl/lowlevellock.h> and remove macros and
25256         functions that are now defined there.
25257         (SYS_futex): Remove.
25258         (lll_compare_and_swap): Remove.
25259         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
25261 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
25263         [BZ #17999]
25264         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
25265         instead of scandirat.
25266         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
25267         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
25268         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
25269         __scandirat.
25270         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
25271         (__scandirat): Declare.  Use libc_hidden_proto.
25272         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
25273         Remove variable.
25274         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25276 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
25278         [BZ #15319]
25279         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
25280         (MO): New macro.
25281         (__ieee754_atan2): For results with small absolute value, force
25282         underflow exception and remove excess range and precision from
25283         return value.
25284         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
25285         (MO): New macro.
25286         (__ieee754_atan2f): For results with small absolute value, force
25287         underflow exception and remove excess range and precision from
25288         return value.
25289         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
25290         (MO): New macro.
25291         (__atan): For results with small absolute value, force underflow
25292         exception and remove excess range and precision from return value.
25293         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
25294         (MO): New macro.
25295         (__atanf): For results with small absolute value, force underflow
25296         exception and remove excess range and precision from return value.
25297         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
25298         <math.h>.
25299         (__ieee754_atan2): Force underflow exception for results with
25300         small absolute value.
25301         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
25302         <math_private.h>.
25303         (atan): Force underflow exception for results with small absolute
25304         value.
25305         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
25306         (__atanf): Force underflow exception for results with small
25307         absolute value.
25308         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
25309         <math.h>.
25310         (__atanl): Force underflow exception for results with small
25311         absolute value.
25312         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
25313         (__atanl): Force underflow exception for results with small
25314         absolute value.
25315         * sysdeps/x86/fpu/bits/mathinline.h
25316         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
25317         (__ieee754_atan2): Only define inline for long double.
25318         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
25319         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
25320         * math/auto-libm-test-in: Do not mark underflow exceptions as
25321         possibly missing for bug 15319.  Add more tests of atan2.
25322         * math/auto-libm-test-out: Regenerated.
25323         * math/libm-test.inc (casin_test_data): Do not mark underflow
25324         exceptions as possibly missing for bug 15319.
25325         (casinh_test_data): Likewise.
25326         * sysdeps/i386/fpu/libm-test-ulps: Update.
25328 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
25330         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
25331         * sysdeps/mips/bits/endian.h: Fix comments.
25333 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
25335         [BZ #17996]
25336         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
25337         (hdestroy_r): Likewise.
25338         (hsearch_r): Likewise.
25339         (__hcreate_r): Declare and use libc_hidden_proto.
25340         (__hdestroy_r): Likewise.
25341         (__hsearch_r): Likewise.
25342         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
25343         (hcreate): Call __hcreate_r instead of hcreate_r.
25344         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
25345         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
25346         as weak alias of __hcreate_r.
25347         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
25348         __hdestroy_r.
25349         (hsearch_r): Rename to __hsearch_r and define as weak alias of
25350         __hsearch_r.
25351         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
25352         Remove variable.
25353         (test-xfail-XPG4/search.h/linknamespace): Likewise.
25354         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
25355         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
25356         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
25358 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25360         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
25361         arena_lock into a single arena_get.
25363 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
25365         * dl-reloc.c: Inlucde libc-internal.h.
25366         (_dl_try_allocate_static_tls): Call ALIGN_UP.
25367         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
25368         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
25369         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
25370         (grow_heap): Likewise.
25371         * malloc/malloc.c: Include libc-internal.h.
25372         (do_check_malloc): Call powerof2.
25373         (sysmalloc): Use pagesize. Call ALIGN_UP.
25374         (systrim): Use pagesize.
25375         (mremap_chunk): Use pagesize. Call ALIGN_UP.
25376         (__libc_valloc): Use pagesize.
25377         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
25379 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
25381         [BZ #17991]
25382         * include/sys/resource.h (__getrlimit64): Declare.  Use
25383         libc_hidden_proto.
25384         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
25385         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
25386         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
25387         getrlimit64.
25388         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
25389         __getrlimit64.
25390         [!getrlimit64] (getrlimit64): Define as weak alias of
25391         __getrlimit64.  Use libc_hidden_weak.
25392         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
25393         using __getrlimit64 not __new_getrlimit64.
25394         (__GI_getrlimit64): Likewise.
25395         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
25396         Likewise.
25397         (__GI_getrlimit64): Likewise.
25398         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
25399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
25400         (getrlimit): Add __getrlimit64 alias.
25401         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
25402         Likewise.
25403         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
25404         Remove variable.
25405         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25406         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25408 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
25410         * libio/fileops.c: Add missing sys/mman.h
25411         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
25413 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
25415         * manual/math.texi (Errors in Math Functions): Clarify goals
25416         regarding inexact and underflow exceptions.
25418 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
25420         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
25421         * sysdeps/mips/memset.S: Ditto.
25423 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
25425         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
25427 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25429         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
25430         (__v1longjmp): Remove versioned symbol.
25431         (__v1siglongjmp): Remove alias and versioned symbol.
25432         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
25433         (__v2siglongjmp): Likewise.
25435 2015-02-16  Torvald Riegel  <triegel@redhat.com>
25437         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
25439 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
25441         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
25443 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
25445         [BZ #17987]
25446         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
25447         zero result does not depend on the sign resulting from
25448         subtraction.
25449         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25450         Likewise.
25451         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
25452         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
25453         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25454         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
25455         * math/libm-test.inc (remquo_test_data): Add more tests.
25457 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
25459         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
25460         Problem reported by J William Piggott.
25462 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
25464         [BZ #17978]
25465         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
25466         products 4 * y and 2 * y where those would overflow.
25467         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25468         Likewise.
25469         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
25470         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
25471         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25472         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
25473         * math/libm-test.inc (remquo_test_data): Add more tests.
25475         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
25477         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
25478         [defined _COMPILING_NEWLIB].
25479         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
25480         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
25482         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
25483         [!defined __mips_isa_rev || __mips_isa_rev < 6].
25485 2015-02-16  Torvald Riegel  <triegel@redhat.com>
25487         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
25488         acquired.
25490 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
25492         [BZ #17792]
25493         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
25494         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
25495         HOST_STACK_END_ADDR): Likewise.
25497 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
25499         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
25500         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
25501         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
25503 2015-02-13  Roland McGrath  <roland@hack.frob.com>
25505         * sysdeps/generic/c++-types.data: New file.
25506         * sysdeps/generic/ld.abilist: New file.
25507         * sysdeps/generic/libBrokenLocale.abilist: New file.
25508         * sysdeps/generic/libanl.abilist: New file.
25509         * sysdeps/generic/libc.abilist: New file.
25510         * sysdeps/generic/libcrypt.abilist: New file.
25511         * sysdeps/generic/libdl.abilist: New file.
25512         * sysdeps/generic/libm.abilist: New file.
25513         * sysdeps/generic/libpthread.abilist: New file.
25514         * sysdeps/generic/libresolv.abilist: New file.
25515         * sysdeps/generic/librt.abilist: New file.
25517 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
25519         [BZ #17569]
25520         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25521         Compute absolute value of x as modified by fmod, not original
25522         value of x.
25523         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
25524         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
25525         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
25526         RUN_TEST_ffI_f1_mod8.
25527         (remquo_test_data): Add more tests.
25529 2015-02-13  Roland McGrath  <roland@hack.frob.com>
25531         * sysdeps/init_array/pt-crti.S: New file.
25533 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
25535         [BZ #17967]
25536         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
25537         __builtin_fmaf instead of relying on contraction of a * b + c.
25539 2015-02-12  J William Piggott  <elseifthen@gmx.com>
25541         [BZ #17969]
25542         * manual/time.texi: correct the zoneinfo path in the TZ Variable
25543         node.
25545 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
25547         [BZ #17964]
25548         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
25549         __builtin_fma instead of relying on contraction of a * b + c.
25551 2015-02-12  Roland McGrath  <roland@hack.frob.com>
25553         * Makeconfig (ASFLAGS): Add -Werror=undef.
25554         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
25555         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
25556         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
25558         * Makeconfig (after-link): New variable.
25559         (+link-pie, +link-pie-tests): Use it.
25560         (+link-static, +link-static-tests): Likewise.
25561         (+link, +link-tests): Likewise.
25562         * Makerules (build-module, build-module-asneeded): Likewise.
25563         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
25564         Likewise.
25565         * elf/Makefile ($(objpfx)ld.so): Likewise.
25567 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
25569         [BZ #17965]
25570         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
25571         both struct timeval and struct timespec.
25573 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
25575         [BZ #16560]
25576         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25577         and redefine.
25578         (__ieee754_exp2l): Do not multiply small fractional parts by
25579         M_LN2l.
25580         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
25581         small argument.
25582         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25583         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
25584         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
25585         * math/auto-libm-test-in: Add more tests of exp2.
25586         * math/auto-libm-test-out: Regenerated.
25588 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25590         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
25591         unaligned path.
25593 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25595         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
25596         little endian.
25598 2015-02-12  Andreas Schwab  <schwab@suse.de>
25600         [BZ #15790]
25601         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
25602         Filter out elision flags from value returned in kind.
25603         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
25604         * nptl/tst-pthread-mutexattr.c: New file.
25606 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25608         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
25609         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
25610         into gnu-gnu, and update comment to refer to abi-tags.
25612 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
25614         [BZ #15467]
25615         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
25616         (__sincos): Set errno to EDOM for infinite argument.
25617         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
25618         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
25619         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
25620         (__sincosl): Set errno to EDOM for infinite argument.
25621         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
25622         (__sincosl): Set errno to EDOM for infinite argument.
25623         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
25624         (__sincosl): Set errno to EDOM for infinite argument.
25625         * math/libm-test.inc (sincos_test_data): Test errno setting.
25627 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
25629         * string/strxfrm_l.c: Remove #define STRCMP.
25630         * string/strcoll_l.c: Remove #define STRLEN.
25631         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
25632         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
25634 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
25636         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
25637         * sysdeps/mips/mips32/sfp-machine.h: ... here.
25638         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
25639         * sysdeps/mips/mips64/Makefile: ... here.
25640         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
25641         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
25642         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
25643         * sysdeps/mips/mips64/sfp-machine.h: ... here.
25644         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
25645         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
25646         * sysdeps/mips/mips64/n64/Implies: Likewise.
25648 2015-02-10  Roland McGrath  <roland@hack.frob.com>
25650         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
25651         <sys/time.h>, <string.h>, and <errno.h>.
25652         (dest_offset, dest_address, value, zero): Remove unused variables.
25653         (ldouble): Remove typedef.
25654         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
25655         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
25656         1).  Fix code style.
25657         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
25658         (check): Function removed.
25659         (CHECK): New macro.
25660         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
25661         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
25662         Don't call set_sigaction_FP and remove_sigaction_FP here.
25663         (ldouble_test): Just use 'long double' as macro argument, no need for
25664         the 'ldouble' typedef.
25665         (do_test): Set up SIGFPE handler at start, using plain signal rather
25666         than sigaction.  Fix code style.
25668 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
25670         [BZ #17949]
25671         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
25672         jump label.
25674 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25676         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
25677         * sysdeps/powerpc/powerpc32/configure: Regenerated.
25679         * sysdeps/powerpc/configure.ac: Remove file.
25680         * sysdeps/powerpc/configure: Likewise.
25682         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
25683         [sysdep_routines]: Remove wordcopy-power6 object.
25684         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
25685         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
25686         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
25687         (__memmove_ppc32): Likewise.
25688         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
25689         file.
25690         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
25691         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
25692         Remove preprocessor.
25694         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
25695         [sysdep_routines]: Remove wide chars objects.
25696         [wcsmbs]: New rule for wide char objects.
25698         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25699         Remove wordcopy-power6 obejct.
25700         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
25701         Use local call for wordcopy and memcpy symbols.
25702         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
25703         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
25704         implementation for loader.
25705         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
25707         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25708         Remove wordcopy-power7 object.
25709         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
25710         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
25711         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
25712         (_wordcopy_fwd_dest_aligned): Likewise.
25713         (_wordcopy_bwd_aligned): Likewise.
25714         (_wordcopy_bwd_dest_aligned): Likewise.
25716         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
25717         Rewrite to call __memmove_ppc instead of include default
25718         implementation.
25720         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25721         Remove wide chars objects.
25722         [wcsmbs]: New rule for wide char objects.
25724 2015-02-09  Andreas Schwab  <schwab@suse.de>
25726         [BZ #17912]
25727         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25728         in terms of __O_DIRECTORY.
25730 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25732         * time/getdate.c: Include <stdbool.h>.
25733         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
25734         call PTR_MANGLE.
25735         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
25736         PTR_DEMANGLE.
25738 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
25740         Add ersatz _Static_assert on older C hosts
25741         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
25742         pre-C11 C platform that is not known to support _Static_assert.
25744 2015-02-07  Richard Braun  <rbraun@sceen.net>
25746         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
25747         sigstate.
25748         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
25750 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25752         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
25753         priority against unexistent AIO_PRIO_DELTA_MAX.
25754         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
25755         instead of int.
25756         * misc/fchflags.c (fchflags): Likewise.
25757         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
25758         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
25759         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
25760         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
25761         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
25762         Declare macros.
25763         [__USE_MISC] (chflags, fchflags): Declare functions.
25764         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
25765         EINVAL when nfds is greater than FD_SETSIZE.
25766         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
25767         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
25768         45.
25769         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
25770         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
25771         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
25772         MACH_RCV_TIMED_OUT.
25773         * hurd/hurd/signal.h (_hurd_self_sigstate,
25774         _hurd_critical_section_lock, _hurd_critical_section_unlock):
25775         Explicit casts from void *.
25776         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
25777         * abi-tags: Rename gnu-gnu os into gnu.
25779         [BZ #4719]
25780         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
25781         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
25782         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
25783         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
25784         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
25785         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
25787         [BZ #17944]
25788         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
25789         duplicates ADDR->sun_path with sockaddr LEN limitation.
25790         * sysdeps/mach/hurd/connect.c: Include <string.h>
25791         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
25792         * sysdeps/mach/hurd/sendmsg.c: Likewise.
25793         * sysdeps/mach/hurd/sendto.c: Likewise.
25794         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
25795         implementing it by hand.
25797 2015-02-06  Roland McGrath  <roland@hack.frob.com>
25799         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
25800         Use sfi_breg on ldr.
25801         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
25802         Likewise.
25804         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
25805         it's defined.
25806         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
25807         Test SIGSETXID only if it's defined.
25809         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
25811         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
25812         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
25814         * nptl/tst-align2.c: Moved ...
25815         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
25816         * nptl/Makefile (tests): Remove tst-align2.
25817         * sysdeps/unix/sysv/linux/Makefile
25818         [$(subdir) = nptl] (tests): Add tst-align-clone.
25819         * nptl/tst-getpid1.c: Moved ...
25820         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
25821         * nptl/tst-getpid2.c: Moved ...
25822         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
25823         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
25824         * sysdeps/unix/sysv/linux/Makefile
25825         [$(subdir) = nptl] (tests): ... here.
25826         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
25827         * sysdeps/unix/sysv/linux/Makefile
25828         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
25830         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
25831         Drop trailing \n from perror argument.  Use return rather than exit.
25833         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
25834         on [SA_SIGINFO].
25835         * nptl/tst-cancel21.c (do_test): Likewise.
25836         * debug/tst-backtrace6.c: Include <signal.h> first thing.
25837         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
25838         [!SA_SIGINFO]: Make it a stub test.
25840         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
25841         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
25843         * posix/tst-getlogin.c: Move to ...
25844         * login/tst-getlogin.c: ... here.
25845         * posix/Makefile (tests): Move tst-getlogin to ...
25846         * login/Makefile (tests): ... here.
25848         * libio/tst-atime.c (do_test): Move local variables SV and E
25849         inside [ST_NOATIME] conditional.
25851         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
25853         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
25855         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
25856         (wait_code): New function replaces macro.
25857         Call nanosleep rather than syscall.
25859         * nptl/pt-system.c: Rewritten.  Put everything under
25860         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25861         Use IFUNC to redirect when possible.
25863         * nptl/pt-longjmp.c: Rewritten.  Put everything under
25864         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25865         Use IFUNC to redirect when possible.
25867         * nptl/pt-fork.c: Rewritten.  Put everything under
25868         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25869         Use IFUNC to redirect when possible.
25870         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
25872         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
25873         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
25874         unconditionally nowadays.  This included the only reference to
25875         __vdso_clock_gettime that appears outside libc proper.
25876         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
25877         Remove version set (containing only __vdso_clock_gettime).
25878         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
25879         Add attribute_hidden.
25880         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
25881         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
25882         libc_hidden_data_def.
25883         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25884         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25886         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
25887         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
25888         setrpcent, and getrpcport to ...
25889         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
25890         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
25891         getrpcbynumber_r, and getrpcent_r to ...
25892         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
25893         * inet/getrpcbyname.c: Moved ...
25894         * sunrpc/getrpcbyname.c: ... here.
25895         * inet/getrpcbyname_r.c: Moved ...
25896         * sunrpc/getrpcbyname_r.c: ... here.
25897         * inet/getrpcbynumber.c: Moved ...
25898         * sunrpc/getrpcbynumber.c: ... here.
25899         * inet/getrpcbynumber_r.c: Moved ...
25900         * sunrpc/getrpcbynumber_r.c: ... here.
25901         * inet/getrpcent.c: Moved ...
25902         * sunrpc/getrpcent.c: ... here.
25903         * inet/getrpcent_r.c: Moved ...
25904         * sunrpc/getrpcent_r.c: ... here.
25905         * inet/Makefile (routines): Move those to ...
25906         * sunrpc/Makefile (routines): ... here.
25907         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
25908         the $(subdirs) list.
25909         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
25910         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
25911         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
25912         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
25914         * elf/Makefile (routines): Include $(all-dl-routines), not just
25915         $(dl-routines).
25916         (rtld-routines): Likewise.  Use = rather than :=.
25917         * sysdeps/aarch64/Makefile [$(subdir) = elf]
25918         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
25919         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
25920         * sysdeps/arm/Makefile: Likewise.
25921         * sysdeps/i386/Makefile: Likewise.
25922         * sysdeps/x86_64/Makefile: Likewise.
25923         * sysdeps/hppa/Makefile [$(subdir) = elf]
25924         (sysdep_routines, sysdep-rtld-routines): Don't add
25925         $(sysdep-dl-routines) to these.
25926         * sysdeps/ia64/Makefile: Likewise.
25927         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
25928         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
25929         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
25930         Don't add dl-static to these; sysdep-dl-routines alone is enough.
25931         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
25932         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
25933         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
25934         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
25935         * sysdeps/powerpc/Makefile [$(subdir) = elf]
25936         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
25937         these; sysdep-dl-routines alone is enough.
25939 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
25941         [BZ #17932]
25942         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
25943         where multiplication results in zero and third argument is finite
25944         and nonzero.
25945         * math/auto-libm-test-in: Add more tests of fma.
25946         * math/auto-libm-test-out: Regenerated.
25948         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
25949         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
25950         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
25951         (_FP_CMP_EQ): Likewise.
25952         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
25954         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
25955         extra argument CHECK_NAN.  Redefine as wrapper around
25956         _FP_EXTEND_CNAN.
25958 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
25960         * version.h (RELEASE): Set to "stable".
25961         (VERSION): Set to "2.21"
25962         * include/features.h (__GLIBC_MINOR__): Set to 21.
25964         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
25966 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25967             Paul Eggert  <eggert@cs.ucla.edu>
25969         [BZ #16618]
25970         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
25971         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
25972         size in bytes. Store needed elements in wpmax. Use needed size
25973         in bytes for extend_alloca.
25975 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
25977         * manual/install.texi: Latest tested versions are GCC 4.9.2,
25978         binutls 2.25, and texinfo 5.2.
25979         * INSTALL: Regenerate.
25980         * sysdeps/nios2/configure: Regenerate.
25981         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
25982         * manual/contrib.texi: Update.
25983         * po/be.po: Update.
25984         * po/bg.po: Update.
25985         * po/ca.po: Update.
25986         * po/cs.po: Update.
25987         * po/da.po: Update.
25988         * po/de.po: Update.
25989         * po/el.po: Update.
25990         * po/eo.po: Update.
25991         * po/es.po: Update.
25992         * po/fi.po: Update.
25993         * po/fr.po: Update.
25994         * po/gl.po: Update.
25995         * po/hr.po: Update.
25996         * po/hu.po: Update.
25997         * po/ia.po: Update.
25998         * po/id.po: Update.
25999         * po/it.po: Update.
26000         * po/ja.po: Update.
26001         * po/ko.po: Update.
26002         * po/lt.po: Update.
26003         * po/nb.po: Update.
26004         * po/nl.po: Update.
26005         * po/pl.po: Update.
26006         * po/pt_BR.po: Update.
26007         * po/ru.po: Update.
26008         * po/rw.po: Update.
26009         * po/sk.po: Update.
26010         * po/sl.po: Update.
26011         * po/sv.po: Update.
26012         * po/tr.po: Update.
26013         * po/uk.po: Update.
26014         * po/vi.po: Update.
26015         * po/zh_CN.po: Update.
26016         * po/zh_TW.po: Update.
26018         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
26019         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
26020         * sysdeps/hppa/dl-irel.h: Remove #warning.
26021         * sysdeps/hppa/entry.h: Provide prototype for
26022         __canonicalize_funcptr_for_compare and cast argument.
26023         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
26024         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
26025         * sysdeps/hppa/sotruss-lib.c: New file.
26026         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
26027         (atomic_compare_and_exchange_val_acq): Use __typeof__.
26028         (atomic_compare_and_exchange_bool_acq): Likewise.
26029         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
26030         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
26032         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
26033         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
26034         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
26036 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
26038         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
26039         called function in non-PIC case.
26041 2015-01-31  David S. Miller  <davem@davemloft.net>
26043         * sysdeps/sparc/sparc32/bits/atomic.h
26044         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
26045         unlock not after it.
26046         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
26047         volatile register usage warnings from the compiler.
26049         * sysdeps/sparc/nptl/sem_init.c: Delete.
26050         * sysdeps/sparc/nptl/sem_post.c: Delete.
26051         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
26052         * sysdeps/sparc/nptl/sem_wait.c: Delete.
26053         * sysdeps/sparc/sparc32/sem_init.c: New file.
26054         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
26055         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
26056         padding explicitly initialized.
26057         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
26058         padding for in-semaphore spinlock.
26059         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
26060         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
26061         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
26062         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
26063         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
26064         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
26065         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
26066         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
26067         version.
26068         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
26069         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
26071 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
26073         [BZ #17801]
26074         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26075         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
26076         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
26077         New.
26078         (index_AVX_Fast_Unaligned_Load): Likewise.
26079         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
26080         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
26081         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
26082         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
26083         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
26084         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
26085         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
26086         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
26087         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
26089 2015-01-29  Andreas Schwab  <schwab@suse.de>
26091         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
26093 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
26095         [BZ #17892]
26096         * nscd/nscd_stat.c (send_stats): Initialize DATA.
26098 2015-01-28  Martin Sebor  <msebor@redhat.com>
26100         * math/README.libm-test: Clarify. Add "How to read the test output."
26102 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
26104         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
26105         Define to 0.
26107 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
26109         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
26110         (__HAVE_64B_ATOMICS): Define to 0.
26112 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26114         [BZ #17885]
26115         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
26116         value to set as new flag.
26118         [BZ #16576]
26119         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
26120         and use _ARCH_PPCSQ instead.
26121         (__ieee754_sqrt): Likewise.
26122         (__ieee754_sqrtf): Likewise.
26123         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
26124         _ARCH_PPCSQ is defined.
26125         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
26126         fsqrt instruction.
26127         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
26128         _ARCH_PPCSQ is defined.
26129         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
26130         fsqrts instruction.
26131         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
26133 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26135         * iconv/loop.c: Suppress array out of bound warning caused by GCC
26136         bug (GCC BZ #64739).
26138 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
26140         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
26141         Mark _retval as used.
26142         (lll_futex_wake_unlock): Likewise.
26143         (lll_futex_timed_wait_requeue_pi): Likewise.
26145         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
26146         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
26147         register variables.
26149         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
26150         libm_hidden_def.
26152         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
26153         (__bswap_64): Mark as __always_inline.
26155 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
26157         [BZ #15378]
26158         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
26159         when none of the search directories exist.
26161 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26163         [BZ #17869]
26164         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
26165         power8 in .machine directive.
26167         [BZ #17868]
26168         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
26169         set dependency from opd value.
26171 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
26173         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26174         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
26175         architecture.
26177 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
26179         [BZ #17870]
26180         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
26181         with uint64_t.
26182         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
26183         (uint64_t) 1.
26184         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
26185         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
26186         Replace 1UL with (uint64_t) 1.
26187         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
26188         int with uint64_t.
26190 2015-01-23  Roland McGrath  <roland@hack.frob.com>
26192         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
26193         (if_freenameindex): Likewise.
26195         * resource/getrlimit64.c: Add missing libc_hidden_def.
26197 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
26199         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
26200         __label__.
26201         (_FP_FMA): Likewise.
26202         (_FP_TO_INT_ROUND): Likewise.
26203         (_FP_FROM_INT): Likewise.
26205 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26207         [BZ #16418]
26208         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
26209         Make code racy and cancel safe.
26211 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
26213         * sysdeps/arm/unwind-resume.h: Fix copyright year.
26214         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
26215         attribution.
26217         * pwd/tst-getpw.c: Rewrite.
26219         [BZ #17702]
26220         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
26221         (modules-names): Add moddummy1 and moddummy2.
26222         ($(objpfx)tst-rec-dlopen): Define.
26223         * dlfcn/moddummy1.c: New file.
26224         * dlfcn/moddummy2.c: New file.
26225         * dlfcn/tst-rec-dlopen.c: New file.
26226         * elf/dl-cache.c (_dl_load_cache_lookup):
26227         Return char*. Copy result with alloca/strcpy/strdup.
26228         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
26229         returns char*. Free cached. If not saving realname
26230         free cached.
26231         * elf/dl-open.c (dl_open_worker): Do not assert that
26232         _r_debug->r_state is RT_CONSISTENT.
26233         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
26234         returns char*.
26236 2015-01-21  Torvald Riegel  <triegel@redhat.com>
26237             Carlos O'Donell  <carlos@redhat.com>
26239         [BZ #12674]
26240         * nptl/sem_waitcommon.c: New file.
26241         * nptl/sem_wait.c: Include sem_waitcommon.c.
26242         (__sem_wait_cleanup, do_futex_wait): Remove.
26243         (__new_sem_wait): Adapt.
26244         (__new_sem_trywait): New function.
26245         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
26246         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
26247         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
26248         (sem_timedwait): Adapt.
26249         * nptl/sem_post.c (__new_sem_post): Adapt.
26250         (futex_wake): New function.
26251         (__old_sem_post): Add release MO fence.
26252         * nptl/sem_open.c (sem_open): Adapt.
26253         * nptl/sem_init.c (__new_sem_init): Adapt.
26254         (futex_private_if_supported): New function.
26255         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
26256         (__old_sem_getvalue): Add using previous code.
26257         * sysdeps/nptl/internaltypes.h: Adapt.
26258         * nptl/tst-sem13.c (do_test): Adapt.
26259         * nptl/tst-sem11.c (main): Adapt.
26260         * nptl/sem_trywait.c: Remove.
26261         * nptl/DESIGN-sem.txt: Remove.
26262         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
26263         (gen-as-const-headers): Remove structsem.sym.
26264         * nptl/structsem.sym: Remove.
26265         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
26266         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
26267         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
26268         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
26269         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
26270         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
26271         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
26272         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
26273         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
26274         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
26275         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
26276         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
26277         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
26278         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
26279         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
26280         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
26281         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
26282         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
26283         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
26284         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
26285         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
26286         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
26288 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
26290         * INSTALL: Regenerated.
26292         * po/libc.pot: Regenerated.
26294 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
26295             Sandra Loosemore  <sandra@codesourcery.com>
26296             Andrew Jenner  <andrew@codesourcery.com>
26297             Joseph Myers  <joseph@codesourcery.com>
26298             Nathan Sidwell  <nathan@codesourcery.com>
26300         * NEWS: Mention new Nios II port.
26301         * sysdeps/nios2/Implies: New file.
26302         * sysdeps/nios2/Makefile: New file.
26303         * sysdeps/nios2/Subdirs: New file.
26304         * sysdeps/nios2/Versions: New file.
26305         * sysdeps/nios2/__longjmp.S: New file.
26306         * sysdeps/nios2/abort-instr.h: New file.
26307         * sysdeps/nios2/backtrace.c: New file.
26308         * sysdeps/nios2/bits/endian.h: New file.
26309         * sysdeps/nios2/bits/fenv.h: New file.
26310         * sysdeps/nios2/bits/link.h: New file.
26311         * sysdeps/nios2/bits/setjmp.h: New file.
26312         * sysdeps/nios2/bsd-_setjmp.S: New file.
26313         * sysdeps/nios2/bsd-setjmp.S: New file.
26314         * sysdeps/nios2/configure: New generated file.
26315         * sysdeps/nios2/configure.ac: New file.
26316         * sysdeps/nios2/crti.S: New file.
26317         * sysdeps/nios2/crtn.S: New file.
26318         * sysdeps/nios2/dl-init.c: New file.
26319         * sysdeps/nios2/dl-machine.h: New file.
26320         * sysdeps/nios2/dl-sysdep.h: New file.
26321         * sysdeps/nios2/dl-tls.h: New file.
26322         * sysdeps/nios2/dl-trampoline.S: New file.
26323         * sysdeps/nios2/gccframe.h: New file.
26324         * sysdeps/nios2/gmp-mparam.h: New file.
26325         * sysdeps/nios2/jmpbuf-offsets.h: New file.
26326         * sysdeps/nios2/jmpbuf-unwind.h: New file.
26327         * sysdeps/nios2/ldsodefs.h: New file.
26328         * sysdeps/nios2/libc-tls.c: New file.
26329         * sysdeps/nios2/libm-test-ulps: New file.
26330         * sysdeps/nios2/machine-gmon.h: New file.
26331         * sysdeps/nios2/math-tests.h: New file.
26332         * sysdeps/nios2/math_private.h: New file.
26333         * sysdeps/nios2/memusage.h: New file.
26334         * sysdeps/nios2/nptl/Makefile: New file.
26335         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
26336         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
26337         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
26338         * sysdeps/nios2/nptl/pthreaddef.h: New file.
26339         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
26340         * sysdeps/nios2/nptl/tls.h: New file.
26341         * sysdeps/nios2/preconfigure: New file.
26342         * sysdeps/nios2/s_fma.c: New file.
26343         * sysdeps/nios2/s_fmaf.c: New file.
26344         * sysdeps/nios2/setjmp.S: New file.
26345         * sysdeps/nios2/sfp-machine.h: New file.
26346         * sysdeps/nios2/sotruss-lib.c: New file.
26347         * sysdeps/nios2/stackguard-macros.h: New file.
26348         * sysdeps/nios2/stackinfo.h: New file.
26349         * sysdeps/nios2/start.S: New file.
26350         * sysdeps/nios2/sysdep.h: New file.
26351         * sysdeps/nios2/tls-macros.h: New file.
26352         * sysdeps/nios2/tst-audit.h: New file.
26353         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
26354         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
26355         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
26356         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
26357         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
26358         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
26359         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
26360         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
26361         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
26362         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
26363         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
26364         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
26365         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
26366         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
26367         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
26368         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
26369         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
26370         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
26371         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
26372         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
26373         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
26374         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
26375         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
26376         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
26377         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
26378         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
26379         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
26380         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
26381         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
26382         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
26383         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
26384         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
26385         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
26386         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
26387         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
26388         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
26389         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
26390         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
26391         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
26392         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
26393         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
26394         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
26395         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
26396         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
26398 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
26400         [BZ #17844]
26401         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
26402         (getutent): Use weak_alias in non SHARED case
26403         and default_symbol_version in SHARED case.
26404         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
26405         (getutent_r, pututline): Likewise.
26406         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
26407         (getutid): Likewise.
26408         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
26409         (getutid_r): Likewise.
26410         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
26411         (getutline): Likewise.
26412         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
26413         (getutline_r): Likewise.
26414         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
26415         (updwtmp): Likewise.
26417 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
26419         [BZ #17848]
26420         * sysdeps/s390/s390-32/memcmp.S
26421         (memcmp_g5): Rename to __memcmp_g5.
26422         * sysdeps/s390/s390-32/memcpy.S
26423         (memcpy_g5): Rename to __memcpy_g5.
26424         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26425         (memcpy_mvcle) Rename to __memcpy_mvcle.
26426         * sysdeps/s390/s390-32/memset.S
26427         (memset_g5): Rename to __memset_g5.
26428         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26429         (IFUNC_RESOLVE): Prefix ifunc-resolve function
26430         and use prefixed functions.
26431         * sysdeps/s390/s390-32/multiarch/memcmp.S
26432         (memcmp_z196): Rename to __memcmp_z196.
26433         (memcmp_z10): Rename to __memcmp_z10.
26434         (memcmp): Set alias to __memcmp_g5.
26435         (bcmp): Set alias to __memcmp_g5.
26436         * sysdeps/s390/s390-32/multiarch/memcpy.S
26437         (memcpy_z196): Rename to __memcpy_z196.
26438         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26439         (memcpy_z10): Rename to __memcpy_z10.
26440         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26441         (memcpy): Set alias to __memcpy_g5.
26442         * sysdeps/s390/s390-32/multiarch/memset.S
26443         (memset_z196): Rename to __memset_z196.
26444         Jump to __memset_mvcle instead of memset_mvcle.
26445         (memset_z10): Rename to __memset_z10.
26446         Jump to __memset_mvcle instead of memset_mvcle.
26447         (memset_mvcle) Rename to __memset_mvcle.
26448         (memset): Set alias to __memset_g5.
26449         * sysdeps/s390/s390-64/memcmp.S
26450         (memcmp_z900): Rename to __memcmp_z900.
26451         * sysdeps/s390/s390-64/memcpy.S
26452         (memcpy_z900): Rename to __memcpy_z900.
26453         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26454         (memcpy_mvcle) Rename to __memcpy_mvcle.
26455         * sysdeps/s390/s390-64/memset.S
26456         (memset_z900): Rename to __memset_z900.
26457         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
26458         (IFUNC_RESOLVE): Prefix ifunc-resolve function
26459         and use prefixed functions.
26460         * sysdeps/s390/s390-64/multiarch/memcmp.S
26461         (memcmp_z196): Rename to __memcmp_z196.
26462         (memcmp_z10): Rename to __memcmp_z10.
26463         (memcmp): Set alias to __memcmp_z900.
26464         (bcmp): Set alias to __memcmp_z900.
26465         * sysdeps/s390/s390-64/multiarch/memcpy.S
26466         (memcpy_z196): Rename to __memcpy_z196.
26467         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26468         (memcpy_z10): Rename to __memcpy_z10.
26469         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26470         (memcpy): Set alias to __memcpy_z900.
26471         * sysdeps/s390/s390-64/multiarch/memset.S
26472         (memset_z196): Rename to __memset_z196.
26473         Jump to __memset_mvcle instead of memset_mvcle.
26474         (memset_z10): Rename to __memset_z10.
26475         Jump to __memset_mvcle instead of memset_mvcle.
26476         (memset_mvcle) Rename to __memset_mvcle.
26477         (memset): Set alias to __memset_z900.
26479 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
26481         [BZ #17748]
26482         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
26483         __fesetenv instead of fesetenv.
26485 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26487         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
26488         macro.
26490 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26492         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
26493         regression on LE.
26495         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
26496         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
26497         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26498         strncmp-power8 object.
26499         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26500         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
26501         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
26502         * NEWS: Update.
26504 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26505             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26507         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
26508         trailing byte check.
26510 2015-01-13  David S. Miller  <davem@davemloft.net>
26512         * include/signal.h (__sigreturn): Guard with __USE_MISC.
26514 2015-01-13  Roland McGrath  <roland@hack.frob.com>
26516         * login/logout.c (logout): Use memset rather than bzero.
26517         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
26518         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
26519         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
26520         (_gethtbyaddr): Likewise.
26521         * locale/programs/simple-hash.c (bcopy): Macro removed.
26523 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26525         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26526         Add strcmp-power8 object.
26527         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26528         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
26529         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
26530         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
26531         __strcmp_power8 implementation.
26532         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
26533         * NEWS: Update.
26535         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26536         Add strncpy-power8 and stpncpy-power8 objects.
26537         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26538         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
26539         implementations.
26540         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
26541         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
26542         __stpncpy_power8 implementation.
26543         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
26544         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
26545         __strncpy_power8 implementation.
26546         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
26547         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
26548         * NEWS: Update.
26550         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
26551         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
26552         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
26554         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26555         strncat-power8 object.
26556         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
26557         __strcat_power8 implementation.
26558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26559         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
26560         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
26561         optimized strcat for power8.
26563         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26564         strcpy-power8 and stpcpy-power8 objects.
26565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26566         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
26567         implementations.
26568         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
26569         multiarch stpcpy implementation for POWER8.
26570         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
26571         multiarch strcpy implementation for POWER8.
26572         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
26573         __strcpy_power8 function.
26574         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
26575         stpcpy for POWER8.
26576         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
26577         strcpy for POWER8.
26578         * NEWS: Update.
26580 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
26582         [BZ #16009]
26583         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
26584         weights and rules. Use do_xfrm_cached if data fits in cache,
26585         do_xfrm otherwise.  Moved former main loop to...
26586         * (do_xfrm_cached): New function.
26587         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
26588         find_idx, find_position and stack_push.
26589         * (find_idx): New function.
26590         * (find_position): Likewise.
26591         * localedata/sort-test.sh: Added test run for do_xfrm.
26592         * localedata/xfrm-test.c (main): Added command line option
26593         -nocache to run the test with strings that are too large for
26594         the STRXFRM cache.
26596 2015-01-13  Torvald Riegel  <triegel@redhat.com>
26598         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
26599         variable to lll_futex_wake call, not the value itself.
26601 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
26603         [BZ #17803]
26604         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
26605         twom64.  Adjust value to 0x1p-64L.
26606         (__scalblnl): Only return standard underflowing result for K <=
26607         -64 not K <= -63; adjust exponent for underflowing result by 64
26608         not 63.
26609         * math/libm-test.inc (scalbn_test_data): Add more tests.
26610         (scalbln_test_data): Likewise.
26612         [BZ #17834]
26613         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
26614         0x1p63L.
26615         (__scalblnl): Get new exponent of adjusted subnormal value from ES
26616         not HX.
26617         * math/libm-test.inc (scalbn_test_data): Add more tests.
26618         (scalbln_test_data): Likewise.
26620 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26621             Stefani Seibold  <stefani@seibold.net>
26623         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
26624         (sysdep_routines): Add dl-vdso here, ...
26625         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
26626         (sysdep_routines): ... not here.
26627         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
26628         fallback when vDSO is not presented.
26629         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
26630         Define with libc_hidden_proto/libc_hidden_data_def definitions.
26631         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
26632         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
26633         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
26634         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
26635         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
26636         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
26637         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
26638         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
26639         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
26640         fallback configurable symbol when vDSO is not available.
26641         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
26642         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
26643         be able to redefine fallback symbol when vDSO is not available.
26644         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
26645         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
26647 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26649         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
26650         (TLS_INIT_TP): Add tm_capable initialization.
26651         (TLS_DEFINE_INIT_TP): Likewise.
26652         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
26653         TCB.
26654         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
26655         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
26656         calculation.
26657         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
26658         transactoion is lock elision is built and TCB tm_capable is set.
26659         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
26660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26661         (INTERNAL_SYSCALL_NCS): Likewise.
26662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26663         (INTERNAL_SYSCALL_NCS): Likewise.
26664         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
26666         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
26667         for powerpc.
26668         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26669         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
26670         and remove it for 32 bits case.
26671         [pthread_rwlock_t] (__rwelision): New field for lock elision.
26672         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
26673         initialization.
26674         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
26675         Disable lock elision with rdlocks if elision is not available.
26677         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
26678         (sysdep_routines): Add lock elision objects.
26679         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26680         [pthread_mutex_t] (__spins): Rework to add lock elision field.
26681         [pthread_mutex_t] (__elision): Add field.
26682         [__PTHREAD_SPINS]: Adjust to init lock elision field.
26683         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
26684         elision definitions for powerpc.
26685         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
26686         implementation of lock elision for powerpc.
26687         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
26688         implementation of timed lock elision for powerpc.
26689         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
26690         implementation of trylock with lock elision for powerpc.
26691         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
26692         implementaion of unlock for lock elision for powerpc.
26693         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
26694         automatic enable lock elision for mutexes.
26695         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
26696         transaction execution definitions for powerpc.
26697         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
26698         definitions.
26699         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
26700         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
26701         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
26702         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
26703         * NEWS: Update.
26705 2015-01-09  Roland McGrath  <roland@hack.frob.com>
26707         * sysdeps/posix/shm-directory.c: Use <> rather than ""
26708         for #include of <shm-directory.h>.
26710 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
26712         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
26713         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
26715 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
26717         [BZ #17791]
26718         * NEWS: Mention bug fix.
26719         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
26720         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
26721         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
26723 2015-01-09  Torvald Riegel <triegel@redhat.com>
26725         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
26727 2015-01-09  Torvald Riegel <triegel@redhat.com>
26729         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
26731 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
26733         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
26734         pointer and cast to uintptr_t.
26736 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
26738         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
26739         removed.
26740         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
26742 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
26744         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
26745         of 0.
26747 2015-01-08  Roland McGrath  <roland@hack.frob.com>
26749         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
26750         <nptl/pthreadP.h> instead.
26751         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
26753         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
26754         already defined.
26755         [__SIGRTMIN] (init): Function removed.
26756         [__SIGRTMIN] (initialized): Variable removed.
26757         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
26758         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
26759         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
26760         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
26761         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
26762         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
26763         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
26764         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
26765         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
26766         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
26767         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
26768         * sysdeps/nptl/allocrtsig.c: New file.
26769         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
26770         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
26771         * sysdeps/generic/testrtsig.h: File removed.
26773         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
26774         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
26776         * nptl/nptl-init.c (pthread_functions): Conditionalize
26777         .ptr__nptl_setxid initialization on [SIGSETXID].
26779         * sysdeps/nptl/sys/procfs.h: New file.
26780         * nptl_db/Makefile (headers): Add it.
26781         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
26783         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
26784         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
26785         * nptl/pthread_attr_setaffinity.c: Include it.
26786         * nptl/pthread_setattr_default_np.c: Likewise.
26787         * nptl/check-cpuset.h: New file.
26789 2015-01-08  Richard Henderson  <rth@redhat.com>
26791         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
26792         (CFLAGS-tst-execstack-prog.c): Likewise.
26793         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
26795 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
26796             Sandra Loosemore  <sandra@codesourcery.com>
26797             Andrew Jenner  <andrew@codesourcery.com>
26798             Joseph Myers  <joseph@codesourcery.com>
26799             Nathan Sidwell  <nathan@codesourcery.com>
26801         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
26802         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
26803         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
26804         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
26805         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
26806         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
26807         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
26808         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
26809         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
26810         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
26811         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
26812         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
26813         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
26814         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
26815         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
26816         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
26817         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
26819 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26821         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
26822         timespec struct member in syscall macro.
26823         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
26824         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
26825         first timeval struct member in syscall macro.
26826         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
26828 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
26830         [BZ #17748]
26831         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
26832         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
26833         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
26834         __feupdateenv and define as weak alias of __feupdateenv.  Use
26835         libm_hidden_weak.
26836         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
26837         libm_hidden_def.
26838         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
26839         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
26840         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
26841         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
26842         libm_hidden_def.
26843         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
26844         __feupdateenv and define as weak alias of __feupdateenv.  Use
26845         libm_hidden_weak.
26846         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
26847         libm_hidden_def.
26848         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
26849         __feupdateenv and define as weak alias of __feupdateenv.  Use
26850         libm_hidden_weak.
26851         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
26852         libm_hidden_def.
26853         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26854         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
26855         (__feupdateenv): Likewise.
26856         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
26857         __feupdateenv and define as weak alias of __feupdateenv.  Use
26858         libm_hidden_weak.
26859         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26860         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
26861         libm_hidden_def.
26862         * sysdeps/tile/math_private.h (__feupdateenv): New inline
26863         function.
26864         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
26865         libm_hidden_def.
26866         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
26867         __feupdateenv instead of feupdateenv.
26868         (default_libc_feupdateenv_test): Likewise.
26869         (libc_feresetround_ctx): Likewise.
26871 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26873         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
26874         prototype.
26876 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
26878         * posix/regcomp.c (parse_bracket_exp): Initialize type to
26879         COLL_SYM in a couple of places to avoid uninitialized variable
26880         wanings on tilegx gcc 4.8.2.
26882 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
26884         * sysdeps/aarch64/strcpy.S: New file.
26885         * sysdeps/aarch64/stpcpy.S: New file.
26886         * NEWS: Updated.
26888 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
26890         * sysdeps/aarch64/strrchr.S: New file.
26891         * NEWS: Updated.
26893 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
26895         [BZ #17658]
26896         * stdlib/setenv.c: Fix memory leak when setting large,
26897         duplicate string.
26899 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
26901         [BZ #17273]
26902         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
26903         and tabs from buffer before parsing fstab entry.
26904         * misc/tst-mntent.c (main): Add test for mount entry with
26905         trailing spaces and tabs.
26907 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
26909         [BZ #17748]
26910         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
26911         * math/fesetround.c (fesetround): Rename to __fesetround and
26912         define as weak alias of __fesetround.  Use libm_hidden_weak.
26913         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
26914         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
26915         * sysdeps/arm/fesetround.c (fesetround): Likewise.
26916         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
26917         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
26918         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
26919         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
26920         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
26921         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
26922         __fesetround_inline.
26923         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
26924         __fesetround_inline instead of __fesetround.
26925         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
26926         __fesetround and define as weak alias of __fesetround.  Use
26927         libm_hidden_weak.  Call __fesetround_inline instead of
26928         __fesetround.
26929         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
26930         __fesetround and define as weak alias of __fesetround.  Use
26931         libm_hidden_weak.
26932         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
26933         Likewise.
26934         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
26935         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26936         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
26937         * sysdeps/tile/math_private.h (__fesetround): New inline function.
26938         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
26939         __fesetround and define as weak alias of __fesetround.  Use
26940         libm_hidden_weak.
26941         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
26942         __fesetround instead of fesetround.
26943         (default_libc_feholdexcept_setround): Likewise.
26944         (libc_feholdsetround_ctx): Likewise.
26945         (libc_feholdsetround_noex_ctx): Likewise.
26947         [BZ #17748]
26948         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
26949         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
26950         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
26951         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
26952         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26953         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
26954         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26955         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
26956         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26957         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26958         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26959         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26960         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26961         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26962         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
26963         libm_hidden_def.
26964         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
26965         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
26966         Likewise.
26967         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26968         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26969         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26970         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26971         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
26972         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
26973         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
26974         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
26975         __fesetenv instead of fesetenv.
26976         (libc_feresetround_noex_ctx): Likewise.
26977         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
26978         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
26979         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
26980         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
26981         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
26982         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
26983         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26984         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
26985         (__feupdateenv): Likewise.
26986         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26987         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26988         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26989         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
26991 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
26993         [BZ #17806]
26994         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
26995         addresses have been freed.
26997 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
26999         * resolv/res_init.c (__res_vinit): Improve comments about nserv
27000         and nservall.
27002 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
27004         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
27005         Clean up check_pf allocation pattern. addresses
27007 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27009         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
27010         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
27011         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
27012         * nptl/pthread_exit.c (__pthread_exit): Likewise.
27013         * nptl/pthread_join.c (pthread_join): Likewise.
27014         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
27015         * sysdeps/posix/waitid.c (__waitid): Likewise.
27016         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
27017         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
27018         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
27019         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
27020         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
27021         Likewise.
27022         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
27023         (__libc_pread64): Likewise.
27024         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
27025         (__libc_pwrite): Likewise.
27026         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
27027         (__libc_pwrite64): Likewsie.
27028         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
27029         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
27030         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
27031         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
27032         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
27033         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
27034         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
27035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
27036         Likewise.
27037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27038         (__libc_pread64): Likewise.
27039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
27040         Likewise.
27041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
27042         (__libc_pwrite64): Likewise.
27043         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
27044         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
27045         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
27046         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
27047         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
27048         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
27049         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
27050         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
27051         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
27052         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
27053         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
27054         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
27055         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
27056         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
27057         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
27058         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
27059         Likewise.
27061 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
27063         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
27064         (CFLAGS-test-double.c): Likewise.
27065         (CFLAGS-test-ldouble.c): Likewise.
27066         (CPPFLAGS-test-ifloat.c): Likewise.
27067         (CPPFLAGS-test-idouble.c): Likewise.
27068         (CPPFLAGS-test-ildoubl.c): Likewise.
27069         (CFLAGS-test-test-fenv.c): Remove variable.
27070         (CFLAGS-test-misc.c): Likewise.
27072 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
27074         [BZ #17797]
27075         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
27076         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
27077         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
27078         CLOCKS_PER_SEC == 1000000.
27079         * time/clocktest.c (main): Replace %ld with %jd and cast to
27080         intmax_t.
27082 2015-01-05  Roland McGrath  <roland@hack.frob.com>
27084         * sysdeps/generic/unwind-resume.h: New file.
27085         * sysdeps/gnu/unwind-resume.c: Include it.
27086         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
27087         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
27088         argument list.
27089         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
27090         global rather than static.
27091         (_Unwind_Resume): Update user.
27092         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
27093         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
27094         rather than static.  Add __attribute__ ((cold)).
27095         (_Unwind_Resume, __gcc_personality_v0): Update callers.
27096         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
27097         * sysdeps/arm/arm-unwind-resume.S: New file.
27098         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
27099         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
27100         * sysdeps/arm/Makefile [$(subdir) = csu]
27101         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
27102         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
27103         Add rt-arm-unwind-resume.
27104         [$(subdir) = nptl]
27105         (libpthread-sysdep_routines, libpthread-shared-only-routines):
27106         Add pt-arm-unwind-resume.
27107         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
27108         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
27110 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
27112         [BZ #17748]
27113         * include/fenv.h (__feholdexcept): Declare.  Use
27114         libm_hidden_proto.
27115         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
27116         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
27117         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27118         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
27119         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
27120         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
27121         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
27122         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27123         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
27124         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
27125         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27126         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
27127         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
27128         (feholdexcept): Likewise.
27129         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27130         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27131         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27132         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27133         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
27134         __feholdexcept instead of feholdexcept.
27135         (default_libc_feholdexcept_setround): Likewise.
27137 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
27139         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
27140         to avoid using stl/str to align destination.
27142 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
27144         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
27146 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
27148         [BZ #17796]
27149         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
27150         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
27151         Define as weak alias not strong alias.
27153 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
27155         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
27156         bltzal with addiupc.
27157         (RTLD_START): Ditto.
27159 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
27161         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
27162         for __vdso_* functions in declarations.
27163         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
27164         definitions.
27165         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
27166         INTERNAL_VSYSCALL): Use struct return types to check for error.
27168         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
27169         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
27170         function with cast from llround().
27171         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
27172         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
27173         Define.
27175 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
27177         [BZ #17793]
27178         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
27179         Define as weak alias not strong alias.
27181         [BZ #17635]
27182         * ctype/ctype-c99.c: New file.  isblank implementation moved from
27183         ...
27184         * ctype/ctype-extn.c: ... here.
27185         (__isblank_l): Move to ...
27186         * ctype/ctype-c99_l.c: ... here.  New file.
27187         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
27188         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
27189         Remove variable.
27190         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
27191         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
27192         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
27193         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
27194         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
27196         [BZ #17777]
27197         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
27198         (posix_fadvise64): Define as weak alias not strong alias.
27199         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27200         (posix_fallocate64): Likewise.
27201         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
27202         Remove variable.
27203         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
27204         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
27205         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
27206         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
27207         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
27209 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
27211         [BZ #16191]
27212         * NEWS: Mention bug fix.
27213         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
27214         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
27215         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
27216         (HOST_STACK_END_ADDR): Likewise.
27218 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
27220         [BZ #17748]
27221         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
27222         * math/fegetround.c (fegetround): Rename to __fegetround and
27223         define as weak alias of __fegetround.  Use libm_hidden_weak.
27224         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
27225         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
27226         * sysdeps/arm/fegetround.c (fegetround): Likewise.
27227         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
27228         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27229         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
27230         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
27231         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
27232         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27233         Undefine after rather than before function definition; use
27234         parentheses around function name in definition.
27235         (__fegetround): Also undefine macro after function definition.
27236         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
27237         __fegetround and define as weak alias of __fegetround.  Use
27238         libm_hidden_weak.  Do not undefine as macro.
27239         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27240         Likewise.
27241         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
27242         __fegetround and define as weak alias of __fegetround.  Use
27243         libm_hidden_weak.
27244         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27245         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27246         * sysdeps/tile/math_private.h (__fegetround): New inline function.
27247         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
27248         __fegetround and define as weak alias of __fegetround.  Use
27249         libm_hidden_weak.
27250         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
27251         __fegetround instead of fegetround.
27253         [BZ #17782]
27254         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
27255         Condition macro definition on [__USE_MISC].
27257         [BZ #17781]
27258         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
27259         (struct sigaction): Change type of sa_flags field to int.
27261         [BZ #17780]
27262         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
27263         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
27264         __glibc_reserved0.
27266         * nptl/version.c (banner): Use single year in copyright notice.
27268         * NEWS: Update copyright dates.
27269         * catgets/gencat.c (print_version): Likewise.
27270         * csu/version.c (banner): Likewise.
27271         * debug/catchsegv.sh: Likewise.
27272         * debug/pcprofiledump.c (print_version): Likewise.
27273         * debug/xtrace.sh (do_version): Likewise.
27274         * elf/ldconfig.c (print_version): Likewise.
27275         * elf/ldd.bash.in: Likewise.
27276         * elf/pldd.c (print_version): Likewise.
27277         * elf/sotruss.sh: Likewise.
27278         * elf/sprof.c (print_version): Likewise.
27279         * iconv/iconv_prog.c (print_version): Likewise.
27280         * iconv/iconvconfig.c (print_version): Likewise.
27281         * locale/programs/locale.c (print_version): Likewise.
27282         * locale/programs/localedef.c (print_version): Likewise.
27283         * login/programs/pt_chown.c (print_version): Likewise.
27284         * malloc/memusage.sh (do_version): Likewise.
27285         * malloc/memusagestat.c (print_version): Likewise.
27286         * malloc/mtrace.pl: Likewise.
27287         * manual/libc.texinfo: Likewise.
27288         * nptl/version.c (banner): Likewise.
27289         * nscd/nscd.c (print_version): Likewise.
27290         * nss/getent.c (print_version): Likewise.
27291         * nss/makedb.c (print_version): Likewise.
27292         * posix/getconf.c (main): Likewise.
27293         * scripts/test-installation.pl: Likewise.
27294         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
27296 2015-01-02  Will Newton  <will.newton@linaro.org>
27298         * sysdeps/arm/armv7/configure: Removed.
27299         * sysdeps/arm/armv7/configure.ac: Likewise.
27301 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
27303         * All files with FSF copyright notices: Update copyright dates
27304         using scripts/update-copyrights.
27305         * intl/plural.c: Regenerated.
27306         * locale/programs/charmap-kw.h: Likewise.
27307         * locale/programs/locfile-kw.h: Likewise.
27309 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27311         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
27313 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
27315         [BZ #17748]
27316         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
27317         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
27318         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
27319         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
27320         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27321         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
27322         define as weak alias of __fegetenv.  Use libm_hidden_weak.
27323         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
27324         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27325         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
27326         define as weak alias of __fegetenv.  Use libm_hidden_weak.
27327         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27328         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
27329         define as weak alias of __fegetenv.  Use libm_hidden_weak.
27330         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
27331         libm_hidden_def.
27332         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
27333         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
27334         Likewise.
27335         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
27336         define as weak alias of __fegetenv.  Use libm_hidden_weak.
27337         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27338         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27339         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
27340         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
27341         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
27342         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
27343         __fegetenv instead of fegetenv.
27344         (libc_feholdsetround_noex_ctx): Likewise.
27346 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
27348         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
27349         (Elf_MIPS_ABIFlags_v0): New structure.
27350         (EF_MIPS_FP64): Define.
27351         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
27352         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
27353         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
27354         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
27355         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
27356         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
27357         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
27358         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
27359         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
27360         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
27361         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
27362         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
27363         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
27364         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
27365         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
27366         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
27367         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
27368         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
27369         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
27370         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
27371         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
27372         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
27373         field.
27374         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
27375         EF_MIPS_FP64.
27376         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
27377         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
27378         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
27379         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
27380         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
27381         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
27382         * sysdeps/mips/tst-abi-interlink.c: Likewise.
27383         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
27384         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
27385         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
27386         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
27387         record the current FP ABI extension.
27388         (mips-mode-switch): Define to show if kernel headers support mode
27389         switching.
27390         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
27391         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
27392         supported SYSV ABI version to 3.
27393         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
27394         feature.
27396 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27397             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27399         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
27400         path.
27401         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
27403 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
27405         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
27406         __fegetround and redefine to call __fegetround.  Remove condition
27407         on [!__NO_MATH_INLINES].
27408         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
27409         function.
27410         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
27411         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27412         Remove macro.
27413         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
27414         instead of <fenv_libc.h>.
27415         (__llrintl): Call fegetround instead of __fegetround.
27416         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
27417         instead of <fenv_libc.h>.
27418         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27419         (__lrintl): Call fegetround instead of __fegetround.
27420         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
27421         instead of <fenv_libc.h>.
27422         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27423         (__rintl): Call fegetround instead of __fegetround.
27425 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27427         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
27428         arrays.
27430 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
27432         [BZ #17775]
27433         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
27434         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
27435         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
27437 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27439         * sysdeps/i386/tls-macros.h: Include <features.h>.
27440         (TLS_LE): Use non-PIC version for GCC >= 5.0.
27441         (TLS_IE): Likewise.
27442         (TLS_LD): Likewise.
27443         (TLS_GD): Likewise.
27444         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
27445         define for GCC >= 5.0.
27447 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
27449         * math/test-fenv.c (test_single_exception, set_single_exc,
27450         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
27451         feexcp_mask_test, feenable_test, fe_single_test): Add
27452         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
27453         case where they are not used.
27454         * math/libm-test.inc: Likewise.
27455         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
27456         unused in the absence of FP rounding/exception support.
27457         * stdio-common/tst-printf-round.c: Likewise.
27458         * stdlib/tst-strtod-round.c: Likewise.
27459         * stdlib/tst-strtod-underflow.c: Likewise.
27461 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
27463         [BZ #17723]
27464         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
27465         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
27466         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27467         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27468         libm_hidden_weak.
27469         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
27470         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
27471         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
27472         libm_hidden_def.
27473         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27474         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27475         libm_hidden_weak.
27476         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
27477         Likewise.
27478         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
27479         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27480         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27481         libm_hidden_weak.
27482         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
27483         libm_hidden_def.
27484         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27485         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
27486         (__feraiseexcept): Likewise.
27487         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27488         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27489         libm_hidden_weak.
27490         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
27491         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
27492         libm_hidden_def.
27493         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
27494         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
27495         Use libm_hidden_def.
27496         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
27497         libm_hidden_def.
27498         (feraiseexcept): Define as weak not strong alias.  Use
27499         libm_hidden_weak.
27500         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
27501         New inline function.  Factored out of ...
27502         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
27503         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
27504         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
27505         feraiseexcept.
27506         * math/w_acos.c (__acos): Likewise.
27507         * math/w_asin.c (__asin): Likewise.
27508         * math/w_ilogb.c (__ilogb): Likewise.
27509         * math/w_j0.c (y0): Likewise.
27510         * math/w_j1.c (y1): Likewise.
27511         * math/w_jn.c (yn): Likewise.
27512         * math/w_log.c (__log): Likewise.
27513         * math/w_log10.c (__log10): Likewise.
27514         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
27515         * sysdeps/aarch64/fpu/math_private.h
27516         (libc_feupdateenv_test_aarch64): Likewise.
27517         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
27518         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
27519         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
27520         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
27521         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
27522         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
27523         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
27524         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27525         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27526         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27528 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
27530         [BZ #17732]
27531         * io/test-utime.c (main): Replace %ld with %jd and cast to
27532         intmax_t.
27533         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
27534         * nptl/tst-mutex5.c: Include <stdint.h>.
27535         (do_test): Replace %ld with %jd and cast to intmax_t.
27536         * posix/tst-regex.c (run_test): Likewise.
27537         (run_test_backwards): Likewise.
27538         * rt/tst-clock.c: Include <stdint.h>.
27539         (clock_test): Replace %ld with %jd and cast to intmax_t.
27540         * rt/tst-cpuclock1.c: Include <stdint.h>.
27541         (do_test): Replace %lu with %ju and cast to uintmax_t.
27542         * rt/tst-cpuclock2.c: Include <stdint.h>.
27543         (do_test): Replace %lu with %ju and cast to uintmax_t.
27544         * rt/tst-mqueue1.c: Include <stdint.h>.
27545         (check_attrs): Replace %ld with %jd and cast to intmax_t.
27546         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
27547         intmax_t.
27548         * rt/tst-mqueue4.c (do_test): Likewise.
27549         * rt/tst-timer4.c: Include <stdint.h>.
27550         (check_ts): Replace %ld with %jd and cast to intmax_t.
27551         (do_test): Likewise.
27552         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
27553         and cast to intmax_t.
27554         * sysdeps/pthread/tst-timer.c (main): Likewise.
27555         * time/clocktest.c (main): Likewise.
27556         * time/tst-posixtz.c (do_test): Likewise.
27557         * timezone/tst-timezone.c (main): Likewise.
27559 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27560             H.J. Lu  <hongjiu.lu@intel.com>
27562         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
27563         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
27564         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
27565         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
27566         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
27567         version if bit_Fast_Unaligned_Load is set.
27568         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27569         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27570         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27571         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27572         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27573         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27574         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27575         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
27576         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
27577         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
27578         to 4.
27579         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
27580         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
27581         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
27582         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
27584 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
27586         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
27587         instead of #if to avoid a Wundef warning.
27588         * stdlib/tst-limits.c (do_test): Likewise.
27590         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
27591         parallel other exception macros.
27592         (fegetenv): Convert from macro to extern inline so that it applies
27593         retroactively to inline functions already seen by the compiler.
27594         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
27596         * posix/Makefile (before-compile): Use $(objpfx) for
27597         posix-conf-vars-def.h.
27599 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27601         * posix/getconf.c (main): Use size_t for type of I.
27602         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
27603         NSPEC.
27605         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
27606         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
27607         * posix/posix-envs.def: Likewise.
27608         * sysdeps/posix/sysconf.c: Likewise.
27609         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
27610         (specs): Remove array.
27611         * scripts/gen-posix-conf-vars.awk: Support generation of specs
27612         array.
27614         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
27615         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
27616         (__sysconf): Use CONF_IS_* macros.
27618         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
27619         ($(objpfx)posix-conf-vars-def.h): New target.
27620         * posix/posix-conf-vars.list: New file.
27621         * posix/posix-conf-vars.h: New file.
27622         * posix/confstr.c: Include posix-conf-vars.h.
27623         (confstr): Use CONF_IS_* macros.
27624         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
27625         CONF_IS_* macros.
27626         * scripts/gen-posix-conf-vars.awk: New file.
27628 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
27630         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
27631         fegetround): Add no-op macros to avoid linknamespace issues.
27633         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
27634         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
27636         * sysdeps/unix/sysv/linux/tile/sysdep.h
27637         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
27638         assembly-specific section to avoid a redefinition warning.
27640         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
27641         long before casting to pointer to avoid a cast warning.
27643 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
27645         * sysdeps/tile/tilegx/Implies: New file.
27647 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
27649         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
27651 2014-12-23  Florian Weimer  <fweimer@redhat.com>
27653         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
27655 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
27657         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
27658         not define.
27659         * sysdeps/unix/sysv/linux/utimes.c: Do not include
27660         <kernel-features.h>.
27661         (__utimes) [__NR_utimes]: Make code unconditional.
27662         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
27663         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27664         (__ASSUME_UTIMES): Do not undefine.
27665         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27666         (__ASSUME_UTIMES): Likewise.
27667         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27668         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
27669         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
27670         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
27672 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
27674         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
27676 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
27678         [BZ #17747]
27679         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
27680         alias to weak alias for j0l, y0l.
27681         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
27682         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
27684         [BZ #17746]
27685         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
27686         conversion.
27688 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
27690         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
27691         to zero if not already defined.
27693 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
27695         [BZ #17724]
27696         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
27697         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
27698         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
27699         (char *) casts added.
27700         * sysdeps/ieee754/k_standardf.c: New file.
27701         * sysdeps/ieee754/k_standardl.c: Likewise.
27702         * math/Makefile (libm-support): Remove k_standard.
27703         (libm-calls): Add k_standard.
27705 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27707         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27708         Optimize to avoid an unnecessary FPCR read.
27710 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27712         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
27713         Optimize to reduce FPCR/FPSR accesses.
27715 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27717         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
27718         Call libc_fetestexcept_aarch64.
27720 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27722         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
27723         Call libc_fesetround_aarch64.
27725 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
27727         [BZ #17733]
27728         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
27729         (__bind): Do not define as weak alias.
27730         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
27731         define.
27732         (__getsockname): Do not define as weak alias.
27734 2014-12-22  Will Newton  <will.newton@linaro.org>
27736         * manual/install.texi: Document that we require bison 2.7
27737         or above.
27738         * INSTALL: Regenerate.
27739         * configure.ac: Use AC_CHECK_PROG_VER instead of
27740         AC_PATH_PROG when checking for bison and check for
27741         version 2.7 or above.
27742         * configure: Regenerate.
27744 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
27746         [BZ #17745]
27747         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
27748         * sysdeps/tile/ffsll.c (ffsll): To here.
27750         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
27752 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
27754         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
27755         if not defined.
27756         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
27757         definition.
27758         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
27759         hidden ___tls_get_addr.
27760         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
27761         hidden __tls_get_addr.
27762         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
27763         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
27764         Likewise.
27766 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
27768         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
27769         _dl_init call.
27771 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
27773         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
27774         from "call _dl_init@PLT".
27775         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
27777 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
27779         * manual/search.texi: (Array Sort Function): Clarify stable sorting
27780         guarantees.
27782 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
27784         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
27786 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
27788         [BZ #17744]
27789         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
27790         strnlen.
27792 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
27794         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
27795         of multu on MIPSr6.
27796         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
27797         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
27798         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
27799         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
27800         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
27802 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
27804         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
27805         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
27806         (PTR_SUBU): Use subu for mips32r6/mips64r6.
27807         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
27808         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
27809         mips32r6/mips64r6.
27810         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
27812 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
27814         * string/strncat.c (STRNCAT): Simplify implementation.
27816 2014-12-19  David S. Miller  <davem@davemloft.net>
27818         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
27819         access the quad as both a long double and as a series of 4 words.
27821         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
27822         link_map->l_info array access.
27824 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
27826         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
27828         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
27829         * math/atest-exp2.c (TIMEOUT): Likewise.
27830         * math/atest-sincos.c (TIMEOUT): Likewise.
27832 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
27834         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
27835         -Wno-error with -fno-builtin-lround.
27837 2014-12-19  Torvald Riegel  <triegel@redhat.com>
27839         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
27840         Contains futex constants and functions moved over from ...
27841         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
27842         <lowlevellock-futex.h>.
27843         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
27844         (lll_timedwait_tid): Add comments and parentheses around macro
27845         arguments.
27847 2014-12-19  Torvald Riegel  <triegel@redhat.com>
27849         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
27850         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
27851         (__lll_private_flag): Remove.
27852         (lll_futex_wait): Likewise.
27853         (lll_futex_timed_wait): Likewise.
27854         (lll_futex_wake): Likewise.
27855         (lll_futex_requeue): Likewise.
27856         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
27857         (__lll_timedwait_tid): Spell out argument names.
27858         (lll_timedwait_tid): Add comments and parentheses around macro
27859         arguments.
27860         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
27861         LLL_SHARED and LLL_PRIVATE usable from assembly code.
27863 2014-12-19  Torvald Riegel  <triegel@redhat.com>
27865         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
27866         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27867         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27868         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
27869         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
27870         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
27871         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
27872         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
27873         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
27874         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
27875         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
27876         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
27877         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
27878         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
27879         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
27880         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
27881         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
27882         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
27883         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
27885 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
27887         * sysdeps/x86_64/x32/Makefile: New file.
27889 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
27891         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
27892         1L with (mp_limb_t) 1.
27894 2014-12-17  Roland McGrath  <roland@hack.frob.com>
27896         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
27897         * nptl/libc_pthread_init.c: ... here.
27898         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
27899         * nptl/register-atfork.c: ... here.
27901         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
27902         Use pthread_sigmask rather than INTERNAL_SYSCALL.
27903         Use assert_perror to check its return value.
27904         (__gai_create_helper_thread): Likewise.
27906         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
27908         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
27910 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
27912         [BZ #17725]
27913         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
27914         __profil_counter.
27915         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
27916         Likewise.
27917         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
27918         Likewise.
27919         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
27920         Likewise.
27921         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
27922         (profil_counter): Likewise.
27923         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
27924         (profil_counter): Likewise.
27925         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
27926         Likewise.
27927         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
27928         Likewise.
27929         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
27930         (profil_counter): Likewise.
27931         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
27932         Likewise.
27933         [!__profil_counter] (profil_counter): Define as weak alias of
27934         __profil_counter.
27935         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
27936         (profil_counter): Rename to __profil_counter.
27937         [!__profil_counter] (profil_counter): Define as weak alias of
27938         __profil_counter.
27939         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
27940         (profil_counter): Rename to __profil_counter.
27941         [!__profil_counter] (profil_counter): Define as weak alias of
27942         __profil_counter.
27943         * sysdeps/posix/profil.c: Update comment referring to
27944         profil_counter.
27945         (__profil): Use __profil_counter instead of profil_counter.
27946         * sysdeps/posix/sprofil.c (profil_counter): Rename to
27947         __profil_counter.  Use __profil_counter_ushort and
27948         __profil_counter_uint in definitions.
27949         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
27950         instead of profil_counter_uint and profil_counter_ushort.
27952         [BZ #17722]
27953         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
27954         define as weak alias of __inet_makeaddr.
27955         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
27956         as weak alias of __inet_addr.
27957         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
27958         as weak alias of __inet_pton.  Use libc_hidden_weak.
27959         * include/arpa/inet.h (__inet_pton): Declare.  Use
27960         libc_hidden_proto.
27961         (inet_makeaddr): Don't use libc_hidden_proto.
27962         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
27963         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
27964         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
27965         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
27966         Remove variable.
27967         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
27968         (test-xfail-POSIX/time.h/linknamespace): Likewise.
27970 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
27972         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
27974 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
27976         * stdio-common/bug-vfprintf-nargs.c (do_test):
27977         Cast value to intptr_t to avoid format warning
27978         for usage with PRIdPTR printing macro.
27980 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
27982         * libio/tst-widetext.c (do_test):
27983         Use format type %td instead of %Zd for ptrdiff_t
27984         in order to avoid format warning.
27986 2014-12-17  Andreas Schwab  <schwab@suse.de>
27988         * nscd/mem.c (gc): Add size_t cast to match printf format.
27990 2014-12-16  Roland McGrath  <roland@hack.frob.com>
27992         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
27993         (init): Apply PTR_MANGLE to pointers before storing them.
27994         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
27995         before using them.
27997 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
27999         [BZ #17719]
28000         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
28001         define as weak alias of __memrchr.
28002         (__memrchr): Do not define as strong alias of memrchr.
28003         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
28004         Remove variable.
28005         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28006         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28007         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28009         [BZ #17717]
28010         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
28011         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
28012         (if_indextoname): Rename to __if_indextoname and define as weak
28013         alias of __if_indextoname.  Use libc_hidden_weak.
28014         (if_freenameindex): Rename to __if_freenameindex and define as
28015         weak alias of __if_freenameindex.
28016         (if_nameindex): Rename to __if_nameindex and define as weak alias
28017         of __if_nameindex.
28018         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
28019         __if_nametoindex and define as weak alias of __if_nametoindex.
28020         Use libc_hidden_weak.
28021         (if_freenameindex): Rename to __if_freenameindex and define as
28022         weak alias of __if_freenameindex.
28023         (if_nameindex): Rename to __if_nameindex and define as weak alias
28024         of __if_nameindex.
28025         (if_indextoname): Rename to __if_indextoname and define as weak
28026         alias of __if_indextoname.  Use libc_hidden_weak.
28027         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
28028         __if_nametoindex and define as weak alias of __if_nametoindex.
28029         Use libc_hidden_weak.
28030         (if_freenameindex): Rename to __if_freenameindex and define as
28031         weak alias of __if_freenameindex.  Use libc_hidden_weak.
28032         (if_nameindex_netlink): Use __if_freenameindex instead of
28033         if_freenameindex.
28034         (if_nameindex): Rename to __if_nameindex and define as weak alias
28035         of __if_nameindex.  Use libc_hidden_weak.
28036         (if_indextoname): Rename to __if_indextoname and define as weak
28037         alias of __if_indextoname.  Use libc_hidden_weak.
28038         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
28039         libc_hidden_proto.
28040         [!_ISOMAC] (__if_freenameindex): Likewise.
28041         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
28042         if_nametoindex.
28043         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
28044         variable.
28045         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28046         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28047         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28048         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28049         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28050         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28051         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28053         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
28054         Remove variable.
28055         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28056         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28058 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28060         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
28061         subscript above bounds'
28063         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
28064         bounds.
28066 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
28068         * libio/tst-fopenloc.c: Use test-skeleton.c.
28070         * stdlib/tst-bsearch.c: Use test-skeleton.c.
28071         (entry): Rename to ITEM.
28072         (do_test, comp): Adjust.
28074         * stdio-common/tst-fseek.c: Use test-skeleton.c.
28076 2014-12-16  Torvald Riegel  <triegel@redhat.com>
28078         * string/tester.c: Include <libc-internal.h>.
28079         (test_memset): Ignore -Wmemset-transposed-args.
28081 2014-12-16  Torvald Riegel  <triegel@redhat.com>
28083         * misc/tst-mntent2.c (do_test): Fix warning.
28085 2014-12-16  Torvald Riegel  <triegel@redhat.com>
28087         * elf/tst-unique4lib.cc(a): Mark as used.
28089 2014-12-16  Florian Weimer  <fweimer@redhat.com>
28091         [BZ #17630]
28092         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
28093         names.
28095 2014-12-16  Allan McRae  <allan@archlinux.org>
28097         * stdio-common/Makefile (tests): Re-add bug26.
28099 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
28101         [BZ #17657]
28102         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
28103         static array.
28105 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
28107         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
28108         (__lll_lock_wait): Likewise.
28109         (__lll_timedlock_wait): Likewise.
28110         (__lll_timedwait_tid): Likewise.
28111         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
28112         (__lll_robust_timedlock_wait): Likewise.
28113         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
28114         (lll_cond_trylock): Likewise.
28115         (__lll_lock): Likewise.
28116         (__lll_robust_lock): Likewise.
28117         (__lll_cond_lock): Likewise.
28118         (lll_robust_cond_lock): Likewise.
28119         (__lll_timedlock): Likewise.
28120         (__lll_robust_timedlock): Likewise.
28121         (__lll_unlock): Likewise.
28122         (__lll_robust_unlock): Likewise.
28123         (lll_wait_tid): Likewise.
28124         (lll_timedwait_tid): Likewise.
28126 2014-12-15  Torvald Riegel  <triegel@redhat.com>
28128         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
28130 2014-12-15  Torvald Riegel  <triegel@redhat.com>
28132         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
28134 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
28136         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
28137         * stdio-common/tst-sprintf.c: Likewise.
28139 2014-12-15  Torvald Riegel  <triegel@redhat.com>
28141         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
28143 2014-12-15  Jeff Law  <law@redhat.com>
28145         [BZ #16617]
28146         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
28147         on the heap.  (CVE-2012-3406)
28148         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
28149         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
28150         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
28152 2014-12-15  Will Newton  <will.newton@linaro.org>
28154         * manual/install.texi: Bump required version of texinfo
28155         to 4.7 from 4.5.
28156         * INSTALL: Regenerated.
28157         * configure.ac: Check for makeinfo version 4.7 and above.
28158         * configure: Regenerated.
28160 2014-12-12  Roland McGrath  <roland@hack.frob.com>
28162         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
28163         PREFIX, string constant to insert between directory and name.
28164         * sysdeps/posix/shm_open.c: Update caller.
28165         * sysdeps/posix/shm_unlink.c: Likewise.
28166         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
28167         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
28168         (SEM_SHM_PREFIX): New macro.
28169         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
28170         [$(have-thread-library) = no].
28171         * nptl/Makefile (libpthread-routines): Add shm-directory.
28172         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
28173         * sysdeps/nptl/shm-directory.h: New file.
28174         * sysdeps/posix/shm-directory.c
28175         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
28176         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
28177         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
28178         INTERNAL_SYSCALL.
28179         (__where_is_shmfs): Function removed.
28180         (mountpoint, defaultmount, defaultdir, __namedsem_once):
28181         Variables removed.
28182         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
28183         Use SHM_GET_NAME.
28184         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
28186         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
28187         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
28188         unconditional for use inside libpthread.
28189         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
28191 2014-12-12  Roland McGrath  <roland@hack.frob.com>
28193         * nptl/pthread_getaffinity.c: New file.
28194         * nptl/pthread_setaffinity.c: New file.
28195         * nptl/pthread_getname.c: New file.
28196         * nptl/pthread_setname.c: New file.
28198         * nptl/pthread_create.c (START_THREAD_DEFN)
28199         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
28201 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28202             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28204         * resolv/res_send.c (send_vc): Disable warning resplen may
28205         be used uninitialized.
28207 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28209         * nptl/tst-mutex6.c
28210         (ATTR_NULL): New define checks ATTR against NULL.
28211         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
28212         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
28214 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
28216         [BZ #17581]
28217         * malloc/hooks.c
28218         (mem2mem_check): Revert my previous change.
28219         (malloc_check_get_size): Revert my previous change.
28220         (mem2chunk_check): Revert my previous change.
28222 2014-12-11  Roland McGrath  <roland@hack.frob.com>
28224         * sysdeps/posix/shm-directory.c: New file.
28225         * sysdeps/posix/shm-directory.h: New file.
28226         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
28227         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
28228         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
28229         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
28230         Transmute EPERM to EACCES.
28231         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
28232         from ...
28233         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
28234         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
28236 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28238         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
28239         pointer and cast to uintptr_t.
28240         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
28241         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
28242         Add cast to avoid warning.
28243         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
28245 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
28247         * nptl/semaphore.h: Move to ...
28248         * sysdeps/pthread/semaphore.h: ... here.
28249         * Makefile (installed-headers): Change nptl/semaphore.h to
28250         sysdeps/pthread/semaphore.h.
28252 2014-12-11  Roland McGrath  <roland@hack.frob.com>
28254         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
28255         generated error format strings.
28257         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
28258         -Wformat-extra-args warnings for scanf formats.
28259         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
28260         test of zero-length format (duh).
28261         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
28262         corner-case scanf format test.
28263         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
28264         generated fprintf format string.
28265         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
28266         corner-case sprintf format tests.
28267         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
28268         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
28269         -Wformat-extra-args warnings throughout.
28270         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
28271         (CFLAGS-scanf4.c): Likewise.
28272         (CFLAGS-scanf7.c): Likewise.
28273         (CFLAGS-tst-sprintf.c): Likewise.
28274         (CFLAGS-tst-printf.c): Likewise.
28275         (CFLAGS-tst-printfsz.c): Likewise.
28277 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
28279         * include/cpio.h: New file.
28280         * include/fmtmsg.h: Likewise.
28282         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
28283         corresponding format argument to size_t.
28284         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
28285         arguments.
28286         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
28287         corresponding format argument to size_t.
28288         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
28289         arguments.
28290         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
28291         corresponding format argument to size_t.
28292         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
28293         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
28294         (CFLAGS-tst-mbswcs2.c): Likewise.
28295         (CFLAGS-tst-mbswcs3.c): Likewise.
28296         (CFLAGS-tst-mbswcs4.c): Likewise.
28297         (CFLAGS-tst-mbswcs5.c): Likewise.
28298         (CFLAGS-tst-trans.c): Likewise.
28300 2014-12-11  Roland McGrath  <roland@hack.frob.com>
28302         * posix/regexbug1.c (main): Use "%s" format with regerror results,
28303         rather than assuming they won't contain any '%'s.
28305 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
28307         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
28308         inhibit_loop_to_libcall to avoid recursive calls.
28309         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
28310         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
28312 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
28314         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
28315         prototype.
28317 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
28319         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
28320         integer value instead of boolean.
28322 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
28324         * malloc/malloc.c: Fix powerof2 check.
28326 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
28328         * locale/programs/locfile.h (maybe_swap_uint32):
28329         Remove inline and add unused attribute.
28331 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
28333         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28334         Truncating assembler expression to a .long expression.
28336 2014-12-11  Andreas Schwab  <schwab@suse.de>
28338         * elf/rtld.c (struct map_args): Constify str member.
28339         (do_preload): Constify fname argument.
28341 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28343         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
28344         constants definition.
28346 2014-12-11  Andreas Schwab  <schwab@suse.de>
28348         [BZ #16657]
28349         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
28350         FORCE_ELISION instead of DO_ELISION.
28351         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
28352         Remove.
28353         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
28354         Likewise.
28356         * iconvdata/gconv-modules: Remove duplicate entry.
28358 2014-12-11  Will Newton  <will.newton@linaro.org>
28360         Merge gettext 0.19.3 into intl/.
28362         This involves a number of cosmetic changes to comments
28363         and ANSI function definitions and prototypes throughout
28364         all the files. The gettext copyright header is used but
28365         with the date ranges taken from the glibc copy.
28367         * NEWS: Add gettext merge to 2.21.
28368         * intl/bindtextdom.c: Switch to gettext copyright.
28369         Use ANSI definitions and prototypes.
28370         Use gl_* locking primitives rather than __libc_* ones.
28371         Use __builtin_expect rather than __glibc_likely/unlikely.
28372         * intl/dcgettext.c: Switch to gettext copyright.
28373         Use ANSI definitions and prototypes.
28374         * intl/dcigettext.c: Switch to gettext copyright.
28375         Use ANSI definitions and prototypes.
28376         (INTDIV0_RAISES_SIGFPE): New define.
28377         Use gl_* locking primitives rather than __libc_* ones.
28378         Include eval-plural.h instead of plural-eval.c.
28379         Use __builtin_expect rather than __glibc_likely/unlikely.
28380         * intl/dcngettext.c: Switch to gettext copyright.
28381         Use ANSI definitions and prototypes.
28382         * intl/dgettext.c: Likewise.
28383         * intl/dngettext.c: Likewise.
28384         * intl/plural-eval.c: Renamed to...
28385         * intl/eval-plural.h: ...this.
28386         * intl/explodename.c: Switch to gettext copyright.
28387         Use ANSI definitions and prototypes.
28388         (_nl_explode_name): Use strchr instead of __rawmemchr.
28389         * intl/finddomain.c: Switch to gettext copyright.
28390         Use ANSI definitions and prototypes.
28391         Use gl_* locking primitives rather than __libc_* ones.
28392         (_nl_find_domain): Use malloc rather than alloca for
28393         allocation of temporary locale name.
28394         * intl/gettext.c: Switch to gettext copyright.
28395         Use ANSI definitions and prototypes.
28396         * intl/gettextP.h: Switch to gettext copyright.
28397         Use ANSI definitions and prototypes.
28398         Use gl_* locking primitives rather than __libc_* ones.
28399         * intl/gmo.h: Switch to gettext copyright.
28400         (struct sysdep_string): Move struct segment_pair outside of
28401         struct definition.
28402         * intl/hash-string.c: Use ANSI definitions and prototypes.
28403         * intl/hash-string.h: Switch to gettext copyright.
28404         Use ANSI definitions and prototypes.
28405         * intl/l10nflist.c: Switch to gettext copyright.
28406         Use ANSI definitions and prototypes.
28407         (_nl_normalize_codeset): Avoid integer overflow.
28408         * intl/loadinfo.h: Switch to gettext copyright.
28409         Use ANSI definitions and prototypes.
28410         (LIBINTL_DLL_EXPORTED): New define.
28411         (PATH_SEPARATOR): New define.
28412         * intl/loadmsgcat.c: Switch to gettext copyright.
28413         * intl/localealias.c: Switch to gettext copyright.
28414         Use ANSI definitions and prototypes.
28415         (_nl_expand_alias): Use PATH_SEPARATOR.
28416         * intl/ngettext.c: Switch to gettext copyright.
28417         Use ANSI definitions and prototypes.
28418         * intl/plural-exp.c: Likewise.
28419         * intl/plural-exp.h: Switch to gettext copyright.
28420         Use ANSI definitions and prototypes.
28421         (struct expression): Move definition of enum operator outside
28422         of struct definition.
28423         * intl/plural.c: Regenerate.
28424         * intl/plural.y: Switch to gettext copyright.
28425         Use ANSI definitions and prototypes.
28426         Port to bison 3.0.
28427         * intl/textdomain.c: Switch to gettext copyright.
28428         Use ANSI definitions and prototypes.
28429         Use gl_* locking primitives rather than __libc_* ones.
28431 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
28433         * debug/warning-nop.c: Add used atrribute.
28435 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28437         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
28439         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
28440         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
28441         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
28443 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28444             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28446         [BZ #17634]
28447         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
28448         Undefine after defining function.  Define as weak alias of
28449         __wcschr.  Use libc_hidden_weak.
28450         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
28451         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
28452         (libc_hidden_def): Also define __GI___wcschr alias.
28453         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
28454         __wcschr and define as weak alias of __wcschr.
28455         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
28456         __wcschr.
28457         [!WCSCHR] (DEFAULT_WCSCHR): Define.
28458         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
28459         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
28460         libc_hidden_weak.  Do not use libc_hidden_def.
28461         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
28462         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
28463         __GI___wcschr alias.
28464         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
28465         [IS_IN (libc)] (wcschr): Define as macro expanding to
28466         __redirect_wcschr.
28467         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
28468         [IS_IN (libc)] (__wcschr_power6): Likewise.
28469         [IS_IN (libc)] (__wcschr_power7): Likewise.
28470         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
28471         instead of wcschr.
28472         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
28473         __libc_wcschr.
28474         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
28475         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
28476         __wcschr and define as weak alias of __wcschr.  Use
28477         libc_hidden_builtin_def.
28478         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
28479         as weak alias of __wcschr.  Use libc_hidden_weak.
28480         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
28481         wcschr.
28482         * time/era.c (_nl_init_era_entries): Likewise.
28483         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
28484         variable.
28485         (test-xfail-XPG3/time.h/linknamespace): Likewise.
28486         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28488 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28490         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
28491         format for long int variable.
28493 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
28495         [BZ #10672]
28496         * manual/search.texi: (Array Sort Function): Remove claim how to make
28497         qsort stable.
28499 2014-12-10  Andreas Schwab  <schwab@suse.de>
28501         [BZ #12847]
28502         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
28503         user-controlled locks.
28505 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
28507         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
28508         register.
28510 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28512         * configure.ac (--disable-werror): New configure option.
28513         (enable_werror): New AC_SUBST.
28514         * configure: Regenerated.
28515         * config.make.in (enable-werror): New variable.
28516         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
28517         -Wno-error=undef.
28518         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
28519         * manual/install.texi (Configuring and compiling): Document
28520         --disable-werror.
28521         * INSTALL: Regenerated.
28522         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
28523         (CFLAGS-tst-chk2.c): Likewise.
28524         (CFLAGS-tst-chk3.c): Likewise.
28525         (CFLAGS-tst-chk4.cc): Likewise.
28526         (CFLAGS-tst-chk5.cc): Likewise.
28527         (CFLAGS-tst-chk6.cc): Likewise.
28528         (CFLAGS-tst-lfschk1.c): Likewise.
28529         (CFLAGS-tst-lfschk2.c): Likewise.
28530         (CFLAGS-tst-lfschk3.c): Likewise.
28531         (CFLAGS-tst-lfschk4.cc): Likewise.
28532         (CFLAGS-tst-lfschk5.cc): Likewise.
28533         (CFLAGS-tst-lfschk6.cc): Likewise.
28535         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
28536         (main): Disable -Wdeprecated-declarations around calls to
28537         register_printf_function.
28539         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
28540         (do_test): Disable -Wdiv-by-zero around some calls to
28541         fwrite_unlocked and fread_unlocked.
28543         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
28544         (DIAG_POP_NEEDS_COMMENT): Likewise.
28545         (_DIAG_STR1): Likewise.
28546         (_DIAG_STR): Likewise.
28547         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
28548         * stdio-common/bug21.c: Include <libc-internal.h>.
28549         (do_test): Disable -Wformat around call to sscanf.
28550         * stdio-common/scanf14.c: Include <libc-internal.h>.
28551         (main): Disable -Wformat around some calls to scanf functions.
28553 2014-12-09  Torvald Riegel  <triegel@redhat.com>
28555         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
28557 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28559         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
28560         stack variable alignment.
28562 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
28564         [BZ #17682]
28565         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
28566         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
28567         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
28568         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
28569         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
28570         __getrlimit instead of getrlimit.
28571         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
28572         __gettimeofday instead of gettimeofday.
28573         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28574         Likewise.
28575         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28576         Likewise.
28577         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28578         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
28579         Remove variable.
28580         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28581         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28583 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28585         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
28586         for wide-character tests.
28588 2014-12-04  Roland McGrath  <roland@hack.frob.com>
28590         * io/openat64.c: #include <libc-internal.h>
28591         (__openat64): Prototypify.  Use ignore_value on MODE.
28592         * io/openat.c: Likewise.
28593         * misc/reboot.c: #include <libc-internal.h>
28594         (reboot): Prototypify.  Use ignore_value on HOWTO.
28595         * misc/ptrace.c: #include <libc-internal.h>
28596         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
28598 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
28600         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
28601         XPG4, UNIX98 and XOPEN2K.
28602         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
28603         Remove variable.
28604         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28606 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28608         * libio/fileops.c: Use ISO C style for function definitions.
28609         * libio/iofopen.c: Likewise.
28610         * libio/wfileops.c: Likewise.
28612         [BZ #17653]
28613         * libio/fileops.c (_IO_new_file_underflow): Unset cached
28614         offset on EOF.
28615         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
28616         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
28617         (fgets_func): Function pointer to fgets and fgetws.
28618         (do_ftell_test): Add test to verify ftell value after read
28619         EOF.
28620         (do_test): Set fgets_func.
28622         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
28623         O_TRUNC flag for w and w+ modes.
28624         (do_rewind_test): Likewise.
28625         (do_ftell_test): Likewise.
28626         (do_write_test): Likewise.
28628         [BZ #17647]
28629         * libio/fileops.c (do_ftell): Seek only when there are
28630         unflushed writes.
28631         * libio/wfileops.c (do_ftell_wide): Likewise.
28632         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
28633         test case.
28634         (do_one_test): Call it.
28636 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
28638         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
28639         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
28640         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
28641         Remove variable.
28642         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28643         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28644         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28646 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
28648         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
28649         Remove variable.
28650         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28652         [BZ #17668]
28653         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
28654         as weak alias of __getifaddrs.  Use libc_hidden_weak.
28655         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28656         __freeifaddrs.  Use libc_hidden_weak.
28657         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
28658         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
28659         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28660         __freeifaddrs.  Use libc_hidden_weak.
28661         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
28662         __getifaddrs and define as weak alias of __getifaddrs.  Use
28663         libc_hidden_weak.
28664         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28665         __freeifaddrs.  Use libc_hidden_weak.
28666         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
28667         Remove variable.
28668         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28669         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28671 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
28673         [BZ #17601]
28674         * sysdeps/mips/start.S (__start): Use indirect jump to call
28675         __libc_start_main.
28677 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
28679         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
28681         * nptl/tst-mutex1.c: Include <stdbool.h>.
28682         [!ATTR] (ATTR_NULL): New macro.
28683         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
28684         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
28685         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
28687         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
28688         to char *.
28690         [BZ #17665]
28691         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
28692         Change conditional to [__USE_MISC].
28694         [BZ #17664]
28695         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
28696         fgets_unlocked.
28697         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
28698         __fgets_unlocked.
28699         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
28700         fgets_unlocked.
28701         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
28702         Remove variable.
28703         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28704         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28705         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28706         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28707         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28708         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28709         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
28710         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28711         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28713         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
28715 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28717         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28718         Remove strpbrk objects.
28719         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28720         (__libc_ifunc_impl_list): Remove strpbrk implementation.
28721         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
28722         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
28723         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
28724         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
28726         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28727         Remove strcspn objects.
28728         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28729         (__libc_ifunc_impl_list): Remove strcspn implementation.
28730         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
28731         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
28732         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
28733         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
28735         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28736         Remove strspn objetcs.
28737         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28738         (__libc_ifunc_impl_list): Remove strspn implementation.
28739         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
28740         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
28741         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
28742         * sysdeps/powerpc/powerpc64/strspn.S: New file.
28744 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
28746         [BZ #17581]
28747         * malloc/hooks.c
28748         (mem2mem_check): Add a terminator to the chain of checking blocks.
28749         (malloc_check_get_size): Use it here.
28750         (mem2chunk_check): Ditto.
28752 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28754         * sysdeps/powerpc/powerpc64/strtok.S: New file.
28755         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
28757 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
28759         * bits/ioctl-types.h: Indent preprocessor directives correctly.
28761         * nptl/nptl-init.c: Include libc-internal.h.
28762         (__pthread_initialize_minimal_internal): Use ROUND_UP.
28764         * elf/ldconfig.c (search_dir): Expand comment.
28766 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
28768         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
28769         variable.
28770         (linknamespace-symlist-stdlibs-tests): Likewise.
28771         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
28772         instead of $(objpfx)symlist-stdlibs.
28773         (linknamespace-libs-isoc): New variable.
28774         (linknamespace-libs): Use $(linknamespace-libs-isoc).
28775         (linknamespace-libs-ISO): New variable.
28776         (linknamespace-libs-ISO99): Likewise.
28777         (linknamespace-libs-ISO11): Likewise.
28778         (linknamespace-libs-XPG3): Likewise.
28779         (linknamespace-libs-XPG4): Likewise.
28780         (linknamespace-libs-POSIX): Likewise.
28781         (linknamespace-libs-UNIX98): Likewise.
28782         (linknamespace-libs-XOPEN2K): Likewise.
28783         (linknamespace-libs-POSIX2008): Likewise.
28784         (linknamespace-libs-XOPEN2K8): Likewise.
28785         ($(objpfx)symlist-stdlibs): Replace by
28786         $(linknamespace-symlist-stdlibs-tests).  Use
28787         $(linknamespace-libs-$*) as set of libraries.
28788         ($(linknamespace-header-tests)): Update dependencies.  Use
28789         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
28790         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
28791         * conform/linknamespace.pl: Remove comment about considering
28792         definitions of symbols from irrelevant libraries.
28794 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
28796         [BZ #13862]
28797         * elf/dl-tls.c: Include <atomic.h>.
28798         (oom): Remove #ifdef SHARED/#endif.
28799         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
28800         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
28801         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
28802         big enough.
28803         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
28804         * nptl/Makefile (tests): Add tst-stack4.
28805         (modules-names): Add tst-stack4mod.
28806         ($(objpfx)tst-stack4): New.
28807         (tst-stack4mod.sos): Likewise.
28808         ($(objpfx)tst-stack4.out): Likewise.
28809         ($(tst-stack4mod.sos)): Likewise.
28810         (clean): Likewise.
28811         * nptl/tst-stack4.c: New file.
28812         * nptl/tst-stack4mod.c: Likewise.
28814 2014-11-27  J. Brown  <jb999@gmx.de>
28816         * sysdeps/x86/bits/string.h: Add recent CPUs.
28818 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
28820         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
28821         sigblock.
28823         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
28824         feof.
28826         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
28827         variable.
28829 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
28831         * nscd/connections.c: Include libc-internal.h because of macro
28832         usage ignore_value.
28834 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28836         * string/bits/string3.h (__warn_memset_zero_len): Don't
28837         declare for gcc newer than 5.0.
28838         (memset): Don't test for zero-length __LEN for gcc newer than
28839         5.0.
28841 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
28843         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
28844         size_t for %zu format.
28846         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
28847         difference, not %ju.
28849 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
28851         * include/libc-internal.h (ignore_value): New macro.
28852         * nscd/connections.c (restart): Wrap calls to setuid and setgid
28853         with ignore_value.
28855         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
28856         definition.
28858         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
28859         pthread_cleanup_push to void *.
28861         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
28862         Undefine.
28864         [BZ #16619]
28865         [BZ #16740]
28866         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
28867         instead of 1L << 52.
28869         * libio/bug-rewind.c (do_test): Check fwscanf return values.
28870         * libio/bug-rewind2.c (do_test): Likewise.
28872         * debug/test-stpcpy_chk-ifunc.c: Remove file.
28873         * debug/test-strcpy_chk-ifunc.c: Likewise.
28874         * wcsmbs/test-wcschr-ifunc.c: Likewise.
28875         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28876         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28877         * wcsmbs/test-wcslen-ifunc.c: Likewise.
28878         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28879         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28880         * Rules [$(multi-arch) = no] (tests): Do not filter out
28881         $(tests-ifunc).
28882         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
28883         * debug/Makefile (tests-ifunc): Remove variable.
28884         (tests): Do not add $(tests-ifunc).
28885         * wcsmbs/Makefile (tests-ifunc): Remove variable.
28886         (tests): Do not add $(tests-ifunc).
28887         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
28888         [TEST_IFUNC]: Remove conditionals.
28889         * string/test-string.h (TEST_IFUNC): Remove macro.
28890         [TEST_IFUNC]: Remove conditionals.
28892         * string/test-strchr.c [!WIDE] (L): New macro.
28893         [WIDE] (L): Likewise.
28894         (check1): Use CHAR instead of char.  Use L on string and character
28895         constants.
28897 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
28899         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
28900         tests.
28901         * sysdeps/powerpc/bits/atomic.h
28902         (__arch_atomic_exchange_and_add_32_acq): Add definition.
28903         (__arch_atomic_exchange_and_add_32_rel): Likewise.
28904         (atomic_exchange_and_add_acq): Likewise.
28905         (atomic_exchange_and_add_rel): Likewise.
28906         * sysdeps/powerpc/powerpc32/bits/atomic.h
28907         (__arch_atomic_exchange_and_add_64_acq): Add definition.
28908         (__arch_atomic_exchange_and_add_64_rel): Likewise.
28909         * sysdeps/powerpc/powerpc64/bits/atomic.h
28910         (__arch_atomic_exchange_and_add_64_acq): Add definition.
28911         (__arch_atomic_exchange_and_add_64_rel): Likewise.
28913 2014-11-26  Torvald Riegel  <triegel@redhat.com>
28915         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
28916         Change synchronization of __sched_fifo_min_prio and
28917         __sched_fifo_max_prio.
28918         * nptl/pthread_mutexattr_getprioceiling.c
28919         (pthread_mutexattr_getprioceiling): Likewise.
28920         * nptl/pthread_mutexattr_setprioceiling.c
28921         (pthread_mutexattr_setprioceiling): Likewise.
28922         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28923         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
28924         Likewise.
28926 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
28928         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
28929         void.
28931 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
28933         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
28934         third argument const.
28936 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
28938         fnmatch: work around GCC compiler warning bug with uninit var
28939         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
28940         This works around a bug with x86-64 GCC 4.9.2 and earlier
28941         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
28942         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
28943         used uninitialized in this function [-Wmaybe-uninitialized]".
28945 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
28947         * posix/bug-regex31.c (main): Return RES not 0.
28949 2014-11-25  Anton Blanchard <anton@samba.org>
28951         * sysdeps/powerpc/bits/atomic.h
28952         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
28954 2014-11-24  Sterling Augustine  <saugustine@google.com>
28956         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
28958 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
28960         [BZ #17608]
28961         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
28963 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
28965         [BZ #17633]
28966         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
28967         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
28968         variable.
28969         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28970         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28972 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
28974         * string/strncpy.c (strncpy): Improve performance by using memset.
28976 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
28978         * string/strcpy.c (strcpy):
28979         Improve performance by using strlen and memcpy.
28981 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
28983         * string/strcoll_l.c (get_next_seq): __always_inline.
28984         * string/strcoll_l.c (do_compare): __always_inline.
28986 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28988         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
28989         defined.
28990         * include/mqueue.h: Likewise.
28991         * include/stdlib.h: Likewise.
28993         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
28994         (get_null_defines): Adjust.
28995         * sunrpc/Makefile: Adjust comment.
28996         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
28997         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
28998         (CFLAGS-interp.c): Likewise.
28999         (CFLAGS-ldconfig.c): Likewise.
29000         (CPPFLAGS-.os): Likewise.
29001         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29002         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
29003         * extra-modules.mk (extra-modules.mk): Likewise.
29004         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
29005         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
29006         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
29007         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
29008         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
29009         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
29010         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
29011         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
29012         * iconvdata/Makefile (CPPFLAGS): Likewise.
29013         (cpp-srcs-left): Add libof for all iconvdata routines.
29014         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
29015         * include/assert.h: Likewise.
29016         * include/ctype.h: Likewise.
29017         * include/errno.h: Likewise.
29018         * include/libc-symbols.h: Likewise.
29019         * include/math.h: Likewise.
29020         * include/netdb.h: Likewise.
29021         * include/resolv.h: Likewise.
29022         * include/stdio.h: Likewise.
29023         * include/stdlib.h: Likewise.
29024         * include/string.h: Likewise.
29025         * include/sys/stat.h: Likewise.
29026         * include/wctype.h: Likewise.
29027         * intl/l10nflist.c: Likewise.
29028         * libidn/idn-stub.c: Likewise.
29029         * libio/libioP.h: Likewise.
29030         * nptl/libc_multiple_threads.c: Likewise.
29031         * nptl/pthreadP.h: Likewise.
29032         * posix/regex_internal.h: Likewise.
29033         * resolv/res_hconf.c: Likewise.
29034         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
29035         * sysdeps/arm/memmove.S: Likewise.
29036         * sysdeps/arm/sysdep.h: Likewise.
29037         * sysdeps/generic/_itoa.h: Likewise.
29038         * sysdeps/generic/symbol-hacks.h: Likewise.
29039         * sysdeps/gnu/errlist.awk: Likewise.
29040         * sysdeps/gnu/errlist.c: Likewise.
29041         * sysdeps/i386/i586/memcpy.S: Likewise.
29042         * sysdeps/i386/i586/memset.S: Likewise.
29043         * sysdeps/i386/i686/memcpy.S: Likewise.
29044         * sysdeps/i386/i686/memmove.S: Likewise.
29045         * sysdeps/i386/i686/mempcpy.S: Likewise.
29046         * sysdeps/i386/i686/memset.S: Likewise.
29047         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29048         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29049         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
29050         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
29051         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29052         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29053         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
29054         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29055         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29056         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29057         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29058         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29059         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29060         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29061         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29062         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29063         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
29064         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
29065         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
29066         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29067         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29068         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29069         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29070         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29071         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29072         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29073         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
29074         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29075         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
29076         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29077         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29078         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29079         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29080         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29081         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29082         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29083         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29084         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29085         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29086         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29087         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29088         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29089         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29090         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29091         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29092         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29093         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
29094         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
29095         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29096         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29097         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29098         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
29099         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
29100         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29101         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29102         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
29103         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29104         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
29105         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
29106         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29107         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29108         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29109         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
29110         * sysdeps/nptl/bits/libc-lock.h: Likewise.
29111         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
29112         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
29113         * sysdeps/posix/closedir.c: Likewise.
29114         * sysdeps/posix/opendir.c: Likewise.
29115         * sysdeps/posix/readdir.c: Likewise.
29116         * sysdeps/posix/rewinddir.c: Likewise.
29117         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
29118         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
29119         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29120         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29121         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29122         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
29123         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
29124         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
29125         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
29126         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
29127         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
29128         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
29129         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
29130         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
29131         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
29132         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
29133         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
29134         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
29135         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
29136         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
29137         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
29138         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
29139         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
29140         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
29141         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
29142         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
29143         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
29144         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
29145         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
29146         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
29147         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
29148         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
29149         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
29150         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
29151         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
29152         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
29153         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29154         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29155         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
29156         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
29157         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
29158         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
29159         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
29160         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
29161         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
29162         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
29163         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
29164         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
29165         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
29166         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
29167         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
29168         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
29169         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
29170         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
29171         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
29172         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
29173         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
29174         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
29175         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
29176         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
29177         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
29178         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
29179         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
29180         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
29181         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
29182         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
29183         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
29184         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
29185         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
29186         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
29187         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
29188         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
29189         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
29190         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
29191         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
29192         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
29193         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
29194         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
29195         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
29196         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
29197         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
29198         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
29199         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
29200         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
29201         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29202         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
29203         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
29204         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29205         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29206         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29207         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
29208         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
29209         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
29210         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29211         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29212         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
29213         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29214         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29215         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
29216         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
29217         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29218         * sysdeps/unix/alpha/sysdep.S: Likewise.
29219         * sysdeps/unix/alpha/sysdep.h: Likewise.
29220         * sysdeps/unix/make-syscalls.sh: Likewise.
29221         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29222         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29223         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29224         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
29225         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29226         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
29227         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
29228         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29229         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29230         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
29231         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29232         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29233         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29234         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
29235         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29236         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29237         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29238         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
29239         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
29240         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29241         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
29242         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29243         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29244         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29245         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29246         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29247         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
29249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29250         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
29251         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29252         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29253         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29254         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29255         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
29256         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29257         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29258         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29259         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
29260         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
29261         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29262         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29263         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29264         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
29265         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29266         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29267         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29268         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29269         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29270         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29271         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29272         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29273         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29274         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29275         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
29276         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29277         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29278         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29279         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
29280         * sysdeps/x86_64/memcpy.S: Likewise.
29281         * sysdeps/x86_64/memmove.c: Likewise.
29282         * sysdeps/x86_64/memset.S: Likewise.
29283         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
29284         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29285         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29286         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
29287         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
29288         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29289         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29290         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29291         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29292         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29293         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29294         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29295         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
29296         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29297         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29298         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
29299         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29300         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29301         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29302         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29303         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
29304         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29305         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29306         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29307         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29308         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29309         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29310         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
29311         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29312         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29313         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
29314         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29315         * sysdeps/x86_64/strcmp.S: Likewise.
29317         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
29319         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
29320         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
29321         * elf/rtld-Rules: Likewise.
29322         * elf/setup-vdso.h: Likewise.
29323         * include/assert.h: Likewise.
29324         * include/bits/stdlib-float.h: Likewise.
29325         * include/errno.h: Likewise.
29326         * include/sys/stat.h: Likewise.
29327         * include/unistd.h: Likewise.
29328         * sysdeps/aarch64/setjmp.S: Likewise.
29329         * sysdeps/alpha/setjmp.S: Likewise.
29330         * sysdeps/arm/__longjmp.S: Likewise.
29331         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
29332         * sysdeps/arm/setjmp.S: Likewise.
29333         * sysdeps/arm/sysdep.h: Likewise.
29334         * sysdeps/generic/_itoa.h: Likewise.
29335         * sysdeps/generic/dl-sysdep.h: Likewise.
29336         * sysdeps/generic/ldsodefs.h: Likewise.
29337         * sysdeps/i386/dl-tls.h: Likewise.
29338         * sysdeps/i386/setjmp.S: Likewise.
29339         * sysdeps/m68k/setjmp.c: Likewise.
29340         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
29341         * sysdeps/mach/hurd/opendir.c: Likewise.
29342         * sysdeps/posix/getcwd.c: Likewise.
29343         * sysdeps/posix/opendir.c: Likewise.
29344         * sysdeps/posix/profil.c: Likewise.
29345         * sysdeps/powerpc/dl-procinfo.h: Likewise.
29346         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29347         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29348         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
29349         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29350         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
29351         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
29352         * sysdeps/s390/dl-tls.h: Likewise.
29353         * sysdeps/s390/s390-32/setjmp.S: Likewise.
29354         * sysdeps/s390/s390-64/setjmp.S: Likewise.
29355         * sysdeps/sh/sh3/setjmp.S: Likewise.
29356         * sysdeps/sh/sh4/setjmp.S: Likewise.
29357         * sysdeps/unix/alpha/sysdep.h: Likewise.
29358         * sysdeps/unix/arm/sysdep.S: Likewise.
29359         * sysdeps/unix/i386/sysdep.S: Likewise.
29360         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29361         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
29362         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29363         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29364         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29365         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
29366         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
29367         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29368         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
29369         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
29370         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
29371         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29372         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29375         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29376         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29377         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29378         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29379         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29380         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29381         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29382         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29383         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29384         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29385         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29386         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29387         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29388         * sysdeps/x86_64/setjmp.S: Likewise.
29390         * include/math.h: Use IS_IN instead of IS_IN_libm.
29391         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
29392         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29393         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29394         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
29395         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29396         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29397         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29398         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29399         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29400         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29401         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
29402         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
29403         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
29404         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
29405         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
29406         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
29407         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
29408         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
29409         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
29410         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
29411         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
29412         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
29413         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
29414         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
29415         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
29416         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
29417         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
29418         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29419         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29420         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
29421         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
29422         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29423         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
29424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
29425         Likewise.
29426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
29427         Likewise.
29428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
29429         Likewise.
29430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
29431         Likewise.
29432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
29433         Likewise.
29434         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29435         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
29436         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29437         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29438         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29439         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
29441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
29442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
29443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
29444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
29445         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
29446         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
29447         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
29448         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
29449         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29450         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
29451         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
29452         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29453         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29454         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
29455         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
29456         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
29457         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
29458         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
29459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
29460         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
29462         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
29463         * nptl/pthreadP.h: Likewise.
29464         * nptl_db/structs.def: Likewise.
29465         * sysdeps/arm/sysdep.h: Likewise.
29466         * sysdeps/nptl/bits/libc-lock.h: Likewise.
29467         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
29468         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
29469         * sysdeps/unix/alpha/sysdep.h: Likewise.
29470         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29471         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29472         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29473         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29474         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29475         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29476         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29477         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29478         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29479         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29480         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29481         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29482         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29483         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
29485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29486         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29487         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29488         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29489         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29490         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29491         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29492         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29493         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29494         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
29495         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29497         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
29498         * nptl/pthreadP.h: Likewise.
29499         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29500         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29501         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29502         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29503         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29504         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29505         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29506         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29507         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29508         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29509         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29510         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
29512         Likewise.
29513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
29514         Likewise.
29515         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29516         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29517         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29518         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29519         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29520         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29521         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29522         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29524         * dlfcn/dladdr.c: Use IS_IN.
29525         * dlfcn/dladdr1.c: Likewise.
29526         * dlfcn/dlclose.c: Likewise.
29527         * dlfcn/dlerror.c: Likewise.
29528         * dlfcn/dlinfo.c: Likewise.
29529         * dlfcn/dlmopen.c: Likewise.
29530         * dlfcn/dlopen.c: Likewise.
29531         * dlfcn/dlsym.c: Likewise.
29532         * dlfcn/dlvsym.c: Likewise.
29534         * include/ifaddrs.h: Use IS_IN.
29535         * inet/check_pf.c: Likewise.
29536         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29537         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
29539         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
29540         IS_IN_ldconfig.
29541         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
29542         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
29544         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
29545         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
29546         IS_IN (libc).
29548         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
29550         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
29551         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29552         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
29553         * include/libc-symbols.h (IS_IN_LIB): New macro.
29554         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
29555         * include/netdb.h: Likewise.
29556         * include/stap-probe.h: Remove all uses of IN_LIB.
29558         * Makeconfig (module-cppflags-real): Define MODULE_NAME
29559         instead of IN_MODULE.
29560         * include/libc-symbols.h (IN_MODULE): Define using
29561         MODULE_NAME.
29562         (PASTE_NAME, PASTE_NAME1): New macros.
29563         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
29564         of IN_LIB.
29565         (STAP_PROBE_ASM): Likewise.
29567 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29569         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
29570         __mach_init in dlopened libc.
29572 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
29574         * sysdeps/arm/preconfigure.ac: Delete EABI check.
29575         * sysdeps/arm/preconfigure: Regenerate.
29577 2014-11-21  Roland McGrath  <roland@hack.frob.com>
29579         * nptl/pthread_create.c (__pthread_create_2_1): Set
29580         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
29581         when copying values from IATTR into PD.
29583 2014-11-21  Will Newton  <will.newton@linaro.org>
29584             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
29586         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
29587         Refactor inline-asm.  Also add comment.
29589         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
29590         ElfW macro instead of hardcoded Elf64 types.
29591         (la_aarch64_gnu_pltenter): Likewise.
29592         * sysdeps/aarch64/dl-machine.h
29593         (elf_machine_runtime_setup): Use ElfW(Addr).
29595         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
29596         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
29597         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
29598         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
29599         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
29600         (R_AARCH64_TLS_DTPMOD64): Rename to ..
29601         (R_AARCH64_TLS_DTPMOD): This.
29602         (R_AARCH64_TLS_DTPREL64): Rename to ...
29603         (R_AARCH64_TLS_DTPREL): This.
29604         (R_AARCH64_TLS_TPREL64): Rename to ...
29605         (R_AARCH64_TLS_TPREL): This.
29606         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
29607         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
29608         R_AARCH64_TLS_TPREL64.
29609         (elf_machine_rela): Likewise.
29611 2014-11-21  Torvald Riegel  <triegel@redhat.com>
29613         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
29614         by setting it to 0.  64b atomics are not supported currently.
29616 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29618         [BZ #16469]
29619         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
29620         search domain names.
29622 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29624         [BZ #16469]
29625         * NEWS: Update.
29626         * resolv/res_query.c (__libc_res_nquerydomain): Retain
29627         trailing dot.
29628         * posix/tst-getaddrinfo5.c: New.
29629         * posix/Makefile (tests): Add it.
29631 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29633         [BZ #14498]
29634         * NEWS: Fixed.
29635         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
29636         after parsing line but before break_if_match.
29637         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
29638         if there is a protocol mismatch.
29640 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
29642         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
29643         because the potential race is on the user-supplied stream.
29645 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29647         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
29648         string literal if not passed a buffer.
29649         * manual/job.texi (ctermid): Update reasoning, note deviation
29650         from posix, suggest mtasurace when not passed a buffer, for
29651         future non-preliminary safety notes.
29653 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29655         * manual/users.texi (cuserid): Fix MT-Safety note for the case
29656         of not passing it a buffer.
29657         Reported by Peng Haitao.
29659 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29661         * manual/Makefile ($(objpfx)stamp-summary): Require
29662         check-safety.sh to pass.
29663         * manual/check-safety.sh: Wish for verification that every
29664         @deftypefn and @deftypefun is followed by a @safety remark.
29666 2014-11-20  Roland McGrath  <roland@hack.frob.com>
29668         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
29670         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
29671         PTHREAD_CANCEL_ASYNCHRONOUS.
29672         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
29673         send SIGCANCEL.
29675         * nptl/default-sched.h: New file.
29676         * sysdeps/unix/sysv/linux/default-sched.h: New file.
29677         * nptl/pthread_create.c: Include it.
29678         (__pthread_create_2_1): Use collect_default_sched instead of making
29679         Linux syscalls here directly.
29681 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29683         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
29684         __pthread_once): Use C11 atomics.
29686 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29688         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
29690 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29692         * include/atomic.h (__atomic_link_error, __atomic_check_size,
29693         atomic_thread_fence_acquire, atomic_thread_fence_release,
29694         atomic_thread_fence_seq_cst, atomic_load_relaxed,
29695         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
29696         atomic_compare_exchange_weak_relaxed,
29697         atomic_compare_exchange_weak_acquire,
29698         atomic_compare_exchange_weak_release,
29699         atomic_exchange_acquire, atomic_exchange_release,
29700         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
29701         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
29702         atomic_fetch_and_acquire,
29703         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
29705 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29707         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
29708         USE_ATOMIC_COMPILER_BUILTINS): Define.
29709         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
29710         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29711         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
29712         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29713         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
29714         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29715         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
29716         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29717         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
29718         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29719         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
29720         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29721         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
29722         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29723         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
29724         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29725         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
29726         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29727         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
29728         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29729         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
29730         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29731         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
29732         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29733         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
29734         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29735         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
29736         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29737         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
29738         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29739         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
29740         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29741         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
29742         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29743         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29744         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29745         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
29746         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29747         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
29748         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29750 2014-11-19  Roland McGrath  <roland@hack.frob.com>
29752         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
29753         the sched_priority value here.  It was already checked when the user
29754         called pthread_attr_setschedparam.
29756         * nptl/tst-bad-schedattr.c: New file.
29757         * nptl/Makefile (tests): Add it.
29759 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
29760             Florian Weimer  <fweimer@redhat.com>
29761             Joseph Myers  <joseph@codesourcery.com>
29762             Adam Conrad  <adconrad@0c3.net>
29763             Andreas Schwab  <schwab@suse.de>
29764             Brooks  <bmoses@google.com>
29766         [BZ #17625]
29767         * wordexp-test.c (__dso_handle): Add prototype.
29768         (__register_atfork): Likewise.
29769         (__app_register_atfork): New function.
29770         (registered_forks): New global.
29771         (register_fork): New function.
29772         (test_case): Add 3 new tests for WRDE_CMDSUB.
29773         (main): Call __app_register_atfork.
29774         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
29775         fork count is non-zero fail the test.
29776         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
29777         is set.
29778         (parse_dollars): Remove check for WRDE_NOCMD.
29779         (parse_dquote): Likewise.
29781 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29783         * Makeconfig (built-modules): List non-library modules to be
29784         built.
29785         (module-cppflags): Include libc-modules.h for
29786         everything except shlib-versions.v.i.
29787         (CPPFLAGS): Use it.
29788         (before-compile): Add libc-modules.h.
29789         ($(common-objpfx)libc-modules.h,
29790         $(common-objpfx)libc-modules.stmp): New targets.
29791         (common-generated): Add libc-modules.h and libc-modules.stmp.
29792         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
29793         * include/libc-symbols.h: Don't include libc-modules.h.
29794         * include/libc-modules.h: Remove file.
29795         * scripts/gen-libc-modules.awk: New script to generate
29796         libc-modules.h.
29797         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
29798         Depend on libc-modules.stmp.
29800         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
29802         * Makeconfig (in-module): Get value of libof set for the
29803         translation unit.
29804         (CPPFLAGS): Use $(in-module).
29805         * Makerules: Don't suffix routine names for nonlib.
29806         * include/libc-modules.h: New file.
29807         * include/libc-symbols.h: Include libc-modules.h
29808         (IS_IN): New macro to replace IS_IN_* macros.
29809         * elf/Makefile: Set libof-* for each routine.
29810         * elf/rtld-Rules: Likewise.
29811         * extra-modules.mk: Likewise.
29812         * iconv/Makefile: Likewise.
29813         * iconvdata/Makefile: Likewise.
29814         * locale/Makefile: Likewise.
29815         * malloc/Makefile: Likewise.
29816         * nss/Makefile: Likewise.
29817         * sysdeps/gnu/Makefile: Likewise.
29818         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
29819         * sysdeps/unix/sysv/linux/Makefile: Likewise.
29820         * sysdeps/s390/s390-64/Makefile: Likewise.
29821         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
29822         CPPFLAGS for nscd instead of nonlib.
29824 2014-11-18  Roland McGrath  <roland@hack.frob.com>
29826         * nptl/createthread.c: New file.
29828         * nptl/createthread.c: Moved ...
29829         * sysdeps/unix/sysv/linux/createthread.c: ... here.
29831         * nptl/createthread.c: Add proper top-line comment.
29832         (do_clone): Folded into ...
29833         (create_thread): ... here.  Take new arguments STOPPED_START and
29834         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
29835         increment __nptl_threads, do event-reporting logic, do
29836         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
29837         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
29838         resource cleanup if sched_setaffinity or sched_setscheduler fails,
29839         just send SIGCANCEL.
29840         * nptl/pthread_create.c: Forward-declare create_thread before
29841         including createthread.c.
29842         (start_thread): Use new macro START_THREAD_DEFN to replace defining
29843         declaration, and new macro START_THREAD_SELF to replace argument.
29844         Remove return statement.
29845         (report_thread_creation): New function.
29846         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
29847         synchronization logic, and __nptl_nthreads increment here, around
29848         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
29849         PD->parent_cancelhandling here, before create_thread.  When
29850         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
29851         __deallocate_stack, and ENOMEM translation here.
29853 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
29855         [BZ #17616]
29856         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
29857         (mptwo): Rename to __mptwo.
29858         (__inv): Use __mptwo instead of mptwo.
29859         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
29860         (mptwo): Rename to __mptwo.
29861         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
29862         of mpone and __mptwo instead of mptwo.
29863         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
29864         instead of mpone.
29865         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29866         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
29867         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
29868         of mpone and __mptwo instead of mptwo.
29869         (__mpranred): Use __mpone instead of mpone.
29870         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
29871         variable.
29872         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
29873         (test-xfail-ISO99/math.h/linknamespace): Likewise.
29874         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
29875         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
29876         (test-xfail-ISO11/math.h/linknamespace): Likewise.
29877         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
29878         (test-xfail-XPG3/math.h/linknamespace): Likewise.
29879         (test-xfail-XPG4/math.h/linknamespace): Likewise.
29880         (test-xfail-POSIX/math.h/linknamespace): Likewise.
29881         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
29882         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
29883         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
29884         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
29885         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
29886         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
29887         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
29888         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
29889         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
29890         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
29892 2014-11-18  Tom de Vries  <tom@codesoucery.com>
29894         * manual/signal.texi (Primitives Interrupted by Signals): In section,
29895         replace BSD Handler xref with BSD Signal Handling.
29897 2014-11-17  Richard Henderson  <rth@redhat.com>
29899         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
29900         (_FP_PACK_RAW_2): Remove.
29901         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
29902         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
29903         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
29904         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
29905         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
29906         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
29907         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
29908         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
29909         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
29910         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
29911         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
29912         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
29913         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
29914         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
29915         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
29916         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
29918 2014-11-14  Roland McGrath  <roland@hack.frob.com>
29920         * signal/signal.h [__USE_MISC]
29921         (struct sigvec): Remove type.
29922         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
29923         (sigvec): Remove declaration.
29924         * sysdeps/posix/sigvec.c: Moved ...
29925         * signal/sigvec.c: ... here, replacing old file.
29926         (struct sigvec): New type, copied from old signal.h definition.
29927         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
29928         (__sigvec): Convert definition to prototype.
29929         (sigvec): Replace weak_alias with compat_symbol.
29930         * signal/Versions (libc: GLIBC_2.21): New version set.
29931         * include/signal.h: Remove __sigvec declaration.
29932         * sysdeps/unix/bsd/sigvec.c: Remove file.
29933         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
29934         * manual/signal.texi (BSD Handler): Remove subsection.
29935         Move siginterrupt up to ...
29936         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
29937         (Blocking in BSD): Fold subsection into its parent.
29938         * NEWS: Mention sigvec removal.
29940 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
29942         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
29943         (DLA_FMS): Make definition conditional only on [__FMA4__].
29944         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
29945         definition.
29947         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
29948         Make definition conditional only on [PROF].
29949         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
29950         definition.
29951         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
29952         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
29954         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
29955         !__GNUC__].
29956         * include/signal.h (__sigpause): Move declaration above call to
29957         libc_hidden_proto.
29958         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
29959         variable.
29960         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
29961         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
29963 2014-11-14  David S. Miller  <davem@davemloft.net>
29965         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
29966         Define before including <string/memcpy.c> and <string/mempcpy.c>.
29968 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
29970         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
29971         * configure: Regenerated.
29972         * manual/install.texi (Tools for Compilation): Document a
29973         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
29974         compiler verified to work.
29975         * INSTALL: Regenerated.
29977         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
29978         redeclare with asm name.
29979         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
29980         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
29981         including <string.h>.
29982         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29983         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
29984         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29985         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
29986         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29987         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29988         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29990 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
29992         * stdlib/strtol.c (__strtol): Use prototype definition.
29994         [BZ #17594]
29995         * stdlib/strtol.c (SYM__): New macro.
29996         (SYM__1): Likewise.
29997         (__strtol): Likewise.
29998         (strtol): Rename to __strtol and define as weak alias of
29999         __strtol.  Use libc_hidden_weak.
30001 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30003         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
30004         Use numbered labels in inline assembly.
30006 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30008         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
30009         Add setjmp LIBC_PROBE.
30010         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
30011         Likewise.
30012         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
30013         Add longjmp, longjmp_target LIBC_PROBE.
30014         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
30015         Likewise.
30017 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30019         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
30020         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
30021         to get rid of unused variable warning.
30023 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30025         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
30026         Check for unwind_backtrace ==  NULL only in SHARED case.
30027         (__backchain_backtrace): Compile only in SHARED case.
30028         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
30029         Likewise.
30030         (__backchain_backtrace): Declare as static.
30032 2014-11-12  Roland McGrath  <roland@hack.frob.com>
30034         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
30035         (__libc_multiple_threads_ptr): Variable moved ...
30036         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
30038 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
30040         * conform/GlibcConform.pm: New file.
30041         * conform/conformtest.pl: Use GlibcConform module.
30042         * conform/linknamespace.pl: New file.
30043         * conform/list-header-symbols.pl: Likewise.
30044         * conform/Makefile (linknamespace-symlists-base): New variable.
30045         (linknamespace-symlists-tests): Likewise.
30046         (linknamespace-header-base): Likewise.
30047         (linknamespace-header-tests): Likewise.
30048         (tests-special): Add new tests.
30049         ($(linknamespace-symlists-tests)): New rule.
30050         (linknamespace-libs): New variable.
30051         ($(objpfx)symlist-stdlibs): New rule.
30052         ($(linknamespace-header-tests)): Likewise.
30053         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
30054         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
30055         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
30056         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
30057         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
30058         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
30059         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
30060         (test-xfail-ISO/math.h/linknamespace): Likewise.
30061         (test-xfail-ISO/signal.h/linknamespace): Likewise.
30062         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
30063         (test-xfail-ISO/time.h/linknamespace): Likewise.
30064         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
30065         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
30066         (test-xfail-ISO99/math.h/linknamespace): Likewise.
30067         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
30068         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
30069         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
30070         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
30071         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30072         (test-xfail-ISO11/math.h/linknamespace): Likewise.
30073         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
30074         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
30075         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
30076         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30077         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
30078         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
30079         (test-xfail-XPG3/math.h/linknamespace): Likewise.
30080         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
30081         (test-xfail-XPG3/search.h/linknamespace): Likewise.
30082         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
30083         (test-xfail-XPG3/time.h/linknamespace): Likewise.
30084         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
30085         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
30086         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30087         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
30088         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
30089         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
30090         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
30091         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
30092         (test-xfail-XPG4/math.h/linknamespace): Likewise.
30093         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
30094         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
30095         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
30096         (test-xfail-XPG4/search.h/linknamespace): Likewise.
30097         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
30098         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
30099         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
30100         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
30101         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
30102         (test-xfail-XPG4/time.h/linknamespace): Likewise.
30103         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
30104         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
30105         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
30106         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
30107         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
30108         (test-xfail-POSIX/math.h/linknamespace): Likewise.
30109         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
30110         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
30111         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
30112         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
30113         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
30114         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
30115         (test-xfail-POSIX/time.h/linknamespace): Likewise.
30116         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
30117         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
30118         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
30119         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
30120         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
30121         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
30122         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
30123         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
30124         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
30125         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
30126         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
30127         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
30128         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
30129         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
30130         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
30131         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
30132         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
30133         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
30134         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
30135         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
30136         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
30137         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
30138         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
30139         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
30140         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
30141         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
30142         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
30143         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
30144         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
30145         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
30146         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
30147         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
30148         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
30149         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
30150         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
30151         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
30152         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
30153         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
30154         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
30155         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
30156         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
30157         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
30158         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
30159         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
30160         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
30161         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
30162         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
30163         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
30164         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
30165         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
30166         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
30167         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
30168         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
30169         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
30170         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
30171         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
30172         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
30173         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
30174         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30175         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
30176         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
30177         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
30178         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
30179         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
30180         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
30181         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
30182         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
30183         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
30184         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
30185         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
30186         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
30187         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
30188         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
30189         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
30190         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
30191         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
30192         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
30193         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
30194         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
30195         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
30196         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
30197         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
30198         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
30199         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
30200         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
30201         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
30202         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
30203         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
30204         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
30205         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
30206         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
30207         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
30208         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
30209         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
30210         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
30211         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
30212         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
30213         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
30215         [BZ #17589]
30216         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
30217         of fgets_unlocked.
30219         [BZ #17585]
30220         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
30221         (memmem): Rename to __memmem and define as weak alias of
30222         __memmem.  Use libc_hidden_weak.
30223         (__memmem): Use libc_hidden_def.
30224         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
30225         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
30226         memmem.
30228         [BZ #17582]
30229         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
30230         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
30231         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
30232         and define as weak alias of __fgets_unlocked.  Use
30233         libc_hidden_weak.
30234         (__fgets_unlocked): Use libc_hidden_def.
30235         * include/stdio.h (__fgets_unlocked): Declare.  Use
30236         libc_hidden_proto.
30237         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
30238         __fgets_unlocked instead of fgets_unlocked.
30239         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
30240         (GET_NPROCS_CONF_PARSER): Likewise.
30241         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
30242         (GET_NPROCS_CONF_PARSER): Likewise.
30244         [BZ #17574]
30245         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
30246         weak alias of __wmemset.  Use libc_hidden_weak.
30247         (__wmemset): Use libc_hidden_def.
30248         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
30249         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
30250         of wmemset.
30252         [BZ #17573]
30253         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
30254         with asm name __mempcpy.
30255         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
30257         [BZ #17572]
30258         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
30259         and define as weak alias of __rawmemchr.
30260         (__rawmemchr): Do not define as strong alias of rawmemchr.
30262         [BZ #17571]
30263         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
30264         alias of __qsort_r.
30265         (qsort): Call __qsort_r instead of qsort_r.
30266         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
30267         (__qsort_r): Declare.  Call libc_hidden_proto.
30268         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
30269         instead of qsort_r.
30270         * nscd/gai.c (__qsort_r): Define to qsort_r.
30271         * posix/tst-rfc3484.c (__qsort_r): Likewise.
30272         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
30273         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
30275         [BZ #17570]
30276         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
30277         define as weak alias of __malloc_info.
30279         [BZ #17584]
30280         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
30281         as weak alias of __rewinddir.  Don't use libc_hidden_def.
30282         (__rewinddir): Use libc_hidden_def.
30283         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
30284         as weak alias of __rewinddir.  Don't use libc_hidden_def.
30285         (__rewinddir): Use libc_hidden_def.
30286         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
30287         weak alias of __rewinddir.  Don't use libc_hidden_def.
30288         (__rewinddir): Use libc_hidden_def.
30289         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
30290         (__rewinddir): Use libc_hidden_proto.
30291         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
30292         rewinddir.
30293         (__getcwd): Use __rewinddir instead of rewinddir.
30295         [BZ #17583]
30296         * libio/fileno.c (fileno): Rename to __fileno and define as weak
30297         alias of __fileno.  Use libc_hidden_weak.
30298         (__fileno): Use libc_hidden_def.
30299         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
30300         * libio/ftello.c (ftello): Rename to __ftello and define as weak
30301         alias of __ftello.
30302         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
30303         __ftello.
30304         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
30305         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
30306         libc_hidden_def.
30307         (fread_unlocked): Don't use libc_hidden_ver.
30308         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
30309         and define as weak alias of __fread_unlocked.  Don't use
30310         libc_hidden_def.
30311         (__fread_unlocked): Use libc_hidden_def.
30312         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
30313         (ftello): Don't use libc_hidden_proto.
30314         (__ftello): Declare.  Use libc_hidden_proto.
30315         (fread_unlocked): Don't use libc_hidden_proto.
30316         (__fread_unlocked): Declare.  Use libc_hidden_proto.
30317         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
30318         and __ftello instead of fileno, fread_unlocked and ftello.
30320 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30322         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
30323         GOT12.
30324         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
30325         Likewise.
30326         (_dl_start_user): Likewise.
30327         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
30329 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
30330             Siddhesh Poyarekar  <siddhesh@redhat.com>
30332         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
30333         Move argv and envp down instead of moving argc up.
30334         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
30336 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
30338         [BZ #17506]
30339         * test-skeleton.c (main): Return successful if one of
30340         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
30341         * string/tst-strcoll-overflow.c: Define expected status.
30343 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
30345         [BZ #17475]
30346         * locale/iso-639.def: Define Bhili and Tulu language codes.
30348 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
30350         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
30352 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
30354         [BZ #17555]
30355         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
30357 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
30359         * configure.ac: Updated check of minimal required version to
30360         2.22.
30361         * manual/install.texi (Tools for Compilation): Updated version
30362         number.
30363         * configure: Regenerated.
30364         * INSTALL: Likewise.
30366 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
30368         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
30369         __tls_get_addr.
30371 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
30373         * include/sys/wait.h (__libc_waitpid): Remove declaration.
30374         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
30375         (__waitpid): Don't define as alias.  Use libc_hidden_def not
30376         libc_hidden_weak.
30377         (waitpid): Define as alias of __waitpid.
30378         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
30379         __waitpid.
30380         (__waitpid): Don't define as alias.  Use libc_hidden_def not
30381         libc_hidden_weak.
30382         (waitpid): Define as alias of __waitpid.
30383         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
30384         __libc_waitpid alias.
30385         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
30386         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
30387         Likewise.
30388         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
30389         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
30390         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
30391         alias.
30392         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
30393         __waitpid.
30394         (__waitpid): Don't define as alias.  Use libc_hidden_def not
30395         libc_hidden_weak.
30396         (waitpid): Define as alias of __waitpid.
30398 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
30400         * manual/llio.texi: Add comment that write safety has been
30401         fixed in Linux.
30403         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
30404         (localplt-build-dso): Add elf/ld.so.
30405         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
30406         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
30407         and free for ld.so.
30408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
30409         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
30410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
30411         Likewise.
30412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30413         Likewise.
30414         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
30415         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
30416         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
30417         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
30418         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
30419         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
30420         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
30421         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
30422         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
30423         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
30424         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
30426 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
30428         [BZ #14132]
30429         * include/libc-symbols.h (INTUSE): Remove macro.
30430         (INTDEF): Likewise.
30431         (INTVARDEF): Likewise.
30432         (_INTVARDEF): Likewise.
30433         (INTDEF2): Likewise.
30434         (INTVARDEF2): Likewise.
30435         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
30436         rtld_hidden_def instead of INTVARDEF.
30437         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
30438         (_dl_starting_up_internal): Remove declaration.
30439         (_dl_starting_up): Use rtld_hidden_proto.
30440         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
30441         declaration.
30442         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
30443         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
30444         _dl_starting_up.
30445         * elf/dl-writev.h (_dl_writev): Likewise.
30446         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
30447         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
30448         _dl_starting_up_internal.
30450 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30452         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
30453         test-skeleton.c.
30455 2014-11-05  Will Newton  <will.newton@linaro.org>
30457         * benchtests/Makefile: (bench-malloc): Add malloc thread
30458         scalability benchmark.
30459         * benchtests/bench-malloc-threads.c: New file.
30461 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
30463         * sysdeps/aarch64/strchrnul.S: New file.
30465 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30467         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
30468         definition.
30469         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
30470         Likwise.
30471         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
30472         Likewise.
30473         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
30474         Likewise.
30475         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30476         Likewise.
30477         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30478         Likewise.
30480 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
30482         * catgets/test-gencat.c: Use test-skeleton.c.
30483         * catgets/tst-catgets.c: Likewise.
30484         * csu/tst-empty.c: Likewise.
30485         * elf/tst-audit2.c: Likewise.
30486         * elf/tst-global1.c: Likewise.
30487         * elf/tst-pathopt.c: Likewise.
30488         * elf/tst-piemod1.c: Likewise.
30489         * elf/tst-tls10.c: Likewise.
30490         * elf/tst-tls11.c: Likewise.
30491         * elf/tst-tls12.c: Likewise.
30492         * gnulib/tst-gcc.c: Likewise.
30493         * iconvdata/tst-e2big.c: Likewise.
30494         * iconvdata/tst-loading.c: Likewise.
30495         * iconv/tst-iconv1.c: Likewise.
30496         * iconv/tst-iconv2.c: Likewise.
30497         * inet/test-inet6_opt.c: Likewise.
30498         * inet/tst-gethnm.c: Likewise.
30499         * inet/tst-network.c: Likewise.
30500         * inet/tst-ntoa.c: Likewise.
30501         * intl/tst-codeset.c: Likewise.
30502         * intl/tst-gettext2.c: Likewise.
30503         * intl/tst-gettext3.c: Likewise.
30504         * intl/tst-ngettext.c: Likewise.
30505         * intl/tst-translit.c: Likewise.
30506         * io/test-stat.c: Likewise.
30507         * libio/test-fmemopen.c: Likewise.
30508         * libio/tst-freopen.c: Likewise.
30509         * libio/tst-sscanf.c: Likewise.
30510         * libio/tst-ungetwc1.c: Likewise.
30511         * libio/tst-ungetwc2.c: Likewise.
30512         * libio/tst-widetext.c: Likewise.
30513         * localedata/tst-ctype.c: Likewise.
30514         * localedata/tst-digits.c: Likewise.
30515         * localedata/tst-leaks.c: Likewise.
30516         * localedata/tst-mbswcs1.c: Likewise.
30517         * localedata/tst-mbswcs2.c: Likewise.
30518         * localedata/tst-mbswcs3.c: Likewise.
30519         * localedata/tst-mbswcs4.c: Likewise.
30520         * localedata/tst-mbswcs5.c: Likewise.
30521         * localedata/tst-setlocale.c: Likewise.
30522         * localedata/tst-trans.c: Likewise.
30523         * localedata/tst-wctype.c: Likewise.
30524         * localedata/tst-xlocale1.c: Likewise.
30525         * login/tst-grantpt.c: Likewise.
30526         * malloc/tst-calloc.c: Likewise.
30527         * malloc/tst-malloc.c: Likewise.
30528         * malloc/tst-mallocstate.c: Likewise.
30529         * malloc/tst-mcheck.c: Likewise.
30530         * malloc/tst-mtrace.c: Likewise.
30531         * malloc/tst-obstack.c: Likewise.
30532         * math/atest-exp2.c: Likewise.
30533         * math/atest-exp.c: Likewise.
30534         * math/atest-sincos.c: Likewise.
30535         * math/test-matherr.c: Likewise.
30536         * math/test-misc.c: Likewise.
30537         * math/test-powl.c: Likewise.
30538         * math/tst-definitions.c: Likewise.
30539         * misc/tst-dirname.c: Likewise.
30540         * misc/tst-efgcvt.c: Likewise.
30541         * misc/tst-fdset.c: Likewise.
30542         * misc/tst-hsearch.c: Likewise.
30543         * misc/tst-mntent2.c: Likewise.
30544         * nptl/tst-sem7.c: Likewise.
30545         * nptl/tst-sem8.c: Likewise.
30546         * nptl/tst-sem9.c: Likewise.
30547         * nss/test-netdb.c: Likewise.
30548         * posix/tst-fnmatch.c: Likewise.
30549         * posix/tst-getlogin.c: Likewise.
30550         * posix/tst-gnuglob.c: Likewise.
30551         * posix/tst-mmap.c: Likewise.
30552         * pwd/tst-getpw.c: Likewise.
30553         * resolv/tst-inet_ntop.c: Likewise.
30554         * rt/tst-timer.c: Likewise.
30555         * stdio-common/test-fseek.c: Likewise.
30556         * stdio-common/test-popen.c: Likewise.
30557         * stdio-common/test-vfprintf.c: Likewise.
30558         * stdio-common/tst-cookie.c: Likewise.
30559         * stdio-common/tst-fileno.c: Likewise.
30560         * stdio-common/tst-gets.c: Likewise.
30561         * stdio-common/tst-obprintf.c: Likewise.
30562         * stdio-common/tst-perror.c: Likewise.
30563         * stdio-common/tst-sprintf2.c: Likewise.
30564         * stdio-common/tst-sprintf3.c: Likewise.
30565         * stdio-common/tst-sprintf.c: Likewise.
30566         * stdio-common/tst-swprintf.c: Likewise.
30567         * stdio-common/tst-tmpnam.c: Likewise.
30568         * stdio-common/tst-unbputc.c: Likewise.
30569         * stdio-common/tst-wc-printf.c: Likewise.
30570         * stdlib/tst-environ.c: Likewise.
30571         * stdlib/tst-fmtmsg.c: Likewise.
30572         * stdlib/tst-limits.c: Likewise.
30573         * stdlib/tst-rand48-2.c: Likewise.
30574         * stdlib/tst-rand48.c: Likewise.
30575         * stdlib/tst-random2.c: Likewise.
30576         * stdlib/tst-random.c: Likewise.
30577         * stdlib/tst-strtol.c: Likewise.
30578         * stdlib/tst-strtoll.c: Likewise.
30579         * stdlib/tst-tls-atexit.c: Likewise.
30580         * stdlib/tst-xpg-basename.c: Likewise.
30581         * string/test-ffs.c: Likewise.
30582         * string/tst-bswap.c: Likewise.
30583         * string/tst-inlcall.c: Likewise.
30584         * string/tst-strtok.c: Likewise.
30585         * string/tst-strxfrm.c: Likewise.
30586         * sysdeps/x86_64/tst-audit10.c: Likewise.
30587         * sysdeps/x86_64/tst-audit3.c: Likewise.
30588         * sysdeps/x86_64/tst-audit4.c: Likewise.
30589         * sysdeps/x86_64/tst-audit5.c: Likewise.
30590         * time/tst-ftime_l.c: Likewise.
30591         * time/tst-getdate.c: Likewise.
30592         * time/tst-mktime3.c: Likewise.
30593         * time/tst-mktime.c: Likewise.
30594         * time/tst-posixtz.c: Likewise.
30595         * time/tst-strptime2.c: Likewise.
30596         * time/tst-strptime3.c: Likewise.
30597         * wcsmbs/tst-btowc.c: Likewise.
30598         * wcsmbs/tst-mbrtowc.c: Likewise.
30599         * wcsmbs/tst-mbsrtowcs.c: Likewise.
30600         * wcsmbs/tst-wchar-h.c: Likewise.
30601         * wcsmbs/tst-wcpncpy.c: Likewise.
30602         * wcsmbs/tst-wcrtomb.c: Likewise.
30603         * wcsmbs/tst-wcsnlen.c: Likewise.
30604         * wcsmbs/tst-wcstof.c: Likewise.
30606 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
30608         [BZ #14132]
30609         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
30610         INTDEF.
30611         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
30612         declaration.
30613         (_dl_mcount): Use rtld_hidden_proto.
30614         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
30615         _dl_mcount.
30616         * elf/rtld.c (_rtld_global_ro): Likewise.
30618         [BZ #14132]
30619         * elf/dl-init.c (_dl_init): Don't use INTDEF.
30620         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
30621         of _dl_init_internal.
30622         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
30623         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
30624         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
30625         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
30626         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
30627         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
30628         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
30629         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
30630         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
30631         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
30632         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
30633         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
30634         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30635         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30636         * sysdeps/tile/dl-start.S (_start): Likewise.
30637         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
30638         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
30640         [BZ #14132]
30641         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
30642         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
30643         (rtld_progname): Make macro definition unconditional.
30644         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
30645         INTDEF.
30646         (dlmopen_doit): Do not use INTUSE with _dl_argv.
30647         (dl_main): Likewise.
30648         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30649         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
30650         instead of _dl_argv_internal.
30651         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30652         __GI__dl_argv instead of INTUSE(_dl_argv).
30653         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
30654         __GI__dl_argv instead of _dl_argv_internal.
30656         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
30657         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
30658         macro.
30659         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
30660         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
30661         New macro.
30662         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
30663         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
30664         macro.
30665         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
30666         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
30668 2014-11-04  Andreas Schwab  <schwab@suse.de>
30670         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
30672 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30674         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
30675         mtvsrd instruction in binary form.
30677 2014-11-03  Andreas Schwab  <schwab@suse.de>
30679         [BZ #17522]
30680         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
30681         for less than MB_LEN_MAX use a local buffer of that size.
30682         * libio/tst-fputws.c: New file.
30683         * libio/Makefile (tests): Add tst-fputws.
30685 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
30687         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
30688         the size of the fpu_fr.fpu_dregs[] array.
30690 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
30692         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
30693         (__nanosleep): Do not define as alias.
30694         (nanosleep): Define as alias of __nanosleep.
30695         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
30696         __libc_nanosleep name.
30698 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
30700         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
30701         install.texi in comment.
30703 2014-10-31  Torvald Riegel  <triegel@redhat.com>
30705         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
30706         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
30707         ... add here and use lwsync or sync ...
30708         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
30709         ... and add here using lwsync.
30711 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
30713         * elf/dl-machine-reject-phdr.h: New file.
30714         * elf/dl-load.c: #include that.
30715         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
30716         if that returned true.
30718 2014-10-31  Roland McGrath  <roland@hack.frob.com>
30720         [BZ #17496]
30721         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
30722         gen-as-const-headers chunk.  Add a big scare comment after the last
30723         safe place to touch before-compile.
30725 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
30727         * manual/install.texi (Tools for Compilation): Update autoconf
30728         version requirements.
30729         * INSTALL: Regenerated.
30731         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
30732         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
30733         (__libc_pselect): Likewise.
30735         [BZ #14138]
30736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
30737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30741 2014-10-31  Torvald Riegel  <triegel@redhat.com>
30743         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
30744         correct barrier instruction.
30745         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
30746         Likewise.
30747         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
30748         Likewise.
30750 2014-10-30  Roland McGrath  <roland@hack.frob.com>
30752         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
30753         after defining inlines.  Instead, just use parens to defeat macro
30754         expansion of __isctype in its declaration.
30756 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
30758         * include/sys/uio.h (__libc_readv): Remove declaration.
30759         (__libc_writev): Likewise.
30760         * misc/readv.c (__libc_readv): Rename to __readv.
30761         (__readv): Do not define as alias.
30762         (readv): Define as alias of __readv.
30763         * misc/writev.c (__libc_writev): Rename to __writev.
30764         (__writev): Do not define as alias.
30765         (writev): Define as alias of __writev.
30766         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
30767         (__readv): Do not define as alias.
30768         (readv): Define unconditionally as alias of __readv.
30769         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
30770         (__writev): Do not define as alias.
30771         (writev): Define unconditionally as alias of __writev.
30772         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
30773         name.
30774         (writev): Do not define __libc_writev name.
30776 2014-10-30  Roland McGrath  <roland@hack.frob.com>
30778         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
30779         (convert_charseq): New function, broken out of ...
30780         (use_from_charmap): ... here.  Call it.
30781         (use_to_charmap): Use convert_charseq and free instead of duplicating
30782         its code with a variable-length stack struct.
30784 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
30786         * include/fcntl.h (__libc_creat): Remove declaration.
30787         * io/creat.c (__libc_creat): Rename to creat.
30788         (creat): Do not define as alias.
30789         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
30790         of creat instead of __libc_creat.
30791         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
30792         to creat.
30793         (creat): Do not define as alias.
30794         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
30795         __libc_creat.
30796         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
30797         __libc_creat name.
30798         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
30799         Likewise.
30801 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
30803         * manual/llio.texi: Add comments discussing why write() may be
30804         considered MT-unsafe on Linux.
30806 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
30808         * dl-load.c (local_strdup): Remove.
30809         (expand_dynamic_string_token): Use __strdup.
30810         (decompose_rpath): Likewise.
30811         (_dl_map_object): Likewise.
30813 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
30815         [BZ #14132]
30816         * sysdeps/generic/unwind-dw2-fde.c
30817         (__register_frame_info_bases_internal): Do not declare.
30818         (__register_frame_info_table_bases_internal): Likewise.
30819         (__deregister_frame_info_bases_internal): Likewise.
30820         (__register_frame_info_bases): Declare and use hidden_proto before
30821         definition.  Use hidden_def instead of INTDEF.
30822         (__register_frame_info_table_bases): Likewise.
30823         (__deregister_frame_info_bases): Likewise.
30824         (__register_frame_info): Do not use INTUSE.
30825         (__register_frame): Likewise.
30826         (__register_frame_info_table): Likewise.
30827         (__register_frame_table): Likewise.
30828         (__deregister_frame_info): Likewise.
30829         (__deregister_frame): Likewise.
30831 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
30833         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30834         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
30835         not undefine.
30836         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
30837         Likewise.
30838         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
30839         Likewise.
30841 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
30843         [BZ #14138]
30844         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
30845         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
30846         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
30847         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
30848         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
30849         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
30850         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
30851         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
30852         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
30853         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
30854         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
30855         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
30856         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
30857         syscall.
30858         (setfsuid): Likewise.
30859         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
30860         (setfsuid): Likewise.
30861         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
30862         (setfsuid): Likewise.
30863         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
30864         Likewise.
30865         (setfsuid): Likewise.
30866         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
30867         (setfsuid): Likewise.
30868         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
30869         Likewise.
30870         (setfsuid): Likewise.
30872 2014-10-27  Andreas Schwab  <schwab@suse.de>
30874         [BZ #17501]
30875         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
30876         check for Slow_SSE4_2 feature bit.
30877         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
30878         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30879         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
30880         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
30882 2014-10-24  Roland McGrath  <roland@hack.frob.com>
30884         * configure.ac: Validate compiler version with a empirical test of
30885         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
30886         $CC -v output.
30887         * configure: Regenerated.
30889         * inet/htons.c (htons): Prototypify.
30890         * inet/htonl.c (htonl): Likewise.
30892 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30894         * string/strncat.c (strncat): Improve performance by using strlen.
30896 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30898         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
30900 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30902         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
30903         Call libc_fetestexcept_aarch64.
30905 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30907         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
30908         Call libc_feholdexcept_aarch64.
30910 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30912         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
30913         Call get_rounding_mode.
30915 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30917         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30918         Simplify logic.
30920 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30922         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
30923         Simplify logic.
30925 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
30927         [BZ #14138]
30928         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
30929         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
30930         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
30931         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
30932         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
30933         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
30934         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
30935         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
30936         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
30937         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
30938         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30939         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
30940         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
30941         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
30942         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
30943         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
30944         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
30945         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
30946         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
30947         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
30948         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
30949         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
30950         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
30951         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
30952         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
30953         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
30954         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
30955         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
30956         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
30957         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
30958         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
30959         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
30960         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
30961         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
30962         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
30963         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
30964         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
30965         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
30966         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
30967         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
30968         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
30969         syscall.
30970         (geteuid): Likewise.
30971         (getgid): Likewise.
30972         (getuid): Likewise.
30973         (getresgid): Likewise.
30974         (getresuid): Likewise.
30975         (getgroups): Likewise.
30976         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
30977         (geteuid): Likewise.
30978         (getgid): Likewise.
30979         (getuid): Likewise.
30980         (getresgid): Likewise.
30981         (getresuid): Likewise.
30982         (getgroups): Likewise.
30983         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
30984         (geteuid): Likewise.
30985         (getgid): Likewise.
30986         (getuid): Likewise.
30987         (getresgid): Likewise.
30988         (getresuid): Likewise.
30989         (getgroups): Likewise.
30990         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
30991         Likewise.
30992         (geteuid): Likewise.
30993         (getgid): Likewise.
30994         (getuid): Likewise.
30995         (getresgid): Likewise.
30996         (getresuid): Likewise.
30997         (getgroups): Likewise.
30998         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
30999         (geteuid): Likewise.
31000         (getgid): Likewise.
31001         (getuid): Likewise.
31002         (getresgid): Likewise.
31003         (getresuid): Likewise.
31004         (getgroups): Likewise.
31005         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
31006         Likewise.
31007         (geteuid): Likewise.
31008         (getgid): Likewise.
31009         (getuid): Likewise.
31010         (getgroups): Likewise.
31012         [BZ #14138]
31013         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
31014         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
31015         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
31016         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31017         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
31018         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
31019         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
31020         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
31021         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
31022         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
31023         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
31024         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
31025         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
31026         __chown.
31027         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
31028         (lchown): Likewise.
31029         (fchown): Likewise.
31030         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
31031         Likewise.
31032         (lchown): Likewise.
31033         (fchown): Likewise.
31034         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
31035         (lchown): Likewise.
31036         (fchown): Likewise.
31037         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
31038         Likewise.
31039         (lchown): Likewise.
31040         (fchown): Likewise.
31042 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31044         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
31045         Simplify logic.
31047 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31049         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
31050         Cleanup logic.
31052 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31054         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
31055         Remove unused include.
31057 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31059         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
31060         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
31061         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
31062         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
31064 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
31065             Helge Deller <deller@gmx.de>
31067         [BZ #17508]
31068         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
31069         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
31070         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
31072 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
31074         [BZ #14132]
31075         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
31076         Remove macro definition.
31077         (__ashrdi3_v_glibc20): Likewise.
31078         (__lshrdi3_v_glibc20): Likewise.
31079         (__cmpdi2_v_glibc20): Likewise.
31080         (__ucmpdi2_v_glibc20): Likewise.
31081         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
31082         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
31083         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
31084         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
31085         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
31086         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
31088 2014-10-22  Roland McGrath  <roland@hack.frob.com>
31090         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
31091         old GNU extension [0] syntax.
31092         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
31093         alloca rather than an array member with variable length.
31094         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
31095         * nscd/nscd.c (invalidate_db): New function, broken out of ...
31096         (parse_opt): ... here.  Likewise use alloca there.
31097         Validate the -i argument before checking for rootness.
31098         (send_shutdown): New function, broken out of ...
31099         (parse_opt): ... here.
31101 2014-10-22  Roland McGrath  <roland@hack.frob.com>
31103         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
31104         macro to get at the _rt_local_ro field.
31105         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
31106         ([PIC] case) or _dl_hwcap ([!PIC] case).
31107         * sysdeps/arm/setjmp.S: Likewise.
31109         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
31110         * sysdeps/arm/configure.ac: New check to define it.
31111         * sysdeps/arm/configure: Regenerated.
31112         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
31113         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
31114         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
31115         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
31116         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
31117         Use move/movt pair instead of a load.
31118         (LDST_GLOBAL): Macro removed.
31119         (LDR_GLOBAL): New macro replaces it.
31120         (LDR_HIDDEN): New macro.
31121         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
31122         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
31124         * setjmp/tst-setjmp-static.c: New file.
31125         * setjmp/Makefile (tests): Add it.
31126         (tests-static): New variable.
31128 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
31130         [BZ #17485]
31131         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
31133 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
31135         [BZ #14132]
31136         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
31138 2014-10-21  Roland McGrath  <roland@hack.frob.com>
31140         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
31142 2014-10-20  Roland McGrath  <roland@hack.frob.com>
31144         * io/fts.c (dirent_not_directory): New function.
31145         (fts_build): Call it.
31147 2014-10-20  Roland McGrath  <roland@hack.frob.com>
31149         * nptl/version.c (__nptl_main): Use normal __write rather than
31150         INTERNAL_SYSCALL.
31151         (banner): Update copyright years.
31153         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
31154         gettimeofday.
31155         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
31156         * nptl/pthread_cond_timedwait.c: Likewise.
31157         * nptl/pthread_mutex_timedlock.c: Likewise.
31158         * nptl/sem_timedwait.c: Likewise.
31160         * sysdeps/nptl/bits/libc-lock.h
31161         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
31162         (__libc_lock_init_recursive): Return void, not 0.
31163         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
31164         (__libc_rwlock_init): Likewise.
31165         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
31167 2014-10-20  Torvald Riegel  <triegel@redhat.com>
31169         [BZ #15215]
31170         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
31171         (__pthread_once_slow): ... here.
31172         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
31173         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
31175 2014-10-20  Torvald Riegel  <triegel@redhat.com>
31177         [BZ #15215]
31178         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
31179         __PTHREAD_ONCE_FORK_GEN_INCR): New.
31180         * sysdeps/nptl/fork.c (__libc_fork): Use them.
31181         * nptl/pthread_once.c (__pthread_once): Likewise.
31182         Update comments.
31184 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
31186         [BZ #14138]
31187         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
31188         name.
31189         (writev): Use __libc_writev as strong name.
31190         * sysdeps/unix/sysv/linux/readv.c: Remove file.
31191         * sysdeps/unix/sysv/linux/writev.c: Likewise.
31193 2014-10-17  Roland McGrath  <roland@hack.frob.com>
31195         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
31197         * sysdeps/i386/nptl/tls.h
31198         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
31199         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
31200         New macros.
31201         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
31202         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
31203         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
31204         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
31205         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
31206         Call CHECK_THREAD_SYSINFO instead of doing an assert.
31208         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
31209         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
31210         on [__NR_futex].
31211         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
31212         broken out of ...
31213         (__pthread_mutex_init): ... here.  Call it.
31214         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
31215         Conditionalize PI cases on [__NR_futex].
31216         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
31217         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
31218         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
31220         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
31221         conditional on [SIGSETXID].
31222         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
31223         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
31224         is defined.  Likewise for SIGSETXID.
31225         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
31226         Conditionalize definitions on [SIGSETXID].
31227         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
31228         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
31229         unblocking on [SIGCANCEL].
31231         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
31232         [__NR_set_robust_list].
31234 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31236         * string/strcoll_l.c (get_next_seq): Fix up formatting.
31237         (do_compare): Likewise.
31239 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
31241         [BZ #15884]
31242         * string/strcoll_l.c: Don't include stdio.h.
31243         (coll_seq): Remove members idxarr and rulearr.
31244         (get_next_seq_cached): Remove function.
31245         (get_next_seq): Likewise.
31246         (get_next_seq_nocache): Rename to get_next_seq.
31247         (do_compare): Remove function.
31248         (do_compare_nocache): Rename to do_compare.
31249         (STRCOLL): Remove weight and rules cache.
31251 2014-10-16  Roland McGrath  <roland@hack.frob.com>
31253         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
31254         * sysdeps/arm/sfp-machine.h: ... to here.
31255         * sysdeps/arm/Implies: Remove arm/soft-fp.
31257 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
31259         * conform/data/sys/utsname.h-data (*_t): Allow.
31260         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
31261         [POSIX] (WEXITED): Do not expect constant.
31262         [POSIX] (WSTOPPED): Likewise.
31263         [POSIX] (WNOHANG): Likewise.
31264         [POSIX] (WNOWAIT): Likewise.
31265         [POSIX] (siginfo_t): Do not expect type or elements.
31266         [POSIX] (pid_t): Do not expect type.
31267         [POSIX] (signal.h): Do not allow header.
31268         [POSIX] (sys/resource.h): Likewise.
31269         [POSIX] (si_*): Do not allow pattern.
31270         [POSIX] (W*): Likewise.
31271         [POSIX] (P_*): Likewise.
31272         [POSIX] (BUS_*): Likewise.
31273         [POSIX] (CLD_*): Likewise.
31274         [POSIX] (FPE_*): Likewise.
31275         [POSIX] (ILL_*): Likewise.
31276         [POSIX] (POLL_*): Likewise.
31277         [POSIX] (SEGV_*): Likewise.
31278         [POSIX] (SI_*): Likewise.
31279         [POSIX] (TRAP_*): Likewise.
31280         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
31281         variable.
31283 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
31285         [BZ #12926]
31286         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
31287         infinite loop when __recvmsg returns 0.
31289 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
31291         * CANCEL-FCT-WAIVE: Remove file.
31292         * CANCEL-FILE-WAIVE: Likewise.
31294         [BZ #14132]
31295         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
31296         instead of INTVARDEF.
31297         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
31298         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
31299         rtld_hidden_data_def instead of INTVARDEF.
31300         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
31301         * elf/dl-deps.c (expand_dst): Likewise.
31302         * elf/dl-load.c (_dl_dst_count): Likewise.
31303         (_dl_dst_substitute): Likewise.
31304         (decompose_rpath): Likewise.
31305         (_dl_init_paths): Likewise.
31306         (open_path): Likewise.
31307         (_dl_map_object): Likewise.
31308         * elf/rtld.c (dl_main): Likewise.
31309         (process_dl_audit): Likewise.
31310         (process_envvars): Likewise.
31311         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
31312         Remove declaration.
31313         (__libc_enable_secure): Use rtld_hidden_proto.
31315 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31317         * elf/dl-load.c
31318         (add_path): New function broken out of _dl_rtld_di_serinfo.
31319         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
31321 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
31323         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
31324         parentheses around macro arguments.
31325         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
31326         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
31327         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
31328         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
31329         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
31330         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
31331         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
31332         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
31333         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
31334         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
31335         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
31336         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
31337         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
31338         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
31339         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
31340         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
31341         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
31342         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
31343         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
31344         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
31345         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
31346         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
31347         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
31348         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
31349         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
31350         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
31351         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
31352         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
31353         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
31354         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
31355         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
31356         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
31357         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
31358         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
31359         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
31360         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
31361         Likewise.
31362         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
31363         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
31364         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
31365         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
31366         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
31367         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
31368         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
31369         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
31370         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
31371         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
31372         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
31373         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
31374         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
31375         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
31376         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
31377         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
31378         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
31379         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
31380         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
31381         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
31382         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
31383         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
31384         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
31385         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
31386         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
31387         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
31388         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
31389         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
31390         (_FP_FRAC_SRS_1): Likewise.
31391         (_FP_FRAC_CLZ_1): Likewise.
31392         (_FP_MUL_MEAT_1_imm): Likewise.
31393         (_FP_MUL_MEAT_1_wide): Likewise.
31394         (_FP_MUL_MEAT_1_hard): Likewise.
31395         (_FP_SQRT_MEAT_1): Likewise.
31396         (_FP_FRAC_ASSEMBLE_1): Likewise.
31397         (_FP_FRAC_DISASSEMBLE_1): Likewise.
31398         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
31399         (__FP_CLZ_2): Likewise.
31400         (_FP_MUL_MEAT_2_wide): Likewise.
31401         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31402         (_FP_MUL_MEAT_2_gmp): Likewise.
31403         (_FP_MUL_MEAT_2_120_240_double): Likewise.
31404         (_FP_SQRT_MEAT_2): Likewise.
31405         (_FP_FRAC_ASSEMBLE_2): Likewise.
31406         (_FP_FRAC_DISASSEMBLE_2): Likewise.
31407         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
31408         (_FP_FRAC_CLZ_4): Likewise.
31409         (_FP_MUL_MEAT_4_wide): Likewise.
31410         (_FP_MUL_MEAT_4_gmp): Likewise.
31411         (_FP_SQRT_MEAT_4): Likewise.
31412         (_FP_FRAC_ASSEMBLE_4): Likewise.
31413         (_FP_FRAC_DISASSEMBLE_4): Likewise.
31414         * soft-fp/op-common.h (_FP_CMP): Likewise.
31415         (_FP_CMP_EQ): Likewise.
31416         (_FP_CMP_UNORD): Likewise.
31417         (_FP_TO_INT): Likewise.
31418         (_FP_FROM_INT): Likewise.
31419         [!__FP_CLZ] (__FP_CLZ): Likewise.
31420         (_FP_DIV_HELP_imm): Likewise.
31421         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
31422         Likewise.
31423         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
31424         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
31425         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
31426         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
31427         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
31428         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
31429         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
31430         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
31431         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
31432         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
31433         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
31434         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
31435         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
31436         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
31437         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
31438         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
31439         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
31440         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
31441         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
31442         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
31443         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
31444         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
31445         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
31446         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
31447         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
31448         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
31449         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
31450         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
31451         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
31452         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
31453         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
31454         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
31455         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
31456         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
31457         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
31458         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
31459         (FP_UNPACK_RAW_SP): Likewise.
31460         (FP_PACK_RAW_S): Likewise.
31461         (FP_PACK_RAW_SP): Likewise.
31462         (FP_UNPACK_S): Likewise.
31463         (FP_UNPACK_SP): Likewise.
31464         (FP_UNPACK_SEMIRAW_S): Likewise.
31465         (FP_UNPACK_SEMIRAW_SP): Likewise.
31466         (FP_PACK_S): Likewise.
31467         (FP_PACK_SP): Likewise.
31468         (FP_PACK_SEMIRAW_S): Likewise.
31469         (FP_PACK_SEMIRAW_SP): Likewise.
31470         (_FP_SQRT_MEAT_S): Likewise.
31471         (FP_CMP_S): Likewise.
31472         (FP_CMP_EQ_S): Likewise.
31473         (FP_CMP_UNORD_S): Likewise.
31474         (FP_TO_INT_S): Likewise.
31475         (FP_FROM_INT_S): Likewise.
31477         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
31479         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
31480         (FP_EX_INVALID_IMZ): Likewise.
31481         (FP_EX_INVALID_IMZ_FMA): Likewise.
31482         (FP_EX_INVALID_ISI): Likewise.
31483         (FP_EX_INVALID_ZDZ): Likewise.
31484         (FP_EX_INVALID_IDI): Likewise.
31485         (FP_EX_INVALID_SQRT): Likewise.
31486         (FP_EX_INVALID_CVI): Likewise.
31487         (FP_EX_INVALID_VC): Likewise.
31488         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
31489         "invalid" exceptions.
31490         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
31491         (_FP_ADD_INTERNAL): Likewise.
31492         (_FP_MUL): Likewise.
31493         (_FP_FMA): Likewise.
31494         (_FP_DIV): Likewise.
31495         (_FP_CMP_CHECK_NAN): Likewise.
31496         (_FP_SQRT): Likewise.
31497         (_FP_TO_INT): Likewise.
31498         (FP_EXTEND): Likewise.
31500 2014-10-09  Allan McRae  <allan@archlinux.org>
31502         * po/fr.po: Update French translation from translation project.
31504 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
31506         [BZ #14132]
31507         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
31508         of INTDEF.
31509         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
31510         (__cxa_atexit): Use libc_hidden_proto.
31511         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
31513         [BZ #14132]
31514         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
31515         declaration.
31516         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
31517         [!_ISOMAC] (__iswspace_l_internal): Likewise.
31518         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
31519         [!_ISOMAC] (__iswctype_internal): Likewise.
31520         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
31521         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
31522         alias.
31523         (fcntl): Remove __fcntl_internal alias.
31524         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
31525         __connect_internal alias.
31526         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
31527         Likewise.
31529         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
31530         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
31531         FP_DENORM_ZERO.
31532         (_FP_CHECK_FLUSH_ZERO): New macro.
31533         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
31534         (_FP_CMP): Likewise.
31535         (_FP_CMP_EQ): Likewise.
31536         (_FP_TO_INT): Do not set inexact for subnormal arguments if
31537         FP_DENORM_ZERO.
31538         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
31539         (FP_TRUNC): Likewise.
31541         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
31542         treated as invalid conversion, not as normal exponent.
31544         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
31545         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
31546         (_FP_CMP_EQ): Likewise.
31547         (_FP_CMP_UNORD): Likewise.
31548         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
31549         (FP_CMP_EQ_D): Likewise.
31550         (FP_CMP_UNORD_D): Likewise.
31551         * soft-fp/extended.h (FP_CMP_E): Likewise.
31552         (FP_CMP_EQ_E): Likewise.
31553         (FP_CMP_UNORD_E): Likewise.
31554         * soft-fp/quad.h (FP_CMP_Q): Likewise.
31555         (FP_CMP_EQ_Q): Likewise.
31556         (FP_CMP_UNORD_Q): Likewise.
31557         * soft-fp/single.h (FP_CMP_S): Likewise.
31558         (FP_CMP_EQ_S): Likewise.
31559         (FP_CMP_UNORD_S): Likewise.
31560         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
31561         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
31562         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
31563         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
31564         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
31565         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
31566         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
31567         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
31568         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
31569         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
31570         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
31571         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
31572         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
31573         to FP_CMP_Q.
31574         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
31575         FP_CMP_Q.
31576         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
31577         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
31578         FP_CMP_EQ_Q.
31579         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
31580         FP_CMP_Q.
31581         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
31582         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
31583         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
31584         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
31585         FP_CMP_EQ_Q.
31586         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
31587         FP_CMP_Q.
31588         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
31589         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
31590         FP_CMP_EQ_Q.
31591         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
31592         FP_CMP_Q.
31593         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
31594         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
31595         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
31596         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
31597         FP_CMP_EQ_Q.
31599         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
31600         a subnormal result, set the underflow exception if trapping on
31601         underflow is enabled.
31602         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
31603         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
31604         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
31605         redefine to 0.
31606         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
31607         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
31608         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
31609         * soft-fp/extendxftf2.c (__extendxftf2): Use
31610         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
31612         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
31613         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
31614         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31615         FP_HANDLE_EXCEPTIONS.
31616         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
31617         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31618         FP_HANDLE_EXCEPTIONS.
31619         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
31620         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31621         FP_HANDLE_EXCEPTIONS.
31622         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
31623         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31624         FP_HANDLE_EXCEPTIONS.
31626 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
31628         [BZ #14132]
31629         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
31630         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
31631         use INTUSE.
31632         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
31633         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
31634         Remove alias.
31635         (__adjtimex): Define using libc_hidden_ver.
31636         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
31637         Remove declaration.
31638         (ntp_gettime): Call __adjtimex directly.
31639         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
31640         Remove declaration.
31641         (ntp_gettimex): Call __adjtimex directly.
31642         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
31643         __adjtimex_internal alias.
31645 2014-10-08  Roland McGrath  <roland@hack.frob.com>
31647         [BZ #17460]
31648         * nscd/nscd.c (more_help): Rewrite list of tables collection
31649         using xstrdup and asprintf.
31651         * nscd/nscd_conf.c: Remove local xstrdup declaration.
31653 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31654             Roland McGrath  <roland@hack.frob.com>
31656         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
31657         (do_lookup_unique): ... local function 'enter' here; update callers.
31659 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
31661         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
31662         compat_symbol calls on [SHARED].
31663         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
31664         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
31665         Remove.
31666         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31667         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
31668         (oldsetrlimit): Remove.
31669         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
31671         (lchown): New syscall entry.
31672         (oldsetrlimit): Remove.
31673         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31674         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
31675         (oldsetrlimit): Remove.
31676         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31678         [BZ #14138]
31679         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
31680         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
31681         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
31682         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
31683         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
31684         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
31685         (fchown): Likewise.
31686         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
31687         (fchown): Likewise.
31688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
31689         Likewise.
31691 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31693         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
31694         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
31695         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
31696         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
31697         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
31698         Likewise.
31699         (__old_sem_post): Likewise.
31701 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
31703         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
31704         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
31705         HAVE_CLOCK_GETTIME_VSYSCALL macros.
31706         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
31707         Use INLINE_VSYSCALL macro.
31708         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
31709         __vdso_clock_gettime.
31710         * sysdeps/unix/sysv/linux/tile/init-first.c
31711         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
31712         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
31713         __vdso_clock_gettime.
31715         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
31716         to set up frame more cleanly.
31718         * sysdeps/tile/memcmp.c: New file.
31720         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
31722         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
31723         * sysdeps/tile/tilegx/strcasestr.c: New file.
31724         * sysdeps/tile/tilegx/strnlen.c: New file.
31725         * sysdeps/tile/tilegx/strstr.c: New file.
31727         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
31729 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
31731         * nptl/tst-setuid3.c: Write errors to stdout.
31733 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31735         * elf/dl-deps.c
31736         (preload): New functions broken out of _dl_map_object_deps.
31737         (_dl_map_object_deps):  Remove a nested function. Update call sites.
31739 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
31741         [BZ #14138]
31742         * sysdeps/unix/sysv/linux/execve.c: Remove file.
31743         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
31745 2014-10-01  Steve Ellcey  <sellcey@mips.com>
31747         * sysdeps/mips/strcmp.S: New.
31749 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
31751         [BZ #14138]
31752         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
31753         (linkat): Likewise.
31754         (mkdirat): Likewise.
31755         (readlinkat): Likewise.
31756         (renameat): Likewise.
31757         (symlinkat): Likewise.
31758         (unlinkat): Likewise.
31759         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
31760         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
31761         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
31762         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
31763         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
31764         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
31765         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
31767 2014-09-30  Will Newton  <will.newton@linaro.org>
31769         * math/math.h: Define long double math functions if
31770         _LIBC_TEST is defined.
31771         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
31773         * localedata/Makefile: Move assignment to tests-special
31774         into an ifdef testing run-built-tests.
31775         * timezone/Makefile: Likewise.
31777 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
31779         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
31780         with $(BASH) not $(SHELL).
31782 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
31783             Matthew LeGendre  <legendre1@llnl.gov>
31785         [BZ #17411]
31786         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
31787         l_reloc_result.
31789 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31791         * stdio-common/printf_fp.c
31792         (hack_digit): New function, broken out of ...
31793         (__printf_fp): ... local function here.  Update call sites.
31794         hack_digit now takes an additional parameter that is a pointer
31795         to a struct of the referenced locals.  Those locals moved inside
31796         the struct and references updated.
31798 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
31800         * aclocal.m4: Require autoconf 2.69.
31801         * configure: Regenerated.
31802         * sysdeps/aarch64/configure: Likewise.
31803         * sysdeps/alpha/configure: Likewise.
31804         * sysdeps/arm/armv7/configure: Likewise.
31805         * sysdeps/arm/configure: Likewise.
31806         * sysdeps/ia64/configure: Likewise.
31807         * sysdeps/mach/configure: Likewise.
31808         * sysdeps/mips/configure: Likewise.
31809         * sysdeps/s390/configure: Likewise.
31810         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
31811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
31813         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
31814         file.
31815         * sysdeps/ia64/configure.ac: Likewise.
31817 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
31819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
31820         specify symbol version for ld.so.  Do not include entry for
31821         libpthread.
31822         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31823         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
31824         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31826         [BZ #14171]
31827         * Makeconfig [$(build-shared) = yes]
31828         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
31829         makefiles.
31830         [$(build-shared) = yes && $(soversions.mk-done) = t]
31831         ($(common-objpfx)gnu/lib-names.h): Remove rule.
31832         [$(build-shared) = yes && $(soversions.mk-done) = t]
31833         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
31834         to Makerules.
31835         [$(build-shared) = yes && $(soversions.mk-done) = t]
31836         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
31837         here.
31838         [$(build-shared) = yes && $(soversions.mk-done) = t]
31839         (common-generated): Don't append gnu/lib-names.h and
31840         gnu/lib-names.stmp here.
31841         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
31842         (lib-names-h-abi): New variable.
31843         [$(build-shared) = yes && $(soversions.mk-done) = t]
31844         (lib-names-stmp-abi): Likewise.
31845         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31846         abi-variants] (before-compile): Append
31847         $(common-objpfx)$(lib-names-h-abi).
31848         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31849         abi-variants] (common-generated): Append gnu/lib-names.h.
31850         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31851         abi-variants] (install-others-nosubdir): Depend on
31852         $(inst_includedir)/$(lib-names-h-abi).
31853         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31854         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
31855         [$(build-shared) = yes && $(soversions.mk-done) = t]
31856         ($(common-objpfx)$(lib-names-h-abi)): New rule.
31857         [$(build-shared) = yes && $(soversions.mk-done) = t]
31858         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
31859         [$(build-shared) = yes && $(soversions.mk-done) = t]
31860         (common-generated): Append $(lib-names-h-abi) and
31861         $(lib-names-stmp-abi).
31862         * scripts/lib-names.awk: Do not handle multi being set.
31863         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
31864         Remove variable.
31865         (abi-lp64_be-ld-soname): Likewise.
31866         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
31867         Likewise.
31868         (abi-hard-ld-soname): Likewise.
31869         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
31870         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
31871         Remove variable.
31872         (abi-o32_hard-ld-soname): Likewise.
31873         (abi-o32_soft_2008-ld-soname): Likewise.
31874         (abi-o32_hard_2008-ld-soname): Likewise.
31875         (abi-n32_soft-ld-soname): Likewise.
31876         (abi-n32_hard-ld-soname): Likewise.
31877         (abi-n32_soft_2008-ld-soname): Likewise.
31878         (abi-n32_hard_2008-ld-soname): Likewise.
31879         (abi-n64_soft-ld-soname): Likewise.
31880         (abi-n64_hard-ld-soname): Likewise.
31881         (abi-n64_soft_2008-ld-soname): Likewise.
31882         (abi-n64_hard_2008-ld-soname): Likewise.
31883         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
31884         Likewise.
31885         (abi-64-v2-ld-soname): Likewise.
31886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
31887         ld.so entries.
31888         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
31889         variable.
31890         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
31891         entry.
31892         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
31893         variable.
31894         (abi-64-ld-soname): Likewise.
31895         (abi-x32-ld-soname): Likewise.
31896         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
31897         entry.
31898         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31900 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
31902         [BZ #14138]
31903         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
31904         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
31905         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
31906         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
31907         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
31908         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
31909         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
31910         syscall entry for GLIBC_2.2 symbol version.
31911         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
31912         Likewise.
31913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
31914         (setrlimit): Likewise.
31915         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
31916         Likewise.
31918 2014-09-23  Will Newton  <will.newton@linaro.org>
31920         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
31921         _LINUX_ARM_SYSDEP_H include guard too.
31922         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
31923         define.
31925 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31927         * sysdeps/unix/sysv/linux/eventfd.c:
31928         Make first argument unsigned.
31929         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
31930         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
31932 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
31934         [BZ #16852]
31935         * socket/recvmmsg.c (recvmmsg): Drop const argument.
31936         * socket/sys/socket.h: Likewise.
31937         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
31939 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31941         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
31943 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
31945         * time/tst-ftime.c: New test.
31946         * time/Makefile (tests): Add tst-ftime.
31948 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
31950         * soft-fp/extended.h: Fix comment formatting.
31951         * soft-fp/op-1.h: Likewise.
31952         * soft-fp/op-2.h: Likewise.
31953         * soft-fp/op-4.h: Likewise.
31954         * soft-fp/op-8.h: Likewise.
31955         * soft-fp/op-common.h: Likewise.
31956         * soft-fp/soft-fp.h: Likewise.
31958         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
31960 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
31962         [BZ #6652]
31963         * Makeconfig (soversions-default-setname): Remove variable.
31964         ($(common-objpfx)soversions.i): Don't pass default_setname to
31965         soversions.awk.
31966         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
31967         oldest_abi to abi-versions.awk.
31968         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
31969         * config.make.in (oldest-abi): Remove variable.
31970         * configure.ac (--enable-oldest-abi): Remove configure option.
31971         * configure: Regenerated.
31972         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
31973         text.
31974         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
31975         * scripts/soversions.awk: Do not handle default_setname variable.
31976         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
31977         variable.
31978         * sysdeps/mach/hurd/configure: Regenerated.
31979         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
31980         variable.
31981         * sysdeps/unix/sysv/linux/configure: Regenerated.
31983 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31985         * elf/Makefile (CFLAGS-interp.c): Remove.
31986         ($(elf-objpfx)runtime-linker.h): Generate header with linker
31987         path string.
31988         * elf/interp.c: Include generated runtime-linker.h
31990         * Makerules (lib%.so): Don't include $(+interp) in
31991         prerequisites.
31992         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
31993         * dlfcn/eval.c: Remove file.
31995         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
31996         macros.
31998         [BZ #17266]
31999         * misc/sys/cdefs.h: Define __extern_always_inline for clang
32000         4.2 and newer.
32002         [BZ #17370]
32003         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
32005 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32006             Jakub Jelinek  <jakub@redhat.com>
32008         [BZ #17266]
32009         * libio/stdio.h: Check definition of __fortify_function
32010         instead of __extern_always_inline to include bits/stdio2.h.
32011         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
32012         check if __extern_always_inline is defined.
32013         [__USE_MISC || __USE_XOPEN]: Likewise.
32014         [__USE_ISOC99] Likewise.
32015         * misc/sys/cdefs.h (__fortify_function): Define only if
32016         __extern_always_inline is defined.
32017         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
32018         __extern_always_inline and __extern_inline only for g++-4.3
32019         and newer or a compatible gcc.
32021 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
32023         [BZ #17371]
32024         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
32025         last change to handle zero prefix length.
32027 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32029         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
32030         _SC_REGEX_VERSION.
32032         * posix/getconf.c (vars): Add _POSIX_IPV6 and
32033         _POSIX_RAW_SOCKETS.
32035 2014-09-13  Allan McRae  <allan@archlinux.org>
32037         * po/ru.po: Update Russian translation from translation project.
32039 2014-09-12  Roland McGrath  <roland@hack.frob.com>
32041         * locale/programs/locale.c (show_locale_vars): Inline local function
32042         into its sole call site.  Clean up some style nits.
32043         (print_item): New function, broken out of ...
32044         (show_info): ... local function here.  Clean up style nits.
32046         * locale/programs/ld-ctype.c (set_one_default): New function, broken
32047         out of ...
32048         (set_class_defaults): ... local function set_default here.
32049         Define set_default as a macro locally to pass constant parameters.
32050         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
32051         rather than a shared local.
32053         * stdlib/rpmatch.c (try): New function, broken out of ...
32054         (rpmatch): ... local function here.  Also, prototypify definition.
32056 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
32058         * scripts/soversions.awk: Do not handle configuration names.
32059         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
32060         vendor and os variables to soversions.awk.
32061         * configure.ac: Do not modify gnu-* host_os.
32062         * configure: Regenerated
32063         * shlib-versions: Remove first column with configuration names.
32064         * nptl/shlib-versions: Likewise.
32065         * nptl_db/shlib-versions: Likewise.
32066         * sysdeps/hppa/shlib-versions: Likewise.
32067         * sysdeps/m68k/shlib-versions: Likewise.
32068         * sysdeps/mach/hurd/shlib-versions: Likewise.
32069         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
32070         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
32071         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
32072         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
32073         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
32074         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
32075         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
32076         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
32077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
32078         Likewise.
32079         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
32080         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
32081         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
32082         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
32083         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
32084         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
32085         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
32086         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
32088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
32089         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
32090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
32091         Regenerated.
32092         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
32093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
32094         Condition symbol version definitions on [HAVE_ELFV2_ABI].
32096         * shlib-versions: Remove OS-specific entries.  Moved to files in
32097         sysdeps.
32098         * sysdeps/mach/hurd/shlib-versions: New file.
32099         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
32101         * nptl/shlib-versions: Remove architecture-specific entries.
32102         Moved to files in sysdeps.
32103         * shlib-versions: Likewise.
32104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
32105         file.
32106         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
32107         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
32108         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
32109         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
32111         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
32112         (UDP_NO_CHECK6_RX): Likewise.
32114 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32116         * sysdeps/posix/sysconf.c (__sysconf): Spell
32117         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
32119 2014-08-12  Florian Weimer  <fweimer@redhat.com>
32121         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
32122         loading.
32123         * iconv/Versions (__gconv_transliterate): Export for use from
32124         gconv modules.
32125         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
32126         (struct __gconv_trans_data, __gconv_trans_fct,
32127         __gconv_trans_context_fct, __gconv_trans_query_fct,
32128         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
32129         definitions.
32130         (struct __gconv_step_data): Remove __trans member.
32131         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
32132         longer hidden.  Remove unused trans_data argument.
32133         * iconv/gconv_int.h (struct trans_struct): Remove definition.
32134         (__gconv_translit_find): Remove declaration.
32135         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
32136         prototype.
32137         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
32138         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
32139         trans_data argument.  Add hidden definition.
32140         (__gconv_translit_find): Remove.
32141         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
32142         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
32143         * iconv/skeleton.c: Remove transliteration initialization.
32144         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
32145         __gconv_step_data initialization.
32146         * libio/iofwide.c (__libio_translit_): Remove.
32147         (_IO_fwide): Adjust struct __gconv_step_data initialization.
32148         * wcsmbs/btowc.c (__btowc): Likewise.
32149         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32150         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
32151         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
32152         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
32153         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
32154         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
32155         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
32156         * wcsmbs/wctob.c (wctob): Likewise.
32158 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32160         [BZ #16194]
32161         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
32162         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
32163         register usage.
32164         * sysdeps/x86/Makefile: Adjust.
32166 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32167             Roland McGrath  <roland@hack.frob.com>
32169         * locale/weight.h: Add include guard.
32170         (findidx): Make static rather than auto; take new parameters
32171         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
32172         * locale/weightwc.h: Likewise.
32173         * posix/fnmatch_loop.c
32174         (FCT): Change type of EXTRA from int32_t to wint_t.
32175         Don't include either header inside the function.
32176         Call FINDIDX rather than findidx, and pass new arguments.
32177         #undef FINDIDX at the end of the file.
32178         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
32179         FINDIDX before including fnmatch_loop.c for the non-wide version.
32180         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
32181         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
32182         for the wide version.
32183         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
32184         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
32185         Pass new arguments to findidx.
32186         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
32187         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
32188         Don't #include it inside the function.  Pass new arguments to findidx.
32189         * posix/regex_internal.h
32190         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
32191         (re_string_elem_size_at): Don't #include it inside the function.
32192         Pass new arguments to findidx.
32193         * string/strcoll_l.c: #include WEIGHT_H at top level.
32194         (get_next_seq): Don't #include it inside the function.
32195         Pass new arguments to findidx.
32196         (get_next_seq_nocache): Likewise.
32197         * string/strxfrm_l.c: #include WEIGHT_H at top level.
32198         (STRXFRM): Don't #include it inside the function.
32199         Pass new arguments to findidx.
32201 2014-09-11  Florian Weimer  <fweimer@redhat.com>
32203         [BZ #17344]
32204         * malloc/malloc.c (unlink): Turn asserts into a call to
32205         malloc_printerr.
32207 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
32209         [BZ #17370]
32210         * libio/wfileops (do_ftell_wide): Free OUT.
32212 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
32214         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
32216 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32218         [BZ #17363]
32219         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
32220         group if the current group is empty.
32222 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32224         * benchtests/bench-memset.c (test_main): Add more test from size
32225         from 32 to 512 bytes.
32226         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32227         Add POWER8 memset object.
32228         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32229         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
32230         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
32231         implementation.
32232         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
32233         Likewise.
32234         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
32235         multiarch POWER8 memset optimization.
32236         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
32237         POWER8 memset optimization.
32239         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32240         Remove bzero multiarch objects.
32241         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
32242         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
32243         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
32244         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
32245         Remove define.
32246         [__bzero]: Redefine to specific name.
32247         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
32248         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
32249         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
32250         define.
32251         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32252         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
32254 2014-09-10  Florian Weimer  <fweimer@redhat.com>
32256         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
32257         warnings into errors.
32259         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
32260         __cxa_thread_atexit_impl prototype.
32262 2014-09-09  Steve Ellcey  <sellcey@mips.com>
32264         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
32265         Fix capitalization of error message.
32267 2014-09-09  Steve Ellcey  <sellcey@mips.com>
32269         * sysdeps/mips/preconfigure: Modify ABI tests.
32271 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
32273         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
32275 2014-09-07  Roland McGrath  <roland@hack.frob.com>
32276             Carlos O'Donell  <carlos@systemhalted.org>
32278         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
32279         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
32280         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
32281         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
32282         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
32283         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
32284         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
32285         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
32286         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
32287         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
32288         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
32289         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
32290         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
32291         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
32292         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
32293         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
32294         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
32295         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
32296         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
32297         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
32298         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
32299         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
32300         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
32301         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
32302         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
32303         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
32304         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
32305         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
32306         Deconditionalize the code that was previously under [RESET_PID].
32307         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
32308         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
32309         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
32310         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
32311         include sysdep.h.
32313 2014-09-08  Allan McRae  <allan@archlinux.org>
32315         * version.h (RELEASE): Set to "development".
32316         (VERSION): Set to "2.20.90"
32318 2014-09-07  Allan McRae  <allan@archlinux.org
32320         * version.h (RELEASE): Set to "stable".
32321         (VERSION): Set to "2.20"
32322         * include/features.h (__GLIBC_MINOR__): Set to 20.
32324         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
32325         Liebler.
32327         * po/ko.po: Update Korean translation from translation project.
32329 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
32331         [BZ #17354]
32332         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
32333         macro for handling signed relocations.
32335 2014-09-03  Florian Weimer  <fweimer@redhat.com>
32337         [BZ #17325]
32338         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
32339         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
32340         assert.
32341         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
32342         * iconvdata/ibm935.c (BODY): Likewise.
32343         * iconvdata/ibm937.c (BODY): Likewise.
32344         * iconvdata/ibm939.c (BODY): Likewise.
32345         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
32346         assert.
32347         * iconvdata/Makefile (iconv-test.out): Pass module list to test
32348         script.
32349         * iconvdata/run-iconv-test.sh: New test loop for checking for
32350         decoder crashers.
32352 2014-09-02  Khem Raj  <raj.khem@gmail.com>
32354         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
32355         libm_hidden_ver.
32357 2014-09-01  Allan McRae  <allan@archlinux.org>
32359         * po/eo.po: Update Esperanto translation from translation project.
32361         * po/ca.po: Update Catalan translation from translation project.
32363 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32365         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
32366         __proc_dostop call.
32368 2014-08-27  Mark Wielaard  <mjw@redhat.com>
32370         [BZ #17319]
32371         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
32372         to call set_thread_area instead of hand written asm.
32373         (__NR_set_thread_area): Removed define.
32374         (TLS_FLAG_WRITABLE): Likewise.
32375         (__ASSUME_SET_THREAD_AREA): Remove check.
32376         (TLS_EBX_ARG): Remove define.
32377         (TLS_LOAD_EBX): Likewise.
32379 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32381         Simplify atomicity of socket creation in bind.
32383         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
32384         looking up the name after linking the file.
32386 2014-08-27  Allan McRae  <allan@archlinux.org>
32388         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32390 2014-08-26  Florian Weimer  <fweimer@redhat.com>
32392         [BZ #17187]
32393         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
32394         trans_compare, open_translit, __gconv_translit_find):
32395         Remove module loading code.
32397 2014-08-26  Allan McRae  <allan@archlinux.org>
32399         * po/vi.po: Update Vietnamese translation from translation project.
32401         * po/uk.po: Update Ukrainian translation from translation project.
32403         * po/fr.po: Update French translation from translation project.
32405         * po/ru.po: Update Russian translation from translation project.
32407         * po/pl.po: Update Polish translation from translation project.
32409         * po/cs.po: Update Czech translation from translation project.
32411         * po/de.po: Update German translation from translation project.
32413         * po/bg.po: Update Bulgarian translation from translation project.
32415         * po/sv.po: Update Sweedish translation from translation project.
32417         * po/nl.po: Update Dutch translation from translation project.
32419         * po/es.po: Update Spanish translation from translation project.
32421 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32423         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
32425         * catgets/Makefile (CPPFLAGS-gencat): Remove.
32426         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
32427         (CPPFLAGS-iconvconfig): Likewise.
32428         * timezone/Makefile (CPPFLAGS-zic): Likewise.
32430         * include/libc-symbols.h: Remove unnecessary check for
32431         NOT_IN_libc.
32432         * nptl/pthreadP.h: Likewise.
32433         * sysdeps/aarch64/setjmp.S: Likewise.
32434         * sysdeps/alpha/setjmp.S: Likewise.
32435         * sysdeps/arm/sysdep.h: Likewise.
32436         * sysdeps/i386/setjmp.S: Likewise.
32437         * sysdeps/m68k/setjmp.c: Likewise.
32438         * sysdeps/posix/getcwd.c: Likewise.
32439         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32440         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
32441         * sysdeps/s390/s390-32/setjmp.S: Likewise.
32442         * sysdeps/s390/s390-64/setjmp.S: Likewise.
32443         * sysdeps/sh/sh3/setjmp.S: Likewise.
32444         * sysdeps/sh/sh4/setjmp.S: Likewise.
32445         * sysdeps/unix/alpha/sysdep.h: Likewise.
32446         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32447         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32448         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
32449         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32452         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32453         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32454         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32455         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32456         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32457         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32458         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32459         * sysdeps/x86_64/setjmp.S: Likewise.
32461 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
32463         [BZ #17263]
32464         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
32465         <stdint.h>.
32466         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
32467         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
32469 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32471         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
32473         [BZ #17262]
32474         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
32475         and __x86_64__ when disabling x87 inline functions.
32477 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
32479         [BZ #17259]
32480         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
32481         asm statement with __cpuid_count.
32483 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
32485         * configure.ac: Change __ehdr_start code to dereference the struct.
32486         Run readelf on the output to look for relocations.
32487         * configure: Regenerated.
32489 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
32491         [BZ #17261]
32492         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
32493         value to 0.
32494         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
32496 2014-08-12  Roland McGrath  <roland@hack.frob.com>
32498         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
32500 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
32502         [BZ #16892]
32503         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
32504         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
32506 2014-08-12  Sean Anderson  <seanga2@gmail.com>
32508         * malloc/malloc.c: Fix typo in comment.
32510 2014-08-09  Allan McRae  <allan@archlinux.org>
32512         * Regenerate libc.po.
32514 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
32516         * intl/tst-gettext2.sh: Check every lang file for creation.
32518 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
32520         * sysdeps/aarch64/fpu/math_private.h
32521         (libc_feholdsetround_noex_aarch64_ctx): New function.
32523 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
32525         * sysdeps/arm/armv6/strcpy.S (strcpy):
32526         Fix performance issue in misaligned cases.
32528 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32530         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
32531         Move definition from termios.h.
32532         (struct termio): Likewise.
32533         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32534         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
32535         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
32536         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
32537         Likewise.
32538         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
32539         Move definition to ioctl-types.h
32540         (struct termio): Likewise.
32541         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32542         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
32543         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
32544         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
32545         Likewise.
32547 2014-08-05  Richard Henderson  <rth@redhat.com>
32549         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
32550         exceptions.
32551         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
32552         Add fraiseexcpt.
32553         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
32554         Use __feraiseexcept.
32555         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
32556         Protect libm symbols with IS_IN_libm.
32558         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
32560 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
32562         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
32564 2014-08-04  Will Newton  <will.newton@linaro.org>
32566         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
32567         file.
32569 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
32571         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
32572         variants for each function.
32574 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32576         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
32577         appended ...
32578         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
32579         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
32580         appended ...
32581         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
32582         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
32583         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
32584         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
32585         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
32586         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
32587         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
32588         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
32589         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
32590         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
32591         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
32592         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
32593         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
32594         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
32595         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
32596         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
32597         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
32598         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
32599         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
32600         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
32601         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
32602         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
32603         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
32604         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
32605         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
32606         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
32607         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
32608         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
32609         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
32610         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
32611         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
32612         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
32613         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
32614         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
32615         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
32616         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
32617         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
32618         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
32619         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
32620         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
32621         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
32622         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
32623         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
32624         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
32625         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
32626         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
32627         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
32628         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
32629         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
32630         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
32631         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
32632         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
32633         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
32634         Update #include.
32635         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
32636         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
32638 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32640         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
32641         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
32642         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
32643         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
32644         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
32645         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
32647 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32649         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
32650         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
32651         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32652         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
32654 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32656         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
32657         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
32658         (__libc_vfork): Define function under this name.
32659         (__vfork): Define as an alias.
32660         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
32661         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
32663 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32665         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
32666         that was previously under [RESET_PID].
32667         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
32669 2014-08-04  Andreas Schwab  <schwab@suse.de>
32671         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
32673 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
32675         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
32676         (main): Likewise.
32678 2014-08-01  Roland McGrath  <roland@hack.frob.com>
32680         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
32682 2014-08-01  Richard Henderon  <rth@redhat.com>
32684         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
32685         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
32686         typo in exact zero test.
32687         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32688         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32689         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32691 2014-08-01  Roland McGrath  <roland@hack.frob.com>
32693         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
32694         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
32695         * sysdeps/arm/sysdep.h: ... here.
32696         [!__ASSEMBLER__]: Include <stdint.h>.
32698 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32700         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
32701         (HAVE_WCTYPE_H): Likewise.
32702         (HAVE_ISWCTYPE): Likewise.
32703         (ENABLE_NLS): Likewise.
32704         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
32705         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
32707         * posix/regex_internal.c: Check if DEBUG is defined and is
32708         set.
32710         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
32711         (HAVE_MBSRTOWCS): Likewise.
32712         * posix/fnmatch.c: Include string.h unconditionally.
32714 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
32716         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
32717         reversal.
32719 2014-07-31  Roland McGrath  <roland@hack.frob.com>
32721         * sysdeps/generic/safe-fatal.h: New file.
32722         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
32723         * nptl/forward.c: Include it.
32724         (__pthread_unwind): Use __safe_fatal as default action, rather
32725         than a bogus use of INTERNAL_SYSCALL that could never work.
32727         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
32728         * configure.ac (libc_cv_builtin_trap): New test.
32729         * configure: Regenerated.
32730         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
32731         (ABORT_INSTRUCTION): Define using __builtin_trap.
32733         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
32734         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
32735         * sysdeps/nptl/nptl-signals.h: New file.
32736         * nptl/pthreadP.h: Include <nptl-signals.h>.
32738 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
32740         * sysdeps/s390/s390-64/utf16-utf32-z9.c
32741         (ONE_DIRECTION): Define.
32742         * sysdeps/s390/s390-64/utf8-utf16-z9.c
32743         (ONE_DIRECTION): Define.
32744         * sysdeps/s390/s390-64/utf8-utf32-z9.c
32745         (ONE_DIRECTION): Define.
32747 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
32749         * sysdeps/s390/Makefile: Delete file.
32750         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
32751         * sysdeps/s390/__longjmp.c: Delete file.
32752         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
32753         Remove fields __flags and __reserved.
32754         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
32755         and add versioning.
32756         * sysdeps/s390/rtld-__longjmp.c: Delete file.
32757         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
32758         * sysdeps/s390/rtld-setjmp.S: Likewise.
32759         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
32760         * sysdeps/s390/s390-32/__longjmp.c: ... here.
32761         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
32762         * sysdeps/s390/s390-32/setjmp.S: ... here.
32763         Add versioning.
32764         (__sigsetjmp): Remove setting __flags field.
32765         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
32766         * sysdeps/s390/s390-64/__longjmp.c: ... here.
32767         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
32768         * sysdeps/s390/s390-64/setjmp.S: ... here.
32769         Add versioning.
32770         (__sigsetjmp): Remove setting __flags field.
32771         * sysdeps/s390/setjmp.S: Delete file.
32772         * sysdeps/s390/sigjmp.c: Likewise.
32773         * sysdeps/s390/v1-longjmp.c: Likewise.
32774         * sysdeps/s390/v1-setjmp.h: Likewise.
32775         * sysdeps/s390/v1-sigjmp.c: Likewise.
32776         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
32777         Remove v1-longjmp_chk.
32778         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
32779         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
32780         Include debug/longjmp_chk.c and add versioning.
32781         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
32782         Include nptl/pt-longjmp.c and add versioning.
32783         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
32784         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
32785         Include __longjmp.c.
32786         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
32787         Move to ...
32788         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
32789         (__getcontext): Remove setting __flags field.
32790         Add versioning.
32791         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
32792         Don't restore upper high grps.
32793         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
32794         Likewise.
32795         (__swapcontext): Remove setting uc_flags field.
32796         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
32797         Delete file.
32798         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
32799         Include __longjmp.c.
32800         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
32801         Move to ...
32802         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
32803         (__getcontext): Remove setting __flags field.
32804         Add versioning.
32805         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
32806         (__swapcontext): Remove setting uc_flags field.
32807         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
32808         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
32809         Remove fields uc_high_gprs and __reserved.
32810         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
32811         New file with reverted content.
32812         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
32813         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
32814         Regenerated.
32815         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
32816         Regenerated.
32818 2014-07-31  Andreas Schwab  <schwab@suse.de>
32820         * config.h.in (HAVE_IFUNC): Define to 0.
32821         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
32822         definedness.
32824 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
32826         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32827         memmove-avx-unaligned, memcpy-avx-unaligned and
32828         mempcpy-avx-unaligned.
32829         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32830         Add tests for AVX memcpy functions.
32831         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
32832         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
32833         memcpy_chk.
32834         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
32835         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
32836         memmove_chk.
32837         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
32838         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
32839         mempcpy_chk.
32840         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
32841         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
32842         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
32844 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32846         [BZ #17213]
32847         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
32848         powerpc64le.
32850 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
32852         [BZ #16839]
32853         * manual/llio.texi: Add section about open file description locks.
32854         * manual/examples/ofdlocks.c: Example of open file description
32855         lock usage.
32856         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
32857         F_OFD_SETLK, and F_OFD_SETLKW.
32859 2014-07-23  Allan McRae  <allan@archlinux.org>
32861         * po/es.po: Update Spanish translation from translation project.
32863 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
32865         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
32867 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
32869         [BZ #17078]
32870         * sysdeps/arm/dl-machine.h (elf_machine_rela)
32871         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
32872         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
32874 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
32876         [BZ #17088]
32877         * math/fesetenv.c (__fesetenv)
32878         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
32879         * math/feupdateenv.c (__feupdateenv)
32880         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
32882         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
32883         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
32884         (__ASSUME_SOCKETCALL): Do not define.
32886         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
32887         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
32888         (__ASSUME_SOCKETCALL): Do not define.
32889         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
32890         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
32891         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32892         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
32893         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32894         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
32895         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32896         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32898         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
32899         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
32900         (__ASSUME_SOCKETCALL): Do not define.
32901         (__ASSUME_IPC64): Define unconditionally.
32902         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
32903         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32904         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
32905         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32906         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
32907         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32908         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
32909         Likewise.
32911         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
32912         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
32913         (__ASSUME_SOCKETCALL): Do not define.
32914         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
32915         (__ASSUME_FUTEX_LOCK_PI): Likewise.
32916         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32917         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
32918         (__ASSUME_REQUEUE_PI): Define unconditionally.
32919         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
32920         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
32921         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32922         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
32923         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32924         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32926         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
32927         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
32928         (__ASSUME_SOCKETCALL): Do not define.
32929         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
32930         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32931         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32932         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
32933         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32934         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32936         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
32937         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
32938         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32939         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
32940         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32941         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
32942         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32943         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
32944         (__ASSUME_GETCPU_SYSCALL): Likewise.
32946         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
32947         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
32948         cases for individual architectures.
32949         * sysdeps/gnu/configure: Regenerated.
32950         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
32951         LIBC_SLIBDIR_RTLDDIR.
32952         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
32953         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
32954         LIBC_SLIBDIR_RTLDDIR.
32955         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
32956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
32957         LIBC_SLIBDIR_RTLDDIR.
32958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
32959         Regenerated.
32960         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
32961         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
32962         file.
32963         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
32964         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
32965         file.
32966         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
32967         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
32968         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
32969         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
32971         * sysdeps/aarch64/shlib-versions: Move to ...
32972         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
32973         * sysdeps/alpha/shlib-versions: Move to ...
32974         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
32975         * sysdeps/arm/shlib-versions: Move to ...
32976         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
32977         * sysdeps/hppa/shlib-versions: Move all contents except for
32978         libgcc_s entry to ...
32979         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
32980         entry from ...
32981         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
32982         * sysdeps/ia64/shlib-versions: Move to ...
32983         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
32984         entry from ...
32985         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
32986         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
32987         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
32988         * sysdeps/microblaze/shlib-versions: Move to ...
32989         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
32990         * sysdeps/mips/shlib-versions: Move to ...
32991         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
32992         entry from ...
32993         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
32994         * sysdeps/tile/shlib-versions: Move to ...
32995         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
32996         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
32997         from ...
32998         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
32999         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
33000         entry from ...
33001         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
33003 2014-07-17  Will Newton  <will.newton@linaro.org>
33005         * sysdeps/arm/bits/atomic.h
33006         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
33007         (__arch_compare_and_exchange_bool_16_int): Likewise.
33008         (__arch_compare_and_exchange_bool_64_int): Likewise.
33010         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
33011         into an #else block.
33013 2014-07-16  Roland McGrath  <roland@hack.frob.com>
33015         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
33016         just Linux configurations.  Test empirically that the compiler sets
33017         __ARM_EABI__, rather than using the tuple to decide.
33018         * sysdeps/arm/preconfigure: Regenerated.
33019         * sysdeps/unix/sysv/linux/arm/configure: File removed.
33020         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
33021         contents appended ...
33022         * sysdeps/arm/configure.ac: ... here.
33023         * sysdeps/arm/configure: Regenerated.
33025 2014-07-15  Roland McGrath  <roland@hack.frob.com>
33027         * nptl/pthread_kill.c: New file.
33028         * nptl/pthread_sigmask.c: New file.
33029         * nptl/pthread_sigqueue.c: New file.
33031         * sysdeps/nptl/lowlevellock.h: New file.
33032         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
33033         * sysdeps/nptl/lowlevellock-futex.h: New file.
33035         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
33036         Remove dead declarations.
33038 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
33040         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
33041         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
33042         config-cflags-avx2.
33043         * sysdeps/x86_64/configure.ac: Likewise.
33044         * sysdeps/i386/configure: Regenerated.
33045         * sysdeps/x86_64/configure: Likewise.
33046         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33047         memset-avx2 only if config-cflags-avx2 is yes.
33048         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33049         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
33050         defined.
33051         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
33052         only if HAVE_AVX2_SUPPORT is defined.
33053         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33055 2014-07-14  Alan Modra  <amodra@gmail.com>
33057         [BZ #17153]
33058         * elf/elf.h (DT_PPC64_NUM): Correct value.
33059         * NEWS: Add to fixed bug list.
33061 2014-07-13  Jim Meyering  <meyering@fb.com>
33063         [BZ 17150]
33064         regex: don't deref NULL upon heap allocation failure
33065         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
33066         failure in one more place.
33067         To trigger the segfault, configure grep -with-included-regex,
33068         build it, and run these commands:
33069         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
33071 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
33073         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33075 2014-07-11  Richard Henderson  <rth@redhat.com>
33077         * sysdeps/aarch64/libm-test-ulps: Update.
33079 2014-07-10  Florian Weimer  <fweimer@redhat.com>
33081         [BZ #17135]
33082         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
33083         * nptl/allocatestack.c (__nptl_setxid_error): New function.
33084         (__nptl_setxid): Initialize error member.  Call
33085         __nptl_setxid_error.
33086         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
33087         * nptl/descr.h (struct xid_command): Add error member.
33088         * nptl/tst-setuid3.c: New file.
33089         * nptl/Makefile (tests): Add it.
33091 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33093         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
33094         New define.
33095         (__lll_trylock): Use __lll_base_trylock.
33096         (__lll_cond_trylock): Likewise.
33098 2014-07-10  Roland McGrath  <roland@hack.frob.com>
33100         * nptl/pthread_create.c (start_thread): Use atomic_or and
33101         lll_futex_wake directly rather than lll_robust_dead.
33102         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
33103         (lll_robust_dead): Macro removed.
33104         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
33105         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
33106         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
33107         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33108         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33109         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
33110         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
33111         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33112         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
33113         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33114         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33115         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33116         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33117         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33118         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33120         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
33121         Use atomic_compare_and_exchange_val_acq directly rather than
33122         lll_robust_trylock.
33123         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
33124         (__lll_robust_trylock, lll_robust_trylock): Removed.
33125         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
33126         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
33127         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33128         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33129         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
33130         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
33131         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33132         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
33133         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33134         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33135         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33136         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33137         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33138         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33140 2014-07-02  Florian Weimer  <fweimer@redhat.com>
33142         * manual/locale.texi (Locale Names): New section documenting
33143         locale name syntax.  Adjust menu and node chaining accordingly.
33144         (Choosing Locale): Reference Locale Names, Locale Categories.
33145         Mention setting LC_ALL=C.  Reflect that name syntax is now
33146         documented.
33147         (Locale Categories): New section title.  Reference Locale Names.
33148         LC_ALL is an environment variable, but not a category.
33149         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
33150         description, now in Locale Name.  Reference that section.  Locale
33151         name syntax is now documented.
33153 2014-07-02  Florian Weimer  <fweimer@redhat.com>
33155         [BZ #17137]
33156         * locale/findlocale.c (name_present, valid_locale_name): New
33157         functions.
33158         (_nl_find_locale): Use the loc_name variable to store name
33159         candidates.  Call name_present and valid_locale_name to check and
33160         validate locale names.  Return an error if the locale is invalid.
33162 2014-07-02  Florian Weimer  <fweimer@redhat.com>
33164         * locale/setlocale.c (setlocale): Use strdup for allocating
33165         composite name copy.
33167 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33169         Sync up with gnulib.
33170         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
33171         [!_LIBC && ENABLE_NLS]: Include gettext.h.
33172         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
33173         and _GL_ARG_NONNULL.
33174         [USE_UNLOCKED_IO]: Include unlocked-io.h.
33175         [!_LIBC]: Include code for Windows and Cygwin.
33176         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
33177         Include prototype for int strerror_r.
33178         [!_LIBC] (is_open): New function.
33179         (flush_stdout): New function.
33180         (print_errno_message): Use it.
33181         (error): Likewise.
33182         (error_at_line): Likewise.
33183         (error_tail) Add function attribute macros.  Use
33184         __builtin_expect.
33186         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
33188         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
33190         * io/ftw.c: Include sys/param.h unconditionally.
33192         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
33194         [BZ #17125]
33195         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
33196         libc_freeres_ptr.
33197         (freecache): New function to free CACHE on exit.
33199         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
33200         initialization.
33202 2014-07-09  David S. Miller  <davem@davemloft.net>
33204         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33206         * sysdeps/sparc/nptl/internaltypes.h: Delete.
33207         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
33208         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
33209         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
33210         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
33211         * sysdeps/sparc/nptl/sem_init.c: Likewise.
33212         * sysdeps/sparc/nptl/sem_post.c: Likewise.
33213         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
33214         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
33215         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
33216         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
33217         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
33218         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
33220 2014-07-09  Andreas Schwab  <schwab@suse.de>
33222         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
33223         output.
33224         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
33225         (do_test): Likewise.
33227         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33229 2014-07-09  Will Newton  <will.newton@linaro.org>
33231         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
33232         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
33233         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
33234         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
33235         * sysdeps/hppa/start.S (_start): Likewise.
33237 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
33239         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
33241         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
33242         defined.
33244 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33246         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
33247         after checking that it is non-NULL.
33249         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
33251 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33253         * sysdeps/powerpc/memmove.c: Remove file.
33254         * sysdeps/powerpc/powerpc32/power4/memcopy.h
33255         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
33256         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
33257         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
33258         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
33259         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
33260         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
33261         string memmove instead of removed powerpc one.
33263         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
33264         [weak_alias]: Fix compiler warning due trailing data.
33265         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
33266         [weak_alias]: Likewise.
33267         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
33268         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
33270         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33271         (__libc_ifunc_impl_list): Add memmove functions.
33273 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33275         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
33276         Remove code.
33277         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
33278         Likewise.
33279         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
33280         Likewise.
33281         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
33282         Likewise.
33283         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
33284         Likewise.
33285         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
33286         Likewise.
33287         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
33288         Likewise.
33289         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
33290         Likewise.
33291         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
33292         Likewise.
33293         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
33294         Likewise.
33295         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
33296         Likewise.
33297         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
33298         Likewise.
33299         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
33300         Likewise.
33301         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
33302         Likewise.
33303         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
33304         Likewise.
33305         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
33306         Likewise.
33307         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
33308         Likewise.
33310 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33312         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
33313         to avoid alignment traps in non-cacheable memory.
33314         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
33316         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
33317         multiarch objects.
33318         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
33319         file: multiarch power7 memmove.
33320         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
33321         multiarch default memmove.
33322         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
33323         multiarch memove for powerpc32/power4.
33325         * string/bcopy.c: Use full path to include memmove.c.
33326         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
33327         multiarch objects.
33328         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
33329         bcopy for powerpc64.
33330         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
33331         bcopy for powerpc64.
33332         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
33333         and memmove implementations.
33334         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
33335         optimized multiarch memmove for POWER7/powerpc64.
33336         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
33337         default multiarch memmove for powerpc64.
33338         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
33339         multiarch for powerpc64.
33340         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
33341         for POWER7/powerpc64.
33342         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
33343         memmove for POWER7/powerpc64.
33345         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
33346         glibc default one.
33348         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
33349         __ELF_NATIVE_CLASS equal to 64.
33351 2014-07-07  Roland McGrath  <roland@hack.frob.com>
33353         * sysdeps/nptl/lowlevellock.h: File removed.
33355         * NEWS: NPTL is no longer an add-on!
33356         * nptl/internaltypes.h: Moved ...
33357         * sysdeps/nptl/internaltypes.h: ... here.
33358         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
33359         * sysdeps/nptl/fork.c: Likewise.
33360         * sysdeps/nptl/gai_misc.h: Likewise.
33361         * sysdeps/nptl/librt-cancellation.c: Likewise.
33362         * sysdeps/nptl/jmp-unwind.c: Likewise.
33363         * sysdeps/nptl/setxid.h: Likewise.
33364         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
33365         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
33366         * sysdeps/unix/sysv/linux/arm/Implies: New file.
33367         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
33368         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
33369         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
33370         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
33371         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
33372         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
33373         * sysdeps/unix/sysv/linux/mips/Implies: New file.
33374         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
33375         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
33376         * sysdeps/unix/sysv/linux/sh/Implies: New file.
33377         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
33378         * sysdeps/unix/sysv/linux/tile/Implies: New file.
33379         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
33380         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
33381         * nptl/Makeconfig: Moved ...
33382         * sysdeps/nptl/Makeconfig: ... here.
33383         * nptl/configure: File removed.
33384         * nptl/ANNOUNCE: File removed.
33385         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
33386         * sysdeps/unix/sysv/linux/configure: Regenerated.
33388         * nptl/Makefile (routines): Add libc_pthread_init,
33389         libc_multiple_threads, register-atfork and unregister-atfork.
33390         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
33391         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
33392         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
33393         pthread-pi-defines.sym, structsem.sym.
33394         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
33395         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
33396         [$(subdir) = nptl] (tests): Add tst-setgetname.
33397         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
33398         * sysdeps/unix/sysv/linux/sigaction.c: Just include
33399         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
33400         [!LIBC_SIGACTION]: Remove aliases.
33401         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
33402         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
33403         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
33404         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
33405         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
33406         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
33407         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33408         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33409         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
33410         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
33411         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
33412         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
33413         __libc_allocate_rtsig_private.
33414         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
33415         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
33416         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
33417         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
33418         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
33419         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
33420         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
33421         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
33422         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
33423         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
33424         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
33425         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
33426         * nptl/internaltypes.h: ... here.
33427         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
33428         * sysdeps/nptl/jmp-unwind.c: ... here.
33429         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
33430         * nptl/libc-lowlevellock.c: ... here.
33431         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
33432         * nptl/libc_multiple_threads.c: ... here.
33433         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
33434         * nptl/libc_pthread_init.c: ... here.
33435         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
33436         * nptl/lowlevelbarrier.sym: ... here.
33437         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
33438         * nptl/lowlevelcond.sym: ... here.
33439         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
33440         * nptl/lowlevellock.c: ... here.
33441         * nptl/lowlevellock.h: Moved ...
33442         * sysdeps/nptl/lowlevellock.h: ... here.
33443         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
33444         * nptl/lowlevelrobustlock.c: ... here.
33445         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
33446         * nptl/lowlevelrobustlock.sym: ... here.
33447         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
33448         * nptl/lowlevelrwlock.sym: ... here.
33449         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
33450         * nptl/pt-fork.c: ... here.
33451         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
33452         * nptl/pthread-pi-defines.sym: ... here.
33453         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
33454         * nptl/pthread_attr_getaffinity.c: ... here.
33455         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
33456         * nptl/pthread_attr_setaffinity.c: ... here.
33457         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
33458         * nptl/pthread_mutex_cond_lock.c: ... here.
33459         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
33460         Update #include.
33461         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
33462         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
33463         * nptl/pthread_once.c: ... here, replacing old file.
33464         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
33465         * nptl/pthread_yield.c: ... here.
33466         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
33467         * nptl/register-atfork.c: ... here.
33468         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
33469         * nptl/sem_post.c: ... here.
33470         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
33471         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
33472         * nptl/sem_timedwait.c: ... here.
33473         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
33474         * nptl/sem_trywait.c: ... here.
33475         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
33476         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
33477         * nptl/sem_wait.c: ... here.
33478         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
33479         * nptl/structsem.sym: ... here.
33480         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
33481         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
33482         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
33483         * nptl/unregister-atfork.c: ... here.
33484         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
33485         * nptl/unwindbuf.sym: ... here.
33486         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
33487         * sysdeps/nptl/fork.c: ... here.
33488         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
33489         * sysdeps/nptl/fork.h: ... here.
33490         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
33491         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
33492         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
33493         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
33494         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
33495         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
33496         * sysdeps/unix/sysv/linux/getpid.c: ... here.
33497         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
33498         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
33499         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
33500         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
33501         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
33502         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
33503         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
33504         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
33505         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
33506         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
33507         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
33508         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
33509         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
33510         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
33511         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
33512         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
33513         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
33514         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
33515         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
33516         * sysdeps/unix/sysv/linux/raise.c: ... here.
33517         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
33518         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
33519         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
33520         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
33521         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
33522         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
33523         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
33524         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
33525         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
33526         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
33527         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
33528         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
33529         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
33530         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
33531         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
33533 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33535         * sysdeps/generic/memcopy.h: Add comment for
33536         MEMCPY_OK_FOR_FWD_MEMMOVE.
33538 2014-07-04  Will Newton  <will.newton@linaro.org>
33540         * string/memchr.c: Merge from gnulib.
33541         [_LIBC]: Remove conditionals.
33542         (__ptr_t): Remove define.
33543         (LONG_MAX_32_BITS): Likewise.
33544         (LONG_MAX): Likewise.
33545         (MEMCHR): Use ANSI prototype and optimize algorithm.
33547         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
33549 2014-07-03  Roland McGrath  <roland@hack.frob.com>
33551         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
33552         (lll_futex_timed_wait_bitset): Fix syscall argument count.
33554         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
33555         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
33556         in a bare environment with no <stdlib.h> installed.
33557         * sysdeps/nptl/configure: Regenerated.
33559         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
33561         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
33562         AC_EGREP_CPP for kernel header checks, so they only succeed if
33563         including <linux/version.h> actually works right.
33564         * sysdeps/unix/sysv/linux/configure: Regenerated.
33566         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
33567         value so it's not diagnosed as unused.
33569         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
33570         thing) with "ifeq ($(subdir),rt)".
33572 2014-07-03  Richard Henderson  <rth@redhat.com>
33574         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
33575         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
33576         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
33578         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
33579         (math_force_eval): New.
33581         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
33582         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
33584         * sysdeps/alpha/fpu/s_round.c: Remove file.
33585         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
33587         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
33588         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
33589         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
33590         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
33591         (_dl_start, print_statistics): Likewise.
33592         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
33593         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
33595         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33596         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33597         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33598         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33599         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33600         (HP_SMALL_TIMING_AVAIL): Define.
33601         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33602         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
33603         (HP_SMALL_TIMING_AVAIL): Define.
33604         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33605         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33607         * sysdeps/aarch64/hp-timing.h: New file.
33609         * sysdeps/generic/hp-timing.h: Remove dead comment.
33610         * sysdeps/generic/hp-timing-common.h: New file.
33611         * sysdeps/alpha/hp-timing.h: Include it.
33612         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
33613         * sysdeps/i386/i686/hp-timing.h: Likewise.
33614         * sysdeps/ia64/hp-timing.h: Likewise.
33615         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33616         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33617         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33618         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33619         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
33620         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
33621         (hp_timing_t): New.
33623         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
33624         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
33625         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
33626         * elf/rtld.c (_dl_start_final): Likewise.
33627         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
33628         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33629         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33630         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33631         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33632         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33633         (HP_TIMING_DIFF_INIT): Remove.
33634         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33635         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
33636         (HP_TIMING_DIFF_INIT): Remove.
33637         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33638         * sysdeps/i386/i686/hp-timing.c: Remove file.
33639         * sysdeps/x86_64/hp-timing.c: Remove file.
33640         * sysdeps/ia64/hp-timing.c: Remove file.
33641         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
33642         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
33643         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
33644         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
33646         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
33647         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
33648         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
33649         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33650         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33651         (HP_TIMING_ACCUM): Remove.
33652         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33653         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
33654         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33656         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
33657         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
33658         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
33659         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
33660         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
33661         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
33662         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
33663         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
33665         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
33667 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
33669         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
33671 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33673         Sync up with gettext.
33674         * intl/loadmsgcat.c: Define O_BINARY if not defined.
33675         [_MSC_VER]: Include malloc.h
33676         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
33677         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
33678         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
33679         TEMP_FAILURE_RETRY.  Cast return of alloca.
33680         [!_LIBC] Call gl_rwlock_init.
33681         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
33683 2014-07-02  Roland McGrath  <roland@hack.frob.com>
33685         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
33686         before checking its value.
33688 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33690         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
33692         * debug/memcpy_chk.c: Don't include pagecopy.h.
33693         * debug/mempcpy_chk.c: Likewise.
33694         * string/memcpy.c: Likewise.
33695         * string/memmove.c: Likewise.
33696         * sysdeps/powerpc/memmove.c: Likewise.
33697         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
33698         definition of PAGE_COPY_FWD_MAYBE here...
33699         * sysdeps/generic/pagecopy.h: ... from here.
33700         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
33702 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33703             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33705         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
33706         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
33707         optimizations.
33708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33709         (__libc_ifunc_impl_list): Likewise.
33710         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
33711         multiarch strcat for PPC64.
33712         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
33713         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
33715 2014-07-02  Roland McGrath  <roland@hack.frob.com>
33717         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
33719 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33721         * intl/loadmsgcat.c: Remove declaration of
33722         get_sysdep_segment_value.
33723         (get_sysdep_segment_value): Use ISO C style.
33724         (_nl_load_domain): Use ISO C style.  Get rid of redundant
33725         semicolon.  Fix typo and formatting in comment.
33726         (_nl_unload_domain): Use ISO C style.
33728         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
33730 2014-07-02  Will Newton  <will.newton@linaro.org>
33732         * malloc/obstack.c: Merge from gnulib master.
33733         [HAVE_CONFIG_H]: Remove conditional code.
33734         [!_LIBC]: Include config.h.
33735         [!ELIDE_CODE]: Don't include inttypes.h, include
33736         stdint.h unconditionally.
33737         (print_and_abort): Mark as _Noreturn.
33738         (_obstack_allocated_p): Mark as __attribute_pure__.
33739         (obstack_free): Rename to __obstack_free.
33740         [!__attribute__]: Remove conditional code.
33741         * malloc/obstack.h: Merge from gnulib master.
33742         [__cplusplus]: Move conditional down.
33743         [!__attribute_pure__]: Define __attribute_pure__ here
33744         if it is not already defined.
33745         (_obstack_memory_used): Mark as __attribute_pure__.
33746         [!__obstack_free]: Define as obstack_free.
33747         [__GNUC__]: Remove check for ancient NeXT gcc.
33749 2014-07-02  Will Newton  <will.newton@linaro.org>
33750             Paul Eggert  <eggert@cs.ucla.edu>
33752         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
33754 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33756         * resolv/gethnamaddr.c: Add comment warning that the file is
33757         not maintained.
33759 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
33761         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
33762         entries.
33764         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
33765         entry for aio_cancel and aio_cancel64.
33766         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
33767         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
33768         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
33769         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
33770         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
33771         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
33772         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
33773         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
33774         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
33775         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
33776         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
33777         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
33778         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
33780 2014-07-01  Roland McGrath  <roland@hack.frob.com>
33782         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
33783         * nptl/pthread_mutex_lock.c: Likewise.
33784         * nptl/pthread_mutex_timedlock.c: Likewise.
33785         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
33787 2014-07-01  Richard henderson  <rth@redhat.com>
33789         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
33790         (__isnan, __isnanl): Remove.
33791         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
33793         * sysdeps/alpha/fpu/libm-test-ulps: Update.
33795 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
33797         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33799 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33801         * resolv/nss_dns/dns-host.c (getanswer_r)
33802         [MULTI_PTRS_ARE_ALIASES]: Remove code.
33804 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
33806         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33807         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
33808         undefine.
33809         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
33810         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
33812 2014-07-01  Roland McGrath <roland@hack.frob.com>
33814         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
33815         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
33817         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
33818         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
33820         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
33821         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
33822         ... here.
33823         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
33824         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
33826         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
33827         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
33828         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
33829         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
33831         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
33832         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
33833         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
33834         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
33835         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
33836         Moved ...
33837         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
33838         ... here.
33839         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
33840         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
33841         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
33842         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
33843         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
33844         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
33845         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
33846         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
33847         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
33848         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
33849         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
33850         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
33851         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
33852         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
33853         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
33854         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
33855         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
33856         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
33857         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
33858         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
33859         ... here.
33860         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
33861         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
33862         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
33863         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
33864         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
33865         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
33866         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
33867         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
33869 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
33871         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
33872         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
33873         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
33874         Add sysdep.
33876 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33878         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33880 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
33882         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
33883         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33885         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33887         * sysdeps/arm/libm-test-ulps: Regenerated.
33889 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
33890             Roland McGrath <roland@hack.frob.com>
33892         * test-skeleton.c (signal_handler): Kill the whole process group
33893         before killing the child individually.
33894         (main): Report any failure on `setpgid'.
33896 2014-06-30  Roland McGrath  <roland@hack.frob.com>
33898         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
33899         from _TLS_H to _ARM_NPTL_TLS_H.
33900         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
33901         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
33903 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
33905         [BZ #16539]
33906         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
33907         (__expm1l): Return argument unchanged when small but not
33908         subnormal.
33910         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
33911         include macro name.
33912         (_FP_UNPACK_RAW_1_P): Likewise.
33913         (_FP_PACK_RAW_1): Likewise.
33914         (_FP_PACK_RAW_1_P): Likewise.
33915         (_FP_MUL_MEAT_1_wide): Likewise.
33916         (_FP_MUL_MEAT_DW_1_hard): Likewise.
33917         (_FP_MUL_MEAT_1_hard): Likewise.
33918         (_FP_DIV_MEAT_1_imm): Likewise.
33919         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
33920         (_FP_DIV_MEAT_1_udiv): Likewise.
33921         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
33922         (_FP_UNPACK_RAW_2): Likewise.
33923         (_FP_UNPACK_RAW_2_P): Likewise.
33924         (_FP_PACK_RAW_2): Likewise.
33925         (_FP_PACK_RAW_2_P): Likewise.
33926         (_FP_MUL_MEAT_DW_2_wide): Likewise.
33927         (_FP_MUL_MEAT_2_wide): Likewise.
33928         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
33929         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
33930         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
33931         (_FP_MUL_MEAT_2_gmp): Likewise.
33932         (_FP_DIV_MEAT_2_udiv): Likewise.
33933         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
33934         (_FP_FRAC_SRL_4): Likewise.
33935         (_FP_FRAC_SRST_4): Likewise.
33936         (_FP_FRAC_SRS_4): Likewise.
33937         (_FP_UNPACK_RAW_4): Likewise.
33938         (_FP_UNPACK_RAW_4_P): Likewise.
33939         (_FP_PACK_RAW_4): Likewise.
33940         (_FP_PACK_RAW_4_P): Likewise.
33941         (_FP_MUL_MEAT_DW_4_wide): Likewise.
33942         (_FP_MUL_MEAT_4_wide): Likewise.
33943         (_FP_MUL_MEAT_4_gmp): Likewise.
33944         (umul_ppppmnnn): Likewise.
33945         (_FP_DIV_MEAT_4_udiv): Likewise.
33946         (__FP_FRAC_ADD_4): Likewise.
33947         (__FP_FRAC_SUB_3): Likewise.
33948         (__FP_FRAC_SUB_4): Likewise.
33949         (__FP_FRAC_DEC_3): Likewise.
33950         (__FP_FRAC_DEC_4): Likewise.
33951         (__FP_FRAC_ADDI_4): Likewise.
33952         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
33953         (_FP_FRAC_SRL_8): Likewise.
33954         (_FP_FRAC_SRS_8): Likewise.
33956         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
33957         include macro name.
33958         (FP_UNPACK_RAW_EP): Likewise.
33959         (FP_PACK_RAW_E): Likewise.
33960         (FP_PACK_RAW_EP): Likewise.
33961         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
33962         (_FP_ISSIGNAN): Likewise.
33963         (_FP_ADD_INTERNAL): Likewise.
33964         (_FP_FMA): Likewise.
33965         (_FP_CMP): Likewise.
33966         (_FP_SQRT): Likewise.
33967         (_FP_TO_INT): Likewise.
33968         (_FP_FROM_INT): Likewise.
33969         (FP_EXTEND): Likewise.
33970         (_FP_DIV_MEAT_N_loop): Likewise.
33972 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
33974         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
33975         throughout.
33977 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
33979         [BZ #17097]
33980         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
33981         result with correct sign in case of exponents that produce
33982         overflow except for X very close to 1.
33984 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
33986         mktime: merge #if/#ifdef usage from glibc
33987         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
33988         as that works with both Glibc's and Gnulib's style.
33989         See thread starting at Siddhesh Poyarekar's bug report at:
33990         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
33992 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33994         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
33995         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
33996         * sysdeps/tile/tilegx/memmove.c: Remove file.
33998 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
34000         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
34001         abi-name definition.
34002         * scripts/soversions.awk: Do not handle or generate ABI lines.
34003         * shlib-versions: Remove ABI entries.
34004         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
34005         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
34007 2014-06-27  Roland McGrath  <roland@hack.frob.com>
34009         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
34010         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
34011         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
34012         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
34013         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
34014         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
34015         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
34016         Moved ...
34017         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
34018         ... here.
34019         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
34020         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
34021         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
34022         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
34023         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
34024         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
34025         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
34026         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
34027         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
34028         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
34029         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
34030         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
34031         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
34032         Moved ...
34033         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
34034         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
34035         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
34036         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
34037         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
34038         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
34039         Moved ...
34040         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
34041         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
34042         Moved ...
34043         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
34044         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
34045         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
34046         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
34047         Moved ...
34048         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
34049         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
34050         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
34051         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
34052         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
34053         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
34054         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
34055         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
34056         Moved ...
34057         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
34058         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
34059         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
34060         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
34061         Moved ...
34062         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
34063         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
34064         Moved ...
34065         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
34066         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
34067         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
34068         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
34069         Moved ...
34070         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
34071         ... here.
34072         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
34073         Identical file removed.
34074         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
34075         Moved ...
34076         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
34077         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
34078         Identical file removed.
34079         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
34080         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
34081         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
34082         Moved ...
34083         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
34084         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
34085         Identical file removed.
34086         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
34087         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
34088         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
34089         Identical file removed.
34090         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
34091         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
34092         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
34093         Identical file removed.
34094         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
34095         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
34096         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
34097         Identical file removed.
34098         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
34099         Moved ...
34100         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
34101         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
34102         Identical file removed.
34103         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
34104         Moved ...
34105         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
34106         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
34107         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
34108         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
34109         Identical file removed.
34110         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
34111         Moved ...
34112         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
34113         ... here.
34114         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
34115         Identical file removed.
34116         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
34117         Moved ...
34118         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
34119         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
34120         Identical file removed.
34121         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
34122         Moved ...
34123         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
34124         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
34125         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
34126         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
34127         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
34128         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
34129         Moved ...
34130         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
34131         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
34132         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
34134         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
34135         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
34136         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
34137         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
34138         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
34140 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
34142         [BZ #17092]
34143         * nscd/nscd.c (monitor_child): Return exit status of child
34144         instead of return value from wait syscall.
34146 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
34148         * configure.ac (libc_commonpagesize): Remove variable.
34149         (libc_relro_required): Likewise.
34150         (libc_cv_z_relro): Remove configure test.
34151         * configure: Regenerated.
34152         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
34153         variable.
34154         (libc_relro_required): Likewise.
34155         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
34156         (libc_relro_required): Likewise.
34157         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
34158         (libc_relro_required): Likewise.
34159         * sysdeps/arm/preconfigure: Regenerated.
34160         * sysdeps/ia64/preconfigure: Remove file.
34161         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
34162         variable.
34163         (libc_relro_required): Likewise.
34165         [BZ #16561]
34166         [BZ #16562]
34167         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
34168         (__ieee754_yn): Set FE_TONEAREST mode internally and then
34169         recompute overflowing results in original rounding mode.
34170         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
34171         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
34172         recompute overflowing results in original rounding mode.
34173         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
34174         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
34175         recompute overflowing results in original rounding mode.
34176         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
34177         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
34178         recompute overflowing results in original rounding mode.
34179         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
34180         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
34181         recompute overflowing results in original rounding mode.
34182         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
34183         (libc_feholdsetround_ctx): New macro.
34184         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
34185         * sysdeps/i386/fpu/libm-test-ulps: Update.
34186         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
34188 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
34190         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
34191         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
34192         corresponding .cpsetup call.
34194 2014-06-26  Roland McGrath  <roland@hack.frob.com>
34196         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
34197         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
34198         * sysdeps/arm/Makefile [$(subdir) = csu]
34199         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
34200         (static-only-routines): Add aeabi_read_tp here.
34201         (shared-only-routines): Add libc-aeabi_read_tp here.
34202         (CFLAGS-libc-start.c): Add -fexceptions here.
34203         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
34204         (sysdep_routines, static-only-routines, shared-only-routines):
34205         Don't add to these here.
34206         (CFLAGS-libc-start.c): Likewise.
34208         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
34209         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
34210         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
34211         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
34212         * sysdeps/arm/Makefile [$(subdir) = rt]
34213         (librt-sysdep_routines, librt-shared-only-routines):
34214         Append rt-aeabi_unwind_cpp_pr1 here.
34215         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
34216         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
34217         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
34218         (libpthread-sysdep_routines, libpthread-shared-only-routines):
34219         Append nptl-aeabi_unwind_cpp_pr1 here.
34220         (tests): Filter out tst-cleanupx4 here.
34221         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
34222         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
34223         Don't do those here.
34225 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
34227         * scripts/list-sources.sh: Do not handle ports specially.
34229 2014-06-26  Roland McGrath  <roland@hack.frob.com>
34231         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
34232         * sysdeps/arm/feupdateenv.c: Likewise.
34234         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
34236 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
34238         * manual/texinfo.tex: Update to version 2014-05-05.10 with
34239         trailing whitespace removed.
34240         * scripts/config.guess: Update to version 2014-03-23.
34241         * scripts/config.sub: Update to version 2014-05-01
34242         * scripts/install-sh: Update to version 2013-12-25.23.
34243         * scripts/move-if-change: Update from gnulib.
34245 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34247         * debug/memmove_chk.c: Remove pagecopy.h include.
34249 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
34251         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
34252         identical to gnulib mktime.
34254 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
34256         * configure.ac: Do not test for machine being rs6000.  Do not test
34257         for powerpc*-*soft.
34258         * configure: Regenerated.
34260         [BZ #11505]
34261         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
34262         test.
34263         * configure: Regenerated.
34264         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
34265         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
34266         Remove configure test.
34267         * sysdeps/arm/configure: Regenerated.
34268         * sysdeps/nptl/configure.ac: Do not check
34269         libc_cv_asm_cfi_directives.
34270         * sysdeps/nptl/configure: Regenerated.
34271         * sysdeps/x86_64/nptl/configure.ac: Remove file.
34272         * sysdeps/x86_64/nptl/configure: Remove generated file.
34273         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
34274         unconditional.
34275         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
34277 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34279         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
34280         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
34281         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
34282         it is defined.
34284         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
34285         instead of whether it is defined.
34286         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
34287         * sysdeps/hppa/dl-machine.h: Likewise.
34288         * sysdeps/ia64/dl-machine.h: Likewise.
34289         * sysdeps/m68k/dl-machine.h: Likewise.
34290         * sysdeps/microblaze/dl-machine.h: Likewise.
34291         * sysdeps/mips/dl-machine.: Likewise.
34292         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34293         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34294         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34295         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34296         * sysdeps/sh/dl-machine.h: Likewise.
34297         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34298         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34299         * sysdeps/tile/dl-machine.h: Likewise.
34300         * sysdeps/x86_64/dl-machine.h: Likewise.
34302         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
34303         code.
34304         (verify_persistent_db): Likewise.
34306 2014-06-26  Roland McGrath  <roland@hack.frob.com>
34308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
34309         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
34310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
34311         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
34312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34313         Moved ...
34314         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
34315         ... here.
34316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
34317         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
34318         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
34319         Identical file removed.
34320         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
34321         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
34322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
34323         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
34324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
34325         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
34326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
34327         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
34328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
34329         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
34330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34331         Moved ...
34332         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
34333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
34334         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
34335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
34336         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
34337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34338         Moved ...
34339         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
34340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
34341         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
34342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
34343         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
34344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34345         Identical file removed.
34346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
34347         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
34348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
34349         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
34350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34351         Moved ...
34352         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
34353         ... here.
34354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
34355         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
34356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
34357         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
34358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
34359         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
34360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
34361         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
34362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
34363         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
34364         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34365         Moved ...
34366         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
34367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
34368         Moved ...
34369         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
34370         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
34371         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
34372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34373         Moved ...
34374         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
34375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
34376         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
34378         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
34379         folded into ...
34380         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
34381         * sysdeps/unix/sysv/linux/s390/Versions
34382         (libpthread: GLIBC_2.19): New version set.
34383         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
34384         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
34385         (librt: GLIBC_2.3.3): New version set.
34386         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
34387         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
34388         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
34389         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
34390         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
34391         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
34392         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
34393         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
34394         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
34395         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
34396         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
34397         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
34398         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
34399         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
34400         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
34401         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
34402         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
34403         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
34404         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
34405         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
34406         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
34407         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
34408         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
34409         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
34410         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
34411         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
34412         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
34413         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
34414         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
34415         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
34416         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
34417         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
34418         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
34419         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
34420         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
34421         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
34422         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
34423         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
34424         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
34425         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
34426         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
34427         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
34428         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
34429         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
34430         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
34432         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
34433         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
34434         (__libc_vfork): Define the function under this name.
34435         [!NOT_IN_libc] (__vfork): Make this an alias.
34436         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
34437         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
34438         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
34439         (__libc_vfork): Define the function under this name.
34440         [!NOT_IN_libc] (__vfork): Make this an alias.
34441         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
34442         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
34443         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
34444         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
34445         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
34446         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34448         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
34449         code that was previously under [RESET_PID].
34450         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
34451         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
34452         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
34454         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
34455         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
34456         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
34457         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
34458         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
34459         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
34460         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
34461         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
34462         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
34463         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
34464         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
34465         Moved ...
34466         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
34467         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
34468         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
34469         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
34470         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
34471         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
34472         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
34473         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
34474         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
34475         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
34476         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
34477         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
34478         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
34479         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
34480         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
34481         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
34482         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
34483         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
34484         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
34485         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
34486         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
34487         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
34488         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
34489         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
34490         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
34491         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
34492         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
34493         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
34494         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
34496 2014-06-25  Roland McGrath  <roland@hack.frob.com>
34498         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
34499         that was previously under [RESET_PID].
34500         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
34502 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
34504         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
34505         not undefine and redefine.
34506         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
34507         [O_CLOEXEC]: Make code unconditional.
34508         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
34509         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
34510         <kernel-features.h>.
34511         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
34512         conditional variable definition.
34513         (shm_open) [O_CLOEXEC]: Make code unconditional.
34514         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
34515         code.
34517         * configure.ac (USE_REGPARMS): Don't define here.
34518         * configure: Regenerated.
34519         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
34520         * sysdeps/i386/configure: Regenerated.
34522         * nptl/createthread.c: Don't include kernel-features.h.
34523         * nptl/pthread_cancel.c: Likewise.
34524         * nptl/pthread_condattr_setclock.c: Likewise.
34525         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
34526         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
34527         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
34528         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
34529         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
34530         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
34531         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
34532         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
34533         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
34534         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
34535         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
34536         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
34537         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
34538         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
34539         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
34540         * nscd/gai.c: Likewise.
34541         * nss/nss_db/db-open.c: Likewise.
34542         * sysdeps/generic/ldsodefs.h: Likewise.
34543         * sysdeps/sh/nptl/tls.h: Likewise.
34544         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
34545         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
34546         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
34547         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
34548         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
34549         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
34550         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
34551         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34552         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34553         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
34554         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
34555         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34556         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
34557         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
34558         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
34559         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
34560         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
34561         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
34562         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
34563         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
34564         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
34565         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
34566         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
34567         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
34568         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
34569         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
34570         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
34571         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
34572         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
34573         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
34574         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
34575         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
34576         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
34577         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34578         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34579         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
34580         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34581         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
34582         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
34583         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
34584         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
34585         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
34586         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
34587         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34588         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
34589         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
34590         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
34591         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
34592         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
34593         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
34594         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
34595         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
34596         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
34597         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
34598         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
34599         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34600         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
34601         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
34602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
34603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
34604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
34605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
34606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
34607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
34608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
34609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
34610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
34611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
34612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
34613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
34614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
34615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
34616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
34617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
34622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
34623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
34624         * sysdeps/unix/sysv/linux/pread.c: Likewise.
34625         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
34626         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
34627         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
34628         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
34629         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
34630         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
34631         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
34632         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
34633         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
34634         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
34635         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
34636         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
34637         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
34638         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
34639         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
34640         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
34641         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
34642         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
34643         * sysdeps/unix/sysv/linux/system.c: Likewise.
34644         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
34645         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
34646         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34647         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34648         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34649         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
34650         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34652         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
34653         * configure: Regenerated.
34654         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
34656         * configure.ac (base_machine): Do not set specially for particular
34657         machines here.
34658         * configure: Regenerated.
34659         * sysdeps/powerpc/preconfigure: Move machine and base_machine
34660         settings from configure.ac.
34661         * sysdeps/i386/preconfigure: New file.
34662         * sysdeps/s390/preconfigure: Likewise.
34663         * sysdeps/sh/preconfigure: Likewise.
34664         * sysdeps/sparc/preconfigure: Likewise.
34666 2014-06-25  Roland McGrath  <roland@hack.frob.com>
34668         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
34669         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
34670         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
34671         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
34672         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
34673         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
34674         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
34675         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
34676         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
34677         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
34678         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
34679         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
34680         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
34681         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
34682         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
34683         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
34684         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
34685         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
34686         * sysdeps/sparc/sparc64/Makefile: ... appended here.
34688         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
34689         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
34690         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
34691         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
34692         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
34693         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
34694         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
34695         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
34696         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
34697         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
34698         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
34699         * sysdeps/sparc/sparc32/sem_post.c: ... here.
34700         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
34701         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
34702         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
34703         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
34704         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
34705         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
34706         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
34707         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
34708         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
34709         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
34710         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
34711         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
34712         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
34713         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
34714         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
34715         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
34716         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
34717         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
34718         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
34719         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
34720         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
34721         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
34722         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
34723         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
34724         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
34725         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
34727         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
34728         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
34729         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
34730         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
34731         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34732         Moved ...
34733         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
34734         ... here.
34735         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
34736         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
34737         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
34738         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
34739         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
34740         Moved ...
34741         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
34742         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
34743         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
34744         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
34745         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
34746         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
34747         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
34748         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34749         Moved ...
34750         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
34751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34752         Moved ...
34753         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
34754         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
34755         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
34756         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34757         Moved ...
34758         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
34759         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
34760         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
34761         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
34762         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
34763         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
34764         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
34765         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
34766         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
34767         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34768         Moved ...
34769         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
34770         ... here.
34771         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
34772         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
34773         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
34774         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
34775         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
34776         Moved ...
34777         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
34778         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
34779         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
34780         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
34781         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
34782         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
34783         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
34784         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34785         Moved ...
34786         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
34787         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34788         Moved ...
34789         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
34790         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
34791         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
34792         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34793         Moved ...
34794         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
34795         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
34796         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
34797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
34798         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
34800 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
34802         * timezone/checktab.awk: Update from tzcode 2014e.
34803         * timezone/private.h: Likewise.
34804         * timezone/tzfile.h: Likewise.
34805         * timezone/zdump.c: Likewise.
34806         * timezone/zic.c: Likewise.
34808         * sysdeps/unix/sysv/linux/kernel-features.h
34809         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
34810         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
34811         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
34812         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34813         Remove conditional code.
34815 2014-06-25  Will Newton  <will.newton@linaro.org>
34817         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
34818         (_dl_arm_cap_flags): Add HWCAP2 values.
34819         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
34820         (_DL_HWCAP_COUNT): Increase to 37.
34821         (_DL_HWCAP_LAST): New define.
34822         (_DL_HWCAP2_LAST): New define.
34823         (_dl_procinfo): Add support for printing
34824         AT_HWCAP2 entries.
34825         (_dl_string_hwcap): Use _dl_hwcap_string.
34827 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34831 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
34833         * README: Do not mention ports directory.
34835         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
34836         Remove macro.
34837         * sysdeps/unix/sysv/linux/futimes.c: Do not include
34838         <kernel-features.h>.
34839         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
34840         conditional variable definition.
34841         (__futimes): Update comment.
34842         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
34843         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
34845         [BZ #16560]
34846         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
34847         arguments close to 0.
34848         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
34849         Likewise.
34850         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
34851         Likewise.
34852         * math/auto-libm-test-in: Add more tests of exp10.
34853         * math/auto-libm-test-out: Regenerated.
34854         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34856         * sysdeps/unix/sysv/linux/kernel-features.h
34857         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
34858         * sysdeps/unix/sysv/linux/readv.c: Do not include
34859         <kernel-features.h>.
34860         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
34861         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
34862         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
34863         unconditional.
34864         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
34865         conditional code.
34866         * sysdeps/unix/sysv/linux/writev.c: Do not include
34867         <kernel-features.h>.
34868         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
34869         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
34870         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
34871         unconditional.
34872         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
34873         conditional code.
34875 2014-06-25  Will Newton  <will.newton@linaro.org>
34877         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
34878         comment changes throughout the file.  Remove checks
34879         for HAVE_*_H definitions that are not required.
34880         (__gen_tempname): Call abort if an unknown kind value is
34881         passed.
34883 2014-06-25  Andreas Schwab  <schwab@suse.de>
34885         [BZ #17086]
34886         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
34887         scalbln, scalblnf, scalblnl in libc.
34889 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34891         [BZ #17086]
34892         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
34893         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34894         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34896 2014-06-24  Roland McGrath  <roland@hack.frob.com>
34898         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
34899         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
34900         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
34901         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
34902         Update #include.
34903         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
34904         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
34905         Update #include.
34906         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
34907         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
34908         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
34909         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
34910         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
34911         * sysdeps/x86/bits/pthreadtypes.h: ... here.
34912         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
34913         * sysdeps/x86/bits/semaphore.h: ... here.
34914         * sysdeps/x86/nptl/elide.h: Moved ...
34915         * sysdeps/x86/elide.h: ... here.
34916         * sysdeps/x86_64/nptl/Implies: File removed.
34917         * sysdeps/i386/nptl/Implies: File removed.
34919 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
34921         [BZ #16539]
34922         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
34923         return the argument for normal arguments with exponent below -64.
34924         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
34925         Likewise.
34926         * math/auto-libm-test-in: Add another test of expm1.
34927         * math/auto-libm-test-out: Regenerated.
34929         [BZ #16287]
34930         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
34931         calling __erfcl for arguments at least 16.
34932         * math/auto-libm-test-in: Add more tests of erf.
34933         * math/auto-libm-test-out: Regenerated.
34935         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
34936         individual architectures.
34937         * sysdeps/unix/sysv/linux/configure: Regenerated.
34938         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
34939         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
34940         * sysdeps/unix/sysv/linux/powerpc/configure.ac
34941         (ldd_rewrite_script): Define variable.
34942         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
34944         file.
34945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
34946         generated file.
34947         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
34948         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
34949         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
34950         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
34951         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
34952         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
34953         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
34954         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
34956 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34958         [BZ #17084]
34959         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
34960         Rename member __data.d to __data.__elision_data.
34962 2014-06-24  Wilco  <wdijkstr@arm.com>
34964         * NEWS: Add 16918 to fixed bug list.
34966 2014-06-24  Wilco  <wdijkstr@arm.com>
34968         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
34970 2014-06-24  Wilco  <wdijkstr@arm.com>
34972         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
34973         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
34974         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
34975         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
34976         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
34977         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
34978         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
34979         Use _FPU_MASK_RM.
34981 2014-06-24  Wilco  <wdijkstr@arm.com>
34983         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
34985 2014-06-24  Wilco  <wdijkstr@arm.com>
34987         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
34988         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
34989         * sysdeps/arm/fesetround.c (fesetround): Remove space.
34990         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
34992 2014-06-24  Wilco  <wdijkstr@arm.com>
34994         [BZ #16918]
34995         * sysdeps/arm/feupdateenv.c (feupdateenv):
34996         Rewrite to reduce FPSCR accesses and fix return value.
34998 2014-06-24  Wilco  <wdijkstr@arm.com>
35000         * sysdeps/arm/fclrexcpt.c (feclearexcept):
35001         Optimize to avoid unnecessary FPSCR writes.
35002         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
35003         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
35004         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
35005         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
35007 2014-06-24  Wilco  <wdijkstr@arm.com>
35009         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
35010         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
35011         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
35012         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
35013         Call libc_fetestexcept_vfp.
35014         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
35015         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
35016         __SOFTFP__ ifdef so that they can be built for softfp.
35018 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35020         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
35021         argument type signed char.
35023         * Makerules (check-abi): Dump diff of symlist if the test
35024         fails.
35026 2014-06-23  Roland McGrath  <roland@hack.frob.com>
35028         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
35029         using abort.
35031         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35032         Remove unused variable ST.
35034 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
35036         [BZ #16354]
35037         [BZ #17061]
35038         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
35039         small arguments before calling __expm1.
35040         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
35041         small arguments before calling __expm1f.
35042         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
35043         small arguments before calling __expm1l.
35044         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
35045         Likewise.
35046         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35047         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
35048         spurious underflow for some cosh tests.
35049         * math/auto-libm-test-out: Regenerated.
35050         * sysdeps/i386/fpu/libm-test-ulps: Update.
35052         [BZ #17050]
35053         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
35054         (__ieee754_y1): Set errno if return value overflows.
35055         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
35056         (__ieee754_y1f): Set errno if return value overflows.
35057         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
35058         (__ieee754_y1l): Set errno if return value overflows.
35059         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
35060         (__ieee754_y1l): Set errno if return value overflows.
35061         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
35062         * math/auto-libm-test-out: Regenerated.
35064         * math/gen-auto-libm-tests.c: Document use of
35065         ignore-zero-inf-sign.
35066         (input_flag_type): Add value flag_ignore_zero_inf_sign.
35067         (input_flags): Add ignore-zero-inf-sign.
35068         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
35069         * math/gen-libm-test.pl (generate_testfile): Handle
35070         ignore-zero-inf-sign.
35071         * math/auto-libm-test-in: Mark some cpow tests with
35072         ignore-zero-inf-sign and some with xfail-rounding.
35073         * math/auto-libm-test-out: Regenerated.
35074         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
35075         * sysdeps/i386/fpu/libm-test-ulps: Update.
35076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35078         [BZ #16315]
35079         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
35080         overflowing or underflowing operations take place with sign of
35081         result.
35082         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35083         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
35084         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
35085         (__ieee754_pow): Recompute overflowing and underflowing results in
35086         original rounding mode.
35087         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
35088         (__powl_helper): Allow negative argument X and scale negated value
35089         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
35090         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
35091         overflowing or underflowing operations take place with sign of
35092         result.
35093         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
35094         Include <math.h>.
35095         * math/auto-libm-test-in: Add more tests of pow.
35096         * math/auto-libm-test-out: Regenerated.
35097         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
35098         (pow_tonearest_test_data): Remove.
35099         (pow_test_tonearest): Likewise.
35100         (pow_towardzero_test_data): Likewise.
35101         (pow_test_towardzero): Likewise.
35102         (pow_downward_test_data): Likewise.
35103         (pow_test_downward): Likewise.
35104         (pow_upward_test_data): Likewise.
35105         (pow_test_upward): Likewise.
35106         (main): Don't call removed functions.
35107         * sysdeps/i386/fpu/libm-test-ulps: Update.
35108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35110 2014-06-23  Roland McGrath  <roland@hack.frob.com>
35112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
35113         Moved ...
35114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
35115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35116         Moved ...
35117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
35118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35119         Moved ...
35120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
35121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35122         Moved ...
35123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
35124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35125         File removed.
35126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35127         File removed.
35128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
35129         File removed.
35130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
35131         File removed.
35132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
35133         File removed.
35134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
35135         File removed.
35136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
35137         File removed.
35138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35139         File removed.
35140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
35141         File removed.
35142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35143         File removed.
35144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
35145         File removed.
35146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
35147         File removed.
35148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
35149         Moved ...
35150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
35151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
35152         Moved ...
35153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
35154         ... here.
35155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
35156         Moved ...
35157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
35158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
35159         Moved ...
35160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
35161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
35162         Moved ...
35163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
35164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
35165         Moved ...
35166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
35167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
35168         Moved ...
35169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
35170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
35171         Moved ...
35172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
35173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
35174         Moved ...
35175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
35176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
35177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
35178         ... here.
35179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
35180         Moved ...
35181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
35182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
35183         Moved ...
35184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
35185         ... here.
35186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
35187         Moved ...
35188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
35189         ... here.
35190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35191         Moved ...
35192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
35193         ... here.
35194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35195         Moved ...
35196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
35197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
35198         Moved ...
35199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
35200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
35201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
35202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
35203         Moved ...
35204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
35205         ... here.
35206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35207         Moved ...
35208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
35209         ... here.
35210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
35211         Moved ...
35212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
35213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35214         Moved ...
35215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
35216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
35217         Moved ...
35218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
35219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35220         Moved ...
35221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
35222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
35223         Moved ...
35224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
35225         ... here.
35226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35227         Moved ...
35228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
35229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
35230         Moved ...
35231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
35232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35233         Moved ...
35234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
35235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
35236         Moved ...
35237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
35238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
35239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
35240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
35241         Moved ...
35242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
35243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35244         Moved ...
35245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
35246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
35247         Moved ...
35248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
35249         ... here.
35250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35251         Moved ...
35252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
35253         ... here.
35254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
35255         Moved ...
35256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
35257         ... here.
35258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35259         Moved ...
35260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
35261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
35262         Moved ...
35263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
35264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35265         Moved ...
35266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
35267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
35268         Moved ...
35269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
35270         ... here.
35271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35272         Moved ...
35273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
35274         ... here.
35275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
35276         Moved ...
35277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
35278         ... here.
35279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35280         Moved ...
35281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
35282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35283         Moved ...
35284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
35286 2014-06-23  Will Newton  <will.newton@linaro.org>
35287             Wilco  <wdijkstr@arm.com>
35289         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
35290         implementation.  Include get-rounding-mode.h.
35291         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
35292         [!libc_feholdsetround_noex_ctx]: Define
35293         libc_feholdsetround_noex_ctx.
35294         [!libc_feholdsetround_noexf_ctx]: Define
35295         libc_feholdsetround_noexf_ctx.
35296         [!libc_feholdsetround_noexl_ctx]: Define
35297         libc_feholdsetround_noexl_ctx.
35298         (libc_feholdsetround_ctx): New function.
35299         (libc_feresetround_ctx): New function.
35300         (libc_feholdsetround_noex_ctx): New function.
35301         (libc_feresetround_noex_ctx): New function.
35303 2014-06-23  Roland McGrath  <roland@hack.frob.com>
35305         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
35306         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
35307         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
35308         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
35309         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
35310         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
35312         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
35313         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
35314         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
35315         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
35316         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
35317         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
35318         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
35319         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
35320         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
35321         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
35322         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
35323         Moved ...
35324         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
35325         ... here.
35326         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
35327         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
35328         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
35329         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
35330         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
35331         Moved ...
35332         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
35333         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
35334         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
35335         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
35336         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
35337         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
35338         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
35339         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
35340         Moved ...
35341         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
35342         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
35343         Moved ...
35344         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
35345         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
35346         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
35347         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
35348         Moved ...
35349         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
35350         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
35351         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
35352         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
35353         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
35354         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
35355         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
35356         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
35357         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
35358         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
35359         Moved ...
35360         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
35361         ... here.
35362         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
35363         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
35364         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
35365         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
35366         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
35367         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
35368         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
35369         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
35370         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
35371         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
35372         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
35373         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
35374         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
35375         Moved ...
35376         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
35377         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
35378         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
35379         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
35380         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
35381         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
35382         Moved ...
35383         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
35384         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
35385         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
35386         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
35387         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
35389         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
35390         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
35391         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
35392         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
35393         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
35394         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
35395         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
35396         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
35397         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
35398         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
35399         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
35400         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
35401         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
35402         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
35403         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
35404         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
35405         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
35406         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
35407         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
35408         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
35409         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
35410         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
35411         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
35412         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
35413         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
35414         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
35415         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
35416         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
35418 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
35420         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
35421         (FALLOC_FL_COLLAPSE_RANGE): New macro.
35422         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
35423         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
35424         (IPV6_PMTUDISC_INTERFACE): Likewise.
35425         (IPV6_PMTUDISC_OMIT): Likewise.
35427 2014-06-23  Andreas Schwab  <schwab@suse.de>
35429         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
35430         Remove unused errout label.
35432 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35434         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
35435         macro: hardware supports Vector Crypto instructions.
35437 2014-06-23  Will Newton  <will.newton@linaro.org>
35439         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
35440         rather than __builtin_expect.
35442         * elf/dl-lookup.c (undefined_msg): Remove variable.
35443         (_dl_lookup_symbol_x): Replace undefined_msg with string
35444         literal.
35446         * elf/dl-lookup.c (do_lookup_unique): New function.
35447         (do_lookup_x): Move STB_GNU_UNIQUE handling code
35448         to a separate function.
35450 2014-06-23  Andreas Schwab  <schwab@suse.de>
35452         [BZ #17079]
35453         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
35454         before reading the next line.
35456 2014-06-23  Will Newton  <will.newton@linaro.org>
35458         * test-skeleton.c (signal_handler): Use printf and %m
35459         rather than perror.  Use printf rather than fprintf to
35460         stderr.  Use puts rather than fputs to stderr.
35461         (main): Likewise.
35463 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
35465         * nscd/nscd.c (thread_info_t): Remove typedef.
35466         (thread_info): Remove variable.
35468 2014-06-21  Allan McRae  <allan@archlinux.org>
35470         * NEWS: Mention CVE-2014-4043.
35472 2014-06-20  Roland McGrath  <roland@hack.frob.com>
35474         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
35475         * nptl/smp.h: ... here.
35477         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
35479         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
35480         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
35481         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
35482         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
35484         * nptl/allocatestack.c: Include <stack-aliasing.h>.
35485         * nptl/stack-aliasing.h: New file.
35486         * sysdeps/i386/i686/stack-aliasing.h: New file.
35487         * sysdeps/i386/i686/nptl/Makefile: File removed.
35488         * sysdeps/x86_64/stack-aliasing.h: New file.
35489         * sysdeps/x86_64/nptl/Makefile
35490         (CFLAGS-pthread_create.c): Variable removed.
35492         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
35493         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
35494         old file.
35495         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
35496         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
35497         old file.
35499 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
35501         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35502         (__ASSUME_SIGFRAME_V2): Remove macro.
35503         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
35504         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
35505         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
35506         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
35507         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
35508         Declare as function.  Remove conditional macro definitions.
35509         (__default_rt_sa_restorer): Likewise.
35510         (__default_sa_restorer_v1): Remove declaration.
35511         (__default_sa_restorer_v2): Likewise.
35512         (__default_rt_sa_restorer_v1): Likewise.
35513         (__default_rt_sa_restorer_v2): Likewise.
35514         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
35515         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
35516         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
35518 2014-06-20  Roland McGrath  <roland@hack.frob.com>
35520         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
35521         (libpthread-routines): Add sysdep.
35522         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
35523         * sysdeps/unix/sysv/linux/sparc/Versions
35524         (libpthread: GLIBC_2.3.3): New version set.
35525         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
35526         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
35527         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
35528         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
35529         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
35530         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
35531         Moved ...
35532         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
35533         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
35534         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
35535         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
35536         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
35537         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
35538         * sysdeps/sparc/nptl/sem_init.c: ... here.
35539         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
35540         * sysdeps/sparc/nptl/sem_post.c: ... here.
35541         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
35542         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
35543         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
35544         * sysdeps/sparc/nptl/sem_wait.c: ... here.
35545         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
35546         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
35547         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
35548         (libpthread-routines): Add cpu_relax.
35549         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
35550         File removed.
35551         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
35552         (librt: GLIBC_2.3.3): New version set.
35553         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
35554         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
35555         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
35556         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
35557         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
35558         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
35559         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
35560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
35561         Moved ...
35562         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
35563         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
35564         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
35565         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
35566         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
35567         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
35568         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
35569         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
35570         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
35571         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
35572         Moved ...
35573         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
35574         Update #include.
35575         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
35576         Moved ...
35577         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
35578         Update #include.
35579         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
35580         Moved ...
35581         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
35582         Update #include.
35583         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
35584         Moved ...
35585         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
35586         Update #include.
35587         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
35588         Moved ...
35589         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
35590         Update #include.
35591         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
35592         Moved ...
35593         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
35594         Update #include.
35595         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
35596         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
35597         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
35598         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
35599         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
35600         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
35601         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
35602         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
35603         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
35604         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
35605         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
35606         Moved ...
35607         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
35608         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
35609         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
35610         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
35611         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
35613 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
35615         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
35616         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
35617         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
35618         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
35619         * nscd/nscd.c: Likewise.
35620         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
35621         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
35622         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
35623         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
35625         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
35626         <kernel-features.h>.
35627         (init_mq_netlink): Remove conditional have_sock_cloexec
35628         definitions.  Remove code conditional on have_sock_cloexec < 0.
35629         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
35630         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
35631         * sysdeps/unix/sysv/linux/opensock.c: Do not include
35632         <kernel-features.h>.
35633         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
35634         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
35636 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
35638         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35639         Add tests for memset_chk and memset.
35641         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
35642         with AVX2_Usable.
35644 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
35646         [BZ #16046]
35647         * elf/tst-dl-iter-static.c: New file.
35648         * elf/Makefile (tests-static): Add tst-dl-iter-static.
35650         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
35651         error.
35653 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
35655         * sysdeps/unix/sysv/linux/kernel-features.h
35656         (__ASSUME_F_GETOWN_EX): Remove macro.
35657         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
35658         <kernel-features.h>.
35659         (miss_F_GETOWN_EX): Remove variable or macro.
35660         (do_fcntl): Do not check miss_F_GETOWN_EX.
35661         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
35663         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
35664         Remove macro.
35665         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
35666         [!__ASSUME_AT_RANDOM]: Remove conditional code.
35667         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
35669         * sysdeps/unix/sysv/linux/kernel-features.h
35670         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
35671         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
35672         [ADJ_OFFSET_SS_READ]: Make code unconditional.
35673         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
35675 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
35677         [BZ #17075]
35678         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
35679         Fix calculation of the symbol's value.
35680         * sysdeps/arm/tst-armtlsdescloc.c: New file.
35681         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
35682         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
35683         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
35684         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
35685         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
35686         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
35687         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
35688         (modules-names): Add `tst-armtlsdescmod',
35689         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
35690         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
35691         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
35692         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
35693         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
35694         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
35695         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
35696         ($(objpfx)tst-armtlsdescloc): New dependency.
35697         ($(objpfx)tst-armtlsdescextnow): Likewise.
35698         ($(objpfx)tst-armtlsdescextlazy): Likewise.
35699         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
35700         TLS scheme support.
35701         * sysdeps/arm/configure: Regenerate.
35703 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
35705         * include/fcntl.h (__atfct_seterrno): Remove prototype.
35706         (__atfct_seterrno_2): Likewise.
35707         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
35708         <kernel-features.h>.
35709         (__ASSUME_ATFCTS): Do not undefine and redefine.
35710         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
35711         (__have_atfcts): Remove conditional definition.
35712         (__fxstatat([__NR_fstatat64]: Make code unconditional.
35713         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
35714         unreachable if [__ASSUME_ATFCTS].
35715         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
35716         not undefine and redefine.
35717         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
35718         <kernel-features.h>.
35719         (faccessat) [__NR_faccessat]: Make code unconditional.
35720         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
35721         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
35722         <kernel-features.h>.
35723         (fchmodat) [__NR_fchmodat]: Make code unconditional.
35724         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
35725         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
35726         <kernel-features.h>.
35727         (fchownat) [__NR_fchownat]: Make code unconditional.
35728         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
35729         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
35730         <kernel-features.h>.
35731         (futimesat) [__NR_futimesat]: Make code unconditional.
35732         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
35733         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
35734         <kernel-features.h>.
35735         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
35736         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
35737         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
35738         <kernel-features.h>.
35739         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
35740         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
35741         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
35742         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
35743         <kernel-features.h>.
35744         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
35745         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
35746         * sysdeps/unix/sysv/linux/linkat.c: Do not include
35747         <kernel-features.h>.
35748         (linkat) [__NR_linkat]: Make code unconditional.
35749         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
35750         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
35751         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
35752         <kernel-features.h>.
35753         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
35754         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
35755         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
35756         <kernel-features.h>.
35757         (mkdirat) [__NR_mkdirat]: Make code unconditional.
35758         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
35759         * sysdeps/unix/sysv/linux/openat.c: Do not include
35760         <kernel-features.h>.
35761         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
35762         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
35763         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
35764         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
35765         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
35766         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
35767         <kernel-features.h>.
35768         (readlinkat) [__NR_readlinkat]: Make code unconditional.
35769         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
35770         result of INLINE_SYSCALL directly, not via int variable.
35771         * sysdeps/unix/sysv/linux/renameat.c: Do not include
35772         <kernel-features.h>.
35773         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
35774         (renameat) [__NR_renameat]: Make code unconditional.
35775         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
35776         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
35777         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
35778         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
35779         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
35780         (__ASSUME_ATFCTS): Do not undefine and redefine.
35781         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
35782         <kernel-features.h>.
35783         (symlinkat) [__NR_symlinkat]: Make code unconditional.
35784         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
35785         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
35786         <kernel-features.h>.
35787         (unlinkat) [__NR_unlinkat]: Make code unconditional.
35788         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
35789         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
35790         (__ASSUME_ATFCTS): Do not undefine and redefine.
35791         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
35792         <kernel-features.h>.
35793         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
35794         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
35795         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
35796         <kernel-features.h>.
35797         (__xmknodat) [__NR_mknodat]: Make code unconditional.
35798         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
35800 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
35802         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
35804 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
35806         [BZ #17069]
35807         * posix/regcomp.c (parse_reg_exp): Deallocate partially
35808         constructed tree before returning error.
35809         * posix/bug-regexp36.c: Expand test case.
35811 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
35813         [BZ #6803]
35814         * math/libm-test.inc (scalbln_test_date):
35815         Add errno expectations.
35816         * math/w_scalblnf.c: New File.
35817         Add wrapper which checks for setting errno to ERANGE.
35818         Add weak_alias for corresponding scalbln function.
35819         * math/w_scalbln.c: Likewise.
35820         * math/w_scalblnl.c: Likewise.
35821         * math/Makefile (libm-calls): Add w_scalbln.
35822         * sysdeps/ieee754/flt-32/s_scalblnf.c:
35823         Remove weak_alias for corresponding scalbln function.
35824         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35825         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35826         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35827         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35828         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
35829         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
35830         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
35831         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
35832         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
35833         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
35834         Remove long_double_symbol for scalblnl function in libm, libc.
35835         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
35836         Add wrapper which checks for setting errno to ERANGE.
35837         Add long_double_symbol for scalblnl function in libm, libc.
35838         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
35839         Remove long_double_symbol for scalblnl in libm.
35840         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
35841         Add wrapper which checks for setting errno to ERANGE.
35842         Add long_double_symbol for scalblnl function in libm.
35843         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
35844         Do not use wrapper because of own implementation.
35846 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
35848         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
35849         3 bytes for __pad1 for x32.
35850         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
35852 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
35853             H.J. Lu  <hongjiu.lu@intel.com>
35855         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
35856         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
35857         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35858         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35859         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
35861 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
35863         [BZ #17069]
35864         * posix/regcomp.c (parse_expression): Deallocate partially
35865         constructed tree before returning error.
35866         * posix/Makefile.c (tests): Add bug-regex36.
35867         (generated): Add bug-regex36.mtrace.
35868         (tests-special): Add $(objpfx)bug-regex36-mem.out
35869         (bug-regex36-ENV): New variable.
35870         ($(objpfx)bug-regex36-mem.out): New rule.
35871         * posix/bug-regex36.c: New file.
35873 2014-06-19  Will Newton  <will.newton@linaro.org>
35875         * malloc/malloc.c (systrim): If extra is zero then return
35876         early.
35878 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35880         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
35882 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
35884         * sysdeps/aarch64/strchr.S: New file.
35886 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
35888         [BZ #17022]
35889         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
35890         from arguments -2 or below.
35891         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35892         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
35894 2014-06-18  Andreas Schwab  <schwab@suse.de>
35896         [BZ #17062]
35897         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
35898         of a bracket expr not to run off the end of the string.
35899         * posix/Makefile (tests): Add tst-fnmatch3.
35900         * posix/tst-fnmatch3.c: New file.
35902 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
35904         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
35905         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35906         [$(cross-compiling) = no]: Likewise.
35907         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35908         [$(cross-compiling) = no]: Likewise.
35910 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35912         [BZ #17031]
35913         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
35914         double, adjusted for any remainder from the high double.
35915         * math/libm-test.inc (nearbyint): Add tests.
35916         (rint): Likewise.
35918 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35920         * nptl/sysdeps/powerpc/Makefile: Moved ...
35921         * sysdeps/powerpc/nptl/Makefile: ... here.
35922         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
35923         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
35924         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
35925         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
35926         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
35927         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
35928         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
35929         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
35930         * nptl/sysdeps/powerpc/tls.h: Moved ...
35931         * sysdeps/powerpc/nptl/tls.h: ... here.
35933 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
35935         [BZ #16681]
35936         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
35937         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
35938         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
35939         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
35940         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
35941         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
35942         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
35943         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
35944         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
35946 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
35948         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
35950 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
35952         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
35953         defined operator.
35955         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
35956         $TIMEOUTFACTOR.
35958 2014-06-16  Florian Weimer  <fweimer@redhat.com>
35960         [BZ #17058]
35961         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
35962         non-executed part of the test.
35964 2014-06-16  Andreas Schwab  <schwab@suse.de>
35966         * string/bits/string2.h (strdup, strndup): Update feature guard.
35968 2014-06-14  David S. Miller  <davem@davemloft.net>
35970         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35972 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
35974         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
35975         that was previously under [RESET_PID].
35976         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
35978         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
35979         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
35980         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
35981         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35982         (__libc_vfork): New strong alias.
35983         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
35985 2014-06-14 Andi Kleen  <ak@linux.intel.com>
35987         * sysdeps/generic/elide.h: New file.
35989 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35991         * Makefile (installed-headers): Adjust path of pthread.h header.
35993 2014-06-13  Roland McGrath  <roland@hack.frob.com>
35995         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
35996         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
35997         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
35998         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
36000         * nptl/sysdeps/s390/Makefile: Moved ...
36001         * sysdeps/s390/nptl/Makefile: ... here.
36002         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
36003         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
36004         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
36005         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
36006         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
36007         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
36008         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
36009         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
36010         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
36011         * sysdeps/s390/nptl/pthreaddef.h: ... here.
36012         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
36013         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
36014         * nptl/sysdeps/s390/tls.h: Moved ...
36015         * sysdeps/s390/nptl/tls.h: ... here.
36017         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
36018         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
36020 2014-06-13  David S. Miller  <davem@davemloft.net>
36022         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
36023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
36024         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
36025         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
36026         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
36027         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
36028         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
36029         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
36030         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
36031         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
36032         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
36033         Remove RESET_PID cpp guards.
36034         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
36035         Remove RESET_PID cpp guards.
36036         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
36038 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
36040         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
36041         __sp to uintptr_t.
36043 2014-06-13  Andi Kleen  <ak@linux.intel.com>
36045         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
36046         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
36047         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
36048         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
36049         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
36050         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
36051         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
36052         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
36053         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
36054         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
36055         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
36056         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
36057         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
36058         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
36059         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
36060         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
36061         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
36062         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
36063         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
36064         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
36066         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
36067         (pthread_rwlock_rdlock): Add elision.
36068         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
36069         (pthread_rwlock_wrlock): Add elision.
36070         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
36071         (pthread_rwlock_trywrlock): Add elision.
36072         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
36073         (pthread_rwlock_tryrdlock): Add elision.
36074         * nptl/pthread_rwlock_unlock.c: Include elide.h.
36075         (pthread_rwlock_tryrdlock): Add elision unlock.
36076         * nptl/sysdeps/pthread/pthread.h:
36077         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
36078         (PTHREAD_RWLOCK_INITIALIZER,
36079         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
36080         Handle new elision field.
36081         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
36082         * sysdeps/arm/nptl/bits/pthreadtypes.h
36083         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36084         * sysdeps/sh/nptl/bits/pthreadtypes.h
36085         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36086         * sysdeps/tile/nptl/bits/pthreadtypes.h
36087         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36088         * sysdeps/a/nptl/bits/pthreadtypes.h
36089         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36090         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
36091         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36092         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
36093         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36094         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
36095         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36096         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
36097         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36098         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
36099         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36100         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
36101         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36102         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
36103         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36104         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
36105         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36106         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
36107         (elision_init): Set try_xbegin to zero when no RTM.
36108         * sysdeps/x86/nptl/bits/pthreadtypes.h
36109         (pthread_rwlock_t): Change __pad1 to __rwelision.
36110         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36112 2014-06-13  Andi Kleen  <ak@linux.intel.com>
36114         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
36115         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
36116         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
36117         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
36119 2014-06-13  Meador Inge  <meadori@codesourcery.com>
36121         [BZ #16996]
36122         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
36123         that the cached result has been set before returning it.
36125 2014-06-12  Roland McGrath  <roland@hack.frob.com>
36127         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
36128         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
36129         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
36130         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
36131         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
36132         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
36134         * nptl/sysdeps/sparc/Makefile: Moved ...
36135         * sysdeps/sparc/nptl/Makefile: ... here.
36136         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
36137         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
36138         * nptl/sysdeps/sparc/tls.h: Moved ...
36139         * sysdeps/sparc/nptl/tls.h: ... here.
36140         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
36141         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
36142         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
36143         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
36144         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
36145         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
36146         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
36147         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
36148         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
36149         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
36150         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
36151         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
36152         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
36153         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
36154         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
36155         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
36156         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
36157         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
36158         Update #include.
36159         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
36160         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
36161         Update #include.
36162         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
36163         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
36164         Update #include.
36165         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
36166         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
36167         Update #include.
36169         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
36171         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
36172         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
36174         * sysdeps/pthread/posix-timer.h: Include <list.h>.
36175         (struct list_links): Type removed.
36176         (struct thread_node, struct timer_node): Replace struct list_links
36177         with struct list_head.
36178         (list_unlink_ip): Likewise.
36179         * sysdeps/pthread/timer_routines.c
36180         (timer_free_list, thread_free_list, thread_active_list): Likewise.
36181         (list_append, list_insbefore): Likewise.
36182         (list_init): Function removed.
36183         (thread_init, init_module): Use INIT_LIST_HEAD instead.
36184         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
36185         * sysdeps/pthread/Makefile: ... here, new file.
36187         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
36188         * sysdeps/nptl/Implies: ... here.
36189         * sysdeps/unix/sysv/linux/Implies: Add nptl.
36190         * nptl/sysdeps/pthread/list.h: Moved ...
36191         * include/list.h: ... here.
36192         * nptl/sysdeps/pthread/createthread.c: Moved ...
36193         * nptl/createthread.c: ... here.
36194         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
36195         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
36196         * nptl/pt-longjmp.c: ... here.
36197         * nptl/sysdeps/pthread/Makefile: Moved ...
36198         * sysdeps/nptl/Makefile: ... here.
36199         * nptl/sysdeps/pthread/Subdirs: Moved ...
36200         * sysdeps/nptl/Subdirs: ... here.
36201         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
36202         * sysdeps/nptl/aio_misc.h: ... here.
36203         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
36204         * sysdeps/nptl/bits/libc-lock.h: ... here.
36205         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
36206         * sysdeps/nptl/bits/libc-lockP.h: ... here.
36207         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
36208         * sysdeps/nptl/bits/stdio-lock.h: ... here.
36209         * nptl/sysdeps/pthread/configure: Moved ...
36210         * sysdeps/nptl/configure: ... here.
36211         * nptl/sysdeps/pthread/configure.ac: Moved ...
36212         * sysdeps/nptl/configure.ac: ... here.
36213         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
36214         * sysdeps/nptl/gai_misc.h: ... here.
36215         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
36216         * sysdeps/nptl/librt-cancellation.c: ... here.
36217         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
36218         * sysdeps/nptl/malloc-machine.h: ... here.
36219         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
36220         * sysdeps/nptl/pthread-functions.h: ... here.
36221         * nptl/sysdeps/pthread/pthread.h: Moved ...
36222         * sysdeps/nptl/pthread.h: ... here.
36223         * nptl/sysdeps/pthread/setxid.h: Moved ...
36224         * sysdeps/nptl/setxid.h: ... here.
36225         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
36226         * sysdeps/nptl/sigfillset.c: ... here.
36227         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
36228         * sysdeps/nptl/tcb-offsets.h: ... here.
36229         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
36230         * sysdeps/nptl/tst-mqueue8x.c: ... here.
36231         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
36232         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
36233         * nptl/sysdeps/pthread/allocalim.h: Moved ...
36234         * sysdeps/pthread/allocalim.h: ... here.
36235         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
36236         * sysdeps/pthread/bits/sigthread.h: ... here.
36237         * nptl/sysdeps/pthread/flockfile.c: Moved ...
36238         * sysdeps/pthread/flockfile.c: ... here.
36239         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
36240         * sysdeps/pthread/ftrylockfile.c: ... here.
36241         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
36242         * sysdeps/pthread/funlockfile.c: ... here.
36243         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
36244         * sysdeps/pthread/posix-timer.h: ... here.
36245         * nptl/sysdeps/pthread/timer_create.c: Moved ...
36246         * sysdeps/pthread/timer_create.c: ... here.
36247         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
36248         * sysdeps/pthread/timer_delete.c: ... here.
36249         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
36250         * sysdeps/pthread/timer_getoverr.c: ... here.
36251         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
36252         * sysdeps/pthread/timer_gettime.c: ... here.
36253         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
36254         * sysdeps/pthread/timer_routines.c: ... here.
36255         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
36256         * sysdeps/pthread/timer_settime.c: ... here.
36257         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
36258         * sysdeps/pthread/tst-timer.c: ... here.
36259         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
36260         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
36262         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
36263         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
36265         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
36266         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
36267         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
36268         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
36269         Update #include target.
36270         * nptl/sysdeps/i386/i686/Makefile: Moved ...
36271         * sysdeps/i386/i686/nptl/Makefile: ... here.
36272         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
36273         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
36274         Update #include target.
36275         * nptl/sysdeps/i386/i686/tls.h: Moved ...
36276         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
36277         * nptl/sysdeps/i386/Makefile: Moved ...
36278         * sysdeps/i386/nptl/Makefile: ... here.
36279         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
36280         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
36281         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
36282         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
36283         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
36284         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
36285         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
36286         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
36287         * sysdeps/i386/nptl/pthreaddef.h: ... here.
36288         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
36289         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
36290         * nptl/sysdeps/i386/tls.h: Moved ...
36291         * sysdeps/i386/nptl/tls.h: ... here.
36293         * sysdeps/sh/Makefile [$(subdir) = csu]
36294         (gen-as-const-headers): Add tcb-offsets.sym.
36295         * nptl/sysdeps/sh/Makefile: File removed.
36296         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
36297         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
36298         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
36299         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
36300         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
36301         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
36302         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
36303         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
36304         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
36305         * sysdeps/sh/nptl/pthreaddef.h: ... here.
36306         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
36307         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
36308         * nptl/sysdeps/sh/tls.h: Moved ...
36309         * sysdeps/sh/nptl/tls.h: ... here.
36310         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
36311         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
36312         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
36313         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
36314         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
36315         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
36316         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
36317         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
36318         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
36319         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
36320         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
36321         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
36322         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
36323         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
36324         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
36325         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
36326         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
36327         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
36328         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
36329         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
36330         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
36331         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
36332         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
36333         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
36334         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
36335         Moved ...
36336         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
36337         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
36338         Moved ...
36339         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
36340         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
36341         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
36342         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
36343         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
36344         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
36345         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
36346         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
36347         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
36348         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
36349         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
36350         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
36351         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
36352         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
36353         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
36354         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
36355         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
36356         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
36357         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
36359 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36361         * posix/spawn_faction_addopen.c: Include string.h.
36363 2014-06-11  Roland McGrath  <roland@hack.frob.com>
36365         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
36366         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
36367         * nptl/sysdeps/x86_64/Makefile: Moved ...
36368         * sysdeps/x86_64/nptl/Makefile: ... here.
36369         * nptl/sysdeps/x86_64/configure: Moved ...
36370         * sysdeps/x86_64/nptl/configure: ... here.
36371         * nptl/sysdeps/x86_64/configure.ac: Moved ...
36372         * sysdeps/x86_64/nptl/configure.ac: ... here.
36373         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
36374         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
36375         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
36376         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
36377         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
36378         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
36379         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
36380         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
36381         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
36382         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
36383         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
36384         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
36385         * nptl/sysdeps/x86_64/tls.h: Moved ...
36386         * sysdeps/x86_64/nptl/tls.h: ... here.
36387         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
36388         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
36389         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
36390         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
36392         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
36394 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36398 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
36400         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
36401         type.
36402         [POSIX] (off_t): Likewise.
36403         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
36404         [POSIX] (S_ISBLK): Require macro.
36405         [POSIX] (S_ISCHR): Likewise.
36406         [POSIX] (S_ISDIR): Likewise.
36407         [POSIX] (S_ISFIFO): Likewise.
36408         [POSIX] (S_ISREG): Likewise.
36409         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
36410         optional-macro.
36411         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
36412         type.
36413         [POSIX] (time_t): Likewise.
36414         [POSIX] (timer_t): Likewise.
36416 2014-06-11  Florian Weimer  <fweimer@redhat.com>
36418         [BZ #17048]
36419         * posix/spawn_int.h (struct __spawn_action): Make the path string
36420         non-const to support deallocation.
36421         * posix/spawn_faction_addopen.c
36422         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
36423         * posix/spawn_faction_destroy.c
36424         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
36425         path in all spawn_do_open actions.
36426         * posix/tst-spawn.c (do_test): Exercise the copy operation in
36427         posix_spawn_file_actions_addopen.
36429 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
36431         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
36432         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
36433         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
36434         conditional code always true.
36435         (__libc_vfork): New alias.
36437 2014-06-11  Roland McGrath  <roland@hack.frob.com>
36439         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36440         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
36442         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
36444         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36445         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
36447         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
36448         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
36450         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36451         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
36453 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36455         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
36456         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
36457         multiarch strcmp for PPC64.
36458         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
36459         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
36460         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
36461         multiarch optimizations.
36462         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36463         (__libc_ifunc_impl_list): Likewise.
36465 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36467         * benchtests/scripts/validate_benchout.py: New script.
36468         * benchtests/Makefile (bench-func): Call it.
36469         * benchtests/scripts/benchout.schema.json: New file.
36471 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
36473         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
36474         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
36475         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
36476         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
36477         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
36478         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
36479         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
36480         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
36481         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
36482         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
36483         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
36484         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
36485         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
36486         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
36487         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
36488         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
36489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
36490         Moved ...
36491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
36492         ... here.
36493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
36494         Moved ...
36495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
36496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
36497         Moved ...
36498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
36499         ... here.
36500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
36501         Moved ...
36502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
36503         ... here.
36504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
36505         Moved ...
36506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
36507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
36508         Moved ...
36509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
36510         ... here.
36511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
36512         Moved ...
36513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
36514         ... here.
36515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
36516         Moved ...
36517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
36518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
36519         Moved ...
36520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
36521         ... here.
36522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
36523         Moved ...
36524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
36525         ... here.
36526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
36527         Moved ...
36528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
36529         ... here.
36530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
36531         Moved ...
36532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
36533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
36534         Moved ...
36535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
36536         ... here.
36537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
36538         Moved ...
36539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
36540         ... here.
36541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
36542         Moved ...
36543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
36544         ... here.
36545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
36546         Moved ...
36547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
36548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
36549         Moved ...
36550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
36551         ... here.
36552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
36553         Moved ...
36554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
36555         ... here.
36556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
36557         Moved ...
36558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
36559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
36560         Moved ...
36561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
36562         ... here.
36563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
36564         Moved ...
36565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
36566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
36567         Moved ...
36568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
36569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
36570         Moved ...
36571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
36572         ... here.
36573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
36574         Moved ...
36575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
36576         ... here.
36577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
36578         Moved ...
36579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
36580         ... here.
36581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
36582         Moved ...
36583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
36584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
36585         Moved ...
36586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
36587         ... here.
36588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
36589         Moved ...
36590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
36591         ... here.
36592         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
36593         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
36594         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
36595         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
36596         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
36597         Moved ...
36598         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
36599         ... here.
36600         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
36601         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
36602         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
36603         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
36604         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
36605         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
36606         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
36607         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
36608         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
36609         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
36610         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
36611         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
36612         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
36613         Moved ...
36614         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
36615         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
36616         Moved ...
36617         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
36618         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
36619         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
36620         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
36621         Moved ...
36622         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
36623         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
36624         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
36625         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
36626         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
36627         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
36628         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
36630 2014-06-10  Wilco  <wdijkstr@arm.com>
36632         * math/test-fenv-return.c: New file.
36633         * math/Makefile: Add new test test-fenv-return.
36635 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
36637         [BZ #17042]
36638         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
36639         when x - 1 is zero.
36640         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
36641         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
36642         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
36643         0.0L for an argument of 1.0L.
36644         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
36645         Likewise.
36646         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
36647         value when x - 1 is zero.
36648         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
36649         * sysdeps/i386/fpu/libm-test-ulps: Update.
36650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36652 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
36654         [BZ #15119]
36655         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
36657 2014-06-09  Roland McGrath  <roland@hack.frob.com>
36659         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
36660         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
36662 2014-06-09  Roland McGrath  <roland@hack.frob.com>
36664         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36665         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
36667         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36668         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
36670         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36671         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
36673         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36674         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
36676         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
36677         if not already defined.
36678         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
36679         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
36680         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
36681         (TLS_INIT_TP): Use it.
36682         (TLS_DEFINE_INIT_TP): New macro.
36683         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
36685 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
36687         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
36688         constant.
36689         [POSIX] (IXANY): Likewise.
36690         [POSIX] (OLCUC): Likewise.
36691         [POSIX || POSIX2008] (CBAUD): Do not allow.
36692         [POSIX || POSIX2008] (DEFECHO): Likewise.
36693         [POSIX || POSIX2008] (ECHOCTL): Likewise.
36694         [POSIX || POSIX2008] (ECHOKE): Likewise.
36695         [POSIX || POSIX2008] (ECHOPRT): Likewise.
36696         [POSIX || POSIX2008] (EXTA): Likewise.
36697         [POSIX || POSIX2008] (EXTB): Likewise.
36698         [POSIX || POSIX2008] (FLUSHO): Likewise.
36699         [POSIX || POSIX2008] (LOBLK): Likewise.
36700         [POSIX || POSIX2008] (PENDIN): Likewise.
36701         [POSIX || POSIX2008] (SWTCH): Likewise.
36702         [POSIX || POSIX2008] (VDISCARD): Likewise.
36703         [POSIX || POSIX2008] (VDSUSP): Likewise.
36704         [POSIX || POSIX2008] (VLNEXT): Likewise.
36705         [POSIX || POSIX2008] (VREPRINT): Likewise.
36706         [POSIX || POSIX2008] (VSTATUS): Likewise.
36707         [POSIX || POSIX2008] (VWERASE): Likewise.
36708         (B*): Change to B[0123456789]*.
36709         * conform/data/time.h-data [POSIX || UNIX98]
36710         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
36711         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
36712         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
36713         [POSIX] (tm_*): Do not allow.
36715 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
36717         * Makefile (install): Don't set LANGUAGE.
36718         * Makefile.in (install): Likewise.
36719         * assert/Makefile (test-assert-ENV): Remove variable.
36720         (test-assert-perr-ENV): Likewise.
36721         * elf/Makefile (neededtest4-ENV): Likewise.
36722         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36723         [$(cross-compiling) = no]: Don't set LANGUAGE.
36724         * io/ftwtest-sh (LANG): Remove variable.
36725         * libio/Makefile (tst-widetext-ENV): Likewise.
36726         * manual/install.texi (Running make install): Don't refer to
36727         environment settings for make install.
36728         * INSTALL: Regenerated.
36729         * nptl/tst-tls6.sh: Don't set LANG.
36730         * posix/globtest.sh (LANG): Remove variable.
36731         * string/Makefile (tester-ENV): Likewise.
36732         (inl-tester-ENV): Likewise.
36733         (noinl-tester-ENV): Likewise.
36734         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36735         [$(cross-compiling) = no]: Don't set LANGUAGE.
36736         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
36737         without explicit environment settings.
36739 2014-06-06  Roland McGrath  <roland@hack.frob.com>
36741         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
36742         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
36743         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
36744         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
36746 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
36748         * crypt/crypt-private.h [DOS]: Add some includes taken from the
36749         other files in the crypt directory.
36750         * crypt/crypt.c: Remove duplicate includes.
36751         * crypt/crypt-entry.c: Likewise.
36752         * crypt/crypt_util.c: Likewise.
36754 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
36756         * Makeconfig (run-program-env): New variable.
36757         (run-program-prefix-before-env): Likewise.
36758         (run-program-prefix-after-env): Likewise.
36759         (run-program-prefix): Define in terms of new variables.
36760         (built-program-cmd-before-env): New variable.
36761         (built-program-cmd-after-env): Likewise.
36762         (built-program-cmd): Define in terms of new variables.
36763         (test-program-prefix-before-env): New variable.
36764         (test-program-prefix-after-env): Likewise.
36765         (test-program-prefix): Define in terms of new variables.
36766         (test-program-cmd-before-env): New variable.
36767         (test-program-cmd-after-env): Likewise.
36768         (test-program-cmd): Define in terms of new variables.
36769         * Rules (make-test-out): Use $(run-program-env).
36770         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
36771         (help): Do not mention environment variables.  Mention
36772         --timeoutfactor option.
36773         (timeoutfactor): New variable.
36774         (blacklist_exports): Remove function.
36775         (exports): Remove variable.
36776         (command): Do not include ${exports}.
36777         * manual/install.texi (Configuring and compiling): Do not mention
36778         test wrappers preserving environment variables.  Mention that last
36779         assignment to a variable must take precedence.
36780         * INSTALL: Regenerated.
36781         * benchtests/Makefile (run-bench): Use $(run-program-env).
36782         * catgets/Makefile ($(objpfx)test1.cat): Use
36783         $(built-program-cmd-before-env), $(run-program-env) and
36784         $(built-program-cmd-after-env).
36785         ($(objpfx)test2.cat): Do not specify environment variables
36786         explicitly.
36787         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
36788         $(run-program-env) and $(built-program-cmd-after-env).
36789         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
36790         $(run-program-env) and $(test-program-cmd-after-env).
36791         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
36792         explicitly.
36793         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
36794         run_program_env and test_program_cmd_after_env arguments.
36795         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
36796         * elf/tst-pathopt.sh: Use run_program_env argument.
36797         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
36798         $(test-wrapper-env) and $(run-program-env).
36799         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
36800         run_program_env arguments.
36801         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
36802         * intl/Makefile ($(objpfx)tst-gettext.out): Use
36803         $(test-program-prefix-before-env), $(run-program-env) and
36804         $(test-program-prefix-after-env).
36805         ($(objpfx)tst-gettext2.out): Likewise.
36806         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
36807         run_program_env and test_program_prefix_after_env arguments.
36808         * intl/tst-gettext2.sh: Likewise.
36809         * intl/tst-gettext4.sh: Do not set environment variables
36810         explicitly.
36811         * intl/tst-gettext6.sh: Likewise.
36812         * intl/tst-translit.sh: Likewise.
36813         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
36814         $(test-program-prefix-before-env), $(run-program-env) and
36815         $(test-program-prefix-after-env).
36816         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
36817         run_program_env and test_program_prefix_after_env arguments.
36818         * math/Makefile (run-regen-ulps): Use $(run-program-env).
36819         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
36820         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
36821         explicitly with each use of ${test_wrapper_env}.
36822         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
36823         $(test-program-prefix-before-env), $(run-program-env) and
36824         $(test-program-prefix-after-env).
36825         * posix/tst-getconf.sh: Do not set environment variables
36826         explicitly.
36827         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
36828         run_program_env and test_program_prefix_after_env arguments.
36829         * stdio-common/tst-printf.sh: Do not set environment variables
36830         explicitly.
36831         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
36832         $(test-program-prefix-before-env), $(run-program-env) and
36833         $(test-program-prefix-after-env).
36834         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
36835         run_program_env and test_program_prefix_after_env arguments.
36836         Split $test calls into $test_pre and $test.
36837         * timezone/Makefile (build-testdata): Use
36838         $(built-program-cmd-before-env), $(run-program-env) and
36839         $(built-program-cmd-after-env).
36841 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36843         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
36844         strlen for non SHARED builds.
36846 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36848         * nptl/allocatestack.c (check_list): Inlined function...
36849         (__reclaim_stacks): ... here.
36851 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
36853         [BZ #15698]
36854         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
36855         memory overrun.
36857 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
36859         * Rules (make-test-out): Include
36860         LOCPATH=$(common-objpfx)localedata in default environment.
36861         * debug/Makefile (tst-chk1-ENV): Remove variable.
36862         (tst-chk2-ENV): Likewise.
36863         (tst-chk3-ENV): Likewise.
36864         (tst-chk4-ENV): Likewise.
36865         (tst-chk5-ENV): Likewise.
36866         (tst-chk6-ENV): Likewise.
36867         (tst-lfschk1-ENV): Likewise.
36868         (tst-lfschk2-ENV): Likewise.
36869         (tst-lfschk3-ENV): Likewise.
36870         (tst-lfschk4-ENV): Likewise.
36871         (tst-lfschk5-ENV): Likewise.
36872         (tst-lfschk6-ENV): Likewise.
36873         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
36874         (tst-iconv7-ENV): Likewise.
36875         * intl/Makefile (LOCPATH-ENV): Likewise.
36876         (tst-codeset-ENV): Likewise.
36877         (tst-gettext3-ENV): Likewise.
36878         (tst-gettext5-ENV): Likewise.
36879         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
36880         (tst-fopenloc-ENV): Likewise.
36881         (tst-fgetws-ENV): Remove variable.
36882         (tst-ungetwc1-ENV): Likewise.
36883         (tst-ungetwc2-ENV): Likewise.
36884         (bug-ungetwc2-ENV): Likewise.
36885         (tst-swscanf-ENV): Likewise.
36886         (bug-ftell-ENV): Likewise.
36887         (tst-fgetwc-ENV): Likewise.
36888         (tst-fseek-ENV): Likewise.
36889         (tst-ftell-partial-wide-ENV): Likewise.
36890         (tst-ftell-active-handler-ENV): Likewise.
36891         (tst-ftell-append-ENV): Likewise.
36892         * posix/Makefile (tst-fnmatch-ENV): Likewise.
36893         (tst-regexloc-ENV): Likewise.
36894         (bug-regex1-ENV): Likewise.
36895         (tst-regex-ENV): Likewise.
36896         (tst-regex2-ENV): Likewise.
36897         (bug-regex5-ENV): Likewise.
36898         (bug-regex6-ENV): Likewise.
36899         (bug-regex17-ENV): Likewise.
36900         (bug-regex18-ENV): Likewise.
36901         (bug-regex19-ENV): Likewise.
36902         (bug-regex20-ENV): Likewise.
36903         (bug-regex22-ENV): Likewise.
36904         (bug-regex23-ENV): Likewise.
36905         (bug-regex25-ENV): Likewise.
36906         (bug-regex26-ENV): Likewise.
36907         (bug-regex30-ENV): Likewise.
36908         (bug-regex32-ENV): Likewise.
36909         (bug-regex33-ENV): Likewise.
36910         (bug-regex34-ENV): Likewise.
36911         (bug-regex35-ENV): Likewise.
36912         (tst-rxspencer-ENV): Likewise.
36913         (tst-rxspencer-no-utf8-ENV): Likewise.
36914         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
36915         (tst-sscanf-ENV): Likewise.
36916         (tst-swprintf-ENV): Likewise.
36917         (tst-swscanf-ENV): Likewise.
36918         (test-vfprintf-ENV): Likewise.
36919         (scanf13-ENV): Likewise.
36920         (bug14-ENV): Likewise.
36921         (tst-grouping-ENV): Likewise.
36922         * stdlib/Makefile (tst-strtod-ENV): Likewise.
36923         (tst-strtod3-ENV): Likewise.
36924         (tst-strtod4-ENV): Likewise.
36925         (tst-strtod5-ENV): Likewise.
36926         (testmb2-ENV): Likewise./
36927         * string/Makefile (tst-strxfrm-ENV): Likewise.
36928         (tst-strxfrm2-ENV): Likewise.
36929         (bug-strcoll1-ENV): Likewise.
36930         (test-strcasecmp-ENV): Likewise.
36931         (test-strncasecmp-ENV): Likewise.
36932         * time/Makefile (tst-strptime-ENV): Likewise.
36933         (tst-ftime_l-ENV): Likewise.
36934         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
36935         (tst-mbrtowc-ENV): Likewise.
36936         (tst-wcrtomb-ENV): Likewise.
36937         (tst-mbrtowc2-ENV): Likewise.
36938         (tst-c16c32-1-ENV): Likewise.
36939         (tst-mbsnrtowcs-ENV): Likewise.
36941 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
36943         * manual/resource.texi (How to get information about the memory
36944         subsystem?): Fix typo.
36945         Reported by Peon de la Parra Ivan <peon@keba.com>
36947 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
36949         [BZ #16882]
36950         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
36951         (pthread_spin_lock): Branch out of spin loop to proper location.
36952         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
36953         (pthread_spin_lock): Likewise.
36955         * nptl/tst-spin4.c: New test.
36956         * nptl/Makefile (tests): Add tst-spin4.
36958 2014-06-03  Andreas Schwab  <schwab@suse.de>
36960         [BZ #15946]
36961         * resolv/res_send.c (send_dg): Reload file descriptor after
36962         calling reopen.
36964 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
36966         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36968 2014-06-03  Richard Henderson  <rth@redhat.com>
36970         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
36971         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
36972         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
36973         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
36974         in the SAVE_PID block.
36975         (__libc_vfork): New alias.
36976         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
36978         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
36979         child in registers, not on the stack.  Remove RESET_PID conditionals.
36980         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
36982 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36984         * sysdeps/aarch64/libm-test-ulps: Regenerate.
36986 2014-06-03  Wilco  <wdijkstr@arm.com>
36988         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
36989         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
36990         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
36991         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
36992         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
36993         Likewise.
36995 2014-06-03  Wilco  <wdijkstr@arm.com>
36997         * sysdeps/aarch64/fpu/math_private.h
36998         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
36999         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
37000         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
37001         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
37002         Fix declarations.
37004 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37006         * crypt/crypt-private.h: Include ufc-crypt.h.
37007         (__b64_from_24bit): Declare extern.
37008         * crypt/crypt_util.c(__b64_from_24bit): New function.
37009         (b64t): New static const variable.
37010         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
37011         (b64t): Remove variable.
37012         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
37013         * crypt/sha256-crypt.c: Include crypt-private.h.
37014         (b64t): Remove variable.
37015         (__sha256_crypt_r): Remove b64_from_24bit and replace
37016         with __b64_from_24bit.
37017         * crypt/sha512-crypt.c: Likewise.
37019 2014-06-02  Roland McGrath  <roland@hack.frob.com>
37021         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
37022         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
37023         Label the code __libc_vfork rather than __vfork.
37024         [!NOT_IN_libc] (vfork): Define as weak alias.
37025         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
37026         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
37027         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
37029 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37031         * malloc/malloc.c (malloc_info): Fix format specifier for
37032         n_mmaps.
37034 2014-06-02  Wilco  <wdijkstr@arm.com>
37036         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
37037         FPCR write.
37039 2014-06-02  Wilco  <wdijkstr@arm.com>
37041         [BZ #17009]
37042         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
37043         Rewrite to reduce FPCR/FPSR accesses.
37045 2014-06-01  David S. Miller  <davem@davemloft.net>
37047         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37049 2014-05-31  David S. Miller  <davem@davemloft.net>
37051         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
37052         to occur in round to nearest mode when |x| >= 2.0
37054 2014-05-30  Richard Henderson  <rth@twiddle.net>
37056         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
37057         (PSEUDO_RET_NOERRNO): Remove.
37058         (ret): Don't redefine.
37059         (ret_NOERRNO): Define in terms of ret.
37060         (ret_ERRVAL): Likewise.
37062         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
37063         use of PSEUDO_RET; perform the error check directly.
37065 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
37067         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
37068         with __int128_t.
37070 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37072         * malloc/malloc (malloc_info): Fix formatting.
37074 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37075             Roland McGrath  <roland@hack.frob.com>
37077         * malloc/malloc (malloc_info): Also print mmapped statistics.
37079 2014-05-30  Roland McGrath  <roland@hack.frob.com>
37081         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
37082         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
37084 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
37086         * malloc/malloc.c (malloc_info): Inline mi_arena.
37088 2014-05-29  Richard Henderson  <rth@twiddle.net>
37090         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
37091         Remove comma before expanding ASM_ARGS_##nr.
37092         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
37093         Make _x0 a strict output; make _x8 a strict input; adjust expansion
37094         of ASM_ARGS_##nr.
37095         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
37096         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
37097         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
37098         (ASM_ARGS_1): Add leading comma.
37100         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
37101         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
37102         to __errno_location.
37103         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
37104         Remove the expected plt for __errno_location.
37106         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37107         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
37108         call to __read_tp.
37110         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37111         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
37112         it and break it down.
37113         (DOCARGS_0, DOCARGS_1): Do nothing.
37114         (DOCARGS_2): Update to store into the new stack frame.
37115         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
37116         (UNDOCARGS_1): Update to restore from the new stack frame.
37117         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
37118         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
37120         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37121         (SINGLE_THREAD_P): New parameter for result regno.
37122         (PSEUDO): Update to match; use cbz instead of beq.
37124         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37125         Use ENTRY to define the _nocancel entry point.  Share the syscall
37126         and syscall error check paths with the cancel path.
37127         (PSEUDO_END): New.
37129         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
37130         whitespace; tabs before and after asm mnemonics.
37132 2014-05-29  Eric Wong  <normalperson@yhbt.net>
37134         [BZ #15132]
37135         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37136         Call fstat64 or stat64 internally, depending on arguments passed.
37137         Replace stat buffer argument with file descriptor argument.
37138         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
37139         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
37140         Pass fd to __internal_statvfs instead of calling fstat64.
37141         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
37142         Pass fd to __internal_statvfs64 instead of calling fstat64.
37143         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
37144         Pass -1 to __internal_statvfs instead of calling stat64.
37145         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
37146         Pass -1 to __internal_statvfs64 instead of calling stat64.
37148 2014-05-28  Roland McGrath  <roland@hack.frob.com>
37150         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
37151         that was previously under [RESET_PID].
37152         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
37154         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
37155         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
37157 2014-05-27  Roland McGrath  <roland@hack.frob.com>
37159         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
37161         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
37162         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
37164 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
37166         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
37168 2014-05-27  Andreas Schwab  <schwab@suse.de>
37170         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
37171         TLS_INIT_TP macro.
37172         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
37173         * elf/rtld.c (init_tls, dl_main): Likewise.
37174         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
37175         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
37176         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
37177         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
37178         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
37179         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
37180         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
37181         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
37182         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
37183         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
37184         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
37185         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
37186         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
37187         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
37188         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
37189         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
37190         * sysdeps/generic/tls.h: Update description.
37192 2014-05-27  Will Newton  <will.newton@linaro.org>
37194         [BZ #16990]
37195         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
37196         and restore r2 rather than just restoring.
37198 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37200         [BZ #16724]
37201         * libio/tst-ftell-append.c: New test case.
37202         * libio/Makefile (tests): Add test case.
37203         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
37204         append mode.
37205         * libio/wfileops.c (do_ftell_wide): Likewise.
37207 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37209         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37211         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
37212         ...
37213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
37214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
37215         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
37216         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
37217         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
37218         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
37219         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
37220         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
37221         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
37222         Moved ...
37223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
37224         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
37225         Moved ...
37226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
37227         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
37228         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
37229         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
37230         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
37231         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
37232         ...
37233         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
37234         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
37235         Moved ...
37236         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
37237         here.
37238         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
37239         ...
37240         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
37241         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
37242         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
37244         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
37245         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
37246         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
37247         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
37249         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
37250         merge into ...
37251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
37252         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
37253         ...
37254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
37255         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
37256         ...
37257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
37258         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
37259         Moved ...
37260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
37261         here.
37262         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
37263         Moved ...
37264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
37265         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
37266         Moved ...
37267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
37269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
37270         conditional [RESET_PID].
37271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
37272         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
37273         removed.
37274         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
37275         removed.
37277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
37278         <tcb-offsets.h>.
37279         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37280         (__libc_vfork): New strong alias.
37281         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
37282         removed.
37283         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
37284         Removed.
37286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
37287         <tcb-offsets.h>.
37288         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
37289         (__libc_vfork): New strong alias.
37290         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
37291         removed.
37292         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
37293         removed.
37295 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
37297         * malloc/malloc.c (mi_arena): New function.
37298         (malloc_info): Remove nested function mi_arena. Call non-nosted
37299         function mi_arena.
37301 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37303         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
37304         by insrwi.
37305         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
37306         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
37307         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
37308         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
37309         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
37310         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
37311         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
37313 2014-05-26  Andreas Schwab  <schwab@suse.de>
37315         [BZ #16984]
37316         * locale/programs/repertoire.c (repertoire_read): Add slash
37317         between I18NPATH element and file name.
37318         * locale/programs/locfile.c (locfile_read): Likewise.
37320 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
37322         * nptl/pthread_mutexattr_settype.c
37323         (__pthread_mutexattr_settype):
37324         Disable lock elision for PTHREAD_MUTEX_NORMAL.
37326 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
37328         * nptl/tst-mutex5 (do_test):
37329         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
37331 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37333         * benchtests/README: Document 'init' directive.
37334         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
37335         BENCH_INIT.
37336         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
37337         (parse_file): Recognize 'init' directive.
37339 2014-05-26  Kyle McMartin  <kyle@redhat.com>
37341         [BZ #16796]
37342         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
37343         alignment of struct pthread.
37345 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37347         [BZ #16878]
37348         * nscd/netgroupcache.c (addgetnetgrentX): Look for
37349         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
37350         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
37351         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
37353 2014-05-25  Richard Henderson  <rth@twiddle.net>
37355         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37356         (SINGLE_THREAD_P_PIC): Remove.
37357         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
37358         (SINGLE_THREAD_P_PIC): Remove.
37360         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
37361         branch to syscall error ...
37362         (PSEUDO): ... here.
37363         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
37364         from __local_syscall_error to .Lsyscall_error.
37365         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
37366         (SYSCALL_ERROR): Update label name.
37368         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37369         Do not use DOARGS/UNDOARGS.
37370         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
37371         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
37372         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
37373         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
37374         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
37376         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
37377         block comment.
37379         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
37380         define if !NOT_IN_libc.
37381         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
37382         define with non-default symbol versions.
37384 2014-05-23  Richard Henderson  <rth@twiddle.net>
37386         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
37387         (vfork, __vfork): Define via compat_symbol.
37389         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
37390         [!HAVE_IFUNC] (vfork_compat): Remove.
37391         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
37393 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
37395         [BZ #16978]
37396         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
37397         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
37398         variable.
37400 2014-05-23  Richard Henderson  <rth@twiddle.net>
37402         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
37403         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
37404         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
37405         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
37407         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
37408         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
37409         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
37410         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
37411         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
37412         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
37413         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
37414         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
37415         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
37416         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
37417         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
37418         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
37419         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
37420         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
37421         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
37422         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
37423         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
37424         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
37425         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
37426         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
37427         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
37428         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
37429         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
37430         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
37431         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
37432         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
37433         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
37434         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
37435         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
37436         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
37437         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
37438         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
37439         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
37440         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
37441         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
37442         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
37443         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
37444         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
37445         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
37446         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
37447         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
37448         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
37449         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
37450         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
37451         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
37452         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
37453         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
37454         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
37455         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
37456         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
37457         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
37458         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
37459         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
37460         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
37461         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
37462         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
37464         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
37465         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
37466         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
37467         before exiting on error.
37468         (__libc_vfork): New strong alias.
37469         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
37470         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
37472         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
37473         that was previously under [RESET_PID].
37474         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
37476         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
37478 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
37480         [BZ #16977]
37481         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
37482         value when x - 1 is zero.
37483         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
37484         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
37485         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
37486         0.0L for an argument of 1.0L.
37487         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
37488         Likewise.
37489         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
37490         value when x - 1 is zero.
37491         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
37492         * sysdeps/i386/fpu/libm-test-ulps: Update.
37493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37495 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
37497         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
37498         alphasort and versionsort.
37500 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37502         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
37503         macro.
37504         [copysignf]: Likewise.
37506 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37508         * crypt/md5-crypt.c: Fix formatting.
37510 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37512         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
37513         (b64_from_24bit): New function.
37515 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37517         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
37518         libc_hidden_builtin_def to ifunc.
37519         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37520         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
37522 2014-05-21  Roland McGrath  <roland@hack.frob.com>
37524         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
37525         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
37527 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
37529         * nscd/Depend (linuxthreads): Remove.
37530         (nptl): Add.
37531         * resolv/Depend (linuxthreads): Remove.
37532         * rt/Depend (linuxthreads): Remove.
37534         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
37535         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
37536         $(common-objpfx)elf/.
37537         (link-libc-before-gnulib): Likewise.
37538         (elfobjdir): Remove variable.
37539         * Makefile (install): Use $(elf-objpfx) instead of
37540         $(common-objpfx)elf/.
37541         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
37542         $(elfobjdir)/.
37543         (link-libc-deps): Likewise.
37544         ($(common-objpfx)libc.so): Likewise.
37545         ($(common-objpfx)linkobj/libc.so): Likewise.
37546         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
37547         instead of $(common-objpfx)elf/.
37548         (symbolic-link-list): Likewise.
37549         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37550         [$(cross-compiling) = no]: Likewise.
37551         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
37552         $(elfobjdir)/.
37553         (static-gnulib-arch): Likewise.
37554         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37555         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
37556         $(common-objpfx)elf/.
37558 2014-05-21  Richard Henderson  <rth@redhat.com>
37560         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37561         (SINGLE_THREAD_P): Use the correct width load.  Fold
37562         into the ldr offset.
37564         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
37565         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
37567 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
37569         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
37570         (libgcc_s_resume): Use __attribute_used__.
37571         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
37572         Likewise.
37574 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37576         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
37577         optimization when used with float constants.
37579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37581 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
37583         [BZ #16915]
37584         * locale/nl_langinfo_l.c: Make direct reference to every
37585         _nl_current_CATEGORY symbol.
37586         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
37587         (tests-static): Add tst-langinfo-static.
37588         (tests-special): Add tst-langinfo-static.out.
37589         ($(objpfx)tst-langinfo.out): Redirect output.
37590         ($(objpfx)tst-langinfo-static.out): New.
37591         * localedata/tst-langinfo.sh: Send output to stdout.
37592         * localedata/tst-langinfo-static.c: New file.
37594         [BZ #16965]
37595         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
37596         when the shift amount is modulo the limb size.
37598 2014-05-20  Richard Henderson  <rth@redhat.com>
37600         [BZ #16967]
37601         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
37602         Change type of sa_flags from unsigned int to int.
37604         [BZ #16966]
37605         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
37607         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
37609 2014-05-20  Will Newton  <will.newton@linaro.org>
37611         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37612         Test the return value of the system call in the nocancel case.
37614 2014-05-20  Will Newton  <will.newton@linaro.org>
37615             Yvan Roux  <yvan.roux@linaro.org>
37617         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
37618         #include of asm/ptrace.h.
37619         (PTRACE_GET_THREAD_AREA): Remove #undef.
37620         (PTRACE_GETHBPREGS): Likewise.
37621         (PTRACE_SETHBPREGS): Likewise.
37622         (struct user_regs_struct): New structure.
37623         (struct user_fpsimd_struct): New structure.
37624         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
37625         #include of asm/ptrace.h and second #include of sys/user.h.
37626         (PTRACE_GET_THREAD_AREA): Remove #undef.
37627         (PTRACE_GETHBPREGS): Likewise.
37628         (PTRACE_SETHBPREGS): Likewise.
37629         (ELF_NGREG): Use new struct user_regs_struct.
37630         (elf_fpregset_t): Use new struct user_fpsimd_struct.
37632 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37634         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
37635         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
37637 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
37639         [BZ #16958]
37640         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
37641         membar to avoid block loads/stores to overlap previous stores.
37643 2014-05-17  Richard Henderson  <rth@redhat.com>
37645         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
37646         Create the __##syscall_name##_nocancel entry point.
37647         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
37648         Remove; let the sysdep-cancel.h code create it.
37650 2014-05-17  David S. Miller  <davem@davemloft.net>
37652         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
37653         Protect with __USE_GNU.
37654         (TIOCSET_TEMPT): Likewise.
37655         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
37656         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
37657         these are already provided in bits/ioctl-types.h
37659 2014-05-16  Roland McGrath  <roland@hack.frob.com>
37661         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
37662         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
37664         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
37665         Use wait4 regardless of [__NR_waitpid].
37667 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
37669         PR libgcc/60166
37670         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37671         (_FP_NANSIGN_Q): Set the quiet bit.
37673 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
37675         * benchtests/Makefile
37676         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
37677         not $(common-objpfx)math/libm.so.
37678         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
37679         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
37680         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
37681         $(common-objpfx)dlfcn/libdl.so.
37682         ($(objpfx)tst-audit8): Depend on $(libm), not
37683         $(common-objpfx)math/libm.so.
37684         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
37685         not $(common-objpfx)dlfcn/libdl.so.
37686         * math/Makefile
37687         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
37688         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
37689         [$(build-shared) = yes].
37690         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
37691         $(common-objpfx)nptl/libpthread.so.
37692         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
37693         $(common-objpfx)math/libm.so$(libm.so-version) or
37694         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
37695         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
37696         $(common-objpfx)dlfcn/libdl.so.
37697         * setjmp/Makefile (link-libm): Remove variable.
37698         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
37699         * stdio-common/Makefile (link-libm): Remove variable.
37700         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
37701         * stdlib/Makefile (link-libm): Remove variable.
37702         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
37703         ($(objpfx)tst-strtod-round): Likewise.
37704         ($(objpfx)tst-tininess): Likewise.
37705         ($(objpfx)tst-strtod-underflow): Likewise.
37706         ($(objpfx)tst-strtod6): Likewise.
37707         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
37708         $(libdl), not $(common-objpfx)nptl/libpthread.so and
37709         $(common-objpfx)dlfcn/libdl.so.
37711 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37713         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
37714         BSD terminal modes definitions.
37716 2014-05-16  Roland McGrath  <roland@hack.frob.com>
37718         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
37719         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
37721         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
37722         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
37723         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
37724         Don't do #include_next.
37725         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
37726         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
37727         Don't do #include_next.
37728         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
37729         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
37730         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
37731         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
37733 2014-05-16  Allan McRae  <allan@archlinux.org>
37735         * po/sv.po: Update Swedish translation from translation project.
37737         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
37738         in sed expression.
37740 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
37742         [BZ #16917]
37743         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
37744         errno if the TIOCGPTN ioctl fails with an error different than
37745         EINVAL.
37746         * login/tst-ptsname.c: New file.
37747         * login/Makefile (tests): Add tst-ptsname.
37749         [BZ #16943]
37750         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
37751         and prlimit64.
37753 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37755         [BZ #16849]
37756         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
37757         herrno to return EAI_AGAIN.
37759 2014-05-14  Roland McGrath  <roland@hack.frob.com>
37761         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
37762         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
37763         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
37764         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
37765         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
37766         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
37767         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
37768         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
37769         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
37770         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
37771         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
37772         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
37773         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
37774         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
37775         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
37776         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
37777         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
37778         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
37779         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
37780         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
37781         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
37782         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
37783         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
37784         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
37785         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
37786         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
37787         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
37788         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
37789         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
37790         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
37791         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
37792         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
37793         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
37794         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
37795         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37796         Moved ...
37797         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
37798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
37799         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
37800         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
37801         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
37802         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
37803         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
37804         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
37805         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
37806         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
37807         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
37808         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
37809         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
37810         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
37811         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
37812         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
37813         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
37814         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
37815         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
37816         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
37817         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
37818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
37819         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
37820         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
37821         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
37822         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
37823         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
37824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37825         Moved ...
37826         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
37827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
37828         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
37829         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
37830         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
37831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
37832         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
37833         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
37834         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
37835         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
37836         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
37837         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
37838         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
37839         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
37840         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
37841         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
37842         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
37843         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
37844         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
37845         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37846         Moved ...
37847         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
37848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
37849         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
37851         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
37852         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
37853         (libpthread-sysdep_routines): Add elision-related stuff here instead.
37854         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
37855         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
37856         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
37857         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
37858         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
37859         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
37860         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
37861         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
37862         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
37863         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
37864         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
37865         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
37866         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
37867         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
37868         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
37869         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
37870         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
37871         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
37872         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
37873         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
37874         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
37875         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
37876         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
37877         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
37878         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
37879         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
37880         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
37881         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
37883         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
37884         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
37886         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
37887         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
37888         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
37889         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
37890         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
37891         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
37892         Moved ...
37893         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
37894         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
37895         Moved ...
37896         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
37897         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
37898         Moved ...
37899         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
37900         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
37901         Moved ...
37902         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
37903         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
37904         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
37905         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
37906         Moved ...
37907         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
37908         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
37909         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
37910         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
37911         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
37912         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
37913         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
37914         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
37915         Moved ...
37916         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
37917         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
37918         Moved ...
37919         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
37920         ... here.
37921         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
37922         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
37923         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
37924         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
37925         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
37926         Moved ...
37927         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
37928         ... here.
37929         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
37930         Moved ...
37931         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
37932         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
37933         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
37934         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
37935         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
37936         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
37937         Moved ...
37938         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
37939         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
37940         Moved ...
37941         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
37942         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
37943         Moved ...
37944         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
37945         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
37946         Moved ...
37947         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
37948         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
37949         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
37950         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
37951         Moved ...
37952         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
37953         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
37954         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
37955         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
37956         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
37957         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
37958         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
37959         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
37960         Moved ...
37961         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
37962         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
37963         Moved ...
37964         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
37965         ... here.
37966         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
37967         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
37968         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
37969         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
37970         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
37971         Moved ...
37972         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
37973         ... here.
37974         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
37975         Moved ...
37976         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
37977         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
37978         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
37979         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
37980         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
37981         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
37982         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
37983         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
37984         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
37985         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
37986         Moved ...
37987         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
37988         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
37989         Moved ...
37990         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
37991         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
37992         Moved ...
37993         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
37994         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
37995         Moved ...
37996         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
37997         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
37998         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
37999         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
38000         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
38001         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
38002         Moved ...
38003         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
38004         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
38005         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
38006         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
38007         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
38008         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
38009         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
38010         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
38011         Moved ...
38012         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
38013         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
38014         Moved ...
38015         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
38016         ... here.
38017         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
38018         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
38019         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
38020         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
38021         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
38022         Moved ...
38023         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
38024         ... here.
38025         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
38026         Moved ...
38027         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
38028         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
38029         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
38030         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
38031         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
38032         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
38033         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
38034         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
38035         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
38036         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
38037         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
38039         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
38040         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
38042         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
38043         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
38045         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
38046         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
38047         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
38048         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
38049         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
38050         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
38051         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
38052         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
38053         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
38054         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
38055         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
38056         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
38057         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
38058         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
38059         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
38060         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
38061         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
38062         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
38063         Moved ...
38064         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
38065         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
38066         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
38067         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
38068         Moved ...
38069         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
38070         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
38071         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
38072         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
38073         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
38074         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
38075         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
38076         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
38077         Moved ...
38078         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
38079         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
38080         Moved ...
38081         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
38082         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
38083         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
38084         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
38085         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
38086         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
38087         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
38088         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
38089         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
38090         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
38091         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
38092         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
38093         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
38094         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
38095         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
38096         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
38097         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
38099         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
38100         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
38101         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
38102         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
38103         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
38105         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
38106         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
38107         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
38108         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
38109         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
38110         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
38111         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
38112         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
38113         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
38114         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
38116         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
38117         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
38119         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
38120         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
38121         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
38122         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
38123         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
38124         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
38125         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
38126         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
38127         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
38128         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
38129         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
38130         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
38131         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
38132         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
38133         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
38134         Update #include.
38135         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
38136         Likewise.
38137         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
38138         Likewise.
38139         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
38140         Likewise.
38141         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
38142         Likewise.
38143         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
38144         Likewise.
38145         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
38146         Likewise.
38147         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
38148         Likewise.
38149         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
38150         Likewise.
38151         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
38152         Likewise.
38153         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
38154         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
38155         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
38156         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
38157         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
38158         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
38159         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
38160         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
38161         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
38162         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
38163         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
38164         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
38165         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
38166         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
38167         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
38169         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
38170         that was previously under [RESET_PID].
38171         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38172         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
38173         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
38175         * sysdeps/i386/nptl/Implies: New file.
38176         * sysdeps/x86_64/nptl/Implies: New file.
38177         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
38178         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
38179         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
38180         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
38182         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
38183         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38184         (__libc_vfork): New strong alias.
38185         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
38186         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
38188         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
38189         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38190         (__libc_vfork): New strong alias.
38191         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
38192         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
38194         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
38195         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38196         (__libc_vfork): New strong alias.
38197         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
38198         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
38199         * nptl/pt-vfork.c: New file.
38200         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
38201         (libpthread: GLIBC_2.20): New version set (empty).
38203 2014-05-14  Will Newton  <will.newton@linaro.org>
38205         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
38206         rather than #if.
38208 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
38210         [BZ #16564]
38211         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
38212         arguments with exponent 65 or above.
38213         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
38214         arguments 0x1p113L or above.
38215         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
38216         to arguments 0x1p107L or above.
38217         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
38218         positive arguments with exponent 65 or above.
38219         * math/auto-libm-test-in: Add more tests of log1p.
38220         * math/auto-libm-test-out: Regenerated.
38222         [BZ #16928]
38223         * math/s_cacos.c (__cacos): Ensure zero real part of result from
38224         non-finite arguments is +0.
38225         * math/s_cacosf.c (__cacosf): Likewise.
38226         * math/s_cacosl.c (__cacosl): Likewise.
38227         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
38228         * sysdeps/i386/fpu/libm-test-ulps: Update.
38229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38231         [BZ #16927]
38232         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
38233         value.
38234         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
38235         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
38236         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
38237         for explicit high bit of mantissa when testing for argument equal
38238         to 1.
38239         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
38240         * sysdeps/i386/fpu/libm-test-ulps: Update.
38241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38243         [BZ #16516]
38244         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
38245         (__erf): Scale by 16 instead of 8 in potentially underflowing
38246         case.  Ensure exception if result actually underflows.
38247         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
38248         (__erff): Scale by 16 instead of 8 in potentially underflowing
38249         case.  Ensure exception if result actually underflows.
38250         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
38251         (efx8): Remove variable.
38252         (__erfl): Scale by 16 instead of 8 in potentially underflowing
38253         case.  Ensure exception if result actually underflows.
38254         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
38255         (efx8): Remove variable.
38256         (__erfl): Scale by 16 instead of 8 in potentially underflowing
38257         case.  Ensure exception if result actually underflows.
38258         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
38259         (efx8): Remove variable.
38260         (__erfl): Scale by 16 instead of 8 in potentially underflowing
38261         case.  Ensure exception if result actually underflows.
38262         * math/auto-libm-test-in: Add more tests of erf.
38263         * math/auto-libm-test-out: Regenerated.
38265 2014-05-14  Andreas Schwab  <schwab@suse.de>
38267         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
38268         Remove code conditionalized on USE___THREAD.
38270         * config.h.in (HAVE_PT_CHOWN): Define as 0.
38271         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
38272         not definedness.
38274 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
38276         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
38277         Define unconditionally.
38278         (__ASSUME_O_CLOEXEC): Likewise.
38279         (__ASSUME_SOCK_CLOEXEC): Likewise.
38280         (__ASSUME_IN_NONBLOCK): Likewise.
38281         (__ASSUME_PIPE2): Likewise.
38282         (__ASSUME_EVENTFD2): Likewise.
38283         (__ASSUME_SIGNALFD4): Likewise.
38284         (__ASSUME_DUP3): Likewise.
38285         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38286         (__ASSUME_DUP3): Do not define.
38287         (__ASSUME_EVENTFD2): Likewise.
38288         (__ASSUME_IN_NONBLOCK): Likewise.
38289         (__ASSUME_O_CLOEXEC): Likewise.
38290         (__ASSUME_PIPE2): Likewise.
38291         (__ASSUME_SIGNALFD4): Likewise.
38292         (__ASSUME_SOCK_CLOEXEC): Likewise.
38293         (__ASSUME_UTIMES): Undefine.
38294         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38295         (__ASSUME_UTIMES): Do not define.
38296         (__ASSUME_O_CLOEXEC): Likewise.
38297         (__ASSUME_SOCK_CLOEXEC): Likewise.
38298         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
38299         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
38300         0x020621].
38301         (__ASSUME_PIPE2): Likewise.
38302         (__ASSUME_EVENTFD2): Likewise.
38303         (__ASSUME_SIGNALFD4): Likewise.
38304         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
38305         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
38306         Do not define.
38307         (__ASSUME_EVENTFD2): Likewise.
38308         (__ASSUME_SIGNALFD4): Likewise.
38309         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
38310         (__ASSUME_32BITUIDS): Likewise.
38311         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38312         (__ASSUME_IPC64): Likewise.
38313         (__ASSUME_ST_INO_64_BIT): Likewise.
38314         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
38315         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
38316         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38317         (__ASSUME_UTIMES): Do not define.
38318         (__ASSUME_PSELECT): Likewise.
38319         (__ASSUME_PPOLL): Likewise.
38320         (__ASSUME_O_CLOEXEC): Likewise.
38321         (__ASSUME_SOCK_CLOEXEC): Likewise.
38322         (__ASSUME_IN_NONBLOCK): Likewise.
38323         (__ASSUME_PIPE2): Likewise.
38324         (__ASSUME_EVENTFD2): Likewise.
38325         (__ASSUME_SIGNALFD4): Likewise.
38326         (__ASSUME_DUP3): Likewise.
38327         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38328         (__ASSUME_UTIMES): Likewise.
38329         (__ASSUME_O_CLOEXEC): Likewise.
38330         (__ASSUME_SOCK_CLOEXEC): Likewise.
38331         (__ASSUME_IN_NONBLOCK): Likewise.
38332         (__ASSUME_PIPE2): Likewise.
38333         (__ASSUME_EVENTFD2): Likewise.
38334         (__ASSUME_SIGNALFD4): Likewise.
38335         (__ASSUME_DUP3): Likewise.
38336         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38337         (__ASSUME_UTIMES): Likewise.
38338         (__ASSUME_O_CLOEXEC): Likewise.
38339         (__ASSUME_SOCK_CLOEXEC): Likewise.
38340         (__ASSUME_IN_NONBLOCK): Likewise.
38341         (__ASSUME_PIPE2): Likewise.
38342         (__ASSUME_EVENTFD2): Likewise.
38343         (__ASSUME_SIGNALFD4): Likewise.
38344         (__ASSUME_DUP3): Likewise.
38345         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
38346         Likewise.
38347         (__ASSUME_UTIMES): Likewise.
38348         (__ASSUME_EVENTFD2): Likewise.
38349         (__ASSUME_SIGNALFD4): Likewise.
38350         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38351         (__ASSUME_O_CLOEXEC): Likewise.
38352         (__ASSUME_SOCK_CLOEXEC): Likewise.
38353         (__ASSUME_IN_NONBLOCK): Likewise.
38354         (__ASSUME_PIPE2): Likewise.
38355         (__ASSUME_EVENTFD2): Likewise.
38356         (__ASSUME_SIGNALFD4): Likewise.
38357         (__ASSUME_DUP3): Likewise.
38358         (__ASSUME_UTIMES): Undefine.
38360         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
38361         feclearexcept.  Remove symbol versioning code.
38362         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
38363         symbol versioning code.
38364         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
38365         symbol versioning code.
38366         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
38367         feupdateenv.  Remove symbol versioning code.
38368         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
38369         fegetexceptflag.  Remove symbol versioning code.
38370         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
38371         fesetexceptflag.  Remove symbol versioning code.
38372         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
38373         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
38374         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
38375         (__posix_fadvise64_l32): Remove prototype.
38376         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
38377         code.
38379 2014-05-13  Roland McGrath  <roland@hack.frob.com>
38381         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
38382         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
38383         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
38384         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
38386 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
38388         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
38389         current working directory
38391 2014-05-13  Roland McGrath  <roland@hack.frob.com>
38393         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
38394         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
38395         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
38396         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
38397         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
38398         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
38399         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
38400         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
38401         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
38402         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
38403         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
38404         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
38405         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
38406         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
38407         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
38408         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
38409         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
38410         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
38411         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
38412         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
38413         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
38414         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
38415         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
38416         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
38417         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
38418         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
38419         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
38420         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
38421         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
38422         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
38423         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
38424         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
38425         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
38426         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
38427         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
38428         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
38429         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
38430         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
38431         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
38432         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
38433         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
38434         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
38436         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
38437         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
38439         * sysdeps/unix/sysv/linux/arm/Makefile
38440         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
38441         Add rt-aeabi_unwind_cpp_pr1.
38442         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
38443         Add nptl-aeabi_unwind_cpp_pr1.
38444         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
38445         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
38446         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
38447         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
38448         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
38449         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
38451         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
38452         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
38453         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
38454         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
38456         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
38457         Deconditionalize the code that was previously under [RESET_PID].
38458         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
38460         * sysdeps/generic/exit-thread.h: New file.
38461         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
38462         * include/unistd.h (__exit_thread): Remove declaration.
38463         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
38464         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
38465         * csu/libc-start.c: Include <exit-thread.h>.
38466         (LIBC_START_MAIN): Pass no argument to __exit_thread.
38467         * nptl/pthread_create.c: Include <exit-thread.h>.
38468         (start_thread): Call __exit_thread in place of __exit_thread_inline.
38469         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
38470         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
38471         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
38472         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
38473         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
38474         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
38475         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
38476         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
38477         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
38478         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
38479         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
38480         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
38481         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
38482         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
38483         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
38484         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
38486 2014-05-13  Andreas Schwab  <schwab@suse.de>
38488         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
38490 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
38492         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
38493         (__ASSUME_UTIMES): Do not condition on kernel version.
38494         (__ASSUME_PSELECT): Define unconditionally.
38495         (__ASSUME_PPOLL): Likewise.
38496         (__ASSUME_ATFCTS): Likewise.
38497         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
38498         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
38499         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
38500         (__ASSUME_UTIMENSAT): Define unconditionally.
38501         (__ASSUME_PRIVATE_FUTEX): Likewise.
38502         (__ASSUME_FALLOCATE): Likewise.
38503         (__ASSUME_O_CLOEXEC): Likewise.
38504         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
38505         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
38506         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
38507         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
38508         (__ASSUME_IN_NONBLOCK): Likewise.
38509         (__ASSUME_PIPE2): Likewise.
38510         (__ASSUME_EVENTFD2): Likewise.
38511         (__ASSUME_SIGNALFD4): Likewise.
38512         (__ASSUME_DUP3): Likewise.
38513         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38514         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
38515         (__ASSUME_AT_RANDOM): Likewise.
38516         (__ASSUME_PREADV): Likewise.
38517         (__ASSUME_PWRITEV): Likewise.
38518         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
38519         (__ASSUME_F_GETOWN_EX): Define unconditionally.
38520         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
38521         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38522         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
38523         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38524         (__ASSUME_O_CLOEXEC): Define unconditionally.
38525         (__ASSUME_PSELECT): Do not undefine conditionally.
38526         (__ASSUME_PPOLL): Likewise.
38527         (__ASSUME_ATFCTS): Likewise.
38528         (__ASSUME_SET_ROBUST_LIST): Likewise.
38529         (__ASSUME_UTIMENSAT): Likewise.
38530         (__ASSUME_FDATASYNC): Define unconditionally.
38531         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38532         (__ASSUME_SIGFRAME_V2): Likewise.
38533         )__ASSUME_EVENTFD2): Likewise.
38534         (__ASSUME_SIGNALFD4): Likewise.
38535         (__ASSUME_PSELECT): Do not undefine conditionally.
38536         (__ASSUME_PPOLL): Likewise.
38537         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38538         (__ASSUME_PSELECT): Define unconditionally.
38539         (__ASSUME_PPOLL): Likewise.
38540         (__ASSUME_O_CLOEXEC): Likewise.
38541         (__ASSUME_SOCK_CLOEXEC): Likewise.
38542         (__ASSUME_IN_NONBLOCK): Likewise.
38543         (__ASSUME_PIPE2): Likewise.
38544         (__ASSUME_EVENTFD2): Likewise.
38545         (__ASSUME_SIGNALFD4): Likewise.
38546         (__ASSUME_DUP3): Likewise.
38547         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38548         (__ASSUME_O_CLOEXEC): Likewise.
38549         (__ASSUME_SOCK_CLOEXEC): Likewise.
38550         (__ASSUME_IN_NONBLOCK): Likewise.
38551         (__ASSUME_PIPE2): Likewise.
38552         (__ASSUME_EVENTFD2): Likewise.
38553         (__ASSUME_SIGNALFD4): Likewise.
38554         (__ASSUME_DUP3): Likewise.
38555         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38556         (__ASSUME_EVENTFD2): Likewise.
38557         (__ASSUME_SIGNALFD4): Likewise.
38558         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38560 2014-05-12  Andreas Schwab  <schwab@suse.de>
38562         [BZ #16932]
38563         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
38564         (_nss_nis_gethostbyname4_r): Return error if item length is larger
38565         than maximum RPC packet size.
38566         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
38567         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
38568         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
38569         (_nss_nis_getservbyport_r): Likewise.
38571 2014-05-12  Will Newton  <will.newton@linaro.org>
38573         * malloc/Makefile (tests): Add tst-mallopt.
38574         * malloc/tst-mallopt.c: New file.
38576 2014-05-09  Roland McGrath  <roland@hack.frob.com>
38578         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
38579         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
38581 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38583         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
38584         (tst-tlsmod6.so): Likewise.
38586 2014-05-09  Roland McGrath  <roland@hack.frob.com>
38588         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
38590 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
38592         [BZ #16064]
38593         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
38594         and <dl-procinfo.h>.
38595         (__fegetenv): Save SSE state in envp->__eip if supported.
38596         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
38597         envp->__eip if supported.
38598         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
38599         and <dl-procinfo.h>.
38600         (__fesetenv): Always set __eip, __cs_selector, __opcode,
38601         __data_offset and __data_selector in environment to 0.  Set SSE
38602         state if supported.
38603         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
38604         test-fenv-sse.
38605         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
38606         -mfpmath=sse.
38607         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
38609 2014-05-09  Will Newton  <will.newton@linaro.org>
38611         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
38612         and libc_relro_required for ARM.
38613         * sysdeps/arm/preconfigure: Regenerate.
38615 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
38616             Stefan Liebler  <stli@linux.vnet.ibm.com>
38618         * config.make.in (enable-lock-elision): New Makefile variable.
38619         * configure.ac: Likewise.
38620         * configure: Regenerate.
38621         * sysdeps/s390/configure.ac:
38622         Add check for gcc transactions support.
38623         * sysdeps/s390/configure: Regenerate.
38624         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
38625         Build elision files if enabled.
38626         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
38627         Add lock elision support for s390.
38628         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
38629         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
38630         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
38631         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
38632         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
38633         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
38634         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
38635         Likewise.
38636         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
38637         Likewise.
38638         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
38639         Likewise.
38640         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
38641         Likewise.
38642         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
38643         (__lll_timedlock_elision, __lll_lock_elision)
38644         (__lll_unlock_elision, __lll_trylock_elision)
38645         (lll_timedlock_elision, lll_lock_elision)
38646         (lll_unlock_elision, lll_trylock_elision): Add.
38647         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38648         (pthread_mutex_t): Add lock elision support for s390.
38650 2014-05-14  Wilco  <wdijkstr@arm.com>
38652         * sysdeps/arm/fclrexcpt.c: Cleanup.
38653         * sysdeps/arm/fedisblxcpt.c: Cleanup.
38654         * sysdeps/arm/feenablxcpt.c: Cleanup.
38655         * sysdeps/arm/fegetenv.c: Cleanup.
38656         * sysdeps/arm/fegetexcept.c: Cleanup.
38657         * sysdeps/arm/fegetround.c: Cleanup.
38658         * sysdeps/arm/feholdexcpt.c: Cleanup.
38659         * sysdeps/arm/fesetenv.c: Cleanup.
38660         * sysdeps/arm/fesetround.c: Cleanup.
38661         * sysdeps/arm/feupdateenv.c: Cleanup.
38662         * sysdeps/arm/fgetexcptflg.c: Cleanup.
38663         * sysdeps/arm/fraiseexcpt.c: Cleanup.
38664         * sysdeps/arm/fsetexcptflg.c: Cleanup.
38665         * sysdeps/arm/ftestexcept.c: Cleanup.
38666         * sysdeps/arm/get-rounding-mode.h: Cleanup.
38667         * sysdeps/arm/setfpucw.c: Cleanup.
38669 2014-05-09  Will Newton  <will.newton@linaro.org>
38671         * sysdeps/arm/armv7/strcmp.S: New file.
38672         * NEWS: Mention addition of ARMv7 optimized strcmp.
38674 2014-05-08  Roland McGrath  <roland@hack.frob.com>
38676         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
38677         look for %.ac rather than %.in.
38679         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
38680         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
38681         * sysdeps/mach/hurd/configure: Regenerated.
38682         * sysdeps/unix/sysv/linux/configure: Regenerated.
38684         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
38686 2014-05-07  Steve Ellcey  <sellcey@mips.com>
38688         [BZ# 16922]
38689         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
38690         (LONG_SUB): Ditto.
38691         (PTR_SUB): Ditto.
38693 2014-05-07  Andreas Schwab  <schwab@suse.de>
38695         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
38696         when skipping over non-matching result from nscd.
38698 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
38700         [BZ #16876]
38701         * nptl/sockperf.c (client): Check socket return value.
38703         [BZ #16877]
38704         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
38705         nscd security class.
38707 2014-05-06  Roland McGrath  <roland@hack.frob.com>
38709         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
38710         * sysdeps/arm/unwind.h: ... here.
38712 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
38714         [BZ# 16916]
38715         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
38716         Define.
38718 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38720         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
38721         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
38722         multiarch strncpy for PPC64.
38723         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
38724         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
38725         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
38726         multiarch optimizations.
38727         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38728         (__libc_ifunc_impl_list): Likewise.
38729         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
38730         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
38731         multiarch stpncpy for PPC64.
38732         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
38733         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
38735 2014-05-06  Andreas Schwab  <schwab@suse.de>
38737         [BZ #16912]
38738         * gmon/mcount.c (_MCOUNT_DECL): Use
38739         atomic_compare_and_exchange_bool_acq instead of
38740         catomic_compare_and_exchange_bool_acq.
38742 2014-05-05  Roland McGrath  <roland@hack.frob.com>
38744         * elf/Makefile (others, install-bin): Remove pldd.
38745         (pldd-modules): Variable removed.
38746         ($(objpfx)pldd): Target removed.
38747         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
38748         (others, install-bin): Append pldd here.
38749         ($(objpfx)pldd): New target.
38751         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
38752         to 0, so the first #if test emitted later doesn't see it undefined.
38753         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
38754         * sysdeps/gnu/errlist.c: Regenerated.
38756 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38758         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
38759         [libc_hidden_builtin_def]: Define to empty value.
38760         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
38761         [libc_hidden_builtin_def]: Likewise.
38762         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
38763         [libc_hidden_builtin_def]: Likewise.
38764         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
38765         [libc_hidden_builtin_def]: Likewise.
38766         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
38767         __redirect_memcpy and define ifunc as default hidden symbol.
38768         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
38769         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
38771 2014-05-04  Adam Conrad  <adconrad@0c3.net>
38773         * locale/iso-4217.def: Reintroduce XDR currency.
38775 2014-05-04  Allan McRae  <allan@archlinux.org>
38777         * po/eo.po: Update Esperanto translation from translation project.
38779 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
38781         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
38782         and FEATURE_INDEX_MAX to 1.
38783         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
38785 2014-05-01  Steve Ellcey  <sellcey@mips.com>
38787         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
38788         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
38789         * iconvdata/big5.c (ONE_DIRECTION): Define.
38790         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
38791         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
38792         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
38793         * iconvdata/cp932.c (ONE_DIRECTION): Define.
38794         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
38795         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
38796         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
38797         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
38798         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
38799         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
38800         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
38801         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
38802         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
38803         * iconvdata/gbk.c (ONE_DIRECTION): Define.
38804         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
38805         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
38806         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
38807         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
38808         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
38809         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
38810         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
38811         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
38812         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
38813         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
38814         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
38815         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
38816         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
38817         * iconvdata/iso646.c (ONE_DIRECTION): Define.
38818         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
38819         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
38820         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
38821         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
38822         * iconvdata/johab.c (ONE_DIRECTION): Define.
38823         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
38824         * iconvdata/sjis.c (ONE_DIRECTION): Define.
38825         * iconvdata/t.61.c (ONE_DIRECTION): Define.
38826         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
38827         * iconvdata/tscii.c (ONE_DIRECTION): Define.
38828         * iconvdata/uhc.c (ONE_DIRECTION): Define.
38829         * iconvdata/unicode.c (ONE_DIRECTION): Define.
38830         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
38831         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
38832         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
38834 2014-05-01  Roland McGrath  <roland@hack.frob.com>
38836         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
38837         (_IO_JUMPS_OFFSET): Define to 0.
38839         * nptl/sysdeps/pthread/bits/libc-lock.h
38840         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
38841         (__libc_lock_define_initialized_recursive): Always define using
38842         initializer.  Modern compilers treat uninitialized (implicit zero) and
38843         explicit zero initializers the same (i.e. put the datum in bss).
38845 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38847         * nscd/nscd-client.h: Include <string.h>.
38849 2014-05-01  David S. Miller  <davem@davemloft.net>
38851         [BZ #16885]
38852         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
38853         multiple zero bytes exist at the end of a string.
38854         Reported by Aurelien Jarno <aurelien@aurel32.net>
38856         * string/test-strcmp.c (check): Add explicit test for situations where
38857         there are multiple zero bytes after the first.
38859 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38861         [BZ #16890]
38862         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
38863         when compiling wprintf.
38864         * stdio-common/tstdiomisc.c (t3): New function.
38865         (main): Call it.
38867 2014-05-01  Steve Ellcey  <sellcey@mips.com>
38869         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
38870         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
38871         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
38872         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
38874 2014-05-01  Steve Ellcey  <sellcey@mips.com>
38876         * stdlib/longlong.h: Updated from GCC.
38878 2014-05-01  Will Newton  <will.newton@linaro.org>
38879             Bernard Ogden  <bernie.ogden@linaro.org>
38881         * NEWS: Update fixed bug list.
38883         [BZ #15119]
38884         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
38886 2014-04-30  David S. Miller  <davem@davemloft.net>
38888         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
38889         (libc_feholdexcept_setround_sparc_ctx): New function.
38890         (libc_fesetenv_sparc_ctx): Likewise.
38891         (libc_feupdateenv_sparc_ctx): Likewise.
38892         (libc_feholdsetround_sparc_ctx): Likewise.
38893         (libc_feholdexcept_setround_ctx): Define.
38894         (libc_feholdexcept_setroundf_ctx): Likewise.
38895         (libc_feholdexcept_setroundl_ctx): Likewise.
38896         (libc_fesetenv_ctx): Likewise.
38897         (libc_fesetenvf_ctx): Likewise.
38898         (libc_fesetenvl_ctx): Likewise.
38899         (libc_feupdateenv_ctx): Likewise.
38900         (libc_feupdateenvf_ctx): Likewise.
38901         (libc_feupdateenvl_ctx): Likewise.
38902         (libc_feresetround_ctx): Likewise.
38903         (libc_feresetroundf_ctx): Likewise.
38904         (libc_feresetroundl_ctx): Likewise.
38905         (libc_feholdsetround_ctx): Likewise.
38906         (libc_feholdsetroundf_ctx): Likewise.
38907         (libc_feholdsetroundl_ctx): Likewise.
38909         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
38910         with __USE_GNU instead of XOPEN cpp guards.
38912         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
38913         0.
38915         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
38916         with XOPEN cpp guards.
38918 2014-04-30  Julian Brown  <julian@codesourcery.com>
38920         [BZ #16888]
38921         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
38922         handling.
38924 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
38926         [BZ #9894]
38927         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
38928         Change to 2.6.32.
38929         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
38930         * sysdeps/unix/sysv/linux/configure: Regenerated.
38931         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
38932         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
38933         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
38934         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
38935         * README: Update reference to required Linux kernel version.
38936         * manual/install.texi (Linux): Update reference to required Linux
38937         kernel headers version.
38938         * INSTALL: Regenerated.
38940         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
38941         header inclusion.
38942         [POSIX] (limits.h): Likewise.
38943         [POSIX] (math.h): Likewise.
38944         [POSIX] (sys/wait.h): Likewise.
38945         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
38946         function.
38947         [POSIX] (stddef.h): Do not allow header inclusion.
38949 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38951         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
38953 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
38955         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
38956         Return immediately after lll_futex_wake.
38958 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38960         [BZ #16791]
38961         * nscd/nscd-client.h (datahead_init_common): Initialize entire
38962         structure.
38963         (datahead_init_pos): Call datahead_init_common early.
38964         (datahead_init_neg): Likewise.
38966         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
38967         datahead_init_neg): New functions.
38968         * nscd/aicache.c (addhstaiX): Use them.
38969         * nscd/grpcache.c (cache_addgr): Likewise.
38970         * nscd/hstcache.c (cache_addhst): Likewise.
38971         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38972         * nscd/netgroupcache.c (do_notfound): Likewise.
38973         (addgetnetgrentX): Likewise.
38974         (addinnetgrX): Likewise.
38975         * nscd/pwdcache.c (cache_addpw): Likewise.
38976         * nscd/servicescache.c (cache_addserv): Likewise.
38978 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38979             Atsushi Onoe  <atsushi@onoe.org>
38981         [BZ #14308]
38982         [BZ #12994]
38983         [BZ #13651]
38984         * resolv/res_query.c (__libc_res_nsearch): Return if at least
38985         one response is valid.
38986         * resolv/res_send.c (send_dg): Check for validity of other
38987         response if the current response is a referral.
38989 2014-04-29  Steve Ellcey  <sellcey@mips.com>
38991         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
38993 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
38995         [BZ #16823]
38996         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
38997         Always divide by positive zero when computing -Inf result.
38998         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38999         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
39001 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39003         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
39004         FPSCR if value do not change.
39005         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39006         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
39007         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39008         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
39009         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
39010         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
39011         function.
39013 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
39015         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
39016         * sysdeps/unix/sysv/linux/hppa: Move directory from
39017         ports/systeps/unix/sysv/linux/hppa.
39018         * README: Update listing for hppa-*-linux-gnu.
39020 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
39022         [BZ #16754]
39023         * manual/stdio.texi (Hook functions): Fix types of stream hook
39024         functions.
39025         [BZ #16854]
39026         * socket/sys/socket.h: Fix typo in comment.
39028 2014-04-28  Wilco  <wdijkstr@arm.com>
39030         * sysdeps/arm/fenv_private.h: New file.
39031         * sysdeps/arm/math_private.h: New file.
39032         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
39034 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
39036         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
39037         with __int128_t.
39038         (La_x86_64_retval): Likewise.
39040 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
39042         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
39043         fpsr if value didn't change.
39044         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
39045         to fpcr if value didn't change.
39046         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
39047         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
39048         fpsr or fpcr if value didn't change.
39049         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39050         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
39051         fpcr if value didn't change.
39052         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
39053         to fpsr if value didn't change.
39055 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
39057         * nptl/tst-sem3.c: Use test-skeleton.c
39058         (main): Rename to do_test.  Use return instead of
39059         exit.
39060         * nptl/tst-sem4.c: Use test-skeleton.c
39061         (main): Rename to do_test.
39063 2014-04-22  David S. Miller  <davem@davemloft.net>
39065         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
39066         (struct sigaction): New struct member __glibc_reserved0, change
39067         type of sa_flags to int.
39069 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
39071         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
39072         (COUNT_LEADING_ZEROS_0): Define for AArch64.
39074 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39076         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
39077         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
39079 2014-04-22  Will Newton  <will.newton@linaro.org>
39080             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
39082         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
39083         (__longjmp): Add longjmp and longjmp_target SystemTap
39084         probes.
39085         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
39086         (__sigsetjmp): Add setjmp SystemTap probe.
39088 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
39090         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
39091         match manual order.
39093 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39095         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
39097         * sysdeps/powerpc/fpu/fenv_private.h
39098         (libc_feholdexcept_setroundl_ctx): Define to
39099         libc_feholdexcept_setround_ppc_ctx.
39100         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
39101         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
39102         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
39103         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
39105 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
39107         * sysdeps/aarch64/math-tests.h: New file.
39109 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
39111         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
39112         New.
39113         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39114         Check and set bit_AVX2_Usable.
39115         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
39116         macro.
39117         (bit_AVX2): Likewise.
39118         (index_AVX2_Usable): Likewise.
39119         (CPUID_AVX2): Likewise.
39120         (HAS_AVX2): Likewise.
39122 2014-04-17  Will Newton  <will.newton@linaro.org>
39124         * manual/setjmp.texi (System V contexts): Add note that
39125         calling setcontext on a context created by a call to a
39126         signal handler is undefined.  Update text to note that
39127         setcontext from a signal handler is possible but not
39128         recommended.
39130         [BZ #16629]
39131         * stdlib/tst-setcontext.c: Include signal.h.
39132         (main): Check that the signal stack before and
39133         after swapcontext is the same.
39135         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
39136         Re-implement to restore registers in user code and avoid
39137         rt_sigreturn system call.
39139 2014-04-17  Wilco  <wdijkstr@arm.com>
39141         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
39142         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
39143         * math/test-fenv.c: Skip exception trap tests on targets which only
39144         support non-stop mode.
39146 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
39147             Wilco Dijkstra  <wilco.dijkstra@arm.com>
39149         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
39150         (libc_feholdsetround_aarch64_ctx)
39151         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
39152         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
39153         (libc_feresetround_ctx, libc_feresetroundf_ctx)
39154         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
39155         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
39156         (libc_feresetround_noexl_ctx): Define.
39158 2014-04-16  Richard Henderson  <rth@redhat.com>
39160         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
39162         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
39163         unwind tables.
39165         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
39166         const from the non-libc, non-ldso copy.
39168         * sysdeps/alpha/libm-test-ulps: Regenerate.
39170 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
39171             Wilco Dijkstra  <wilco.dijkstra@arm.com>
39173         * sysdeps/aarch64/fpu/math_private.h: New file.
39175 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39177         * sysdeps/aarch64/libm-test-ulps: Regenerate.
39179 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
39181         [BZ #16275]
39182         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
39183         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
39184         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
39185         Intel MPX bound registers before _dl_profile_fixup.
39186         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
39187         registers after _dl_profile_fixup.  Save and restore bound
39188         registers bnd0/bnd1 when calling _dl_call_pltexit.
39189         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
39190         (LR_BND_OFFSET): Likewise.
39191         (LRV_BND0_OFFSET): Likewise.
39192         (LRV_BND1_OFFSET): Likewise.
39194 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39196         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
39197         to...
39198         * sysdeps/mach/hurd/i386/tls.h: ... here.
39199         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
39200         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
39201         fields.
39203 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39205         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
39207 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39209         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39211 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39213         [BZ #14770]
39214         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
39215         * sysdeps/s390/configure: Regenerate.
39217         [BZ #16824]
39218         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
39219         Set round-to-nearest internally to reduce error accumulation.
39221 2014-04-16  Alan Modra  <amodra@gmail.com>
39223         [BZ #16740]
39224         [BZ #16619]
39225         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
39226         * math/libm-test.inc (frexp_test_data): Add tests.
39227         * NEWS: Update fixed bug list.
39229 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39231         * benchtests/Makefile: Depend on libraries in build directory.
39232         (bench-math): Separate out math tests.
39233         (bench-pthread): Separate out pthread tests.
39234         (bench): Include math and pthread tests.
39236 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
39238         [BZ #16831]
39239         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
39240         _dl_debug_initialize.
39242         * configure.ac: Remove SELinux header check.
39243         * configure: Regenerate.
39244         * nscd/selinux.c (perms): Array of const char* to permission names.
39245         (nscd_request_avc_has_perm): Call security_deny_unknown to find
39246         default policy. Call string_to_security_class and string_to_av_perm to
39247         translate strings. Enforce default policy and call avs_has_perm with
39248         results of translated strings.
39250 2014-04-13  David S. Miller  <davem@davemloft.net>
39252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39254 2014-04-12  Allan McRae  <allan@archlinux.org>
39256         [BZ #16838]
39257         * manual/string.texi (Collation Functions): Fix qsort argument
39258         order in example.
39259         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39261 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
39263         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
39264         Make the test a no-op if there are no exceptions defined.
39266 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
39268         * elf/Makefile (tests): make tst-dlopen-aout conditional on
39269         enable-hardcoded-path-in-tests
39271 2014-04-11  Will Newton  <will.newton@linaro.org>
39273         * benchtests/Makefile (extra-objs): Add json-lib.o.
39274         (bench-func): Tidy up JSON output.
39275         * benchtests/bench-skeleton.c: Include json-lib.h.
39276         (main): Use JSON library functions to do output of
39277         benchmark results.
39278         * benchtests/bench-timing-type.c (main): Output the
39279         timing type simply, leaving formatting to the user.
39280         * benchtests/json-lib.c: New file.
39281         * benchtests/json-lib.h: Likewise.
39283 2014-04-11  Torvald Riegel  <triegel@redhat.com>
39285         [BZ #15215]
39286         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
39287         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
39288         memory barriers.  Add comments.
39289         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
39290         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
39291         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
39292         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
39293         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
39294         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
39296 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39298         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
39299         * sysdeps/s390/s390-64/configure.ac: ... this ...
39300         * sysdeps/s390/configure.ac: ... to here.
39301         * sysdeps/s390/s390-32/configure: Delete file.
39302         * sysdeps/s390/s390-64/configure: Delete file.
39303         * sysdeps/s390/configure: Regenerate.
39305 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
39307         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
39309 2014-04-11  Will Newton  <will.newton@linaro.org>
39311         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
39312         to zero if it is not defined elsewhere.  (mtrim): Test
39313         the value of MALLOC_DEBUG with #if rather than #ifdef.
39315 2014-04-10 Torvald Riegel  <triegel@redhat.com>
39317         * benchtests/pthread_once-inputs: New file.
39318         * benchtests/pthread_once-source.c: New file.
39319         * benchtests/README: Update documentation.
39321 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
39322             H.J. Lu  <hongjiu.lu@intel.com>
39324         [BZ #16275]
39325         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
39326         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
39327         * sysdeps/x86_64/configure: Regenerated.
39328         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
39329         macro.
39330         (REGISTER_SAVE_RAX): Likewise.
39331         (REGISTER_SAVE_RCX): Likewise.
39332         (REGISTER_SAVE_RDX): Likewise.
39333         (REGISTER_SAVE_RSI): Likewise.
39334         (REGISTER_SAVE_RDI): Likewise.
39335         (REGISTER_SAVE_R8): Likewise.
39336         (REGISTER_SAVE_R9): Likewise.
39337         (REGISTER_SAVE_BND0): Likewise.
39338         (REGISTER_SAVE_BND1): Likewise.
39339         (REGISTER_SAVE_BND2): Likewise.
39340         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
39341         bound registers when calling _dl_fixup.
39343 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39345         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
39346         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
39347         of its definition.
39348         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
39349         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
39350         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
39351         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
39352         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
39353         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
39354         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
39356 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
39358         [BZ #15514]
39359         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
39360         pathconf(_PC_NAME_MAX).
39362 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39364         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
39365         Remove macro usage.
39366         (__PTHREAD_SPINS): Move definition to ...
39367         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39368         (__PTHREAD_SPINS): ... here.
39369         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39370         (__PTHREAD_SPIN): Likewise.
39371         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
39372         (__PTHREAD_SPIN): Likewise.
39373         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
39374         (__PTHREAD_SPIN): Likewise.
39375         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
39376         (__PTHREAD_SPIN): Likewise.
39377         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39378         (__PTHREAD_SPIN): Likewise.
39379         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39380         (__PTHREAD_SPIN): Likewise.
39381         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
39382         (__PTHREAD_SPIN): Likewise.
39383         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39384         (__PTHREAD_SPIN): Likewise.
39385         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39386         (__PTHREAD_SPIN): Likewise.
39387         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39388         (__PTHREAD_SPIN): Likewise.
39389         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39390         (__PTHREAD_SPIN): Likewise.
39391         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
39392         (__PTHREAD_SPIN): Likewise.
39394         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
39395         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
39396         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
39397         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
39398         imply folder.
39399         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
39400         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
39401         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
39402         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
39403         correct imply path.
39404         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
39405         strlen symbol for non multi-arch builds.
39406         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
39407         missing hidden_def and weak_alias.
39409 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
39411         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
39413 2014-04-07  Will Newton  <will.newton@linaro.org>
39415         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
39416         and contents.  [!_LIBC] Remove #ifndef and contents.
39417         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
39418         * string/memccpy.c (__memccpy): Use ANSI prototype.
39419         * string/memfrob.c (memfrob): Likewise.
39420         * string/strcoll.c (STRCOLL): Likewise.
39421         * string/strlen.c (strlen): Likewise.
39422         * string/strtok.c (STRTOK): Likewise.
39423         * string/strcat.c: Remove unused #include of memcopy.h.
39424         (strcat): Use ANSI prototype.
39425         * string/strchr.c: Remove unused #include of memcopy.h.
39426         (strchr): Use ANSI prototype.
39427         * string/strcmp.c: Remove unused #include of memcopy.h.
39428         (strcmp): Use ANSI prototype.
39429         * string/strcpy.c: Remove unused #include of memcopy.h.
39430         (strcpy): Use ANSI prototype.
39432 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39434         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
39435         * config.make.in (config-extra-cppflags): Set it from
39436         libc_extra_cppflags.
39437         * configure.ac (libc_extra_cflags): Make it accumulate over
39438         configure fragments.
39439         (libc_extra_cppflags): New flag.
39440         * configure. Regenerate.
39441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
39442         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
39443         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
39444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
39446         [BZ #16815]
39447         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
39448         result for FE_DOWNWARD rounding mode.
39449         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
39450         Likewise.
39451         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39453 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
39455         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
39456         in function argument name.
39458 2014-04-03  David Svoboda  <svoboda@cert.org>
39460         [BZ #5666]
39461         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
39462         explicitly.
39464 2014-04-03  Roland McGrath  <roland@hack.frob.com>
39466         * elf/dl-unmap-segments.h: New file.
39467         * sysdeps/generic/ldsodefs.h
39468         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
39469         * elf/dl-close.c: Include <dl-unmap-segments.h>.
39470         * elf/dl-fptr.c: Likewise.
39471         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
39472         * sysdeps/aarch64/tlsdesc.c: Likewise.
39473         * sysdeps/arm/tlsdesc.c: Likewise.
39474         * sysdeps/i386/tlsdesc.c: Likewise.
39475         * sysdeps/tile/dl-runtime.c: Likewise.
39476         * sysdeps/x86_64/tlsdesc.c: Likewise.
39477         * elf/dl-load.h: New file.
39478         * elf/dl-load.c: Include it.
39479         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
39480         Macros moved to dl-load.h.
39481         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
39482         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
39483         Use _dl_unmap_segments in place of __munmap.
39484         Break out segment-mapping loop into ...
39485         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
39487 2014-04-03  Will Newton  <will.newton@linaro.org>
39489         * elf/dl-lookup.c (do_lookup_x): Remove comment
39490         referring to nested function and move variable
39491         declarations down to before first use.
39493 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
39495         [BZ #16799]
39496         [BZ #16800]
39497         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
39498         with 0 numerator.
39499         * math/s_catanf.c (__catanf): Likewise.
39500         * math/s_catanh.c (__catanh): Likewise.
39501         * math/s_catanhf.c (__catanhf): Likewise.
39502         * math/s_catanhl.c (__catanhl): Likewise.
39503         * math/s_catanl.c (__catanl): Likewise.
39504         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
39505         by positive zero when computing -Inf result.
39506         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
39507         (catanh_test): Likewise.
39508         * sysdeps/i386/fpu/libm-test-ulps: Update.
39509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39511         [BZ #16789]
39512         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
39513         instead of using underflowing value in computing result.
39514         * math/s_clog10.c (__clog10): Likewise.
39515         * math/s_clog10f.c (__clog10f): Likewise.
39516         * math/s_clog10l.c (__clog10l): Likewise.
39517         * math/s_clogf.c (__clogf): Likewise.
39518         * math/s_clogl.c (__clogl): Likewise.
39519         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
39520         (clog10_test): Likewise.
39521         * sysdeps/i386/fpu/libm-test-ulps: Update.
39522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39524 2014-04-02  Alan Modra  <amodra@gmail.com>
39526         [BZ #16739]
39527         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
39528         output when value is near a power of two.  Use int64_t for lx and
39529         remove casts.  Use decimal rather than hex exponent constants.
39530         Don't use long double multiplication when double will suffice.
39531         * math/libm-test.inc (nextafter_test_data): Add tests.
39532         * NEWS: Add 16739 and 16786 to bug list.
39534         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
39536         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
39538 2014-04-01  Will Newton  <will.newton@linaro.org>
39540         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
39541         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
39543 2014-04-01  Florian Weimer  <fweimer@redhat.com>
39545         [BZ #13347]
39546         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
39547         * nptl/tst-setuid2.c: New file.
39548         * nptl/Makefile (xtests): Add tst-setuid2.
39550 2014-04-01  Alan Modra  <amodra@gmail.com>
39552         [BZ #16786]
39553         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
39555 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
39557         [BZ #6803]
39558         [BZ #6804]
39559         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
39560         set errno as appropriate.
39561         * math/w_scalbf.c (__scalbf): Likewise.
39562         * math/w_scalbl.c (__scalbl): Likewise.
39563         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
39564         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
39565         * math/libm-test.inc (scalb_test_data): Add errno expectations.
39566         Add more NaN tests.
39568         [BZ #16349]
39569         * math/w_atan2.c: Include <errno.h>.
39570         (__atan2): Set errno for result underflowing to zero.
39571         * math/w_atan2f.c: Include <errno.h>.
39572         (__atan2f): Set errno for result underflowing to zero.
39573         * math/w_atan2l.c: Include <errno.h>.
39574         (__atan2l): Set errno for result underflowing to zero.
39575         * math/auto-libm-test-in: Don't allow missing errno for some atan2
39576         tests.
39577         * math/auto-libm-test-out: Regenerated.
39579 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39581         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
39582         Encode instruction correctly in little endian.
39583         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
39584         Likewise.
39585         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
39586         Likewise.
39587         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
39588         Likewise.
39589         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
39590         Likewise.
39592 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
39594         [BZ #9894]
39595         * sysdeps/unix/sysv/linux/kernel-features.h
39596         [__sparc__ && !__arch64__ && !__sparc_v9__]
39597         (__ASSUME_SET_ROBUST_LIST): Do not define.
39598         [__sparc__ && !__arch64__ && !__sparc_v9__]
39599         (__ASSUME_FUTEX_LOCK_PI): Likewise.
39600         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
39601         Likewise.
39602         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39603         (__ASSUME_FUTEX_LOCK_PI): Undefine.
39604         (__ASSUME_REQUEUE_PI): Likewise.
39605         (__ASSUME_SET_ROBUST_LIST): Likewise.
39606         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39607         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
39608         Undefine.
39609         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39610         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
39611         Likewise.
39612         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
39613         Likewise.
39614         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
39615         Likewise.
39616         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39617         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
39618         Undefine.
39619         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
39620         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
39621         Likewise.
39623         [BZ #16648]
39624         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39625         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
39626         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
39628 2014-03-31  Will Newton  <will.newton@linaro.org>
39630         * benchtests/Makefile (bench): Add ffs and ffsll to list
39631         of tests.
39632         * benchtests/ffs-inputs: New file.
39633         * benchtests/ffsll-inputs: Likewise.
39635 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
39637         [BZ #16770]
39638         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
39639         too large before casting to int.
39640         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
39641         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
39642         * math/libm-test.inc (scalb_test_data): Add more tests.
39644 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39646         * benchtests/Makefile (DETAILED_OPT): New make option.
39647         (bench-func): Run benchmark program with -d if DETAILED_OPT is
39648         set.
39649         * benchtests/bench-skeleton.c: Include stdbool.h.
39650         (main): Store and print timings per input.
39651         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
39652         member to each argument value.
39653         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
39654         (_print_arg_data): Initialize per-input timing to 0.
39656         * benchtests/Makefile (timing-type): New binary.
39657         (bench-clean): Also remove bench-timing-type.
39658         (bench): New target for timing-type.
39659         (bench-func): Print output in JSON format.
39660         * benchtests/bench-skeleton.c (main): Print output in JSON
39661         format.
39662         * benchtests/bench-timing-type.c: New file.
39663         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
39664         (TIMING_PRINT_STATS): Remove.
39665         * benchtests/scripts/bench.py (_print_arg_data): Store variant
39666         name separately.
39668         * benchtests/bench-modf.c: Remove.
39669         * benchtests/modf-inputs: New inputs file.
39671 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
39673         [BZ #16362]
39674         * math/s_clog10.c (M_PI_LOG10E): New macro.
39675         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
39676         imaginary parts are 0.
39677         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
39678         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
39679         imaginary parts are 0.
39680         * math/s_clog10l.c (M_PI_LOG10El): New macro.
39681         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
39682         imaginary parts are 0.
39683         * math/libm-test.inc (clog10_test_data): Update expected results
39684         for when real and imaginary parts are 0.
39686 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
39688         * elf/dl-load.c: Finish conversion of __builtin_expect into
39689         __glibc_{un}likely.
39691 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
39693         [BZ #16348]
39694         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
39695         1+x for argument with exponent below -67.
39696         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
39697         Likewise.
39698         * math/auto-libm-test-in: Add more tests of exp.
39699         * math/auto-libm-test-out: Regenerated.
39701 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39703         [BZ #16759]
39704         * inet/getnetgrent_r.c (get_nonempty_val): New function.
39705         (nscd_getnetgrent): Use it.
39707         [BZ #16760]
39708         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
39709         of stpcpy.
39711 2014-03-27  Andi Kleen  <ak@linux.intel.com>
39713         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
39714         (lll_robust_lock, lll_cond_lock, lll_timedlock)
39715         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
39716         (lll_robust_unlock): Remove out of line section. Use cfi
39717         intrinsics.
39718         (LLL_STUB_UNWIND_INFO*): Remove.
39719         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
39720         (lll_robust_lock, lll_cond_lock, lll_timedlock)
39721         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
39722         (lll_robust_unlock): Remove out of line section. Use cfi
39723         intrinsics.
39724         (LLL_STUB_UNWIND_INFO*): Remove.
39726 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39728         [BZ #16758]
39729         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
39730         blank values.
39732 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
39734         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
39736 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
39738         [BZ #16198]
39739         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
39740         fnstenv.
39741         * math/test-fenv-preserve.c: New file.
39742         * math/Makefile (tests): Add test-fenv-preserve.
39744 2014-03-26  Will Newton <will.newton@linaro.org>
39746         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
39748 2014-03-25  Roland McGrath  <roland@hack.frob.com>
39750         * scripts/versionlist.awk: Partition the version sets and emit all
39751         GLIBC_* (sorted) before all others (sorted).
39753 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
39755         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
39756         GLIBC_2.2.5 version.
39758 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39760         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
39761         calls.
39763         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
39764         previous change.
39766         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39768 2014-03-25  Andreas Schwab  <schwab@suse.de>
39770         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
39771         label to be used after in6ailist is initialized.
39773 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39775         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39776         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
39778 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
39780         [BZ #16357]
39781         [BZ #16599]
39782         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
39783         min_plus_half.
39784         (fp_formats): Update initializers.
39785         (init_fp_formats): Initialize new field.
39786         (output_for_one_input_case): Allow underflow for results up to
39787         min_plus_half.
39788         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
39789         * math/auto-libm-test-in: Don't mark some underflows from asin and
39790         atanh as spurious.
39791         * math/auto-libm-test-out: Regenerated.
39792         * sysdeps/i386/fpu/libm-test-ulps: Update.
39793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39795 2014-03-25  Andreas Schwab  <schwab@suse.de>
39797         * libio/Makefile (tst-ftell-partial-wide-ENV)
39798         (tst-ftell-active-handler-ENV): Define.
39800 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
39802         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
39804 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
39806         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
39808 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
39810         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
39811         * sysdeps/x86_64/fpu/multiarch/e_exp.c
39812         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
39814 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
39816         [BZ #16634]
39817         * elf/dl-load.c (open_verify): Add mode parameter.
39818         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
39819         (open_path): Change from boolean 'secure' to complete flag 'mode'
39820         (_dl_map_object): Adjust.
39821         * elf/Makefile (tests): Add tst-dlopen-aout.
39822         * elf/tst-dlopen-aout.c: New test.
39824 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
39826         [BZ #16714]
39827         * sysdeps/unix/sysv/linux/s390/bits/stat.h
39828         (struct stat): Rename member pad0 to __glibc_reserved0.
39830         [BZ #16712]
39831         * sysdeps/s390/s390-32/bits/wordsize.h
39832         (__WORDSIZE32_SIZE_ULONG): New define.
39833         * sysdeps/s390/s390-64/bits/wordsize.h
39834         (__WORDSIZE32_SIZE_ULONG): Likewise.
39835         * sysdeps/generic/stdint.h (SIZE_MAX):
39836         Define as UL if __WORDSIZE32_SIZE_ULONG.
39838         [BZ #16713]
39839         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
39840         (__glibc_reserved0): New variable.
39841         (sa_flags): Change type to int.
39843         * posix/Makefile (before-compile): Use += before-compile instead
39844         of a :=.
39846         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39847         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
39849 2014-03-20  Andreas Schwab  <schwab@suse.de>
39851         [BZ #16743]
39852         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
39853         non-matching result from nscd.
39855 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39857         * scripts/bench.py: Moved to ...
39858         * benchtests/scripts/bench.py: ... here.
39859         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
39861 2014-03-24  Andreas Schwab  <schwab@suse.de>
39863         [BZ #16002]
39864         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
39865         alloca_account and account alloca use for struct in6ailist.
39867 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
39869         [BZ #16284]
39870         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
39871         rounding mode to recompute results that overflow to infinity or
39872         underflow to zero.
39873         * math/auto-libm-test-in: Don't mark tests as expected to fail for
39874         bug 16284.
39875         * math/auto-libm-test-out: Regenerated.
39876         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
39877         (ccosh_test): Likewise.
39878         (csin_test_data): Use plus_oflow.
39879         (csin_test): Use ALL_RM_TEST.
39880         (csinh_test_data): Use plus_oflow.
39881         (csinh_test): Use ALL_RM_TEST.
39882         * sysdeps/i386/fpu/libm-test-ulps: Update.
39883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39885 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
39887         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
39888         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
39889         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
39891         [BZ #16731]
39892         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
39893         when x - 1 is zero.
39894         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
39895         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
39896         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
39897         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
39898         argument is 1.
39899         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
39900         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
39901         zero.
39902         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
39903         * sysdeps/i386/fpu/libm-test-ulps: Update.
39904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39906 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39908         * scripts/bench.pl: Remove file.
39909         * scripts/bench.py: New benchmark script.
39910         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
39911         * benchtests/README: Mention python dependency.
39912         * scripts/pylintrc: New file.
39913         * scripts/pylint: New file.
39915         * bits/mathdef.h: Use #ifdef instead of #if.
39916         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
39917         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39918         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
39919         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39920         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
39921         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39923 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39924             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39926         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
39927         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
39928         and strpbrk-ppc64 objects.
39929         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39930         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
39931         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
39932         multiarch strpbrk for POWER7.
39933         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
39934         multiarch strpbrk for PPC64.
39935         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
39936         ifunc selector.
39937         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
39938         strpbrk for POWER7.
39940 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
39942         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
39943         (atan_test): Likewise.
39944         (atanh_test_data): Use NO_TEST_INLINE for two tests.
39945         (atanh_test): Use ALL_RM_TEST.
39946         (atan2_test_data): Likewise.
39947         (cabs_test): Likewise.
39948         (cacosh_test): Likewise.
39949         (carg_test): Likewise.
39950         (casin_test): Likewise.
39951         (casinh_test): Likewise.
39952         (cbrt_test): Likewise.
39953         (csqrt_test): Likewise.
39954         (erf_test): Likewise.
39955         (erfc_test): Likewise.
39956         (pow10_test): Likewise.
39957         (exp2_test): Likewise.
39958         (hypot_test): Likewise.
39959         (j0_test): Likewise.
39960         (j1_test): Likewise.
39961         (lgamma_test): Likewise.
39962         (gamma_test): Likewise.
39963         (sincos_test): Likewise.
39964         (tanh_test): Likewise.
39965         (y0_test): Likewise.
39966         (y1_test): Likewise.
39967         * sysdeps/i386/fpu/libm-test-ulps: Update.
39968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39970 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39972         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
39973         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
39974         and strcspn-ppc64 objects.
39975         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39976         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
39977         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
39978         multiarch strcspn for POWER7.
39979         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
39980         multiarch strcspn for PPC64.
39981         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
39982         ifunc selector.
39983         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
39984         strcspn for POWER7.
39986 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
39988         * math/gen-libm-test.pl (generate_testfile): Expect only function
39989         name as argument to AUTO_TESTS_* and pass results for all rounding
39990         modes to parse_args.
39991         (parse_auto_input): Separate inputs of automatic tests from
39992         outputs before storing in %auto_tests.
39993         * math/libm-test.inc (acos_test_data): Update call to
39994         AUTO_TESTS_f_f.
39995         (acos_test): Use ALL_RM_TEST.
39996         (acos_tonearest_test_data): Remove.
39997         (acos_test_tonearest): Likewise.
39998         (acos_towardzero_test_data): Likewise.
39999         (acos_test_towardzero): Likewise.
40000         (acos_downward_test_data): Likewise.
40001         (acos_test_downward): Likewise.
40002         (acos_upward_test_data): Likewise.
40003         (acos_test_upward): Likewise.
40004         (acosh_test_data): Update call to AUTO_TESTS_f_f.
40005         (asin_test_data): Likewise.
40006         (asin_test): Use ALL_RM_TEST.
40007         (asin_tonearest_test_data): Remove.
40008         (asin_test_tonearest): Likewise.
40009         (asin_towardzero_test_data): Likewise.
40010         (asin_test_towardzero): Likewise.
40011         (asin_downward_test_data): Likewise.
40012         (asin_test_downward): Likewise.
40013         (asin_upward_test_data): Likewise.
40014         (asin_test_upward): Likewise.
40015         (asinh_test_data): Update call to AUTO_TESTS_f_f.
40016         (atan_test_data): Likewise.
40017         (atanh_test_data): Likewise.
40018         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
40019         (cabs_test_data): Update call to AUTO_TESTS_c_f.
40020         (carg_test_data): Likewise.
40021         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
40022         (ccos_test_data): Update call to AUTO_TESTS_c_c.
40023         (ccosh_test_data): Likewise.
40024         (cexp_test_data): Likewise.
40025         (clog_test_data): Likewise.
40026         (clog10_test_data): Likewise.
40027         (cos_test_data): Update call to AUTO_TESTS_f_f.
40028         (cos_test): Use ALL_RM_TEST.
40029         (cos_tonearest_test_data): Remove.
40030         (cos_test_tonearest): Likewise.
40031         (cos_towardzero_test_data): Likewise.
40032         (cos_test_towardzero): Likewise.
40033         (cos_downward_test_data): Likewise.
40034         (cos_test_downward): Likewise.
40035         (cos_upward_test_data): Likewise.
40036         (cos_test_upward): Likewise.
40037         (cosh_test_data): Update call to AUTO_TESTS_f_f.
40038         (cosh_test): Use ALL_RM_TEST.
40039         (cosh_tonearest_test_data): Remove.
40040         (cosh_test_tonearest): Likewise.
40041         (cosh_towardzero_test_data): Likewise.
40042         (cosh_test_towardzero): Likewise.
40043         (cosh_downward_test_data): Likewise.
40044         (cosh_test_downward): Likewise.
40045         (cosh_upward_test_data): Likewise.
40046         (cosh_test_upward): Likewise.
40047         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
40048         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
40049         (ctan_test_data): Likewise.
40050         (ctan_test): Use ALL_RM_TEST.
40051         (ctan_tonearest_test_data): Remove.
40052         (ctan_test_tonearest): Likewise.
40053         (ctan_towardzero_test_data): Likewise.
40054         (ctan_test_towardzero): Likewise.
40055         (ctan_downward_test_data): Likewise.
40056         (ctan_test_downward): Likewise.
40057         (ctan_upward_test_data): Likewise.
40058         (ctan_test_upward): Likewise.
40059         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
40060         (ctanh_test): Use ALL_RM_TEST.
40061         (ctanh_tonearest_test_data): Remove.
40062         (ctanh_test_tonearest): Likewise.
40063         (ctanh_towardzero_test_data): Likewise.
40064         (ctanh_test_towardzero): Likewise.
40065         (ctanh_downward_test_data): Likewise.
40066         (ctanh_test_downward): Likewise.
40067         (ctanh_upward_test_data): Likewise.
40068         (ctanh_test_upward): Likewise.
40069         (erf_test_data): Update call to AUTO_TESTS_f_f.
40070         (erfc_test_data): Likewise.
40071         (exp_test_data): Likewise.
40072         (exp_test): Use ALL_RM_TEST.
40073         (exp_tonearest_test_data): Remove.
40074         (exp_test_tonearest): Likewise.
40075         (exp_towardzero_test_data): Likewise.
40076         (exp_test_towardzero): Likewise.
40077         (exp_downward_test_data): Likewise.
40078         (exp_test_downward): Likewise.
40079         (exp_upward_test_data): Likewise.
40080         (exp_test_upward): Likewise.
40081         (exp10_test_data): Update call to AUTO_TESTS_f_f.
40082         (exp10_test): Use ALL_RM_TEST.
40083         (exp10_tonearest_test_data): Remove.
40084         (exp10_test_tonearest): Likewise.
40085         (exp10_towardzero_test_data): Likewise.
40086         (exp10_test_towardzero): Likewise.
40087         (exp10_downward_test_data): Likewise.
40088         (exp10_test_downward): Likewise.
40089         (exp10_upward_test_data): Likewise.
40090         (exp10_test_upward): Likewise.
40091         (exp2_test_data): Update call to AUTO_TESTS_f_f.
40092         (expm1_test_data): Likewise.
40093         (expm1_test): Use ALL_RM_TEST.
40094         (expm1_tonearest_test_data): Remove.
40095         (expm1_test_tonearest): Likewise.
40096         (expm1_towardzero_test_data): Likewise.
40097         (expm1_test_towardzero): Likewise.
40098         (expm1_downward_test_data): Likewise.
40099         (expm1_test_downward): Likewise.
40100         (expm1_upward_test_data): Likewise.
40101         (expm1_test_upward): Likewise.
40102         (fma_test_data): Update call to AUTO_TESTS_fff_f.
40103         (fma_test): Use ALL_RM_TEST.
40104         (fma_towardzero_test_data): Remove.
40105         (fma_test_towardzero): Likewise.
40106         (fma_downward_test_data): Likewise.
40107         (fma_test_downward): Likewise.
40108         (fma_upward_test_data): Likewise.
40109         (fma_test_upward): Likewise.
40110         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
40111         (j0_test_data): Update call to AUTO_TESTS_f_f.
40112         (j1_test_data): Likewise.
40113         (jn_test_data): Update call to AUTO_TESTS_if_f.
40114         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
40115         (log_test_data): Update call to AUTO_TESTS_f_f.
40116         (log10_test_data): Likewise.
40117         (log1p_test_data): Likewise.
40118         (log2_test_data): Likewise.
40119         (pow_test_data): Update call to AUTO_TESTS_ff_f.
40120         (pow_tonearest_test_data): Likewise.
40121         (sin_test_data): Update call to AUTO_TESTS_f_f.
40122         (sin_test): Use ALL_RM_TEST.
40123         (sin_tonearest_test_data): Remove.
40124         (sin_test_tonearest): Likewise.
40125         (sin_towardzero_test_data): Likewise.
40126         (sin_test_towardzero): Likewise.
40127         (sin_downward_test_data): Likewise.
40128         (sin_test_downward): Likewise.
40129         (sin_upward_test_data): Likewise.
40130         (sin_test_upward): Likewise.
40131         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
40132         (sinh_test_data): Update call to AUTO_TESTS_f_f.
40133         (sinh_test): Use ALL_RM_TEST.
40134         (sinh_tonearest_test_data): Remove.
40135         (sinh_test_tonearest): Likewise.
40136         (sinh_towardzero_test_data): Likewise.
40137         (sinh_test_towardzero): Likewise.
40138         (sinh_downward_test_data): Likewise.
40139         (sinh_test_downward): Likewise.
40140         (sinh_upward_test_data): Likewise.
40141         (sinh_test_upward): Likewise.
40142         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
40143         (sqrt_test): Use ALL_RM_TEST.
40144         (sqrt_tonearest_test_data): Remove.
40145         (sqrt_test_tonearest): Likewise.
40146         (sqrt_towardzero_test_data): Likewise.
40147         (sqrt_test_towardzero): Likewise.
40148         (sqrt_downward_test_data): Likewise.
40149         (sqrt_test_downward): Likewise.
40150         (sqrt_upward_test_data): Likewise.
40151         (sqrt_test_upward): Likewise.
40152         (tan_test_data): Update call to AUTO_TESTS_f_f.
40153         (tan_test): Use ALL_RM_TEST.
40154         (tan_tonearest_test_data): Remove.
40155         (tan_test_tonearest): Likewise.
40156         (tan_towardzero_test_data): Likewise.
40157         (tan_test_towardzero): Likewise.
40158         (tan_downward_test_data): Likewise.
40159         (tan_test_downward): Likewise.
40160         (tan_upward_test_data): Likewise.
40161         (tan_test_upward): Likewise.
40162         (tanh_test_data): Update call to AUTO_TESTS_f_f.
40163         (tgamma_test_data): Likewise.
40164         (y0_test_data): Likewise.
40165         (y1_test_data): Likewise.
40166         (yn_test_data): Update call to AUTO_TESTS_if_f.
40167         (main): Do not call removed functions.
40169 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
40171         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
40172         (ldexp_test_data): Remove.
40173         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
40174         scalbn_test_data.
40175         (scalb_test): Use ALL_RM_TEST.
40177 2014-03-19  Andreas Schwab  <schwab@suse.de>
40179         * nscd/nscd.service: Also invalidate netgroup cache on reload.
40181 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
40183         [BZ #16649]
40184         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40185         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
40186         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
40187         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40188         (__ASSUME_PREADV): Undefine.
40189         (__ASSUME_PWRITEV): Likewise.
40191 2014-03-18  Roland McGrath  <roland@hack.frob.com>
40193         * bits/mman-linux.h: Add comment about non-Linux use.
40194         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
40195         bits/mman-linux.h resting place.
40197         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
40198         * bits/mman-linux.h: ... here.
40200 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40202         * conform/conformtest.pl: Add standard definition when calling C
40203         preprocessor on data files.
40204         (checknamespace): Remove unused variable.
40206 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
40208         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
40209         minus_oflow, plus_uflow and minus_uflow in expected results.
40210         * math/libm-test.inc (scalbn_test_data): Add more tests of
40211         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
40212         minus_uflow.
40213         (scalbn_test): Use ALL_RM_TEST.
40214         (scalbln_test_data): Add more tests of negative arguments.  Use
40215         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
40216         (scalbln_test): Use ALL_RM_TEST.
40218 2014-03-18  Roland McGrath  <roland@hack.frob.com>
40220         * scripts/abilist.awk: Ignore symbols marked with .hidden.
40222 2014-03-18  Will Newton  <will.newton@linaro.org>
40224         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
40225         inaccurate comment.
40227 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
40229         * Makerules [!subdir] (check-abi): Exit with error status if a
40230         test failed.
40232 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
40234         * math/libm-test.inc (nearbyint_test_data): Include all tests used
40235         for rint.  Include results for all rounding modes.
40236         (nearbyint_test): Use ALL_RM_TEST.
40237         (rint_test_data): Include all tests used for nearbyint.
40239 2014-03-17  Will Newton  <will.newton@linaro.org>
40241         * nptl/sysdeps/pthread/pthread.h: Revert previous
40242         change.
40244         * sysdeps/generic/ldsodefs.h: Revert previous
40245         change.
40247         * libio/genops.c: Revert previous change.
40248         * libio/libioP.h: Likewise.
40249         * stdio-common/vfprintf.c: Likewise.
40251         * sysdeps/generic/math_private.h: Revert previous
40252         change.
40254         * sysdeps/generic/math_private.h: Check whether
40255         HAVE_RM_CTX is defined with #ifdef rather
40256         than #if.
40258         * argp/argp-fmtstream.h: Check whether
40259         __STRICT_ANSI__ is defined with #ifdef rather
40260         than #if.
40261         * argp/argp.h: Likewise.
40263         * libio/genops.c: Check whether
40264         _IO_JUMPS_OFFSET is defined with #ifdef rather
40265         than #if.
40266         * libio/libioP.h: Likewise.
40267         * stdio-common/vfprintf.c: Likewise.
40269         * sysdeps/generic/ldsodefs.h: Check whether
40270         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
40271         than #if.
40273         * nptl/sysdeps/pthread/pthread.h: Check
40274         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
40275         its value.
40277 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40279         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
40280         setting O_APPEND.
40281         * libio/tst-ftell-active-handler.c (do_append_test): Add a
40282         test case.
40284         [BZ #16680]
40285         * libio/fileops.c (_IO_file_open): Seek to end of file but
40286         don't cache the offset.
40287         (get_file_offset): Remove function.
40288         (do_ftell): Use cached offset when available.
40289         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
40290         don't cache the offset.
40291         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
40292         case.
40293         (do_one_test): Call it.
40294         (do_ftell_test): Fix up expected old offset for a+ mode.
40295         * libio/wfileops.c (do_ftell_wide): Used cached offset when
40296         available.
40298         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
40299         up test status with function return status.
40300         (do_write_test): Likewise.
40301         (do_append_test): Likewise.
40303         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
40304         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
40305         Remove.
40307 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
40309         * math/gen-libm-test.pl (parse_args): Handle results specified for
40310         each rounding mode separately.
40311         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
40312         tests and results from lrint_tonearest_test_data,
40313         lrint_towardzero_test_data, lrint_downward_test_data and
40314         lrint_upward_test_data.
40315         (lrint_test): Use ALL_RM_TEST.
40316         (lrint_tonearest_test_data): Remove.
40317         (lrint_test_tonearest): Likewise.
40318         (lrint_towardzero_test_data): Likewise.
40319         (lrint_test_towardzero): Likewise.
40320         (lrint_downward_test_data): Likewise.
40321         (lrint_test_downward): Likewise.
40322         (lrint_upward_test_data): Likewise.
40323         (lrint_test_upward): Likewise.
40324         (llrint_test_data): Merge in per-rounding-mode tests and results
40325         from llrint_tonearest_test_data, llrint_towardzero_test_data,
40326         llrint_downward_test_data and llrint_upward_test_data.
40327         (llrint_test): Use ALL_RM_TEST.
40328         (llrint_tonearest_test_data): Remove.
40329         (llrint_test_tonearest): Likewise.
40330         (llrint_towardzero_test_data): Likewise.
40331         (llrint_test_towardzero): Likewise.
40332         (llrint_downward_test_data): Likewise.
40333         (llrint_test_downward): Likewise.
40334         (llrint_upward_test_data): Likewise.
40335         (llrint_test_upward): Likewise.
40336         (rint_test_data): Merge in per-rounding-mode tests and results
40337         from rint_tonearest_test_data, rint_towardzero_test_data,
40338         rint_downward_test_data and rint_upward_test_data.  Add
40339         per-rounding-mode results for tests not in those arrays.
40340         (rint_test): Use ALL_RM_TEST.
40341         (rint_tonearest_test_data): Remove.
40342         (rint_test_tonearest): Likewise.
40343         (rint_towardzero_test_data): Likewise.
40344         (rint_test_towardzero): Likewise.
40345         (rint_downward_test_data): Likewise.
40346         (rint_test_downward): Likewise.
40347         (rint_upward_test_data): Likewise.
40348         (rint_test_upward): Likewise.
40349         (main): Don't call removed functions.
40351 2014-03-14  Roland McGrath  <roland@hack.frob.com>
40353         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
40354         "Compiled on ..." crapola.  It is anti-useful.
40356 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
40358         * scripts/evaluate-test.sh: Handle fourth argument to determine
40359         whether test run should stop on failure.
40360         * Makeconfig (stop-on-test-failure): New variable.
40361         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
40362         $(stop-on-test-failure).
40363         * Makefile (tests): Give a summary of results from testing and
40364         exit with failure status if they include an ERROR or FAIL.
40365         (xtests): Likewise.
40366         * manual/install.texi (Configuring and compiling): Mention
40367         stop-on-test-failure=y.
40368         * INSTALL: Regenerated.
40370 2014-03-14  Roland McGrath  <roland@hack.frob.com>
40372         * scripts/versionlist.awk: New file.
40373         * Makerules [$(build-shared) = yes]
40374         (postclean-generated): Add Versions.def, not Versions.def.v and
40375         Versions.def.v.i.
40376         ($(common-objpfx)Versions.def.v.i): Target removed.
40377         ($(common-objpfx)Versions.def): New target.
40378         ($(common-objpfx)Versions.all): Depend on that rather that
40379         $(common-objpfx)Versions.def.v.
40380         * Versions.def: File removed.
40382         * Makeconfig (+gccwarn): Add -Wundef.
40383         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
40384         a dl-sysdep.h breaking its contract.
40385         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
40386         * include/stackinfo.h: New file.
40387         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
40388         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
40389         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
40390         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
40391         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
40392         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
40393         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40394         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40395         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40396         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40397         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40398         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
40399         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40400         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40401         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40403 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40405         [BZ #16707]
40406         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
40407         implementation.
40408         * math/libm-test.inc (round_test_data): Add more tests.
40410         [BZ #16706]
40411         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
40412         implementation.
40413         * math/libm-test.inc (nearbyint_test_data): Add more tests.
40415         [BZ #16701]
40416         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
40417         implementation.
40418         * math/libm-test.inc (ceil_test_data): Add more tests.
40420         * math/libm-test.inc (trunc_test_data): Add more tests related to
40421         BZ#16414.
40423 2014-03-14  Roland McGrath  <roland@hack.frob.com>
40425         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
40426         with #if rather than #ifdef.
40427         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
40429 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
40431         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
40432         first.  Disable AVX-512 GCC support if assembler doesn't support
40433         it.
40434         * sysdeps/x86_64/configure: Regenerated.
40436 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
40438         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
40439         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
40440         (__old_pthread_attr_setstack): Likewise.
40441         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
40442         [!_STACK_GROWS_DOWN]: Likewise.
40444 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
40446         * config.make.in (have-bash2): Delete.
40447         * configure.ac (libc_cv_have_bash2): Delete.
40448         * configure: Regenerate.
40449         * elf/Makefile (common-ldd-rewrite): Rename to ...
40450         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
40451         (sh-ldd-rewrite): Delete.
40452         (bash-ldd-rewrite): Delete.
40453         (have-bash2): Delete checks.
40454         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
40455         ldd-rewrite.
40457         * config.make.in (have-ksh): Delete.
40458         (KSH): Delete.
40459         * configure.ac (libc_cv_have_ksh): Delete.
40460         * configure: Regenerate.
40462         * elf/Makefile: Delete $(have-ksh) check.
40463         ($(objpfx)sotruss): Change KSH to BASH.
40464         * elf/sotruss.ksh: Rename to ...
40465         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
40466         function style to match POSIX.  Drop ksh vim mode setting.
40468         * manual/time.texi (Specifying the Time Zone with TZ): Change
40469         Tuesday to Thursday.
40471         * debug/tst-longjmp_chk2.c: Update header comment.
40472         (stackoverflow_handler): Add comment.  Call assert on pass value.
40474 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
40476         [BZ #16194]
40477         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
40478         (HAVE_AVX512_ASM_SUPPORT): Likewise.
40479         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
40480         (La_x86_64_vector): Add zmm.
40481         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
40482         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
40483         ($(objpfx)tst-audit10): New target.
40484         ($(objpfx)tst-audit10.out): Likewise.
40485         (tst-audit10-ENV): New.
40486         (AVX512-CFLAGS): Likewise.
40487         (CFLAGS-tst-audit10.c): Likewise.
40488         (CFLAGS-tst-auditmod10a.c): Likewise.
40489         (CFLAGS-tst-auditmod10b.c): Likewise.
40490         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
40491         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
40492         * sysdeps/x86_64/configure: Regenerated.
40493         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
40494         AVX-512 zmm register support.
40495         (_dl_x86_64_save_sse): Likewise.
40496         (_dl_x86_64_restore_sse): Likewise.
40497         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
40498         size vector registers.
40499         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
40500         (ZMM_SIZE): Likewise.
40501         * sysdeps/x86_64/tst-audit10.c: New file.
40502         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
40503         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
40505 2014-03-13  Roland McGrath  <roland@hack.frob.com>
40507         * configure.ac (HAVE_EHDR_START): New check.
40508         * configure: Regenerated.
40509         * config.h.in (HAVE_EHDR_START): New #undef.
40510         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
40511         assuming the lowest-addressed segment maps the start of the file.
40513 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
40515         * INSTALL: Regenerated.
40517 2014-03-13  Will Newton  <will.newton@linaro.org>
40519         * manual/setjmp.texi (System V contexts): Improve
40520         clarity and grammar of documentation.
40522 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
40524         [BZ #16381]
40525         * elf/Makefile (tests): Add tst-pie2.
40526         (tests-pie): Add tst-pie2.
40527         * elf/tst-pie2.c: New file.
40528         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
40529         for ET_EXEC.
40530         * elf/rtld.c (map_doit): Load executable as lt_executable.
40531         (dl_main): Likewise.
40533 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
40535         [BZ #16642]
40536         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40537         (__ASSUME_PSELECT): Undefine.
40539 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40541         [BZ #16689]
40542         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
40543         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
40544         static build.
40545         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
40546         selector for static builds.
40548 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40550         [BZ #16695]
40551         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
40552         key in the buffer.
40554 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40556         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
40557         IFUNC selector for static builds.
40559 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
40561         * sysdeps/mips/math_private.h [__mips_hard_float]
40562         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
40563         libc_feresetround_mips_ctx.
40564         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
40565         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
40566         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
40568         [BZ #16677]
40569         * math/s_nextafter.c (__nextafter): Do not return value from
40570         overflowing computation.
40571         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
40572         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
40573         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
40574         Likewise.
40575         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
40576         Likewise.
40577         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
40578         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
40580 2014-03-11  Roland McGrath  <roland@hack.frob.com>
40582         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
40583         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
40584         Move sfi_sp use from the load-multiple (that no longer sets sp) to
40585         the new mov targetting sp.
40587 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40589         [BZ #16683]
40590         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
40591         Define it for static builds as well.
40592         (NO_BZERO_IMPL): Likewise.
40594 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40596         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
40597         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
40598         multiarch strspn for PPC64.
40599         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
40600         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
40601         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40602         (__libc_ifunc_impl_list): Likewise.
40603         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
40604         multiarch optimizations
40605         * string/strspn.c (strspn): Using macro to redefine symbol name.
40607 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40608             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40610         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
40611         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
40612         multiarch strncat for PPC64.
40613         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
40614         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
40615         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40616         (__libc_ifunc_impl_list): Likewise.
40617         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
40618         multiarch optimizations
40620 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40622         [BZ #16639]
40623         * nscd/nscd.service: Make service type forking.
40625 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40627         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
40628         sign in non default rounding modes.
40629         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
40631 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
40633         * math/libm-test.inc (ALL_RM_TEST): New macro.
40634         (ceil_test): Use ALL_RM_TEST.
40635         (cimag_test): Likewise.
40636         (conj_test): Likewise.
40637         (copysign_test): Likewise.
40638         (cproj_test): Likewise.
40639         (creal_test): Likewise.
40640         (fabs_test): Likewise.
40641         (floor_test): Likewise.
40642         (fmax_test): Likewise.
40643         (fmin_test): Likewise.
40644         (fmod_test): Likewise.
40645         (fpclassify_test): Likewise.
40646         (frexp_test): Likewise.
40647         (ilogb_test): Likewise.
40648         (isfinite_test): Likewise.
40649         (finite_test): Likewise.
40650         (isgreater_test): Likewise.
40651         (isgreaterequal_test): Likewise.
40652         (isinf_test): Likewise.
40653         (isless_test): Likewise.
40654         (islessequal_test): Likewise.
40655         (islessgreater_test): Likewise.
40656         (isnan_test): Likewise.
40657         (isnormal_test): Likewise.
40658         (issignaling_test): Likewise.
40659         (isunordered_test): Likewise.
40660         (logb_test): Likewise.
40661         (logb_downward_test_data): Remove.
40662         (logb_test_downward): Likewise.
40663         (lround_test): Use ALL_RM_TEST.
40664         (llround_test): Likewise.
40665         (modf_test): Likewise.
40666         (nexttoward_test): Likewise.
40667         (remainder_test): Likewise.
40668         (drem_test): Likewise.
40669         (remainder_tonearest_test_data): Likewise.
40670         (remainder_test_tonearest): Likewise.
40671         (drem_test_tonearest): Likewise.
40672         (remainder_towardzero_test_data): Likewise.
40673         (remainder_test_towardzero): Likewise.
40674         (drem_test_towardzero): Likewise.
40675         (remainder_downward_test_data): Likewise.
40676         (remainder_test_downward): Likewise.
40677         (drem_test_downward): Likewise.
40678         (remainder_upward_test_data): Likewise.
40679         (remainder_test_upward): Likewise.
40680         (drem_test_upward): Likewise.
40681         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
40682         (round_test): Use ALL_RM_TEST.
40683         (signbit_test): Likewise.
40684         (trunc_test): Likewise.
40685         (significand_test): Likewise.
40686         (main): Don't call removed functions.
40688 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
40690         [BZ #16674]
40691         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
40692         || __USE_XOPEN2K8].
40693         (ILL_ILLOPN): Likewise.
40694         (ILL_ILLADR): Likewise.
40695         (ILL_ILLTRP): Likewise.
40696         (ILL_PRVOPC): Likewise.
40697         (ILL_PRVREG): Likewise.
40698         (ILL_COPROC): Likewise.
40699         (ILL_BADSTK): Likewise.
40700         (FPE_INTDIV): Likewise.
40701         (FPE_INTOVF): Likewise.
40702         (FPE_FLTDIV): Likewise.
40703         (FPE_FLTOVF): Likewise.
40704         (FPE_FLTUND): Likewise.
40705         (FPE_FLTRES): Likewise.
40706         (FPE_FLTINV): Likewise.
40707         (FPE_FLTSUB): Likewise.
40708         (SEGV_MAPERR): Likewise.
40709         (SEGV_ACCERR): Likewise.
40710         (BUS_ADRALN): Likewise.
40711         (BUS_ADRERR): Likewise.
40712         (BUS_OBJERR): Likewise.
40713         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40714         (TRAP_TRACE): Likewise.
40715         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40716         __USE_XOPEN2K8].
40717         (CLD_KILLED): Likewise.
40718         (CLD_DUMPED): Likewise.
40719         (CLD_TRAPPED): Likewise.
40720         (CLD_STOPPED): Likewise.
40721         (CLD_CONTINUED): Likewise.
40722         (POLL_IN): Likewise.
40723         (POLL_OUT): Likewise.
40724         (POLL_MSG): Likewise.
40725         (POLL_ERR): Likewise.
40726         (POLL_PRI): Likewise.
40727         (POLL_HUP): Likewise.
40728         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
40729         Likewise.
40730         (ILL_ILLOPN): Likewise.
40731         (ILL_ILLADR): Likewise.
40732         (ILL_ILLTRP): Likewise.
40733         (ILL_PRVOPC): Likewise.
40734         (ILL_PRVREG): Likewise.
40735         (ILL_COPROC): Likewise.
40736         (ILL_BADSTK): Likewise.
40737         (FPE_INTDIV): Likewise.
40738         (FPE_INTOVF): Likewise.
40739         (FPE_FLTDIV): Likewise.
40740         (FPE_FLTOVF): Likewise.
40741         (FPE_FLTUND): Likewise.
40742         (FPE_FLTRES): Likewise.
40743         (FPE_FLTINV): Likewise.
40744         (FPE_FLTSUB): Likewise.
40745         (SEGV_MAPERR): Likewise.
40746         (SEGV_ACCERR): Likewise.
40747         (BUS_ADRALN): Likewise.
40748         (BUS_ADRERR): Likewise.
40749         (BUS_OBJERR): Likewise.
40750         (BUS_MCEERR_AR): Likewise.
40751         (BUS_MCEERR_AO): Likewise.
40752         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40753         (TRAP_TRACE): Likewise.
40754         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40755         __USE_XOPEN2K8].
40756         (CLD_KILLED): Likewise.
40757         (CLD_DUMPED): Likewise.
40758         (CLD_TRAPPED): Likewise.
40759         (CLD_STOPPED): Likewise.
40760         (CLD_CONTINUED): Likewise.
40761         (POLL_IN): Likewise.
40762         (POLL_OUT): Likewise.
40763         (POLL_MSG): Likewise.
40764         (POLL_ERR): Likewise.
40765         (POLL_PRI): Likewise.
40766         (POLL_HUP): Likewise.
40767         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
40768         (ILL_ILLOPN): Likewise.
40769         (ILL_ILLADR): Likewise.
40770         (ILL_ILLTRP): Likewise.
40771         (ILL_PRVOPC): Likewise.
40772         (ILL_PRVREG): Likewise.
40773         (ILL_COPROC): Likewise.
40774         (ILL_BADSTK): Likewise.
40775         (FPE_INTDIV): Likewise.
40776         (FPE_INTOVF): Likewise.
40777         (FPE_FLTDIV): Likewise.
40778         (FPE_FLTOVF): Likewise.
40779         (FPE_FLTUND): Likewise.
40780         (FPE_FLTRES): Likewise.
40781         (FPE_FLTINV): Likewise.
40782         (FPE_FLTSUB): Likewise.
40783         (SEGV_MAPERR): Likewise.
40784         (SEGV_ACCERR): Likewise.
40785         (BUS_ADRALN): Likewise.
40786         (BUS_ADRERR): Likewise.
40787         (BUS_OBJERR): Likewise.
40788         (BUS_MCEERR_AR): Likewise.
40789         (BUS_MCEERR_AO): Likewise.
40790         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40791         (TRAP_TRACE): Likewise.
40792         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40793         __USE_XOPEN2K8].
40794         (CLD_KILLED): Likewise.
40795         (CLD_DUMPED): Likewise.
40796         (CLD_TRAPPED): Likewise.
40797         (CLD_STOPPED): Likewise.
40798         (CLD_CONTINUED): Likewise.
40799         (POLL_IN): Likewise.
40800         (POLL_OUT): Likewise.
40801         (POLL_MSG): Likewise.
40802         (POLL_ERR): Likewise.
40803         (POLL_PRI): Likewise.
40804         (POLL_HUP): Likewise.
40805         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
40806         Likewise.
40807         (ILL_ILLOPN): Likewise.
40808         (ILL_ILLADR): Likewise.
40809         (ILL_ILLTRP): Likewise.
40810         (ILL_PRVOPC): Likewise.
40811         (ILL_PRVREG): Likewise.
40812         (ILL_COPROC): Likewise.
40813         (ILL_BADSTK): Likewise.
40814         (ILL_BADIADDR): Likewise.
40815         (ILL_BREAK): Likewise.
40816         (FPE_INTDIV): Likewise.
40817         (FPE_INTOVF): Likewise.
40818         (FPE_FLTDIV): Likewise.
40819         (FPE_FLTOVF): Likewise.
40820         (FPE_FLTUND): Likewise.
40821         (FPE_FLTRES): Likewise.
40822         (FPE_FLTINV): Likewise.
40823         (FPE_FLTSUB): Likewise.
40824         (FPE_DECOVF): Likewise.
40825         (FPE_DECDIV): Likewise.
40826         (FPE_DECERR): Likewise.
40827         (FPE_INVASC): Likewise.
40828         (FPE_INVDEC): Likewise.
40829         (SEGV_MAPERR): Likewise.
40830         (SEGV_ACCERR): Likewise.
40831         (SEGV_PSTKOVF): Likewise.
40832         (BUS_ADRALN): Likewise.
40833         (BUS_ADRERR): Likewise.
40834         (BUS_OBJERR): Likewise.
40835         (BUS_MCEERR_AR): Likewise.
40836         (BUS_MCEERR_AO): Likewise.
40837         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40838         (TRAP_TRACE): Likewise.
40839         (TRAP_BRANCH): Likewise.
40840         (TRAP_HWBKPT): Likewise.
40841         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40842         __USE_XOPEN2K8].
40843         (CLD_KILLED): Likewise.
40844         (CLD_DUMPED): Likewise.
40845         (CLD_TRAPPED): Likewise.
40846         (CLD_STOPPED): Likewise.
40847         (CLD_CONTINUED): Likewise.
40848         (POLL_IN): Likewise.
40849         (POLL_OUT): Likewise.
40850         (POLL_MSG): Likewise.
40851         (POLL_ERR): Likewise.
40852         (POLL_PRI): Likewise.
40853         (POLL_HUP): Likewise.
40854         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
40855         (ILL_ILLOPN): Likewise.
40856         (ILL_ILLADR): Likewise.
40857         (ILL_ILLTRP): Likewise.
40858         (ILL_PRVOPC): Likewise.
40859         (ILL_PRVREG): Likewise.
40860         (ILL_COPROC): Likewise.
40861         (ILL_BADSTK): Likewise.
40862         (FPE_INTDIV): Likewise.
40863         (FPE_INTOVF): Likewise.
40864         (FPE_FLTDIV): Likewise.
40865         (FPE_FLTOVF): Likewise.
40866         (FPE_FLTUND): Likewise.
40867         (FPE_FLTRES): Likewise.
40868         (FPE_FLTINV): Likewise.
40869         (FPE_FLTSUB): Likewise.
40870         (SEGV_MAPERR): Likewise.
40871         (SEGV_ACCERR): Likewise.
40872         (BUS_ADRALN): Likewise.
40873         (BUS_ADRERR): Likewise.
40874         (BUS_OBJERR): Likewise.
40875         (BUS_MCEERR_AR): Likewise.
40876         (BUS_MCEERR_AO): Likewise.
40877         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40878         (TRAP_TRACE): Likewise.
40879         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40880         __USE_XOPEN2K8].
40881         (CLD_KILLED): Likewise.
40882         (CLD_DUMPED): Likewise.
40883         (CLD_TRAPPED): Likewise.
40884         (CLD_STOPPED): Likewise.
40885         (CLD_CONTINUED): Likewise.
40886         (POLL_IN): Likewise.
40887         (POLL_OUT): Likewise.
40888         (POLL_MSG): Likewise.
40889         (POLL_ERR): Likewise.
40890         (POLL_PRI): Likewise.
40891         (POLL_HUP): Likewise.
40892         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
40893         (ILL_ILLOPN): Likewise.
40894         (ILL_ILLADR): Likewise.
40895         (ILL_ILLTRP): Likewise.
40896         (ILL_PRVOPC): Likewise.
40897         (ILL_PRVREG): Likewise.
40898         (ILL_COPROC): Likewise.
40899         (ILL_BADSTK): Likewise.
40900         (FPE_INTDIV): Likewise.
40901         (FPE_INTOVF): Likewise.
40902         (FPE_FLTDIV): Likewise.
40903         (FPE_FLTOVF): Likewise.
40904         (FPE_FLTUND): Likewise.
40905         (FPE_FLTRES): Likewise.
40906         (FPE_FLTINV): Likewise.
40907         (FPE_FLTSUB): Likewise.
40908         (SEGV_MAPERR): Likewise.
40909         (SEGV_ACCERR): Likewise.
40910         (BUS_ADRALN): Likewise.
40911         (BUS_ADRERR): Likewise.
40912         (BUS_OBJERR): Likewise.
40913         (BUS_MCEERR_AR): Likewise.
40914         (BUS_MCEERR_AO): Likewise.
40915         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40916         (TRAP_TRACE): Likewise.
40917         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40918         __USE_XOPEN2K8].
40919         (CLD_KILLED): Likewise.
40920         (CLD_DUMPED): Likewise.
40921         (CLD_TRAPPED): Likewise.
40922         (CLD_STOPPED): Likewise.
40923         (CLD_CONTINUED): Likewise.
40924         (POLL_IN): Likewise.
40925         (POLL_OUT): Likewise.
40926         (POLL_MSG): Likewise.
40927         (POLL_ERR): Likewise.
40928         (POLL_PRI): Likewise.
40929         (POLL_HUP): Likewise.
40930         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
40931         (ILL_ILLOPN): Likewise.
40932         (ILL_ILLADR): Likewise.
40933         (ILL_ILLTRP): Likewise.
40934         (ILL_PRVOPC): Likewise.
40935         (ILL_PRVREG): Likewise.
40936         (ILL_COPROC): Likewise.
40937         (ILL_BADSTK): Likewise.
40938         (FPE_INTDIV): Likewise.
40939         (FPE_INTOVF): Likewise.
40940         (FPE_FLTDIV): Likewise.
40941         (FPE_FLTOVF): Likewise.
40942         (FPE_FLTUND): Likewise.
40943         (FPE_FLTRES): Likewise.
40944         (FPE_FLTINV): Likewise.
40945         (FPE_FLTSUB): Likewise.
40946         (SEGV_MAPERR): Likewise.
40947         (SEGV_ACCERR): Likewise.
40948         (BUS_ADRALN): Likewise.
40949         (BUS_ADRERR): Likewise.
40950         (BUS_OBJERR): Likewise.
40951         (BUS_MCEERR_AR): Likewise.
40952         (BUS_MCEERR_AO): Likewise.
40953         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40954         (TRAP_TRACE): Likewise.
40955         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40956         __USE_XOPEN2K8].
40957         (CLD_KILLED): Likewise.
40958         (CLD_DUMPED): Likewise.
40959         (CLD_TRAPPED): Likewise.
40960         (CLD_STOPPED): Likewise.
40961         (CLD_CONTINUED): Likewise.
40962         (POLL_IN): Likewise.
40963         (POLL_OUT): Likewise.
40964         (POLL_MSG): Likewise.
40965         (POLL_ERR): Likewise.
40966         (POLL_PRI): Likewise.
40967         (POLL_HUP): Likewise.
40968         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
40969         (ILL_ILLOPN): Likewise.
40970         (ILL_ILLADR): Likewise.
40971         (ILL_ILLTRP): Likewise.
40972         (ILL_PRVOPC): Likewise.
40973         (ILL_PRVREG): Likewise.
40974         (ILL_COPROC): Likewise.
40975         (ILL_BADSTK): Likewise.
40976         (ILL_DBLFLT): Likewise.
40977         (ILL_HARDWALL): Likewise.
40978         (FPE_INTDIV): Likewise.
40979         (FPE_INTOVF): Likewise.
40980         (FPE_FLTDIV): Likewise.
40981         (FPE_FLTOVF): Likewise.
40982         (FPE_FLTUND): Likewise.
40983         (FPE_FLTRES): Likewise.
40984         (FPE_FLTINV): Likewise.
40985         (FPE_FLTSUB): Likewise.
40986         (SEGV_MAPERR): Likewise.
40987         (SEGV_ACCERR): Likewise.
40988         (BUS_ADRALN): Likewise.
40989         (BUS_ADRERR): Likewise.
40990         (BUS_OBJERR): Likewise.
40991         (BUS_MCEERR_AR): Likewise.
40992         (BUS_MCEERR_AO): Likewise.
40993         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40994         (TRAP_TRACE): Likewise.
40995         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40996         __USE_XOPEN2K8].
40997         (CLD_KILLED): Likewise.
40998         (CLD_DUMPED): Likewise.
40999         (CLD_TRAPPED): Likewise.
41000         (CLD_STOPPED): Likewise.
41001         (CLD_CONTINUED): Likewise.
41002         (POLL_IN): Likewise.
41003         (POLL_OUT): Likewise.
41004         (POLL_MSG): Likewise.
41005         (POLL_ERR): Likewise.
41006         (POLL_PRI): Likewise.
41007         (POLL_HUP): Likewise.
41008         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
41009         (ILL_ILLOPN): Likewise.
41010         (ILL_ILLADR): Likewise.
41011         (ILL_ILLTRP): Likewise.
41012         (ILL_PRVOPC): Likewise.
41013         (ILL_PRVREG): Likewise.
41014         (ILL_COPROC): Likewise.
41015         (ILL_BADSTK): Likewise.
41016         (FPE_INTDIV): Likewise.
41017         (FPE_INTOVF): Likewise.
41018         (FPE_FLTDIV): Likewise.
41019         (FPE_FLTOVF): Likewise.
41020         (FPE_FLTUND): Likewise.
41021         (FPE_FLTRES): Likewise.
41022         (FPE_FLTINV): Likewise.
41023         (FPE_FLTSUB): Likewise.
41024         (SEGV_MAPERR): Likewise.
41025         (SEGV_ACCERR): Likewise.
41026         (BUS_ADRALN): Likewise.
41027         (BUS_ADRERR): Likewise.
41028         (BUS_OBJERR): Likewise.
41029         (BUS_MCEERR_AR): Likewise.
41030         (BUS_MCEERR_AO): Likewise.
41031         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41032         (TRAP_TRACE): Likewise.
41033         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41034         __USE_XOPEN2K8].
41035         (CLD_KILLED): Likewise.
41036         (CLD_DUMPED): Likewise.
41037         (CLD_TRAPPED): Likewise.
41038         (CLD_STOPPED): Likewise.
41039         (CLD_CONTINUED): Likewise.
41040         (POLL_IN): Likewise.
41041         (POLL_OUT): Likewise.
41042         (POLL_MSG): Likewise.
41043         (POLL_ERR): Likewise.
41044         (POLL_PRI): Likewise.
41045         (POLL_HUP): Likewise.
41046         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
41047         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
41049         [BZ #16670]
41050         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
41051         before #include of <time.h>.
41052         [!__USE_XOPEN2K] (__need_timespec): Likewise.
41053         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
41054         (test-xfail-UNIX98/sched.h/conform): Likewise.
41056 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41058         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
41059         error absence of trapping exception support.
41060         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
41062 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
41064         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
41065         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
41066         * timezone/Makefile (testdata): Move definition above include of
41067         Rules.
41068         (test-zones): New variable.
41069         (tests-special): Add zone files.
41070         (build-testdata): Use $(evaluate-test).
41072         * elf/Makefile (tests-special): Rename tests to end with .out.
41073         ($(objpfx)noload-mem): Likewise.
41074         ($(objpfx)tst-leaks1-mem): Likewise.
41075         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
41076         * iconv/Makefile (xtests-special): Change test-iconvconfig to
41077         $(objpfx)test-iconvconfig.out.
41078         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
41079         set -e inside subshell and redirect output to file.
41080         * iconvdata/Makefile (generated): Rename tests to end with .out.
41081         Correct type.
41082         (tests-special): Rename tests to end with .out.
41083         ($(objpfx)mtrace-tst-loading): Likewise.
41084         * intl/Makefile (generated): Likewise.
41085         (tests-special): Likewise.
41086         ($(objpfx)mtrace-tst-gettext): Likewise.
41087         * misc/Makefile (generated): Likewise.
41088         (tests-special): Likewise.
41089         ($(objpfx)tst-error1-mem): Likewise.
41090         * nptl/Makefile (tests-special): Likewise.
41091         ($(objpfx)tst-stack3-mem): Likewise.
41092         (generated): Likewise.
41093         * posix/Makefile (generated): Likewise.
41094         (tests-special): Likewise.
41095         (xtests-special): Likewise.
41096         ($(objpfx)tst-fnmatch-mem): Likewise.
41097         ($(objpfx)bug-regex2-mem): Likewise.
41098         ($(objpfx)bug-regex14-mem): Likewise.
41099         ($(objpfx)bug-regex21-mem): Likewise.
41100         ($(objpfx)bug-regex31-mem): Likewise.
41101         ($(objpfx)tst-vfork3-mem): Likewise.
41102         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
41103         ($(objpfx)tst-pcre-mem): Likewise.
41104         ($(objpfx)tst-boost-mem): Likewise.
41105         ($(objpfx)bug-ga2-mem): Likewise.
41106         ($(objpfx)bug-glob2-mem): Likewise.
41107         * resolv/Makefile (generate): Likewise.
41108         (tests-special): Likewise.
41109         (xtests-special): Likewise.
41110         (generated): Likewise.
41111         ($(objpfx)mtrace-tst-leaks): Likewise.
41112         ($(objpfx)mtrace-tst-leaks2): Likewise.
41114         * scripts/merge-test-results.sh: New file.
41115         * Makefile (tests-special-notdir): New variable.
41116         (tests): Run merge-test-results.sh.
41117         (xtests): Likewise.
41118         * Rules (tests-special-notdir): New variable.
41119         (xtests-special-notdir): Likewise.
41120         (tests): Run merge-test-results.sh
41121         (xtests): Likewise.
41123         * Makeconfig (test-xfail-name): New variable.
41124         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
41125         compute variable name for expected failures.
41126         * conform/Makefile (conformtest-headers-data): New variable.
41127         (conformtest-standards): Likewise.
41128         (conformtest-headers-ISO): Likewise.
41129         (conformtest-headers-ISO99): Likewise.
41130         (conformtest-headers-ISO11): Likewise.
41131         (conformtest-headers-POSIX): Likewise.
41132         (conformtest-headers-XPG3): Likewise.
41133         (conformtest-headers-XPG4): Likewise.
41134         (conformtest-headers-UNIX98): Likewise.
41135         (conformtest-headers-XOPEN2K): Likewise.
41136         (conformtest-headers-POSIX2008): Likewise.
41137         (conformtest-headers-XOPEN2K8): Likewise.
41138         (conformtest-header-list-base): Likewise.
41139         (conformtest-header-list-tests): Likewise.
41140         (conformtest-header-base): Likewise.
41141         (conformtest-header-tests): Likewise.
41142         (tests-special): Add $(conformtest-header-list-tests).  If
41143         [$(fast-check) && !$(cross-compiling)], add
41144         $(conformtest-header-tests) instead of
41145         $(objpfx)run-conformtest.out.
41146         (generated): Add $(conformtest-header-list-base).  If
41147         [$(fast-check) && !$(cross-compiling)], add
41148         $(conformtest-header-base).  Remove previous setting.
41149         ($(conformtest-header-list-tests)): New target.
41150         (test-xfail-run-conformtest): Remove variable.
41151         ($(objpfx)run-conformtest.out): Remove target.
41152         (test-xfail-ISO11/complex.h/conform): New variable.
41153         (test-xfail-ISO11/stdalign.h/conform): Likewise.
41154         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
41155         (test-xfail-XPG3/varargs.h/conform): Likewise.
41156         (test-xfail-XPG4/varargs.h/conform): Likewise.
41157         (test-xfail-UNIX98/varargs.h/conform): Likewise.
41158         (test-xfail-XPG4/ndbm.h/conform): Likewise.
41159         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
41160         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
41161         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
41162         (test-xfail-XPG3/fcntl.h/conform): Likewise.
41163         (test-xfail-XPG3/ftw.h/conform): Likewise.
41164         (test-xfail-XPG3/grp.h/conform): Likewise.
41165         (test-xfail-XPG3/langinfo.h/conform): Likewise.
41166         (test-xfail-XPG3/limits.h/conform): Likewise.
41167         (test-xfail-XPG3/pwd.h/conform): Likewise.
41168         (test-xfail-XPG3/search.h/conform): Likewise.
41169         (test-xfail-XPG3/signal.h/conform): Likewise.
41170         (test-xfail-XPG3/stdio.h/conform): Likewise.
41171         (test-xfail-XPG3/stdlib.h/conform): Likewise.
41172         (test-xfail-XPG3/string.h/conform): Likewise.
41173         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
41174         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
41175         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
41176         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
41177         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
41178         (test-xfail-XPG3/sys/types.h/conform): Likewise.
41179         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
41180         (test-xfail-XPG3/termios.h/conform): Likewise.
41181         (test-xfail-XPG3/time.h/conform): Likewise.
41182         (test-xfail-XPG3/unistd.h/conform): Likewise.
41183         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
41184         (test-xfail-XPG4/fcntl.h/conform): Likewise.
41185         (test-xfail-XPG4/langinfo.h/conform): Likewise.
41186         (test-xfail-XPG4/netdb.h/conform): Likewise.
41187         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
41188         (test-xfail-XPG4/signal.h/conform): Likewise.
41189         (test-xfail-XPG4/stdio.h/conform): Likewise.
41190         (test-xfail-XPG4/stdlib.h/conform): Likewise.
41191         (test-xfail-XPG4/stropts.h/conform): Likewise.
41192         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
41193         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
41194         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
41195         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
41196         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
41197         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
41198         (test-xfail-XPG4/sys/time.h/conform): Likewise.
41199         (test-xfail-XPG4/sys/types.h/conform): Likewise.
41200         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
41201         (test-xfail-XPG4/termios.h/conform): Likewise.
41202         (test-xfail-XPG4/ucontext.h/conform): Likewise.
41203         (test-xfail-XPG4/unistd.h/conform): Likewise.
41204         (test-xfail-XPG4/utmpx.h/conform): Likewise.
41205         (test-xfail-POSIX/sched.h/conform): Likewise.
41206         (test-xfail-POSIX/signal.h/conform): Likewise.
41207         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
41208         (test-xfail-POSIX/tar.h/conform): Likewise.
41209         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
41210         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
41211         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
41212         (test-xfail-UNIX98/netdb.h/conform): Likewise.
41213         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
41214         (test-xfail-UNIX98/sched.h/conform): Likewise.
41215         (test-xfail-UNIX98/signal.h/conform): Likewise.
41216         (test-xfail-UNIX98/stdio.h/conform): Likewise.
41217         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
41218         (test-xfail-UNIX98/stropts.h/conform): Likewise.
41219         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
41220         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
41221         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
41222         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
41223         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
41224         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
41225         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
41226         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
41227         (test-xfail-UNIX98/unistd.h/conform): Likewise.
41228         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
41229         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
41230         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
41231         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
41232         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
41233         (test-xfail-XOPEN2K/math.h/conform): Likewise.
41234         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
41235         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
41236         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
41237         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
41238         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
41239         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
41240         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
41241         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
41242         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
41243         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
41244         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
41245         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
41246         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
41247         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
41248         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
41249         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
41250         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
41251         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
41252         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
41253         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
41254         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
41255         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
41256         (test-xfail-POSIX2008/signal.h/conform): Likewise.
41257         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
41258         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
41259         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
41260         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
41261         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
41262         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
41263         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
41264         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
41265         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
41266         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
41267         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
41268         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
41269         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
41270         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
41271         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
41272         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
41273         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
41274         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
41275         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
41276         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
41277         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
41278         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
41279         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
41280         (conformtest-cc-flags): Likewise.
41281         ($(conformtest-header-tests): New target.
41282         * conform/check-header-lists.sh: New file.
41283         * conform/run-conformtest.sh: Remove.
41285         * conform/conformtest.pl: Allow ' and \ in values given for
41286         constants.
41287         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
41288         inclusion.
41289         [POSIX] (sys/types.h): Likewise.
41290         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
41291         inclusion.
41292         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
41293         inclusion.
41294         * conform/data/signal.h-data (SIGIO): Remove expectation.
41295         [XPG3] (SIGBUS): Do not expect.
41296         [POSIX || XPG3] (SIGPOLL): Likewise.
41297         [POSIX || XPG3] (SIGPROF): Likewise.
41298         [POSIX || XPG3] (SIGSYS): Likewise.
41299         [XPG3] (SIGTRAP): Likewise.
41300         [POSIX || XPG3] (SIGURG): Likewise.
41301         [POSIX || XPG3] (SIGVTALRM): Likewise.
41302         [POSIX || XPG3] (SIGXCPU): Likewise.
41303         [POSIX || XPG3] (SIGXFSZ): Likewise.
41304         [POSIX] (SA_SIGINFO): Expect.
41305         [XPG3] (siginfo_t): Do not expect type or contents.
41306         [POSIX] (si_pid): Do not expect element.
41307         [POSIX] (si_uid): Likewise.
41308         [POSIX] (si_addr): Likewise.
41309         [POSIX] (si_status): Likewise.
41310         [POSIX] (si_band): Likewise.
41311         [XPG4] (si_value): Likewise.
41312         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
41313         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
41314         [POSIX || XPG3] (ILL_ILLADR): Likewise.
41315         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
41316         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
41317         [POSIX || XPG3] (ILL_PRVREG): Likewise.
41318         [POSIX || XPG3] (ILL_COPROC): Likewise.
41319         [POSIX || XPG3] (ILL_BADSTK): Likewise.
41320         [POSIX || XPG3] (FPE_INTDIV): Likewise.
41321         [POSIX || XPG3] (FPE_INTOVF): Likewise.
41322         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
41323         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
41324         [POSIX || XPG3] (FPE_FLTUND): Likewise.
41325         [POSIX || XPG3] (FPE_FLTRES): Likewise.
41326         [POSIX || XPG3] (FPE_FLTINV): Likewise.
41327         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
41328         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
41329         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
41330         [POSIX || XPG3] (BUS_ADRALN): Likewise.
41331         [POSIX || XPG3] (BUS_ADRERR): Likewise.
41332         [POSIX || XPG3] (BUS_OBJERR): Likewise.
41333         [POSIX || XPG3] (CLD_EXITED): Likewise.
41334         [POSIX || XPG3] (CLD_KILLED): Likewise.
41335         [POSIX || XPG3] (CLD_DUMPED): Likewise.
41336         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
41337         [POSIX || XPG3] (CLD_STOPPED): Likewise.
41338         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
41339         [POSIX || XPG3] (POLL_IN): Likewise.
41340         [POSIX || XPG3] (POLL_OUT): Likewise.
41341         [POSIX || XPG3] (POLL_MSG): Likewise.
41342         [POSIX || XPG3] (POLL_ERR): Likewise.
41343         [POSIX || XPG3] (POLL_PRI): Likewise.
41344         [POSIX || XPG3] (POLL_HUP): Likewise.
41345         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
41346         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
41347         (SIG*): Do not allow.
41348         [XPG3] (si_*): Likewise.
41349         [XPG3] (SI_*): Likewise.
41350         [XPG3 || XPG4] (sigev_*): Likewise.
41351         [XPG3 || XPG4] (SIGEV_*): Likewise.
41352         [XPG3 || XPG4] (sival_*): Likewise.
41353         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
41354         [POSIX || XPG3] (BUS_*): Likewise.
41355         [POSIX || XPG3] (CLD_*): Likewise.
41356         [POSIX || XPG3] (FPE_*): Likewise.
41357         [POSIX || XPG3] (ILL_*): Likewise.
41358         [POSIX || XPG3] (POLL_*): Likewise.
41359         [POSIX || XPG3] (SEGV_*): Likewise.
41360         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
41361         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
41362         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
41363         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
41364         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
41365         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
41366         Specify type and value.
41367         (TVERSLEN): Likewise.
41368         (REGTYPE): Likewise.
41369         (AREGTYPE): Likewise.
41370         (LNKTYPE): Likewise.
41371         (SYMTYPE): Likewise.
41372         (CHRTYPE): Likewise.
41373         (BLKTYPE): Likewise.
41374         (DIRTYPE): Likewise.
41375         (FIFOTYPE): Likewise.
41376         (CONTTYPE): Likewise.
41377         (TSUID): Likewise.
41378         (TSGID): Likewise.
41379         (TSVTX): Likewise.
41380         (TUREAD): Likewise.
41381         (TUWRITE): Likewise.
41382         (TUEXEC): Likewise.
41383         (TGREAD): Likewise.
41384         (TGWRITE): Likewise.
41385         (TGEXEC): Likewise.
41386         (TOREAD): Likewise.
41387         (TOWRITE): Likewise.
41388         (TOEXEC): Likewise.
41389         [POSIX] (TSVTX): Expect constant.
41391 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
41393         * Makefile (tests): Change dependencies to ....
41394         (tests-special): ... additions to this variable.
41395         (tests): Depend on $(tests-special).
41396         * Makerules (check-abi-list): New variable.
41397         (check-abi): Depend on $(check-abi-list).
41398         [$(subdir) = elf] (tests-special): Add
41399         $(objpfx)check-abi-libc.out.
41400         [$(build-shared) = yes && subdir] (tests-special): Add
41401         $(check-abi-list).
41402         [$(build-shared) = yes && subdir] (tests): Do not depend on
41403         check-abi.
41404         * Rules (tests): Depend on $(tests-special).
41405         (xtests): Depend on $(xtests-special).
41406         * catgets/Makefile (tests): Change dependencies to ....
41407         (tests-special): ... additions to this variable.
41408         * conform/Makefile (tests): Change dependencies to ....
41409         (tests-special): ... additions to this variable.
41410         * elf/Makefile (tests): Change dependencies to ....
41411         (tests-special): ... additions to this variable.
41412         * grp/Makefile (tests): Change dependencies to ....
41413         (tests-special): ... additions to this variable.
41414         * iconv/Makefile (xtests): Change dependencies to ....
41415         (xtests-special): ... additions to this variable.
41416         * iconvdata/Makefile (tests): Change dependencies to ....
41417         (tests-special): ... additions to this variable.
41418         * intl/Makefile (tests): Change dependencies to ....
41419         (tests-special): ... additions to this variable.  Also add
41420         $(objpfx)tst-gettext.out.
41421         * io/Makefile (tests): Change dependencies to ....
41422         (tests-special): ... additions to this variable.
41423         * libio/Makefile (tests): Change dependencies to ....
41424         (tests-special): ... additions to this variable.
41425         * malloc/Makefile (tests): Change dependencies to ....
41426         (tests-special): ... additions to this variable.
41427         * misc/Makefile (tests): Change dependencies to ....
41428         (tests-special): ... additions to this variable.
41429         * nptl/Makefile (tests): Change dependencies to ....
41430         (tests-special): ... additions to this variable.
41431         * nptl_db/Makefile (tests): Change dependencies to ....
41432         (tests-special): ... additions to this variable.
41433         * posix/Makefile (tests): Change dependencies to ....
41434         (tests-special): ... additions to this variable.
41435         (xtests): Change dependencies to ....
41436         (xtests-special): ... additions to this variable.
41437         * resolv/Makefile (tests): Change dependencies to ....
41438         (tests-special): ... additions to this variable.
41439         (xtests): Change dependencies to ....
41440         (xtests-special): ... additions to this variable.
41441         * stdio-common/Makefile (tests): Change dependencies to ....
41442         (tests-special): ... additions to this variable.
41443         (do-tst-unbputc): Remove target.
41444         (do-tst-printf): Likewise.
41445         * stdlib/Makefile (tests): Change dependencies to ....
41446         (tests-special): ... additions to this variable.
41447         * string/Makefile (tests): Change dependencies to ....
41448         (tests-special): ... additions to this variable.
41449         * sysdeps/x86/Makefile (tests): Change dependencies to ....
41450         (tests-special): ... additions to this variable.
41452         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
41453         whole file.
41454         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
41455         whole file.
41456         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
41457         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
41459         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
41460         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
41461         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
41462         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
41463         * conform/data/libgen.h-data [XPG3]: Likewise.
41464         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
41465         * conform/data/ndbm.h-data [XPG3]: Likewise.
41466         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
41467         * conform/data/netdb.h-data [XPG3]: Likewise.
41468         * conform/data/netinet/in.h-data [XPG3]: Likewise.
41469         * conform/data/poll.h-data [XPG3]: Likewise.
41470         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
41471         * conform/data/strings.h-data [XPG3]: Likewise.
41472         * conform/data/stropts.h-data [XPG3]: Likewise.
41473         * conform/data/sys/mman.h-data [XPG3]: Likewise.
41474         * conform/data/sys/resource.h-data [XPG3]: Likewise.
41475         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
41476         Likewise.
41477         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
41478         * conform/data/sys/time.h-data [XPG3]: Likewise.
41479         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
41480         * conform/data/sys/uio.h-data [XPG3]: Likewise.
41481         * conform/data/sys/un.h-data [XPG3]: Likewise.
41482         * conform/data/syslog.h-data [XPG3]: Likewise.
41483         * conform/data/ucontext.h-data [XPG3]: Likewise.
41484         * conform/data/utmpx.h-data [XPG3]: Likewise.
41485         * conform/data/varargs.h-data [UNIX98]: Enable file.
41487         * manual/Makefile (INSTALL_INFO): Remove variable setting.
41489         * math/libm-test.inc (struct test_f_f_data): Move expected results
41490         into structure for each rounding mode.
41491         (struct test_ff_f_data): Likewise.
41492         (struct test_ff_f_data_nexttoward): Likewise.
41493         (struct test_fi_f_data): Likewise.
41494         (struct test_fl_f_data): Likewise.
41495         (struct test_if_f_data): Likewise.
41496         (struct test_fff_f_data): Likewise.
41497         (struct test_c_f_data): Likewise.
41498         (struct test_f_f1_data): Likewise.
41499         (struct test_fF_f1_data): Likewise.
41500         (struct test_ffI_f1_data): Likewise.
41501         (struct test_c_c_data): Likewise.
41502         (struct test_cc_c_data): Likewise.
41503         (struct test_f_i_data): Likewise.
41504         (struct test_ff_i_data): Likewise.
41505         (struct test_f_l_data): Likewise.
41506         (struct test_f_L_data): Likewise.
41507         (struct test_fFF_11_data): Likewise.
41508         (RM_): New macro.
41509         (RM_FE_DOWNWARD): Likewise.
41510         (RM_FE_TONEAREST): Likewise.
41511         (RM_FE_TOWARDZERO): Likewise.
41512         (RM_FE_UPWARD): Likewise.
41513         (RUN_TEST_LOOP_f_f): Update references to expected results.
41514         (RUN_TEST_LOOP_2_f): Likewise.
41515         (RUN_TEST_LOOP_fff_f): Likewise.
41516         (RUN_TEST_LOOP_c_f): Likewise.
41517         (RUN_TEST_LOOP_f_f1): Likewise.
41518         (RUN_TEST_LOOP_fF_f1): Likewise.
41519         (RUN_TEST_LOOP_fI_f1): Likewise.
41520         (RUN_TEST_LOOP_ffI_f1): Likewise.
41521         (RUN_TEST_LOOP_c_c): Likewise.
41522         (RUN_TEST_LOOP_cc_c): Likewise.
41523         (RUN_TEST_LOOP_f_i): Likewise.
41524         (RUN_TEST_LOOP_f_i_tg): Likewise.
41525         (RUN_TEST_LOOP_ff_i_tg): Likewise.
41526         (RUN_TEST_LOOP_f_b): Likewise.
41527         (RUN_TEST_LOOP_f_b_tg): Likewise.
41528         (RUN_TEST_LOOP_f_l): Likewise.
41529         (RUN_TEST_LOOP_f_L): Likewise.
41530         (RUN_TEST_LOOP_fFF_11): Likewise.
41531         * math/gen-libm-test.pl (parse_args): Output four copies of
41532         expected results for each test.
41534         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41535         (__ASSUME_UTIMES): Remove.
41536         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41537         (__ASSUME_UTIMES): Likewise.
41539         * math/gen-auto-libm-tests.c: Update comment on output format.
41540         (output_for_one_input_case): Generate before-rounding and
41541         after-rounding information as conditions on output flags not
41542         floating-point format.
41543         * math/auto-libm-test-out: Regenerated.
41544         * math/gen-libm-test.pl (cond_value): New function.
41545         (or_cond_value): Use cond_value.
41546         (generate_testfile): Handle conditional exceptions.
41548 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
41550         * math/libm-test.inc (max_valid_error): New variable.
41551         (init_max_error): Take new argument specifying whether function
41552         results are exactly determined.  Set max_valid_error and bound
41553         other variables for errors based on this argument.
41554         (set_max_error): Do not record results above max_valid_error.
41555         (check_float_internal): Only accept errors of up to 0.5ulps if
41556         also at most max_valid_error.
41557         (START): Take new argument EXACT and pass it to init_max_error.
41558         (acos_test): Update call to START.
41559         (acos_test_tonearest): Likewise.
41560         (acos_test_towardzero): Likewise.
41561         (acos_test_downward): Likewise.
41562         (acos_test_upward): Likewise.
41563         (acosh_test): Likewise.
41564         (asin_test): Likewise.
41565         (asin_test_tonearest): Likewise.
41566         (asin_test_towardzero): Likewise.
41567         (asin_test_downward): Likewise.
41568         (asin_test_upward): Likewise.
41569         (asinh_test): Likewise.
41570         (atan_test): Likewise.
41571         (atanh_test): Likewise.
41572         (atan2_test): Likewise.
41573         (cabs_test): Likewise.
41574         (cacos_test): Likewise.
41575         (cacosh_test): Likewise.
41576         (carg_test): Likewise.
41577         (casin_test): Likewise.
41578         (casinh_test): Likewise.
41579         (catan_test): Likewise.
41580         (catanh_test): Likewise.
41581         (cbrt_test): Likewise.
41582         (ccos_test): Likewise.
41583         (ccosh_test): Likewise.
41584         (ceil_test): Likewise.
41585         (cexp_test): Likewise.
41586         (cimag_test): Likewise.
41587         (clog_test): Likewise.
41588         (clog10_test): Likewise.
41589         (conj_test): Likewise.
41590         (copysign_test): Likewise.
41591         (cos_test): Likewise.
41592         (cos_test_tonearest): Likewise.
41593         (cos_test_towardzero): Likewise.
41594         (cos_test_downward): Likewise.
41595         (cos_test_upward): Likewise.
41596         (cosh_test): Likewise.
41597         (cosh_test_tonearest): Likewise.
41598         (cosh_test_towardzero): Likewise.
41599         (cosh_test_downward): Likewise.
41600         (cosh_test_upward): Likewise.
41601         (cpow_test): Likewise.
41602         (cproj_test): Likewise.
41603         (creal_test): Likewise.
41604         (csin_test): Likewise.
41605         (csinh_test): Likewise.
41606         (csqrt_test): Likewise.
41607         (ctan_test): Likewise.
41608         (ctan_test_tonearest): Likewise.
41609         (ctan_test_towardzero): Likewise.
41610         (ctan_test_downward): Likewise.
41611         (ctan_test_upward): Likewise.
41612         (ctanh_test): Likewise.
41613         (ctanh_test_tonearest): Likewise.
41614         (ctanh_test_towardzero): Likewise.
41615         (ctanh_test_downward): Likewise.
41616         (ctanh_test_upward): Likewise.
41617         (erf_test): Likewise.
41618         (erfc_test): Likewise.
41619         (exp_test): Likewise.
41620         (exp_test_tonearest): Likewise.
41621         (exp_test_towardzero): Likewise.
41622         (exp_test_downward): Likewise.
41623         (exp_test_upward): Likewise.
41624         (exp10_test): Likewise.
41625         (exp10_test_tonearest): Likewise.
41626         (exp10_test_towardzero): Likewise.
41627         (exp10_test_downward): Likewise.
41628         (exp10_test_upward): Likewise.
41629         (pow10_test): Likewise.
41630         (exp2_test): Likewise.
41631         (expm1_test): Likewise.
41632         (expm1_test_tonearest): Likewise.
41633         (expm1_test_towardzero): Likewise.
41634         (expm1_test_downward): Likewise.
41635         (expm1_test_upward): Likewise.
41636         (fabs_test): Likewise.
41637         (fdim_test): Likewise.
41638         (floor_test): Likewise.
41639         (fma_test): Likewise.
41640         (fma_test_towardzero): Likewise.
41641         (fma_test_downward): Likewise.
41642         (fma_test_upward): Likewise.
41643         (fmax_test): Likewise.
41644         (fmin_test): Likewise.
41645         (fmod_test): Likewise.
41646         (fpclassify_test): Likewise.
41647         (frexp_test): Likewise.
41648         (hypot_test): Likewise.
41649         (ilogb_test): Likewise.
41650         (isfinite_test): Likewise.
41651         (finite_test): Likewise.
41652         (isgreater_test): Likewise.
41653         (isgreaterequal_test): Likewise.
41654         (isinf_test): Likewise.
41655         (isless_test): Likewise.
41656         (islessequal_test): Likewise.
41657         (islessgreater_test): Likewise.
41658         (isnan_test): Likewise.
41659         (isnormal_test): Likewise.
41660         (issignaling_test): Likewise.
41661         (isunordered_test): Likewise.
41662         (j0_test): Likewise.
41663         (j1_test): Likewise.
41664         (jn_test): Likewise.
41665         (ldexp_test): Likewise.
41666         (lgamma_test): Likewise.
41667         (gamma_test): Likewise.
41668         (lrint_test): Likewise.
41669         (lrint_test_tonearest): Likewise.
41670         (lrint_test_towardzero): Likewise.
41671         (lrint_test_downward): Likewise.
41672         (lrint_test_upward): Likewise.
41673         (llrint_test): Likewise.
41674         (llrint_test_tonearest): Likewise.
41675         (llrint_test_towardzero): Likewise.
41676         (llrint_test_downward): Likewise.
41677         (llrint_test_upward): Likewise.
41678         (log_test): Likewise.
41679         (log10_test): Likewise.
41680         (log1p_test): Likewise.
41681         (log2_test): Likewise.
41682         (logb_test): Likewise.
41683         (logb_test_downward): Likewise.
41684         (lround_test): Likewise.
41685         (llround_test): Likewise.
41686         (modf_test): Likewise.
41687         (nearbyint_test): Likewise.
41688         (nextafter_test): Likewise.
41689         (nexttoward_test): Likewise.
41690         (pow_test): Likewise.
41691         (pow_test_tonearest): Likewise.
41692         (pow_test_towardzero): Likewise.
41693         (pow_test_downward): Likewise.
41694         (pow_test_upward): Likewise.
41695         (remainder_test): Likewise.
41696         (drem_test): Likewise.
41697         (remainder_test_tonearest): Likewise.
41698         (drem_test_tonearest): Likewise.
41699         (remainder_test_towardzero): Likewise.
41700         (drem_test_towardzero): Likewise.
41701         (remainder_test_downward): Likewise.
41702         (drem_test_downward): Likewise.
41703         (remainder_test_upward): Likewise.
41704         (drem_test_upward): Likewise.
41705         (remquo_test): Likewise.
41706         (rint_test): Likewise.
41707         (rint_test_tonearest): Likewise.
41708         (rint_test_towardzero): Likewise.
41709         (rint_test_downward): Likewise.
41710         (rint_test_upward): Likewise.
41711         (round_test): Likewise.
41712         (scalb_test): Likewise.
41713         (scalbn_test): Likewise.
41714         (scalbln_test): Likewise.
41715         (signbit_test): Likewise.
41716         (sin_test): Likewise.
41717         (sin_test_tonearest): Likewise.
41718         (sin_test_towardzero): Likewise.
41719         (sin_test_downward): Likewise.
41720         (sin_test_upward): Likewise.
41721         (sincos_test): Likewise.
41722         (sinh_test): Likewise.
41723         (sinh_test_tonearest): Likewise.
41724         (sinh_test_towardzero): Likewise.
41725         (sinh_test_downward): Likewise.
41726         (sinh_test_upward): Likewise.
41727         (sqrt_test): Likewise.
41728         (sqrt_test_tonearest): Likewise.
41729         (sqrt_test_towardzero): Likewise.
41730         (sqrt_test_downward): Likewise.
41731         (sqrt_test_upward): Likewise.
41732         (tan_test): Likewise.
41733         (tan_test_tonearest): Likewise.
41734         (tan_test_towardzero): Likewise.
41735         (tan_test_downward): Likewise.
41736         (tan_test_upward): Likewise.
41737         (tanh_test): Likewise.
41738         (tgamma_test): Likewise.
41739         (trunc_test): Likewise.
41740         (y0_test): Likewise.
41741         (y1_test): Likewise.
41742         (yn_test): Likewise.
41743         (significand_test): Likewise.
41745         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
41746         individual tests in comment.
41747         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
41748         (prev_max_error): New variable.
41749         (prev_real_max_error): Likewise.
41750         (prev_imag_max_error): Likewise.
41751         (compare_ulp_data): Don't refer to test names in comment.
41752         (find_test_ulps): Remove function.
41753         (find_function_ulps): Likewise.
41754         (find_complex_function_ulps): Likewise.
41755         (init_max_error): Take function name as argument.  Look up ulps
41756         for that function.
41757         (print_ulps): Remove function.
41758         (print_max_error): Use prev_max_error instead of calling
41759         find_function_ulps.
41760         (print_complex_max_error): Use prev_real_max_error and
41761         prev_imag_max_error instead of calling find_complex_function_ulps.
41762         (check_float_internal): Take max_ulp parameter instead of calling
41763         find_test_ulps.  Don't call print_ulps.
41764         (check_float): Update call to check_float_internal.
41765         (check_complex): Update calls to check_float_internal.
41766         (START): Pass argument to init_max_error.
41767         * math/gen-libm-test.pl (%results): Don't include "kind"
41768         information.
41769         (parse_ulps): Don't handle ulps of individual tests.
41770         (print_ulps_file): Likewise.
41771         (output_ulps): Likewise.
41772         * math/README.libm-test: Update.
41773         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
41774         individual tests.
41775         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
41776         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
41777         * sysdeps/arm/libm-test-ulps: Likewise.
41778         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
41779         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
41780         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
41781         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
41782         * sysdeps/microblaze/libm-test-ulps: Likewise.
41783         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
41784         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
41785         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41786         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
41787         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41788         * sysdeps/sh/libm-test-ulps: Likewise.
41789         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41790         * sysdeps/tile/libm-test-ulps: Likewise.
41791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41793 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
41795         * math/libm-test.inc (print_complex_max_error): Check separately
41796         whether real and imaginary errors are within allowed range and
41797         pass 0 to print_complex_function_ulps instead of value within
41798         allowed range.
41800 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41802         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
41803         formatting.
41804         (get_handles_fopen): Likewise.
41805         (do_write_test): Likewise.
41807         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
41809         * libio/fileops.c (do_ftell): Use cached offset when
41810         available.
41811         * libio/iofwide.c (do_ftell_wide): Likewise.
41812         * libio/iofdopen.c (_IO_new_fdopen): Don't use
41813         _IO_file_attach.
41814         * libio/wfileops.c (_IO_fwide): Don't cache offset.
41816         [BZ #16532]
41817         * libio/libioP.h (get_file_offset): New function.
41818         * libio/fileops.c (get_file_offset): Likewise.
41819         (do_ftell): Likewise.
41820         (_IO_new_file_seekoff): Split out ftell logic.
41821         * libio/wfileops.c (do_ftell_wide): Likewise.
41822         (_IO_wfile_seekoff): Split out ftell logic.
41823         * libio/tst-ftell-active-handler.c: New test case.
41824         * libio/Makefile (tests): Add it.
41826 2014-03-03  Roland McGrath  <roland@hack.frob.com>
41828         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
41829         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
41831 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41833         [BZ #16639]
41834         * nscd/connections.c (nscd_init): Call do_exit.
41835         (start_threads): Call do_exit and notify_parent.
41836         (begin_drop_privileges): Call do_exit.
41837         (finish_drop_privileges): Likewise.
41838         * nscd/selinux.c (preserve_capabilities): Likewise.
41839         (install_real_capabilities): Likewise.
41840         (nscd_selinux_enabled): Likewise.
41841         (avc_create_thread): Likewise.
41842         (avc_alloc_lock): Likewise.
41843         (nscd_avc_init): Likewise.
41844         * nscd/nscd.c (parent_fd): New static variable.
41845         (main): Create a pipe between parent and child processes.
41846         Skip closing parent_fd.
41847         (monitor_child): New function.
41848         (do_exit): Likewise.
41849         (notify_parent): Likewise.
41850         * nscd/nscd.h (notify_parent): Likewise.
41851         (do_exit): Likewise.
41853 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
41855         * malloc/malloc.c (__libc_calloc): Revert last change.
41857 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41859         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41861 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41863         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
41864         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
41865         implementation.
41866         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41867         (__libc_ifunc_impl_list): Likewise.
41868         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
41869         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
41870         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
41871         * string/strrchr.c: Define STRRCHR.
41873 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
41875         * benchtest/bench-strtok.c (simple_strtok): Delete.
41876         (strtok_string): Use as benchmark.
41877         * string/strtok (STRTOK): New macro.
41879 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
41881         * manual/threads.texi: Add header and standard comments to all
41882         functions.
41884         * elf/dl-lookup.c (check_match): New function.
41885         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
41886         (do_lookup_x): Remove nested function check_match. Use non-nested
41887         function check_match.
41889 2014-02-28  Roland McGrath  <roland@hack.frob.com>
41891         * csu/Makefile (generated, before-compile): Use += rather than =.
41892         * catgets/Makefile (generated, generated-dirs): Likewise.
41893         * debug/Makefile (generated): Likewise.
41894         * dlfcn/Makefile (generated): Likewise.
41895         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
41896         * iconvdata/Makefile (before-compile, generated): Likewise.
41897         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
41898         * libio/Makefile (generated): Likewise.
41899         * malloc/Makefile (generated): Likewise.
41900         * manual/Makefile (generated, generated-dirs): Likewise.
41901         * misc/Makefile (generated): Likewise.
41902         * posix/Makefile (generated): Likewise.
41903         * resolv/Makefile (generated): Likewise.
41904         * sunrpc/Makefile (generated, generated-dirs): Likewise.
41905         * timezone/Makefile (generated, generated-dirs): Likewise.
41907         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
41909 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41911         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
41912         power8 implementation.
41913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
41914         file: POWER8 llround ifunc implementation.
41915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
41916         (__lllround): Add POWER8 implementation.
41917         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
41918         POWER8 llround implementation.
41920         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
41921         power8 implementation.
41922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
41923         file: POWER8 llrint ifunc implementation.
41924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
41925         Add POWER8 implementation.
41926         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
41927         POWER8 llrint implementation.
41929         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
41930         power8 implementation.
41931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
41932         file: POWER8 finite ifunc implementation.
41933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
41934         Add POWER8 implementation.
41935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
41936         Likewise.
41937         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
41938         POWER8 finite implementation.
41939         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
41941         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
41942         power8 implementation.
41943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
41944         file: POWER8 isinf ifunc implementation.
41945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
41946         POWER8 implementation.
41947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
41948         Likewise.
41949         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
41950         isinf implementation.
41951         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
41953         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
41954         (INIT_ARCH): Add hwcap2 initialization.
41955         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
41956         power8 implementation.
41957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
41958         file: POWER8 isnan ifunc implementation.
41959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
41960         POWER8 implementation.
41961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
41962         Likewise.
41963         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
41964         isnan implementation.
41965         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
41967 2014-02-27  Joey Ye  <joey.ye@arm.com>
41969         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
41970         (_FP_NANFRAC_Q): Set to zero.
41972 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41974         [BZ #16623]
41975         * math/auto-libm-test-in: New test inputs.
41976         * math/auto-libm-test-out: Regenerate.
41977         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
41978         and DA.
41979         (__cos): Likewise.
41980         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
41982 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
41984         * scripts/evaluate-test.sh: Take new argument indicating whether
41985         failure is expected.
41986         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
41987         indicating whether failure is expected.
41988         * conform/Makefile (test-xfail-run-conformtest): New variable.
41989         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
41990         level.
41991         * posix/Makefile (test-xfail-annexc): New variable.
41992         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
41994 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
41996         * argp/Makefile: Include Makeconfig immediately after defining
41997         subdir.
41998         * assert/Makefile: Likewise.
41999         * benchtests/Makefile: Likewise.
42000         * catgets/Makefile: Likewise.
42001         * conform/Makefile: Likewise.
42002         * crypt/Makefile: Likewise.
42003         * csu/Makefile: Likewise.
42004         (all): Remove target.
42005         * ctype/Makefile: Include Makeconfig immediately after defining
42006         subdir.
42007         * debug/Makefile: Likewise.
42008         * dirent/Makefile: Likewise.
42009         * dlfcn/Makefile: Likewise.
42010         * gmon/Makefile: Likewise.
42011         * gnulib/Makefile: Likewise.
42012         * grp/Makefile: Likewise.
42013         * gshadow/Makefile: Likewise.
42014         * hesiod/Makefile: Likewise.
42015         * hurd/Makefile: Likewise.
42016         (all): Remove target.
42017         * iconvdata/Makefile: Include Makeconfig immediately after
42018         defining subdir.
42019         * inet/Makefile: Likewise.
42020         * intl/Makefile: Likewise.
42021         * io/Makefile: Likewise.
42022         * libio/Makefile: Likewise.
42023         (all): Remove target.
42024         * locale/Makefile: Include Makeconfig immediately after defining
42025         subdir.
42026         * login/Makefile: Likewise.
42027         * mach/Makefile: Likewise.
42028         (all): Remove target.
42029         * malloc/Makefile: Include Makeconfig immediately after defining
42030         subdir.
42031         (all): Remove target.
42032         * manual/Makefile: Include Makeconfig immediately after defining
42033         subdir.
42034         * math/Makefile: Likewise.
42035         * misc/Makefile: Likewise.
42036         * nis/Makefile: Likewise.
42037         * nss/Makefile: Likewise.
42038         * po/Makefile: Likewise.
42039         (all): Remove target.
42040         * posix/Makefile: Include Makeconfig immediately after defining
42041         subdir.
42042         * pwd/Makefile: Likewise.
42043         * resolv/Makefile: Likewise.
42044         * resource/Makefile: Likewise.
42045         * rt/Makefile: Likewise.
42046         * setjmp/Makefile: Likewise.
42047         * shadow/Makefile: Likewise.
42048         * signal/Makefile: Likewise.
42049         * socket/Makefile: Likewise.
42050         * soft-fp/Makefile: Likewise.
42051         * stdio-common/Makefile: Likewise.
42052         * stdlib/Makefile: Likewise.
42053         * streams/Makefile: Likewise.
42054         * string/Makefile: Likewise.
42055         * sunrpc/Makefile: Likewise.
42056         (all): Remove target.
42057         * sysvipc/Makefile: Include Makeconfig immediately after defining
42058         subdir.
42059         * termios/Makefile: Likewise.
42060         * time/Makefile: Likewise.
42061         * timezone/Makefile: Likewise.
42062         (all): Remove target.
42063         * wcsmbs/Makefile: Include Makeconfig immediately after defining
42064         subdir.
42065         * wctype/Makefile: Likewise.
42067 2014-02-26  Steve Ellcey  <sellcey@mips.com>
42069         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
42070         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
42071         (libc_feholdexcept_setround_mips): Ditto.
42072         (libc_feholdsetround): New.
42073         (libc_feholdsetroundf): New.
42074         (libc_feholdsetroundl): New.
42075         (libc_feupdateenv_test_mips): New.
42076         (libc_feupdateenv_test): New.
42077         (libc_feupdateenv_testf): New.
42078         (libc_feupdateenv_testl): New.
42079         (libc_feresetround): New.
42080         (libc_feresetroundf): New.
42081         (libc_feresetroundl): New.
42082         (libc_fetestexcept_mips): New.
42083         (libc_fetestexcept): New.
42084         (libc_fetestexceptf): New.
42085         (libc_fetestexceptl): New.
42086         (HAVE_RM_CTX): New.
42087         (libc_feholdexcept_setround_mips_ctx): New.
42088         (libc_feholdexcept_setround_ctx): New.
42089         (libc_feholdexcept_setroundf_ctx): New.
42090         (libc_feholdexcept_setroundl_ctx): New.
42091         (libc_fesetenv_mips_ctx): New.
42092         (libc_fesetenv_ctx): New.
42093         (libc_fesetenv_ctxf): New.
42094         (libc_fesetenv_ctxl): New.
42095         (libc_feupdateenv_mips_ctx): New.
42096         (libc_feupdateenv_ctx): New.
42097         (libc_feupdateenvf_ctx): New.
42098         (libc_feupdateenvl_ctx): New.
42099         (libc_feholdsetround_mips_ctx): New.
42100         (libc_feholdsetround_ctx): New.
42101         (libc_feholdsetroundf_ctx): New.
42102         (libc_feholdsetroundl_ctx): New.
42103         (libc_feresetround_mips_ctx): New.
42104         (libc_feresetround_ctx): New.
42105         (libc_feresetroundf_ctx): New.
42106         (libc_feresetroundl_ctx): New.
42108 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
42110         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
42112         * manual/ipc.texi: New file.
42113         * manual/Makefile (chapters): Add ipc.
42114         * manual/job.texi: Add "Inter-Process Communication" to next.
42115         * manual/process.texi: Add "Inter-Process Communication" to prev.
42117 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42121 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
42123         * malloc/malloc.c (__libc_calloc): Simplify implementation.
42125         * manual/arith.texi: Fix spaces after sentences.
42126         * manual/charset.texi: Likewise.
42127         * manual/errno.texi: Likewise.
42128         * manual/install.texi: Likewise.
42129         * manual/llio.texi: Likewise.
42130         * manual/locale.texi: Likewise.
42131         * manual/maint.texi: Likewise.
42132         * manual/math.texi: Likewise.
42133         * manual/memory.texi: Likewise.
42134         * manual/message.texi: Likewise.
42135         * manual/probes.texi: Likewise.
42136         * manual/resource.texi: Likewise.
42137         * manual/signal.texi: Likewise.
42138         * manual/socket.texi: Likewise.
42139         * manual/stdio.texi: Likewise.
42140         * manual/string.texi: Likewise.
42141         * manual/time.texi: Likewise.
42142         * manual/users.texi: Likewise.
42144 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
42146         [BZ #16632]
42147         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
42148         _DEFAULT_SOURCE is defined.
42150 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
42151             Carlos O'Donell  <carlos@redhat.com>
42153         [BZ #16613]
42154         * elf/dl-tls.c (_dl_count_modids): New function.
42155         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
42156         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
42157         audit library and increment generation counter.
42158         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
42159         * elf/tst-audit9.c: New file.
42160         * elf/tst-auditmod9a.c: New file.
42161         * elf/tst-auditmod9b.c: New file.
42162         * elf/Makefile: Add rules to build and run tst-audit9.
42164 2014-02-25  Florian Weimer  <fweimer@redhat.com>
42166         [BZ #15347]
42167         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
42169 2014-02-25  Will Newton  <will.newton@linaro.org>
42171         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
42172         (__longjmp): Restore sp and lr before restoring callee
42173         saved registers.  Add longjmp and longjmp_target
42174         SystemTap probe point.
42175         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
42176         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
42177         Define to zero to match jmpbuf layout.
42178         * sysdeps/arm/setjmp.S: Include stap-probe.h.
42179         (__sigsetjmp): Save sp and lr before saving callee
42180         saved registers.  Add setjmp SystemTap probe point.
42182 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
42184         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42186 2014-02-24  Andreas Schwab  <schwab@suse.de>
42188         [BZ #15804]
42189         * elf/pldd.c (wait_for_ptrace_stop): New function.
42190         (main): Call it after attaching.
42192 2014-02-22  Roland McGrath  <roland@hack.frob.com>
42194         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
42195         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
42196         Versions files is now verboten.
42197         * hurd/Versions (libc: GLIBC_2.0):
42198         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
42199         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
42200         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
42201         * mach/Versions: Likewise.
42203         * csu/Versions: Remove unused %include.
42204         * resolv/Versions: Likewise.
42206 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
42208         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
42209         ($(objpfx)check-local-headers.out): Likewise.
42210         ($(objpfx)begin-end-check.out): Likewise.
42211         * Makerules (check-abi-%.out): Likewise.
42212         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
42213         ($(objpfx)test2.cat): Likewise.
42214         ($(objpfx)de/libc.cat): Likewise.
42215         ($(objpfx)test-gencat.out): Likewise.
42216         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
42217         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
42218         ($(objpfx)noload-mem): Likewise.
42219         ($(objpfx)tst-pathopt.out): Likewise.
42220         ($(objpfx)tst-rtld-load-self.out): Likewise.
42221         ($(objpfx)tst-array1-cmp.out): Likewise.
42222         ($(objpfx)tst-array1-static-cmp.out): Likewise.
42223         ($(objpfx)tst-array2-cmp.out): Likewise.
42224         ($(objpfx)tst-array3-cmp.out): Likewise.
42225         ($(objpfx)tst-array4-cmp.out): Likewise.
42226         ($(objpfx)tst-array5-cmp.out): Likewise.
42227         ($(objpfx)tst-array5-static-cmp.out): Likewise.
42228         ($(objpfx)check-textrel.out): Likewise.
42229         ($(objpfx)check-execstack.out): Likewise.
42230         ($(objpfx)check-localplt.out): Likewise.
42231         ($(objpfx)order2-cmp.out): Likewise.
42232         ($(objpfx)tst-leaks1-mem): Likewise.
42233         ($(objpfx)tst-leaks1-static-mem): Likewise.
42234         ($(objpfx)tst-initorder-cmp.out): Likewise.
42235         ($(objpfx)tst-initorder2-cmp.out): Likewise.
42236         ($(objpfx)tst-unused-dep.out): Likewise.
42237         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
42238         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
42239         * iconv/Makefile (test-iconvconfig): Likewise.
42240         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
42241         ($(objpfx)iconv-test.out): Likewise.
42242         ($(objpfx)tst-tables.out): Likewise.
42243         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
42244         ($(objpfx)tst-gettext.out): Likewise.
42245         ($(objpfx)tst-translit.out): Likewise.
42246         ($(objpfx)tst-gettext2.out): Likewise.
42247         ($(objpfx)tst-gettext4.out): Likewise.
42248         ($(objpfx)tst-gettext6.out): Likewise.
42249         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
42250         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
42251         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
42252         ($(objpfx)tst-fopenloc-mem.out): Likewise.
42253         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
42254         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
42255         * posix/Makefile ($(objpfx)globtest.out): Likewise.
42256         ($(objpfx)wordexp-tst.out): Likewise.
42257         ($(objpfx)annexc.out): Likewise.
42258         ($(objpfx)tst-fnmatch-mem): Likewise.
42259         ($(objpfx)bug-regex2-mem): Likewise.
42260         ($(objpfx)bug-regex14-mem): Likewise.
42261         ($(objpfx)bug-regex21-mem): Likewise.
42262         ($(objpfx)bug-regex31-mem): Likewise.
42263         ($(objpfx)tst-vfork3-mem): Likewise.
42264         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
42265         ($(objpfx)tst-pcre-mem): Likewise.
42266         ($(objpfx)tst-boost-mem): Likewise.
42267         ($(objpfx)tst-getconf.out): Likewise.
42268         ($(objpfx)bug-ga2-mem): Likewise.
42269         ($(objpfx)bug-glob2-mem): Likewise.
42270         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
42271         ($(objpfx)mtrace-tst-leaks2): Likewise.
42272         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
42273         ($(objpfx)tst-printf.out): Likewise.
42274         ($(objpfx)tst-setvbuf1.out): Likewise.
42275         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
42276         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
42277         ($(objpfx)tst-fmtmsg.out): Likewise.
42278         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
42279         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
42281         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
42282         * bits/sigaction.h [__USE_MISC]: Likewise.
42283         * bits/waitstatus.h: Update #endif comments.
42284         * ctype/ctype.h: Likewise.
42285         * dirent/dirent.h: Likewise.
42286         [__USE_MISC]: Remove redundant conditionals.
42287         * grp/grp.h: Update #endif comments.
42288         [__USE_GNU]: Remove redundant conditionals.
42289         [__USE_MISC]: Likewise.
42290         * inet/netinet/in.h [__USE_GNU]: Likewise.
42291         * io/sys/stat.h [__USE_MISC]: Likewise.
42292         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
42293         * libio/bits/stdio.h: Update #endif comments.
42294         [__USE_MISC]: Remove redundant conditionals.
42295         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
42296         * libio/stdio.h: Update #endif comments.
42297         [__USE_MISC]: Remove redundant conditionals.
42298         * math/bits/math-finite.h [__USE_MISC]: Likewise.
42299         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
42300         * math/math.h: Update #else and #endif comments.
42301         [__USE_MISC]: Remove redundant conditionals.
42302         * misc/sys/uio.h: Update #endif comments.
42303         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
42304         * posix/glob.h [__USE_MISC]: Likewise.
42305         * posix/sys/types.h: Update #endif comments.
42306         [__USE_MISC]: Remove redundant conditionals.
42307         * posix/sys/wait.h: Update #endif comments.
42308         [__USE_MISC]: Remove redundant conditionals.
42309         * posix/unistd.h: Update #endif comments.
42310         [__USE_MISC]: Remove redundant conditionals.
42311         * pwd/pwd.h [__USE_GNU]: Likewise.
42312         [__USE_MISC]: Likewise.
42313         * resolv/netdb.h [__USE_GNU]: Likewise.
42314         * signal/signal.h: Update #endif comments.
42315         [__USE_MISC]: Remove redundant conditionals.
42316         * stdlib/stdlib.h: Update #else and #endif comments.
42317         [__USE_MISC]: Remove redundant conditionals.
42318         [__USE_GNU]: Likewise.
42319         * string/bits/string2.h [__USE_MISC]: Likewise.
42320         * string/string.h: Update #endif comments.
42321         [__USE_MISC]: Remove redundant conditionals.
42322         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
42323         Likewise.
42324         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
42325         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
42326         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
42327         Likewise.
42328         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
42329         Likewise.
42330         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
42331         comments.
42332         [__USE_MISC]: Remove redundant conditionals.
42333         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
42334         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
42335         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
42336         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
42337         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
42338         Likewise.
42339         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
42340         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
42341         Likewise.
42342         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
42343         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
42344         Likewise.
42345         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
42346         Likewise.
42347         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
42348         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
42349         Likewise.
42350         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
42351         Likewise.
42352         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
42353         * sysdeps/x86/bits/string.h: Update #endif comments.
42354         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
42355         conditionals.
42356         * time/sys/time.h: Update #endif comments.
42357         * time/time.h: Likewise.
42358         [__USE_MISC]: Remove redundant conditionals.
42360 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
42362         [BZ #16600]
42363         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
42365 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
42367         * Versions.def (librt): Add GLIBC_2.17.
42369 2014-02-21  Adam Conrad  <adconrad@0c3.net>
42371         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
42372         synonym for _SYS_AUXV_H to allow direct inclusion.
42373         * sysdeps/sparc/bits/hwcap.h: Likewise.
42374         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
42375         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
42376         * sysdeps/sparc/sysdep.h: Likewise.
42378 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42380         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
42382 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42384         * benchtests/bench-strrchr.c: Print length instead of position.
42386 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
42388         [BZ #16611]
42389         * sysdeps/unix/sysv/linux/kernel-features.h
42390         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
42391         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
42392         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
42393         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
42394         Likewise.
42395         [__i386__ || __powerpc__ || __sh__ || __sparc__]
42396         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42397         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
42398         (__ASSUME_SENDMMSG): Define instead of using previous
42399         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
42400         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42401         (__ASSUME_SENDMMSG_SYSCALL): Define.
42402         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42403         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
42404         Likewise.
42405         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42406         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
42407         Likewise.
42408         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42409         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
42410         Likewise.
42411         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
42412         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
42413         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
42414         [__ASSUME_SENDMMSG]: Change conditionals to
42415         [__ASSUME_SENDMMSG_SOCKETCALL].
42416         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42417         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
42418         Define.
42419         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42420         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
42421         Likewise.
42422         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
42423         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
42424         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
42425         [!__ASSUME_SENDMMSG]: Change conditional to
42426         [!__ASSUME_SENDMMSG_SOCKETCALL].
42427         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42428         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
42429         Define.
42431         [BZ #16610]
42432         * sysdeps/unix/sysv/linux/kernel-features.h
42433         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
42434         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
42435         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
42436         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
42437         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42438         [__i386__ || __sparc__]
42439         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42440         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
42441         (__ASSUME_RECVMMSG): Define instead of using previous
42442         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
42443         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42444         (__ASSUME_RECVMMSG_SYSCALL): Define.
42445         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42446         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42447         Likewise.
42448         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42449         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42450         Likewise.
42451         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42452         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42453         Likewise.
42454         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
42455         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
42456         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
42457         [__ASSUME_RECVMMSG]: Change condition to
42458         [__ASSUME_RECVMMSG_SOCKETCALL].
42459         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42460         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42461         Define.
42462         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42463         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42464         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42465         Likewise.
42466         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
42467         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
42468         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
42469         [!__ASSUME_RECVMMSG]: Change condition to
42470         [!__ASSUME_RECVMMSG_SOCKETCALL].
42471         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42472         (__ASSUME_RECVMMSG_SYSCALL): Define.
42474         [BZ #16609]
42475         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
42476         __powerpc__ || __s390__ || __sh__ || __sparc__]
42477         (__ASSUME_SOCKETCALL): Define.
42478         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
42479         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
42480         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
42481         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
42482         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42483         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
42484         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
42485         (__ASSUME_ACCEPT4): Define instead of using previous
42486         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
42487         __powerpc__ || __sparc__ || __s390__)] condition.
42488         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42489         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
42490         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
42491         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
42492         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
42493         [!__ASSUME_ACCEPT4]: Change condition to
42494         [!__ASSUME_ACCEPT4_SOCKETCALL].
42495         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42496         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
42497         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
42498         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42499         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
42500         __ASSUME_ACCEPT4_SYSCALL.
42501         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
42502         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
42503         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42504         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
42505         __ASSUME_ACCEPT4_SYSCALL.
42506         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
42507         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
42508         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
42509         [__ASSUME_ACCEPT4]: Change condition to
42510         [__ASSUME_ACCEPT4_SOCKETCALL].
42511         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42512         (__ASSUME_SOCKETCALL): Define.
42513         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
42514         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42515         (__ASSUME_SOCKETCALL): Define.
42516         (__ASSUME_ACCEPT4): Remove.
42517         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
42518         Define.
42519         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42520         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
42521         Likewise.
42522         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42523         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
42525         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
42526         macro.
42527         (HWCAP_ARM_LPAE): Likewise.
42528         (HWCAP_ARM_EVTSTRM): Likewise.
42529         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
42530         Add vpfd32, lpae and evtstrm.
42531         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
42532         Increase to 22.
42534 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
42536         * math/auto-libm-test-in: Add tests of clog10.
42537         * math/auto-libm-test-out: Regenerated.
42538         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
42539         * sysdeps/i386/fpu/libm-test-ulps: Update.
42540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42542 2014-02-18  Andreas Schwab  <schwab@suse.de>
42544         [BZ #16574]
42545         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
42546         Store non-zero if the second buffer was newly allocated.
42547         (send_dg): Likewise.
42548         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
42549         to send_vc and send_dg.
42550         (res_nsend): Pass NULL for ansp2_malloced.
42551         * resolv/res_query.c (__libc_res_nquery): Add parameter
42552         answerp2_malloced and pass it down to __libc_res_nsend.
42553         (res_nquery): Pass additional NULL to __libc_res_nquery.
42554         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
42555         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
42556         second answer buffer if answerp2_malloced was set.
42557         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
42558         (__libc_res_nquerydomain): Add parameter
42559         answerp2_malloced and pass it down to __libc_res_nquery.
42560         (res_nquerydomain): Pass additional NULL to
42561         __libc_res_nquerydomain.
42562         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
42563         additional NULL to __libc_res_nsend and __libc_res_nquery.
42564         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
42565         additional NULL to __libc_res_nsearch.
42566         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
42567         parameter of __libc_res_nsearch to check for separately allocated
42568         second buffer.
42569         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
42570         __libc_res_nquery.
42571         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
42572         additional NULL to __libc_res_nquery.
42573         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
42574         __libc_res_nsearch.
42575         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
42576         * include/resolv.h: Update prototypes of __libc_res_nquery,
42577         __libc_res_nsearch, __libc_res_nsend.
42579 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
42581         * math/auto-libm-test-in: Add tests of fma.
42582         * math/auto-libm-test-out: Regenerated.
42583         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
42584         (fma_towardzero_test_data): Likewise.
42585         (fma_downward_test_data): Likewise.
42586         (fma_upward_test_data): Likewise.
42587         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
42588         mpc_mode.
42589         (rounding_modes): Add values for new field.
42590         (func_calc_method): Add value mpfr_fff_f.
42591         (func_calc_desc): Add mpfr_fff_f union field.
42592         (test_function): Add field exact_args.
42593         (FUNC): Add macro argument EXACT_ARGS.
42594         (FUNC_mpfr_f_f): Update call to FUNC.
42595         (FUNC_mpfr_f_f): Likewise.
42596         (FUNC_mpfr_ff_f): Likewise.
42597         (FUNC_mpfr_if_f): Likewise.
42598         (FUNC_mpc_c_f): Likewise.
42599         (FUNC_mpc_c_c): Likewise.
42600         (test_functions): Add fma.  Update calls to FUNC.
42601         (handle_input_arg): Add argument exact_args.
42602         (add_test): Update call to handle_input_arg.
42603         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
42604         (output_for_one_input_case): Update call to calc_generic_results.
42605         Recalculate exact zero results in each rounding mode.
42607         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
42608         non-negative before setting low bit.
42609         * math/auto-libm-test-in: Mark one asin test possibly having
42610         spurious underflow.
42611         * math/auto-libm-test-out: Regenerated.
42612         * sysdeps/i386/fpu/libm-test-ulps: Update.
42613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42615 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
42617         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
42618         * sysdeps/unix/sysv/linux/microblaze: Move directory from
42619         ports/sysdeps/unix/sysv/linux/microblaze.
42620         * README: Add missing listing for microblaze*-*-linux-gnu.
42622 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
42624         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
42625         duplicate code
42627 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
42629         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
42630         * sysdeps/unix/sysv/linux/ia64: Move directory from
42631         ports/sysdeps/unix/sysv/linux/ia64.
42632         * README: Update listing for ia64-*-linux-gnu.
42634 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
42635             Joseph Myers  <joseph@codesourcery.com>
42637         * Makeconfig (test-name): New variable.
42638         (evaluate-test): Likewise.
42639         * Makerules (do-test-clean): Remove .test-result files.
42640         (common-mostlyclean): Likewise.
42641         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
42642         * scripts/evaluate-test.sh: New file.
42644 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
42646         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
42647         separate $(objpfx)tst-fopenloc-cmp.out and
42648         $(objpfx)tst-fopenloc-mem.out targets.
42649         (tests): Update dependencies.
42650         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
42651         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
42652         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
42653         (tst-rxspencer-no-utf8-ARGS): New variable.
42654         (tst-rxspencer-no-utf8-ENV): Likewise.
42655         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
42656         instead of $(objpfx)tst-rxspencer-mem.
42657         ($(objpfx)tst-rxspencer-mem): Change target to
42658         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
42659         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
42660         * posix/tst-rxspencer-no-utf8.c: New file.
42662         * elf/Makefile ($(objpfx)order.out): Remove rule.
42663         [$(run-built-tests) = yes] (tests): Depend on
42664         $(objpfx)order-cmp.out.
42665         ($(objpfx)order-cmp.out): New rule.
42666         [$(run-built-tests) = yes] (tests): Depend on
42667         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
42668         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
42669         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
42670         $(objpfx)tst-array5-static-cmp.out.
42671         ($(objpfx)tst-array1.out): Remove rule.
42672         ($(objpfx)tst-array1-cmp.out): New rule.
42673         ($(objpfx)tst-array1-static.out): Remove rule.
42674         ($(objpfx)tst-array1-static-cmp.out): New rule.
42675         ($(objpfx)tst-array2.out): Remove rule.
42676         ($(objpfx)tst-array2-cmp.out): New rule.
42677         ($(objpfx)tst-array3.out): Remove rule.
42678         ($(objpfx)tst-array3-cmp.out): New rule.
42679         ($(objpfx)tst-array4.out): Remove rule.
42680         ($(objpfx)tst-array4-cmp.out): New rule.
42681         ($(objpfx)tst-array5.out): Remove rule.
42682         ($(objpfx)tst-array5-cmp.out): New rule.
42683         ($(objpfx)tst-array5-static.out): Remove rule.
42684         ($(objpfx)tst-array5-static-cmp.out): New rule.
42685         [$(run-built-tests) = yes] (tests): Depend on
42686         $(objpfx)order2-cmp.out.
42687         ($(objpfx)order2.out): Remove rule.
42688         ($(objpfx)order2-cmp.out): New rule.
42689         ($(objpfx)tst-initorder.out): Remove rule.
42690         [$(run-built-tests) = yes] (tests): Depend on
42691         $(objpfx)tst-initorder-cmp.out.
42692         ($(objpfx)tst-initorder-cmp.out): New rule.
42693         ($(objpfx)tst-initorder2.out): Remove rule.
42694         [$(run-built-tests) = yes] (tests): Depend on
42695         $(objpfx)tst-initorder2-cmp.out.
42696         ($(objpfx)tst-initorder2-cmp.out): New rule.
42697         [$(run-built-tests) = yes] (tests): Depend on
42698         $(objpfx)tst-unused-dep-cmp.out.
42699         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
42700         ($(objpfx)tst-unused-dep-cmp.out): New rule.
42701         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
42702         on $(objpfx)tst-setvbuf1-cmp.out.
42703         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
42704         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
42705         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
42706         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
42707         ($(objpfx)tst-svc.out): Remove rule.
42708         ($(objpfx)tst-svc-cmp.out): New rule.
42710 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
42712         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
42713         * ctype/ctype.h [__USE_MISC]: Likewise.
42714         * dirent/dirent.h [__USE_MISC]: Likewise.
42715         * grp/grp.h [__USE_MISC]: Likewise.
42716         * io/fcntl.h [__USE_MISC]: Likewise.
42717         * io/sys/stat.h [__USE_MISC]: Likewise.
42718         * libio/stdio.h [__USE_MISC]: Likewise.
42719         * posix/unistd.h [__USE_MISC]: Likewise.
42720         * pwd/pwd.h [__USE_MISC]: Likewise.
42721         * stdlib.h [__USE_MISC]: Likewise.
42722         * string/bits/string2.h [__USE_MISC]: Likewise.
42723         * string/string.h [__USE_MISC]: Likewise.
42724         * time/time.h [__USE_MISC]: Likewise.
42726 2014-02-13  Andreas Schwab  <schwab@suse.de>
42728         [BZ #16574]
42729         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
42730         second answer buffer if it was separately allocated.
42732 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
42734         * sysdeps/mips/math-tests.h: Include <features.h>.
42735         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
42736         (ROUNDING_TESTS_long_double): Do not define.
42737         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
42738         (EXCEPTION_TESTS_long_double): Likewise.
42739         * sysdeps/mips/mips64/libm-test-ulps: Update.
42741         * include/features.h (__USE_BSD): Remove macro definitions.
42742         (__USE_SVID): Likewise.
42743         (_BSD_SOURCE): Likewise.
42744         (_SVID_SOURCE): Likewise.
42745         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
42746         from definition of _DEFAULT_SOURCE.
42747         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
42748         [_DEFAULT_SOURCE].
42749         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
42750         * bits/mman.h [__USE_BSD]: Likewise.
42751         * bits/termios.h [__USE_BSD]: Likewise.
42752         * bits/waitstatus.h [__USE_BSD]: Likewise.
42753         * ctype/ctype.h [__USE_SVID]: Likewise.
42754         * dirent/dirent.h [__USE_BSD]: Likewise.
42755         * grp/grp.h [__USE_SVID]: Likewise.
42756         [__USE_BSD]: Likewise.
42757         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
42758         * io/fcntl.h [__USE_BSD]: Likewise.
42759         * io/ftw.h [__USE_BSD]: Likewise.
42760         * io/sys/stat.h [__USE_BSD]: Likewise.
42761         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
42762         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
42763         * libio/stdio.h [__USE_SVID]: Likewise.
42764         [__USE_BSD]: Likewise.
42765         * math/math.h [__USE_SVID]: Likewise.
42766         [__USE_BSD]: Likewise.
42767         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
42768         * misc/bits/syslog.h [__USE_BSD]: Likewise.
42769         * misc/search.h [__USE_SVID]: Likewise.
42770         * misc/sys/mman.h [__USE_BSD]: Likewise.
42771         * misc/sys/syslog.h [__USE_BSD]: Likewise.
42772         * misc/sys/uio.h [__USE_BSD]: Likewise.
42773         * posix/bits/unistd.h [__USE_BSD]: Likewise.
42774         * posix/glob.h [__USE_BSD]: Likewise.
42775         * posix/regex.h [__USE_BSD]: Likewise.
42776         * posix/sys/types.h [__USE_BSD]: Likewise.
42777         [__USE_SVID]: Likewise.
42778         * posix/sys/utsname.h [__USE_SVID]: Likewise.
42779         * posix/sys/wait.h [__USE_BSD]: Likewise.
42780         [__USE_SVID]: Likewise.
42781         * posix/unistd.h [__USE_BSD]: Likewise.
42782         [__USE_SVID]: Likewise.
42783         * pwd/pwd.h [__USE_SVID]: Likewise.
42784         * resolv/netdb.h [__USE_BSD]: Likewise.
42785         * setjmp/setjmp.h [__USE_BSD]: Likewise.
42786         * signal/signal.h [__USE_BSD]: Likewise.
42787         [__USE_SVID]: Likewise.
42788         * socket/sys/socket.h [__USE_BSD]: Likewise.
42789         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
42790         * stdlib/stdlib.h [__USE_BSD]: Likewise.
42791         [__USE_SVID]: Likewise.
42792         * string/bits/string2.h [__USE_BSD]: Likewise.
42793         [__USE_SVID]: Likewise.
42794         * string/bits/string3.h [__USE_BSD]: Likewise.
42795         * string/endian.h [__USE_BSD]: Likewise.
42796         * string/string.h [__USE_SVID]: Likewise.
42797         [__USE_BSD]: Likewise.
42798         * string/strings.h [__USE_BSD]: Likewise.
42799         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
42800         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
42801         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
42802         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
42803         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
42804         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
42805         Likewise.
42806         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
42807         Likewise.
42808         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
42809         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
42810         Likewise.
42811         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
42812         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
42813         Likewise.
42814         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
42815         Likewise.
42816         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
42817         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
42818         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
42819         Likewise.
42820         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
42821         Likewise.
42822         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
42823         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
42824         * termios/termios.h [__USE_BSD]: Likewise.
42825         * time/sys/time.h [__USE_BSD]: Likewise.
42826         * time/time.h [__USE_BSD]: Likewise.
42827         [__USE_SVID]: Likewise.
42829         * Makefile (subdir_targets): Remove subdir_lint.out.
42831         * stdio-common/Makefile (do-tst-unbputc): Remove target.
42832         (do-tst-printf): Likewise.
42833         (tests): Depend directly on $(objpfx)tst-unbputc.out and
42834         $(objpfx)tst-printf.out.
42836         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
42838         * Makerules (check-abi-%): Change target to
42839         $(objpfx)check-abi-%.out.
42840         (check-abi target): Update dependencies.
42841         (check-abi-pattern variable): Redirect output of diff to $@.
42842         (check-abi variable): Likewise.
42843         * elf/Makefile (check-abi): Update dependencies.
42845         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
42846         unused.
42847         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
42848         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
42849         subnormal range.
42850         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
42851         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
42852         value has largest subnormal exponent.
42853         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
42854         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
42855         * sysdeps/aarch64/soft-fp/sfp-machine.h
42856         (_FP_TININESS_AFTER_ROUNDING): New macro.
42857         * sysdeps/alpha/soft-fp/sfp-machine.h
42858         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42859         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42860         Likewise.
42861         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
42862         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42863         * sysdeps/mips/soft-fp/sfp-machine.h
42864         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42865         * sysdeps/powerpc/soft-fp/sfp-machine.h
42866         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42867         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42868         Likewise.
42869         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42870         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42871         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42872         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42873         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42874         Likewise.
42876 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
42878         [BZ #16545]
42879         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
42880         model 1.
42882 2014-02-12  Richard Henderson  <rth@redhat.com>
42884         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
42885         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
42886         * sysdeps/unix/sysv/linux/alpha: Move directory from
42887         ports/sysdeps/unix/sysv/linux/alpha.
42888         * README: Update listing for alpha-*-linux-gnu.
42890 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
42892         * include/features.h: Update comment documenting feature test
42893         macros.
42894         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
42895         _DEFAULT_SOURCE.
42896         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
42897         (_SVID_SOURCE): Likewise.
42898         (_DEFAULT_SOURCE): Update description of default features.
42899         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
42900         with _GNU_SOURCE.
42901         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
42902         (S_ISVTX): Likewise.
42903         * manual/math.texi (Mathematical Constants): Likewise.
42904         * manual/signal.texi (Interrupted Primitives): Likewise.
42905         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
42906         * math/test-matherr.c (_SVID_SOURCE): Do not define.
42907         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
42908         Don't refer to _SVID_SOURCE in warning text.
42910         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42912         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
42913         already defined.
42914         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
42915         * sysdeps/mips/dl-lookup.c: Remove.
42916         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
42918 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42920         [BZ #16447]
42921         * math/auto-libm-test-in: Add testcase for expl.
42922         * math/auto-libm-test-out: Regenerate.
42923         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
42924         calculation of unsafe.
42925         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
42927 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42929         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
42930         * sysdeps/unix/sysv/linux/aarch64: Move directory from
42931         ports/sysdeps/unix/sysv/linux/aarch64.
42932         * README: Update listing for aarch64*-*-linux-gnu.
42934 2014-02-11  Will Newton  <will.newton@linaro.org>
42936         * manual/probes.texi (Mathematical Function Probes): Use
42937         "triggered" instead of "hit".
42939         * manual/probes.texi (Internal Probes): Add documentation
42940         of setjmp, longjmp and longjmp_target probes.
42942         * include/stap-probe.h: Add comment about probe argument
42943         format.
42945         * malloc/mtrace.c (attribute_hidden): Remove unused macro
42946         definition.  (tr_where, tr_freehook, tr_mallochook,
42947         tr_reallochook, tr_memalignhook): Use ANSI protoype.
42949 2014-02-11  David S. Miller  <davem@davemloft.net>
42951         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
42952         processing int_tests.
42954 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
42956         * sysdeps/mips: Move directory from ports/sysdeps/mips.
42957         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
42958         * sysdeps/unix/sysv/linux/mips: Move directory from
42959         ports/sysdeps/unix/sysv/linux/mips.
42960         * README: Update listing for mips-*-linux-gnu and
42961         mips64-*-linux-gnu.
42963 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
42965         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
42966         * sysdeps/unix/sysv/linux/m68k: Move directory from
42967         ports/sysdeps/unix/sysv/linux/m68k.
42968         * README: Update listing for m68k-*-linux-gnu.
42970 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
42972         * sysdeps/tile: Move directory from ports/sysdeps/tile.
42973         * sysdeps/unix/sysv/linux/generic: Move directory from
42974         ports/sysdeps/unix/sysv/linux/generic.
42975         * sysdeps/unix/sysv/linux/tile: Move directory from
42976         ports/sysdeps/unix/sysv/linux/tile.
42977         * README: Update listing for tile*-*-linux-gnu.
42979 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
42981         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
42982         __builtin_expect.
42983         * benchtests/bench-memmem.c (simple_memmem): Likewise.
42984         * catgets/open_catalog.c (__open_catalog): Likewise.
42985         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
42986         * debug/confstr_chk.c: Likewise.
42987         * debug/fread_chk.c (__fread_chk): Likewise.
42988         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
42989         * debug/getgroups_chk.c: Likewise.
42990         * debug/mbsnrtowcs_chk.c: Likewise.
42991         * debug/mbsrtowcs_chk.c: Likewise.
42992         * debug/mbstowcs_chk.c: Likewise.
42993         * debug/memcpy_chk.c: Likewise.
42994         * debug/memmove_chk.c: Likewise.
42995         * debug/mempcpy_chk.c: Likewise.
42996         * debug/memset_chk.c: Likewise.
42997         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
42998         * debug/strcat_chk.c (__strcat_chk): Likewise.
42999         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
43000         * debug/strncat_chk.c (__strncat_chk): Likewise.
43001         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
43002         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
43003         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
43004         * debug/wcpncpy_chk.c: Likewise.
43005         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
43006         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
43007         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
43008         * debug/wcsncpy_chk.c: Likewise.
43009         * debug/wcsnrtombs_chk.c: Likewise.
43010         * debug/wcsrtombs_chk.c: Likewise.
43011         * debug/wcstombs_chk.c: Likewise.
43012         * debug/wmemcpy_chk.c: Likewise.
43013         * debug/wmemmove_chk.c: Likewise.
43014         * debug/wmempcpy_chk.c: Likewise.
43015         * debug/wmemset_chk.c: Likewise.
43016         * dirent/scandirat.c (SCANDIRAT): Likewise.
43017         * dlfcn/dladdr1.c (dladdr1): Likewise.
43018         * dlfcn/dladdr.c (dladdr): Likewise.
43019         * dlfcn/dlclose.c (dlclose_doit): Likewise.
43020         * dlfcn/dlerror.c (__dlerror): Likewise.
43021         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
43022         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
43023         * dlfcn/dlopen.c (dlopen_doit): Likewise.
43024         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
43025         * dlfcn/dlsym.c (dlsym_doit): Likewise.
43026         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
43027         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
43028         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
43029         Likewise.
43030         * elf/dl-conflict.c: Likewise.
43031         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
43032         * elf/dl-dst.h: Likewise.
43033         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
43034         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
43035         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
43036         * elf/dl-init.c (call_init, _dl_init): Likewise.
43037         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
43038         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
43039         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
43040         Likewise.
43041         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
43042         Likewise.
43043         * elf/dl-minimal.c (__libc_memalign): Likewise.
43044         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
43045         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
43046         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
43047         * elf/dl-sym.c (do_sym): Likewise.
43048         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
43049         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
43050         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
43051         * elf/dl-writev.h (_dl_writev): Likewise.
43052         * elf/ldconfig.c (search_dir): Likewise.
43053         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
43054         (dl_main): Likewise.
43055         * elf/setup-vdso.h (setup_vdso): Likewise.
43056         * grp/compat-initgroups.c (compat_call): Likewise.
43057         * grp/fgetgrent.c (fgetgrent): Likewise.
43058         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
43059         * grp/putgrent.c (putgrent): Likewise.
43060         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
43061         Likewise.
43062         * hurd/hurdinit.c: Likewise.
43063         * iconvdata/8bit-gap.c (struct): Likewise.
43064         * iconvdata/ansi_x3.110.c : Likewise.
43065         * iconvdata/big5.c : Likewise.
43066         * iconvdata/big5hkscs.c : Likewise.
43067         * iconvdata/cp1255.c: Likewise.
43068         * iconvdata/cp1258.c : Likewise.
43069         * iconvdata/cp932.c : Likewise.
43070         * iconvdata/euc-cn.c: Likewise.
43071         * iconvdata/euc-jisx0213.c : Likewise.
43072         * iconvdata/euc-jp.c: Likewise.
43073         * iconvdata/euc-jp-ms.c : Likewise.
43074         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
43075         * iconvdata/gb18030.c : Likewise.
43076         * iconvdata/gbbig5.c (const): Likewise.
43077         * iconvdata/gbgbk.c: Likewise.
43078         * iconvdata/gbk.c : Likewise.
43079         * iconvdata/ibm1364.c : Likewise.
43080         * iconvdata/ibm930.c : Likewise.
43081         * iconvdata/ibm932.c: Likewise.
43082         * iconvdata/ibm933.c : Likewise.
43083         * iconvdata/ibm935.c : Likewise.
43084         * iconvdata/ibm937.c : Likewise.
43085         * iconvdata/ibm939.c : Likewise.
43086         * iconvdata/ibm943.c: Likewise.
43087         * iconvdata/iso_11548-1.c: Likewise.
43088         * iconvdata/iso-2022-cn.c : Likewise.
43089         * iconvdata/iso-2022-cn-ext.c : Likewise.
43090         * iconvdata/iso-2022-jp-3.c: Likewise.
43091         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
43092         * iconvdata/iso-2022-kr.c : Likewise.
43093         * iconvdata/iso646.c (gconv_end): Likewise.
43094         * iconvdata/iso_6937-2.c : Likewise.
43095         * iconvdata/iso_6937.c : Likewise.
43096         * iconvdata/iso8859-1.c: Likewise.
43097         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
43098         * iconvdata/shift_jisx0213.c : Likewise.
43099         * iconvdata/sjis.c : Likewise.
43100         * iconvdata/t.61.c : Likewise.
43101         * iconvdata/tcvn5712-1.c : Likewise.
43102         * iconvdata/tscii.c: Likewise.
43103         * iconvdata/uhc.c : Likewise.
43104         * iconvdata/unicode.c (gconv_end): Likewise.
43105         * iconvdata/utf-16.c (gconv_end): Likewise.
43106         * iconvdata/utf-32.c (gconv_end): Likewise.
43107         * iconvdata/utf-7.c (base64): Likewise.
43108         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
43109         * iconv/gconv_close.c (__gconv_close): Likewise.
43110         * iconv/gconv_open.c (__gconv_open): Likewise.
43111         * iconv/gconv_simple.c (internal_ucs4_loop_single)
43112         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
43113         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
43114         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
43115         (ucs4le_internal_loop_single): Likewise.
43116         * iconv/iconv.c (iconv): Likewise.
43117         * iconv/iconv_close.c: Likewise.
43118         * iconv/loop.c (SINGLE): Likewise.
43119         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
43120         * include/atomic.h: Likewise.
43121         * inet/inet6_option.c (option_alloc): Likewise.
43122         * intl/bindtextdom.c (set_binding_values): Likewise.
43123         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
43124         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
43125         * intl/localealias.c (read_alias_file): Likewise.
43126         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
43127         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
43128         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
43129         * libio/fmemopen.c (fmemopen): Likewise.
43130         * libio/iofgets.c (_IO_fgets): Likewise.
43131         * libio/iofgets_u.c (fgets_unlocked): Likewise.
43132         * libio/iofgetws.c (fgetws): Likewise.
43133         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
43134         * libio/iogetdelim.c (_IO_getdelim): Likewise.
43135         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
43136         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
43137         * locale/findlocale.c (_nl_find_locale): Likewise.
43138         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
43139         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
43140         Likewise.
43141         * locale/setlocale.c (setlocale): Likewise.
43142         * login/programs/pt_chown.c (main): Likewise.
43143         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
43144         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
43145         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
43146         (mmap, mmap64, mremap, munmap): Likewise.
43147         * math/e_exp2l.c: Likewise.
43148         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
43149         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
43150         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
43151         * math/s_catan.c (__catan): Likewise.
43152         * math/s_catanf.c (__catanf): Likewise.
43153         * math/s_catanh.c (__catanh): Likewise.
43154         * math/s_catanhf.c (__catanhf): Likewise.
43155         * math/s_catanhl.c (__catanhl): Likewise.
43156         * math/s_catanl.c (__catanl): Likewise.
43157         * math/s_ccosh.c (__ccosh): Likewise.
43158         * math/s_ccoshf.c (__ccoshf): Likewise.
43159         * math/s_ccoshl.c (__ccoshl): Likewise.
43160         * math/s_cexp.c (__cexp): Likewise.
43161         * math/s_cexpf.c (__cexpf): Likewise.
43162         * math/s_cexpl.c (__cexpl): Likewise.
43163         * math/s_clog10.c (__clog10): Likewise.
43164         * math/s_clog10f.c (__clog10f): Likewise.
43165         * math/s_clog10l.c (__clog10l): Likewise.
43166         * math/s_clog.c (__clog): Likewise.
43167         * math/s_clogf.c (__clogf): Likewise.
43168         * math/s_clogl.c (__clogl): Likewise.
43169         * math/s_csin.c (__csin): Likewise.
43170         * math/s_csinf.c (__csinf): Likewise.
43171         * math/s_csinh.c (__csinh): Likewise.
43172         * math/s_csinhf.c (__csinhf): Likewise.
43173         * math/s_csinhl.c (__csinhl): Likewise.
43174         * math/s_csinl.c (__csinl): Likewise.
43175         * math/s_csqrt.c (__csqrt): Likewise.
43176         * math/s_csqrtf.c (__csqrtf): Likewise.
43177         * math/s_csqrtl.c (__csqrtl): Likewise.
43178         * math/s_ctan.c (__ctan): Likewise.
43179         * math/s_ctanf.c (__ctanf): Likewise.
43180         * math/s_ctanh.c (__ctanh): Likewise.
43181         * math/s_ctanhf.c (__ctanhf): Likewise.
43182         * math/s_ctanhl.c (__ctanhl): Likewise.
43183         * math/s_ctanl.c (__ctanl): Likewise.
43184         * math/w_pow.c: Likewise.
43185         * math/w_powf.c: Likewise.
43186         * math/w_powl.c: Likewise.
43187         * math/w_scalb.c (sysv_scalb): Likewise.
43188         * math/w_scalbf.c (sysv_scalbf): Likewise.
43189         * math/w_scalbl.c (sysv_scalbl): Likewise.
43190         * misc/error.c (error_tail): Likewise.
43191         * misc/pselect.c (__pselect): Likewise.
43192         * nis/nis_callback.c (__nis_create_callback): Likewise.
43193         * nis/nis_call.c (__nisfind_server): Likewise.
43194         * nis/nis_creategroup.c (nis_creategroup): Likewise.
43195         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
43196         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
43197         * nis/nis_getservlist.c (nis_getservlist): Likewise.
43198         * nis/nis_lookup.c (nis_lookup): Likewise.
43199         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
43200         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
43201         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
43202         * nis/nis_xdr.c (xdr_endpoint): Likewise.
43203         * nis/nss_compat/compat-grp.c (getgrent_next_file)
43204         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
43205         * nis/nss_compat/compat-initgroups.c (add_group)
43206         (internal_getgrent_r): Likewise.
43207         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
43208         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
43209         * nis/nss_compat/compat-spwd.c (getspent_next_file)
43210         (internal_getspnam_r): Likewise.
43211         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
43212         (_nss_nis_getaliasbyname_r): Likewise.
43213         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
43214         (_nss_nis_getntohost_r): Likewise.
43215         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
43216         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
43217         (_nss_nis_getgrgid_r): Likewise.
43218         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
43219         (internal_nis_gethostent_r, internal_gethostbyname2_r)
43220         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
43221         (_nss_nis_gethostbyname4_r): Likewise.
43222         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
43223         (initgroups_netid): Likewise.
43224         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
43225         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
43226         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
43227         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
43228         (_nss_nis_getprotobynumber_r): Likewise.
43229         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
43230         (_nss_nis_getsecretkey): Likewise.
43231         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
43232         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
43233         (_nss_nis_getpwuid_r): Likewise.
43234         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
43235         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
43236         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
43237         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
43238         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
43239         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
43240         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
43241         Likewise.
43242         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
43243         (_nss_nisplus_getntohost_r): Likewise.
43244         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
43245         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
43246         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
43247         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
43248         Likewise.
43249         * nis/nss_nisplus/nisplus-initgroups.c
43250         (_nss_nisplus_initgroups_dyn): Likewise.
43251         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
43252         (_nss_nisplus_getnetbyaddr_r): Likewise.
43253         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
43254         (_nss_nisplus_getprotobynumber_r): Likewise.
43255         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
43256         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
43257         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
43258         Likewise.
43259         * nis/nss_nisplus/nisplus-service.c
43260         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
43261         (_nss_nisplus_getservbyport_r): Likewise.
43262         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
43263         (_nss_nisplus_getspnam_r): Likewise.
43264         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
43265         Likewise.
43266         * nscd/aicache.c (addhstaiX): Likewise.
43267         * nscd/cache.c (cache_search, prune_cache): Likewise.
43268         * nscd/connections.c (register_traced_file, send_ro_fd)
43269         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
43270         (main_loop_epoll): Likewise.
43271         * nscd/grpcache.c (addgrbyX): Likewise.
43272         * nscd/hstcache.c (addhstbyX): Likewise.
43273         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43274         * nscd/mem.c (gc, mempool_alloc): Likewise.
43275         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
43276         (addinnetgrX): Likewise.
43277         * nscd/nscd-client.h (__nscd_acquire_maplock)
43278         (__nscd_drop_map_ref): Likewise.
43279         * nscd/nscd_getai.c (__nscd_getai): Likewise.
43280         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
43281         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
43282         Likewise.
43283         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
43284         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43285         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
43286         (__nscd_get_map_ref): Likewise.
43287         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
43288         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
43289         Likewise.
43290         * nscd/pwdcache.c (addpwbyX): Likewise.
43291         * nscd/selinux.c (preserve_capabilities): Likewise.
43292         * nscd/servicescache.c (addservbyX): Likewise.
43293         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
43294         * posix/fnmatch.c (fnmatch): Likewise.
43295         * posix/getopt.c (_getopt_internal_r): Likewise.
43296         * posix/glob.c (glob, glob_in_dir): Likewise.
43297         * posix/wordexp.c (exec_comm_child): Likewise.
43298         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
43299         (getanswer_r, gaih_getanswer_slice): Likewise.
43300         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
43301         * resolv/res_init.c: Likewise.
43302         * resolv/res_mkquery.c (res_nmkquery): Likewise.
43303         * resolv/res_query.c (__libc_res_nquery): Likewise.
43304         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
43305         Likewise.
43306         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
43307         * stdio-common/perror.c (perror): Likewise.
43308         * stdio-common/printf_fp.c (___printf_fp): Likewise.
43309         * stdio-common/tmpnam.c (tmpnam): Likewise.
43310         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
43311         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
43312         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
43313         Likewise.
43314         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
43315         * stdlib/putenv.c (putenv): Likewise.
43316         * stdlib/setenv.c (__add_to_environ): Likewise.
43317         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
43318         * stdlib/strtol_l.c (INTERNAL): Likewise.
43319         * string/memmem.c (memmem): Likewise.
43320         * string/strerror.c (strerror): Likewise.
43321         * string/strnlen.c (__strnlen): Likewise.
43322         * string/test-memmem.c (simple_memmem): Likewise.
43323         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
43324         * sunrpc/pm_getport.c (__get_socket): Likewise.
43325         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
43326         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
43327         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
43328         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
43329         Likewise.
43330         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
43331         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
43332         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
43333         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
43334         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
43335         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
43336         Likewise.
43337         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
43338         Likewise.
43339         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
43340         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
43341         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43342         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
43343         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
43344         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
43345         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
43346         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
43347         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
43348         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
43349         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43350         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
43351         Likewise.
43352         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
43353         Likewise.
43354         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
43355         Likewise.
43356         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
43357         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43358         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
43359         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
43360         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
43361         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
43362         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
43363         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
43364         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
43365         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
43366         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
43367         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43368         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
43369         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
43370         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43371         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
43372         Likewise.
43373         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
43374         Likewise.
43375         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
43376         Likewise.
43377         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
43378         Likewise.
43379         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43380         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43381         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
43382         Likewise.
43383         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
43384         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
43385         * sysdeps/posix/opendir.c (__opendirat): Likewise.
43386         * sysdeps/posix/sleep.c: Likewise.
43387         * sysdeps/posix/tempname.c: Likewise.
43388         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
43389         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43390         Likewise.
43391         * sysdeps/powerpc/powerpc32/dl-machine.h
43392         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
43393         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
43394         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43395         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
43396         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
43397         Likewise.
43398         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
43399         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
43400         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
43401         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
43402         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
43403         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
43404         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
43405         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
43406         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43407         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
43408         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
43409         (elf_machine_lazy_rel): Likewise.
43410         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43411         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
43412         (elf_machine_lazy_rel): Likewise.
43413         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
43414         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
43415         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
43416         * sysdeps/unix/grantpt.c (grantpt): Likewise.
43417         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
43418         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
43419         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
43420         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43421         Likewise.
43422         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
43423         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
43424         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
43425         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
43426         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
43427         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
43428         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
43429         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
43430         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
43431         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
43432         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43433         Likewise.
43434         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
43435         (__posix_fallocate64_l64): Likewise.
43436         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
43437         (posix_fallocate): Likewise.
43438         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
43439         Likewise.
43440         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43441         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
43442         (getifaddrs_internal): Likewise.
43443         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
43444         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
43445         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
43446         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
43447         * sysdeps/unix/sysv/linux/posix_fallocate64.c
43448         (__posix_fallocate64_l64): Likewise.
43449         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
43450         Likewise.
43451         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
43452         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
43453         (__get_clockfreq): Likewise.
43454         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
43455         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
43456         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
43457         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43458         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43459         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
43460         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
43461         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
43462         Likewise.
43463         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
43464         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
43465         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
43466         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
43467         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43468         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
43469         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
43470         Likewise.
43471         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43472         (posix_fallocate): Likewise.
43473         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43474         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
43475         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
43476         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
43477         (elf_machine_rela, elf_machine_rela_relative)
43478         (elf_machine_lazy_rel): Likewise.
43479         * time/asctime.c (asctime_internal): Likewise.
43480         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
43481         * time/tzset.c (__tzset_parse_tz): Likewise.
43482         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
43483         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
43484         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
43485         * wcsmbs/wcsmbsload.h: Likewise.
43487         [BZ #15894]
43488         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
43490         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
43491         (arena_get2): Remove THREAD_STATS conditionals.
43492         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
43493         (__malloc_stats, int): Likewise.
43495 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
43497         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
43498         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
43500         * manual/setjmp.texi: Fix typos/grammar errors.
43502         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
43503         Only return early when n is <= 0.  Delete unused return statement.
43505         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
43506         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
43507         * debug/tst-longjmp_chk3.c: New file.
43509         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
43510         (test_main): Replace code with set_fortify_handler call.
43511         * debug/test-strcpy_chk.c: Likewise.
43512         * debug/tst-chk1.c: Likewise.
43513         * debug/tst-longjmp_chk.c: Likewise.
43514         * test-skeleton.c: Include fcntl.h & paths.h
43515         (set_fortify_handler): Define.
43517         * debug/tst-longjmp_chk.c: Add header comment and include
43518         ../test-skeleton.c.
43519         (do_test): Mark static.
43520         (TEST_FUNCTION): Define.
43522         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
43523         (IP_PMTUDISC_INTERFACE): Likewise.
43524         (IP_MULTICAST_IF): Likewise.
43525         (IP_MULTICAST_TTL): Likewise.
43526         (IP_MULTICAST_LOOP): Likewise.
43527         (IP_ADD_MEMBERSHIP): Likewise.
43528         (IP_DROP_MEMBERSHIP): Likewise.
43529         (IP_UNBLOCK_SOURCE): Likewise.
43530         (IP_BLOCK_SOURCE): Likewise.
43531         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
43532         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
43533         (IP_MSFILTER): Likewise.
43534         (MCAST_JOIN_GROUP): Likewise.
43535         (MCAST_BLOCK_SOURCE): Likewise.
43536         (MCAST_UNBLOCK_SOURCE): Likewise.
43537         (MCAST_LEAVE_GROUP): Likewise.
43538         (MCAST_JOIN_SOURCE_GROUP): Likewise.
43539         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
43540         (MCAST_MSFILTER): Likewise.
43541         (IP_MULTICAST_ALL): Likewise.
43542         (IP_UNICAST_IF): Likewise.
43544         * timezone/Makefile: Delete $(have-ksh) check.
43545         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
43546         * timezone/tzselect.ksh: Add +x mode bits.
43548         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
43549         (ANON_INODE_FS_MAGIC): Likewise.
43550         (BDEVFS_MAGIC): Likewise.
43551         (BINFMTFS_MAGIC): Likewise.
43552         (BTRFS_TEST_MAGIC): Likewise.
43553         (CRAMFS_MAGIC_WEND): Likewise.
43554         (DEBUGFS_MAGIC): Likewise.
43555         (ECRYPTFS_SUPER_MAGIC): Likewise.
43556         (EXT3_SUPER_MAGIC): Likewise.
43557         (EXT4_SUPER_MAGIC): Likewise.
43558         (FUTEXFS_SUPER_MAGIC): Likewise.
43559         (HOSTFS_SUPER_MAGIC): Likewise.
43560         (HUGETLBFS_MAGIC): Likewise.
43561         (MINIX3_SUPER_MAGIC): Likewise.
43562         (MTD_INODE_FS_MAGIC): Likewise.
43563         (NILFS_SUPER_MAGIC): Likewise.
43564         (OPENPROM_SUPER_MAGIC): Likewise.
43565         (PIPEFS_MAGIC): Likewise.
43566         (PSTOREFS_MAGIC): Likewise.
43567         (QNX6_SUPER_MAGIC): Likewise.
43568         (RAMFS_MAGIC): Likewise.
43569         (REISERFS_SUPER_MAGIC_STRING): Likewise.
43570         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
43571         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
43572         (SECURITYFS_MAGIC): Likewise.
43573         (SELINUX_MAGIC): Likewise.
43574         (SMACK_MAGIC): Likewise.
43575         (SOCKFS_MAGIC): Likewise.
43576         (SQUASHFS_MAGIC): Likewise.
43577         (STACK_END_MAGIC): Likewise.
43578         (TMPFS_MAGIC): Likewise.
43579         (USBDEVICE_SUPER_MAGIC): Likewise.
43580         (V9FS_MAGIC): Likewise.
43581         (XENFS_SUPER_MAGIC): Likewise.
43582         (CRAMFS_MAGIC): Fix typo in comment.
43583         (EXT2_SUPER_MAGIC): Update comment.
43584         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
43586 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
43588         * sysdeps/arm: Move directory from ports/sysdeps/arm.
43589         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
43590         * sysdeps/unix/sysv/linux/arm: Move directory from
43591         ports/sysdeps/unix/sysv/linux/arm.
43592         * README: Update listing for arm-*-linux-gnueabi.
43594         * README: Remove mention of am33.
43596 2014-02-07  Roland McGrath  <roland@hack.frob.com>
43598         * bits/sigset.h (__sigemptyset): Use a statement expression rather
43599         than the comma operator, to avoid "rhs of comma has no effect"
43600         compiler warnings.
43601         (__sigfillset, __sigandset, __sigorset): Likewise.
43602         * include/signal.h (__sigemptyset): Likewise.
43603         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
43605 2014-02-07  Allan McRae  <allan@archlinux.org>
43607         * version.h (RELEASE): Set to "development".
43608         (VERSION): Set to "2.19.90"
43609         * NEWS: Add 2.20 section.
43611 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
43613         [BZ #16529]
43614         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
43616 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43618         * manual/contrib.texi: Update entry for Carlos O'Donell,
43619         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
43621 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
43623         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
43625         * sysdeps/unix/sysv/linux/kernel-features.h
43626         [__LINUX_KERNEL_VERSION >= 0x020621]
43627         (__ASSUME_PROC_PID_TASK_COMM): Define.
43629 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43631         [BZ #16398]
43632         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
43633         conversion when destination buffer does not have enough space.
43634         * libio/tst-ftell-partial-wide.c: New test case.
43635         * libio/Makefile (tests): Add tst-ftell-partial-wide.
43637         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
43638         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
43639         Leonard and Allan McRae.
43641 2014-02-04  David S. Miller  <davem@davemloft.net>
43643         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
43644         32-bit.
43646 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
43649         New file
43650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
43651         New file
43652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
43653         New file.
43654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
43655         New file.
43656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
43657         New file.
43658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
43659         New file.
43660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
43661         New file.
43662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
43663         New file.
43664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
43665         New file.
43666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
43667         New file.
43668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
43669         New file.
43670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
43671         New file.
43672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
43673         New file.
43675 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43677         * nptl/shlib-versions: Change powerpc*le start to 2.17.
43678         * shlib-versions: Likewise.
43680 2014-02-04  Roland McGrath  <roland@hack.frob.com>
43681             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43683         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
43684         (abilist-pattern): New variable, set to %-le.abilist.
43686         * Makerules (abilist-pattern): New variable.
43687         (vpath): Use $(abilist-pattern) in place of %.abilist.
43688         (check-abi-% pattern rule): Likewise.
43689         (check-abi, update-abi): Likewise.
43691 2014-02-04  Eric Wong  <normalperson@yhbt.net>
43693         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43695 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
43697         * manual/startup.texi: Add next, previous, and top entries for
43698         the `Program Arguments' and `Environment Variables' nodes.
43700 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
43702         * manual/macros.texi: Add comments before MTASC-safety macros.
43704         * manual/users.texi: Document MTASC-safety properties.
43706         * manual/threads.texi (pthread_key_create, pthread_key_delete)
43707         (pthread_getspecific, pthread_setspecific): Format with
43708         @deftypefun, and add @safety note.
43709         * manual/signal.texi: Move comments that analyze the above
43710         functions to their home place.
43712 2014-02-03  Allan McRae  <allan@archlinux.org>
43714         * po/sl.po: Update Slovenian translation from translation project.
43716 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
43718         * manual/time.texi (timegm): Add missing blank after @c.
43719         Reported by Joseph Myers <joseph@codesourcery.com>.
43721 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
43723         * manual/check-safety.sh: New.
43724         * manual/Makefile ($(objpfx)stamp-summary): Run it.
43726         * manual/terminal.texi: Document MTASC-safety properties.
43728         * manual/filesys.texi: Document MTASC-safety properties.
43730         * manual/errno.texi: Document MTASC-safety properties.
43732         * manual/intro.texi: Document safety identifiers and
43733         conditionals.
43735         * manual/string.texi (wcstok): Fix prototype.
43736         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
43738         * manual/time.texi: Document MTASC-safety properties.
43740         * manual/string.texi: Document MTASC-safety properties.
43742         * manual/threads.texi: Document MTASC-safety properties.
43744         * manual/stdio.texi: Document MTASC-safety properties.
43746         * manual/syslog.texi: Document MTASC-safety properties.
43748         * manual/sysinfo.texi: Document MTASC-safety properties.
43750         * manual/startup.texi: Document MTASC-safety properties.
43752         * manual/socket.texi: Document MTASC-safety properties.
43754         * manual/signal.texi: Document MTASC-safety properties.
43756 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
43758         * manual/setjmp.texi: Document MTASC-safety properties.
43760         * manual/search.texi: Document MTASC-safety properties.
43762         * manual/resource.texi: Document MTASC-safety properties.
43764         * manual/process.texi: Document MTASC-safety properties.
43766         * manual/platform.texi: Document MTASC-safety properties.
43768         * manual/pipe.texi: Document MTASC-safety properties.
43770         * manual/pattern.texi: Document MTASC-safety properties.
43772         * manual/message.texi: Document MTASC-safety properties.
43774         [BZ #12751]
43775         * manual/memory.texi: Document MTASC-safety properties.
43777         * manual/math.texi: Document MTASC-safety properties.
43779         * manual/locale.texi: Document MTASC-safety properties.
43781         * manual/llio.texi: Document MTASC-safety properties.
43783         * manual/libdl.texi: New.
43785         * manual/lang.texi: Document MTASC-safety properties.
43787         * manual/job.texi: Document MTASC-safety properties.
43789         * manual/getopt.texi: Document MTASC-safety properties.
43791         * manual/ctype.texi: Document MTASC-safety properties.
43793 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
43795         [BZ #16046]
43796         * csu/libc-tls.c (static_map): Remove variable.
43797         (__libc_setup_tls): Use main executable's link map for TLS data.
43798         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
43799         casing for LM_ID_BASE and GL(dl_nns).
43800         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
43801         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
43802         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
43803         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
43804         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
43805         member.
43806         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
43807         l_phnum members.
43809 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
43811         * manual/debug.texi: Document MTASC-safety properties.
43813 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
43815         [BZ #16510]
43816         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
43817         of __x86_64__ when disabling x87 inline functions.
43819 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
43821         * manual/charset.texi: Document MTASC-safety properties.
43823         * manual/crypt.texi: Document MTASC-safety properties.
43825         * manual/conf.texi: Document MTASC-safety properties.
43827         * manual/arith.texi: Document MTASC-safety properties.
43829         * manual/argp.texi: Document MTASC-safety properties.
43831         * manual/macros.texi: Introduce macros to document multi
43832         thread, asynchronous signal and asynchronous cancellation
43833         safety properties.
43834         * manual/intro.texi: Introduce the properties themselves.
43836 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43838         * sysdeps/sh/sh4/Makefile: New file.
43840 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
43842         * math/gen-libm-test.pl ($srcdir): New variable.
43843         ($auto_input): Use it.
43845 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43847         [BZ #16506]
43848         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
43849         access beyond array bounds when parsing netgroups file.
43851         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
43852         the old buffer before realloc.
43854 2014-01-27  Allan McRae  <allan@archlinux.org>
43856         * po/fr.po: Update French translation from translation project.
43858 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43860         * sysdeps/sh/libm-test-ulps: Regenerate.
43862 2014-01-24  David S. Miller  <davem@davemloft.net>
43864         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
43866 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43868         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
43869         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
43871 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43873         [BZ #16474]
43874         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
43875         string pointers after reallocation.
43877 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43879         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
43880         __SH4A__ instead of __SH_FPU_ANY__.
43882 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43884         * sysdeps/sh/fpu_control.h: New file.
43885         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
43886         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
43887         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
43888         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
43889         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
43890         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
43891         * sysdeps/sh/sys/ucontext.h: Remove.
43892         * sysdeps/sh/sys: Remove directory.
43894 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43896         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
43897         s390/sys/ucontext.h.
43898         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
43899         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
43901 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
43903         [BZ #15605]
43904         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
43906 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43908         [BZ#16431]
43909         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
43910         Adjust the vDSO correctly for internal calls.
43911         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
43913 2014-01-20  Allan McRae  <allan@archlinux.org>
43915         * po/ca.po: Update Catalan translation from translation project.
43917 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
43919         * sysdeps/s390/sotruss-lib.c: New file.
43921 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43923         [BZ#16430]
43924         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
43925         (__GI___gettimeofday): Alias for a different internal symbol to avoid
43926         local calls issues by not having a PLT stub required for IFUNC calls.
43927         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
43929 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
43931         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
43932         * math/test-fpucw-static.c: Likewise.
43934 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43936         [BZ #16453]
43937         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
43939 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43941         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
43942         implementation for powerpc.
43944 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
43946         [BZ #14782]
43947         * sysdeps/posix/system.c (__libc_system): Do not enable
43948         asynchronous cancellation.
43950 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43952         [BZ #16427]
43953         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
43954         handling only for numbers special also in the IEEE case.
43956 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43958         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43960 2014-01-11  Allan McRae  <allan@archlinux.org>
43962         * po/bg.po: Update Bulgarian translation from translation project.
43964         * po/de.po: Update German translation from translation project.
43966 2014-01-10  Roland McGrath  <roland@hack.frob.com>
43968         * sysdeps/generic/gcc-compat.h: New file.
43970 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43972         * benchtests/asin-inputs: Correct slow inputs.
43973         * benchtests/acos-inputs: Likewise.
43975 2014-01-10  Allan McRae  <allan@archlinux.org>
43977         * po:sv.po: Update Swedish translation from translation project.
43979         * po/vi.po: Update Vietnamese translation from translation project.
43981         * po/eo.po: Update Esperanto translation from translation project.
43983         * po/cs.po: Update Czech translation from translation project.
43985         * po/nl.po: Update Dutch translation from translation project.
43987         * po/pl.po: Update Polish translation from translation project.
43989         * po/ru.po: Update Russian translation from translation project.
43991         * po/uk.po: Update Ukrainian translation from translation project.
43993 2014-01-08  Brooks Moses  <bmoses@google.com>
43995         * elf/dl-load.c: Fix comment typo.
43997 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
43999         * po/header.pot: Rename to...
44000         * po/pot.header: ... this.
44001         * po/Makefile: Use pot.header.
44003 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
44004             Maxim Kuvyrkov  <maxim@kugelworks.com>
44006         [BZ #16394]
44007         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
44008         SRC and DEST against LEN.
44010 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44012         [BZ #16414]
44013         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
44014         implementation.
44015         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
44017 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44021 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
44023         [BZ #16408]
44024         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
44025         for large positive arguments.
44027 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
44029         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
44031         * math/auto-libm-test-in: Mark various tests with
44032         xfail-rounding:ldbl-128ibm.
44033         * math/auto-libm-test-out: Regenerated.
44035         [BZ #16407]
44036         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
44037         Increase overflow threshold.
44039 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
44041         [BZ #14286]
44042         * stdio-common/vfprintf.c: Check for integer overflow.
44044 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44046         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
44047         the first argument and return value of __tls_get_addr_internal.
44049 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44051         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
44052         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
44054 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44056         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
44057         * sysdeps/s390/rtld-global-offsets.sym: New file.
44058         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
44059         GLIBC_2.19 symbol.
44060         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
44061         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
44062         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
44063         ... this.
44064         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
44065         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
44066         ... this.
44067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44068         Regenerate.
44069         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44070         Regenerate.
44071         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
44072         halfs of GPRs for high_gprs contexts.
44073         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
44074         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
44075         field.
44076         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
44077         uc_flags field.
44078         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
44079         64 bit versions:
44080         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
44081         for high GPRs (uc_high_gprs) and for future extensions
44082         (__reserved).
44083         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
44084         for future extensions (__reserved).
44085         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
44086         64 bit versions:
44087         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
44088         SC_HIGHGPRS offset definition.
44089         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
44090         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
44092         * Versions.def: Add GLIBC_2.19 for libpthread.
44093         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
44094         siglongjmp for libpthread with GLIBC_2.19 symver.
44095         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
44096         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
44097         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
44098         * sysdeps/s390/__longjmp.c: New file.
44099         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
44100         * sysdeps/s390/longjmp.c: New file.
44101         * sysdeps/s390/setjmp.S: New file.
44102         * sysdeps/s390/sigjmp.S: New file.
44103         * sysdeps/s390/v1-longjmp.c: New file.
44104         * sysdeps/s390/v1-setjmp.h: New file.
44105         * sysdeps/s390/v1-sigjmp.c: New file.
44106         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
44107         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
44108         GLIBC_2.19 version.
44109         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
44110         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
44111         versioned symbols for ____longjmp_chk.
44112         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
44113         Likewise.
44114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44115         Regenerate.
44116         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44117         Regenerate.
44118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44119         Regenerate.
44120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44121         Regenerate.
44122         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
44123         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
44124         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
44125         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
44126         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
44127         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
44128         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
44129         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
44130         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
44131         * sysdeps/s390/rtld-__longjmp.c: New file.
44132         * sysdeps/s390/rtld-setjmp.S: New file.
44134 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
44136         [BZ #16400]
44137         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
44138         Return -__logl (x) for small positive arguments without evaluating
44139         a polynomial.
44141 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
44143         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
44144         Rename to ...
44145         (__ptrace_peeksiginfo_args): ... this.
44146         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44147         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44148         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44150 2014-01-06  Allan McRae  <allan@archlinux.org>
44152         * inet/netinet/in.h: Fix typo in comment.
44154 2014-01-05  Andreas Jaeger  <aj@suse.de>
44156         * sysdeps/i386/fpu/libm-test-ulps: Update.
44158 2014-01-05  Allan McRae  <allan@archlinux.org>
44160         * po/libc.pot: Regenerated.
44162         * malloc/memusagestat.c: Fix gettext call formatting.
44164 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
44166         * nscd/nscd.c: Improve usage() output.
44168 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
44170         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
44171         * sysdeps/unix/sysv/linux/configure: Regenerated.
44172         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
44173         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
44175 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
44177         [BZ #16390]
44178         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
44179         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
44181 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44183         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
44184         extra tokens at end of #undef directive.
44185         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
44186         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
44187         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
44189 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
44191         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
44193         * math/auto-libm-test-in: Mark various tests with
44194         xfail-rounding:ldbl-128ibm.
44195         * math/auto-libm-test-out: Regenerated.
44197 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
44199         [BZ #16386]
44200         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
44201         numbers with subnormal high part when calculating exponent.
44203         [BZ #16385]
44204         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
44205         fabs.
44207         [BZ #16384]
44208         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
44209         M_LN2l.
44210         (__ieee754_acoshl): Use __log1pl not __log1p.
44212 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
44214         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
44215         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
44216         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
44217         (grow_heap, heap_trim, _int_new_arena, get_free_list)
44218         (reused_arena, arena_get2): Convert to GNU style.
44219         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
44220         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
44221         (memalign_check, __malloc_set_state): Likewise.
44222         * malloc/mallocbug.c (main): Likewise.
44223         * malloc/malloc.c (__malloc_assert, malloc_init_state)
44224         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
44225         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
44226         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
44227         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
44228         (__posix_memalign, malloc_info): Likewise.
44229         * malloc/malloc.h: Likewise.
44230         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
44231         (mallochook, memalignhook, reallochook, mabort): Likewise.
44232         * malloc/mcheck.h: Likewise.
44233         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
44234         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
44235         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
44236         * malloc/morecore.c (__default_morecore): Likewise.
44237         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
44238         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
44239         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
44240         (print_and_abort): Likewise.
44241         * malloc/obstack.h: Likewise.
44242         * malloc/set-freeres.c (__libc_freeres): Likewise.
44243         * malloc/tst-mallocstate.c (main): Likewise.
44244         * malloc/tst-mtrace.c (main): Likewise.
44245         * malloc/tst-realloc.c (do_test): Likewise.
44247 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44249         [BZ #16366]
44250         * nscd/netgroupcache.c (do_notfound): New function.
44251         (addgetnetgrentX): Use it.
44253         [BZ # 16365]
44254         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
44255         NSS_STATUS_NOTFOUND.
44257 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
44259         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
44260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44262 2014-01-01  Allan McRae  <allan@archlinux.org>
44264         * scripts/update-copyrights: Update configure input file suffix.
44266         * NEWS: Update copyright year.
44267         * catgets/gencat.c: Likewise.
44268         * csu/version.c: Likewise.
44269         * debug/catchsegv.sh: Likewise.
44270         * debug/pcprofiledump.c: Likewise.
44271         * debug/xtrace.sh: Likewise.
44272         * elf/ldconfig.c: Likewise.
44273         * elf/ldd.bash.in: Likewise.
44274         * elf/pldd.c: Likewise.
44275         * elf/sotruss.ksh: Likewise.
44276         * elf/sprof.c: Likewise.
44277         * iconv/iconv_prog.c: Likewise.
44278         * iconv/iconvconfig.c: Likewise.
44279         * locale/programs/locale.c: Likewise.
44280         * locale/programs/localedef.c: Likewise.
44281         * login/programs/pt_chown.c: Likewise.
44282         * malloc/memusage.sh: Likewise.
44283         * malloc/memusagestat.c: Likewise.
44284         * malloc/mtrace.pl: Likewise.
44285         * manual/libc.texinfo: Likewise.
44286         * nscd/nscd.c: Likewise.
44287         * nss/getent.c: Likewise.
44288         * nss/makedb.c: Likewise.
44289         * posix/getconf.c: Likewise.
44290         * scripts/test-installation.pl: Likewise.
44292         * All files with FSF copyright notices: Update copyright dates
44293         using scripts/update-copyrights.
44294         * intl/plural.c: Regenerated.
44295         * locale/programs/charmap-kw.h: Likewise.
44296         * locale/programs/locfile-kw.h: Likewise.
44298 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
44300         * sysdeps/unix/sysv/linux/configure: Regenerated.
44301         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
44302         the linux/fanotify.h header.
44303         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
44304         HAVE_LINUX_FANOTIFY_H is defined.
44306 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
44308         * benchtests/cos-inputs: New inputs.
44309         * benchtests/sin-inputs: Likewise.
44311         * benchtests/atan-inputs: New inputs. Fix name of multiple
44312         precision fallback inputs.
44314         * benchtests/atanh-inputs: New inputs.
44315         * benchtests/tanh-inputs: Likewise.
44317         * benchtests/acosh-inputs: New inputs.
44318         * benchtests/asinh-inputs: Likewise.
44320         * benchtests/cosh-inputs: New inputs.
44321         * benchtests/sinh-inputs: Likewise.
44323         * benchtests/acos-inputs: Add more inputs.
44324         * benchtests/asin-inputs: Likewise.
44326 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
44328         [BZ #16375]
44329         * manual/arith.texi: Fix spelling.
44330         * manual/charset.texi: Likewise.
44331         * manual/errno.texi: Likewise.
44332         * manual/filesys.texi: Likewise.
44333         * manual/lang.texi: Likewise.
44334         * manual/llio.texi: Likewise.
44335         * manual/locale.texi: Likewise.
44336         * manual/message.texi: Likewise.
44337         * manual/resource.texi: Likewise.
44338         * manual/search.texi: Likewise.
44339         * manual/setjmp.texi: Likewise.
44340         * manual/stdio.texi: Likewise.
44341         * manual/string.texi: Likewise.
44342         * manual/sysinfo.texi: Likewise.
44343         * manual/time.texi: Likewise.
44345 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
44347         * po/sl.po: New file.
44349 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
44351         * .gitignore: Add core/.gdbinit/.gdb_history.
44353 2013-12-27  Allan McRae  <allan@archlinux.org>
44355         [BZ #16369]
44356         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
44357         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
44359 2013-12-24  Brooks Moses  <bmoses@google.com>
44361         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
44362         all compilers that claim C++98 compliance, not just GCC.
44363         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
44364         Likewise.
44366 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
44368         * NEWS: Restore accidentally deleted bug-fix entries.
44370 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
44371             Ondřej Bílka  <neleai@seznam.cz>
44373         [BZ #15073]
44374         * malloc/malloc.c (_int_free): Perform sanity check only if we
44375         have_lock.
44377 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
44379         [BZ #12986]
44380         * manual/stdio.texi (String Input Conversions): Clarify that character
44381         classes are not supported.
44383 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44387 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
44389         [BZ #16337]
44390         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
44391         Calculate results for small negative arguments directly rather
44392         than using reflection formula with special underflow handling.
44394         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
44395         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
44396         sysdeps/unix/bsd/bsd4.4/syscalls.list.
44397         (fchflags): Likewise.
44398         (revoke): Likewise.
44399         (setlogin): Likewise.
44400         (sigaltstack): Likewise.
44401         (wait4): Likewise.
44402         (sigblock): Remove.
44403         (sigsetmask): Likewise.
44404         (wait3): Likewise.
44405         (waitpid): Likewise.
44406         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
44407         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
44408         file.
44409         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
44410         * sysdeps/unix/bsd/Makefile: ... here.
44411         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
44412         * sysdeps/unix/bsd/Versions: ... here.
44413         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
44414         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
44415         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
44416         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
44417         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
44418         * sysdeps/unix/bsd/sigblock.c: ... here.
44419         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
44420         * sysdeps/unix/bsd/sigsetmask.c: ... here.
44421         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
44422         * sysdeps/unix/bsd/sigvec.c: ... here.
44423         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
44424         * sysdeps/unix/bsd/tcdrain.c: ... here.
44425         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
44426         * sysdeps/unix/bsd/tcgetattr.c: ... here.
44427         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
44428         * sysdeps/unix/bsd/tcsetattr.c: ... here.
44429         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
44430         * sysdeps/unix/bsd/wait.c: ... here.
44431         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
44432         * sysdeps/unix/bsd/wait3.c: ... here.
44433         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
44434         * sysdeps/unix/bsd/waitpid.c: ... here.
44436 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
44438         [BZ #16356]
44439         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
44440         round-to-nearest for [!USE_AS_EXPM1L].
44441         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
44442         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
44443         more tests of exp and exp10.  Expect some exp10 tests to miss
44444         exceptions or fail in directed rounding modes.
44445         * math/auto-libm-test-out: Regenerated.
44446         * math/libm-test.inc (exp10_tonearest_test_data): New array.
44447         (exp10_test_tonearest): New function.
44448         (exp10_towardzero_test_data): New array.
44449         (exp10_test_towardzero): New function.
44450         (exp10_downward_test_data): New array.
44451         (exp10_test_downward): New function.
44452         (exp10_upward_test_data): New array.
44453         (exp10_test_upward): New function.
44454         (main): Call the new functions.
44455         * sysdeps/i386/fpu/libm-test-ulps: Update.
44456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44458 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
44460         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
44461         asinh, atan, atan2, atanh, cbrt, cos and cosh.
44462         * math/auto-libm-test-out: Regenerated.
44463         * math/libm-test.inc (acosh_test_data): Add more tests.
44464         (atanh_test_data): Likewise.
44465         (ceil_test_data): Likewise.
44466         (copysign_test_data): Likewise.
44467         * sysdeps/i386/fpu/libm-test-ulps: Update.
44468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44470         * timezone/checktab.awk: Update from tzcode 2013i.
44471         * timezone/private.h: Likewise.
44472         * timezone/scheck.c: Likewise.
44473         * timezone/tzfile.h: Likewise.
44474         * timezone/tzselect.ksh: Likewise.
44475         * timezone/zdump.c: Likewise.
44476         * timezone/zic.c: Likewise.
44478         * math/auto-libm-test-in: Add tests of cpow.
44479         * math/auto-libm-test-out: Regenerated.
44480         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
44481         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44482         mpc_cc_c.
44483         (func_calc_desc): Add mpc_cc_c union field.
44484         (test_functions): Add cpow.
44485         (special_fill_2pi): New function.
44486         (special_real_inputs): Add 2pi.
44487         (calc_generic_results): Handle mpc_cc_c.
44488         * sysdeps/i386/fpu/libm-test-ulps: Update.
44489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44491         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
44492         csqrt, ctan and ctanh.
44493         * math/auto-libm-test-out: Regenerated.
44494         * math/libm-test.inc (TEST_COND_x86_64): New macro.
44495         (TEST_COND_x86): Likewise.
44496         (ccos_test_data): Use AUTO_TESTS_c_c.
44497         (ccosh_test_data): Likewise.
44498         (cexp_test_data): Likewise.
44499         (clog_test_data): Likewise.
44500         (csqrt_test_data): Likewise.
44501         (ctan_test_data): Likewise.
44502         (ctan_tonearest_test_data): Likewise.
44503         (ctan_towardzero_test_data): Likewise.
44504         (ctan_downward_test_data): Likewise.
44505         (ctan_upward_test_data): Likewise.
44506         (ctanh_test_data): Likewise.
44507         (ctanh_tonearest_test_data): Likewise.
44508         (ctanh_towardzero_test_data): Likewise.
44509         (ctanh_downward_test_data): Likewise.
44510         (ctanh_upward_test_data): Likewise.
44511         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44512         mpc_c_c.
44513         (func_calc_desc): Add mpc_c_c union field.
44514         (FUNC_mpc_c_c): New macro.
44515         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
44516         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
44517         ctanh.
44518         (special_fill_min_subnorm_p120): New function.
44519         (special_real_inputs): Add min_subnorm_p120.
44520         (calc_generic_results): Handle mpc_c_c.
44521         * sysdeps/i386/fpu/libm-test-ulps: Update.
44522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44524 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44526         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
44527         (do_sin_slow): New functions.
44528         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
44529         (cslow2, csloww1, csloww2): Use the new functions.
44531         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
44532         Use M to change sign of result instead of X.  Assume X is
44533         positive.
44534         (csloww1): Likewise.
44535         (__sin): Adjust.
44536         (__cos): Adjust.
44538         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
44539         arguments A and DA.
44540         (__sin): Adjust.
44541         (__cos): Likewise.
44543         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
44544         (__cos): Likewise.
44545         (sloww1): Don't adjust sign of DX.
44546         (csloww1): Likewise.
44547         (sloww2): Use X directly and don't adjust sign of DX.
44548         (csloww2): Likewise.
44550 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44552         * math/auto-libm-test-in: Add tests of cabs and carg.
44553         * math/auto-libm-test-out: Regenerated.
44554         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
44555         (carg_test_data): Likewise.
44556         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44557         mpc_c_f.
44558         (func_calc_desc): Add mpc_c_f union field.
44559         (test_functions): Add cabs and carg.
44560         (calc_generic_results): Handle mpc_c_f.
44562         * sysdeps/powerpc/powerpc32/libgcc-compat.S
44563         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
44564         as a macro and a compat symbol.
44565         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
44566         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
44567         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
44568         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
44569         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
44570         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
44571         not use .hidden.
44572         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
44573         Likewise.
44574         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
44575         Likewise.
44576         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
44577         Likewise.
44578         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
44579         Likewise.
44580         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
44581         Likewise.
44582         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
44583         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
44584         from GLIBC_2.3.2.
44586 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44590 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44592         * manual/texinfo.tex: Update to version 2013-11-26.10 with
44593         trailing whitespace removed.
44594         * scripts/config.guess: Update to version 2013-11-29.
44595         * scripts/config.sub: Update to version 2013-10-01.
44597         * math/auto-libm-test-in: Add tests of sincos.
44598         * math/auto-libm-test-out: Regenerated.
44599         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
44600         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44601         mpfr_f_11.
44602         (func_calc_desc): Add mpfr_f_11 union field.
44603         (test_functions): Add sincos.
44604         (calc_generic_results): Handle mpfr_f_11.
44605         * sysdeps/i386/fpu/libm-test-ulps: Update.
44606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44608 2013-12-19  Andreas Schwab  <schwab@suse.de>
44610         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
44611         CALL_MCOUNT.
44612         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
44613         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
44614         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
44616 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44618         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
44619         * sysdeps/i386/fpu/libm-test-ulps: Update.
44620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44622         [BZ #16293]
44623         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
44624         round-to-nearest mode when using frndint.
44625         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
44626         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44627         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
44628         Likewise.
44629         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
44630         sinh test to fail.
44631         * math/auto-libm-test-out: Regenerated.
44632         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
44633         (TEST_COND_x86): Likewise.
44634         (expm1_tonearest_test_data): New array.
44635         (expm1_test_tonearest): New function.
44636         (expm1_towardzero_test_data): New array.
44637         (expm1_test_towardzero): New function.
44638         (expm1_downward_test_data): New array.
44639         (expm1_test_downward): New function.
44640         (expm1_upward_test_data): New array.
44641         (expm1_test_upward): New function.
44642         (main): Run the new test functions.
44643         * sysdeps/i386/fpu/libm-test-ulps: Update.
44644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44646         * include/features.h: Update comment documenting feature test
44647         macros.  Mention _DEFAULT_SOURCE in comment.
44648         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
44649         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
44650         _BSD_SOURCE and _SVID_SOURCE.
44651         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
44652         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
44653         !_SVID_SOURCE]: Likewise.
44654         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44655         (__USE_POSIX_IMPLICITLY): Define.
44656         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44657         (_POSIX_SOURCE): Undefine and redefine.
44658         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44659         (_POSIX_C_SOURCE): Likewise.
44660         * manual/creature.texi (_DEFAULT_SOURCE): Document.
44661         (Feature Test Macros): Update documentation of default features.
44663 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44665         * benchtests/Makefile: Add bench-strtok.
44666         * benchtests/bench-strtok.c: New file: strtok benchtest.
44668 2013-12-19  Allan McRae  <allan@archlinux.org>
44670         * manual/install.texi: Suppress menu for plain text output.
44671         * INSTALL: Regenerated.
44673 2013-12-18  Brooks Moses  <bmoses@google.com>
44675         [BZ #15846]
44676         * misc/getauxval.c: Include errno.h.
44677         (__getauxval): Set errno to ENOENT if the requested type is not
44678         found.
44679         * misc/sys/auxv.h (getauxval): Document that it may set errno;
44680         don't declare with __attribute_const__.
44681         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
44682         * manual/startup.texi: Document that getauxval sets errno.
44684 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
44686         * math/auto-libm-test-in: Add tests of jn and yn.
44687         * math/auto-libm-test-out: Regenerated.
44688         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
44689         (yn_test_data): Likewise.
44690         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44691         mpfr_if_f.
44692         (func_calc_desc): Add mpfr_if_f union field.
44693         (FUNC_mpfr_if_f): New macro.
44694         (test_functions): Add jn and yn.
44695         (calc_generic_results): Assert type of second input for
44696         mpfr_ff_f.  Handle mpfr_if_f.
44697         (output_for_one_input_case): Disable all checking for arguments
44698         fitting floating-point types in case of an integer argument.
44699         * sysdeps/i386/fpu/libm-test-ulps: Update.
44700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
44703         Don't expect fegetround reference in libm.so.
44705 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44707         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
44708         $(config-cflags-nofma).
44710 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
44712         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
44713         * math/auto-libm-test-out: Regenerated.
44715         [BZ #16338]
44716         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
44717         to determine exponent and adjust argument to have exponent of -1.
44718         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
44719         log2.
44720         * math/auto-libm-test-out: Regenerated.
44721         * sysdeps/i386/fpu/libm-test-ulps: Update.
44722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44724 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
44726         * manual/probes.texi: Remove cases when per-thread arenas are
44727         disabled.
44729 2013-12-18  Andreas Schwab  <schwab@suse.de>
44731         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
44732         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
44733         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
44734         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
44735         * sysdeps/i386/i686/multiarch/Makefile: Update.
44736         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
44738 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
44740         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
44741         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
44743 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
44745         [BZ #15968]
44746         Support TZ transition times < 00:00:00.
44747         This is needed for version-3 tz-format files; it supports time
44748         stamps past 2037 for America/Godthab (the only entry in the tz
44749         database for which this change is relevant).
44750         * manual/time.texi (TZ Variable): Document transition times
44751         from -167:59:59 through -00:00:01.
44752         * time/tzset.c (tz_rule): Time of day is now signed.
44753         (__tzset_parse_tz): Parse negative time of day.
44755         Document TZ transition times >= 25:00:00.
44756         * manual/time.texi (TZ Variable): Document transition times from
44757         25:00:00 through 167:59:59.  These are already supported, and this
44758         support will help with version-3 tz-format files.
44760         * manual/time.texi (TZ Variable): Modernize North America example
44761         to reflect current (i.e., 2007-and-later) daylight saving rules.
44763         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
44765 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
44767         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
44768         * sysdeps/unix/bsd/bits/stat.h: Likewise.
44769         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
44770         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
44771         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
44772         * sysdeps/unix/bsd/bsdstat.h: Likewise.
44773         * sysdeps/unix/bsd/clock.c: Likewise.
44774         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
44775         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
44776         * sysdeps/unix/bsd/init-posix.c: Likewise.
44777         * sysdeps/unix/bsd/poll.c: Likewise.
44778         * sysdeps/unix/bsd/ptsname.c: Likewise.
44779         * sysdeps/unix/bsd/seekdir.c: Likewise.
44780         * sysdeps/unix/bsd/setegid.c: Likewise.
44781         * sysdeps/unix/bsd/seteuid.c: Likewise.
44782         * sysdeps/unix/bsd/setgid.c: Likewise.
44783         * sysdeps/unix/bsd/setrgid.c: Likewise.
44784         * sysdeps/unix/bsd/setruid.c: Likewise.
44785         * sysdeps/unix/bsd/setsid.c: Likewise.
44786         * sysdeps/unix/bsd/setuid.c: Likewise.
44787         * sysdeps/unix/bsd/sigaction.c: Likewise.
44788         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
44789         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
44790         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
44791         * sysdeps/unix/bsd/telldir.c: Likewise.
44792         * sysdeps/unix/bsd/times.c: Likewise.
44793         * sysdeps/unix/bsd/usleep.c: Likewise.
44795         * misc/Makefile (install-lib): Remove libbsd-compat.a.
44796         ($(objpfx)libbsd-compat.a): Remove rule.
44798         * include/features.h (__FAVOR_BSD): Do not define.
44799         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
44800         features conflicting with POSIX.
44801         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
44802         (_BSD_SOURCE): Remove description of not being a subset of other
44803         feature test macros.
44804         * manual/job.texi (getpgrp): Do not document BSD version.
44805         (getpgid): Do not document by reference to BSD getpgrp.
44806         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
44807         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
44808         * signal/signal.h [__FAVOR_BSD]: Likewise.
44809         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
44810         instead of making contents conditional on [__FAVOR_BSD].
44811         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
44813 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44815         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44817 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
44819         [BZ #16314]
44820         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
44821         values below 2**-450, not 2**-500.
44822         * math/auto-libm-test-in: Don't allow spurious underflow from
44823         hypot.
44824         * math/auto-libm-test-out: Regenerated.
44826         [BZ #16316]
44827         [BZ #16330]
44828         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
44829         values of ha and hb and sort them after adjusting subnormal
44830         arguments.
44831         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
44832         Likewise.
44833         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
44834         values of ea and eb and sort them after adjusting subnormal
44835         arguments.
44836         * math/auto-libm-test-in: Do not expect some hypot tests of
44837         subnormals to fail.  Add more hypot tests.
44838         * math/auto-libm-test-out: Regenerated.
44840 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44842         [BZ #13304]
44843         * sysdeps/sh/s_fma.c: New file.
44844         * sysdeps/sh/s_fmaf.c: New file.
44845         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
44846         version.
44847         * sysdeps/sh/Implies: Add sh/soft-fp.
44849 2013-12-16  Roland McGrath  <roland@hack.frob.com>
44851         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
44852         level of indirection to members `objname', `errstring', `malloced'.
44853         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
44854         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
44855         it as the __longjmp argument (just pass 1 instead).
44856         (_dl_catch_error): Initialize C with argument pointers and address of
44857         volatile local ERRCODE rather than copying values out of C at return.
44859 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
44861         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
44862         * math/auto-libm-test-out: Regenerated.
44863         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
44864         (hypot_test_data): Likewise.
44865         (pow_test_data): Likewise.
44866         (pow_tonearest_test_data): Likewise.
44867         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44868         mpfr_ff_f.
44869         (func_calc_desc): Add mpfr_ff_f union field.
44870         (FUNC_mpfr_ff_f): New macro.
44871         (test_functions): Add atan2, hypot and pow.
44872         (special_fill_min): New function.
44873         (special_fill_minus_min): Likewise.
44874         (special_fill_min_subnorm): Likewise.
44875         (special_fill_minus_min_subnorm): Likewise.
44876         (special_real_inputs): Add min, -min, min_subnorm and
44877         -min_subnorm.
44878         (calc_generic_results): Handle mpfr_ff_f.
44879         * sysdeps/i386/fpu/libm-test-ulps: Update.
44880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44882 2013-12-16  Will Newton  <will.newton@linaro.org>
44884         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
44885         (Aligned Memory Blocks): Add documentation for aligned_alloc
44886         and suggest it as an alternative to posix_memalign.
44887         (Hooks for Malloc): Document __memalign_hook is also called
44888         for aligned_alloc.  (Summary of Malloc): Add summary for
44889         aligned alloc.  Document __memalign_hook is also called
44890         for aligned_alloc.
44892 2013-12-16  Will Newton  <will.newton@linaro.org>
44894         * manual/memory.texi (Malloc Examples): Clarify default
44895         alignment documentation.  Suggest posix_memalign rather
44896         than memalign or valloc.
44897         (Aligned Memory Blocks): Remove suggestion to use memalign
44898         or valloc.  Remove obsolete comment about BSD.
44899         Document memalign errno values and mark the function obsolete.
44900         Document posix_memalign returned error codes.  Mark valloc
44901         as obsolete.  (Hooks for Malloc): __memalign_hook is also
44902         called for posix_memalign and valloc.
44903         (Summary of Malloc): Add posix_memalign to function summary.
44904         __memalign_hook is also called for posix_memalign and valloc.
44906 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44908         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
44909         TAYLOR_SIN.
44910         (__sin): Adjust.
44911         (__cos): Likewise.
44912         (sloww): Use mynumber union.  Expand ternary operator into
44913         if-else statements.
44914         (cslow): use mynumber union.
44916 2013-12-16  Allan McRae  <allan@archlinux.org>
44918         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
44919         * configure: Regenerated.
44921         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
44923         [BZ #14120]
44924         * configure.ac: Added --enable-maintainer-mode. Check for
44925         autoconf when enabled.
44926         * configure: Regenerated.
44928         * nscd/nscd.service: New file.
44929         * nscd/nscd.tmpfiles: New file.
44931 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
44933         [BZ #12100]
44934         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
44935         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
44936         * sysdeps/x86_64/multiarch/strstr.c: ... here.
44937         (strstr): Add __strstr_sse2_unaligned ifunc.
44938         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
44939         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
44940         (strcasestr): Remove __strcasestr_sse42 ifunc.
44941         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
44942         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
44943         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
44945 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44947         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
44948         * sysdeps/sh/bits/fenv.h: ... here.
44949         * sysdeps/sh/sh4/fpu/bits: Remove directory.
44951 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44953         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
44955         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
44956         hypotf multiarch implementations.
44957         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
44958         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
44959         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
44960         multiarch hypot for PPC64.
44961         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
44962         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
44963         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
44964         multiarch hypotf for PPC64.
44966         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
44967         modff multiarch implementations.
44968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
44969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
44970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
44971         multiarch modf for PPC64.
44972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
44973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
44974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
44975         multiarch modff for PPC64.
44977         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
44978         and logl multiarch implementations.
44979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
44980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
44981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
44982         multiarch logb for PPC64.
44983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
44984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
44985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
44986         multiarch logb for PPC64.
44987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
44988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
44989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
44990         multiarch logb for PPC64.
44992         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
44993         isinff multiarch implementation.
44994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
44995         file.
44996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
44997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
44998         multiarch isinf for PPC64.
44999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
45000         file.
45001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
45002         multiarch isinff for PPC64.
45004         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
45005         finitef multiarch implementation.
45006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
45007         file.
45008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
45009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
45010         multiarch finite for PPC64.
45011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
45012         file.
45013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
45014         multiarch finitef for PPC64.
45016         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
45017         lrint multiarch implementation.
45018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
45019         file.
45020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
45021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
45022         multiarch llrint for PPC64.
45023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
45024         multiarch lrint for PPC64.
45026         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
45027         copysignf multiarch implementation.
45028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
45029         file.
45030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
45031         file.
45032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
45033         multiarch copysign for PPC64.
45034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
45035         multiarch copysignf for PPC64.
45037         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
45038         multiarch implementation.
45039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
45040         file.
45041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
45042         file.
45043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
45044         file.
45045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
45046         file.
45047         multiarch llround for PPC64.
45048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
45049         multiarch trunc for PPC64.
45050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
45051         multiarch truncf for PPC64.
45053         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
45054         multiarch implementation.
45055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
45056         file.
45057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
45058         file.
45059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
45060         file.
45061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
45062         file.
45063         multiarch llround for PPC64.
45064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
45065         multiarch round for PPC64.
45066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
45067         multiarch roundf for PPC64.
45069         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
45070         multiarch implementation.
45071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
45072         file.
45073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
45074         file.
45075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
45076         file.
45077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
45078         file.
45079         multiarch llround for PPC64.
45080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
45081         multiarch floor for PPC64.
45082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
45083         multiarch floorf for PPC64.
45085         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
45086         multiarch implementation.
45087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
45088         file.
45089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
45090         file.
45091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
45092         file.
45093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
45094         file.
45095         multiarch llround for PPC64.
45096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
45097         multiarch ceil for PPC64.
45098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
45099         multiarch ceilf for PPC64.
45101         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
45102         multiarch implementation.
45103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
45104         file.
45105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
45106         file.
45107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
45108         file.
45109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
45110         multiarch llround for PPC64.
45111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
45112         multiarch lround for PPC64.
45114         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
45115         multiarch implementation.
45116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
45117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
45118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
45119         file.
45120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
45121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
45122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
45123         multiarch isnan for PPC64.
45124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
45125         multiarch isnanf for PPC64.
45127         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
45128         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
45129         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
45130         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
45131         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
45132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
45134         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
45135         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45136         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45137         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45139         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
45140         multiarch implementations.
45141         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45142         (__libc_ifunc_impl_list): Likewise.
45143         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
45144         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
45145         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
45146         multiarch stpcpy for PPC64.
45148         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
45149         multiarch implementations.
45150         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45151         (__libc_ifunc_impl_list): Likewise.
45152         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
45153         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
45154         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
45155         multiarch strcpy for PPC64.
45157         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
45158         redefine function name.
45159         (_wordcopy_fwd_dest_aligned): Likewise.
45160         (_wordcopy_bwd_aligned): Likewise.
45161         (_wordcopy_bwd_dest_aligned): Likewise.
45162         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
45163         multiarch implementations.
45164         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45165         (__libc_ifunc_impl_list): Likewise.
45166         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
45167         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
45168         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
45169         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
45170         multiarch wcscpy for PPC64.
45172         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
45173         multiarch implementations.
45174         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45175         (__libc_ifunc_impl_list): Likewise.
45176         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
45177         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
45178         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
45179         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
45180         multiarch wcscpy for PPC64.
45182         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
45183         multiarch implementations.
45184         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45185         (__libc_ifunc_impl_list): Likewise.
45186         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
45187         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
45188         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
45189         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
45190         multiarch wcsrchr for PPC64.
45192         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
45193         multiarch implementations.
45194         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45195         (__libc_ifunc_impl_list): Likewise.
45196         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
45197         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
45198         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
45199         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
45200         multiarch wcschr for PPC64.
45202         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
45203         multiarch implementations.
45204         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45205         (__libc_ifunc_impl_list): Likewise.
45206         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
45207         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
45208         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
45209         multiarch strchrnul for PPC64.
45211         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
45212         implementations.
45213         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45214         (__libc_ifunc_impl_list): Likewise.
45215         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
45216         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
45217         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
45218         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
45219         strchr for PPC64.
45221         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
45222         implementations.
45223         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45224         (__libc_ifunc_impl_list): Likewise.
45225         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
45226         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
45227         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
45228         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
45229         strncmp for PPC64.
45231         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
45232         multiarch implementations.
45233         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45234         (__libc_ifunc_impl_list): Likewise.
45235         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
45236         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
45237         strncasecmp for PPC64.
45238         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
45239         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
45240         multiarch strncasecmp_l for PPC64.
45242         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
45243         multiarch implementations.
45244         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45245         (__libc_ifunc_impl_list): Likewise.
45246         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
45247         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
45248         multiarch strcasecmp for PPC64.
45249         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
45250         file.
45251         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
45252         multiarch strcasecmp_l for PPC64.
45254         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
45255         implementations.
45256         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45257         (__libc_ifunc_impl_list): Likewise.
45258         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
45259         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
45260         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
45261         strnlen for PPC64.
45263         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
45264         implementations.
45265         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45266         (__libc_ifunc_impl_list): Likewise.
45267         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
45268         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
45269         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
45270         strlen for PPC64.
45272         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
45273         implementations.
45274         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45275         (__libc_ifunc_impl_list): Likewise.
45276         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
45277         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
45278         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
45279         rawmemrchr for PPC64.
45281         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
45282         implementation.
45283         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45284         (__libc_ifunc_impl_list): Likewise.
45285         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
45286         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
45287         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
45288         memrchr for PPC64.
45290         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
45291         implementation.
45292         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45293         (__libc_ifunc_impl_list): Likewise.
45294         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
45295         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
45296         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
45297         memchr for PPC64.
45299         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
45300         implementation.
45301         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45302         (__libc_ifunc_impl_list): Likewise.
45303         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
45304         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
45305         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
45306         mempcpy for PPC64.
45308         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
45309         avoid cretion of __bzero symbol.
45310         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
45311         Likewise.
45312         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
45313         Likewise.
45314         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
45315         Likewise.
45316         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
45317         multiarch implementations.
45318         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45319         (__libc_ifunc_impl_list): Likewise.
45320         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
45321         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
45322         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
45323         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
45324         bzero for PPC32.
45325         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
45326         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
45327         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
45328         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
45329         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
45330         memset for PPC64.
45331         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
45333         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
45334         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
45335         implementations.
45336         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45337         (__libc_ifunc_impl_list): Likewise.
45338         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
45339         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
45340         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
45341         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
45342         memcmp for PPC64.
45344         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
45345         multiarch for POWER/PPC64.
45346         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
45347         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
45348         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
45349         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
45350         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
45351         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
45352         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
45353         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
45354         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
45355         memcpy for PPC64.
45357         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
45358         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
45359         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
45360         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
45361         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
45362         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
45363         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
45364         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
45365         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
45366         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
45367         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
45368         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
45369         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
45370         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
45371         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
45372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
45373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
45374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
45375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
45376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
45377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
45378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
45380 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45382         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
45384 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45386         * benchtests/Makefile (bench): Add exp2 and log2.
45387         (LDLIBS-bench-exp2): Add -lm.
45388         (LDLIBS-bench-log2): Likewise.
45389         * benchtests/exp2-inputs: New inputs file.
45390         * benchtests/log2-inputs: New inputs file.
45391         * benchtests/log-inputs: Add new inputs.
45392         * benchtests/tan-inputs: Likewise.
45394 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45396         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
45397         definition...
45398         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
45399         (csloww2): ... from here.
45401         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
45402         instead of structures.
45403         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
45404         (POLYNOMIAL): Likewise.
45405         (TAYLOR_SLOW): Likewise.
45406         (__sin): Likewise.
45407         (__cos): Likewise.
45408         (slow1): Likewise.
45409         (slow2): Likewise.
45410         (sloww): Likewise.
45411         (sloww1); Likewise.
45412         (sloww2): Likewise.
45413         (bsloww1): Likewise.
45414         (bsloww2): Likewise.
45415         (cslow2): Likewise.
45416         (csloww): Likewise.
45417         (csloww1): Likewise.
45418         (csloww2): Likewise.
45420 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
45422         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
45423         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
45424         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
45425         * malloc/hooks.c (realloc_check): Likewise.
45427         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
45428         * malloc/arena.c: Remove PER_THREAD conditional.
45429         [!PER_THREAD]: Remove code.
45430         (ptmalloc_unlock_all2): Likewise.
45431         (ptmalloc_init): Likewise.
45432         (_int_new_arena): Likewise.
45433         (arena_get2): Likewise.
45434         * malloc/hooks.c (__malloc_get_state): Likewise.
45435         (__malloc_set_state): Likewise.
45436         * malloc/malloc.c: Likewise.
45437         (struct malloc_state): Likewise.
45438         (struct malloc_par): Likewise.
45439         (__libc_realloc): Likewise.
45440         (__libc_mallopt): Likewise.
45442 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45444         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
45446 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
45448         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
45449         macro to a function.  Check for zero perturb_byte.
45450         (_int_malloc, _int_free): Remove zero perturb_byte checks.
45452         * malloc/malloc.c: (force_reg): Remove.
45453         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
45454         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
45455         force_reg by atomic_forced_read.
45456         * malloc/arena.c (ptmalloc_init): Likewise.
45457         * malloc/hooks.c (top_check): Likewise.
45459 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45461         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45463 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
45465         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45467 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
45469         * math/auto-libm-test-in: Add tests of lgamma.
45470         * math/auto-libm-test-out: Regenerated.
45471         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
45472         (M_LOG_2_SQRT_PIl): Likewise.
45473         (lgamma_test_data): Use AUTO_TESTS_f_f1.
45474         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45475         mpfr_f_f1.
45476         (func_calc_desc): Add mpfr_f_f1 union field.
45477         (ARGS1): New macro.
45478         (ARGS2): Likewise.
45479         (ARGS3): Likewise.
45480         (ARGS4): Likewise.
45481         (RET1): Likewise.
45482         (RET2): Likewise.
45483         (CALC): Likewise.
45484         (FUNC): Likewise.
45485         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
45486         (test_functions): Add lgamma.
45487         (calc_generic_results): Handle mpfr_f_f1.
45488         * sysdeps/i386/fpu/libm-test-ulps: Update.
45489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45491 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45493         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
45494         __mpn_add_n for PowerPC64/POWER7.
45495         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
45496         __mpn_sub_n for PowerPC64/POWER7.
45498         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
45499         __mpn_addmul_1 for PowerPC64.
45500         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
45501         __mpn_submul_1 for PowerPC64.
45502         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
45503         for PowerPC64.
45504         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
45505         for PowerPC64.
45507 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
45509         [BZ #15089]
45510         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
45512 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45514         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
45516         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
45517         add multiarch folders.
45518         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
45519         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
45520         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
45521         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
45522         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
45523         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
45524         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
45525         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
45526         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
45527         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
45528         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
45529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
45530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
45531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
45532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
45533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
45534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
45536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
45537         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
45538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
45539         New file.
45540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
45541         New file.
45542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
45543         multiarch __ieee754_hypot for PowerPC32.
45544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
45545         New file.
45546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
45547         New file.
45548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
45549         multiarch __ieee754_hypotf for PowerPC32.
45551         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
45552         long_double_symbol only if __logbl is defined.
45553         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
45554         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
45555         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
45556         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
45557         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
45558         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
45559         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
45560         path for implementation.
45561         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
45562         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
45563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
45564         logb, and logbl multiarch implementations for PowerPC32.
45565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
45566         file.
45567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
45568         file.
45569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
45570         multiarch logb for PowerPC32.
45571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
45572         file.
45573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
45574         file.
45575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
45576         multiarch logbf for PowerPC32.
45577         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
45578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
45579         file.
45580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
45581         multiarch logbl implementation for PowerPC32.
45583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
45584         and modff multiarch implementations.
45585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
45586         New file.
45587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
45588         New file.
45589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
45590         multiarch modf for PowerPC32.
45591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
45592         New file.
45593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
45594         New file.
45595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
45596         multiarch modff for PowerPC32.
45598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
45599         and lrintf multiarch implementations.
45600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
45601         New file.
45602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
45603         New file.
45604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
45605         multiarch lrint for PowerPC32.
45606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
45607         file: multiarch lrintf for PowerPC32.
45609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
45610         and lroundf multiarch implementations.
45611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
45612         New file.
45613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
45614         New file.
45615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
45616         New file.
45617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
45618         multiarch lround for PowerPC32.
45619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
45620         file: multiarch lroundf for PowerPC32.
45622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
45623         copysign and copysignf multiarch implementations.
45624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
45625         New file.
45626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
45627         New file.
45628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
45629         file: multiarch copysign for PowerPC32.
45630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
45631         file: multiarch copysignf for PowerPC32.
45633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
45634         and truncf multiarch implementations.
45635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
45636         New file.
45637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
45638         file.
45639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
45640         multiarch trunc for PowerPC32.
45641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
45642         New file.
45643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
45644         New file.
45645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
45646         multiarch truncf for PowerPC32.
45648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
45649         and roundf multiarch implementations.
45650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
45651         New file.
45652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
45653         file.
45654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
45655         multiarch round for PowerPC32.
45656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
45657         New file.
45658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
45659         New file.
45660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
45661         multiarch roundf for PowerPC32.
45663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
45664         and floorf multiarch implementations.
45665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
45666         New file.
45667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
45668         file.
45669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
45670         multiarch floor for PowerPC32.
45671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
45672         New file.
45673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
45674         New file.
45675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
45676         multiarch floorf for PowerPC32.
45678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
45679         and ceilf multiarch implementations.
45680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
45681         New file.
45682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
45683         file.
45684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
45685         multiarch ceil for PowerPC32.
45686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
45687         New file.
45688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
45689         file.
45690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
45691         multiarch ceilf for PowerPC32.
45693         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
45694         is defined.
45695         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
45696         FINITEF is defined.
45697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
45698         and finitef multiarch implementations.
45699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
45700         New file.
45701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
45702         file.
45703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
45704         multiarch finite for PowerPC32.
45705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
45706         New file.
45707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
45708         file: multiarch finitef for PowerPC32.
45710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
45711         and isinff multiarch implementations.
45712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
45713         file.
45714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
45715         file.
45716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
45717         multiarch isinf for PowerPC32.
45718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
45719         New file.
45720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
45721         multiarch isinff for PowerPC32.
45723         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
45724         alias when __isnan is defined.
45725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
45726         and isnanf multiarch implementations.
45727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
45728         file.
45729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
45730         file.
45731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
45732         file.
45733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
45734         file.
45735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
45736         multiarch isnan for PowerPC32.
45737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
45738         New file.
45739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
45740         New file.
45741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
45742         multiarch isnanf for PowerPC32.
45744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
45745         and sqrtf multiarch implementations.
45746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
45747         file.
45748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
45749         file.
45750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
45751         multiarch sqrt for PowerPC32.
45752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
45753         file.
45754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
45755         file.
45756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
45757         multiarch sqrtf for PowerPC32.
45759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
45760         and llroundf multiarch implementations.
45761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
45762         New file.
45763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
45764         New file.
45765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
45766         New file.
45767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
45768         file: multiarch llround for PowerPC32.
45769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
45770         file: multiarch llroundf for PowerPC32.
45772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
45773         multiarch PowerPC32 fpu implementations.
45774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
45775         New file.
45776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
45777         New file.
45778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
45779         multiarch llrint for PowerPC32.
45780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
45781         New file.
45782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
45783         New file.
45784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
45785         file.
45787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
45789         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
45790         file.
45791         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
45792         file.
45793         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
45794         file.
45795         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
45796         multiarch wordcopy for PPC32.
45797         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
45798         wordcopy objects.
45799         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45800         (__libc_ifunc_impl_list): Likewise.
45801         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
45802         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
45803         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
45804         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
45805         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
45806         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
45808         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
45809         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
45810         file.
45811         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
45812         file.
45813         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
45814         file.
45815         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
45816         multiarch wcscpy for PPC32.
45817         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
45818         multiarch objects.
45819         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45820         (__libc_ifunc_impl_list): Likewise.
45821         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
45822         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
45823         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
45824         sysdeps/powerpc/power6/wcscpy.c.
45826         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
45827         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
45828         file.
45829         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
45830         file.
45831         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
45832         file.
45833         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
45834         multiarch wcsrchr for PPC32.
45835         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
45836         multiarch objects.
45837         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45838         (__libc_ifunc_impl_list): Likewise.
45839         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
45840         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
45841         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
45842         sysdeps/powerpc/power6/wcsrchr.c.
45844         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
45845         file.
45846         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
45847         file.
45848         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
45849         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
45850         multiarch wcschr for PPc32.
45851         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
45852         multiarch objects.
45853         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45854         (__libc_ifunc_impl_list): Likewise.
45855         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
45856         * sysdeps/powerpc/power6/wcschr.c: ... to here.
45857         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
45858         sysdeps/powerpc/power6/wcschr.c.
45860         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
45861         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
45862         file.
45863         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
45864         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
45865         file: multiarch strchr for PPC32.
45866         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
45867         multiarch objects.
45868         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45869         (__libc_ifunc_impl_list): Likewise.
45871         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
45872         name.
45873         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
45874         file.
45875         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
45876         file.
45877         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
45878         multiarch strchrnul for PPC32.
45879         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
45880         multiarch objects.
45881         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45882         (__libc_ifunc_impl_list): Likewise.
45884         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
45885         file.
45886         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
45887         multiarch strncasecmp for PPC32.
45888         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
45889         file.
45890         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
45891         multiarch strncasecmp_l for PPC32.
45892         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
45893         strncasecmp multiarch objects.
45894         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45895         (__libc_ifunc_impl_list): Likewise.
45897         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
45898         file.
45899         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
45900         multiarch strncasecmp for PPC32.
45901         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
45902         New file.
45903         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
45904         multiarch strcasecmp_l for PPC32.
45905         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
45906         multiarch objects.
45907         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45908         (__libc_ifunc_impl_list): Likewise.
45910         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
45911         file.
45912         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
45913         file.
45914         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
45915         multiarch strncmp for PPC32.
45916         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
45917         multiarch objects.
45918         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45919         (__libc_ifunc_impl_list): Likewise.
45921         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
45922         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
45923         file.
45924         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
45925         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
45926         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
45927         multiarch objects.
45928         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45929         (__libc_ifunc_impl_list): Likewise.
45931         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
45932         file.
45933         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
45934         file.
45935         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
45936         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
45937         multiarch objects.
45938         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45939         (__libc_ifunc_impl_list): Likewise.
45941         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
45942         file.
45943         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
45944         file.
45945         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
45946         multiarch rawmemchr for PPC32.
45947         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
45948         multiarch objects.
45949         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45950         (__libc_ifunc_impl_list): Likewise.
45952         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
45953         file.
45954         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
45955         file.
45956         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
45957         file: memrchr multiarch for PPC32.
45958         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
45959         multiarch objects.
45960         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45961         (__libc_ifunc_impl_list): Likewise.
45963         * string/memchr.c (__memchr): Using macro to redefine symbol name.
45964         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
45965         file.
45966         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
45967         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
45968         multiarch memchr for PPC32.
45969         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
45970         multiarch objects.
45971         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45972         (__libc_ifunc_impl_list): Likewise.
45974         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
45975         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
45976         file.
45977         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
45978         file.
45979         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
45980         file: multiarch mempcpy for PPC32.
45981         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
45982         multiarch objects.
45983         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45984         (__libc_ifunc_impl_list): Likewise.
45986         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
45987         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
45988         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
45989         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
45990         multiarch bzero for PPC32.
45991         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
45992         file.
45993         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
45994         file.
45995         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
45996         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
45997         file: multiarch memset for PPC32.
45998         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
45999         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
46000         memset multiarch objects.
46001         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46002         (__libc_ifunc_impl_list): Likewise.
46004         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
46005         file.
46006         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
46007         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
46008         memcmp for PPC32.
46009         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
46010         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
46011         multiarch objects.
46012         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46013         (__libc_ifunc_impl_list): Likewise.
46015         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
46016         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
46017         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
46018         file.
46019         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
46020         file.
46021         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
46022         file.
46023         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
46024         multiarch memcpy for PPC32.
46025         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
46026         multiarch objects.
46027         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46028         (__libc_ifunc_impl_list): Likewise.
46030         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
46031         support multiarch for POWER/PPC32.
46032         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
46033         Likewise.
46034         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
46035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
46036         Implies file to make multiarch folder appers before the fpu and
46037         default folder for power4 configuration.
46039 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46041         * scripts/bench.pl: Append volatile keyword to type.
46043 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46045         * sysdeps/sh/sotruss-lib.c: New file.
46046         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
46048 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46050         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46052 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
46054         [BZ #6810]
46055         * math/w_tgamma.c: Include <errno.h>.
46056         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
46057         * math/w_tgammaf.c: Include <errno.h>.
46058         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
46059         * math/w_tgammal.c: Include <errno.h>.
46060         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
46061         * math/auto-libm-test-in: Do not allow missing errno on tgamma
46062         underflow.  Add more tgamma tests.
46063         * math/auto-libm-test-out: Regenerated.
46064         * sysdeps/i386/fpu/libm-test-ulps: Update.
46065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46067         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
46068         sin, sinh, tan, tanh, tgamma, y0 and y1.
46069         * math/auto-libm-test-out: Regenerated.
46070         * math/libm-test.inc (TEST_COND_x86_64): New macro.
46071         (TEST_COND_x86): Likewise.
46072         (M_E2l): Remove macro.
46073         (M_E3l): Likewise.
46074         (M_2_SQRT_PIl): Likewise.
46075         (M_SQRT_PIl): Likewise.
46076         (M_1_DIV_El): Likewise.
46077         (log_test_data): Use AUTO_TESTS_f_f.
46078         (log10_test_data): Likewise.
46079         (log1p_test_data): Likewise.
46080         (log2_test_data): Likewise.
46081         (sin_test_data): Likewise.
46082         (sin_tonearest_test_data): Likewise.
46083         (sin_towardzero_test_data): Likewise.
46084         (sin_downward_test_data): Likewise.
46085         (sin_upward_test_data): Likewise.
46086         (sinh_test_data): Likewise.
46087         (sinh_tonearest_test_data): Likewise.
46088         (sinh_towardzero_test_data): Likewise.
46089         (sinh_downward_test_data): Likewise.
46090         (sinh_upward_test_data): Likewise.
46091         (tan_test_data): Likewise.
46092         (tan_tonearest_test_data): Likewise.
46093         (tan_towardzero_test_data): Likewise.
46094         (tan_downward_test_data): Likewise.
46095         (tan_upward_test_data): Likewise.
46096         (tanh_test_data): Likewise.
46097         (tgamma_test_data): Likewise.
46098         (y0_test_data): Likewise.
46099         (y1_test_data): Likewise.
46100         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
46101         (special_real_inputs): Add pi/4.
46102         * sysdeps/i386/fpu/libm-test-ulps: Update.
46103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46105 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46107         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
46108         "longjmp_target" static probes.
46109         (__longjmp): Rename to __longjmp_symbol.
46110         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46111         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
46112         on which longjmp to generate.
46113         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
46114         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
46115         probe.
46116         (__sigsetjmp): Rename to __sigsetjmp_symbol.
46117         (__sigjmp_save): Rename to __sigjmp_save_symbol.
46118         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46119         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
46120         and __sigjmp_save_symbol based on which sigsetjmp to generated.
46121         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
46123         __longjmp_symbol based on which __longjmp to generate.
46124         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
46125         probe.
46126         (setjmp): Rename to setjmp_symbol.
46127         (__sigsetjmp): Rename to __sigsetjmp_symbol.
46128         (_setjmp): Rename to _setjmp_symbol.
46129         (__sigsetjmp): Rename to __sigsetjmp_symbol.
46130         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
46131         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
46132         which setjmp to generate.
46133         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
46134         "longjmp_target" static probes.
46136 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46138         * benchtests/README: Add note about output arguments.
46139         * benchtests/bench-sincos.c: Remove file.
46140         * benchtests/sincos-inputs: New file.
46141         * scripts/bench.pl: Identify output arguments and define
46142         static variables for them.
46144         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
46146         [BZ #15941]
46147         * Makefile (INSTALL): Add install-plain.texi as the primary
46148         dependency.
46149         * manual/install-plain.texi: New file.
46150         * manual/install.texi: Include node directive only for
46151         non-plaintext output.
46153 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
46155         * stdlib/longlong.h: Update from GCC.
46157         [BZ #6807]
46158         [BZ #15901]
46159         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
46160         * math/w_j0f.c (y0f): Likewise.
46161         * math/w_j0l.c (__y0l): Likewise.
46162         * math/w_j1.c (y1): Likewise.
46163         * math/w_j1f.c (y1f): Likewise.
46164         * math/w_j1l.c (__y1l): Likewise.
46165         * math/w_jn.c (yn): Likewise.
46166         * math/w_jnf.c (ynf): Likewise.
46167         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
46168         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
46169         value for Bessel function domain errors outside _SVID_ mode.
46170         Adjust sign of return value for yn (negative integer, 0).
46171         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
46172         by zero in return for negative x and set sign appropriately for
46173         negative n.
46174         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
46175         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46176         * math/libm-test.inc (y0_test_data): Add more tests and adjust
46177         expectations in error cases.
46178         (y1_test_data): Likewise.
46179         (yn_test_data): Likewise.
46180         * sysdeps/i386/fpu/libm-test-ulps: Update.
46181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46183 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46185         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
46186         "64" to "64-v1".  Add "64-v2".
46187         (abi-64-options): Rename to ...
46188         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
46189         (abi-64-condition): Rename to ...
46190         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
46191         (abi-64-ld-soname): Rename to ...
46192         (abi-64-v1-ld-soname): ... this.
46193         (abi-64-v2-options): Define.
46194         (abi-64-v2-condition): Likewise.
46195         (abi-64-v2-ld-soname): Likewise.
46196         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
46197         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
46198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
46199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
46200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
46202 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46203             Alan Modra  <amodra@gmail.com>
46205         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
46206         New versions for use with the ELFv2 ABI.
46207         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
46208         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
46209         declaration.
46210         (struct La_ppc64v2_retval): Likewise.
46211         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
46212         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
46213         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
46214         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
46215         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
46216         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46217         Do not save or restore CR.
46218         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
46219         (_dl_profile_resolve): Do no save or restore CR.  Support extended
46220         return values for ELFv2 ABI.  Fix location of FPR return registers.
46221         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
46222         updated values for _CALL_ELF == 2.
46223         (La_regs, La_retval, int_retval): Likewise.
46225 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46227         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
46228         (FRAME_MIN_SIZE_PARM): Likewise.
46229         (FRAME_BACKCHAIN): Likewise.
46230         (FRAME_CR_SAVE): Likewise.
46231         (FRAME_LR_SAVE): Likewise.
46232         (FRAME_TOC_SAVE): Likewise.
46233         (FRAME_PARM_SAVE): Likewise.
46234         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
46235         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
46236         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
46237         (call_mcount_parm_offset): New macro.
46238         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
46239         (PROF): Use symbolic stack frame offsets.
46240         (TAIL_CALL_SYSCALL_ERROR): Likewise.
46241         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
46242         Redefine in terms of FRAME_MIN_SIZE.
46243         (_dl_runtime_resolve): Use symbolic stack frame offsets.
46244         (_dl_profile_resolve): Likewise.  Update comment.
46245         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
46246         symbols stack frame offsets.
46247         (__sigsetjmp): Likewise.
46248         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
46249         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
46250         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
46251         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
46253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
46254         (FRAME_BACKCHAIN): Remove.
46255         (FRAME_CR_SAVE): Likewise.
46256         (FRAME_LR_SAVE): Likewise.
46257         (FRAME_COMPILER_DW): Likewise.
46258         (FRAME_LINKER_DW): Likewise.
46259         (FRAME_TOC_SAVE): Likewise.
46260         (FRAME_PARM_SAVE): Likewise.
46261         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
46262         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
46263         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
46264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
46265         (CHECK_SP): Use symbolic stack frame offsets.
46266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
46267         zone" instead of caller's parameter save area for temp storage.
46268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46269         Likewise.  Also, use symbolic stack frame offsets.
46270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
46271         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
46272         our own stack frame instead of the caller's.
46273         (__socket): Use symbolic stack frame offsets.
46275 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46276             Alan Modra  <amodra@gmail.com>
46278         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
46279         Define.
46280         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
46281         (PPC64_LOCAL_ENTRY_OFFSET): Define.
46282         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
46283         New function.
46284         (elf_machine_fixup_plt): Call it.
46285         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
46286         reloc arguments.
46287         (elf_machine_rela): Update call to elf_machine_plt_conflict.
46288         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
46289         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
46290         r2 before calling target.
46292 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46293             Alan Modra  <amodra@gmail.com>
46295         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
46296         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
46297         versions of macros to support ELFv2 ABI.
46298         (LOCALENTRY): New macro.
46299         (ENTRY, EALIGN): Use it.
46300         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
46301         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
46302         fall through into ENTRY entry point.
46303         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
46304         Only define if _CALL_ELF != 2.
46306         (elf_machine_matches_host): Verify ABI version matches.
46307         (RTLD_START): Use LOCALENTRY.
46308         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
46309         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
46310         (PLT_ENTRY_WORDS): New macro.
46311         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
46312         (elf_machine_runtime_setup): Support ELFv2 ABI.
46313         (elf_machine_fixup_plt): Likewise.
46314         (elf_machine_plt_conflict): Likewise.
46315         (resolve_ifunc): Likewise.
46316         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
46317         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
46318         Likewise.
46319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
46320         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
46321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46322         (makecontext): Support ELFv2 ABI.
46323         * elf/elf.h (EF_PPC64_ABI): Define.
46325 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46327         * sysdeps/powerpc/powerpc64/sysdep.h
46328         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
46329         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
46330         (ENTRY) [ASSEMBLER]: ... but instead here ...
46331         (EALIGN) [ASSEMBLER]: ... and here.
46332         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
46333         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
46334         (ENTRY_2) [!ASSEMBLER]: Use it.
46335         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
46336         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
46337         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
46338         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
46339         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
46340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
46341         Use PPC64_LOAD_FUNCPTR.
46343         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
46345 2013-12-04  Alan Modra  <amodra@gmail.com>
46347         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
46348         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
46349         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
46350         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
46352         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
46353         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
46354         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
46355         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
46356         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
46357         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
46359 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46362         (__makecontext): Fix incorrect CFI when backtracing out of
46363         context created via makecontext.
46364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
46365         (__setcontext): Fix incorrect CFI during switch to new context.
46366         (__novec_setcontext): Likewise.
46368 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
46370         [BZ #4772]
46371         * time/strptime_l.c (__strptime_internal): Allow modifiers
46372         in strptime.
46373         * time/tst-strptime.c (day_tests): Add testcase.
46375 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46377         * scripts/bench.pl: Skip over blank lines.
46379 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
46381         [BZ #926]
46382         * manual/time.texi (Calendar Time): Clarify what timezone functions
46383         use.
46385 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46389 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
46391         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
46392         implementation.
46393         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
46394         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
46395         * debug/memset_chk.c (__memset_chk): Likewise.
46396         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
46397         * debug/strncpy_chk.c: Likewise.
46399 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
46401         [BZ #15268]
46402         [BZ #15425]
46403         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
46404         (__ieee754_exp): For possibly underflowing results, check size of
46405         result and force underflow exception if required.
46406         * math/auto-libm-test-in: Add more tests of exp.
46407         * math/auto-libm-test-out: Regenerated.
46408         * sysdeps/i386/fpu/libm-test-ulps: Update.
46409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46411         [BZ #16283]
46412         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
46413         * math/w_exp2f.c (__exp2f): Likewise.
46414         * math/w_exp2l.c (__exp2l): Likewise.
46415         * math/auto-libm-test-in: Do not allow missing errno on exp2
46416         underflow.
46417         * math/auto-libm-test-out: Regenerated.
46419 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
46421         [BZ #16274]
46422         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
46423         handle filename validation.
46424         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
46425         (do_open): Delete.
46427 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
46429         [BZ #6786]
46430         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
46431         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
46432         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
46433         <float.h>.
46434         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
46435         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
46436         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
46437         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
46438         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
46439         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
46440         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
46441         * math/auto-libm-test-in: Don't allow missing errno from erfc.
46442         Add more erfc tests.
46443         * math/auto-libm-test-out: Regenerated.
46444         * sysdeps/i386/fpu/libm-test-ulps: Update.
46445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46447         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
46448         exp2, expm1, j0 and j1.
46449         * math/auto-libm-test-out: Regenerated.
46450         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
46451         (erfc_test_data): Likewise.
46452         (exp_test_data): Likewise.
46453         (exp_tonearest_test_data): Likewise.
46454         (exp_towardzero_test_data): Likewise.
46455         (exp_downward_test_data): Likewise.
46456         (exp_upward_test_data): Likewise.
46457         (exp10_test_data): Likewise.
46458         (exp2_test_data): Likewise.
46459         (expm1_test_data): Likewise.
46460         (j0_test_data): Likewise.
46461         (j1_test_data): Likewise.
46462         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
46463         (input_flag_type): Add flag_xfail_rounding.
46464         (input_flags): Add xfail-rounding.
46465         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
46466         (output_for_one_input_case): Handle flag_xfail_rounding.
46467         * sysdeps/i386/fpu/libm-test-ulps: Update.
46468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46470 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
46472         [BZ #16289]
46473         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
46474         division by 0.
46476 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46478         [BZ #16195]
46479         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
46480         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
46481         (STAP_PROBE0): New macro.
46482         (STAP_PROBE1): Likewise.
46483         (STAP_PROBE2): Likewise.
46484         (STAP_PROBE3): Likewise.
46485         (STAP_PROBE4): Likewise.
46487 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
46489         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
46491 2013-12-02  Steve Ellcey  <sellcey@mips.com>
46493         * benchtests/Makefile (bench): Add sqrt.
46494         (LDLIBS-bench-sqrt): New.
46495         * benchtests/sqrt-input: New.
46497 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
46499         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
46500         (GAIH_EAI): Likewise.
46501         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
46502         (gaih_inet): Likewise.
46503         (getaddrinfo): Don't use GAIH_EAI.
46505         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
46506         (struct gaih): Remove definition.
46508 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46510         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
46511         Use HERRNOP directly.
46513 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46517 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
46519         * math/gen-auto-libm-tests.c (test_functions): Add more
46520         single-argument functions.
46521         (special_fill_pi_2): New function.
46522         (special_fill_minus_pi_2): Likewise.
46523         (special_fill_pi_6): Likewise.
46524         (special_fill_minus_pi_6): Likewise.
46525         (special_fill_pi_3): Likewise.
46526         (special_fill_2pi_3): Likewise.
46527         (special_fill_e): Likewise.
46528         (special_fill_1_e): Likewise.
46529         (special_fill_e_minus_1): Likewise.
46530         (special_real_inputs): Add more special inputs.
46531         (output_for_one_input_case): Do not require ERANGE on underflow to
46532         zero if round-to-nearest result does not underflow to zero, unless
46533         exact results required.
46534         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
46535         atan, atanh, cbrt, cos and cosh.
46536         * math/auto-libm-test-out: Regenerated.
46537         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
46538         (acos_tonearest_test_data): Likewise.
46539         (acos_towardzero_test_data): Likewise.
46540         (acos_downward_test_data): Likewise.
46541         (acos_upward_test_data): Likewise.
46542         (acosh_test_data): Likewise.
46543         (asin_test_data): Likewise.
46544         (asin_tonearest_test_data): Likewise.
46545         (asin_towardzero_test_data): Likewise.
46546         (asin_upward_test_data): Likewise.
46547         (asinh_test_data): Likewise.
46548         (atan_test_data): Likewise.
46549         (atanh_test_data): Likewise.
46550         (cbrt_test_data): Likewise.
46551         (cos_test_data): Likewise.
46552         (cos_tonearest_test_data): Likewise.
46553         (cos_towardzero_test_data): Likewise.
46554         (cos_downward_test_data): Likewise.
46555         (cos_upward_test_data): Likewise.
46556         (cosh_test_data): Likewise.
46557         (cosh_tonearest_test_data): Likewise.
46558         (cosh_towardzero_test_data): Likewise.
46559         (cosh_downward_test_data): Likewise.
46560         (cosh_upward_test_data): Likewise.
46561         * sysdeps/i386/fpu/libm-test-ulps: Update.
46562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46564 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
46566         [BZ #6787]
46567         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
46568         * math/w_exp10f.c (__exp10f): Likewise.
46569         * math/w_exp10l.c (__exp10l): Likewise.
46570         * math/libm-test.inc (exp10_test_data): Add more tests and expect
46571         errno settings in existing tests.
46573         [BZ #14032]
46574         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
46575         precision control set to double precision.
46576         * sysdeps/i386/fpu/w_sqrt.c: New file.
46577         * math/auto-libm-test-in: Add more tests.
46578         * math/auto-libm-test-out: Update.
46580         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
46581         (sqrt_test_tonearest): New function.
46582         (sqrt_towardzero_test_data): New variable.
46583         (sqrt_test_towardzero): New function.
46584         (sqrt_downward_test_data): New variable.
46585         (sqrt_test_downward): New function.
46586         (sqrt_upward_test_data): New variable.
46587         (sqrt_test_upward): New function.
46588         (main): Call the new functions.
46590         * math/gen-auto-libm-tests.c: New file.
46591         * math/auto-libm-test-in: Likewise.
46592         * math/auto-libm-test-out: New generated file.
46593         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
46594         variables.
46595         (%beautify): Add generated representations of zero.
46596         (top level): Set $auto_input and call parse_auto_input.
46597         (beautify): Remove trailing "f" from hex float constants.
46598         (parse_args): Handle XFAIL_TEST.
46599         (convert_condition): New function.
46600         (or_value): Likewise.
46601         (or_cond_value): Likewise.
46602         (generate_testfile): Handle AUTO_TESTS_* lines.
46603         (parse_auto_input): New function.
46604         * math/libm-test.inc (XFAIL_TEST): New macro.
46605         (ERRNO_UNCHANGED): Update value.
46606         (ERRNO_EDOM): Likewise.
46607         (ERRNO_ERANGE): Likewise.
46608         (IGNORE_RESULT): Likewise.
46609         (TEST_COND_flt_32): New macro.
46610         (TEST_COND_dbl_64): Likewise.
46611         (TEST_COND_ldbl_96_intel): Likewise.
46612         (TEST_COND_ldbl_96_m68k): Likewise.
46613         (TEST_COND_ldbl_128): Likewise.
46614         (TEST_COND_ldbl_128ibm): Likewise.
46615         (TEST_COND_long32): Likewise.
46616         (TEST_COND_long64): Likewise.
46617         (TEST_COND_before_rounding): Likewise.
46618         (TEST_COND_after_rounding): Likewise.
46619         (enable_test): Handle XFAIL_TEST flag.
46620         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
46621         with finite results.
46622         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
46623         auto-libm-test-out.
46625 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46626             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46628         [BZ #16214]
46629         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
46630         __tls_get_addr_internal instead of __tls_get_offset in order to
46631         avoid GOT pointer dependency.  Make rtld export
46632         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
46633         __tls_get_addr since we are a __tls_get_offset platform.
46634         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
46635         GOT pointer being set up before.
46636         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
46638 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
46640         * manual/math.texi (Errors in Math Functions): Document accuracy
46641         goals.
46643         [BZ #15004]
46644         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
46645         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
46646         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46647         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46648         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46649         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46650         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46651         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46652         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46653         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46654         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46655         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46656         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46657         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46658         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46659         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46661         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
46662         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
46663         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
46664         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
46665         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
46666         Likewise.
46667         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
46668         Likewise.
46669         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
46670         Likewise.
46671         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
46672         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
46673         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
46674         atomic-feupdateenv and flt-rounds.
46675         * sysdeps/powerpc/nofpu/Versions (libc): Add
46676         __atomic_feholdexcept, __atomic_feclearexcept,
46677         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
46678         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
46679         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
46680         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
46681         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
46682         here.
46683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
46684         Update.
46686         * manual/arith.texi (FP Exceptions): Document that exceptions may
46687         not be raised when matherr is used.
46688         (Math Error Reporting): Document overflow in directed rounding
46689         modes.  Document that errno may not be set when finite values are
46690         returned on overflow.  Document intent to set errno on underflow
46691         only for underflow to zero.
46693         [BZ #16271]
46694         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
46695         round-to-nearest then adjust result for other rounding modes.
46696         * include/fenv.h (fegetround): Use libm_hidden_proto.
46697         * math/fegetround.c (fegetround): Use libm_hidden_def.
46698         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
46699         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
46700         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
46701         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
46702         Likewise.
46703         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
46704         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46705         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
46706         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
46708 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46710         [BZ #16077]
46711         * nss/Versions (libnss_files): Add
46712         _nss_files_gethostbyname3_r.
46713         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
46714         New function.
46715         (HOST_DB_LOOKUP): Remove macro.
46716         (_nss_files_gethostbyname_r): Implement function without the
46717         HOST_DB_LOOKUP macro.
46718         (_nss_files_gethostbyname2_r): Likewise.
46720 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
46722         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
46724 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
46726         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
46727         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
46728         warning.
46730 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46732         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
46733         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
46734         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
46735         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
46736         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
46737         __fe_nomask_env_priv and attribute_hidden.
46738         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
46739         (libc_feupdateenv_test_ppc): Likewise.
46740         (libc_feresetround_ppc): Likewise.
46741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46742         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
46743         compat_symbol macro.
46744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46745         (__fe_nomask_env): Likewise.
46746         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
46748 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46750         * string/Makefile: Remove ifunc tests.
46751         * string/test-string.h: Define TEST_IFUNC.
46752         * string/test-bcopy-ifunc.c: Remove.
46753         * string/test-bzero-ifunc.c: Likewise.
46754         * string/test-memccpy-ifunc.c: Likewise.
46755         * string/test-memchr-ifunc.c: Likewise.
46756         * string/test-memcmp-ifunc.c: Likewise.
46757         * string/test-memcpy-ifunc.c: Likewise.
46758         * string/test-memmem-ifunc.c: Likewise.
46759         * string/test-memmove-ifunc.c: Likewise.
46760         * string/test-mempcpy-ifunc.c: Likewise.
46761         * string/test-memrchr-ifunc.c: Likewise.
46762         * string/test-memset-ifunc.c: Likewise.
46763         * string/test-rawmemchr-ifunc.c: Likewise.
46764         * string/test-stpcpy-ifunc.c: Likewise.
46765         * string/test-stpncpy-ifunc.c: Likewise.
46766         * string/test-strcasecmp-ifunc.c: Likewise.
46767         * string/test-strcasestr-ifunc.c: Likewise.
46768         * string/test-strcat-ifunc.c: Likewise.
46769         * string/test-strchr-ifunc.c: Likewise.
46770         * string/test-strchrnul-ifunc.c: Likewise.
46771         * string/test-strcmp-ifunc.c: Likewise.
46772         * string/test-strcpy-ifunc.c: Likewise.
46773         * string/test-strcspn-ifunc.c: Likewise.
46774         * string/test-strlen-ifunc.c: Likewise.
46775         * string/test-strncasecmp-ifunc.c: Likewise.
46776         * string/test-strncat-ifunc.c: Likewise.
46777         * string/test-strncmp-ifunc.c: Likewise.
46778         * string/test-strncpy-ifunc.c: Likewise.
46779         * string/test-strnlen-ifunc.c: Likewise.
46780         * string/test-strpbrk-ifunc.c: Likewise.
46781         * string/test-strrchr-ifunc.c: Likewise.
46782         * string/test-strspn-ifunc.c: Likewise.
46783         * string/test-strstr-ifunc.c: Likewise.
46785 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46787         * benchtests/Makefile: Remove ifunc tests.
46788         * benchtests/bench-string.h: Define TEST_IFUNC.
46789         * benchtests/bench-bcopy-ifunc.c: Remove.
46790         * benchtests/bench-bzero-ifunc.c: Likewise.
46791         * benchtests/bench-memccpy-ifunc.c: Likewise.
46792         * benchtests/bench-memchr-ifunc.c: Likewise.
46793         * benchtests/bench-memcmp-ifunc.c: Likewise.
46794         * benchtests/bench-memcpy-ifunc.c: Likewise.
46795         * benchtests/bench-memmem-ifunc.c: Likewise.
46796         * benchtests/bench-memmove-ifunc.c: Likewise.
46797         * benchtests/bench-mempcpy-ifunc.c: Likewise.
46798         * benchtests/bench-memrchr-ifunc.c: Likewise.
46799         * benchtests/bench-memset-ifunc.c: Likewise.
46800         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
46801         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
46802         * benchtests/bench-stpcpy-ifunc.c: Likewise.
46803         * benchtests/bench-stpncpy-ifunc.c: Likewise.
46804         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
46805         * benchtests/bench-strcasestr-ifunc.c: Likewise.
46806         * benchtests/bench-strcat-ifunc.c: Likewise.
46807         * benchtests/bench-strchr-ifunc.c: Likewise.
46808         * benchtests/bench-strchrnul-ifunc.c: Likewise.
46809         * benchtests/bench-strcmp-ifunc.c: Likewise.
46810         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
46811         * benchtests/bench-strcpy-ifunc.c: Likewise.
46812         * benchtests/bench-strcspn-ifunc.c: Likewise.
46813         * benchtests/bench-strlen-ifunc.c: Likewise.
46814         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
46815         * benchtests/bench-strncat-ifunc.c: Likewise.
46816         * benchtests/bench-strncmp-ifunc.c: Likewise.
46817         * benchtests/bench-strncpy-ifunc.c: Likewise.
46818         * benchtests/bench-strnlen-ifunc.c: Likewise.
46819         * benchtests/bench-strpbrk-ifunc.c: Likewise.
46820         * benchtests/bench-strrchr-ifunc.c: Likewise.
46821         * benchtests/bench-strsep-ifunc.c: Likewise.
46822         * benchtests/bench-strspn-ifunc.c: Likewise.
46823         * benchtests/bench-strstr-ifunc.c: Likewise.
46825 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46827         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
46829 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46831         * resolv/netdb.h: Use __glibc_reserved instead __unused.
46832         * rt/aio.h: Likewise.
46833         * sysdeps/gnu/bits/utmp.h: Likewise.
46834         * sysdeps/gnu/bits/utmpx.h: Likewise.
46835         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
46836         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
46837         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
46838         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
46839         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
46840         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
46841         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
46842         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
46843         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
46844         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
46845         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
46846         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
46847         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
46848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
46849         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
46850         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
46851         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
46852         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
46853         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
46854         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
46855         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
46856         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
46857         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
46858         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46859         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
46860         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46861         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
46862         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
46863         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
46864         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
46865         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
46866         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
46867         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
46868         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
46869         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
46870         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
46871         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
46872         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
46873         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
46874         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
46875         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
46876         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
46878 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
46880         [BZ #16245]
46881         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
46882         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
46884 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
46886         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
46887         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
46888         Likewise.
46890 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46892         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
46893         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
46894         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
46895         (__fesetround): Remove define.
46896         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
46897         rounding and exceptions handling.
46898         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
46899         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
46900         (__fe_nomask_env): Likewise.
46901         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
46902         __fegetround instead of fegetround.
46903         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
46904         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
46906 2013-11-21  Roland McGrath  <roland@hack.frob.com>
46908         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
46909         it's there.
46911         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
46913 2013-11-21  Meador Inge  <meadori@codesourcery.com>
46915         [BZ #11157]
46916         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
46917         (encrypt_r): Likewise.
46918         * malloc/obstack.h (obstack_free): Likewise.
46919         * posix/unistd.h (encrypt): Likewise.
46921 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
46923         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
46924         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
46925         DL_CALL_DT_FINI() that call the functions directly.
46926         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
46927         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
46928         * elf/dl-fini.c: Likewise.
46930 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
46932         * malloc/hooks.c (memalign_check): Add alignment rounding.
46933         * malloc/malloc.c (_mid_memalign): New function.
46934         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
46935         Implement by calling _mid_memalign.
46936         * manual/probes.texi (Memory Allocation Probes): Remove
46937         memory_valloc_retry and memory_pvalloc_retry.
46939 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46941         * locale/programs/locarchive.c (open_archive): Add const
46942         qualifier to ARCHIVEFNAME and copy default fname to
46943         DEFAULT_FNAME.
46945         [BZ #15601]
46946         * libio/tst-widetext.input: Rename Oriya to Odia.
46947         * locale/iso-639.def: Likewise.
46949         * manual/probes.texi (Mathematical Function Probes): Add
46950         documentation for sin, cos, asin and acos probes.
46951         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
46952         (__sin32): Add slowasin probe.
46953         (__cos32): Add slowacos probe.
46954         (__mpsin): Add slowsin probe.
46955         (__mpcos): Add slowcos probe.
46957 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
46959         [BZ #15483]
46960         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
46961         thread-local __sim_exceptions_thread and global
46962         __sim_exceptions_global.
46963         (__sim_disabled_exceptions): Change to thread-local
46964         __sim_disabled_exceptions_thread and global
46965         __sim_disabled_exceptions_global.
46966         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
46967         and global __sim_round_mode_global.
46968         (__simulate_exceptions): Use thread-local floating-point state and
46969         set global state from it as needed.
46970         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
46971         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
46972         __sim_round_mode_thread.
46973         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
46974         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
46975         and global __sim_exceptions_global.
46976         (__sim_disabled_exceptions): Change to thread-local
46977         __sim_disabled_exceptions_thread and global
46978         __sim_disabled_exceptions_global.
46979         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
46980         and global __sim_round_mode_global.
46981         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
46982         (SIM_SET_GLOBAL): Likewise.
46983         * sysdeps/powerpc/soft-fp/sfp-machine.h
46984         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
46985         __sim_round_mode_thread.
46986         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
46987         __sim_disabled_exceptions_thread.
46988         (__sim_exceptions): Change to __sim_exceptions_thread.
46989         (__sim_disabled_exceptions): Change to
46990         __sim_disabled_exceptions_thread.
46991         (__sim_round_mode): Change to __sim_round_mode_thread.
46992         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
46993         thread-local floating-point state and set global state from it as
46994         needed.
46995         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
46996         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
46997         (__sim_disabled_exceptions): Remove extern declaration.
46998         (feenableexcept): Use thread-local floating-point state and set
46999         global state from it as needed.
47000         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
47001         extern declaration.
47002         (__sim_disabled_exceptions): Likewise.
47003         (__sim_round_mode): Likewise.
47004         (__fegetenv): Use thread-local floating-point state.
47005         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
47006         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
47007         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
47008         floating-point state and set global state from it as needed.
47009         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
47010         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
47011         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
47012         Likewise.
47013         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
47014         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
47015         Likewise.
47016         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
47017         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
47018         Use __sim_round_mode_thread.
47019         * math/test-fenv-tls.c: New file.
47020         * math/Makefile (tests): Add test-fenv-tls.
47021         ($(objpfx)test-fenv-tls): Depend on
47022         $(common-objpfx)nptl/libpthread.so.
47024 2013-11-19  Andreas Schwab  <schwab@suse.de>
47026         * locale/programs/locale.c (show_info): Decode wordarray elements.
47027         * locale/categories.def (LC_MONETARY): Add element for
47028         _NL_MONETARY_CRNCYSTR.
47029         * locale/C-monetary.c (conversion_rate): New variable.
47030         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
47031         element.
47033 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
47035         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
47036         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
47038 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
47040         * elf/Makefile (tst-auxv): New test.
47041         * elf/tst-auxv.c: New
47042         * elf/rtld.c (dl_main): Adjust AT_EXECFN
47044 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
47046         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
47047         (hidden_proto): Caller changed.
47048         (hidden_tls_proto): New macro.
47049         (libc_hidden_tls_proto): Likewise.
47050         (rtld_hidden_tls_proto): Likewise.
47051         (libm_hidden_tls_proto): Likewise.
47052         (libresolv_hidden_tls_proto): Likewise.
47053         (librt_hidden_tls_proto): Likewise.
47054         (libdl_hidden_tls_proto): Likewise.
47055         (libnss_files_hidden_tls_proto): Likewise.
47056         (libnsl_hidden_tls_proto): Likewise.
47057         (libnss_nisplus_hidden_tls_proto): Likewise.
47058         (libutil_hidden_tls_proto): Likewise.
47060 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
47062         [BZ #10253]
47063         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
47064         (decompose_rpath): Defer expansion to fillin_rpath.
47065         (_dl_init_paths): Pass linkmap to fillin_rpath.
47067 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
47069         * benchtests/Makefile: Add strsep.
47070         * benchtests/bench-strsep.c: New file: strsep benchtest.
47071         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
47073 2013-11-18  Andreas Schwab  <schwab@suse.de>
47075         * locale/programs/locale.c (show_info) [case byte]: Check for
47076         '\377' instead of '\177'.
47077         * locale/C-monetary.c (not_available): Always use "\377".
47078         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
47079         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
47080         detect unavailable sign_posn locale elements.
47081         * locale/localeconv.c (__localeconv): For grouping and
47082         mon_grouping handle "\177" and "\377" like no grouping.
47083         (INT_ELEM): New macro.  Use it to set all numeric members.
47084         * locale/programs/ld-monetary.c (monetary_read)
47085         <tok_mon_grouping>: Normalize single -1 to the empty string.
47086         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
47087         Likewise.
47089 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
47091         [BZ #16055]
47092         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
47093         when we match (nil).
47094         * stdio-common/tst-sscanf.c (struct test): Add testcase.
47096 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
47098         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
47099         (NO_TEST_INLINE): Update value.
47100         (ERRNO_UNCHANGED): Likewise.
47101         (ERRNO_EDOM): Likewise.
47102         (ERRNO_ERANGE): Likewise.
47103         (IGNORE_RESULT): Likewise.
47104         (check_float_internal): Check signs of NaN results if
47105         TEST_NAN_SIGN used.
47106         (check_complex): Pass TEST_NAN_SIGN flag through to second
47107         check_float_internal call.
47108         (copysign_test_data): Add tests with quiet NaNs as second
47109         argument.  Use TEST_NAN_SIGN.
47110         (fabs_test_data): Add test of negative quiet NaN argument.  Use
47111         TEST_NAN_SIGN.
47112         (signbit_test_data): Add tests of quiet NaN argument.
47113         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
47115         * math/gen-libm-test.pl (show_exceptions): Take extra argument
47116         $ignore_result.
47117         (parse_args): Handle function results specified as IGNORE.
47118         * math/libm-test.inc (IGNORE_RESULT): New macro.
47119         (check_float_internal): Do not check numerical result if flag
47120         IGNORE_RESULT set.
47121         (check_complex): Pass through IGNORE_RESULT to second
47122         check_float_internal call.
47123         (check_int): Do not check numerical result if flag IGNORE_RESULT
47124         set.
47125         (check_long): Likewise.
47126         (check_bool): Likewise.
47127         (check_longlong): Likewise.
47128         (lrint_test_data): Add tests of infinite and NaN arguments.
47129         (lrint_tonearest_test_data): Likewise.
47130         (lrint_towardzero_test_data): Likewise.
47131         (lrint_downward_test_data): Likewise.
47132         (lrint_upward_test_data): Likewise.
47133         (llrint_test_data): Likewise.
47134         (llrint_tonearest_test_data): Likewise.
47135         (llrint_towardzero_test_data): Likewise.
47136         (llrint_downward_test_data): Likewise.
47137         (llrint_upward_test_data): Likewise.
47138         (lround_test_data): Likewise.
47139         (llround_test_data): Likewise.
47141         * math/libm-test.inc (NO_TEST_INLINE): New macro.
47142         (ERRNO_UNCHANGED): Update value.
47143         (ERRNO_EDOM): Likewise.
47144         (ERRNO_ERANGE): Likewise.
47145         (NO_TEST_INLINE_FLOAT): New macro.
47146         (NO_TEST_INLINE_DOUBLE): Likewise.
47147         (enable_test): New function.
47148         (RUN_TEST_f_f): Check enable_test before running test.
47149         (RUN_TEST_2_f): Likewise.
47150         (RUN_TEST_fff_f): Likewise.
47151         (RUN_TEST_c_f): Likewise.
47152         (RUN_TEST_f_f1): Likewise.
47153         (RUN_TEST_fF_f1): Likewise.
47154         (RUN_TEST_fI_f1): Likewise.
47155         (RUN_TEST_ffI_f1): Likewise.
47156         (RUN_TEST_c_c): Likewise.
47157         (RUN_TEST_cc_c): Likewise.
47158         (RUN_TEST_f_i): Likewise.
47159         (RUN_TEST_f_i_tg): Likewise.
47160         (RUN_TEST_ff_i_tg): Likewise.
47161         (RUN_TEST_f_b): Likewise.
47162         (RUN_TEST_f_b_tg): Likewise.
47163         (RUN_TEST_f_l): Likewise.
47164         (RUN_TEST_f_L): Likewise.
47165         (RUN_TEST_fFF_11): Likewise.
47166         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
47167         conditionals.
47168         (cosh_test_data): Likewise.
47169         (exp_test_data): Likewise.
47170         (expm1_test_data): Likewise.
47171         (hypot_test_data): Likewise.
47172         (pow_test_data): Likewise.
47173         (sinh_test_data): Likewise.
47174         (tanh_test_data): Likewise.
47175         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
47176         flags argument.
47178         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
47179         tests with quiet NaN input and output.
47180         (acosh_test_data): Likewise.
47181         (asin_test_data): Likewise.
47182         (asinh_test_data): Likewise.
47183         (atan_test_data): Likewise.
47184         (atanh_test_data): Likewise.
47185         (atan2_test_data): Likewise.
47186         (cbrt_test_data): Likewise.
47187         (cos_test_data): Likewise.
47188         (cosh_test_data): Likewise.
47189         (erf_test_data): Likewise.
47190         (erfc_test_data): Likewise.
47191         (exp_test_data): Likewise.
47192         (exp10_test_data): Likewise.
47193         (exp2_test_data): Likewise.
47194         (expm1_test_data): Likewise.
47195         (hypot_test_data): Likewise.
47196         (j0_test_data): Likewise.
47197         (j1_test_data): Likewise.
47198         (jn_test_data): Likewise.
47199         (lgamma_test_data): Likewise.
47200         (log_test_data): Likewise.
47201         (log10_test_data): Likewise.
47202         (log1p_test_data): Likewise.
47203         (log2_test_data): Likewise.
47204         (pow_test_data): Likewise.
47205         (scalb_test_data): Likewise.
47206         (sin_test_data): Likewise.
47207         (sincos_test_data): Likewise.
47208         (sinh_test_data): Likewise.
47209         (tan_test_data): Likewise.
47210         (tanh_test_data): Likewise.
47211         (tgamma_test_data): Likewise.
47212         (y0_test_data): Likewise.
47213         (y1_test_data): Likewise.
47214         (yn_test_data): Likewise.
47216         [BZ #16167]
47217         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
47218         argument being NaN and avoid computations with second argument in
47219         that case.
47220         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47221         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
47222         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47224 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
47226         * locale/iso-639.def: Add Chitwani Tharu (the).
47228 2013-11-14  Andreas Schwab  <schwab@suse.de>
47230         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
47231         word instead of empty string.
47233 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47236         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
47237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47238         (__fe_nomask_env): Likewise.
47240 2013-11-13  Steve Ellcey  <sellcey@mips.com>
47242         * benchtests/bench-timing.h: Include time.h.
47244 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
47246         [BZ #15997]
47247         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
47248         to 3.4.0 for x32.
47249         * sysdeps/unix/sysv/linux/configure: Regenerated.
47251 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
47253         [BZ #16151]
47254         * stdlib/strtod_l.c (round_and_return): Do not consider
47255         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
47256         exponent one less than half the least subnormal exponent.
47257         * stdlib/test-strtod-round-data: Add more tests.
47258         * stdlib/tst-strtod-round.c (tests): Regenerated.
47260 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47262         [BZ #14143]
47263         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
47264         (__fe_mask_env): Likewise.
47265         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
47266         libm_hidden_proto and add function prototype.
47267         (__fe_mask_env): Add function prototype.
47268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47269         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
47270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
47271         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
47272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47273         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
47275 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47277         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
47278         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
47280 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47282         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
47283         of htab_find_slot().
47285 2013-11-11  David S. Miller  <davem@davemloft.net>
47287         [BZ #16150]
47288         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
47289         symbol in the non-vis3 case in static builds.
47290         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
47291         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
47292         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
47293         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
47295 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
47297         [BZ #387]
47298         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
47299         it is empty.
47301 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47303         * benchtests/Makefile: Add bench-strtod.
47304         * benchtests/bench-strtod.c: New file: strtod benchtest
47306 2013-11-11  Andreas Schwab  <schwab@suse.de>
47308         [BZ #16153]
47309         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
47310         terminating NUL in key length.
47312 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47314         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
47315         Add artificial ODP entry for vDSO symbol for PPC64.
47316         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
47317         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
47319 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
47321         [BZ #15374]
47322         * nss/getent.c (services_keys): Recognize services starting with digit.
47324 2013-11-06  David S. Miller  <davem@davemloft.net>
47326         [BZ #15985]
47327         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
47328         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
47330 2013-11-06  Will Newton  <will.newton@linaro.org>
47332         * manual/memory.texi (Malloc Examples): Remove register
47333         keyword from examples.
47335 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
47337         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
47339 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
47341         [BZ #6981]
47342         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
47343         depending on [__GCC_IEC_559 > 0].
47344         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
47345         depending on [__GCC_IEC_559_COMPLEX > 0].
47347 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
47349         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
47350         to iso-639.def.
47352 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
47354         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
47356 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
47358         [BZ #16112]
47359         * malloc/malloc (malloc_info): Do not handle first bin as
47360         special case.
47362 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
47364         * locale/iso-639.def: Add Central Nahuatl (nhn).
47366 2013-11-01  Bruno Haible  <bruno@clisp.org>
47368         [BZ #7003]
47369         * manual/math.texi (BSD Random): Specify range upper bound as
47370         in POSIX.
47372 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
47374         * locale/iso-639.def: Add Meadow Mari (mhr).
47376 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
47378         [BZ #14752], [BZ #15763]
47379         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
47380         Validate name.
47381         * rt/tst_shm.c: Add test for escaping directory.
47383 2013-10-31  Andreas Schwab  <schwab@suse.de>
47385         [BZ #15917]
47386         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
47387         followed by 'x' as part of digit sequence.
47388         * stdio-common/tst-sscanf.c (double_tests2): New tests.
47390 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
47392         [BZ #16037]
47393         * configure.ac: allow GNU Make 4.0 and greater.
47394         * configure: Regenerated.
47396 2013-10-30  Will Newton  <will.newton@linaro.org>
47398         [BZ #16038]
47399         * malloc/hooks.c (memalign_check): Limit alignment to the
47400         maximum representable power of two.
47401         * malloc/malloc.c (__libc_memalign): Likewise.
47402         * malloc/tst-memalign.c (do_test): Add test for very
47403         large alignment values.
47404         * malloc/tst-posix_memalign.c (do_test): Likewise.
47406 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
47408         [BZ #11087]
47409         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
47410         (munmap_chunk): Likewise.
47411         (mremap_chunk): Likewise.
47413 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
47415         [BZ #15799]
47416         * stdlib/div.c (div): Remove obsolete code.
47417         * stdlib/ldiv.c (ldiv): Likewise.
47418         * stdlib/lldiv.c (lldiv): Likewise.
47420 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47422         [BZ #16071]
47423         * nss/nss_files/files-XXX.c (get_contents_ret): New
47424         enumerator.
47425         (get_contents): New function.
47426         (internal_getent): Use it.  Expand size of LINEBUFLEN.
47428 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
47430         * configure.in: Moved to ...
47431         * configure.ac: ... here. Change reference to configure.in
47432         to configure.ac.
47433         * sysdeps/arm/preconfigure.ac: ... here.
47434         configure.in to configure.ac.
47435         * sysdeps/gnu/configure.in: Moved to ...
47436         * sysdeps/gnu/configure.ac: ... here.
47437         * sysdeps/i386/configure.in: Moved to ...
47438         * sysdeps/i386/configure.ac: ... here.
47439         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
47440         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
47441         * sysdeps/mach/configure.in: Moved to ...
47442         * sysdeps/mach/configure.ac: ... here.
47443         * sysdeps/mach/hurd/configure.in: Moved to ...
47444         * sysdeps/mach/hurd/configure.ac: ... here.
47445         * sysdeps/powerpc/configure.in: Moved to ...
47446         * sysdeps/powerpc/configure.ac: ... here.
47447         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
47448         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
47449         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
47450         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
47451         * sysdeps/s390/s390-32/configure.in: Moved to ...
47452         * sysdeps/s390/s390-32/configure.ac: ... here.
47453         * sysdeps/s390/s390-64/configure.in: Moved to ...
47454         * sysdeps/s390/s390-64/configure.ac: ... here.
47455         * sysdeps/sh/configure.in: Moved to ...
47456         * sysdeps/sh/configure.ac: ... here.
47457         * sysdeps/sparc/configure.in: Moved to ...
47458         * sysdeps/sparc/configure.ac: ... here.
47459         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
47460         * sysdeps/unix/sysv/linux/configure.ac: ... here.
47461         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
47462         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
47463         * sysdeps/x86_64/configure.in: Moved to ...
47464         * sysdeps/x86_64/configure.ac: ... here.
47465         * sysdeps/x86_64/preconfigure.in: Moved to ...
47466         * sysdeps/x86_64/preconfigure.ac: ... here.
47467         * aclocal.m4: Change reference to configure.in to configure.ac.
47468         * config.h.in: Likewise.
47469         * manual/install.texi: Likewise.
47470         * manual/maint.texi: Likewise.
47471         * Makefile: Likewise.
47472         * malloc/Makefile: Likewise.
47473         * nscd/Makefile: Likewise.
47474         * Makeconfig: Change reference to configure.in and
47475         preconfigure.in to configure.ac and preconfigure.ac
47476         respectively.
47477         * INSTALL: Regenerated.
47478         * configure: Likewise.
47479         * sysdeps/gnu/configure: Likewise.
47480         * sysdeps/i386/configure: Likewise.
47481         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
47482         * sysdeps/mach/configure: Likewise.
47483         * sysdeps/mach/hurd/configure: Likewise.
47484         * sysdeps/powerpc/configure: Likewise.
47485         * sysdeps/powerpc/powerpc32/configure: Likewise.
47486         * sysdeps/powerpc/powerpc64/configure: Likewise.
47487         * sysdeps/s390/s390-32/configure: Likewise.
47488         * sysdeps/s390/s390-64/configure: Likewise.
47489         * sysdeps/sh/configure: Likewise.
47490         * sysdeps/sparc/configure: Likewise.
47491         * sysdeps/unix/sysv/linux/configure: Likewise.
47492         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
47493         * sysdeps/x86_64/configure: Likewise.
47494         * sysdeps/x86_64/preconfigure: Likewise.
47496 2013-10-29  Andreas Schwab  <schwab@suse.de>
47498         * stdio-common/Makefile (tst-swscanf-ENV): Define.
47500 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47502         * benchtests/pow-inputs: Add new inputs.
47504         * benchtests/exp-inputs: Add new inputs.
47506         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
47507         conditional check for return value.
47508         (__cos32): Likewise.
47510 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47512         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
47513         to provide a boost for large inputs with word alignment.
47514         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
47515         implementation based on optimized PPC64 strcpy.
47516         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
47517         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
47518         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
47519         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
47521 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47523         [BZ #2801]
47524         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
47526 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47528         [BZ #14876]
47529         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
47530         * time/tst-strptime.c (day_tests): Add testcase.
47532 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47534         [BZ #14029]
47535         * manual/pattern.texi: Acknowledge that fnmatch can fail.
47537 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
47539         [BZ #16074]
47540         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
47541         MAP_FAILED on error.
47543 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47545         [BZ #16072]
47546         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
47547         heap for large requests.
47549 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
47551         [BZ #9954]
47552         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
47553         result if the result has no associated interface.
47554         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
47555         interface for all 127.X.Y.Z addresses.
47557 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
47559         * locale/iso-639.def: Add Ligurian (lij)
47561 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
47563         [BZ #15825]
47564         * sunrpc/rpc_main.c: Document rpcgen -5.
47566 2013-10-19  Michael Stahl  <mstahl@redhat.com>
47568         * elf/rtld.c (do_preload): Print the reason why preloading failed.
47570 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
47572         [BZ #10278]
47573         * posix/glob.c: Match only directories when trailing slash is present.
47574         * posix/tst-gnuglob.c (my_opendir): Do not open files.
47575         (main): Add testcase.
47577 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
47579         [BZ #15670]
47580         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
47582 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
47584         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
47585         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
47586         AUTH_DES and cindex for FIPS 140-2.
47587         (DES Encryption): Add cindex FIPS 46-3.
47589         * locale/locarchive.h (struct locarhandle): Add fname.
47590         * locale/programs/localedef.c (main): Pass ARGV[remaining]
47591         if an optional argument was specified to --list-archive,
47592         otherwise NULL.
47593         * locale/programs/locarchive.c (show_archive_content): Take new
47594         argument fname and pass it via ah.fname to open_archive.
47595         * locale/programs/localedef.h: Update decl.
47596         (open_archive): If AH->fname is non-null, open that file
47597         rather than the default file name, and don't ignore ENOENT.
47598         (create_archive): Set AH.fname to NULL.
47599         (delete_locales_from_archive): Likewise.
47600         (add_locales_to_archive): Likewise.
47601         * locale/programs/locfile.c (write_all_categories): Likewise.
47603 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
47604             Aldy Hernandez  <aldyh@redhat.com>
47606         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
47607         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
47608         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
47609         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
47610         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
47611         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
47612         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
47613         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
47614         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
47615         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
47616         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
47617         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
47618         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
47619         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
47620         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
47621         Likewise.
47622         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
47623         Likewise.
47624         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
47625         Likewise.
47626         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
47627         Likewise.
47628         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
47629         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
47630         Likewise.
47631         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
47632         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
47633         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
47634         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
47635         Likewise.
47636         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
47637         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
47638         * sysdeps/powerpc/preconfigure: Likewise.
47639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
47640         Likewise.
47641         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
47642         Replace contents of file by #include of <fenv_libc.h>.
47643         * sysdeps/powerpc/soft-fp/sfp-machine.h
47644         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
47645         and <sys/prctl.h>.
47646         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
47647         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
47648         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
47649         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
47650         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
47651         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
47652         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
47653         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
47654         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
47655         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
47656         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
47657         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
47658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47659         Allow copysignl PLT reference to be missing.
47661 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
47662             Joseph Myers  <joseph@codesourcery.com
47664         [BZ #15948]
47665         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
47666         single character.
47667         (add_to_tablewc): Assert sequence of wide characters is nonempty.
47669 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47671         * elf/tst-tls-dlinfo.c: Don't include tls.h.
47672         * elf/tst-tls1.c: Likewise.
47673         * elf/tst-tls10.h: Likewise.
47674         * elf/tst-tls14.c: Likewise.
47675         * elf/tst-tls2.c: Likewise.
47676         * elf/tst-tls3.c: Likewise.
47677         * elf/tst-tls4.c: Likewise.
47678         * elf/tst-tls5.c: Likewise.
47679         * elf/tst-tls6.c: Likewise.
47680         * elf/tst-tls7.c: Likewise.
47681         * elf/tst-tls8.c: Likewise.
47682         * elf/tst-tls9.c: Likewise.
47683         * elf/tst-tlsmod1.c: Likewise.
47684         * elf/tst-tlsmod13.c: Likewise.
47685         * elf/tst-tlsmod13a.c: Likewise.
47686         * elf/tst-tlsmod14a.c: Likewise.
47687         * elf/tst-tlsmod16a.c: Likewise.
47688         * elf/tst-tlsmod16b.c: Likewise.
47689         * elf/tst-tlsmod2.c: Likewise.
47690         * elf/tst-tlsmod3.c: Likewise.
47691         * elf/tst-tlsmod4.c: Likewise.
47692         * elf/tst-tlsmod5.c: Likewise.
47693         * elf/tst-tlsmod6.c: Likewise.
47695 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
47697         [BZ #12486]
47698         * malloc/malloc.c: remove checks for statistics.
47700 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
47702         [BZ #15277]
47703         * inet/inet_net.c (inet_network): Detect additional invalid strings.
47704         * inet/tst-network.c: Add testcase.
47706 2013-10-17  Andreas Schwab  <schwab@suse.de>
47708         [BZ #15218]
47709         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
47710         to determine canonical name.
47712 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
47714         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
47715         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
47716         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47717         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47718         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47719         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47720         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47721         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47722         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47723         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47724         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
47725         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47726         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47727         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47728         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47729         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47730         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47731         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47732         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47733         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47734         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47735         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47736         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47737         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
47738         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
47739         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47740         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47741         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
47742         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47743         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
47744         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47745         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47746         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47747         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47748         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47749         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47750         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47751         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47752         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47753         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47754         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47755         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47756         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47757         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47758         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47759         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47760         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47761         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47762         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47763         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47764         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47765         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47766         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47767         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47768         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47769         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47770         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47771         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47773 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
47775         [BZ #16041]
47776         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
47777         make result into a quiet NaN.
47779 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
47781         * soft-fp/adddf3.c: Fix horizontal whitespace.
47782         * soft-fp/addsf3.c: Likewise.
47783         * soft-fp/addtf3.c: Likewise.
47784         * soft-fp/divdf3.c: Likewise.
47785         * soft-fp/divsf3.c: Likewise.
47786         * soft-fp/divtf3.c: Likewise.
47787         * soft-fp/double.h: Likewise.
47788         * soft-fp/eqdf2.c: Likewise.
47789         * soft-fp/eqsf2.c: Likewise.
47790         * soft-fp/eqtf2.c: Likewise.
47791         * soft-fp/extenddftf2.c: Likewise.
47792         * soft-fp/extended.h: Likewise.
47793         * soft-fp/extendsfdf2.c: Likewise.
47794         * soft-fp/extendsftf2.c: Likewise.
47795         * soft-fp/extendxftf2.c: Likewise.
47796         * soft-fp/fixdfdi.c: Likewise.
47797         * soft-fp/fixdfsi.c: Likewise.
47798         * soft-fp/fixdfti.c: Likewise.
47799         * soft-fp/fixsfdi.c: Likewise.
47800         * soft-fp/fixsfsi.c: Likewise.
47801         * soft-fp/fixsfti.c: Likewise.
47802         * soft-fp/fixtfdi.c: Likewise.
47803         * soft-fp/fixtfsi.c: Likewise.
47804         * soft-fp/fixtfti.c: Likewise.
47805         * soft-fp/fixunsdfdi.c: Likewise.
47806         * soft-fp/fixunsdfsi.c: Likewise.
47807         * soft-fp/fixunsdfti.c: Likewise.
47808         * soft-fp/fixunssfdi.c: Likewise.
47809         * soft-fp/fixunssfsi.c: Likewise.
47810         * soft-fp/fixunssfti.c: Likewise.
47811         * soft-fp/fixunstfdi.c: Likewise.
47812         * soft-fp/fixunstfsi.c: Likewise.
47813         * soft-fp/fixunstfti.c: Likewise.
47814         * soft-fp/floatdidf.c: Likewise.
47815         * soft-fp/floatdisf.c: Likewise.
47816         * soft-fp/floatditf.c: Likewise.
47817         * soft-fp/floatsidf.c: Likewise.
47818         * soft-fp/floatsisf.c: Likewise.
47819         * soft-fp/floatsitf.c: Likewise.
47820         * soft-fp/floattidf.c: Likewise.
47821         * soft-fp/floattisf.c: Likewise.
47822         * soft-fp/floattitf.c: Likewise.
47823         * soft-fp/floatundidf.c: Likewise.
47824         * soft-fp/floatundisf.c: Likewise.
47825         * soft-fp/floatunditf.c: Likewise.
47826         * soft-fp/floatunsidf.c: Likewise.
47827         * soft-fp/floatunsisf.c: Likewise.
47828         * soft-fp/floatunsitf.c: Likewise.
47829         * soft-fp/floatuntidf.c: Likewise.
47830         * soft-fp/floatuntisf.c: Likewise.
47831         * soft-fp/floatuntitf.c: Likewise.
47832         * soft-fp/fmadf4.c: Likewise.
47833         * soft-fp/fmasf4.c: Likewise.
47834         * soft-fp/fmatf4.c: Likewise.
47835         * soft-fp/gedf2.c: Likewise.
47836         * soft-fp/gesf2.c: Likewise.
47837         * soft-fp/getf2.c: Likewise.
47838         * soft-fp/ledf2.c: Likewise.
47839         * soft-fp/lesf2.c: Likewise.
47840         * soft-fp/letf2.c: Likewise.
47841         * soft-fp/muldf3.c: Likewise.
47842         * soft-fp/mulsf3.c: Likewise.
47843         * soft-fp/multf3.c: Likewise.
47844         * soft-fp/negdf2.c: Likewise.
47845         * soft-fp/negsf2.c: Likewise.
47846         * soft-fp/negtf2.c: Likewise.
47847         * soft-fp/op-1.h: Likewise.
47848         * soft-fp/op-2.h: Likewise.
47849         * soft-fp/op-4.h: Likewise.
47850         * soft-fp/op-8.h: Likewise.
47851         * soft-fp/op-common.h: Likewise.
47852         * soft-fp/quad.h: Likewise.
47853         * soft-fp/single.h: Likewise.
47854         * soft-fp/soft-fp.h: Likewise.
47855         * soft-fp/sqrtdf2.c: Likewise.
47856         * soft-fp/sqrtsf2.c: Likewise.
47857         * soft-fp/sqrttf2.c: Likewise.
47858         * soft-fp/subdf3.c: Likewise.
47859         * soft-fp/subsf3.c: Likewise.
47860         * soft-fp/subtf3.c: Likewise.
47861         * soft-fp/truncdfsf2.c: Likewise.
47862         * soft-fp/trunctfdf2.c: Likewise.
47863         * soft-fp/trunctfsf2.c: Likewise.
47864         * soft-fp/trunctfxf2.c: Likewise.
47865         * soft-fp/unorddf2.c: Likewise.
47866         * soft-fp/unordsf2.c: Likewise.
47867         * soft-fp/unordtf2.c: Likewise.
47869 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
47871         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
47872         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
47874 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
47876         * elf/dl-libc.c: Clear initfini list after freeing.
47878 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
47880         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
47881         * soft-fp/addsf3.c: Likewise.
47882         * soft-fp/addtf3.c: Likewise.
47883         * soft-fp/divdf3.c: Likewise.
47884         * soft-fp/divsf3.c: Likewise.
47885         * soft-fp/divtf3.c: Likewise.
47886         * soft-fp/double.h: Likewise.
47887         * soft-fp/eqdf2.c: Likewise.
47888         * soft-fp/eqsf2.c: Likewise.
47889         * soft-fp/eqtf2.c: Likewise.
47890         * soft-fp/extenddftf2.c: Likewise.
47891         * soft-fp/extended.h: Likewise.
47892         * soft-fp/extendsfdf2.c: Likewise.
47893         * soft-fp/extendsftf2.c: Likewise.
47894         * soft-fp/extendxftf2.c: Likewise.
47895         * soft-fp/fixdfdi.c: Likewise.
47896         * soft-fp/fixdfsi.c: Likewise.
47897         * soft-fp/fixdfti.c: Likewise.
47898         * soft-fp/fixsfdi.c: Likewise.
47899         * soft-fp/fixsfsi.c: Likewise.
47900         * soft-fp/fixsfti.c: Likewise.
47901         * soft-fp/fixtfdi.c: Likewise.
47902         * soft-fp/fixtfsi.c: Likewise.
47903         * soft-fp/fixtfti.c: Likewise.
47904         * soft-fp/fixunsdfdi.c: Likewise.
47905         * soft-fp/fixunsdfsi.c: Likewise.
47906         * soft-fp/fixunsdfti.c: Likewise.
47907         * soft-fp/fixunssfdi.c: Likewise.
47908         * soft-fp/fixunssfsi.c: Likewise.
47909         * soft-fp/fixunssfti.c: Likewise.
47910         * soft-fp/fixunstfdi.c: Likewise.
47911         * soft-fp/fixunstfsi.c: Likewise.
47912         * soft-fp/fixunstfti.c: Likewise.
47913         * soft-fp/floatdidf.c: Likewise.
47914         * soft-fp/floatdisf.c: Likewise.
47915         * soft-fp/floatditf.c: Likewise.
47916         * soft-fp/floatsidf.c: Likewise.
47917         * soft-fp/floatsisf.c: Likewise.
47918         * soft-fp/floatsitf.c: Likewise.
47919         * soft-fp/floattidf.c: Likewise.
47920         * soft-fp/floattisf.c: Likewise.
47921         * soft-fp/floattitf.c: Likewise.
47922         * soft-fp/floatundidf.c: Likewise.
47923         * soft-fp/floatundisf.c: Likewise.
47924         * soft-fp/floatunsidf.c: Likewise.
47925         * soft-fp/floatunsisf.c: Likewise.
47926         * soft-fp/floatuntidf.c: Likewise.
47927         * soft-fp/floatuntisf.c: Likewise.
47928         * soft-fp/floatuntitf.c: Likewise.
47929         * soft-fp/fmadf4.c: Likewise.
47930         * soft-fp/fmasf4.c: Likewise.
47931         * soft-fp/fmatf4.c: Likewise.
47932         * soft-fp/gedf2.c: Likewise.
47933         * soft-fp/gesf2.c: Likewise.
47934         * soft-fp/getf2.c: Likewise.
47935         * soft-fp/ledf2.c: Likewise.
47936         * soft-fp/lesf2.c: Likewise.
47937         * soft-fp/letf2.c: Likewise.
47938         * soft-fp/muldf3.c: Likewise.
47939         * soft-fp/mulsf3.c: Likewise.
47940         * soft-fp/multf3.c: Likewise.
47941         * soft-fp/negdf2.c: Likewise.
47942         * soft-fp/negsf2.c: Likewise.
47943         * soft-fp/negtf2.c: Likewise.
47944         * soft-fp/op-1.h: Likewise.
47945         * soft-fp/op-2.h: Likewise.
47946         * soft-fp/op-4.h: Likewise.
47947         * soft-fp/op-8.h: Likewise.
47948         * soft-fp/op-common.h: Likewise.
47949         * soft-fp/quad.h: Likewise.
47950         * soft-fp/single.h: Likewise.
47951         * soft-fp/soft-fp.h: Likewise.
47952         * soft-fp/sqrtdf2.c: Likewise.
47953         * soft-fp/sqrtsf2.c: Likewise.
47954         * soft-fp/sqrttf2.c: Likewise.
47955         * soft-fp/subdf3.c: Likewise.
47956         * soft-fp/subsf3.c: Likewise.
47957         * soft-fp/subtf3.c: Likewise.
47958         * soft-fp/truncdfsf2.c: Likewise.
47959         * soft-fp/trunctfdf2.c: Likewise.
47960         * soft-fp/trunctfsf2.c: Likewise.
47961         * soft-fp/trunctfxf2.c: Likewise.
47962         * soft-fp/unorddf2.c: Likewise.
47963         * soft-fp/unordsf2.c: Likewise.
47964         * soft-fp/unordtf2.c: Likewise.
47966 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
47968         [BZ #15672]
47969         * misc/error.c (error_tail): Fix possible buffer overflow.
47971 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
47973         [BZ #13028]
47974         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
47975         address.
47977 2013-10-14  P. J. McDermott  <pj@pehjota.net>
47979         [BZ #832]
47980         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
47981         testing pipefail option.
47983 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
47985         * soft-fp/double.h: Indent preprocessor directives inside #if.
47986         * soft-fp/extended.h: Likewise.
47987         * soft-fp/op-2.h: Likewise.
47988         * soft-fp/op-4.h: Likewise.
47989         * soft-fp/op-common.h: Likewise.
47990         * soft-fp/quad.h: Likewise.
47991         * soft-fp/single.h: Likewise.
47992         * soft-fp/soft-fp.h: Likewise.
47994 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
47996         * iconv/iconv_prog.c: Fix typos.
47997         * stdio-common/psiginfo-data.h: Likewise.
47999 2013-10-12   Reuben Thomas <rrt@sc3d.org>
48001         [BZ #15764]
48002         * locale/setlocale.c: Fix typo.
48004 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
48006         [BZ #16036]
48007         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
48008         signaling NaN arguments.
48009         * soft-fp/unordsf2.c (__unordsf2): Likewise.
48010         * soft-fp/unordtf2.c (__unordtf2): Likewise.
48012         [BZ #14910]
48013         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
48014         unordered operands.
48015         * soft-fp/gesf2.c (__gesf2): Likewise.
48016         * soft-fp/getf2.c (__getf2): Likewise.
48017         * soft-fp/ledf2.c (__ledf2): Likewise.
48018         * soft-fp/lesf2.c (__lesf2): Likewise.
48019         * soft-fp/letf2.c (__letf2): Likewise.
48021         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
48022         * soft-fp/eqsf2.c (__eqsf2): Likewise.
48023         * soft-fp/eqtf2.c (__eqtf2): Likewise.
48024         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
48025         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
48026         * soft-fp/fixdfti.c (__fixdfti): Likewise.
48027         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
48028         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
48029         * soft-fp/fixsfti.c (__fixsfti): Likewise.
48030         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
48031         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
48032         * soft-fp/fixtfti.c (__fixtfti): Likewise.
48033         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
48034         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
48035         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
48036         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
48037         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
48038         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
48039         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
48040         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
48041         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
48042         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
48043         * soft-fp/floatdisf.c (__floatdisf): Likewise.
48044         * soft-fp/floatsisf.c (__floatsisf): Likewise.
48045         * soft-fp/floattidf.c (__floattidf): Likewise.
48046         * soft-fp/floattisf.c (__floattisf): Likewise.
48047         * soft-fp/floattitf.c (__floattitf): Likewise.
48048         * soft-fp/floatundidf.c (__floatundidf): Likewise.
48049         * soft-fp/floatundisf.c (__floatundisf): Likewise.
48050         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
48051         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
48052         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
48053         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
48054         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
48055         * soft-fp/gesf2.c (__gesf2): Likewise.
48056         * soft-fp/getf2.c (__getf2): Likewise.
48057         * soft-fp/ledf2.c (__ledf2): Likewise.
48058         * soft-fp/lesf2.c (__lesf2): Likewise.
48059         * soft-fp/letf2.c (__letf2): Likewise.
48061         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
48062         Undefine and redefine.
48063         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
48064         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
48065         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
48066         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
48067         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48068         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
48069         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48070         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
48071         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48072         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
48073         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48074         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
48075         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48076         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
48077         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48079         [BZ #16032]
48080         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
48081         without decrementing exponent if mantissa >= that for the
48082         denominator, not >.
48083         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
48084         denominator, not >.  Decrement exponent in < case instead of
48085         incrementing in >= case.
48086         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
48087         without decrementing exponent if mantissa >= that for the
48088         denominator, not >.
48090         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
48091         computing saturated result for unsigned overflow.
48093 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48094             Jeff Law  <law@redhat.com>
48096         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
48097         (atan2Mp): Add systemtap probe marker.
48098         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
48099         (__ieee754_log): Add systemtap probe marker.
48100         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
48101         (atanMp): Add systemtap probe marker.
48102         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
48103         (tanMp): Add systemtap probe marker.
48104         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
48105         (__slowexp): Add systemtap probe marker.
48106         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
48107         (__slowpow): Add systemtap probe marker.
48108         * manual/probes.texi: Document probes.
48110 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
48112         [BZ #15362]
48113         * libio/fileops.c (_IO_new_file_write): Return count of bytes
48114         written.
48115         (_IO_new_file_xsputn): Don't return EOF if nothing has been
48116         written.
48117         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
48118         written to buffer but not flushed.
48119         * libio/iofwrite_u.c:  Likewise.
48120         * libio/iopadn.c:  Return bytes returned even if EOF was
48121         encountered.
48122         * libio/iowpadn.c:  Likewise.
48123         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
48124         if _IO_padn does not write the whole buffer.
48125         [!COMPILE_WPRINTF] (PAD): Likewise.
48127 2013-10-10  David S. Miller  <davem@davemloft.net>
48129         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
48130         directory block.
48132 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
48134         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
48135         instead of FSF address.
48136         * soft-fp/fixdfti.c: Likewise.
48137         * soft-fp/fixsfti.c: Likewise.
48138         * soft-fp/fixtfti.c: Likewise.
48139         * soft-fp/fixunsdfti.c: Likewise.
48140         * soft-fp/fixunssfti.c: Likewise.
48141         * soft-fp/fixunstfti.c: Likewise.
48142         * soft-fp/floattidf.c: Likewise.
48143         * soft-fp/floattisf.c: Likewise.
48144         * soft-fp/floattitf.c: Likewise.
48145         * soft-fp/floatuntidf.c: Likewise.
48146         * soft-fp/floatuntisf.c: Likewise.
48147         * soft-fp/floatuntitf.c: Likewise.
48148         * soft-fp/trunctfxf2.c: Likewise.
48150         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
48151         * soft-fp/fixdfti.c: Likewise.
48152         * soft-fp/fixsfti.c: Likewise.
48153         * soft-fp/fixtfti.c: Likewise.
48154         * soft-fp/fixunsdfti.c: Likewise.
48155         * soft-fp/fixunssfti.c: Likewise.
48156         * soft-fp/fixunstfti.c: Likewise.
48157         * soft-fp/floattidf.c: Likewise.
48158         * soft-fp/floattisf.c: Likewise.
48159         * soft-fp/floattitf.c: Likewise.
48160         * soft-fp/floatuntidf.c: Likewise.
48161         * soft-fp/floatuntisf.c: Likewise.
48162         * soft-fp/floatuntitf.c: Likewise.
48163         * soft-fp/trunctfxf2.c: Likewise.
48165 2013-10-10  David S. Miller  <davem@davemloft.net>
48167         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48169 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
48171         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
48172         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
48173         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
48174         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
48175         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
48176         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
48177         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
48179         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
48180         for NaNs before doing comparisons on argument.
48181         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
48182         Likewise.
48184 2013-10-10  Will Newton  <will.newton@linaro.org>
48186         * malloc/hooks.c (memalign_check): Ensure the value of bytes
48187         passed to _int_memalign does not overflow.
48189 2013-10-10  Torvald Riegel  <triegel@redhat.com>
48191         * scripts/bench.pl: Add include-sources directive.
48192         * benchtests/README: Update documentation.
48194 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
48196         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
48197         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
48198         instead of FP_INIT_ROUNDMODE.
48199         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
48200         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
48202         [BZ #16034]
48203         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
48204         copy class of input value.
48205         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
48206         not handle exceptions.
48207         * soft-fp/negsf2.c (__negsf2): Likewise.
48208         * soft-fp/negtf2.c (__negtf2): Likewise.
48209         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
48211 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
48213         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
48214         semicolon.  From Linux kernel.
48216 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
48218         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
48220 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
48222         [BZ #156]
48223         * manual/socket.texi: Added statement about buffer
48224         for gethostbyname2_r.
48226 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
48228         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
48229         Use .p2align directive instead, throughout.
48230         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
48231         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
48232         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
48233         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48234         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48235         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
48236         * sysdeps/x86_64/strchr.S: Likewise.
48237         * sysdeps/x86_64/strrchr.S: Likewise.
48239 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48241         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
48243         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
48245         * sysdeps/generic/math_private.h (__mpsin1): Remove
48246         declaration.
48247         (__mpcos1): Likewise.
48248         (__mpsin): New argument __range_reduce.
48249         (__mpcos): Likewise.
48250         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48251         (slow): Use __mpsin and __mpcos.
48252         (slow1): Likewise.
48253         (slow2): Likewise.
48254         (sloww): Likewise.
48255         (sloww1): Likewise.
48256         (sloww2): Likewise.
48257         (bsloww): Likewise.
48258         (bsloww1): Likewise.
48259         (bsloww2): Likewise.
48260         (cslow2): Likewise.
48261         (csloww): Likewise.
48262         (csloww1): Likewise.
48263         (csloww2): Likewise.
48264         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
48265         range_reduce.  Merge in __mpsin1.
48266         (__mpcos): Likewise.
48267         (__mpsin1): Remove.
48268         (__mpcos1): Likewise.
48270 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
48272         * locale/loadlocale.c (_nl_intern_locale_data): Use
48273         LOCFILE_ALIGNED_P.
48274         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
48275         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
48276         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
48277         obstack data is appropriately aligned.
48278         (obstack_int32_grow_fast): Likewise.
48279         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
48280         * locale/programs/locfile.c (add_locale_uint32): Likewise.
48281         (add_locale_uint32_array): Likewise.
48283 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
48285         * benchtests/Makefile: Remove ARGLIST and RET variables.
48286         ($(objpfx)bench-%.c): Pass only function name to the script.
48287         * benchtests/README: Update documentation.
48288         * benchtests/acos-inputs: Add new directives.
48289         * benchtests/acosh-inputs: Likewise.
48290         * benchtests/asin-inputs: Likewise.
48291         * benchtests/asinh-inputs: Likewise.
48292         * benchtests/atan-inputs: Likewise.
48293         * benchtests/atanh-inputs: Likewise.
48294         * benchtests/cos-inputs: Likewise.
48295         * benchtests/cosh-inputs: Likewise.
48296         * benchtests/exp-inputs: Likewise.
48297         * benchtests/log-inputs: Likewise.
48298         * benchtests/pow-inputs: Likewise.
48299         * benchtests/rint-inputs: Likewise.
48300         * benchtests/sin-inputs: Likewise.
48301         * benchtests/sinh-inputs: Likewise.
48302         * benchtests/tan-inputs: Likewise.
48303         * benchtests/tanh-inputs: Likewise.
48304         * scripts/bench.pl: Add support for new directives.
48306 2013-10-07  Alan Modra  <amodra@gmail.com>
48308         * README: Fix careless merge.
48310 2013-10-05  Alan Modra  <amodra@gmail.com>
48312         * NEWS: Mention powerpc64le support and bugs fixed.
48313         * README: Both big-endian and little-endian powerpc64 supported.
48315 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48317         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
48318         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
48319         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
48320         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
48322 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
48324         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
48325         match prototype.
48327 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
48329         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
48330         Move -mhard-float appending from
48331         ports/sysdeps/powerpc/powerpc32/Makefile.
48332         [$(with-fp) = yes] (ASFLAGS): Likewise.
48333         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
48334         * sysdeps/powerpc/nofpu: Move directory from
48335         ports/sysdeps/powerpc/nofpu.
48336         * sysdeps/powerpc/soft-fp: Move directory from
48337         ports/sysdeps/powerpc/soft-fp.
48338         * sysdeps/powerpc/powerpc32/405: Move directory from
48339         ports/sysdeps/powerpc/powerpc32/405.
48340         * sysdeps/powerpc/powerpc32/440: Move directory from
48341         ports/sysdeps/powerpc/powerpc32/440.
48342         * sysdeps/powerpc/powerpc32/464: Move directory from
48343         ports/sysdeps/powerpc/powerpc32/464.
48344         * sysdeps/powerpc/powerpc32/476: Move directory from
48345         ports/sysdeps/powerpc/powerpc32/476.
48346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
48347         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
48348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
48349         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
48350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
48351         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
48352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
48353         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
48354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
48355         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
48356         * README: Update for powerpc-*-linux-gnu software floating point
48357         support in libc.
48359         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
48360         case to powerpc/powerpc32*.
48361         * sysdeps/unix/sysv/linux/configure: Regenerated.
48363         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
48364         (_FPU_MASK_OM): Define as 0x04.
48365         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
48366         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
48367         0x00c10080.
48368         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
48369         0x0000003c.
48370         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
48372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
48373         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
48374         getcontext_e500.
48375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
48376         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
48377         setcontext_e500.
48378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
48379         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
48380         and setcontext_e500.
48382 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
48384         * locale/iso-3166.def: Update iso-1366.def and related occurrences
48386 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48388         * manual/threads.texi (Default Thread Attributes): Fix typo.
48390 2013-10-04  Will Newton  <will.newton@linaro.org>
48392         * malloc/Makefile: Add tst-memalign.
48393         * malloc/tst-memalign.c: New file.
48395         * malloc/tst-posix_memalign.c: Add comments.
48396         (do_test): Add comments and call free on all potentially
48397         allocated pointers. Add space after cast.
48399         * malloc/tst-pvalloc.c: Add comments.
48400         (do_test): Add comments and call free on all potentially
48401         allocated pointers. Remove duplicate check for NULL pointer.
48402         Add space after cast.
48404         * malloc/tst-valloc.c: Add comments.
48405         (do_test): Add comments and call free on all potentially
48406         allocated pointers. Remove duplicate check for NULL pointer.
48407         Add space after cast.
48409 2013-10-04  Alan Modra  <amodra@gmail.com>
48411         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
48412         Use stdint types in rather than __attribute__((mode())).
48413         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
48415 2013-10-04  Alan Modra  <amodra@gmail.com>
48417         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
48418         Correct handling of unaligned relocs for little-endian.
48419         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
48421 2013-10-04  Alan Modra  <amodra@gmail.com>
48423         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
48424         * configure: Regenerate.
48425         * nptl/shlib-versions: Powerpc*le starts at 2.18.
48426         * shlib-versions: Likewise.
48428 2013-10-04  Alan Modra  <amodra@gmail.com>
48430         * string/tester.c (test_memrchr): Increment reported test cycle.
48432 2013-10-04  Alan Modra  <amodra@gmail.com>
48434         * string/test-memcpy.c (do_one_test): When reporting errors, print
48435         string address and don't overrun end of string.
48437 2013-10-04  Alan Modra  <amodra@gmail.com>
48439         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
48440         insrdi.  Make better use of reg selection to speed exit slightly.
48441         Schedule entry path a little better.  Remove useless "are we done"
48442         checks on entry to main loop.  Handle wrapping around zero address.
48443         Correct main loop count.  Handle single left-over word from main
48444         loop inline rather than by using loop_small.  Remove extra word
48445         case in loop_small caused by wrong loop count.  Add little-endian
48446         support.
48447         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
48448         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
48449         cache hint.
48450         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
48451         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
48452         support.  Avoid rlwimi.
48453         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
48455 2013-10-04  Alan Modra  <amodra@gmail.com>
48457         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
48458         insrdi.  Formatting.
48459         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
48460         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
48461         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
48462         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
48463         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
48464         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
48466 2013-10-04  Alan Modra  <amodra@gmail.com>
48468         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
48469         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48470         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
48471         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
48472         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
48473         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48474         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48475         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48476         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
48477         use of regs.  Use power7 mtocrf.  Tidy function tails.
48479 2013-10-04  Alan Modra  <amodra@gmail.com>
48481         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
48482         Formatting.  Consistently use rXXX register defines or rN defines.
48483         Use early exit labels that avoid restoring unused non-volatile regs.
48484         Make cr field use more consistent with rWORDn compares.  Rename
48485         regs used as shift registers for unaligned loop, using rN defines
48486         for short lifetime/multiple use regs.
48487         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48488         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
48489         addi 1,1,64 to pop stack frame.  Simplify return value code.
48490         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48492 2013-10-04  Alan Modra  <amodra@gmail.com>
48494         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
48495         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
48496         rather than rlwimi.
48497         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
48498         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
48499         little-endian support.  Correct typos.
48500         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
48501         rather than rlwimi.
48502         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
48503         in loop and entry code to keep "and." results.
48504         (strchr): Add little-endian support.  Comment.  Move cntlzd
48505         earlier in tail.
48506         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
48508 2013-10-04  Alan Modra  <amodra@gmail.com>
48510         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
48511         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
48512         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
48513         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
48515 2013-10-04  Alan Modra  <amodra@gmail.com>
48517         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
48518         (rTMP): Define as r11.
48519         (strcmp): Add little-endian support.  Optimise tail.
48520         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
48521         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48522         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
48523         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48524         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
48525         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48526         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48528 2013-10-04  Alan Modra  <amodra@gmail.com>
48530         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
48531         little-endian support.  Remove unnecessary "are we done" tests.
48532         Handle "s" wrapping around zero and extremely large "size".
48533         Correct main loop count.  Handle single left-over word from main
48534         loop inline rather than by using small_loop.  Correct comments.
48535         Delete "zero" tail, use "end_max" instead.
48536         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
48538 2013-10-04  Alan Modra  <amodra@gmail.com>
48540         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
48541         support.  Don't branch over align.
48542         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
48543         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
48544         support.  Rearrange tmp reg use to suit.  Comment.
48545         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
48547 2013-10-04  Alan Modra  <amodra@gmail.com>
48549         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
48551 2013-10-04  Alan Modra  <amodra@gmail.com>
48553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
48554         conditional form of branch and link when obtaining pc.
48555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48557 2013-10-04  Alan Modra  <amodra@gmail.com>
48559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
48560         HIWORD/LOWORD.
48561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
48562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
48564 2013-10-04  Alan Modra  <amodra@gmail.com>
48566         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
48567         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
48568         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
48569         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
48570         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
48571         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48572         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
48573         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48574         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
48575         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
48577 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48578             Alistair Popple <alistair@ozlabs.au.ibm.com>
48579             Alan Modra <amodra@gmail.com>
48581         [BZ #15723]
48582         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
48583         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
48584         _dl_hwcap access for little-endian.
48585         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
48586         destroy vmx regs when saving unaligned.
48587         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
48588         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
48589         destroy vmx regs when saving unaligned.
48591 2013-10-04  Alan Modra  <amodra@gmail.com>
48593         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
48594         Don't use a union to pack hi/low value.
48596 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48598         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
48599         for little-endian.
48600         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
48601         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
48602         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
48603         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
48604         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
48606 2013-10-04  Alan Modra  <amodra@gmail.com>
48608         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
48609         constants to usual value for .cst8 section, and remove redundant
48610         high address load.
48611         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
48612         constant for 0x1p52.  Load little-endian words of double from
48613         correct stack offsets.
48615 2013-10-04  Alan Modra  <amodra@gmail.com>
48617         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
48618         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
48619         words of double from correct stack offsets.
48620         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
48621         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
48622         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
48623         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
48624         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
48625         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
48626         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
48627         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
48628         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
48629         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
48630         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
48631         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
48632         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48633         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48634         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48635         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
48636         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
48638 2013-10-04  Alan Modra  <amodra@gmail.com>
48640         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
48641         64-bit int/double union.
48642         (_FPU_SETCW): Likewise.
48643         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
48644         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
48646 2013-10-04  Alan Modra  <amodra@gmail.com>
48648         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
48649         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
48651 2013-10-04  Alan Modra  <amodra@gmail.com>
48653         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
48654         use vector int constants.
48655         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
48657 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48659         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
48660         array with long long.
48661         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
48662         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
48663         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
48664         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
48665         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
48666         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
48667         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
48668         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
48669         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
48670         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
48671         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
48672         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
48673         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
48675 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48677         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
48678         (__signbit): Likewise.  Correct for little-endian.
48679         (__signbitl): Call __signbit.
48680         (lrint): Correct for little-endian.
48681         (lrintf): Call lrint.
48683 2013-10-04  Alan Modra  <amodra@gmail.com>
48685         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
48686         union 32-bit int array member with 64-bit int array.
48687         (t515, tm256): Double rather than long double.
48688         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
48690 2013-10-04  Alan Modra  <amodra@gmail.com>
48692         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
48693         Delete.
48694         (IEEE854_LONG_DOUBLE_BIAS): Delete.
48695         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
48696         version of math_ldbl.h.
48698 2013-10-04  Alan Modra  <amodra@gmail.com>
48700         [BZ #15734], [BZ #15735]
48701         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
48702         all uses of ieee875 long double macros and unions.  Simplify test
48703         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
48704         ldbl_extract_mantissa value for ix,iy exponents.  Properly
48705         normalize after ldbl_extract_mantissa, and don't add hidden bit
48706         already handled.  Don't treat low word of ieee854 mantissa like
48707         low word of IBM long double and mask off bit when testing for
48708         zero.
48709         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
48710         all uses of ieee875 long double macros and unions.  Simplify tests
48711         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
48712         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
48713         two1022, instead use their values.  Recognise that tests for large
48714         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
48715         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
48716         Rewrite all uses of ieee875 long double macros and unions.  Simplify
48717         test for 0.0L and nan.  Correct negation.
48718         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
48719         ieee875 long double macros and unions.  Correct output for large
48720         magnitude x.  Correct absolute value calculation.
48721         (__erfcl): Likewise.
48722         * math/libm-test.inc: Add tests for errors discovered in IBM long
48723         double versions of fmodl, remainderl, erfl and erfcl.
48725 2013-10-04  Alan Modra  <amodra@gmail.com>
48727         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
48728         all uses of ieee854 long double macros and unions.  Simplify tests
48729         for long doubles that are fully specified by the high double.
48730         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
48731         Likewise.
48732         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
48733         Remove dead code too.
48734         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
48735         (__ieee754_ynl): Likewise.
48736         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
48737         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
48738         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
48739         Remove dead code too.
48740         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
48741         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
48742         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
48743         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
48744         Simplify.
48745         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
48746         Simplify.
48747         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
48748         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
48749         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
48750         Comment on variable precision.
48751         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
48752         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
48753         Likewise.
48754         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
48755         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48756         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48757         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
48758         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
48760 2013-10-04  Alan Modra  <amodra@gmail.com>
48762         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
48763         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
48764         all uses of ieee854 long double macros and unions.
48765         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
48766         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48767         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
48768         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
48769         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
48770         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
48771         Likewise.
48772         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
48773         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
48774         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
48775         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
48776         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
48777         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
48778         Simplify sign and nan test too.
48779         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
48780         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
48781         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
48782         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
48783         Likewise.
48784         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
48785         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
48786         Likewise.
48787         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48788         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
48789         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
48790         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
48791         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
48792         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
48794 2013-10-04  Alan Modra  <amodra@gmail.com>
48796         * stdio-common/printf_size.c (__printf_size): Don't use
48797         union ieee854_long_double in fpnum union.
48798         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
48799         signbit macro to retrieve sign from long double.
48800         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
48801         retrieve sign from long double.
48802         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
48803         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
48804         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
48805         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48806         * math/test-misc.c (main): Don't use union ieee854_long_double.
48808 2013-10-04  Alan Modra  <amodra@gmail.com>
48810         [BZ #15680]
48811         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
48812         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
48813         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
48814         calculation.  Remove unnecessary test for denormal exponent.
48815         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
48816         Correct handling of denormals.  Avoid undefined shift behaviour.
48817         Correct normalisation of low mantissa when low double is denormal.
48818         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
48819         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
48820         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
48821         Correct normalisation of low mantissa.  Test for overflow of high
48822         mantissa and normalise.
48823         (ldbl_nearbyint): Use more readable constant for two52.
48824         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
48825         (__mpn_construct_long_double): Fix test for overflow of high
48826         mantissa and correct normalisation.  Avoid undefined shift.
48828 2013-10-04  Alan Modra  <amodra@gmail.com>
48830         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
48831         (union ibm_extended_long_double): Define as an array of ieee754_double.
48832         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
48833         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
48834         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
48835         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48836         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48837         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
48838         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48839         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
48840         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48841         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
48842         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
48844 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
48846         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
48847         page size instead of calling getpagesize.
48849         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
48850         (LOCFILE_ALIGN_MASK): Likewise.
48851         (LOCFILE_ALIGN_UP): Likewise.
48852         (LOCFILE_ALIGNED_P): Likewise.
48853         * locale/programs/ld-collate.c (collate_output): Use the new
48854         macros instead of __alignof__ (int32_t).
48855         * locale/weight.h (findidx): Likewise.
48857 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
48859         [BZ #431]
48860         * manual/string.texi: Fix strncat and wcsncat.
48862 2013-10-03  Brooks Moses  <bmoses@google.com>
48864         [BZ #15915]
48865         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
48866         * Makerules: ...here, and adjust associated comments.
48868 2013-10-02  Will Newton  <will.newton@linaro.org>
48870         * malloc/Makefile: Add tst-pvalloc.
48871         * malloc/tst-pvalloc.c: New file.
48873 2013-10-02  Will Newton  <will.newton@linaro.org>
48875         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
48876         improve test coverage.
48878 2013-10-02  Will Newton  <will.newton@linaro.org>
48880         * malloc/Makefile: Add tst-posix_memalign.
48881         * malloc/tst-posix_memalign.c: New file.
48883 2013-10-01  Eric Blake  <eblake@redhat.com>
48885         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
48886         Use __THROWNL rather than __THROW on static functions.
48888 2013-09-30  Petr Machata  <pmachata@redhat.com>
48890         * elf/elf.h (R_AARCH64_ABS16): New macro.
48891         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
48892         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
48893         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
48894         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
48895         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
48896         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
48897         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
48898         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
48899         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
48900         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
48901         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
48902         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
48903         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
48904         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
48905         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
48906         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
48907         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
48908         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
48909         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
48910         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
48911         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
48912         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
48913         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
48914         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
48915         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
48916         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
48917         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
48918         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
48919         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
48920         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
48921         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
48922         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
48923         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
48924         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
48925         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
48926         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
48927         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
48928         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
48929         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
48930         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
48931         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
48932         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
48933         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
48934         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
48935         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
48936         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
48937         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
48938         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
48939         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
48940         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
48941         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
48942         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
48943         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
48944         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
48945         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
48946         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
48947         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
48948         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
48949         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
48950         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
48951         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
48952         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
48953         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
48954         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
48955         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
48956         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
48957         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
48958         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
48959         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
48960         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
48961         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
48962         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
48963         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
48964         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
48965         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
48966         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
48967         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
48968         (R_AARCH64_TLSDESC_LDR): Likewise.
48969         (R_AARCH64_TLSDESC_ADD): Likewise.
48970         (R_AARCH64_TLSDESC_CALL): Likewise.
48972 2013-09-30  Andreas Schwab  <schwab@suse.de>
48974         [BZ #15048]
48975         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
48976         the nss database lookup.
48977         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48978         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48980 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
48982         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
48984 2013-09-28  P. J. McDermott  <pj@pehjota.net>
48986         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
48987         ${Bash-specific parameter/pattern/string} parameter expansion.
48988         * sysdeps/unix/make-syscalls.sh: Likewise.
48990 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48992         * sysdeps/sh/stackguard-macros.h: New file.
48994 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
48996         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
48997         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
48998         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
48999         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
49000         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49001         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
49003 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49005         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
49006         Fix thread ID register.
49008 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
49010         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
49011         [POSIX || UNIX98]: Require rather than permitting all symbols from
49012         <time.h>.
49013         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
49014         element of struct sched_param.
49015         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
49016         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
49017         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
49018         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
49019         constant.
49021 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
49023         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
49024         argument calculation.
49026 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
49028         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
49029         Expect macro.
49030         [POSIX] (pthread_attr_t): Do not require type.
49031         [POSIX] (pthread_cond_t): Likewise.
49032         [POSIX] (pthread_condattr_t): Likewise.
49033         [POSIX] (pthread_key_t): Likewise.
49034         [POSIX] (pthread_mutex_t): Likewise.
49035         [POSIX] (pthread_mutexattr_t): Likewise.
49036         [POSIX] (pthread_once_t): Likewise.
49037         [POSIX] (pthread_t): Likewise.
49038         [POSIX-based standards] (pthread_atfork): Expect function.
49040 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
49041             Richard Sandiford  <richard@codesourcery.com>
49043         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
49044         (swap_endianness_p): New extern variable.
49045         (set_big_endian): New inline function.
49046         (maybe_swap_uint32): Likewise.
49047         (maybe_swap_uint32_array): Likewise.
49048         (maybe_swap_uint32_obstack): Likewise.
49049         * locale/programs/locfile.c: Include <stdbool.h>.
49050         (swap_endianness_p): New variable.
49051         (add_locale_uint32): Call maybe_swap_uint32.
49052         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
49053         (write_locale_data): Call maybe_swap_uint32_array.
49054         * locale/programs/ld-collate.c (obstack_int32_grow): Call
49055         maybe_swap_uint32.
49056         (obstack_int32_grow_fast): Likewise.
49057         (output_weightwc): Call maybe_swap_uint32_obstack.
49058         (collate_output): Likewise.
49059         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
49060         (OPT_LITTLE_ENDIAN): Likewise.
49061         (options): Add --little-endian and --big-endian options.
49062         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
49063         * locale/programs/locarchive.c: Include "locfile.h".
49064         (GET): New macro.
49065         (SET): Likewise.
49066         (INC): Likewise.
49067         (create_archive): Use the new macros to access fields of
49068         structures directly mapped from or written to locale archives.
49069         (oldlocrecentcmp): Likewise.
49070         (enlarge_archive): Likewise.
49071         (insert_name): Likewise.
49072         (add_alias): Likewise.
49073         (add_locale): Likewise.
49074         (delete_locales_from_archive): Likewise.
49075         (show_archive_content): Likewise.
49076         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
49077         locale data.
49079 2013-09-24  Roland McGrath  <roland@hack.frob.com>
49081         * manual/freemanuals.texi: Updated from (newly) canonical copy at
49082         http://www.gnu.org/doc/freemanuals.texi.
49083         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
49085 2013-09-24  Will Newton  <will.newton@linaro.org>
49087         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
49088         macro.
49090 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
49092         * locale/hashval.h (compute_hashval): Interpret bytes of key as
49093         unsigned char.
49095 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
49097         * manual/threads.texi (POSIX Threads): Fix a typo.
49099 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49101         [BZ #14547]
49102         * string/tst-strcoll-overflow.c: New test case.
49103         * string/Makefile (xtests): Add tst-strcoll-overflow.
49104         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
49105         cache if string sizes may cause integer overflow.
49107         [BZ #14547]
49108         * string/strcoll_l.c (coll_seq): New members rule, idx,
49109         save_idx and back_us.
49110         (get_next_seq_nocache): New function.
49111         (do_compare_nocache): New function.
49112         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
49113         when malloc fails.
49115 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
49117         [BZ #15754]
49118         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
49119         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
49120         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
49122         [BZ #15754]
49123         * elf/Makefile (tests): Add tst-ptrguard1.
49124         (tests-static): Add tst-ptrguard1-static.
49125         (tst-ptrguard1-ARGS): Define.
49126         (tst-ptrguard1-static-ARGS): Define.
49127         * elf/tst-ptrguard1.c: New file.
49128         * elf/tst-ptrguard1-static.c: New file.
49129         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
49130         * sysdeps/i386/stackguard-macros.h: Likewise.
49131         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49132         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49133         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49134         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49135         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49136         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49138 2013-09-23  Hector Marco  <hecmargi@upv.es>
49139             Ismael Ripoll  <iripoll@disca.upv.es>
49140             Carlos O'Donell  <carlos@redhat.com>
49142         [BZ #15754]
49143         * sysdeps/generic/stackguard-macros.h: Define
49144         __pointer_chk_guard_local and POINTER_CHK_GUARD.
49145         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
49146         Define __pointer_chk_guard_local.
49147         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
49148         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
49150 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
49152         [BZ #15859]
49153         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
49155 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
49157         * include/string.h (__ffs): Declare as hidden.
49158         * string/ffs.c (__ffs): Define as hidden.
49159         * sysdeps/i386/ffs.c (__ffs): Likewise.
49160         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
49161         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
49162         * sysdeps/s390/ffs.c (__ffs): Likewise.
49163         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
49165 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
49167         * NEWS: Mention malloc probes.
49169         * malloc/arena.c (new_heap): New memory_heap_new probe.
49170         (grow_heap): New memory_heap_more probe.
49171         (shrink_heap): New memory_heap_less probe.
49172         (heap_trim): New memory_heap_free probe.
49173         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
49174         (systrim): New memory_sbrk_less probe.
49175         * manual/probes.texi: Document them.
49177         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
49178         * manual/probes.texi: Document it.
49180         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
49181         (__libc_realloc): Add memory_realloc_retry probe.
49182         (__libc_memalign): Add memory_memalign_retry probe.
49183         (__libc_valloc): Add memory_valloc_retry probe.
49184         (__libc_pvalloc): Add memory_pvalloc_retry probe.
49185         (__libc_calloc): Add memory_calloc_retry probe.
49186         * manual/probes.texi: Document them.
49188         * malloc/arena.c (get_free_list): Add probe
49189         memory_arena_reuse_free_list.
49190         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
49191         and memory_arena_reuse.
49192         (arena_get2) [!PER_THREAD]: Likewise.
49193         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
49194         memory_arena_reuse_realloc.
49195         * manual/probes.texi: Document them.
49197         * malloc/malloc.c (__libc_free): Add
49198         memory_mallopt_free_dyn_thresholds probe.
49199         (__libc_mallopt): Add multiple memory_mallopt probes.
49200         * manual/probes.texi: Document them.
49202         * malloc/malloc.c: Include stap-probe.h.
49203         (__libc_mallopt): Add memory_mallopt probe.
49204         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
49205         * manual/probes.texi: New.
49206         * manual/Makefile (chapters): Add probes.
49207         * manual/threads.texi: Set next node.
49209 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
49211         [BZ #15963, #13985]
49212         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
49213         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
49214         Add `Chinese' to `nan' entry name.
49216 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49218         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
49219         (POLYNOMIAL): Likewise.
49220         (TAYLOR_SINCOS): Likewise.
49221         (TAYLOR_SLOW): Likewise.
49222         (__sin): Use TAYLOR_SINCOS.
49223         (__cos): Likewise.
49224         (slow): Use TAYLOR_SLOW.
49225         (sloww): Likewise.
49226         (bsloww): Likewise.
49227         (csloww): Likewise.
49229 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49231         * stdlib/strtod_l.c: Fix buffer overrun.
49233 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49235         * benchtests/Makefile (bench): Add sincos.
49236         * benchtests/bench-sincos.c: New file.
49238         * math/libm-test.inc (cos_test_data): New test inputs.
49239         (sin_test_data): Likewise.
49241         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
49242         macro.
49243         (__sin): Use it.
49244         (__cos): Likewise.
49245         (slow1): Likewise.
49246         (slow2): Likewise.
49247         (sloww1): Likewise.
49248         (sloww2): Likewise.
49249         (bsloww1): Likewise.
49250         (bsloww2): Likewise.
49251         (cslow2): Likewise.
49252         (csloww1): Likewise.
49253         (csloww2): Likewise.
49255         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
49256         function.
49257         (__sin): Use it.
49258         (__cos): Likewise.
49260         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
49261         gotos.
49262         (__cos): Likewise.
49264 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
49266         * config.h.in (HAVE_MIPS_NAN2008): New macro.
49267         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
49268         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
49269         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
49270         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
49271         * elf/cache.c (print_entry): Handle the new cache flags.
49273 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
49274             Aldy Hernandez  <aldyh@redhat.com>
49276         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
49277         Change condition to [_SOFT_FLOAT].
49278         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
49279         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
49280         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
49281         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
49282         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
49283         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
49284         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
49285         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
49286         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
49287         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
49288         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
49289         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
49290         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
49291         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
49292         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
49293         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
49294         declaration.
49296 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
49298         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
49299         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
49300         (__longjmp): Use LOAD_GP to load saved GPRs.
49301         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
49302         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
49303         (__sigsetjmp): Use SAVE_GP to save GPRs.
49305         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
49306         Do not append -msoft-float.
49307         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
49309 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49311         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
49313 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
49315         [BZ #15966]
49316         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
49317         (_FPU_GETCW): Use initial "__" on variable and field names but not
49318         on macro parameter name.
49319         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
49320         parentheses around reference to macro parameter.
49322 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
49324         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
49325         prototype.
49326         (ctype_startup): Use uint32_t in cast and sizeof for
49327         ctype->charnames.
49329 2013-09-11  Jia Liu  <proljc@gmail.com>
49331         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
49332         __daddr_t_defined.
49333         [__FreeBSD__]: Likewise.
49335 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
49337         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
49338         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
49339         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
49340         (strchr): Remove __strchr_sse42 ifunc selection.
49341         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
49342         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
49344 2013-09-11  Will Newton  <will.newton@linaro.org>
49346         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
49347         parameter to RES. Remove hardcoded 1000 value.
49348         * benchtests/bench-skeleton.c (main): Pass RES parameter
49349         to TIMING_INIT and multiply result by 1000.
49351 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49355 2013-09-11  Andreas Schwab  <schwab@suse.de>
49357         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
49358         if not defined.
49359         (O_TMPFILE) [__USE_GNU]: Define.
49360         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
49361         Define.
49363 2013-09-11  Will Newton  <will.newton@linaro.org>
49365         [BZ #15857]
49366         * malloc/malloc.c (__libc_memalign): Check the value of bytes
49367         does not overflow.
49369 2013-09-11  Will Newton  <will.newton@linaro.org>
49371         [BZ #15856]
49372         * malloc/malloc.c (__libc_valloc): Check the value of bytes
49373         does not overflow.
49375 2013-09-11  Will Newton  <will.newton@linaro.org>
49377         [BZ #15855]
49378         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
49379         does not overflow.
49381 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
49383         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
49384         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49385         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49386         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49387         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49389 2013-09-10  Allan McRae  <allan@archlinux.org>
49391         [BZ #15748]
49392         * manual/arith.texi (Parsing of Floats): Clarify
49393         cross-reference.
49395         [BZ #15849]
49396         * manual/install.texi (Running make install): Mention
49397         --enable-pt-chown.
49398         * INSTALL: Regenerated.
49400 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
49402         * csu/init-first.c (_init): Remove the !SHARED condition around
49403         FPU control word initialization.
49404         * elf/dl-support.c (_dl_fpu_control): New variable.
49405         (_dl_aux_init) <AT_FPUCW>: Initialize it.
49406         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
49407         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
49408         * math/test-fpucw-static.c: New file.
49409         * math/test-fpucw-ieee.c: New file.
49410         * math/test-fpucw-ieee-static.c: New file.
49411         * math/Makefile (tests): Add `test-fpucw-ieee' and
49412         `$(tests-static)'.
49413         (tests-static): New variable.
49414         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
49415         dependency to...
49416         [($(build-shared),yes)]
49417         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
49418         ... this.
49419         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
49420         New dependency.
49422 2013-09-09  Allan McRae  <allan@archlinux.org>
49424         [BZ #15939]
49425         * manual/string.texi (Collation Functions): Fix typo in
49426         strcoll example.
49427         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
49429         [BZ #15893]
49430         * stdlib/isomac.c (get_null_defines): Fix memory leak.
49432         [BZ #15892]
49433         * libio/memstream.c (open_memstream): Fix memory leak.
49434         * libio/wmemstream.c (open_wmemstream): Likewise.
49436         [BZ #15895]
49437         * nscd/netgroupcache.c: Fix nesting of ifdefs.
49439 2013-09-09  Will Newton  <will.newton@linaro.org>
49441         * malloc/Makefile: Add tst-realloc to tests.
49442         * malloc/tst-realloc.c: New file.
49444 2013-09-09  Allan McRae  <allan@archlinux.org>
49446         [BZ #15844]
49447         * COPYING: Update from GNU website to fix FSF address.
49448         * COPYING.LIB: Likewise.
49450 2013-09-06  David S. Miller  <davem@davemloft.net>
49452         * po/zh_TW.po: Update Chinese (traditional) translation from
49453         translation project.
49455 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
49456             Joseph Myers  <joseph@codesourcery.com>
49458         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
49459         "localeinfo.h".
49460         (obstack_chunk_alloc): New macro.
49461         (obstack_chunk_free): Likewise.
49462         (record_offset): New function.
49463         (init_locale_data): Likewise.
49464         (align_locale_data): Likewise.
49465         (add_locale_empty): Likewise.
49466         (add_locale_raw_data): Likewise.
49467         (add_locale_raw_obstack): Likewise.
49468         (add_locale_string): Likewise.
49469         (add_locale_wstring): Likewise.
49470         (add_locale_uint32): Likewise.
49471         (add_locale_uint32_array): Likewise.
49472         (add_locale_char): Likewise.
49473         (start_locale_structure): Likewise.
49474         (end_locale_structure): Likewise.
49475         (start_locale_prelude): Likewise.
49476         (end_locale_prelude): Likewise.
49477         (write_locale_data): Take locale_file structure rather than an
49478         iovec.
49479         * locale/programs/locfile.h: Include "obstack.h".
49480         (struct locale_file): Change to store locale file contents instead
49481         of header.
49482         (init_locale_data): New prototype.
49483         (align_locale_data): Likewise.
49484         (add_locale_empty): Likewise.
49485         (add_locale_raw_data): Likewise.
49486         (add_locale_raw_obstack): Likewise.
49487         (add_locale_string): Likewise.
49488         (add_locale_wstring): Likewise.
49489         (add_locale_uint32): Likewise.
49490         (add_locale_uint32_array): Likewise.
49491         (add_locale_char): Likewise.
49492         (start_locale_structure): Likewise.
49493         (end_locale_structure): Likewise.
49494         (start_locale_prelude): Likewise.
49495         (end_locale_prelude): Likewise.
49496         (write_locale_data): Update prototype.
49497         * locale/programs/3level.h (struct TABLE): Remove result field.
49498         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
49499         Use new locale_file interface.
49500         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
49501         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
49502         * locale/programs/ld-address.c (address_output): Use new
49503         locale_file interface.
49504         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
49505         NO_ADD_LOCALE.
49506         (collate_finish): Don't call collseq_table_finalize.
49507         (collate_output): Use new locale_file interface.
49508         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
49509         in file.
49510         (NO_FINALIZE): Change to NO_ADD_LOCALE.
49511         (TABLE): Move defines earlier in file.
49512         (ELEMENT): Likewise.
49513         (DEFAULT): Likewise.
49514         (wctrans_table_add): Move macro and inline function earlier in
49515         file.
49516         (struct wctype_table): Move type earlier in file.
49517         (add_locale_wctype_table): New static prototype.
49518         (struct locale_ctype_t): Use logical types instead of struct iovec
49519         pointers for members.
49520         (ctype_output): Use new locale_file interface.
49521         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
49522         new locale_file interface.
49523         (allocate_arrays): Update for use of new locale_file interface.
49524         * locale/programs/ld-identification.c (identification_output): Use
49525         new locale_file interface.
49526         * locale/programs/ld-measurement.c (measurement_output): Likewise.
49527         * locale/programs/ld-messages.c (messages_output): Likewise.
49528         * locale/programs/ld-monetary.c (monetary_output): Likewise.
49529         * locale/programs/ld-name.c (name_output): Likewise.
49530         * locale/programs/ld-numeric.c (numeric_output): Likewise.
49531         * locale/programs/ld-paper.c (paper_output): Likewise.
49532         * locale/programs/ld-telephone.c (telephone_output): Likewise.
49533         * locale/programs/ld-time.c (time_output): Likewise.
49535 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49537         * benchtests/Makefile: Add memrchr benchmark.
49538         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
49539         benchmark as memrchr.
49540         * benchtests/bench-memrchr-ifunc.c: New file.
49541         * benchtests/bench-memrchr.c: New file.
49543 2013-09-06   Will Newton  <will.newton@linaro.org>
49545         * benchtests/Makefile (string-bench): Add memcpy.
49547 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
49548             Cong Wang  <amwang@redhat.com>
49550         [BZ #15850]
49551         * sysdeps/unix/sysv/linux/bits/in.h
49552         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
49553         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
49554         before __USE_KERNEL_IPV6_DEFS uses.
49555         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
49556         IPPROTO_BEETPH.
49557         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
49558         sockaddr_in6, or ipv6_mreq.
49560 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49562         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
49563         memory access for final bytes in some large inputs.
49564         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
49566 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49568         * string/test-memrchr.c: New file.
49569         * string/test-memrchr-ifunc.c: New file.
49570         * string/Makefile: Add new memrchr testcase.
49572 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
49574         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
49575         fanotify_init returns EPERM.
49577 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
49579         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
49580         errors.
49581         (top level): Treat second token from macro or constant entries for
49582         allowed headers as allowed.
49583         * include/complex.h: Condition internal declarations on
49584         [!_ISOMAC].
49585         * include/fenv.h: Condition include of <stdbool.h> and internal
49586         declarations on [!_ISOMAC].
49588 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
49590         [BZ #15923]
49591         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
49593 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
49595         * configure.in (--enable-versioning): Remove configure option.
49596         (libc_cv_asm_symver_directive): Remove configure test.
49597         (libc_cv_ld_version_script_option): Likewise.
49598         (VERSIONING): Remove variable and AC_SUBST.
49599         (DO_VERSIONING): Remove AC_DEFINE.
49600         * configure: Regenerated.
49601         * config.h.in (DO_VERSIONING): Remove macro.
49602         * Makerules [$(versioning) = yes]: Change conditionals to
49603         [$(build-shared) = yes].
49604         * config.make.in (versioning): Remove variable.
49605         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
49606         [$(build-shared) = yes].
49607         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
49608         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
49609         * elf/Makefile [$(versioning) = yes]: Change conditionals to
49610         [$(build-shared) = yes].
49611         * extra-lib.mk [$(versioning) = yes]: Likewise.
49612         * hurd/Makefile [$(versioning) = yes]: Likewise.
49613         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
49614         [SHARED].
49615         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
49616         [SHARED].
49617         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
49618         [SHARED && !NO_HIDDEN].
49619         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
49620         [SHARED].
49621         [SHARED && DO_VERSIONING]: Likewise..
49622         * libio/Makefile [$(versioning) = yes]: Change conditionals to
49623         [$(build-shared) = yes].
49624         * manual/install.texi (--disable-versioning): Remove
49625         documentation.
49626         * INSTALL: Regenerated.
49627         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
49628         to [SHARED].
49629         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
49630         [$(build-shared) = yes].
49631         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
49632         * sysdeps/i386/i686/multiarch/strstr-c.c
49633         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
49634         [SHARED && !NO_HIDDEN].
49635         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
49636         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
49637         * sysdeps/powerpc/powerpc32/dl-machine.c
49638         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
49639         * sysdeps/powerpc/powerpc32/sysdep.h
49640         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
49641         to [SHARED && PIC && !NO_HIDDEN].
49642         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
49643         conditional to [SHARED].
49645 2013-09-04   Will Newton  <will.newton@linaro.org>
49647         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
49648         * benchtests/bench-string.h: Include bench-timing.h instead
49649         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
49650         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
49651         call to HP_TIMING_DIFF_INIT.
49652         * benchtests/bench-memccpy.c: Use bench-timing.h macros
49653         instead of hp-timing.h macros.
49654         * benchtests/bench-memchr.c: Likewise.
49655         * benchtests/bench-memcmp.c: Likewise.
49656         * benchtests/bench-memcpy.c: Likewise.
49657         * benchtests/bench-memmem.c: Likewise.
49658         * benchtests/bench-memmove.c: Likewise.
49659         * benchtests/bench-memset.c: Likewise.
49660         * benchtests/bench-rawmemchr.c: Likewise.
49661         * benchtests/bench-strcasecmp.c: Likewise.
49662         * benchtests/bench-strcasestr.c: Likewise.
49663         * benchtests/bench-strcat.c: Likewise.
49664         * benchtests/bench-strchr.c: Likewise.
49665         * benchtests/bench-strcmp.c: Likewise.
49666         * benchtests/bench-strcpy.c: Likewise.
49667         * benchtests/bench-strcpy_chk.c: Likewise.
49668         * benchtests/bench-strlen.c: Likewise.
49669         * benchtests/bench-strncasecmp.c: Likewise.
49670         * benchtests/bench-strncat.c: Likewise.
49671         * benchtests/bench-strncmp.c: Likewise.
49672         * benchtests/bench-strncpy.c: Likewise.
49673         * benchtests/bench-strnlen.c: Likewise.
49674         * benchtests/bench-strpbrk.c: Likewise.
49675         * benchtests/bench-strrchr.c: Likewise.
49676         * benchtests/bench-strspn.c: Likewise.
49677         * benchtests/bench-strstr.c: Likewise.
49679 2013-09-04  Will Newton  <will.newton@linaro.org>
49681         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
49683 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
49685         [BZ #15427]
49686         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
49687         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
49688         * math/libm-test.inc (lgamma_test_data): Add more tests.
49689         * sysdeps/i386/fpu/libm-test-ulps: Update.
49690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49692 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
49694         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
49695         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49696         Add ifunc.
49697         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49698         Add strcmp-sse2-unaligned
49699         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
49701 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
49703         * Versions.def (libc): Add GLIBC_2.19.
49705 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
49707         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
49708         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
49710 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
49712         [BZ #14155]
49713         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
49714         intermediate calculations in recurrence.
49715         (__ieee754_ynf): Likewise.
49716         * math/libm-test.inc (jn_test_data): Do not allow spurious
49717         underflow exception.  Add more tests.
49718         (yn_test_data): Add more tests.
49719         * sysdeps/i386/fpu/libm-test-ulps: Update.
49720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49722 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
49724         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
49726 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
49728         * csu/init-first.c: Fix then/than typos.
49729         * locale/programs/ld-collate.c: Likewise.
49730         * locale/programs/linereader.h: Likewise.
49731         * manual/charset.texi: Likewise.
49732         * manual/filesys.texi: Likewise.
49733         * manual/stdio.texi: Likewise.
49734         * manual/string.texi: Likewise.
49735         * stdlib/fmtmsg.c: Likewise.
49736         * sysdeps/i386/stpncpy.S: Likewise.
49737         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49738         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
49739         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49740         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
49742 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
49744         * elf/dl-open.c: Fix typos.
49745         * iconvdata/gbbig5.c: Likewise.
49746         * iconvdata/iso-2022-jp.c: Likewise.
49747         * iconv/gconv_int.h: Likewise.
49748         * iconv/loop.c: Likewise.
49749         * nis/rpcsvc/nis.h: Likewise.
49750         * resolv/ns_name.c: Likewise.
49751         * stdio-common/vfscanf.c: Likewise.
49752         * streams/stropts.h: Likewise.
49753         * sunrpc/rpc_thread.c: Likewise.
49754         * sysdeps/i386/strpbrk.S: Likewise.
49755         * sysdeps/ieee754/k_standard.c: Likewise.
49756         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49757         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49758         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
49759         * sysdeps/mach/hurd/profil.c: Likewise.
49760         * sysdeps/s390/dl-procinfo.h: Likewise.
49761         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
49762         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
49763         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
49764         * sysdeps/x86_64/dl-trampoline.S: Likewise.
49765         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49767 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
49769         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
49770         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
49772 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
49774         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
49775         aix specific files.
49776         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
49777         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
49778         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
49779         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
49780         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
49781         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
49782         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
49783         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
49785 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
49786             Roland McGrath  <roland@hack.frob.com>
49788         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
49789         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
49791 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49793         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
49794         __executable_start symbol instead of _start.
49796 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
49798         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
49799         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
49800         Move macros to...
49801         * sysdeps/gnu/ldsodefs.h: ... this new file.
49803         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
49804         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
49805         instead of ELFOSABI_LINUX.
49807         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
49808         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
49809         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
49810         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
49811         Likewise.
49812         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
49813         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
49814         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
49815         Likewise.
49816         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
49817         (ibm_extended_long_double): Add ieee_nan member.
49818         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
49819         (do_test): New function.
49821         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
49822         TEST_TRUNC.
49823         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
49824         functions, renamed from truncdfsf_test, trunctfsf_test,
49825         trunctfdf_test.
49826         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
49827         functions.
49828         (do_test): Run all these.
49830 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
49832         * argp/argp-help.c: Fix typos.
49833         * argp/argp-parse.c: Likewise.
49834         * debug/backtracesyms.c: Likewise.
49835         * elf/elf.h: Likewise.
49836         * malloc/malloc.c: Likewise.
49837         * nis/nis_print.c: Likewise.
49838         * resolv/res_comp.c: Likewise.
49839         * stdlib/stdlib.h: Likewise.
49840         * sunrpc/clnt_tcp.c: Likewise.
49841         * sunrpc/clnt_udp.c: Likewise.
49842         * sunrpc/clnt_unix.c: Likewise.
49843         * sysdeps/unix/bsd/ptsname.c: Likewise.
49844         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
49845         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
49846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
49847         Likewise.
49848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
49849         Likewise.
49850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
49851         Likewise.
49852         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49854 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49856         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
49857         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49859 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
49861         [BZ #15897]
49862         * dlfcn/Makefile (tests): Add bug-dl-leaf.
49863         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
49864         ($(objpfx)bug-dl-leaf): New rule.
49865         ($(objpfx)bug-dl-leaf.so): Likewise.
49866         ($(objpfx)bug-dl-leaf.out): Likewise.
49867         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
49868         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
49869         * dlfcn/bug-dl-leaf.c: New test.
49870         * dlfcn/bug-dl-leaf-lib.c: Likewise.
49871         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
49872         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
49873         (dlclose): Likewise.
49874         (dlmopen): Likewise.
49876 2013-08-27  Roland McGrath  <roland@hack.frob.com>
49878         * include/netdb.h [!_ISOMAC]:
49879         Don't include <tls.h>.
49880         (h_errno, __libc_h_errno): Move declaration and macros out of
49881         [_LIBC_REENTRANT].
49883         * include/resolv.h [_RESOLV_H_]:
49884         Don't include <tls.h>.
49885         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
49886         * resolv/res_libc.c: Don't include <tls.h>.
49887         (_res): Use __attribute__ ((nocommon)) in place of
49888         __attribute__ ((section (".bss"))).
49890         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
49891         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
49893         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
49895         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
49896         only under [SIOCGIFCONF && SIOCGIFNETMASK].
49898         * resolv/res_mkquery.c: Include <sys/time.h>.
49900         * inet/ifreq.c: Moved to ...
49901         * sysdeps/unix/ifreq.c: ... here.
49902         * inet/ifreq.c: New file, true stub version.
49904         * socket/sa_len.c: New file.
49905         * socket/Makefile (aux): Add it.
49906         * sysdeps/unix/sysv/linux/Makefile
49907         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
49908         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
49909         and #include <socket/sa_len.c>.
49910         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
49911         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
49913         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
49914         * bits/socket.h: ... here.
49916         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
49917         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
49918         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
49920 2013-08-27  Andreas Schwab  <schwab@suse.de>
49922         [BZ #15736]
49923         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
49924         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
49925         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
49926         * string/test-strcasecmp.c (test_main): Run tests in several
49927         locales.
49928         * string/test-strncasecmp.c (test_main): Likewise.
49930         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
49931         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
49932         to __strcasecmp_nonascii and __strncasecmp_nonascii.
49933         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
49934         (__strncasecmp_ssse3) [PIC]: Likewise.
49936 2013-08-26  Roland McGrath  <roland@hack.frob.com>
49938         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
49940         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
49941         instead of explicitly declaring xdecrypt.
49942         * nis/nss_nis/nis-publickey.c: Likewise.
49944 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49946         [BZ #15890]
49947         * nscd/aicache.c: Include res_hconf.h.
49948         (addhstaiX): Initialize res_hconf.
49950 2013-08-26  Andreas Schwab  <schwab@suse.de>
49952         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
49953         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
49955 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49957         * nscd/aicache.c (addhstaiX): Fix indentation.
49959 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
49961         * configure.ac: Quote $build_pt_chown test.
49962         * configure: Regenerated.
49964 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
49966         [BZ #15532]
49967         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
49968         * math/s_cexpf.c (__cexpf): Likewise.
49969         * math/s_cexpl.c (__cexpl): Likewise.
49970         * math/libm-test.inc (cexp_test_data): Correct expected return
49971         value for NaN + i0.  Add another test.
49973 2013-08-22  David S. Miller  <davem@davemloft.net>
49975         * po/ca.po: Update Catalan translation from translation project.
49976         * po/uk.po: Add Ukrainian translations from translation project.
49978 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
49980         [BZ #15797]
49981         * math/s_fdim.c (__fdim): Check for infinite arguments if result
49982         is infinite, not alongside NaN test.
49983         * math/s_fdimf.c (__fdimf): Likewise.
49984         * math/s_fdiml.c (__fdiml): Likewise.
49985         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
49986         errno is unchanged.
49988 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
49990         * argp/argp-help.c: Fix typos.
49991         * crypt/speeds.c: Likewise.
49992         * csu/check_fds.c: Likewise.
49993         * elf/dl-load.c: Likewise.
49994         * elf/dl-open.c: Likewise.
49995         * elf/reldep3.c: Likewise.
49996         * elf/reldep.c: Likewise.
49997         * elf/sprof.c: Likewise.
49998         * iconv/iconv_charmap.c: Likewise.
49999         * iconv/skeleton.c: Likewise.
50000         * iconv/strtab.c: Likewise.
50001         * io/lockf64.c: Likewise.
50002         * libio/libioP.h: Likewise.
50003         * resolv/gai_notify.c: Likewise.
50004         * resolv/ns_name.c: Likewise.
50005         * resolv/ns_samedomain.c: Likewise.
50006         * resolv/res_send.c: Likewise.
50007         * stdlib/random.c: Likewise.
50008         * sunrpc/rpc/xdr.h: Likewise.
50009         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
50010         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50011         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50012         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50013         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50014         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50015         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50016         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50017         * sysdeps/mach/hurd/check_fds.c: Likewise.
50018         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
50019         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
50020         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50021         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
50022         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
50023         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
50024         * sysdeps/pthread/aio_notify.c: Likewise.
50025         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
50026         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
50027         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
50028         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50029         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
50031 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50033         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
50034         version if bit_Slow_SSE4_2 is set.
50035         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50036         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50038 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50040         [BZ #15867]
50041         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
50042         trampoline stack frame information.
50043         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
50044         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
50045         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
50046         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
50047         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
50048         * sysdeps/unix/sysv/linux/powerpc/init-first.c
50049         (_libc_vdso_platform_setup): Initialize the signal trampolines.
50050         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
50051         sa_flags value.
50052         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
50053         interrupting a syscall and set with option SA_SIGINFO.
50055 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
50057         [BZ #15531]
50058         * math/s_cproj.c (__cproj): Only return an infinity if one part of
50059         argument is infinite.
50060         * math/s_cprojf.c (__cprojf): Likewise.
50061         * math/s_cprojl.c (__cprojl): Likewise.
50062         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
50063         * math/libm-test.inc (cproj_test_data): Add more tests.
50065         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
50067         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
50068         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
50069         size.  Use __ffs to determine corresponding shift.
50071 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
50072             Roland McGrath  <roland@hack.frob.com>
50074         * Makefile (INSTALL): Remove trailing blank lines from output of
50075         makeinfo.
50077 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50079         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
50080         Align 32 bit compat elf_greg to 8 bytes.
50082 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
50084         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
50086 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50088         * string/strcoll_l.c (coll_seq): New structure.
50089         (get_next_seq_cached): New function.
50090         (get_next_seq): New function.
50091         (do_compare): New function.
50092         (STRCOLL): Use GNU style definition.  Simplify implementation
50093         by using get_next_seq, get_next_seq_cached and do_compare.
50095 2013-08-16  Florian Weimer  <fweimer@redhat.com>
50097         [BZ #14699]
50098         CVE-2013-4237
50099         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
50100         member.
50101         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
50102         member.
50103         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
50104         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
50105         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
50106         conditional.
50107         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
50108         GETDENTS_64BIT_ALIGNED.
50109         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
50110         * manual/filesys.texi (Reading/Closing Directory): Document
50111         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
50112         strongly.
50113         * manual/conf.texi (Limits for Files): Add portability note to
50114         NAME_MAX, PATH_MAX.
50115         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
50117 2013-08-13  Andreas Schwab  <schwab@suse.de>
50119         [BZ #15749]
50120         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
50121         of fabs.
50122         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
50123         LDBL_MAX_EXP >= 16384]: Add tests for it.
50125 2013-08-12  David S. Miller  <davem@davemloft.net>
50127         * version.h (RELEASE): Set to "development".
50128         (VERSION): Set to "2.18.90".
50129         * NEWS: Add 2.19 section.
50131 2013-08-03  David S. Miller  <davem@davemloft.net>
50133         * po/ko.po: Update Korean translation from translation project.
50135 2013-08-01  David S. Miller  <davem@davemloft.net>
50137         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
50138         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
50139         Bilka.
50141 2013-07-30  David S. Miller  <davem@davemloft.net>
50143         * po/fr.po: Update French translation from translation project.
50145 2013-07-28  David S. Miller  <davem@davemloft.net>
50147         * po/cs.po: Update Czech translation from translation project.
50149         * po/sv.po: Update Swedish translation from translation project.
50151 2013-07-27  David S. Miller  <davem@davemloft.net>
50153         * po/eo.po: Update Esperanto translation from translation project.
50155         * po/vi.po: Update Vietnamese translation from translation project.
50157         * po/de.po: Update German translation from translation project.
50159 2013-07-26  David S. Miller  <davem@davemloft.net>
50161         * po/bg.po: Update Bulgarian translation from translation project.
50163         * po/nl.po: Update Dutch translation from translation project.
50164         * po/pl.po: Update Polish translation from translation project.
50165         * po/ru.po: Update Russian translation from translation project.
50167 2013-07-24  David S. Miller  <davem@davemloft.net>
50169         * po/libc.pot: Update.
50171 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50173         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
50174         variable page size.
50175         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
50176         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
50177         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
50179 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50181         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
50183 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50184             Andreas Schwab  <schwab@suse.de>
50185             Roland McGrath  <roland@hack.frob.com>
50186             Joseph Myers  <joseph@codesourcery.com>
50187             Carlos O'Donell  <carlos@redhat.com>
50189         [BZ #15755]
50190         * config.h.in: Define HAVE_PT_CHOWN.
50191         * config.make.in (build-pt-chown): New variable.
50192         * configure.in (--enable-pt_chown): New configure option.
50193         * configure: Regenerate.
50194         * login/Makefile: Include Makeconfig.  Build pt_chown only if
50195         build-pt-chown is enabled.
50196         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
50197         pt_chown to fix pty ownership.
50198         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
50199         CLOSE_ALL_FDS.
50200         * manual/install.texi (Configuring and compiling): Mention
50201         --enable-pt_chown. Add @findex for grantpt.
50202         * INSTALL: Regenerate.
50204 2013-07-20  David S. Miller  <davem@davemloft.net>
50206         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
50207         difference between 32-bit and 64-bit.
50209 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
50211         [BZ #15711]
50212         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
50213         Avoid system header dependency with -ffreestanding.
50214         ($(objpfx)bits/syscall%d): Likewise.
50216 2013-07-13  David S. Miller  <davem@davemloft.net>
50218         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
50219         underflows from atanl/atan2l due to bug 15319.
50220         (casinh_test_data): Likewise.
50222 2013-07-07  David S. Miller  <davem@davemloft.net>
50224         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
50226 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
50228         * sysdeps/i386/fpu/libm-test-ulps: Update.
50229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50231 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50233         * configure.in (--enable-lock-elision): Fix message text.
50234         * INSTALL: Regenerate.
50235         * configure: Regenerate.
50237 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50241 2013-07-03  Andreas Jaeger  <aj@suse.de>
50243         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
50244         define.
50245         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
50246         (ptrace_peeksiginfo_args): Add.
50247         (__ptrace_peeksiginfo_flags): Add.
50248         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50249         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50250         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50252 2013-07-03  Allan McRae  <allan@archlinux.org>
50254         * sysdeps/i386/fpu/libm-test-ulps: Update.
50256 2013-07-02  David S. Miller  <davem@davemloft.net>
50258         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50260 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
50262         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50264 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
50266         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
50267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50269 2013-07-02  Andi Kleen <ak@linux.intel.com>
50271         * config.h.in (ENABLE_LOCK_ELISION): Add.
50272         * configure.in (--enable-lock-elision): Add option.
50273         * manual/install.texi: Document --enable lock elision.
50274         * configure: Regenerate
50275         * INSTALL: Regenerate.
50277 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
50279         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
50280         SSE4.2 strcasecmp for libc.a.
50281         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
50283 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
50285         [BZ #13304]
50286         * soft-fp/op-common.h (_FP_FMA): New macro.
50287         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
50288         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
50289         (_FP_MUL_MEAT_1_imm): ... here.
50290         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
50291         (_FP_MUL_MEAT_1_wide): ... here.
50292         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
50293         (_FP_MUL_MEAT_1_hard): ... here.
50294         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
50295         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
50296         (_FP_MUL_MEAT_2_wide): ... here.
50297         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
50298         (_FP_MUL_MEAT_2_wide_3mul): ... here.
50299         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
50300         (_FP_MUL_MEAT_2_gmp): ... here.
50301         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
50302         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
50303         (_FP_MUL_MEAT_4_wide): ... here.
50304         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
50305         (_FP_MUL_MEAT_4_gmp): ... here.
50306         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
50307         (_FP_WFRACBITS_DW_S): Likewise.
50308         (_FP_WFRACXBITS_DW_S): Likewise.
50309         (_FP_HIGHBIT_DW_S): Likewise.
50310         (FP_FMA_S): Likewise.
50311         (_FP_FRAC_HIGH_DW_S): Likewise.
50312         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
50313         (_FP_WFRACBITS_DW_D): Likewise.
50314         (_FP_WFRACXBITS_DW_D): Likewise.
50315         (_FP_HIGHBIT_DW_D): Likewise.
50316         (FP_FMA_D): Likewise.
50317         (_FP_FRAC_HIGH_DW_D): Likewise.
50318         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
50319         (_FP_WFRACBITS_DW_E): Likewise.
50320         (_FP_WFRACXBITS_DW_E): Likewise.
50321         (_FP_HIGHBIT_DW_E): Likewise.
50322         (FP_FMA_E): Likewise.
50323         (_FP_FRAC_HIGH_DW_E): Likewise.
50324         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
50325         (_FP_WFRACBITS_DW_Q): Likewise.
50326         (_FP_WFRACXBITS_DW_Q): Likewise.
50327         (_FP_HIGHBIT_DW_Q): Likewise.
50328         (FP_FMA_Q): Likewise.
50329         (_FP_FRAC_HIGH_DW_Q): Likewise.
50330         * soft-fp/fmasf4.c: New file.
50331         * soft-fp/fmadf4.c: Likewise.
50332         * soft-fp/fmatf4.c: Likewise.
50334 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50336         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50337         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
50338         Silvermont.
50339         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
50340         macro.
50341         (index_Slow_SSE4_2): Likewise.
50342         (index_Prefer_PMINUB_for_stringop): Likewise.
50343         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
50344         bit_Slow_SSE4_2 is set.
50345         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
50346         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50348 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50350         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
50351         rtld_global._dl_hwcap2.
50352         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
50353         POWER8.
50354         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
50355         POWER8 feature descriptions defined in _dl_hwcap2.
50356         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
50357         string handling for POWER8 feature bits.
50358         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
50359         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
50360         _dl_powerpc_cap_flags.
50361         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
50362         * sysdeps/powerpc/rtld-global-offsets.sym
50363         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
50364         _dl_hwcap2 in the rtld_global_ro structure.
50366 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50368         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
50369         hardware capabilities in support of AT_HWCAP2.
50370         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
50371         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
50372         GLRO(dl_hwcap2).
50373         (_dl_show_auxv): Add support for calling _dl_procinfo to display
50374         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
50375         explicitly the unknown a_type display mechanism is used.
50376         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
50377         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
50378         struct member.
50379         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
50380         to macro prototype for AT_HWCAP2 support.
50381         * sysdeps/i386/dl-procinfo.h: Likewise.
50382         * sysdeps/s390/dl-procinfo.h: Likewise.
50383         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
50384         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
50385         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
50386         return -1 for unknown a_type display fallback.
50387         * sysdeps/sparc/dl-procinfo.h: Likewise.
50388         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
50389         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
50391 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
50393         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
50394         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
50396 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
50398         [BZ #12492]
50399         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
50400         mprotect making __stack_prot writable.
50402 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
50403             Joseph Myers  <joseph@codesourcery.com>
50405         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
50406         as being properly aligned.
50408 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
50410         * dlfcn/modstatic5.c: New file.
50411         * dlfcn/tststatic5.c: New file.
50412         * dlfcn/Makefile (tests): Add tststatic5.
50413         (tests-static): Likewise.
50414         (modules-names): Add modstatic5.
50415         (tststatic5-ENV): New variable.
50416         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
50418         [BZ #15022]
50419         * elf/dl-support.c (_dl_main_map): New variable.
50420         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
50421         (_dl_nns, _dl_load_adds): Set to 1.
50422         (_dl_initial_searchlist): Refer to _dl_main_map.
50423         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
50424         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
50425         call to _dl_get_origin.
50426         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
50427         around call_map.
50428         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
50429         * dlfcn/modstatic3.c: New file.
50430         * dlfcn/tststatic3.c: New file.
50431         * dlfcn/tststatic4.c: New file.
50432         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
50433         (tests-static): Likewise.
50434         (modules-names): Add modstatic3.
50435         (tststatic3-ENV, tststatic4-ENV): New variables.
50436         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
50437         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
50439 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
50441         * configure.in (CC): Require GCC version 4.4 or later.
50442         * configure: Regenerated.
50443         * manual/install.texi (Tools for Compilation): Update GCC version
50444         requirement.
50445         * INSTALL: Regenerated.
50447 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50449         [BZ #15674]
50450         * string/test-memcmp.c (check2): New.
50451         (main): Call check2.
50453         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
50455 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
50457         [BZ #15022]
50458         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
50459         over to...
50460         (dl_open_worker) [!SHARED]: ... here.
50462 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50464         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
50466 2013-06-25  Richard Henderson  <rth@redhat.com>
50468         * locale/programs/locarchive.c: Include <libc-internal.h>
50470 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
50472         * manual/texinfo.tex: Update to version 2013-06-21.17, with
50473         trailing whitespace removed.
50475 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
50477         [BZ #10283]
50478         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
50479         * locale/programs/locarchive.c: Include libc-mmap.h.
50480         (prepare_address_space): Take two new outputs (the mmap base and len).
50481         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
50482         values.
50483         (create_archive): Declare new mmap base and len values for
50484         prepare_address_space, and store the result in ah.
50485         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
50486         (enlarge_archive): If ah->mmap_base is not NULL, use that and
50487         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
50488         Declare new mmap base and len values for
50489         prepare_address_space, and store the result in new_ah.
50490         (open_archive): Declare new mmap base and len values for
50491         prepare_address_space, and store the result in ah.
50492         (close_archive): If ah->mmap_base is not NULL, use that and
50493         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
50494         * sysdeps/generic/libc-mmap.h: New file.
50496 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
50498         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
50499         (ALIGN_UP): Likewise.
50500         (PTR_ALIGN_DOWN): Likewise.
50501         (PTR_ALIGN_UP): Likewise.
50503 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50505         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
50506         entry mapped to PPC_PLATFORM_POWER8.
50507         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
50508         POWER8.
50509         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
50510         (_dl_string_platform): Add case for exporting platform position for
50511         POWER8.
50512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
50513         search path to sysdeps/powerpc/powerpc32/power8 directory.
50514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
50515         search path to sysdeps/powerpc/powerpc64/power8 directory.
50516         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
50517         power7 directories.
50518         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
50519         power7 directories.
50521 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50523         * INSTALL: Regenerate.
50525         * nscd/connections.c (nscd_init): Fix comment.
50527 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
50529         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
50531         [BZ #15667]
50532         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
50533         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
50535 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
50537         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
50538         DL_DST_REQ_STATIC.
50539         (DL_DST_REQ_STATIC): Remove macro.
50541 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
50543         [BZ #7006]
50544         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
50545         with a shift of 0 bits.
50547 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
50549         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
50550         $(tststatic-ENV).
50552 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50554         [BZ #15655]
50555         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
50557 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50559         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
50560         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
50561         accepts -fno-tree-loop-distribute-patterns.
50562         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
50563         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
50564         recursive call.
50565         * string/memset.c (memset): Likewise.
50566         * string/test-memmove.c (simple_memmove): Disable loop transformation
50567         to library calls.
50568         * string/test-memset.c (simple_memset): Likewise.
50569         * benchtests/bench-memmove.c (simple_memmove): Likewise.
50570         * benchtests/bench-memset.c (simple_memset): Likewise.
50571         * configure: Regenerated.
50573 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
50575         * math/test-misc.c (main): Ignore fesetround failure when failures
50576         of subsequent rounding tests would be ignored.
50578         [BZ #15654]
50579         * math/fedisblxcpt.c (fedisableexcept): Return 0.
50580         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
50581         * math/fegetenv.c (__fegetenv): Return 0.
50582         * math/fegetexcept.c (fegetexcept): Return 0.
50583         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
50584         FE_TONEAREST.
50585         * math/feholdexcpt.c (feholdexcept): Return 0.
50586         * math/fesetenv.c (__fesetenv): Return 0.
50587         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
50588         argument FE_TONEAREST.
50589         * math/feupdateenv.c (__feupdateenv): Return 0.
50590         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
50592 2013-06-18  Roland McGrath  <roland@hack.frob.com>
50594         * elf/rtld-Rules (rtld-compile-command.S): New variable.
50595         (rtld-compile-command.s, rtld-compile-command.c): New variables.
50596         ($(objpfx)rtld-%.os rules): Use them.
50598 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50600         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
50601         fields.
50603 2013-06-17  Roland McGrath  <roland@hack.frob.com>
50605         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
50606         length of target pattern, then descending length of dependency pattern.
50607         * configure.in (AWK): Require gawk 3.1.2 or newer.
50608         * manual/install.texi (Tools for Compilation): Say that we do.
50609         * configure: Regenerated.
50611         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
50612         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
50613         * scripts/sysd-rules.awk: ... this new script.
50614         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
50615         than a glob-style pattern.
50617 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
50619         * math/test-misc.c (main): Do not treat incorrectly rounded
50620         conversions as failure unless ROUNDING_TESTS passes.
50622 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
50624         [BZ #15631]
50625         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
50626         restore exception state around main square root computation, then
50627         check for inexactness explicitly.
50629         * math/libm-test.inc (fma_test_data): Add another test.
50631 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50633         * manual/threads.texi (Non-POSIX Extensions): New document
50634         node.  Document pthread_getattr_default_np and
50635         pthread_setattr_default_np.
50637         * Versions.def (libpthread): Add GLIBC_2.18.
50638         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
50639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50640         Likewise.
50641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50642         Likewise.
50643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50644         Likewise.
50645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50646         Likewise.
50647         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
50648         Likewise.
50649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50650         Likewise.
50651         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50652         Likewise.
50653         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50654         Likewise.
50655         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
50656         Likewise.
50658 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50660         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50661         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
50663 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50664             H.J. Lu  <hjl.tools@gmail.com>
50666         [BZ #15627]
50667         * sysdeps/x86_64/rtld-memset.c: Remove file.
50668         * sysdeps/x86_64/rtld-memset.S: New file.
50670 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
50672         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
50673         (test_in_one_mode): Take arguments for whether the rounding mode
50674         is supported for each floating-point type.
50675         (do_test): Pass new arguments to test_in_one_mode using
50676         ROUNDING_TESTS.
50678 2013-06-13  Roland McGrath  <roland@hack.frob.com>
50680         * posix/tst-waitid.c (do_test): Distinguish different instances of
50681         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
50682         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
50683         before entering the kernel for waitpid.
50685 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50687         * NEWS: Fix note on clock function precision.  Text by Roland
50688         McGrath.
50690 2013-06-13  Roland McGrath  <roland@hack.frob.com>
50692         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
50693         it into place only when and if the sanity check passes.
50695 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
50697         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
50698         output for whether conversion result is exact.  Take argument
50699         indicating whether type is IBM long double.
50700         (round_for_all): Change need_exact field to ibm_ld.
50701         * stdlib/tst-strtod-round.c (struct exactness): New type.
50702         (struct test): Change bool ld_ok field to struct exactness exact.
50703         (TEST): Update all definitions for change to field.
50704         (tests): Regenerate array contents.
50705         (test_in_one_mode): Take pointer to new field instead of old ld_ok
50706         field value.  Check for IBM long double here.
50707         (do_test): Update calls to test_in_one_mode.
50709 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50711         [BZ #12515]
50712         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
50713         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
50715 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50717         [BZ #15605]
50718         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
50719         generated by the compiler on loop optimizations.
50720         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
50721         general definitions.
50723 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
50725         * math/bug-nextafter.c: Include <math-tests.h>.
50726         (main): Only test for exceptions if EXCEPTION_TESTS is true for
50727         the relevant type.
50728         * math/bug-nexttoward.c: Include <math-tests.h>.
50729         (main): Only test for exceptions if EXCEPTION_TESTS is true for
50730         the relevant type.
50731         * math/test-misc.c: Include <math-tests.h>.
50732         (main): Only test for exceptions if EXCEPTION_TESTS is true for
50733         the relevant type.
50735 2013-06-12  Andreas Jaeger  <aj@suse.de>
50737         * po/ia.po: Update Interlingua translation from translation
50738         project.
50740 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50742         * include/fenv.h: Include stdbool.h.
50743         (struct rm_ctx): New structure.
50744         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
50745         Define macro.
50746         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
50747         (SET_RESTORE_ROUNDF): Likewise.
50748         (SET_RESTORE_ROUNDL): Likewise.
50749         (SET_RESTORE_ROUND_NOEX): Likewise.
50750         (SET_RESTORE_ROUND_NOEXF): Likewise.
50751         (SET_RESTORE_ROUND_NOEXL): Likewise.
50752         (SET_RESTORE_ROUND_53BIT): Likewise.
50753         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
50754         (libc_feresetround_noexf_ctx): Likewise.
50755         (libc_feresetround_noexl_ctx): Likewise.
50756         (libc_feholdsetround_53bit_ctx): Likewise.
50757         (libc_feresetround_53bit_ctx): Likewise.
50758         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
50759         (libc_feholdexcept_setround_sse_ctx): New function.
50760         (libc_fesetenv_sse_ctx): Likewise.
50761         (libc_feupdateenv_sse_ctx): Likewise.
50762         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
50763         (libc_feholdexcept_setround_387_ctx): Likewise.
50764         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
50765         (libc_feholdsetround_387_prec_ctx): Likewise.
50766         (libc_feholdsetround_387_ctx): Likewise.
50767         (libc_feholdsetround_387_53bit_ctx): Likewise.
50768         (libc_feholdsetround_sse_ctx): Likewise.
50769         (libc_feresetround_sse_ctx): Likewise.
50770         (libc_feresetround_387_ctx): Likewise.
50771         (libc_feupdateenv_387_ctx): Likewise.
50772         (libc_feholdexcept_setroundf_ctx): Define macro.
50773         (libc_fesetenvf_ctx): Likewise.
50774         (libc_feupdateenvf_ctx): Likewise.
50775         (libc_feholdsetroundf_ctx): Likewise.
50776         (libc_feresetroundf_ctx): Likewise.
50777         (libc_feholdexcept_setround_ctx): Likewise.
50778         (libc_fesetenv_ctx): Likewise.
50779         (libc_feupdateenv_ctx): Likewise.
50780         (libc_feholdsetround_ctx): Likewise.
50781         (libc_feresetround_ctx): Likewise.
50782         (libc_feholdexcept_setroundl_ctx): Likewise.
50783         (libc_feupdateenvl_ctx): Likewise.
50784         (libc_feholdsetroundl_ctx): Likewise.
50785         (libc_feresetroundl_ctx): Likewise.
50786         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
50787         (libc_feresetround_53bit_ctx): Likewise.
50789 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50791         * locale/iso-639.def: Convert to UTF-8.
50793 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
50795         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
50796         (EXCEPTION_TESTS_double): Likewise.
50797         (EXCEPTION_TESTS_long_double): Likewise.
50798         (EXCEPTION_TESTS): Likewise.
50799         * math/libm-test.inc (test_exceptions): Only test exceptions if
50800         EXCEPTION_TESTS (FLOAT).
50802 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50804         * benchtests/Makefile (string-bench): Add strcpy_chk and
50805         stpcpy_chk.
50806         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
50807         * benchtests/bench-stpcpy_chk.c: New file.
50808         * benchtests/bench-strcpy_chk-ifunc.c: New file.
50809         * benchtests/bench-strcpy_chk.c: New file.
50810         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
50811         code.
50812         (do_test): Likewise.
50814 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50816         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
50817         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
50818         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
50819         with tabs where appropriate.
50820         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
50821         dl-procinfo.h.
50822         [PPC_PLATFORM_PPC440]: Likewise.
50823         [PPC_PLATFORM_PPC464]: Likewise.
50824         [PPC_PLATFORM_PPC476]: Likewise.
50825         (_dl_string_platform): Add support for detecting ppc405, ppc440,
50826         ppc464, and ppc476 platform strings merging from ports/
50827         dl-procinfo.h.
50829 2013-06-11  Andreas Schwab  <schwab@suse.de>
50831         [BZ #14991]
50832         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
50833         (from_ucs4_idx): Regenerate.
50834         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
50835         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
50836         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
50837         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
50838         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
50839         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
50840         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
50841         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
50842         from FROM_LOOP and TO_LOOP specific macros.
50843         (BODY): Handle combining characters.
50844         * iconvdata/BIG5HKSCS.irreversible: Update.
50845         * iconvdata/BIG5HKSCS.precomposed: New file.
50846         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
50847         characters.
50848         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
50850 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50852         * include/sys/time.h: Fix indentation and add copyright header.
50854         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
50855         (do_test): Likewise.
50856         * string/test-memchr.c (do_one_test): Likewise.
50857         (do_test): Likewise.
50858         * string/test-memcmp.c (do_one_test): Likewise.
50859         (do_test): Likewise.
50860         * string/test-memcpy.c (do_one_test): Likewise.
50861         (do_test): Likewise.
50862         * string/test-memmem.c (do_one_test): Likewise.
50863         (do_test): Likewise.
50864         (do_random_tests): Likewise.
50865         * string/test-memmove.c (do_one_test): Likewise.
50866         (do_test): Likewise.
50867         * string/test-memset.c (do_one_test): Likewise.
50868         (do_test): Likewise.
50869         * string/test-rawmemchr.c (do_one_test): Likewise.
50870         (do_test): Likewise.
50871         * string/test-strcasecmp.c (do_one_test): Likewise.
50872         (do_test): Likewise.
50873         * string/test-strcasestr.c (do_one_test): Likewise.
50874         (do_test): Likewise.
50875         * string/test-strcat.c (do_one_test): Likewise.
50876         (do_test): Likewise.
50877         * string/test-strchr.c (do_one_test): Likewise.
50878         (do_test): Likewise.
50879         * string/test-strcmp.c (do_one_test): Likewise.
50880         (do_test): Likewise.
50881         * string/test-strcpy.c (do_one_test): Likewise.
50882         (do_test): Likewise.
50883         * string/test-string.h: Likewise.
50884         (test_init): Likewise.
50885         * string/test-strlen.c (do_one_test): Likewise.
50886         (do_test): Likewise.
50887         * string/test-strncasecmp.c (do_one_test): Likewise.
50888         (do_test): Likewise.
50889         * string/test-strncat.c (do_one_test): Likewise.
50890         (do_test): Likewise.
50891         * string/test-strncmp.c (do_one_test): Likewise.
50892         (do_test_limit): Likewise.
50893         (do_test): Likewise.
50894         * string/test-strncpy.c (do_one_test): Likewise.
50895         (do_test): Likewise.
50896         * string/test-strnlen.c (do_one_test): Likewise.
50897         (do_test): Likewise.
50898         * string/test-strpbrk.c (do_one_test): Likewise.
50899         (do_test): Likewise.
50900         * string/test-strrchr.c (do_one_test): Likewise.
50901         (do_test): Likewise.
50902         * string/test-strspn.c (do_one_test): Likewise.
50903         (do_test): Likewise.
50904         * string/test-strstr.c (do_one_test): Likewise.
50905         (do_test): Likewise.
50907         * benchtests/Makefile (string-bench): Add string benchmarks.
50908         * benchtests/bench-bcopy-ifunc.c: New file.
50909         * benchtests/bench-bcopy.c: New file.
50910         * benchtests/bench-bzero-ifunc.c: New file.
50911         * benchtests/bench-bzero.c: New file.
50912         * benchtests/bench-memccpy-ifunc.c: New file.
50913         * benchtests/bench-memccpy.c: New file.
50914         * benchtests/bench-memchr-ifunc.c: New file.
50915         * benchtests/bench-memchr.c: New file.
50916         * benchtests/bench-memcmp-ifunc.c: New file.
50917         * benchtests/bench-memcmp.c: New file.
50918         * benchtests/bench-memmem-ifunc.c: New file.
50919         * benchtests/bench-memmem.c: New file.
50920         * benchtests/bench-memmove-ifunc.c: New file.
50921         * benchtests/bench-memmove.c: New file.
50922         * benchtests/bench-mempcpy-ifunc.c: New file.
50923         * benchtests/bench-mempcpy.c: New file.
50924         * benchtests/bench-memset-ifunc.c: New file.
50925         * benchtests/bench-memset.c: New file.
50926         * benchtests/bench-rawmemchr-ifunc.c: New file.
50927         * benchtests/bench-rawmemchr.c: New file.
50928         * benchtests/bench-stpcpy-ifunc.c: New file.
50929         * benchtests/bench-stpcpy.c: New file.
50930         * benchtests/bench-stpncpy-ifunc.c: New file.
50931         * benchtests/bench-stpncpy.c: New file.
50932         * benchtests/bench-strcasecmp-ifunc.c: New file.
50933         * benchtests/bench-strcasecmp.c: New file.
50934         * benchtests/bench-strcasestr-ifunc.c: New file.
50935         * benchtests/bench-strcasestr.c: New file.
50936         * benchtests/bench-strcat-ifunc.c: New file.
50937         * benchtests/bench-strcat.c: New file.
50938         * benchtests/bench-strchr-ifunc.c: New file.
50939         * benchtests/bench-strchr.c: New file.
50940         * benchtests/bench-strchrnul-ifunc.c: New file.
50941         * benchtests/bench-strchrnul.c: New file.
50942         * benchtests/bench-strcmp-ifunc.c: New file.
50943         * benchtests/bench-strcmp.c: New file.
50944         * benchtests/bench-strcpy-ifunc.c: New file.
50945         * benchtests/bench-strcpy.c: New file.
50946         * benchtests/bench-strcspn-ifunc.c: New file.
50947         * benchtests/bench-strcspn.c: New file.
50948         * benchtests/bench-strlen-ifunc.c: New file.
50949         * benchtests/bench-strlen.c: New file.
50950         * benchtests/bench-strncasecmp-ifunc.c: New file.
50951         * benchtests/bench-strncasecmp.c: New file.
50952         * benchtests/bench-strncat-ifunc.c: New file.
50953         * benchtests/bench-strncat.c: New file.
50954         * benchtests/bench-strncmp-ifunc.c: New file.
50955         * benchtests/bench-strncmp.c: New file.
50956         * benchtests/bench-strncpy-ifunc.c: New file.
50957         * benchtests/bench-strncpy.c: New file.
50958         * benchtests/bench-strnlen-ifunc.c: New file.
50959         * benchtests/bench-strnlen.c: New file.
50960         * benchtests/bench-strpbrk-ifunc.c: New file.
50961         * benchtests/bench-strpbrk.c: New file.
50962         * benchtests/bench-strrchr-ifunc.c: New file.
50963         * benchtests/bench-strrchr.c: New file.
50964         * benchtests/bench-strspn-ifunc.c: New file.
50965         * benchtests/bench-strspn.c: New file.
50966         * benchtests/bench-strstr-ifunc.c: New file.
50967         * benchtests/bench-strstr.c: New file.
50969         * benchtests/Makefile: Disable parallel execution of targets.
50970         (string-bench): Add memcpy.
50971         (benchset): New variable to store a list of benchmark sets.
50972         (bench-func): Renamed from bench.
50973         (bench-set): New target.
50974         (bench): Depend on bench-func and bench-set.
50975         * benchtests/README: Add section on benchmark sets.
50976         * benchtests/bench-memcpy-ifunc.c: New file.
50977         * benchtests/bench-memcpy.c: New file.
50978         * benchtests/bench-string.h: New file.
50980 2013-06-11  Andreas Schwab  <schwab@suse.de>
50982         [BZ #15577]
50983         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
50984         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
50985         values in the triple.
50986         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
50987         terminator in the group key.
50989 2013-06-11  Andreas Jaeger  <aj@suse.de>
50991         * po/zh_TW.po: Update Chinese (traditional) translation from
50992         translation project.
50994 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50996         * include/time.h (__clock_gettime): Add libc_hidden_proto.
50997         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
50998         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
50999         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
51000         (clock_getcpuclockid): Likewise.
51001         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
51002         Add weak_alias and libc_hidden_def.
51003         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
51004         * rt/clock_gettime.c (clock_gettime): Rename to
51005         __clock_gettime.  Add weak_alias and libc_hidden_def.
51006         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
51007         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
51008         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
51009         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
51010         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
51011         Likewise.
51012         * rt/clock_settime.c (clock_settime): Rename to
51013         __clock_settime.  Add weak_alias and libc_hidden_def.
51014         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
51016 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
51018         * mach/err_boot.sub: Remove trailing whitespace.
51019         * mach/err_ipc.sub: Likewise.
51020         * mach/err_mach.sub: Likewise.
51022         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
51023         (ROUNDING_TESTS_double): Likewise.
51024         (ROUNDING_TESTS_long_double): Likewise.
51025         (ROUNDING_TESTS): Likewise.
51026         * math/libm-test.inc: Include <math-tests.h>.
51027         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
51028         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51029         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51030         (IF_ROUND_INIT_FE_UPWARD): Likewise.
51032 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51034         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
51035         of assigning.
51037 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
51039         * sysdeps/gnu/errlist.awk: Do not generate space at end of
51040         otherwise empty TRANS lines.
51041         * sysdeps/gnu/errlist.c: Regenerated.
51043         * catgets/gencat.c (error_print): Use (void) in function
51044         definition.
51045         * crypt/crypt_util.c (__init_des): Likewise.
51046         * crypt/speeds.c (Stop): Likewise.
51047         (main): Likewise.
51048         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
51049         * inet/ruserpass.c (token): Likewise.
51050         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
51051         * intl/localealias.c (extend_alias_table): Likewise.
51052         * intl/plural-exp.c (init_germanic_plural): Likewise.
51053         * libio/fcloseall.c (__fcloseall): Likewise.
51054         * libio/genops.c (_IO_flush_all): Likewise.
51055         (_IO_flush_all_linebuffered): Likewise.
51056         (_IO_cleanup): Likewise.
51057         (_IO_iter_begin): Likewise.
51058         (_IO_iter_end): Likewise.
51059         (_IO_list_lock): Likewise.
51060         (_IO_list_unlock): Likewise.
51061         (_IO_list_resetlock): Likewise.
51062         * libio/getchar.c (getchar): Likewise.
51063         * libio/getchar_u.c (getchar_unlocked): Likewise.
51064         * libio/getwchar.c (getwchar): Likewise.
51065         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
51066         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
51067         * login/getpt.c (__getpt): Likewise.
51068         * login/tst-utmp.c (main): Likewise.
51069         * malloc/hooks.c (__malloc_check_init): Likewise.
51070         * malloc/malloc.c (__malloc_stats): Likewise.
51071         * malloc/mtrace.c (tr_break): Likewise.
51072         (mtrace): Likewise.
51073         (muntrace): Likewise.
51074         * misc/fstab.c (endfsent): Likewise.
51075         * misc/getclktck.c (__getclktck): Likewise.
51076         * misc/getdtsz.c (__getdtablesize): Likewise.
51077         * misc/gethostid.c (gethostid): Likewise.
51078         * misc/getpagesize.c (__getpagesize): Likewise.
51079         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
51080         (__get_nprocs): Likewise.
51081         (__get_phys_pages): Likewise.
51082         (__get_avphys_pages): Likewise.
51083         * misc/getttyent.c (getttyent): Likewise.
51084         (setttyent): Likewise.
51085         (endttyent): Likewise.
51086         * misc/getusershell.c (getusershell): Likewise.
51087         (endusershell): Likewise.
51088         (setusershell): Likewise.
51089         (initshells): Likewise.
51090         * misc/hsearch.c (__hdestroy): Likewise.
51091         * misc/sync.c (sync): Likewise.
51092         * misc/syslog.c (closelog_internal): Likewise.
51093         (closelog): Likewise.
51094         * misc/ttyslot.c (ttyslot): Likewise.
51095         * misc/vhangup.c (vhangup): Likewise.
51096         * posix/fork.c (__fork): Likewise.
51097         * posix/getegid.c (__getegid): Likewise.
51098         * posix/geteuid.c (__geteuid): Likewise.
51099         * posix/getgid.c (__getgid): Likewise.
51100         * posix/getpid.c (__getpid): Likewise.
51101         * posix/getppid.c (__getppid): Likewise.
51102         * posix/getuid.c (__getuid): Likewise.
51103         * posix/pause.c (pause): Likewise.
51104         * posix/setpgrp.c (setpgrp): Likewise.
51105         * posix/setsid.c (__setsid): Likewise.
51106         * posix/test-vfork.c (noop): Likewise.
51107         * resolv/gethnamaddr.c (_endhtent): Likewise.
51108         (_gethtent): Likewise.
51109         (ht_endhostent): Likewise.
51110         (gethostent): Likewise.
51111         (dns_service): Likewise.
51112         * stdlib/drand48.c (drand48): Likewise.
51113         * stdlib/lrand48.c (lrand48): Likewise.
51114         * stdlib/mrand48.c (mrand48): Likewise.
51115         * stdlib/rand.c (rand): Likewise.
51116         * stdlib/random.c (__random): Likewise.
51117         * stdlib/setenv.c (clearenv): Likewise.
51118         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
51119         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
51120         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
51121         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
51122         (__get_nprocs): Likewise.
51123         (__get_phys_pages): Likewise.
51124         (__get_avphys_pages): Likewise.
51125         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
51126         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
51127         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
51128         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
51129         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
51130         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
51131         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
51132         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
51133         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
51134         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
51135         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
51136         * sysdeps/mach/hurd/sync.c (sync): Likewise.
51137         * sysdeps/posix/clock.c (clock): Likewise.
51138         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
51139         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
51140         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
51141         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
51142         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
51143         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
51144         (__get_nprocs_conf): Likewise.
51145         (__get_phys_pages): Likewise.
51146         (__get_avphys_pages): Likewise.
51147         * time/clock.c (clock): Likewise.
51148         * time/tzset.c (__tzname_max): Likewise.
51150 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
51152         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
51153         (__bswap_32): Do not use "register".
51154         * crypt/crypt.c (_ufc_doit_r): Likewise.
51155         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
51156         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
51157         * gmon/gmon.c (__monstartup): Likewise.
51158         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
51159         * hurd/hurdmalloc.c (more_memory): Likewise.
51160         (malloc): Likewise.
51161         (free): Likewise.
51162         (realloc): Likewise.
51163         (malloc_fork_prepare): Likewise.
51164         (malloc_fork_parent): Likewise.
51165         (malloc_fork_child): Likewise.
51166         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
51167         (_svcauth_des): Likewise.
51168         * inet/inet_lnaof.c (inet_lnaof): Likewise.
51169         * inet/inet_net.c (inet_network): Likewise.
51170         * inet/inet_netof.c (inet_netof): Likewise.
51171         * inet/rcmd.c (__validuser2_sa): Likewise.
51172         * io/fts.c (fts_open): Likewise.
51173         (fts_load): Likewise.
51174         (fts_close): Likewise.
51175         (fts_read): Likewise.
51176         (fts_children): Likewise.
51177         (fts_build): Likewise.
51178         (fts_stat): Likewise.
51179         (fts_sort): Likewise.
51180         (fts_alloc): Likewise.
51181         (fts_lfree): Likewise.
51182         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
51183         (_IO_file_xsgetn): Likewise.
51184         (_IO_file_xsgetn_mmap): Likewise.
51185         * libio/iofopncook.c (_IO_cookie_read): Likewise.
51186         (_IO_cookie_write): Likewise.
51187         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
51188         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
51189         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
51190         * malloc/obstack.c (_obstack_begin): Likewise.
51191         (_obstack_begin_1): Likewise.
51192         (_obstack_newchunk): Likewise.
51193         (_obstack_allocated_p): Likewise.
51194         (obstack_free): Likewise.
51195         (_obstack_memory_used): Likewise.
51196         * misc/getttyent.c (getttynam): Likewise.
51197         (getttyent): Likewise.
51198         (skip): Likewise.
51199         (value): Likewise.
51200         * misc/getusershell.c (initshells): Likewise.
51201         * misc/syslog.c (__vsyslog_chk): Likewise.
51202         * misc/ttyslot.c (ttyslot): Likewise.
51203         * nis/nis_hash.c (__nis_hash): Likewise.
51204         * posix/fnmatch_loop.c (FCT): Likewise.
51205         * posix/getconf.c (print_all): Likewise.
51206         (main): Likewise.
51207         * posix/getopt.c (exchange): Likewise.
51208         * posix/glob.c (globfree): Likewise.
51209         (prefix_array): Likewise.
51210         (__glob_pattern_type): Likewise.
51211         * resolv/arpa/nameser.h (NS_GET16): Likewise.
51212         (NS_GET32): Likewise.
51213         (NS_PUT16): Likewise.
51214         (NS_PUT32): Likewise.
51215         * resolv/gethnamaddr.c (getanswer): Likewise.
51216         (gethostbyname2): Likewise.
51217         (gethostbyaddr): Likewise.
51218         (_gethtent): Likewise.
51219         (_gethtbyname2): Likewise.
51220         (_gethtbyaddr): Likewise.
51221         * resolv/ns_print.c (dst_s_get_int16): Likewise.
51222         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
51223         * resolv/res_init.c (__res_vinit): Likewise.
51224         (net_mask): Likewise.
51225         * resolv/res_mkquery.c (outchar): Likewise.
51226         (PRINT): Likewise.
51227         * stdio-common/printf_fp.c (outchar): Likewise.
51228         (PRINT): Likewise.
51229         * stdio-common/printf_fphex.c (outchar): Likewise.
51230         (PRINT): Likewise.
51231         * stdio-common/printf_size.c (outchar): Likewise.
51232         (PRINT): Likewise.
51233         * stdio-common/test_rdwr.c (main): Likewise.
51234         * stdio-common/tfformat.c (matches): Likewise.
51235         * stdio-common/vfprintf.c (outchar): Likewise.
51236         (printf_unknown): Likewise.
51237         (buffered_vfprintf): Likewise.
51238         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
51239         * stdio-common/xbug.c (AppendToBuffer): Likewise.
51240         (ReadFile): Likewise.
51241         * stdlib/qsort.c (SWAP): Likewise.
51242         (_quicksort): Likewise.
51243         * stdlib/setenv.c (__add_to_environ): Likewise.
51244         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
51245         * stdlib/strtol_l.c (__strtol_l): Likewise.
51246         * stdlib/tst-strtod.c (main): Likewise.
51247         * stdlib/tst-strtol.c (main): Likewise.
51248         * stdlib/tst-strtoll.c (main): Likewise.
51249         * string/bits/string2.h (__strcmp_cc): Likewise.
51250         (__strcmp_cg): Likewise.
51251         (__strcspn_c1): Likewise.
51252         (__strcspn_c2): Likewise.
51253         (__strcspn_c3): Likewise.
51254         (__strspn_c1): Likewise.
51255         (__strspn_c2): Likewise.
51256         (__strspn_c3): Likewise.
51257         (__strsep_1c): Likewise.
51258         (__strsep_2c): Likewise.
51259         (__strsep_3c): Likewise.
51260         * string/memccpy.c (__memccpy): Likewise.
51261         * string/stpcpy.c (__stpcpy): Likewise.
51262         * string/strcmp.c (strcmp): Likewise.
51263         * string/strrchr.c (strrchr): Likewise.
51264         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
51265         Likewise.
51266         * sysdeps/mach/hurd/getcwd.c
51267         (_hurd_canonicalize_directory_name_internal): Likewise.
51268         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
51269         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
51270         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
51271         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
51272         Likewise, in both definitions.
51273         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
51274         definitions.
51275         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
51276         64] (__bswap_64): Likewise.
51277         * time/test_time.c (main): Likewise.
51278         * time/tzfile.c (__tzfile_read): Likewise.
51279         (__tzfile_compute): Likewise.
51280         * time/tzset.c (__tzset_parse_tz): Likewise.
51281         (tzset_internal): Likewise.
51282         (compute_change): Likewise.
51283         * wcsmbs/wcscat.c (__wcscat): Likewise.
51284         * wcsmbs/wcschr.c (wcschr): Likewise.
51285         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
51286         * wcsmbs/wcscspn.c (wcscspn): Likewise.
51287         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
51288         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
51289         * wcsmbs/wcsspn.c (wcsspn): Likewise.
51290         * wcsmbs/wcsstr.c (wcsstr): Likewise.
51291         * wcsmbs/wmemchr.c (wmemchr): Likewise.
51292         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51293         * wcsmbs/wmemset.c (wmemset): Likewise.
51295 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
51297         * scripts/config.guess: Update to version 2013-05-16.
51298         * scripts/config.sub: Update to version 2013-04-24.
51299         * scripts/install-sh: Update to version 2011-11-20.07.
51300         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
51301         * scripts/move-if-change: Update to version 2012-01-06 07:23.
51303 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
51305         * debug/fgetws_u_chk.c: Fix leading whitespaces.
51306         * elf/sln.c: Likewise.
51307         * hurd/hurd/ioctl.h: Likewise.
51308         * hurd/hurdmalloc.c: Likewise.
51309         * hurd/xattr.c: Likewise.
51310         * include/shlib-compat.h: Likewise.
51311         * inet/ruserpass.c: Likewise.
51312         * libio/iofgets_u.c: Likewise.
51313         * libio/iofgetws_u.c: Likewise.
51314         * locale/programs/ld-identification.c: Likewise.
51315         * locale/programs/ld-time.c: Likewise.
51316         * mach/msg-destroy.c: Likewise.
51317         * nss/nss_files/files-netgrp.c: Likewise.
51318         * resolv/res_data.c: Likewise.
51319         * soft-fp/op-1.h: Likewise.
51320         * soft-fp/op-2.h: Likewise.
51321         * soft-fp/op-4.h: Likewise.
51322         * soft-fp/op-common.h: Likewise.
51323         * stdio-common/printf_fphex.c: Likewise.
51324         * stdlib/strtod_l.c: Likewise.
51325         * sunrpc/rpc/clnt.h: Likewise.
51326         * sysdeps/generic/framestate.c: Likewise.
51327         * sysdeps/i386/bsd-_setjmp.S: Likewise.
51328         * sysdeps/i386/bsd-setjmp.S: Likewise.
51329         * sysdeps/i386/__longjmp.S: Likewise.
51330         * sysdeps/i386/setjmp.S: Likewise.
51331         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51332         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51333         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51334         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51335         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51336         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
51337         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51338         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51339         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51340         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
51341         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
51342         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
51343         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
51344         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
51345         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
51346         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51347         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
51348         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
51349         * sysdeps/ieee754/support.c: Likewise.
51350         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51351         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
51352         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
51353         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
51354         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
51355         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
51356         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
51357         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
51358         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
51359         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
51360         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
51361         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
51362         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
51363         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
51364         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
51365         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
51366         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
51367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
51369 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
51371         * posix/transbug.c: Remove executable mode.
51373 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
51375         * crypt/speeds.c: Remove trailing whitespace.
51376         * dlfcn/default.c: Likewise.
51377         * elf/ifuncdep2.c: Likewise.
51378         * elf/ifuncmain1.c: Likewise.
51379         * elf/ifuncmain1vis.c: Likewise.
51380         * elf/testobj.h: Likewise.
51381         * elf/tst-stackguard1.c: Likewise.
51382         * gmon/sys/gmon.h: Likewise.
51383         * hurd/hurdmsg.c: Likewise.
51384         * hurd/new-fd.c: Likewise.
51385         * hurd/ports-get.c: Likewise.
51386         * iconvdata/ibm1008_420.c: Likewise.
51387         * inet/tst-getni1.c: Likewise.
51388         * inet/tst-getni2.c: Likewise.
51389         * libio/ioungetc.c: Likewise.
51390         * libio/wfiledoalloc.c: Likewise.
51391         * manual/libm-err-tab.pl: Likewise.
51392         * math/w_dremf.c: Likewise.
51393         * misc/ftruncate.c: Likewise.
51394         * posix/bug-glob2.c: Likewise.
51395         * posix/tst-pcre.c: Likewise.
51396         * posix/wait4.c: Likewise.
51397         * resolv/README: Likewise.
51398         * resolv/res_debug.h: Likewise.
51399         * resolv/tst-inet_ntop.c: Likewise.
51400         * setjmp/bug269-setjmp.c: Likewise.
51401         * soft-fp/extended.h: Likewise.
51402         * soft-fp/op-1.h: Likewise.
51403         * soft-fp/op-2.h: Likewise.
51404         * soft-fp/op-4.h: Likewise.
51405         * soft-fp/op-8.h: Likewise.
51406         * soft-fp/testit.c: Likewise.
51407         * stdio-common/bug16.c: Likewise.
51408         * stdlib/random.c: Likewise.
51409         * sunrpc/rpcsvc/rquota.x: Likewise.
51410         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
51411         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51412         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51413         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51414         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51415         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51416         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51417         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51418         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51419         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51420         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51421         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
51422         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51423         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
51424         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51425         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
51426         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
51427         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51428         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
51429         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51430         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51431         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51432         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
51433         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
51434         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
51435         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
51436         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51437         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
51438         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51439         * sysdeps/ieee754/s_lib_version.c: Likewise.
51440         * sysdeps/mach/hurd/check_fds.c: Likewise.
51441         * sysdeps/mach/hurd/getsockname.c: Likewise.
51442         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
51443         * sysdeps/mach/hurd/recvfrom.c: Likewise.
51444         * sysdeps/powerpc/bits/link.h: Likewise.
51445         * sysdeps/powerpc/dl-procinfo.c: Likewise.
51446         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
51447         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
51448         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
51449         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
51450         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51451         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
51452         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
51453         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
51454         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51455         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
51456         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
51457         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
51458         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51459         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51460         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51461         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
51462         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
51463         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51464         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51465         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51466         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
51467         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51468         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
51469         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
51470         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
51471         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
51472         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51473         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51474         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
51475         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
51476         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
51477         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51478         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51479         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
51480         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
51481         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
51482         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
51483         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
51484         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
51485         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
51486         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
51487         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
51488         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
51489         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
51490         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
51491         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
51492         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
51493         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
51494         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
51495         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51496         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51497         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51498         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51499         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
51500         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
51501         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
51502         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51503         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
51504         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
51505         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
51506         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
51507         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
51508         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51509         * sysdeps/powerpc/sysdep.h: Likewise.
51510         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
51511         * sysdeps/s390/s390-64/sub_n.S: Likewise.
51512         * sysdeps/sh/dl-trampoline.S: Likewise.
51513         * sysdeps/sh/memset.S: Likewise.
51514         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
51515         * sysdeps/sh/strlen.S: Likewise.
51516         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
51517         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
51518         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
51519         * sysdeps/sparc/sparc32/rem.S: Likewise.
51520         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
51521         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
51522         * sysdeps/sparc/sparc32/strchr.S: Likewise.
51523         * sysdeps/sparc/sparc32/udiv.S: Likewise.
51524         * sysdeps/sparc/sparc32/urem.S: Likewise.
51525         * sysdeps/sparc/sparc64/add_n.S: Likewise.
51526         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51527         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
51528         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
51529         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
51530         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
51531         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
51532         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
51533         * sysdeps/unix/bsd/times.c: Likewise.
51534         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
51535         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
51536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
51537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
51538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51539         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
51540         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
51541         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
51542         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
51543         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
51544         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
51545         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51546         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
51547         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51548         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51549         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
51550         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51551         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
51552         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
51553         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
51554         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
51555         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
51556         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51557         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
51558         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
51559         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
51560         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
51561         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51562         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
51563         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
51564         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
51565         * sysdeps/x86_64/strcspn.S: Likewise.
51567 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51569         * locale/C-translit.h: Revert #include <stdint.h> because this is a
51570         generated file.  Regenerate properly from gen-translit.pl.
51571         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
51572         locale/C-translit.h.
51574 2013-06-05  Andreas Schwab  <schwab@suse.de>
51576         [BZ #15100]
51577         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
51578         week as 6 instead of -1.
51579         * time/tst-strptime.c (day_tests): Add test case.
51581 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51583         * sysdeps/generic/math_private.h
51584         (libc_feholdexcept_setround_53bit): Replace with
51585         libc_feholdsetround_53bit.
51586         (libc_feupdateenv_53bit): Replace with
51587         libc_feresetround_53bit.
51588         (SET_RESTORE_ROUND_53BIT): Adjust.
51590 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51592         * string/test-strchrnul.c: Add copyright header.
51594         * posix/tst-getaddrinfo4.c: Increase test timeout.
51596 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
51598         [BZ #15536]
51599         * math/libm-test.inc (MAX_EXP): Remove
51600         (MIN_EXP): Define.
51601         (ulp): Use MIN_EXP - MANT_DIG.
51602         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
51604 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
51606         * po/be.po: Revert last change.
51607         * po/zh_CN.po: Likewise.
51608         * po/header.pot: Likewise.
51610 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
51612         * Makefile ($(common-objpfx)linkobj/libc.so): Define
51613         link-libc-deps to empty as target-specific variable.
51614         * Makerules (link-libc-args): New variable.
51615         (libc-for-link): Likewise.
51616         (link-libc-deps): Likewise.
51617         (lib%.so): Depend on $(link-libc-deps).  Link with
51618         $(link-libc-args).
51619         (build-module): Link with $(link-libc-args).
51620         (build-module-asneeded): Likewise.
51621         (build-module-helper-objlist): Filter out $(link-libc-deps) from
51622         list of objects.
51623         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
51624         target-specific variable.
51625         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
51626         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
51627         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
51628         libc.
51629         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
51630         libc and ld.so.
51631         ($(objpfx)libpcprofile.so): Likewise.
51632         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
51633         libc_nonshared.a.
51634         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
51635         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
51636         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
51637         $(link-libc-deps).
51638         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
51639         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
51640         * login/Makefile ($(objpfx)libutil.so): Likewise.
51641         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
51642         * math/Makefile ($(objpfx)libm.so): Likewise.
51643         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
51644         $(objpfx)libnsl.so): Define libc-for-link as target-specific
51645         variable instead of depending directly on libc.
51646         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
51647         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
51648         $(link-libc-deps).
51649         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
51650         libc.
51651         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
51652         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
51653         ($(objpfx)libanl.so): Likewise.
51654         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
51655         ld.so.
51656         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
51657         $(link-libc-deps).
51658         * sysdeps/i386/fpu/Makefile: Remove file.
51659         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
51660         ($(objpfx)libm.so): Remove dependency on ld.so.
51662 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
51664         [BZ # 15553]
51665         * nis/yp_xdr.c (XDRMAXNAME): Define.
51666         (XDRMAXRECORD): Define.
51667         (xdr_domainname): Use XDRMAXNAME.
51668         (xdr_mapname): Likewise.
51669         (xdr_peername): Likewise.
51670         (xdr_keydat): Use XDRMAXRECORD.
51671         (xdr_valdat): Likewise.
51673 2013-05-30  Jeff Law  <law@redhat.com>
51675         [BZ #14256]
51676         * manual/errno.texi (ESTALE): Update to account for more than
51677         just NFS file systems.
51678         * sysdeps/gnu/errlist.c: Regenerated.
51680 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51682         [BZ #15465]
51683         * elf/Makefile (tests): Add tst-null-argv.
51684         (modules-names):  Add tst-null-argv-lib.
51685         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
51686         (tst-null-argv-ENV): Set environment for tst-null-argv.
51687         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
51688         (RTLD_PROGNAME): New macro.
51689         * elf/tst-null-argv.c: New test case.
51690         * elf/tst-null-argv-lib.c: Library for test case.
51691         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
51692         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
51693         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
51694         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
51695         * elf/dl-init.c (call_init): Likewise.
51696         (_dl_init): Likewise.
51697         * elf/dl-load.c (print_search_path): Likewise.
51698         (_dl_map_object): Likewise.
51699         * elf/dl-lookup.c (do_lookup_x): Likewise.
51700         (add_dependency): Likewise.
51701         (_dl_lookup_symbol_x): Likewise.
51702         (_dl_debug_bindings): Likewise.
51703         * elf/dl-open.c (_dl_show_scope): Likewise.
51704         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
51705         * elf/dl-version.c (match_symbol): Likewise.
51706         (_dl_check_map_versions): Likewise.
51707         * elf/rtld.c (dl_main): Likewise.
51708         (print_unresolved): Use RTLD_PROGNAME.
51709         (print_missing_version): Likewise.
51710         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
51711         (elf_machine_rela): Likewise.
51712         * sysdeps/powerpc/powerpc32/dl-machine.c
51713         (__process_machine_rela): Likewise.
51714         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51715         Likewise.
51716         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
51717         Likewise.
51718         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
51719         Likewise.
51720         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51721         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
51722         Likewise.
51723         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
51724         Likewise.
51725         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51727 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
51729         * po/be.po: Add descriptive title.
51730         * po/zh_CN.po: Likewise.
51731         * po/header.pot: Likewise.
51733 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
51735         * locale/programs/locarchive.c (create_archive): Inlucde fname in
51736         error message.
51737         (enlarge_archive): Likewise.
51739 2013-05-28  Ben North  <ben@redfrontdoor.org>
51741         * manual/arith.texi (frexp): It is the magnitude of the return
51742         value which lies in [0.5, 1), not the return value itself.
51744 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51746         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51748 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
51750         * stdio-common/bug26.c (main): Correct fscanf template.
51752         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
51753         declare _dl_skip_args.
51755         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
51756         Don't declare.
51758         * manual/platform.texi: Add missing @end deftypefun.
51760 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
51762         [BZ #15529]
51763         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
51764         bit of mantissa of 2^16382.
51765         * math/libm-test.inc (hypot_test_data): Add more tests.
51767         * math/libm-test.inc: Add drem and pow10 to list of tested
51768         functions.
51769         (pow10_test): New function.
51770         (drem_test): Likewise.
51771         (drem_test_tonearest): Likewise.
51772         (drem_test_towardzero): Likewise.
51773         (drem_test_downward): Likewise.
51774         (drem_test_upward): Likewise.
51775         (main): Call the new functions.
51777         * math/libm-test.inc (finite_test_data): Remove.
51778         (finite_test): Run tests from isfinite_test_data.
51779         (gamma_test_data): Remove.
51780         (gamma_test): Run tests from lgamma_test_data.
51781         * sysdeps/i386/fpu/libm-test-ulps: Update.
51782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51784 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51786         * manual/platform.texi: Add PowerPC PPR function set documentation.
51787         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
51788         implementation.
51790 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
51792         * math/libm-test.inc (MAX_EXP): Define.
51793         (ULPDIFF): Define.
51794         (ulp): New function.
51795         (check_float_internal): Use ULPDIFF.
51796         (cpow_test): Disable failing test.
51797         (check_ulp): Test ulp() implemetnation.
51798         (main): Call check_ulp before starting tests.
51800 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
51802         * math/gen-libm-test.pl (generate_testfile): Do not handle
51803         START_DATA and END_DATA.
51804         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
51805         END_DATA.
51806         (acos_tonearest_test_data): Likewise.
51807         (acos_towardzero_test_data): Likewise.
51808         (acos_downward_test_data): Likewise.
51809         (acos_upward_test_data): Likewise.
51810         (acosh_test_data): Likewise.
51811         (asin_test_data): Likewise.
51812         (asin_tonearest_test_data): Likewise.
51813         (asin_towardzero_test_data): Likewise.
51814         (asin_downward_test_data): Likewise.
51815         (asin_upward_test_data): Likewise.
51816         (asinh_test_data): Likewise.
51817         (atan_test_data): Likewise.
51818         (atanh_test_data): Likewise.
51819         (atan2_test_data): Likewise.
51820         (cabs_test_data): Likewise.
51821         (cacos_test_data): Likewise.
51822         (cacosh_test_data): Likewise.
51823         (carg_test_data): Likewise.
51824         (casin_test_data): Likewise.
51825         (casinh_test_data): Likewise.
51826         (catan_test_data): Likewise.
51827         (catanh_test_data): Likewise.
51828         (cbrt_test_data): Likewise.
51829         (ccos_test_data): Likewise.
51830         (ccosh_test_data): Likewise.
51831         (ceil_test_data): Likewise.
51832         (cexp_test_data): Likewise.
51833         (cimag_test_data): Likewise.
51834         (clog_test_data): Likewise.
51835         (clog10_test_data): Likewise.
51836         (conj_test_data): Likewise.
51837         (copysign_test_data): Likewise.
51838         (cos_test_data): Likewise.
51839         (cos_tonearest_test_data): Likewise.
51840         (cos_towardzero_test_data): Likewise.
51841         (cos_downward_test_data): Likewise.
51842         (cos_upward_test_data): Likewise.
51843         (cosh_test_data): Likewise.
51844         (cosh_tonearest_test_data): Likewise.
51845         (cosh_towardzero_test_data): Likewise.
51846         (cosh_downward_test_data): Likewise.
51847         (cosh_upward_test_data): Likewise.
51848         (cpow_test_data): Likewise.
51849         (cproj_test_data): Likewise.
51850         (creal_test_data): Likewise.
51851         (csin_test_data): Likewise.
51852         (csinh_test_data): Likewise.
51853         (csqrt_test_data): Likewise.
51854         (ctan_test_data): Likewise.
51855         (ctan_tonearest_test_data): Likewise.
51856         (ctan_towardzero_test_data): Likewise.
51857         (ctan_downward_test_data): Likewise.
51858         (ctan_upward_test_data): Likewise.
51859         (ctanh_test_data): Likewise.
51860         (ctanh_tonearest_test_data): Likewise.
51861         (ctanh_towardzero_test_data): Likewise.
51862         (ctanh_downward_test_data): Likewise.
51863         (ctanh_upward_test_data): Likewise.
51864         (erf_test_data): Likewise.
51865         (erfc_test_data): Likewise.
51866         (exp_test_data): Likewise.
51867         (exp_tonearest_test_data): Likewise.
51868         (exp_towardzero_test_data): Likewise.
51869         (exp_downward_test_data): Likewise.
51870         (exp_upward_test_data): Likewise.
51871         (exp10_test_data): Likewise.
51872         (exp2_test_data): Likewise.
51873         (expm1_test_data): Likewise.
51874         (fabs_test_data): Likewise.
51875         (fdim_test_data): Likewise.
51876         (finite_test_data): Likewise.
51877         (floor_test_data): Likewise.
51878         (fma_test_data): Likewise.
51879         (fma_towardzero_test_data): Likewise.
51880         (fma_downward_test_data): Likewise.
51881         (fma_upward_test_data): Likewise.
51882         (fmax_test_data): Likewise.
51883         (fmin_test_data): Likewise.
51884         (fmod_test_data): Likewise.
51885         (fpclassify_test_data): Likewise.
51886         (frexp_test_data): Likewise.
51887         (gamma_test_data): Likewise.
51888         (hypot_test_data): Likewise.
51889         (ilogb_test_data): Likewise.
51890         (isfinite_test_data): Likewise.
51891         (isgreater_test_data): Likewise.
51892         (isgreaterequal_test_data): Likewise.
51893         (isinf_test_data): Likewise.
51894         (isless_test_data): Likewise.
51895         (islessequal_test_data): Likewise.
51896         (islessgreater_test_data): Likewise.
51897         (isnan_test_data): Likewise.
51898         (isnormal_test_data): Likewise.
51899         (issignaling_test_data): Likewise.
51900         (isunordered_test_data): Likewise.
51901         (j0_test_data): Likewise.
51902         (j1_test_data): Likewise.
51903         (jn_test_data): Likewise.
51904         (ldexp_test_data): Likewise.
51905         (lgamma_test_data): Likewise.
51906         (lrint_test_data): Likewise.
51907         (lrint_tonearest_test_data): Likewise.
51908         (lrint_towardzero_test_data): Likewise.
51909         (lrint_downward_test_data): Likewise.
51910         (lrint_upward_test_data): Likewise.
51911         (llrint_test_data): Likewise.
51912         (llrint_tonearest_test_data): Likewise.
51913         (llrint_towardzero_test_data): Likewise.
51914         (llrint_downward_test_data): Likewise.
51915         (llrint_upward_test_data): Likewise.
51916         (log_test_data): Likewise.
51917         (log10_test_data): Likewise.
51918         (log1p_test_data): Likewise.
51919         (log2_test_data): Likewise.
51920         (logb_test_data): Likewise.
51921         (logb_downward_test_data): Likewise.
51922         (lround_test_data): Likewise.
51923         (llround_test_data): Likewise.
51924         (modf_test_data): Likewise.
51925         (nearbyint_test_data): Likewise.
51926         (nextafter_test_data): Likewise.
51927         (nexttoward_test_data): Likewise.
51928         (pow_test_data): Likewise.
51929         (pow_tonearest_test_data): Likewise.
51930         (pow_towardzero_test_data): Likewise.
51931         (pow_downward_test_data): Likewise.
51932         (pow_upward_test_data): Likewise.
51933         (remainder_test_data): Likewise.
51934         (remainder_tonearest_test_data): Likewise.
51935         (remainder_towardzero_test_data): Likewise.
51936         (remainder_downward_test_data): Likewise.
51937         (remainder_upward_test_data): Likewise.
51938         (remquo_test_data): Likewise.
51939         (rint_test_data): Likewise.
51940         (rint_tonearest_test_data): Likewise.
51941         (rint_towardzero_test_data): Likewise.
51942         (rint_downward_test_data): Likewise.
51943         (rint_upward_test_data): Likewise.
51944         (round_test_data): Likewise.
51945         (scalb_test_data): Likewise.
51946         (scalbn_test_data): Likewise.
51947         (scalbln_test_data): Likewise.
51948         (signbit_test_data): Likewise.
51949         (sin_test_data): Likewise.
51950         (sin_tonearest_test_data): Likewise.
51951         (sin_towardzero_test_data): Likewise.
51952         (sin_downward_test_data): Likewise.
51953         (sin_upward_test_data): Likewise.
51954         (sincos_test_data): Likewise.
51955         (sinh_test_data): Likewise.
51956         (sinh_tonearest_test_data): Likewise.
51957         (sinh_towardzero_test_data): Likewise.
51958         (sinh_downward_test_data): Likewise.
51959         (sinh_upward_test_data): Likewise.
51960         (sqrt_test_data): Likewise.
51961         (tan_test_data): Likewise.
51962         (tan_tonearest_test_data): Likewise.
51963         (tan_towardzero_test_data): Likewise.
51964         (tan_downward_test_data): Likewise.
51965         (tan_upward_test_data): Likewise.
51966         (tanh_test_data): Likewise.
51967         (tgamma_test_data): Likewise.
51968         (trunc_test_data): Likewise.
51969         (y0_test_data): Likewise.
51970         (y1_test_data): Likewise.
51971         (yn_test_data): Likewise.
51972         (significand_test_data): Likewise.
51974         * math/gen-libm-test.pl (@functions): Remove variable.
51975         (generate_testfile): Don't handle START and END lines.
51976         * math/libm-test.inc (START): New macro.
51977         (END): Likewise.
51978         (END_COMPLEX): Likewise.
51979         (acos_test): Use END macro without arguments.
51980         (acos_test_tonearest): Likewise.
51981         (acos_test_towardzero): Likewise.
51982         (acos_test_downward): Likewise.
51983         (acos_test_upward): Likewise.
51984         (acosh_test): Likewise.
51985         (asin_test): Likewise.
51986         (asin_test_tonearest): Likewise.
51987         (asin_test_towardzero): Likewise.
51988         (asin_test_downward): Likewise.
51989         (asin_test_upward): Likewise.
51990         (asinh_test): Likewise.
51991         (atan_test): Likewise.
51992         (atanh_test): Likewise.
51993         (atan2_test): Likewise.
51994         (cabs_test): Likewise.
51995         (cacos_test): Use END_COMPLEX macro without arguments.
51996         (cacosh_test): Likewise.
51997         (carg_test): Use END macro without arguments.
51998         (casin_test): Use END_COMPLEX macro without arguments.
51999         (casinh_test): Likewise.
52000         (catan_test): Likewise.
52001         (catanh_test): Likewise.
52002         (cbrt_test): Use END macro without arguments.
52003         (ccos_test): Use END_COMPLEX macro without arguments.
52004         (ccosh_test): Likewise.
52005         (ceil_test): Use END macro without arguments.
52006         (cexp_test): Use END_COMPLEX macro without arguments.
52007         (cimag_test): Use END macro without arguments.
52008         (clog_test): Use END_COMPLEX macro without arguments.
52009         (clog10_test): Likewise.
52010         (conj_test): Likewise.
52011         (copysign_test): Use END macro without arguments.
52012         (cos_test): Likewise.
52013         (cos_test_tonearest): Likewise.
52014         (cos_test_towardzero): Likewise.
52015         (cos_test_downward): Likewise.
52016         (cos_test_upward): Likewise.
52017         (cosh_test): Likewise.
52018         (cosh_test_tonearest): Likewise.
52019         (cosh_test_towardzero): Likewise.
52020         (cosh_test_downward): Likewise.
52021         (cosh_test_upward): Likewise.
52022         (cpow_test): Use END_COMPLEX macro without arguments.
52023         (cproj_test): Likewise.
52024         (creal_test): Use END macro without arguments.
52025         (csin_test): Use END_COMPLEX macro without arguments.
52026         (csinh_test): Likewise.
52027         (csqrt_test): Likewise.
52028         (ctan_test): Likewise.
52029         (ctan_test_tonearest): Likewise.
52030         (ctan_test_towardzero): Likewise.
52031         (ctan_test_downward): Likewise.
52032         (ctan_test_upward): Likewise.
52033         (ctanh_test): Likewise.
52034         (ctanh_test_tonearest): Likewise.
52035         (ctanh_test_towardzero): Likewise.
52036         (ctanh_test_downward): Likewise.
52037         (ctanh_test_upward): Likewise.
52038         (erf_test): Use END macro without arguments.
52039         (erfc_test): Likewise.
52040         (exp_test): Likewise.
52041         (exp_test_tonearest): Likewise.
52042         (exp_test_towardzero): Likewise.
52043         (exp_test_downward): Likewise.
52044         (exp_test_upward): Likewise.
52045         (exp10_test): Likewise.
52046         (exp2_test): Likewise.
52047         (expm1_test): Likewise.
52048         (fabs_test): Likewise.
52049         (fdim_test): Likewise.
52050         (finite_test): Likewise.
52051         (floor_test): Likewise.
52052         (fma_test): Likewise.
52053         (fma_test_towardzero): Likewise.
52054         (fma_test_downward): Likewise.
52055         (fma_test_upward): Likewise.
52056         (fmax_test): Likewise.
52057         (fmin_test): Likewise.
52058         (fmod_test): Likewise.
52059         (fpclassify_test): Likewise.
52060         (frexp_test): Likewise.
52061         (gamma_test): Likewise.
52062         (hypot_test): Likewise.
52063         (ilogb_test): Likewise.
52064         (isfinite_test): Likewise.
52065         (isgreater_test): Likewise.
52066         (isgreaterequal_test): Likewise.
52067         (isinf_test): Likewise.
52068         (isless_test): Likewise.
52069         (islessequal_test): Likewise.
52070         (islessgreater_test): Likewise.
52071         (isnan_test): Likewise.
52072         (isnormal_test): Likewise.
52073         (issignaling_test): Likewise.
52074         (isunordered_test): Likewise.
52075         (j0_test): Likewise.
52076         (j1_test): Likewise.
52077         (jn_test): Likewise.
52078         (ldexp_test): Likewise.
52079         (lgamma_test): Likewise.
52080         (lrint_test): Likewise.
52081         (lrint_test_tonearest): Likewise.
52082         (lrint_test_towardzero): Likewise.
52083         (lrint_test_downward): Likewise.
52084         (lrint_test_upward): Likewise.
52085         (llrint_test): Likewise.
52086         (llrint_test_tonearest): Likewise.
52087         (llrint_test_towardzero): Likewise.
52088         (llrint_test_downward): Likewise.
52089         (llrint_test_upward): Likewise.
52090         (log_test): Likewise.
52091         (log10_test): Likewise.
52092         (log1p_test): Likewise.
52093         (log2_test): Likewise.
52094         (logb_test): Likewise.
52095         (logb_test_downward): Likewise.
52096         (lround_test): Likewise.
52097         (llround_test): Likewise.
52098         (modf_test): Likewise.
52099         (nearbyint_test): Likewise.
52100         (nextafter_test): Likewise.
52101         (nexttoward_test): Likewise.
52102         (pow_test): Likewise.
52103         (pow_test_tonearest): Likewise.
52104         (pow_test_towardzero): Likewise.
52105         (pow_test_downward): Likewise.
52106         (pow_test_upward): Likewise.
52107         (remainder_test): Likewise.
52108         (remainder_test_tonearest): Likewise.
52109         (remainder_test_towardzero): Likewise.
52110         (remainder_test_downward): Likewise.
52111         (remainder_test_upward): Likewise.
52112         (remquo_test): Likewise.
52113         (rint_test): Likewise.
52114         (rint_test_tonearest): Likewise.
52115         (rint_test_towardzero): Likewise.
52116         (rint_test_downward): Likewise.
52117         (rint_test_upward): Likewise.
52118         (round_test): Likewise.
52119         (scalb_test): Likewise.
52120         (scalbn_test): Likewise.
52121         (scalbln_test): Likewise.
52122         (signbit_test): Likewise.
52123         (sin_test): Likewise.
52124         (sin_test_tonearest): Likewise.
52125         (sin_test_towardzero): Likewise.
52126         (sin_test_downward): Likewise.
52127         (sin_test_upward): Likewise.
52128         (sincos_test): Likewise.
52129         (sinh_test): Likewise.
52130         (sinh_test_tonearest): Likewise.
52131         (sinh_test_towardzero): Likewise.
52132         (sinh_test_downward): Likewise.
52133         (sinh_test_upward): Likewise.
52134         (sqrt_test): Likewise.
52135         (tan_test): Likewise.
52136         (tan_test_tonearest): Likewise.
52137         (tan_test_towardzero): Likewise.
52138         (tan_test_downward): Likewise.
52139         (tan_test_upward): Likewise.
52140         (tanh_test): Likewise.
52141         (tgamma_test): Likewise.
52142         (trunc_test): Likewise.
52143         (y0_test): Likewise.
52144         (y1_test): Likewise.
52145         (yn_test): Likewise.
52146         (significand_test): Likewise.
52148 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
52150         [BZ #15381]
52151         * libio/genops.c (_IO_no_init): Initialize wide struct info.
52153 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
52155         [BZ #14894]
52156         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
52157         __ppc_mdoio and __ppc_mdoom.
52158         * manual/platform.texi: Document new functions __ppc_yield,
52159         __ppc_mdoio and __ppc_mdoom.
52161 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
52163         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
52164         (main): Mention "tls" pseudo-hwcap is legacy.
52165         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
52167 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
52169         * math/gen-libm-test.pl (parse_args): Output only string of
52170         arguments as text for test name, not full call or descriptions of
52171         tests for extra outputs.
52172         (generate_testfile): Do not pass function name to parse_args.
52173         Generate this_func variable from START.
52174         * math/libm-test.inc (struct test_f_f_data): Rename test_name
52175         field to arg_str.
52176         (struct test_ff_f_data): Likewise.
52177         (test_ff_f_data_nexttoward): Likewise.
52178         (struct test_fi_f_data): Likewise.
52179         (struct test_fl_f_data): Likewise.
52180         (struct test_if_f_data): Likewise.
52181         (struct test_fff_f_data): Likewise.
52182         (struct test_c_f_data): Likewise.
52183         (struct test_f_f1_data): Likewise.  Remove field extra_name.
52184         (struct test_fF_f1_data): Likewise.
52185         (struct test_ffI_f1_data): Likewise.
52186         (struct test_c_c_data): Rename test_name field to arg_str.
52187         (struct test_cc_c_data): Likewise.
52188         (struct test_f_i_data): Likewise.
52189         (struct test_ff_i_data): Likewise.
52190         (struct test_f_l_data): Likewise.
52191         (struct test_f_L_data): Likewise.
52192         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
52193         and extra2_name.
52194         (COMMON_TEST_SETUP): New macro.
52195         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
52196         (COMMON_TEST_CLEANUP): Likewise.
52197         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
52198         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
52199         macros.
52200         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
52201         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
52202         macros.
52203         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
52204         (RUN_TEST_fff_f): Take argument string.  Call new setup and
52205         cleanup macros.
52206         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
52207         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
52208         macros.
52209         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
52210         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
52211         macros.
52212         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
52213         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
52214         cleanup macros.
52215         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
52216         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
52217         cleanup macros.
52218         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
52219         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
52220         cleanup macros.
52221         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
52222         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
52223         macros.
52224         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
52225         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
52226         macros.
52227         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
52228         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
52229         macros.
52230         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
52231         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
52232         cleanup macros.
52233         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
52234         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
52235         cleanup macros.
52236         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
52237         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
52238         macros.
52239         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
52240         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
52241         cleanup macros.
52242         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
52243         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
52244         macros.
52245         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
52246         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
52247         macros.
52248         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
52249         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
52250         cleanup macros.
52251         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
52253 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
52255         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
52256         to _sifields.sigfault.
52257         (si_addr_lsb): Define new macro.
52258         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
52259         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52260         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
52262 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
52264         [BZ #15441]
52265         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
52266         returns -1.
52267         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
52268         null return -1.
52269         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
52270         loading the domain.
52272 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
52274         * math/gen-libm-test.pl (parse_args): Do not include expected
52275         result in test name.
52276         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
52277         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52278         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
52279         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52280         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
52281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52283 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52285         * benchtests/Makefile: Sort function entries.
52287         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
52288         tanh, asinh, acosh, atanh.
52289         * benchtests/acos-inputs: New file.
52290         * benchtests/acosh-inputs: New file.
52291         * benchtests/asin-inputs: New file.
52292         * benchtests/asinh-inputs: New file.
52293         * benchtests/atanh-inputs: New file.
52294         * benchtests/cosh-inputs: New file.
52295         * benchtests/log-inputs: New file.
52296         * benchtests/sinh-inputs: New file.
52297         * benchtests/tanh-inputs: New file.
52299 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
52301         [BZ #15339]
52302         * posix/tst-getaddrinfo4.c: New test.
52303         * posix/Makefile (tests): Add it.
52305 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52307         [BZ #15339]
52308         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
52309         when no services were used.
52310         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
52311         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
52313 2013-05-21  Andreas Schwab  <schwab@suse.de>
52315         [BZ #15014]
52316         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
52317         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
52318         successful.
52319         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
52320         redundant variable declarations and reallocation of buffer when
52321         parsing as IPv6 address.  Always set NSS status when called from
52322         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
52323         buffer too small.  Correct computation of needed size.
52324         * nss/Makefile (tests): Add test-digits-dots.
52325         * nss/test-digits-dots.c: New test.
52327 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52329         * benchtests/Makefile: Remove instructions for adding
52330         benchmark tests.
52331         * benchtests/README: New file to explain how to execute and
52332         enhance the benchmark tests.
52334 2013-05-21  Andreas Schwab  <schwab@suse.de>
52336         [BZ #15493]
52337         * setjmp/Makefile (tests): Add tst-sigsetjmp.
52338         * setjmp/tst-sigsetjmp.c: New test.
52340 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
52342         * sysdeps/x86_64/memset.S (memset): New implementation.
52343         (__bzero): Likewise.
52344         (__memset_tail): New function.
52346 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
52348         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
52349         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
52350         __memcpy_sse2_unaligned ifunc selection.
52351         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52352         Add memcpy-sse2-unaligned.S.
52353         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52354         Add: __memcpy_sse2_unaligned.
52356 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
52358         [BZ #15490]
52359         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
52360         math_force_eval before restoring floating-point envrionment.
52361         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
52362         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
52363         Likewise.
52364         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
52365         <math_private.h>.
52366         (__nearbyintl): Use math_force_eval before restoring
52367         floating-point environment.
52368         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
52370         * math/gen-libm-test.pl (special_functions): Remove.
52371         (parse_args): Don't handle TEST_extra.  Handle functions with no
52372         return value.
52373         * math/libm-test.inc (struct test_sincos_data): Replace with
52374         struct test_fFF_11_data.
52375         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
52376         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
52377         (sincos_test_data): Change element type to struct
52378         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
52379         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
52380         RUN_TEST_LOOP_sincos.
52381         * math/README.libm-test: Don't mention special handling of
52382         individual functions.
52383         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
52384         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52385         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
52386         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52387         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
52388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52390         * math/gen-libm-test.pl (get_variable): Remove function.
52391         (parse_args): Don't show pointer parameters to call in test
52392         names.  Use "extra output N" in test names for extra outputs
52393         rather than naming variables.
52395 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
52397         [BZ #15488]
52398         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
52399         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
52400         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
52401         double tests.
52402         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
52403         disable.
52404         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
52405         check_long_double.
52407         * math/gen-libm-test.pl (@tests): Remove variable.
52408         ($count): Likewise.
52409         (new_test): Remove function.
52410         (show_exceptions): New function.
52411         (special_functions): Use show_exceptions instead of new_test.
52412         (parse_args): Likewise.
52413         (generate_testfile): Pass only function name in generated call to
52414         print_max_error or print_complex_max_error.
52415         (get_ulps): Do not handle complex tests specially.
52416         (output_test): Rename to ...
52417         (get_all_ulps_for_test): ... this.  Return a string rather than
52418         printing to a file.  Require ulps to be present.
52419         (output_ulps): Generate arrays rather than #defines.
52420         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
52421         (struct ulp_data): New type.
52422         (BUILD_COMPLEX_ULP): Remove macro.
52423         (compare_ulp_data): New function.
52424         (find_ulps): Likewise.
52425         (find_test_ulps): Likewise.
52426         (find_function_ulps): Likewise.
52427         (find_complex_function_ulps): Likewise.
52428         (print_max_error): Determine allowed ulps using
52429         find_function_ulps.
52430         (print_complex_max_error): Determine allowed ulps using
52431         find_complex_function_ulps.
52432         (check_float_internal): Determine max ulps using find_test_ulps.
52433         (check_float): Do not take max_ulp parameter.  Update call to
52434         check_float_internal.
52435         (check_complex): Likewise.
52436         (check_int): Do not take max_ulp parameter.
52437         (check_long): Likewise.
52438         (check_bool): Likewise.
52439         (check_longlong): Likewise.
52440         (struct test_f_f_data): Remove max_ulp field.
52441         (struct test_ff_f_data): Likewise.
52442         (struct test_ff_f_data_nexttoward): Likewise.
52443         (struct test_fi_f_data): Likewise.
52444         (struct test_fl_f_data): Likewise.
52445         (struct test_if_f_data): Likewise.
52446         (struct test_fff_f_data): Likewise.
52447         (struct test_c_f_data): Likewise.
52448         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
52449         (struct test_fF_f1_data): Likewise.
52450         (struct test_ffI_f1_data): Likewise.
52451         (struct test_c_c_data): Remove max_ulp field.
52452         (struct test_cc_c_data): Likewise.
52453         (struct test_f_i_data): Likewise.
52454         (struct test_ff_i_data): Likewise.
52455         (struct test_f_l_data): Likewise.
52456         (struct test_f_L_data): Likewise.
52457         (struct test_sincos_data): Likewise.
52458         (RUN_TEST_f_f): Do not handle ulps.
52459         (RUN_TEST_LOOP_f_f): Likewise.
52460         (RUN_TEST_2_f): Likewise.
52461         (RUN_TEST_LOOP_2_f): Likewise.
52462         (RUN_TEST_fff_f): Likewise.
52463         (RUN_TEST_LOOP_fff_f): Likewise.
52464         (RUN_TEST_c_f): Likewise.
52465         (RUN_TEST_LOOP_c_f): Likewise.
52466         (RUN_TEST_f_f1): Likewise.
52467         (RUN_TEST_LOOP_f_f1): Likewise.
52468         (RUN_TEST_fF_f1): Likewise.
52469         (RUN_TEST_LOOP_fF_f1): Likewise.
52470         (RUN_TEST_fI_f1): Likewise.
52471         (RUN_TEST_LOOP_fI_f1): Likewise.
52472         (RUN_TEST_ffI_f1): Likewise.
52473         (RUN_TEST_LOOP_ffI_f1): Likewise.
52474         (RUN_TEST_c_c): Likewise.
52475         (RUN_TEST_LOOP_c_c): Likewise.
52476         (RUN_TEST_cc_c): Likewise.
52477         (RUN_TEST_LOOP_cc_c): Likewise.
52478         (RUN_TEST_f_i): Likewise.
52479         (RUN_TEST_LOOP_f_i): Likewise.
52480         (RUN_TEST_f_i_tg): Likewise.
52481         (RUN_TEST_LOOP_f_i_tg): Likewise.
52482         (RUN_TEST_ff_i_tg): Likewise.
52483         (RUN_TEST_LOOP_ff_i_tg): Likewise.
52484         (RUN_TEST_f_b): Likewise.
52485         (RUN_TEST_LOOP_f_b): Likewise.
52486         (RUN_TEST_f_b_tg): Likewise.
52487         (RUN_TEST_LOOP_f_b_tg): Likewise.
52488         (RUN_TEST_f_l): Likewise.
52489         (RUN_TEST_LOOP_f_l): Likewise.
52490         (RUN_TEST_f_L): Likewise.
52491         (RUN_TEST_LOOP_f_L): Likewise.
52492         (RUN_TEST_sincos): Likewise.
52493         (RUN_TEST_LOOP_sincos): Likewise.
52495 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
52497         [BZ #15480]
52498         [BZ #15485]
52499         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
52500         main case of finite arguments, set rounding mode to FE_TONEAREST
52501         and discard exceptions.
52502         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
52503         exceptions.
52504         (remainder_tonearest_test_data): New variable.
52505         (remainder_test_tonearest): New function.
52506         (remainder_towardzero_test_data): New variable.
52507         (remainder_test_towardzero): New function.
52508         (remainder_downward_test_data): New variable.
52509         (remainder_test_downward): New function.
52510         (remainder_upward_test_data): New variable.
52511         (remainder_test_upward): New function.
52512         (main): Call the new test functions.
52514         * math/libm-test.inc (struct test_f_f1_data): Remove field
52515         extra_init.
52516         (struct test_fF_f1_data): Likewise.
52517         (struct test_ffI_f1_data): Likewise.
52518         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
52519         based on value of EXTRA_EXPECTED.
52520         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
52521         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
52522         EXTRA_VAR based on value of EXTRA_EXPECTED.
52523         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
52524         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
52525         EXTRA_VAR based on value of EXTRA_EXPECTED.
52526         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
52527         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
52528         EXTRA_VAR based on value of EXTRA_EXPECTED.
52529         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
52530         * math/gen-libm-test.pl (parse_args): Don't output initializers
52531         for extra output values.
52533         * math/libm-test.inc (check_int): Expect result to be exactly
52534         equal to expected value and do not handle ulps.
52535         (check_long): Likewise.
52536         (check_longlong): Likewise.
52538         * math/libm-test.inc (ceil_test_data): Test for "inexact"
52539         exceptions.
52540         (cimag_test_data): Likewise.
52541         (conj_test_data): Likewise.
52542         (copysign_test_data): Likewise.
52543         (cproj_test_data): Likewise.
52544         (creal_test_data): Likewise.
52545         (fabs_test_data): Likewise.
52546         (fdim_test_data): Likewise.
52547         (finite_test_data): Likewise.
52548         (floor_test_data): Likewise.
52549         (fmax_test_data): Likewise.
52550         (fmin_test_data): Likewise.
52551         (fmod_test_data): Likewise.
52552         (fpclassify_test_data): Likewise.
52553         (frexp_test_data): Likewise.
52554         (ilogb_test_data): Likewise.
52555         (isfinite_test_data): Likewise.
52556         (isgreater_test_data): Likewise.
52557         (isgreaterequal_test_data): Likewise.
52558         (isinf_test_data): Likewise.
52559         (isless_test_data): Likewise.
52560         (islessequal_test_data): Likewise.
52561         (islessgreater_test_data): Likewise.
52562         (isnan_test_data): Likewise.
52563         (isnormal_test_data): Likewise.
52564         (issignaling_test_data): Likewise.
52565         (isunordered_test_data): Likewise.
52566         (ldexp_test_data): Likewise.
52567         (lrint_test_data): Likewise.
52568         (lrint_test_data) [TEST_FLOAT]: Disable one test.
52569         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
52570         (lrint_tonearest_test_data): Test for "inexact" exceptions.
52571         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
52572         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
52573         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
52574         test input.
52575         (lrint_towardzero_test_data): Test for "inexact" exceptions.
52576         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
52577         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
52578         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
52579         that test input.
52580         (lrint_downward_test_data): Test for "inexact" exceptions.
52581         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
52582         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
52583         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
52584         test input.
52585         (lrint_upward_test_data): Test for "inexact" exceptions.
52586         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
52587         test input.
52588         (llrint_test_data): Test for "inexact" exceptions.
52589         (llrint_test_data) [TEST_FLOAT]: Disable one test.
52590         (llrint_tonearest_test_data): Test for "inexact" exceptions.
52591         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
52592         (llrint_towardzero_test_data): Test for "inexact" exceptions.
52593         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
52594         (llrint_downward_test_data): Test for "inexact" exceptions.
52595         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
52596         (llrint_upward_test_data): Test for "inexact" exceptions.
52597         (logb_test_data): Likewise.
52598         (logb_downward_test_data): Likewise.
52599         (nextafter_test_data): Likewise.
52600         (nexttoward_test_data): Likewise.
52601         (remainder_test_data): Likewise.
52602         (remquo_test_data): Likewise.
52603         (scalbn_test_data): Likewise.
52604         (scalbln_test_data): Likewise.
52605         (signbit_test_data): Likewise.
52606         (sqrt_test_data): Likewise.
52607         (significand_test_data): Likewise.
52609 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52611         [BZ #15424]
52612         * benchtests/bench-modf.c (struct args): Mark arg0 as
52613         volatile.
52614         * scripts/bench.pl: Mark members of struct args as volatile.
52616 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52618         [BZ # 15497]
52619         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
52620         negative infinity on POWER6 or lower.
52621         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
52623 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
52625         [BZ #15442]
52626         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
52627         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
52628         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
52629         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
52630         (_FP_SETQNAN): New macro.
52631         (_FP_SETQNAN_SEMIRAW): Likewise.
52632         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
52633         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
52634         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
52635         (FP_EXTEND): Use _FP_FRAC_SNANP.
52636         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
52637         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
52638         into account.
52639         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
52640         New macro.
52641         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
52642         Likewise.
52644 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52646         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
52647         with DIVIDE_BY_ZERO_EXCEPTION.
52648         (gamma_test_data): Likewise.
52649         (lgamma_test_data): Likewise.
52650         (log_test_data): Likewise.
52651         (log10_test_data): Likewise.
52652         (log2_test_data): Likewise.
52653         (tgamma_test_data): Likewise.
52655         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
52656         (acos_test_tonearest): Likewise.
52657         (acos_test_towardzero): Likewise.
52658         (acos_test_downward): Likewise.
52659         (acos_test_upward): Likewise.
52660         (acosh_test): Likewise.
52661         (asin_test): Likewise.
52662         (asin_test_tonearest): Likewise.
52663         (asin_test_towardzero): Likewise.
52664         (asin_test_downward): Likewise.
52665         (asin_test_upward): Likewise.
52666         (asinh_test): Likewise.
52667         (atan_test): Likewise.
52668         (atanh_test): Likewise.
52669         (atan2_test): Likewise.
52670         (cabs_test): Likewise.
52671         (cacos_test): Likewise.
52672         (cacosh_test): Likewise.
52673         (casin_test): Likewise.
52674         (casinh_test): Likewise.
52675         (catan_test): Likewise.
52676         (catanh_test): Likewise.
52677         (cbrt_test): Likewise.
52678         (ccos_test): Likewise.
52679         (ccosh_test): Likewise.
52680         (cexp_test): Likewise.
52681         (clog_test): Likewise.
52682         (clog10_test): Likewise.
52683         (cos_test): Likewise.
52684         (cos_test_tonearest): Likewise.
52685         (cos_test_towardzero): Likewise.
52686         (cos_test_downward): Likewise.
52687         (cos_test_upward): Likewise.
52688         (cosh_test): Likewise.
52689         (cosh_test_tonearest): Likewise.
52690         (cosh_test_towardzero): Likewise.
52691         (cosh_test_downward): Likewise.
52692         (cosh_test_upward): Likewise.
52693         (cpow_test): Likewise.
52694         (csin_test): Likewise.
52695         (csinh_test): Likewise.
52696         (csqrt_test): Likewise.
52697         (ctan_test): Likewise.
52698         (ctan_test_tonearest): Likewise.
52699         (ctan_test_towardzero): Likewise.
52700         (ctan_test_downward): Likewise.
52701         (ctan_test_upward): Likewise.
52702         (ctanh_test): Likewise.
52703         (ctanh_test_tonearest): Likewise.
52704         (ctanh_test_towardzero): Likewise.
52705         (ctanh_test_downward): Likewise.
52706         (ctanh_test_upward): Likewise.
52707         (erf_test): Likewise.
52708         (erfc_test): Likewise.
52709         (exp_test): Likewise.
52710         (exp_test_tonearest): Likewise.
52711         (exp_test_towardzero): Likewise.
52712         (exp_test_downward): Likewise.
52713         (exp_test_upward): Likewise.
52714         (exp10_test): Likewise.
52715         (exp2_test): Likewise.
52716         (expm1_test): Likewise.
52717         (fmod_test): Likewise.
52718         (gamma_test): Likewise.
52719         (hypot_test): Likewise.
52720         (j0_test): Likewise.
52721         (j1_test): Likewise.
52722         (jn_test): Likewise.
52723         (lgamma_test): Likewise.
52724         (log_test): Likewise.
52725         (log10_test): Likewise.
52726         (log1p_test): Likewise.
52727         (log2_test): Likewise.
52728         (logb_test_downward): Likewise.
52729         (pow_test): Likewise.
52730         (pow_test_tonearest): Likewise.
52731         (pow_test_towardzero): Likewise.
52732         (pow_test_downward): Likewise.
52733         (pow_test_upward): Likewise.
52734         (remainder_test): Likewise.
52735         (remquo_test): Likewise.
52736         (sin_test): Likewise.
52737         (sin_test_tonearest): Likewise.
52738         (sin_test_towardzero): Likewise.
52739         (sin_test_downward): Likewise.
52740         (sin_test_upward): Likewise.
52741         (sincos_test): Likewise.
52742         (sinh_test): Likewise.
52743         (sinh_test_tonearest): Likewise.
52744         (sinh_test_towardzero): Likewise.
52745         (sinh_test_downward): Likewise.
52746         (sinh_test_upward): Likewise.
52747         (sqrt_test): Likewise.
52748         (tan_test): Likewise.
52749         (tan_test_tonearest): Likewise.
52750         (tan_test_towardzero): Likewise.
52751         (tan_test_downward): Likewise.
52752         (tan_test_upward): Likewise.
52753         (tanh_test): Likewise.
52754         (tgamma_test): Likewise.
52755         (y0_test): Likewise.
52756         (y1_test): Likewise.
52757         (yn_test): Likewise.
52759         * math/gen-libm-test.pl (adjust_arg): Remove function.
52760         (special_function): Remove argument $in_func.  Only handle
52761         generating output for tables of tests, not inside functions.
52762         (parse_args): Likewise.
52763         (generate_testfile): Remove variable $in_func.  Update call to
52764         parse_args.
52765         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
52766         (MINUS_ZERO_INIT): Rename macro to minus_zero.
52767         (PLUS_INFTY_INIT): Rename macro to plus_infty.
52768         (MINUS_INFTY_INIT): Rename macro to minus_infty.
52769         (QNAN_VALUE_INIT): Rename macro to qnan_value.
52770         (MAX_VALUE_INIT): Rename macro to max_value.
52771         (MIN_VALUE_INIT): Rename macro to min_value.
52772         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
52773         (plus_zero): Remove variable.
52774         (minus_zero): Likewise.
52775         (plus_infty): Likewise.
52776         (minus_infty): Likewise.
52777         (qnan_value): Likewise.
52778         (max_value): Likewise.
52779         (min_value): Likewise.
52780         (min_subnorm_value): Likewise.
52782 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52784         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
52785         uint64_t or uint32_t usage.
52786         * crypt/sha256-block.c: Likewise.
52787         * crypt/sha256-crypt.c: Likewise.
52788         * crypt/sha256.c: Likewise.
52789         * crypt/sha512-block.c: Likewise.
52790         * crypt/sha512-crypt.c: Likewise.
52791         * crypt/sha512.c: Likewise.
52792         * debug/backtrace-tst.c: Likewise.
52793         * debug/pcprofiledump.c: Likewise.
52794         * elf/cache.c: Likewise.
52795         * elf/dl-cache.c: Likewise.
52796         * elf/dl-misc.c: Likewise.
52797         * elf/dl-profile.c: Likewise.
52798         * elf/dl-support.c: Likewise.
52799         * elf/ldconfig.c: Likewise.
52800         * elf/sprof.c: Likewise.
52801         * iconv/dummy-repertoire.c: Likewise.
52802         * iconv/iconv_charmap.c: Likewise.
52803         * iconv/skeleton.c: Likewise.
52804         * iconvdata/8bit-generic.c: Likewise.
52805         * iconvdata/cp737.h: Likewise.
52806         * iconvdata/cp775.h: Likewise.
52807         * iconvdata/ibm1008.h: Likewise.
52808         * iconvdata/ibm1025.h: Likewise.
52809         * iconvdata/ibm1046.h: Likewise.
52810         * iconvdata/ibm1097.h: Likewise.
52811         * iconvdata/ibm1112.h: Likewise.
52812         * iconvdata/ibm1122.h: Likewise.
52813         * iconvdata/ibm1123.h: Likewise.
52814         * iconvdata/ibm1124.h: Likewise.
52815         * iconvdata/ibm1129.h: Likewise.
52816         * iconvdata/ibm1130.h: Likewise.
52817         * iconvdata/ibm1132.h: Likewise.
52818         * iconvdata/ibm1133.h: Likewise.
52819         * iconvdata/ibm1137.h: Likewise.
52820         * iconvdata/ibm1140.h: Likewise.
52821         * iconvdata/ibm1141.h: Likewise.
52822         * iconvdata/ibm1142.h: Likewise.
52823         * iconvdata/ibm1143.h: Likewise.
52824         * iconvdata/ibm1144.h: Likewise.
52825         * iconvdata/ibm1145.h: Likewise.
52826         * iconvdata/ibm1146.h: Likewise.
52827         * iconvdata/ibm1147.h: Likewise.
52828         * iconvdata/ibm1148.h: Likewise.
52829         * iconvdata/ibm1149.h: Likewise.
52830         * iconvdata/ibm1153.h: Likewise.
52831         * iconvdata/ibm1154.h: Likewise.
52832         * iconvdata/ibm1155.h: Likewise.
52833         * iconvdata/ibm1156.h: Likewise.
52834         * iconvdata/ibm1157.h: Likewise.
52835         * iconvdata/ibm1158.h: Likewise.
52836         * iconvdata/ibm1160.h: Likewise.
52837         * iconvdata/ibm1161.h: Likewise.
52838         * iconvdata/ibm1162.h: Likewise.
52839         * iconvdata/ibm1163.h: Likewise.
52840         * iconvdata/ibm1164.h: Likewise.
52841         * iconvdata/ibm1166.h: Likewise.
52842         * iconvdata/ibm1167.h: Likewise.
52843         * iconvdata/ibm12712.h: Likewise.
52844         * iconvdata/ibm1390.h: Likewise.
52845         * iconvdata/ibm1399.h: Likewise.
52846         * iconvdata/ibm16804.h: Likewise.
52847         * iconvdata/ibm4517.h: Likewise.
52848         * iconvdata/ibm4899.h: Likewise.
52849         * iconvdata/ibm4909.h: Likewise.
52850         * iconvdata/ibm4971.h: Likewise.
52851         * iconvdata/ibm5347.h: Likewise.
52852         * iconvdata/ibm803.h: Likewise.
52853         * iconvdata/ibm856.h: Likewise.
52854         * iconvdata/ibm901.h: Likewise.
52855         * iconvdata/ibm902.h: Likewise.
52856         * iconvdata/ibm9030.h: Likewise.
52857         * iconvdata/ibm9066.h: Likewise.
52858         * iconvdata/ibm921.h: Likewise.
52859         * iconvdata/ibm922.h: Likewise.
52860         * iconvdata/ibm9448.h: Likewise.
52861         * iconvdata/isiri-3342.h: Likewise.
52862         * iconvdata/jis0201.h: Likewise.
52863         * include/link.h: Likewise.
52864         * include/netdb.h: Likewise.
52865         * inet/check_native.c: Likewise.
52866         * inet/check_pf.c: Likewise.
52867         * inet/getipv4sourcefilter.c: Likewise.
52868         * inet/getnameinfo.c: Likewise.
52869         * inet/getsourcefilter.c: Likewise.
52870         * inet/htonl.c: Likewise.
52871         * inet/setipv4sourcefilter.c: Likewise.
52872         * inet/setsourcefilter.c: Likewise.
52873         * inet/test-inet6_opt.c: Likewise.
52874         * inet/tst-network.c: Likewise.
52875         * locale/C-collate.c: Likewise.
52876         * locale/C-ctype.c: Likewise.
52877         * locale/C-time.c: Likewise.
52878         * locale/C-translit.h: Likewise.
52879         * locale/loadarchive.c: Likewise.
52880         * locale/programs/3level.h: Likewise.
52881         * locale/programs/charmap.c: Likewise.
52882         * locale/programs/charmap.h: Likewise.
52883         * locale/programs/ld-address.c: Likewise.
52884         * locale/programs/ld-collate.c: Likewise.
52885         * locale/programs/ld-ctype.c: Likewise.
52886         * locale/programs/ld-identification.c: Likewise.
52887         * locale/programs/ld-measurement.c: Likewise.
52888         * locale/programs/ld-messages.c: Likewise.
52889         * locale/programs/ld-monetary.c: Likewise.
52890         * locale/programs/ld-name.c: Likewise.
52891         * locale/programs/ld-numeric.c: Likewise.
52892         * locale/programs/ld-paper.c: Likewise.
52893         * locale/programs/ld-telephone.c: Likewise.
52894         * locale/programs/ld-time.c: Likewise.
52895         * locale/programs/linereader.c: Likewise.
52896         * locale/programs/locale.c: Likewise.
52897         * locale/programs/locarchive.c: Likewise.
52898         * locale/programs/locfile.h: Likewise.
52899         * locale/programs/repertoire.c: Likewise.
52900         * locale/programs/simple-hash.c: Likewise.
52901         * locale/programs/simple-hash.h: Likewise.
52902         * malloc/memusage.c: Likewise.
52903         * malloc/memusagestat.c: Likewise.
52904         * nis/nis_defaults.c: Likewise.
52905         * nis/nis_hash.c: Likewise.
52906         * nis/nis_print.c: Likewise.
52907         * nis/nis_xdr.c: Likewise.
52908         * nscd/connections.c: Likewise.
52909         * nscd/hstcache.c: Likewise.
52910         * nscd/nscd_gethst_r.c: Likewise.
52911         * nscd/nscd_getserv_r.c: Likewise.
52912         * nscd/nscd_helper.c: Likewise.
52913         * nscd/servicescache.c: Likewise.
52914         * nss/makedb.c: Likewise.
52915         * nss/nss_db/db-XXX.c: Likewise.
52916         * nss/nss_db/db-initgroups.c: Likewise.
52917         * nss/nss_db/db-netgrp.c: Likewise.
52918         * nss/nss_files/files-network.c: Likewise.
52919         * nss/nss_files/files-parse.c: Likewise.
52920         * posix/bug-regex5.c: Likewise.
52921         * posix/fnmatch_loop.c: Likewise.
52922         * posix/regcomp.c: Likewise.
52923         * posix/regexec.c: Likewise.
52924         * posix/tst-rfc3484-2.c: Likewise.
52925         * posix/tst-rfc3484-3.c: Likewise.
52926         * posix/tst-rfc3484.c: Likewise.
52927         * resolv/nss_dns/dns-canon.c: Likewise.
52928         * resolv/nss_dns/dns-network.c: Likewise.
52929         * resolv/res_init.c: Likewise.
52930         * resolv/res_mkquery.c: Likewise.
52931         * resolv/tst-aton.c: Likewise.
52932         * stdlib/cxa_atexit.c: Likewise.
52933         * stdlib/cxa_finalize.c: Likewise.
52934         * stdlib/gen-fpioconst.c: Likewise.
52935         * stdlib/strtol_l.c: Likewise.
52936         * string/tst-endian.c: Likewise.
52937         * sunrpc/auth_des.c: Likewise.
52938         * sunrpc/clnt_udp.c: Likewise.
52939         * sunrpc/rtime.c: Likewise.
52940         * sunrpc/svcauth_des.c: Likewise.
52941         * sunrpc/xdr.c: Likewise.
52942         * sunrpc/xdr_intXX_t.c: Likewise.
52943         * sunrpc/xdr_rec.c: Likewise.
52944         * sysdeps/generic/ldconfig.h: Likewise.
52945         * sysdeps/generic/ldsodefs.h: Likewise.
52946         * sysdeps/generic/memusage.h: Likewise.
52947         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52948         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
52949         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
52950         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52951         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52952         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52953         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52954         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52955         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52956         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52957         * sysdeps/posix/getaddrinfo.c: Likewise.
52958         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52959         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52960         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52961         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52962         * sysdeps/powerpc/test-gettimebase.c: Likewise.
52963         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
52964         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
52965         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
52966         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
52967         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
52968         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
52969         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
52970         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
52971         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
52972         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
52973         * sysdeps/x86_64/dl-tls.h: Likewise.
52974         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
52975         * time/alt_digit.c: Likewise.
52976         * time/era.c: Likewise.
52977         * wcsmbs/tst-c16c32-1.c: Likewise.
52979 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52981         * math/libm-test.inc (struct test_sincos_data): New type.
52982         (RUN_TEST_LOOP_sincos): New macro.
52983         (sincos_test_data): New variable.
52984         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
52986 2013-05-16  Richard Henderson  <rth@redhat.com>
52988         * math/atest-exp2.c (LIMB64): New macro.
52989         (CONSTSZ): New macro.
52990         (mp_exp1, mp_exp_m1, mp_log2): New variables.
52991         (hexdig): Move ...
52992         (print_mpn_fp): ... to function scope.
52993         (read_mpn_hex): Remove.
52994         (get_log2): Remove.
52995         (exp2_mpn): Use mp_log2.
52996         (main): Use mp_exp1.
52998 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53000         * math/libm-test.inc: Remove comment about not testing "inexact"
53001         exceptions.
53002         (INEXACT_EXCEPTION): New macro.
53003         (NO_INEXACT_EXCEPTION): Likewise.
53004         (INVALID_EXCEPTION_OK): Update value.
53005         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53006         (OVERFLOW_EXCEPTION_OK): Likewise.
53007         (UNDERFLOW_EXCEPTION_OK): Likewise.
53008         (IGNORE_ZERO_INF_SIGN): Likewise.
53009         (ERRNO_UNCHANGED): Likewise.
53010         (ERRNO_EDOM): Likewise.
53011         (ERRNO_ERANGE): Likewise.
53012         (test_exceptions): Handle testing "inexact" exceptions.
53013         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
53014         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
53015         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
53016         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
53017         INEXACT_EXCEPTION.
53018         (rint_towardzero_test_data): Likewise.
53019         (rint_downward_test_data): Likewise.
53020         (rint_upward_test_data): Likewise.
53022         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
53023         with OVERFLOW_EXCEPTION.
53024         (exp10_test_data): Likewise.
53025         (exp2_test_data): Likewise.
53026         (expm1_test_data): Likewise.
53027         (lgamma_test_data): Likewise.
53028         (pow_test_data): Likewise.
53029         (tgamma_test_data): Likewise.
53030         (yn_test_data): Remove duplicate test of overflow.
53032         * math/libm-test.inc (struct test_cc_c_data): New type.
53033         (RUN_TEST_LOOP_cc_c): New macro.
53034         (cpow_test_data): New variable.
53035         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
53037         * math/libm-test.inc (struct test_f_L_data): New type.
53038         (RUN_TEST_LOOP_f_L): New macro.
53039         (llrint_test_data): New variable.
53040         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
53041         (llrint_tonearest_test_data): New variable.
53042         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
53043         (llrint_towardzero_test_data): New variable.
53044         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
53045         (llrint_downward_test_data): New variable.
53046         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
53047         (llrint_upward_test_data): New variable.
53048         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
53049         (llround_test_data): New variable.
53050         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
53052 2013-05-13  Peter Collingbourne  <pcc@google.com>
53054         * math/atest-exp2.c (get_log2): Remove const attribute.
53056 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
53058         * math/libm-test.inc (struct test_f_l_data): New type.
53059         (RUN_TEST_LOOP_f_l): New macro.
53060         (lrint_test_data): New variable.
53061         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
53062         (lrint_tonearest_test_data): New variable.
53063         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
53064         (lrint_towardzero_test_data): New variable.
53065         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
53066         (lrint_downward_test_data): New variable.
53067         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
53068         (lrint_upward_test_data): New variable.
53069         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
53070         (lround_test_data): New variable.
53071         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
53073 2013-05-15  Peter Collingbourne  <pcc@google.com>
53075         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
53076         (EXTRACT_WORDS64) Use where appropriate.
53077         (INSERT_WORDS64) Likewise.
53079         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
53080         constraints with x constraints.
53081         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
53083         * malloc/obstack.c (_obstack_compat): Add initializer.
53085 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
53087         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
53088         si_trapno and add si_addr_lsb to _sifields.sigfault.
53089         (si_trapno): Remove macro.
53090         (si_addr_lsb): Define new macro.
53091         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
53093 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
53095         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
53096         instead of TEST_f_l.
53097         (llrint_test_tonearest): Likewise.
53098         (llrint_test_towardzero): Likewise.
53099         (llrint_test_downward): Likewise.
53100         (llrint_test_upward): Likewise.
53101         (llround_test): Likewise.
53103         * math/libm-test.inc (struct test_f_i_data): Add comment.
53104         (RUN_TEST_LOOP_f_b): New macro.
53105         (RUN_TEST_LOOP_f_b_tg): Likewise.
53106         (finite_test_data): New variable.
53107         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
53108         (isfinite_test_data): New variable.
53109         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53110         (isinf_test_data): New variable.
53111         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53112         (isnan_test_data): New variable.
53113         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53114         (isnormal_test_data): New variable.
53115         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53116         (issignaling_test_data): New variable.
53117         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53118         (signbit_test_data): New variable.
53119         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53121         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
53122         with INVALID_EXCEPTION.
53123         (acosh_test_data): Likewise.
53124         (asin_test_data): Likewise.
53125         (atanh_test_data): Likewise.
53126         (fmod_test_data): Likewise.
53127         (log_test_data): Likewise.
53128         (log10_test_data): Likewise.
53129         (log2_test_data): Likewise.
53130         (pow_test_data): Likewise.
53131         (sqrt_test_data): Likewise.
53132         (y0_test_data): Likewise.
53133         (y1_test_data): Likewise.
53134         (yn_test_data): Likewise.
53136         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
53137         function contents.
53139         * math/libm-test.inc (struct test_ff_i_data): New type.
53140         (RUN_TEST_LOOP_ff_i_tg): New macro.
53141         (isgreater_test_data): New variable.
53142         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53143         (isgreaterequal_test_data): New variable.
53144         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53145         (isless_test_data): New variable.
53146         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53147         (islessequal_test_data): New variable.
53148         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53149         (islessgreater_test_data): New variable.
53150         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53151         (isunordered_test_data): New variable.
53152         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53154 2013-05-14  David S. Miller  <davem@davemloft.net>
53156         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53158 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
53160         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
53162         * math/libm-test.inc (struct test_fF_f1_data): Change type of
53163         extra_test to int.
53164         (struct test_f_i_data): Change type of max_ulp to int.
53166         * math/libm-test.inc (test_ffI_f1_data): New type.
53167         (RUN_TEST_LOOP_ffI_f1): New macro.
53168         (remquo_test_data): New variable.
53169         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
53171         * setjmp/tst-setjmp-fp.c: New file.
53172         * setjmp/Makefile (tests): Add tst-setjmp-fp.
53173         (link-libm): New variable.
53174         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
53176         * math/libm-test.inc (struct test_f_i_data): New type.
53177         (RUN_TEST_LOOP_f_i): New macro.
53178         (RUN_TEST_LOOP_f_i_tg): Likewise.
53179         (fpclassify_test_data): New variable.
53180         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
53181         (ilogb_test_data): New variable.
53182         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
53184         * math/libm-test.inc (scalbln_test): Correct function name in END
53185         call.
53187         * math/libm-test.inc (struct test_f_f1_data): Add comment.
53188         (RUN_TEST_LOOP_fI_f1): New macro.
53189         (frexp_test_data): New variable.
53190         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
53192         * math/libm-test.inc (struct test_fF_f1_data): New type.
53193         (RUN_TEST_LOOP_fF_f1): New macro.
53194         (modf_test_data): New variable.
53195         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
53197         * math/libm-test.inc (struct test_f_f1_data): New type.
53198         (RUN_TEST_LOOP_f_f1): New macro.
53199         (gamma_test_data): New variable.
53200         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
53201         (lgamma_test_data): New variable.
53202         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
53204 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
53206         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
53207         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
53208         (main): Comment "tls" pseudo-hwcap.
53210 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
53212         * math/libm-test.inc (struct test_fl_f_data): New type.
53213         (RUN_TEST_LOOP_fl_f): New variable.
53214         (scalbln_test_data): New variable.
53215         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
53217         * math/libm-test.inc (struct test_fi_f_data): New type.
53218         (RUN_TEST_LOOP_fi_f): New macro.
53219         (ldexp_test_data): New variable.
53220         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
53221         (scalbn_test_data): New variable.
53222         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
53224         * math/libm-test.inc (struct test_c_f_data): New type.
53225         (RUN_TEST_LOOP_c_f): New macro.
53226         (cabs_test_data): New variable.
53227         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
53228         (carg_test_data): New variable.
53229         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
53230         (cimag_test_data): New variable.
53231         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
53232         (creal_test_data): New variable.
53233         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
53235         * math/libm-test.inc (struct test_if_f_data): New type.
53236         (RUN_TEST_LOOP_if_f): New macro.
53237         (jn_test_data): New variable.
53238         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
53239         (yn_test_data): New variable.
53240         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
53242         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
53244 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53246         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
53247         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
53249 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
53251         * benchtests/Makefile (CPPFLAGS-nonlib): Add
53252         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
53253         (bench-deps): Add bench-timing.h.
53254         * benchtests-bench-skeleton.c: Include bench-timing.h.
53255         (main): Use TIMING_* macros instead of clock_gettime.
53256         * benchtests/bench-timing.h: New file.
53258         [BZ #14582]
53259         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
53260         Renamed from _LIB_VERSION.
53261         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
53263 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
53265         * math/libm-test.inc (struct test_fff_f_data): New type.
53266         (RUN_TEST_LOOP_fff_f): New macro.
53267         (fma_test_data): New variable.
53268         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
53269         (fma_towardzero_test_data): New variable.
53270         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
53271         (fma_downward_test_data): New variable.
53272         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
53273         (fma_upward_test_data): New variable.
53274         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
53276         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
53277         (struct test_c_c_data): New type.
53278         (RUN_TEST_LOOP_c_c): New macro.
53279         (cacos_test_data): New variable.
53280         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
53281         (cacosh_test_data): New variable.
53282         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
53283         (casin_test_data): New variable.
53284         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
53285         (casinh_test_data): New variable.
53286         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
53287         (catan_test_data): New variable.
53288         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
53289         (catanh_test_data): New variable.
53290         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
53291         (ccos_test_data): New variable.
53292         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
53293         (ccosh_test_data): New variable.
53294         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
53295         (cexp_test_data): New variable.
53296         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
53297         (clog_test_data): New variable.
53298         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
53299         (clog10_test_data): New variable.
53300         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
53301         (conj_test_data): New variable.
53302         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
53303         (cproj_test_data): New variable.
53304         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
53305         (csin_test_data): New variable.
53306         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
53307         (csinh_test_data): New variable.
53308         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
53309         (csqrt_test_data): New variable.
53310         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
53311         (ctan_test_data): New variable.
53312         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
53313         (ctan_tonearest_test_data): New variable.
53314         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
53315         (ctan_towardzero_test_data): New variable.
53316         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
53317         (ctan_downward_test_data): New variable.
53318         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
53319         (ctan_upward_test_data): New variable.
53320         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
53321         (ctanh_test_data): New variable.
53322         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
53323         (ctanh_tonearest_test_data): New variable.
53324         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
53325         (ctanh_towardzero_test_data): New variable.
53326         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
53327         (ctanh_downward_test_data): New variable.
53328         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
53329         (ctanh_upward_test_data): New variable.
53330         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
53331         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
53332         of BUILD_COMPLEX.
53334         * math/libm-test.inc (struct test_ff_f_data): New type.
53335         (struct test_ff_f_data_nexttoward): Likewise.
53336         (RUN_TEST_LOOP_2_f): New macro.
53337         (RUN_TEST_LOOP_ff_f): Likewise.
53338         (atan2_test_data): New variable.
53339         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
53340         (copysign_test_data): New variable.
53341         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
53342         (fdim_test_data): New variable.
53343         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
53344         (fmax_test_data): New variable.
53345         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
53346         (fmin_test_data): New variable.
53347         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
53348         (fmod_test_data): New variable.
53349         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
53350         (hypot_test_data): New variable.
53351         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
53352         (nextafter_test_data): New variable.
53353         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
53354         (nexttoward_test_data): New variable.
53355         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
53356         (pow_test_data): New variable.
53357         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
53358         (pow_tonearest_test_data): New variable.
53359         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
53360         (pow_towardzero_test_data): New variable.
53361         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
53362         (pow_downward_test_data): New variable.
53363         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
53364         (pow_upward_test_data): New variable.
53365         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
53366         (remainder_test_data): New variable.
53367         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
53368         (scalb_test_data): New variable.
53369         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
53370         * sysdeps/i386/fpu/libm-test-ulps: Update.
53372 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
53374         * math/libm-test.inc (fma_test): Use max_value instead of local
53375         variable fltmax.
53376         (nextafter_test): Likewise.
53378         * math/libm-test.inc (acos_towardzero_test_data): New variable.
53379         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53380         (acos_downward_test_data): New variable.
53381         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53382         (acos_upward_test_data): New variable.
53383         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53384         (acosh_test_data): New variable.
53385         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
53386         (asin_test_data): New variable.
53387         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
53388         (asin_tonearest_test_data): New variable.
53389         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53390         (asin_towardzero_test_data): New variable.
53391         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53392         (asin_downward_test_data): New variable.
53393         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53394         (asin_upward_test_data): New variable.
53395         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53396         (asinh_test_data): New variable.
53397         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
53398         (atan_test_data): New variable.
53399         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
53400         (atanh_test_data): New variable.
53401         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
53402         (cbrt_test_data): New variable.
53403         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
53404         (ceil_test_data): New variable.
53405         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
53406         (cos_test_data): New variable.
53407         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
53408         (cos_tonearest_test_data): New variable.
53409         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53410         (cos_towardzero_test_data): New variable.
53411         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53412         (cos_downward_test_data): New variable.
53413         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53414         (cos_upward_test_data): New variable.
53415         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53416         (cosh_test_data): New variable.
53417         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
53418         (cosh_tonearest_test_data): New variable.
53419         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53420         (cosh_towardzero_test_data): New variable.
53421         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53422         (cosh_downward_test_data): New variable.
53423         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53424         (cosh_upward_test_data): New variable.
53425         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53426         (erf_test_data): New variable.
53427         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
53428         (erfc_test_data): New variable.
53429         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
53430         (exp_test_data): New variable.
53431         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
53432         (exp_tonearest_test_data): New variable.
53433         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53434         (exp_towardzero_test_data): New variable.
53435         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53436         (exp_downward_test_data): New variable.
53437         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53438         (exp_upward_test_data): New variable.
53439         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53440         (exp10_test_data): New variable.
53441         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
53442         (exp2_test_data): New variable.
53443         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
53444         (expm1_test_data): New variable.
53445         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
53446         (fabs_test_data): New variable.
53447         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
53448         (floor_test_data): New variable.
53449         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
53450         (j0_test_data): New variable.
53451         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
53452         (j1_test_data): New variable.
53453         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
53454         (log_test_data): New variable.
53455         (log_test): Run tests with RUN_TEST_LOOP_f_f.
53456         (log10_test_data): New variable.
53457         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
53458         (log1p_test_data): New variable.
53459         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
53460         (log2_test_data): New variable.
53461         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
53462         (logb_test_data): New variable.
53463         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
53464         (logb_downward_test_data): New variable.
53465         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53466         (nearbyint_test_data): New variable.
53467         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
53468         (rint_test_data): New variable.
53469         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
53470         (rint_tonearest_test_data): New variable.
53471         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53472         (rint_towardzero_test_data): New variable.
53473         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53474         (rint_downward_test_data): New variable.
53475         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53476         (rint_upward_test_data): New variable.
53477         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53478         (round_test_data): New variable.
53479         (round_test): Run tests with RUN_TEST_LOOP_f_f.
53480         (sin_test_data): New variable.
53481         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
53482         (sin_tonearest_test_data): New variable.
53483         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53484         (sin_towardzero_test_data): New variable.
53485         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53486         (sin_downward_test_data): New variable.
53487         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53488         (sin_upward_test_data): New variable.
53489         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53490         (sinh_test_data): New variable.
53491         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
53492         (sinh_tonearest_test_data): New variable.
53493         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53494         (sinh_towardzero_test_data): New variable.
53495         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53496         (sinh_downward_test_data): New variable.
53497         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53498         (sinh_upward_test_data): New variable.
53499         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53500         (sqrt_test_data): New variable.
53501         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
53502         (tan_test_data): New variable.
53503         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
53504         (tan_tonearest_test_data): New variable.
53505         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53506         (tan_towardzero_test_data): New variable.
53507         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53508         (tan_downward_test_data): New variable.
53509         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53510         (tan_upward_test_data): New variable.
53511         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53512         (tanh_test_data): New variable.
53513         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
53514         (tgamma_test_data): New variable.
53515         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
53516         (trunc_test_data): New variable.
53517         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
53518         (y0_test_data): New variable.
53519         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
53520         (y1_test_data): New variable.
53521         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
53522         (significand_test_data): New variable.
53523         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
53525 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
53527         [BZ #12387]
53528         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
53530 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
53532         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
53534 2013-05-10  Andreas Jaeger  <aj@suse.de>
53536         [BZ #15448]
53537         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
53538         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
53540 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
53542         * math/gen-libm-test.pl (adjust_arg): New function.
53543         (special_functions): Handle generating output in both functions
53544         and arrays.
53545         (parse_args): Likewise.
53546         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
53547         $in_func argument to parse_args.
53548         * math/libm-test.inc (struct test_f_f_data): New type.
53549         (IF_ROUND_INIT_): New macro.
53550         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
53551         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
53552         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
53553         (IF_ROUND_INIT_FE_UPWARD): Likewise.
53554         (ROUND_RESTORE_): Likewise.
53555         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
53556         (ROUND_RESTORE_FE_TONEAREST): Likewise.
53557         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
53558         (ROUND_RESTORE_FE_UPWARD): Likewise.
53559         (RUN_TEST_LOOP_f_f): New macro.
53560         (acos_test_data): New variable.
53561         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
53562         (acos_tonearest_test_data): New variable.
53563         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53565 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53567         * benchtests/bench-skeleton.c (startup): Fix coding style.
53569 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
53571         [BZ #6809]
53572         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
53573         negative infinity argument.
53574         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
53575         negative infinity argument.
53576         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
53577         negative infinity argument.
53578         * math/libm-test.inc (tgamma_test): Expect errno to be set for
53579         domain errors.
53581 2013-05-10  Florian Weimer  <fweimer@redhat.com>
53583         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
53584         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
53585         * iconv/iconv_prog.c (main): Likewise.
53586         * locale/programs/charmap-dir.c (charmap_readdir)
53587         (fopen_uncompressed): Likewise.
53588         * locale/programs/locfile.c (siblings_uncached)
53589         (write_locale_data): Use lstat64 instead of lstat.
53590         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
53591         stat.
53593 2013-05-10  Andreas Jaeger  <aj@suse.de>
53595         [BZ #15395]
53596         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
53597         localization.
53598         Include <locale.h>.
53600 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
53602         * elf/dl-close.c (_dl_close_worker): Add comments.
53604 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
53606         [BZ #15359]
53607         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
53608         high part of pi/2.
53609         (__ieee754_rem_pio2l): Update comments.
53611         [BZ #15429]
53612         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
53613         high part of pi/2.
53614         (__ieee754_rem_pio2l): Update comments.
53616         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
53617         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
53619         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
53620         M_PI_4l.
53622         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
53623         (M_PI_34_LOG10El): Likewise.
53624         (M_PI2_LOG10El): Likewise.
53625         (M_PI4_LOG10El): Likewise.
53626         (M_PI_LOG10El): Likewise.
53628 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53632 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
53634         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
53635         (MINUS_ZERO_INIT): Likewise.
53636         (PLUS_INFTY_INIT): Likewise.
53637         (MINUS_INFTY_INIT): Likewise.
53638         (QNAN_VALUE_INIT): Likewise.
53639         (MAX_VALUE_INIT): Likewise.
53640         (MIN_VALUE_INIT): Likewise.
53641         (MIN_SUBNORM_VALUE_INIT): Likewise.
53642         (plus_zero): Initialize with PLUS_ZERO_INIT.
53643         (minus_zero): Initialize with MINUS_ZERO_INIT.
53644         (plus_infty): Initialize with PLUS_INFTY_INIT.
53645         (minus_infty): Initialize with MINUS_INFTY_INIT.
53646         (qnan_value): Initialize with QNAN_VALUE_INIT.
53647         (max_value): Initialize with MAX_VALUE_INIT.
53648         (min_value): Initialize with MIN_VALUE_INIT.
53649         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
53651         * math/libm-test.inc (RUN_TEST_if_f): New macro.
53652         (jn_test): Use TEST_if_f instead of TEST_ff_f.
53653         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
53654         (yn_test): Use TEST_if_f instead of TEST_ff_f.
53656         * math/libm-test.inc (RUN_TEST_f_f): New macro.
53657         (RUN_TEST_2_f): Likewise.
53658         (RUN_TEST_ff_f): Likewise.
53659         (RUN_TEST_fi_f): Likewise.
53660         (RUN_TEST_fl_f): Likewise.
53661         (RUN_TEST_fff_f): Likewise.
53662         (RUN_TEST_c_f): Likewise.
53663         (RUN_TEST_f_f1): Likewise.
53664         (RUN_TEST_fF_f1): Likewise.
53665         (RUN_TEST_fI_f1): Likewise.
53666         (RUN_TEST_ffI_f1): Likewise.
53667         (RUN_TEST_c_c): Likewise.
53668         (RUN_TEST_cc_c): Likewise.
53669         (RUN_TEST_f_i): Likewise.
53670         (RUN_TEST_f_i_tg): Likewise.
53671         (RUN_TEST_ff_i_tg): Likewise.
53672         (RUN_TEST_f_b): Likewise.
53673         (RUN_TEST_f_b_tg): Likewise.
53674         (RUN_TEST_f_l): Likewise.
53675         (RUN_TEST_f_L): Likewise.
53676         (RUN_TEST_sincos): Likewise.
53677         * math/gen-libm-test.pl (new_test): Take new argument to indicate
53678         whether to show exceptions.  Do not include ");\n" in return
53679         value.
53680         (special_functions): Output call to RUN_TEST_sincos instead of
53681         check_float calls.  Update calls to new_test.
53682         (parse_args): Output call to single RUN_TEST_* macro instead of
53683         check_* calls and other assignments.  Update calls to new_test.
53685         [BZ #2546]
53686         [BZ #2560]
53687         [BZ #5159]
53688         [BZ #15426]
53689         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
53690         input to result for tgamma overflow.
53691         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
53692         (gamma_coeff): New variable.
53693         (NCOEFF): New macro.
53694         (gamma_positive): New function.
53695         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
53696         underflow here.  Use gamma_positive instead of exp (lgamma) for
53697         other arguments.
53698         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
53699         (gamma_coeff): New variable.
53700         (NCOEFF): New macro.
53701         (gammaf_positive): New function.
53702         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
53703         underflow here.  Use gamma_positive instead of exp (lgamma) for
53704         other arguments.
53705         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
53706         (gamma_coeff): New variable.
53707         (NCOEFF): New macro.
53708         (gammal_positive): New function.
53709         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
53710         underflow here.  Use gamma_positive instead of exp (lgamma) for
53711         other arguments.
53712         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
53713         (gamma_coeff): New variable.
53714         (NCOEFF): New macro.
53715         (gammal_positive): New function.
53716         (__ieee754_gammal_r): Handle positive infinity, overflow and
53717         underflow here.  Handle NaN the same as positive infinity.  Remove
53718         check x < 0xffffffff for negative integers.  Use gamma_positive
53719         instead of exp (lgamma) for other arguments.
53720         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
53721         (gamma_coeff): New variable.
53722         (NCOEFF): New macro.
53723         (gammal_positive): New function.
53724         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
53725         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
53726         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
53727         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
53728         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
53729         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
53730         * sysdeps/generic/math_private.h (__gamma_productf): New
53731         prototype.
53732         (__gamma_product): Likewise.
53733         (__gamma_productl): Likewise.
53734         * math/Makefile (libm-calls): Add gamma_product.
53735         * math/libm-test.inc (tgamma_test): Add more tests.
53736         * sysdeps/i386/fpu/libm-test-ulps: Update.
53737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53739 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
53741         * benchtests/bench-skeleton.c (main): Preheat CPU.
53743 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
53745         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
53747 2013-05-07  Roland McGrath  <roland@hack.frob.com>
53749         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
53750         and _dl_skip_args_internal.
53752 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
53754         * manual/message.texi (Message Translation): Talk about users.
53755         Message to key mapping impacts design.
53757 2013-05-06  Roland McGrath  <roland@hack.frob.com>
53759         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
53761         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
53763         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
53764         * sysdeps/wordsize-64/glob64.c: ... here.
53766         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
53767         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
53768         New macros.
53770         * debug/getlogin_r_chk.c: Moved to ...
53771         * login/getlogin_r_chk.c: ... here.
53772         * debug/Makefile (routines): Move getlogin_r_chk to ...
53773         * login/Makefile (routines): ... here.
53774         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
53775         * login/Versions (libc: GLIBC_2.4): ... here.
53777         * io/poll.c (__poll): Renamed from poll.
53778         Add libc_hidden_def.
53779         (poll): Define as weak alias.
53781         * debug/ptsname_r_chk.c: Moved to ...
53782         * login/ptsname_r_chk.c: ... here.
53783         * debug/Makefile (routines): Move ptsname_r_chk to ...
53784         * login/Makefile (routines): ... here.
53785         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
53786         * login/Versions (libc: GLIBC_2.4): ... here.
53788         * posix/getlogin.c: Moved to ...
53789         * login/getlogin.c: ... here.
53790         * posix/getlogin_r.c: Moved to ...
53791         * login/getlogin_r.c: ... here.
53792         * posix/getlogin_r.c: Moved to ...
53793         * login/getlogin_r.c: ... here.
53794         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
53795         * login/Makefile (routines): ... here.
53796         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
53797         * login/Versions (libc: GLIBC_2.0): ... here.
53799         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
53800         (setrlimit): Define as weak alias.
53802         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
53803         Call __ names for open, ftruncate, and close.
53804         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
53805         (truncate): Define as weak alias.
53807 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
53809         * math/gen-libm-test.pl (parse_args): Initialize x before each
53810         test of frexp, modf and remquo.
53812         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
53813         test signgam value.
53815 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53817         [BZ #15418]
53818         [BZ #15419]
53819         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
53820         internal tests.
53821         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53823 2013-05-06  Roland McGrath  <roland@hack.frob.com>
53825         * elf/dl-writev.h: New file.
53826         * elf/dl-misc.c: Include it.
53827         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
53828         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
53830 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
53832         * math/libm-test.inc (noXFails): Remove variable.
53833         (noXPasses): Likewise.
53834         (BUILD_COMPLEX_INT): Remove macro.
53835         (print_screen): Remove xfail argument.
53836         (print_screen_max_error): Likewise.
53837         (update_stats): Likewise.
53838         (print_max_error): Likewise.  Update calls to other affected
53839         functions.
53840         (print_complex_max_error): Likewise.
53841         (test_single_exception): Update calls to print_screen.
53842         (test_single_errno): Likewise.
53843         (check_float_internal): Remove xfail argument.  Update calls to
53844         other affected functions.
53845         (check_float): Likewise.
53846         (check_complex): Likewise.
53847         (check_int): Likewise.
53848         (check_long): Likewise.
53849         (check_bool): Likewise.
53850         (check_longlong): Likewise.
53851         (main): Don't print noXFails and noXPasses.
53852         * math/gen-libm-test.pl (top level): Don't mention expected
53853         failure handling in comment.
53854         (new_test): Don't handle expected failures.
53855         (parse_args): Don't mention expected failure handling in comment.
53856         (generate_testfile): Don't handle expected failures.
53857         (parse_ulps): Likewise.
53858         (print_ulps_file): Likewise.
53859         (get_failure): Remove function.
53860         (output_test): Don't handle expected failures.
53861         * make/README.libm-test: Don't mention expected failure handling.
53863         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
53864         (minus_zero): Likewise.
53865         (plus_infty): Likewise.
53866         (minus_infty): Likewise.
53867         (qnan_value): Likewise.
53868         (max_value): Likewise.
53869         (min_value): Likewise.
53870         (min_subnorm_value): Likewise.
53871         (initialize): Do not initialize those variables dynamically.
53873 2013-05-03  Roland McGrath  <roland@hack.frob.com>
53875         * io/open.c (__open_2): Moved to ...
53876         * io/open_2.c: ... this new file.
53877         * io/open64.c (__open64_2): Moved to ...
53878         * io/open64_2.c: ... this new file.
53879         * io/openat.c (__openat_2): Moved to ...
53880         * io/openat_2.c: ... this new file.
53881         * io/openat64.c (__openat64_2): Moved to ...
53882         * io/openat64_2.c: ... this new file.
53883         * io/Makefile (routines): Add them.
53884         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
53885         * sysdeps/unix/sysv/linux/open_2.c: File removed.
53886         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
53887         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
53888         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
53889         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
53890         (__openat64): Add hidden_ver.
53891         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
53892         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
53894         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
53895         Separately conditionalize setting of GLRO(dl_sysinfo) so
53896         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
53897         as well, but the actual setting is only under [NEED_DL_SYSINFO].
53899 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53901         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
53902         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
53903         definition.
53904         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
53905         * sysdeps/unix/sysv/linux/powerpc/init-first.c
53906         (_libc_vdso_platform_setup): Add __vdso_time initialization.
53907         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
53908         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
53910 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
53912         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
53913         test signgam value.
53915         * math/libm-test.inc (hypot_test): Do not use
53916         IGNORE_ZERO_INF_SIGN.
53918 2013-05-03  Andreas Jaeger  <aj@suse.de>
53920         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
53921         Linux 3.9.
53922         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
53923         (PF_MAX): Adjust for VSOCK change.
53925 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53929 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
53931         [BZ #15264]
53932         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
53933         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
53934         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
53936 2013-05-02  David S. Miller  <davem@davemloft.net>
53938         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53940 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
53942         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
53944 2013-05-01  Roland McGrath  <roland@hack.frob.com>
53946         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
53948 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
53950         [BZ #14952]
53951         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
53952         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
53953         Use __attribute__ ((__gnu_inline__)).
53954         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
53955         Don't use __attribute__ ((__gnu_inline__)).
53957 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
53959         [BZ #15423]
53960         * math/s_catan.c (__catan): Handle small real or imaginary part of
53961         input specially to avoid spurious underflow.
53962         * math/s_catanf.c (__catanf): Likewise.
53963         * math/s_catanh.c (__catanh): Likewise.
53964         * math/s_catanhf.c (__catanhf): Likewise.
53965         * math/s_catanhl.c (__catanhl): Likewise.
53966         * math/s_catanl.c (__catanl): Likewise.
53967         * math/libm-test.inc (catan_test): Add more tests.
53968         (catanh_test): Likewise.
53969         * sysdeps/i386/fpu/libm-test-ulps: Update.
53970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53972 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53976 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
53978         [BZ #15416]
53979         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
53980         accurately for denominator in atan2.
53981         * math/s_catanf.c (__catanf): Likewise.
53982         * math/s_catanh.c (__catanh): Likewise.
53983         * math/s_catanhf.c (__catanhf): Likewise.
53984         * math/s_catanhl.c (__catanhl): Likewise.
53985         * math/s_catanl.c (__catanl): Likewise.
53986         * math/libm-test.inc (catan_test): Add more tests.
53987         (catanh_test): Likewise.
53988         * sysdeps/i386/fpu/libm-test-ulps: Update.
53989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53991 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53993         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
53995         * benchtests/Makefile (bench): Remove slow benchmarks.
53996         * benchtests/atan-inputs: Add slow benchmark inputs.
53997         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
53998         (BENCH_FUNC): Accept variant offset.
53999         (VARIANT): Define.
54000         * benchtests/bench-skeleton.c (main): Run benchmark for each
54001         variant.
54002         * benchtests/cos-inputs: Add slow benchmark inputs.
54003         * benchtests/exp-inputs: Likewise.
54004         * benchtests/pow-inputs: Likewise.
54005         * benchtests/sin-inputs: Likewise.
54006         * benchtests/slowatan-inputs: Remove.
54007         * benchtests/slowatan.c: Remove.
54008         * benchtests/slowcos-inputs: Remove.
54009         * benchtests/slowcos.c: Remove.
54010         * benchtests/slowexp-inputs: Remove.
54011         * benchtests/slowexp.c: Remove.
54012         * benchtests/slowpow-inputs: Remove.
54013         * benchtests/slowpow.c: Remove.
54014         * benchtests/slowsin-inputs: Remove.
54015         * benchtests/slowsin.c: Remove.
54016         * benchtests/slowtan-inputs: Remove.
54017         * benchtests/slowtan.c: Remove.
54018         * benchtests/tan-inputs: Add slow benchmark inputs.
54019         * scripts/bench.pl: Parse comments and directives.
54021         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
54022         in CPPFLAGS.
54023         ($(objpfx)bench-%.c): Remove *-ITER.
54024         * benchtests/bench-modf.c: Remove definition of ITER.
54025         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
54026         (main): Loop for DURATION seconds instead of fixed number of
54027         iterations.
54028         * scripts/bench.pl: Don't expect iterations in parameters.
54030 2013-04-29  Roland McGrath  <roland@hack.frob.com>
54032         * io/fchdir.c (__fchdir): Renamed from fchdir.
54033         (fchdir): Define as weak alias.
54035 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
54037         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
54038         (ERRNO_EDOM): Likewise.
54039         (ERRNO_ERANGE): Likewise.
54040         (noErrnoTests): New variable.
54041         (init_max_error): Set errno to 0.
54042         (test_single_errno): New function.
54043         (test_errno): Likewise.
54044         (check_float_internal): Call test_errno.  Set errno to 0.
54045         (check_complex): Refer to errno tests in comment.
54046         (check_int): Call test_errno.  Set errno to 0.
54047         (check_long): Likewise.
54048         (check_bool): Likewise.
54049         (check_longlong): Likewise.
54050         (cos_test): Use ERRNO_* flags for errno tests instead of
54051         check_int.
54052         (expm1_test): Likewise.
54053         (fmod_test): Likewise.
54054         (ilogb_test): Likewise.
54055         (lgamma_test): Likewise.
54056         (pow_test): Likewise.
54057         (remainder_test): Likewise.
54058         (sin_test): Likewise.
54059         (tan_test): Likewise.
54060         (yn_test): Likewise.
54061         (initialize): Set errno to 0.
54062         (main): Print number of errno tests.
54063         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
54065 2013-04-29  Andreas Jaeger  <aj@suse.de>
54067         [BZ #15084]
54068         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
54069         and RES_USEVC.
54071         [BZ #15085]
54072         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
54073         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
54074         unimplemented.
54076         [BZ #15380]
54077         * stdlib/random.c (__initstate): Return NULL if
54078         __initstate fails.
54080         [BZ #15086]
54081         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
54082         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
54083         RES_SNGLKUPREOP.
54085 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54089 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
54091         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
54092         of individual tests.
54093         (casin_test): Likewise.
54094         (casinh_test): Likewise.
54096 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
54098         [BZ #15409]
54099         * math/s_catan.c (__catan): Handle arguments with large real or
54100         imaginary part separately without squaring.
54101         * math/s_catanf.c (__catanf): Likewise.
54102         * math/s_catanh.c (__catanh): Likewise.
54103         * math/s_catanhf.c (__catanhf): Likewise.
54104         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
54105         and redefine.
54106         (__catanhl): Handle arguments with large real or imaginary part
54107         separately without squaring.
54108         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
54109         and redefine.
54110         (__catanl): Handle arguments with large real or imaginary part
54111         separately without squaring.
54112         * math/libm-test.inc (catan_test): Add more tests.
54113         (catanh_test): Likewise.
54114         * sysdeps/i386/fpu/libm-test-ulps: Update.
54115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54117 2013-04-27  Andreas Jaeger  <aj@suse.de>
54119         [BZ #15007]
54120         * stdlib/stdlib.h: Update guards for qecvt.
54121         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
54122         <stdlib.h>.
54124 2013-04-27  Allan McRae  <allan@archlinux.org>
54126         * sysdeps/i386/fpu/libm-test-ulps: Update.
54128 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
54130         [BZ #15406]
54131         * math/s_catan.c: Include <float.h>.
54132         (__catan): Ensure underflow exception occurs for underflowed
54133         result.
54134         * math/s_catanf.c: Include <float.h>.
54135         (__catanf): Ensure underflow exception occurs for underflowed
54136         result.
54137         * math/s_catanh.c: Include <float.h>.
54138         (__catanh): Ensure underflow exception occurs for underflowed
54139         result.
54140         * math/s_catanhf.c: Include <float.h>.
54141         (__catanhf): Ensure underflow exception occurs for underflowed
54142         result.
54143         * math/s_catanhl.c: Include <float.h>.
54144         (__catanhl): Ensure underflow exception occurs for underflowed
54145         result.
54146         * math/s_catanl.c: Include <float.h>.
54147         (__catanl): Ensure underflow exception occurs for underflowed
54148         result.
54149         * math/libm-test.inc (catan_test): Add more tests.
54150         (catanh_test): Likewise.
54152         [BZ #15405]
54153         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
54154         underflowed result.
54155         * math/s_ccoshf.c (__ccoshf): Likewise.
54156         * math/s_ccoshl.c (__ccoshl): Likewise.
54157         * math/s_csin.c (__csin): Likewise.
54158         * math/s_csinf.c (__csinf): Likewise.
54159         * math/s_csinh.c (__csinh): Likewise.
54160         * math/s_csinhf.c (__csinhf): Likewise.
54161         * math/s_csinhl.c (__csinhl): Likewise.
54162         * math/s_csinl.c (__csinl): Likewise.
54163         * math/libm-test.inc (ccos_test): Add more tests.
54164         (ccosh_test): Likewise.
54165         (csin_test): Likewise.
54166         (csinh_test): Likewise.
54168 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54170         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
54171         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
54172         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
54173         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
54174         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
54175         powerpc/power5+/fpu folders.
54176         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
54179 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
54181         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54183 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
54185         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
54186         additions to variable.
54187         [$(config-machine) = x86_64] (modules-names): Likewise.
54188         ($(objpfx)tst-audit3): Remove dependency.
54189         ($(objpfx)tst-audit3.out): Likewise.
54190         ($(objpfx)tst-audit4): Likewise.
54191         ($(objpfx)tst-audit4.out): Likewise.
54192         ($(objpfx)tst-audit5): Likewise.
54193         ($(objpfx)tst-audit5.out): Likewise.
54194         ($(objpfx)tst-audit6): Likewise.
54195         ($(objpfx)tst-audit6.out): Likewise.
54196         ($(objpfx)tst-audit7): Likewise.
54197         ($(objpfx)tst-audit7.out): Likewise.
54198         (tst-audit3-ENV): Remove variable.
54199         (tst-audit4-ENV): Likewise.
54200         (tst-audit5-ENV): Likewise.
54201         (tst-audit6-ENV): Likewise.
54202         (tst-audit7-ENV): Likewise.
54203         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
54204         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
54205         addition to variable.
54206         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
54207         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
54208         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
54209         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
54210         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
54211         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
54212         tst-audit3, tst-audit4 and tst-audit5.
54213         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
54214         tst-audit6 and tst-audit7.
54215         [$(subdir) = elf] (modules-names): Add audit modules for those
54216         tests.
54217         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
54218         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
54219         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
54220         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
54221         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
54222         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
54223         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
54224         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
54225         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
54226         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
54227         [$(subdir) = elf] (tst-audit3-ENV): New variable.
54228         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
54229         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
54230         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
54231         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
54232         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
54233         Likewise.
54234         [$(subdir) = elf && $(config-cflags-avx) = yes]
54235         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
54236         [$(subdir) = elf && $(config-cflags-avx) = yes]
54237         (CFLAGS-tst-auditmod4a.c): Likewise.
54238         [$(subdir) = elf && $(config-cflags-avx) = yes]
54239         (CFLAGS-tst-auditmod4b.c): Likewise.
54240         [$(subdir) = elf && $(config-cflags-avx) = yes]
54241         (CFLAGS-tst-auditmod6b.c): Likewise.
54242         [$(subdir) = elf && $(config-cflags-avx) = yes]
54243         (CFLAGS-tst-auditmod6c.c): Likewise.
54244         [$(subdir) = elf && $(config-cflags-avx) = yes]
54245         (CFLAGS-tst-auditmod7b.c): Likewise.
54246         * elf/tst-audit3.c: Move to ...
54247         * sysdeps/x86_64/tst-audit3.c: ... here.
54248         * elf/tst-audit4.c: Move to ...
54249         * sysdeps/x86_64/tst-audit4.c: ... here.
54250         * elf/tst-audit5.c: Move to ...
54251         * sysdeps/x86_64/tst-audit5.c: ... here.
54252         * elf/tst-audit6.c: Move to ...
54253         * sysdeps/x86_64/tst-audit6.c: ... here.
54254         * elf/tst-audit7.c: Move to ...
54255         * sysdeps/x86_64/tst-audit7.c: ... here.
54256         * elf/tst-auditmod3a.c: Move to ...
54257         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
54258         * elf/tst-auditmod3b.c: Move to ...
54259         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
54260         * elf/tst-auditmod4a.c: Move to ...
54261         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
54262         * elf/tst-auditmod4b.c: Move to ...
54263         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
54264         * elf/tst-auditmod5a.c: Move to ...
54265         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
54266         * elf/tst-auditmod5b.c: Move to ...
54267         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
54268         * elf/tst-auditmod6a.c: Move to ...
54269         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
54270         * elf/tst-auditmod6b.c: Move to ...
54271         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
54272         * elf/tst-auditmod6c.c: Move to ...
54273         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
54274         * elf/tst-auditmod7a.c: Move to ...
54275         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
54276         * elf/tst-auditmod7b.c: Move to ...
54277         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
54279 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
54281         [BZ #15366]
54282         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
54283         define unconditionally.
54284         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
54285         define unconditionally.
54286         (INT8_C, INT16_C, etc.): Likewise.
54288 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
54290         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
54291         __ehdr_start with hidden visibility.
54293         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
54295 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
54297         * math/libm-test.inc (cos_test): Use accurate hex constants.
54298         (sincost_test): Likewise.
54300 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
54302         * math/libm-test.inc (catan_test): Add more tests.
54303         (catanh_test): Likewise.
54305         * math/s_catanf.c (__catanf): Use suffixed floating-point
54306         constants.
54307         * math/s_catanhf.c (__catanhf): Likewise.
54308         * math/s_catanhl.c (__catanhl): Likewise.
54309         * math/s_catanl.c (__catanl): Likewise.
54311         [BZ #15394]
54312         * math/s_catan.c (__catan): Calculate imaginary part of result
54313         with log1p not log unless computing log of number close to 0.
54314         * math/s_catanf.c (__catanf): Likewise.
54315         * math/s_catanl.c (__catanl): Likewise.
54316         * math/s_catanh.c (__catanh): Calculate real part of result with
54317         log1p not log unless computing log of number close to 0.
54318         * math/s_catanhf.c (__catanhf): Likewise.
54319         * math/s_catanhl.c (__catanhl): Likewise.
54320         * math/libm-test.inc (catan_test): Add more tests.
54321         (catanh_test): Likewise.
54322         * sysdeps/i386/fpu/libm-test-ulps: Update.
54323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54325 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
54327         * benchtests/Makefile: Mention files in which fast and slow
54328         paths of math functions are implemented.
54330 2013-04-23  Roland McGrath  <roland@hack.frob.com>
54332         * sysdeps/posix/timespec_get.c: New file.
54334 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54336         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
54337         POWER.
54338         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
54339         for POWER.
54340         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
54341         powerpc/power5/fpu folders.
54342         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
54343         * benchtests/Makefile: Add modf testcase.
54344         * benchtests/bench-modf.c: New file: Benchmark test for mo
54346 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
54348         [BZ #14888]
54349         * time/Makefile (tests): Add tst-strptime-whitespace.
54350         * time/strptime_l.c (get_number): Use ISSPACE.
54351         (__strptime_internal): Likewise.
54352         * time/tst-strptime-whitespace.c: New test case.
54354 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
54356         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
54357         member.
54358         (_nss_files_init): Set it here.
54360 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
54362         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
54363         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
54364         unsigned.
54366 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
54368         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
54370 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
54372         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
54373         size just once.
54375 2013-04-21  David S. Miller  <davem@davemloft.net>
54377         * po/ru.po: Update Russion translation from translation project.
54379 2013-04-17  Adam Conrad  <adconrad@0c3.net>
54381         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
54382         and setfsgid.
54384 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
54386         * configure.in: Remove i386 configure warning. Remove i386 case.
54387         * configure: Regenerate.
54388         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
54389         Add example to error message.
54390         * sysdeps/i386/configure: Regenerate.
54392 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54394         * benchtests/Makefile (bench): Add cos, tan, slowcos and
54395         slowtan.
54396         * benchtests/cos-inputs: New file.
54397         * benchtests/slowcos-inputs: New file.
54398         * benchtests/slowcos.c: New file.
54399         * benchtests/slowtan-inputs: New file.
54400         * benchtests/slowtan.c: New file.
54401         * benchtests/tan-inputs: New file.
54403 2013-04-16  Roland McGrath  <roland@hack.frob.com>
54405         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
54406         considered kosher.
54408 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54410         * benchtests/Makefile: Include cppflags-iterator.mk to add
54411         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
54413         * Makefile.in (bench-clean): New target.
54414         * benchtests/Makefile (bench-clean): Likewise.
54416 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
54418         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
54420 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
54422         * stdio-common/tstdiomisc.c: Fix coding-style violation.
54424 2013-04-15  Andreas Schwab  <schwab@suse.de>
54426         * nscd/grpcache.c (cache_addgr): Properly check for short write.
54427         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54428         * nscd/pwdcache.c (cache_addpw): Likewise.
54429         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
54430         more than recsize.
54432 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54434         * benchtests/Makefile (bench): Write all output to
54435         bench-out.tmp together.
54437 2013-04-15  Andreas Schwab  <schwab@suse.de>
54439         * nscd/nscd.c (main): Don't fork again after closing files.
54441 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54443         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
54445         * benchtests/Rules (bench-deps): Collect dependencies into a
54446         single variable.  Add Makefile to dependencies.
54447         ($(objpfx)bench-%.c): Depend on bench-deps.
54449 2013-04-12  Roland McGrath  <roland@hack.frob.com>
54450             Xavier Roche  <roche+kml2@exalead.com>
54452         [BZ #15361]
54453         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
54454         just that it's a file descriptor.
54455         * manual/llio.texi (Synchronizing AIO Operations): Update description
54456         for EBADF error from aio_fsync.
54458 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54460         * Rules (bench): Move target definition...
54461         * benchtests/Makefile: ... here.
54463 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
54465         * math/libm-test.inc (cos_test): Fix PI/2 test.
54466         (sincos_test): Likewise.
54467         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
54468         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
54470 2013-04-11  Andreas Schwab  <schwab@suse.de>
54472         [BZ #13988]
54473         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
54474         accept exponent character only when digits were seen.
54475         * stdio-common/Makefile (tests): Add bug26.
54476         * stdio-common/bug26.c: New file.
54478         [BZ #14293]
54479         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
54480         non-freeable.
54482 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54484         * Makeconfig (rtld-prefix): Define built linker prefix.
54485         * Rules (run-bench): Use it.
54486         * math/Makefile (run-regen-ulps): Likewise.
54488         * Rules (bench): Remove eval.
54490 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54491             Roland McGrath  <roland@hack.frob.com>
54492             Ondrej Bilka  <neleai@seznam.cz>
54494         [BZ #15346]
54495         * time/getdate.c: Include ctype.h and alloca.h.
54496         (__getdate_r): Trim leading and trailing spaces of input.
54497         * time/tst-getdate.c (tests): Add tests with leading and
54498         trailing spaces.
54500 2013-04-08  Roland McGrath  <roland@hack.frob.com>
54502         [BZ #14280]
54503         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
54504         when computing value.
54506 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54508         * math/README.libm-test (How can I generate "libm-test-ulps"?):
54509         Use testrun.sh to run libm tests.
54511         [BZ #15309]
54512         * elf/dl-open.c (dl_open_worker): memset all of seen array.
54514 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
54516         [BZ #15264]
54517         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
54519 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54521         * Makefile.in (regen-ulps): New target.
54522         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
54523         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
54524         [ifneq (no,$(PERL)] (regen-ulps): New target.
54525         [ifeq (no,$(PERL)] (regen-ulps): New target.
54526         * math/libm-test.inc (ulps_file_name): Define.
54527         (output_dir): New variable.
54528         (options): Add "output-dir" option.
54529         (parse_opt): Handle 'o' case.
54530         (main): If output_dir is non-NULL use it as a prefix
54531         otherwise use "".
54532         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
54534 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54536         [BZ #10060, #10062]
54537         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
54538         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
54539         fail configure if __sync_val_compare_and_swap is not inlined.
54540         * sysdeps/i386/configure: Regenerate.
54541         * configure.in: Build for i686 when configured for i386.
54542         * configure: Regenerate.
54543         * README: Remove i386 reference.
54545 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54547         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
54548         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54550 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
54552         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
54553         (lmsnanval): New variables.
54554         (F): Add conversion tests.
54555         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
54556         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
54558         * stdio-common/tstdiomisc.c (F): Properly collect individual
54559         tests' results.
54561         [BZ #14686, #15336]
54562         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
54563         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
54564         Instead, use input NaN values or generate a qNaN by arithmetic
54565         operation.  Also fix bugs to comply with the standard.
54566         * math/libm-test.inc (remainder_test): Add more tests.
54568         [BZ #15335, #15342]
54569         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
54570         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
54571         input NaN values or generate a qNaN by arithmetic operation.
54573         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
54574         unreachable code.
54576         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
54577         definitions.
54579 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
54581         [BZ #14478]
54582         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
54583         underflowed result.
54584         * math/s_cexpf.c (__cexpf): Likewise.
54585         * math/s_cexpl.c (__cexpl): Likewise.
54586         * math/libm-test.inc (cexp_test): Add more tests.
54588 2013-04-03  Andreas Schwab  <schwab@suse.de>
54590         [BZ #15330]
54591         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
54592         order arrays from heap if bigger than alloca cutoff.
54594 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
54596         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
54597         (SNAN_TESTS_double): Refer to GCC PR56831.
54598         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
54599         GCC PR56828.
54601 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54603         * Rules (bench): Move bench.out after the run is complete.
54605         * Rules (bench): Echo currently running benchmark.
54607         * benchtests/Makefile (bench): Add atan and slowatan.
54608         * benchtests/atan-inputs: New file.
54609         * benchtests/slowatan-inputs: New file.
54610         * benchtests/slowatan.c: New file.
54612         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
54613         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
54614         its value.
54616         [BZ #15305]
54617         * sysdeps/unix/sysv/linux/kernel-features.h
54618         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
54619         __ASSUME_XFS_RESTRICTED_CHOWN.
54620         * sysdeps/unix/sysv/linux/pathconf.c
54621         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
54622         Save and restore errno.
54624 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
54626         [BZ #15327]
54627         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
54628         arguments using __kernel_casinh.
54629         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
54630         arguments using __kernel_casinhf.
54631         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
54632         arguments using __kernel_casinhl.
54633         * math/libm-test.inc (cacosh_test): Add more tests.
54634         * sysdeps/i386/fpu/libm-test-ulps: Update.
54635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54637 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54639         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
54640         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
54642         * bench/Makefile (bench): Add sin and slowsin.
54643         * benchtests/sin-inputs: New file.
54644         * benchtests/slowsin-inputs: New file.
54645         * benchtests/slowsin.c: New file.
54647         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
54648         (bench): Add slowexp and slowpow.
54649         (exp-ITER): Increase iterations.
54650         (pow-ITER): Likewise.
54651         * benchtests/exp-inputs: Change input.
54652         * benchtests/pow-inputs: Likewise.
54653         * benchtests/slowexp-inputs: New file.
54654         * benchtests/slowexp.c: New file.
54655         * benchtests/slowpow-inputs: New file.
54656         * benchtests/slowpow.c: New file.
54658 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54660         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
54661         instructions.
54662         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
54663         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
54664         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
54665         * benchtests/Makefile: Add rint benchtest.
54666         * benchtests/rint-inputs: Input for rint benchtest.
54668 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
54670         * Versions.def (libm): Add GLIBC_2.18.
54671         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
54672         hidden libm prototypes.
54673         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
54674         * math/Makefile (libm-calls): Add s_issignaling.
54675         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
54676         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
54677         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
54678         declaration.
54679         * math/math.h [__USE_GNU] (issignaling): New macro.
54680         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
54681         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
54682         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
54683         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
54684         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
54685         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
54686         * manual/arith.texi (issignaling): New section.
54687         * manual/libm-err-tab.pl (@all_functions): Update comment.
54688         * math/gen-libm-test.pl (parse_args): Apply special handling for
54689         issignaling.
54690         * math/libm-test.inc (print_float, issignaling_test): New
54691         functions.
54692         (check_float_internal): Add issignaling checks.
54693         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
54694         default definition.
54695         * sysdeps/powerpc/math-tests.h: New file.
54696         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
54697         tests.
54698         * math/test-snan.c (TEST_FUNC): Likewise.
54700 2013-03-30  David S. Miller  <davem@davemloft.net>
54702         * po/de.po: Update from translation team.
54704 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
54706         [BZ #10357]
54707         * math/k_casinh.c (__kernel_casinh): Handle arguments with
54708         imaginary part less than 1.0 and real part less than 0.5
54709         specially.
54710         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54711         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54712         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
54713         (cacos_test): Add more tests.
54714         (casin_test): Likewise.
54715         (casinh_test): Likewise.
54716         * sysdeps/i386/fpu/libm-test-ulps: Update.
54717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54719 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54721         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
54722         ONE with its value.
54724         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
54725         (__pow_mp): Replace ONE and MONE with their values.
54726         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54727         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
54728         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54729         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
54730         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
54731         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54733         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
54735         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
54736         (__pow_mp): Replace ZERO and MZERO with their values.
54737         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
54738         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54739         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54740         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
54741         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
54742         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
54743         (__sqr): Likewise.
54745         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
54747         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
54749 2013-03-28  Roland McGrath  <roland@hack.frob.com>
54751         * include/stdlib.h [!SHARED] (__call_tls_dtors):
54752         Declare with __attribute__ ((weak)).
54753         * stdlib/exit.c (__libc_atexit) [!SHARED]:
54754         Call __call_tls_dtors only if it's not NULL.
54756 2013-03-28  Roland McGrath  <roland@hack.frob.com>
54758         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
54759         didn't do it already, then set _dl_phdr and _dl_phnum based on the
54760         magic __ehdr_start linker symbol if it's defined.
54761         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
54762         them up here if it was already done.
54764         * elf/dl-support.c (_dl_phdr): Make pointer to const.
54765         (_dl_aux_init): Use const in cast when setting it.
54766         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
54767         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
54768         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
54770         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
54771         Declare them here.
54772         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
54773         * csu/libc-tls.c: Nor here.
54774         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
54776         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
54777         (__libc_message): Never call vsyslog.
54779 2013-03-28  Alan Modra  <amodra@gmail.com>
54781         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
54782         Define as empty.
54783         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
54784         Likewise.
54786 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54788         [BZ #15214]
54789         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
54790         underflow.
54791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54793 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54795         [BZ #15304]
54796         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
54797         Don't add gid passed as argument.
54799         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
54801 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
54803         [BZ #15307]
54804         * math/k_casinh.c (__kernel_casinh): Handle arguments with
54805         imaginary part between 1.0 and 1.5 and real part less than 0.5
54806         specially.
54807         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54808         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54809         * math/libm-test.inc (cacos_test): Add more tests.
54810         (casin_test): Likewise.
54811         (casinh_test): Likewise.
54812         * sysdeps/i386/fpu/libm-test-ulps: Update.
54813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54815 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54817         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
54818         constants.
54819         (norm): Likewise.
54820         (denorm): Likewise.
54821         (__dbl_mp): Likewise.
54822         (add_magnitudes): Likewise.
54823         (sub_magnitudes): Likewise.
54824         (__add): Likewise.
54825         (__sub): Likewise.
54826         (__mul): Likewise.
54827         (__sqr): Likewise.
54828         (__inv): Likewise.
54829         (__dvd): Likewise.
54831         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
54832         commented code.
54833         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
54834         (__dubcos): Likewise.
54835         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
54836         (__ieee754_acos): Likewise.
54837         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
54838         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
54839         (__exp1): Likewise.
54840         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54841         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54842         (log1): Likewise.
54843         (my_log2): Likewise.
54844         (checkint): Likewise.
54845         * sysdeps/ieee754/dbl-64/e_remainder.c
54846         (__ieee754_remainder): Likewise.
54847         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
54848         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
54849         (bsloww): Likewise.
54850         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54852         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
54853         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
54854         MANTISSA_STORE_T to store computations on mantissa.  Use
54855         macros for rounding and division.
54856         (denorm): Likewise.
54857         (__dbl_mp): Likewise.
54858         (add_magnitudes): Likewise.
54859         (sub_magnitudes): Likewise.
54860         (__mul): Likewise.
54861         (__sqr): Likewise.
54862         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
54863         powers of two in terms of TWOPOW macro.
54864         (mp_no): Make type of mantissa as MANTISSA_T.
54865         [!RADIXI]: Define RADIXI.
54866         [!TWO52]: Define TWO52.
54867         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
54869 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54871         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
54872         llroundl symbol when building for PPC32.
54874 2013-03-24  Mark H Weaver  <mhw@netris.org>
54876         * manual/arith.texi (Normalization Functions): Fix prototypes for
54877         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
54879 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54881         [BZ #13889]
54882         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
54883         high value to check if expl overflow.
54884         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
54885         to check for underflow and overflow.
54886         * math/libm-test.inc: Add exp test.
54888 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
54890         [BZ #11120]
54891         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
54892         with NOT_IN_libc.
54894 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54896         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
54897         symbol.
54899 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
54901         * math/gen-libm-test.pl (parse_args, special_functions): Properly
54902         wrap blocks consisting of several statements.
54904         * sysdeps/generic/math-tests.h: New file.
54905         * sysdeps/i386/fpu/math-tests.h: Likewise.
54906         * math/test-snan.c: Include it.
54907         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
54909 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
54911         [BZ #15285]
54912         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
54913         (__ieee754_j0l): Do not improve calculations using cos of twice
54914         input for inputs above LDBL_MAX / 2.0L.
54915         (__ieee754_y0l): Likewise.
54916         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
54917         (__ieee754_j1l): Do not improve calculations using cos of twice
54918         input for inputs above LDBL_MAX / 2.0L.
54919         (__ieee754_y1l): Likewise.
54920         * math/libm-test.inc (j0_test): Add another test.
54921         (j1_test): Likewise.
54922         (y0_test): Likewise.
54923         (y1_test): Likewise.
54924         * sysdeps/i386/fpu/libm-test-ulps: Update.
54926 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54928         * Rules ($(objpfx)bench-%.c): Include code from a C source
54929         file.
54931 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
54933         [BZ #15287]
54934         * math/k_casinh.c (__kernel_casinh): Handle arguments with
54935         imaginary part 1.0 and real part less than 0.5 specially.
54936         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54937         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54938         * math/libm-test.inc (cacos_test): Add more tests.
54939         (casin_test): Likewise.
54940         (casinh_test): Likewise.
54941         * sysdeps/i386/fpu/libm-test-ulps: Update.
54942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54944 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54946         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
54947         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
54949 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
54951         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
54952         * config.make.in (config-cflags-sse4): Remove variable.
54953         (config-cflags-avx): Likewise.
54954         (config-cflags-sse2avx): Likewise.
54955         (config-cflags-novzeroupper): Likewise.
54956         (config-asflags-i686): Likewise.
54957         (have-mfma4): Likewise.
54958         (have-as-vis3): Likewise.
54959         (MIG): Likewise.
54960         * configure.in (MIG): Do not AC_SUBST.
54961         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
54962         (libc_cv_cc_sse4): Do not AC_SUBST.
54963         (libc_cv_cc_avx): Likewise.
54964         (libc_cv_cc_sse2avx): Likewise.
54965         (libc_cv_cc_novzeroupper): Likewise.
54966         (libc_cv_cc_fma4): Likewise.
54967         (libc_cv_as_i686): Likewise.
54968         (libc_cv_sparc_as_vis3): Likewise.
54969         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
54970         LIBC_CONFIG_VAR.
54971         (config-asflags-i686): Likewise.
54972         (config-cflags-avx): Likewise.
54973         (config-cflags-sse2avx): Likewise.
54974         (have-mfma4): Likewise.
54975         (config-cflags-novzeroupper): Likewise.
54976         * sysdeps/mach/configure.in (MIG): Likewise.
54977         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
54978         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
54979         LIBC_CONFIG_VAR.
54980         (config-cflags-avx): Likewise.
54981         (config-cflags-sse2avx): Likewise.
54982         (have-mfma4): Likewise.
54983         (config-cflags-novzeroupper): Likewise.
54984         * configure: Regenerated.
54985         * sysdeps/i386/configure: Likewise.
54986         * sysdeps/mach/configure: Likewise.
54987         * sysdeps/sparc/configure: Likewise.
54988         * sysdeps/x86_64/configure: Likewise.
54990 2013-03-20  Roland McGrath  <roland@hack.frob.com>
54992         [BZ #14812]
54993         * locale/programs/localedef.c (options): Put N_ translation marker
54994         on argument names, not just descriptions.
54996 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54998         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
55000 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
55002         [BZ #14176]
55003         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
55005 2013-03-19  Roland McGrath  <roland@hack.frob.com>
55007         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
55008         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
55009         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
55010         [!BEFORE_ABORT] (before_abort): New function.
55011         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
55012         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
55013         (writev_for_fatal): New function.
55014         (WRITEV_FOR_FATAL): New macro; call that.
55015         (backtrace_and_maps): New function.
55016         (BEFORE_ABORT): New macro; call that.
55017         (struct str_list): Type removed.
55018         (__libc_message, __libc_fatal): Functions removed.
55019         Include <sysdeps/posix/libc_fatal.c> instead.
55021 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
55023         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
55024         constants.
55025         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
55026         double constants.
55028 2013-03-19  Andreas Schwab  <schwab@suse.de>
55030         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
55031         * sysdeps/gnu/configure: Regenerate.
55033         * configure.in: Substitute libc_cv_rtlddir.
55034         * configure: Regenerate.
55035         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
55036         * Makeconfig (rtlddir, inst_rtlddir): New variables.
55037         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
55038         * elf/Makefile (install-others, CFLAGS-interp.c)
55039         (ldso_install, common-ldd-rewrite): Likewise.
55040         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
55041         $(inst_slibdir)/$(rtld-installed-name).
55042         * scripts/rellns-sh: Add -p option.
55043         * Makerules (make-shlib-link): Use rellns-sh to get relative name
55044         for source.
55046 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55048         * manual/nptl.texi: Renamed to ...
55049         * manual/threads.texi: ... this.
55050         * manual/Makefile (chapters): Update.
55052 2013-03-18  Roland McGrath  <roland@hack.frob.com>
55054         [BZ #14812]
55055         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
55056         on argument names, not just descriptions.
55057         * malloc/memusagestat.c (options): Likewise.
55058         * nss/getent.c (options): Likewise.
55060 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
55062         [BZ #14812]
55063         * iconv/iconv_prog.c (options): Put N_ translation marker
55064         on argument names, not just descriptions.
55065         * iconv/iconvconfig.c (options): Likewise.
55067 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
55069         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
55070         implementation which is faster on all x86_64 architectures.
55071         Tested on AMD, Intel Nehalem, SNB, IVB.
55072         * sysdeps/x86_64/strnlen.S: Likewise.
55074         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55075         Remove all multiarch strlen and strnlen versions.
55076         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
55077         Remove strlen and strnlen related parts.
55079         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
55080         Inline strlen part.
55081         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
55083         * sysdeps/x86_64/multiarch/strlen.S: Remove.
55084         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
55085         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
55086         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
55087         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
55088         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
55090 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
55092         * manual/memory.texi (Malloc Tunable Parameters):
55093         Sort parameters alphabetically. Add comments for missing entries.
55095 2013-03-17  David S. Miller  <davem@davemloft.net>
55097         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55099 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
55101         [BZ #15283]
55102         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
55103         for arguments at most half maximum finite value.
55104         * math/libm-test.inc (j0_test): Add more tests.
55105         (j1_test): Likewise.
55106         (y0_test): Likewise.
55107         (y1_test): Likewise.
55108         * sysdeps/i386/fpu/libm-test-ulps: Update.
55109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55111         [BZ #14155]
55112         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
55113         1 / x and functions P and Q for arguments above 0x1p256L.
55114         (__ieee754_y0l): Likewise.
55115         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
55116         (__ieee754_y1l): Likewise.
55117         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
55118         (j1_test): Likewise.
55119         (y0_test): Likewise.
55120         (y1_test): Likewise.
55122 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
55124         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
55125         variable.
55127 2013-03-15  Roland McGrath  <roland@hack.frob.com>
55129         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
55130         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
55131         zero since it's initialized to EXEC_PAGESIZE.
55133         * sysdeps/unix/sysv/linux/ldsodefs.h
55134         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
55135         * sysdeps/generic/ldsodefs.h: ... here.
55137 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
55139         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
55141         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
55142         math/test-snan.c.
55143         * math/test-snan.c: Renamed from
55144         sysdeps/powerpc/fpu/test-powerpc-snan.c.
55145         * math/Makefile (tests): Add test-snan.
55146         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
55147         test-powerpc-snan.
55149         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
55150         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
55151         functions.
55152         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
55153         __builtin_nan family of functions.
55154         * math/libm-test.inc (initialize): Initialize qnan_value with
55155         __builtin_nan family of functions.
55156         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
55157         Remove variables.
55158         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
55159         Remove functions.
55160         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
55161         storage class.  Initialize qNaN_var and sNaN_var with
55162         __builtin_nan and __builtin_nans families of functions,
55163         respectively.
55165         * math/libm-test.inc (acosh_test): Also test with qNaN input.
55166         (sqrt_test): Remove duplicate test with qNaN input.
55167         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
55168         (round_test, signbit_test, significand_test): Note missing +/-Inf
55169         as well as qNaN tests.
55171         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
55172         qNaN_var.  Fix a few strings, too.
55173         * math/libm-test.inc (nan_value): Rename to qnan_value.
55174         * math/gen-libm-test.pl (%beautify): Adjust to that.
55175         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
55176         * math/test-misc.c (main): Likewise.
55177         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
55178         to __qnan_bytes, and __qnan_union, respectively.
55179         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
55180         Likewise.
55181         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
55182         and lqnanval, respectively.
55183         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
55184         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
55185         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
55186         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
55188         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
55189         * math/test-misc.c (main) [__x86_64__]: Enable test for long
55190         doubles.
55192         * math/test-misc.c (main): Fix copy'n'pastos.
55193         * misc/tst-efgcvt.c (special): Likewise.
55195         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
55196         Remove declarations.
55198 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55200         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
55201         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
55202         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
55203         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
55205 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55207         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
55208         macro to return vdso values correctly in IFUNC implementations.
55209         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
55210         Optimization by using IFUNC.
55212 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55213             Richard Henderson  <rth@redhat.com>
55214             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55216         * Makefile.in (bench): New target.
55217         * NEWS: Mention the benchmark framework.
55218         * Rules (bench): Likewise.
55219         (binaries-bench): Generate binaries for functions to
55220         benchmark.
55221         * benchtests/Makefile: New makefile for benchmark tests.
55222         * benchtests/bench-skeleton.c: New skeleton file for benchmark
55223         programs.
55224         * benchtests/exp-inputs: New input file for EXP function.
55225         * benchtests/pow-inputs: New input file for POW function.
55226         * scripts/bench.pl: New script to generate source files for
55227         benchmark programs.
55229 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55231         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
55232         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
55233         computations on mantissa.  Use macros for rounding and
55234         division.
55235         (denorm): Likewise.
55236         (__dbl_mp): Likewise.
55237         (add_magnitudes): Likewise.
55238         (sub_magnitudes): Likewise.
55239         (__mul): Likewise.
55240         (__sqr): Likewise.
55241         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
55242         powers of two in terms of TWOPOW macro.
55243         (mp_no): Make type of mantissa as MANTISSA_T.
55244         [!RADIXI]: Define RADIXI.
55245         [!TWO52]: Define TWO52.
55246         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
55248         * manual/nptl.texi (cindex): Modify threads to pthreads.
55250 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
55252         * sysdeps/x86_64/preconfigure: Regenerated.
55254 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
55256         [BZ #14155]
55257         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
55258         0x1p28 and above.
55259         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
55260         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
55261         0x1p28 and above.
55262         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
55263         * math/libm-test.inc (j0_test): Do not allow one spurious
55264         underflow exception.
55265         (y1_test): Likewise.
55267 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55269         * manual/Makefile (chapters): Add nptl.
55270         * manual/debug.texi (Debugging Support): Add link to Threads
55271         chapter.
55272         * manual/nptl.texi: New file.
55274         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
55276 2013-03-14  Petr Baudis  <pasky@ucw.cz>
55278         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
55279         for non-NULL pointer before the memory validity test. Pointed
55280         out by Holger Brunck <holger.brunck@keymile.com>.
55282 2013-03-13  Andreas Schwab  <schwab@suse.de>
55284         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
55285         instead of .os.
55287 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
55289         * timezone/zic.c: Update from tzcode 2013b.
55291 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
55293         * manual/install.texi (Configuring and compiling):
55294         Mention i686 and i586.
55295         * INSTALL: Regenerate.
55297 2013-03-12  Roland McGrath  <roland@hack.frob.com>
55299         * sysdeps/init_array/elf-init.c: New file.
55300         * csu/elf-init.c
55301         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
55302         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
55304         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
55305         __gmon_start__ as global, but as static with a .preinit_array pointer.
55306         * sysdeps/init_array/gmon-start.c: New file.  Use that.
55307         * sysdeps/init_array/crti.S: New file, empty except for comments.
55308         * sysdeps/init_array/crtn.S: Likewise.
55310 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
55312         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
55313         definining bcopy.
55314         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55315         Remove Prefer_SSE_for_memop.
55316         * sysdeps/x86_64/multiarch/init-arch.h: Remove
55317         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
55318         HAS_PREFER_SSE_FOR_MEMOP.
55319         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
55320         memset-x86-64.
55321         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55322         Remove bzero, memset ifunc support.
55323         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
55324         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
55325         * sysdeps/x86_64/multiarch/memset.S: Likewise.
55326         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
55328 2013-03-11  Andreas Schwab  <schwab@suse.de>
55330         [BZ #15234]
55331         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
55332         by SHLIB_COMPAT.
55333         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
55334         (GLIBC_2.16): Remove pthread_atfork.
55336 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
55338         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
55339         (ptestcases.h): Likewise.
55341 2013-03-08  Roland McGrath  <roland@hack.frob.com>
55343         * Makeconfig ($(common-objpfx)config.status): Depend on
55344         sysdeps/*/preconfigure{,.in} too.
55346 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
55348         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
55349         (__free_hook): Use void * instead of __malloc_ptr_t.
55350         (__malloc_hook): Likewise.
55351         (__realloc_hook): Likewise.
55352         (__memalign_hook): Likewise.
55353         (__after_morecore_hook): Likewise.
55354         * malloc/arena.c (save_malloc_hook): Likewise.
55355         (save_free_hook): Likewise.
55356         * malloc/hooks.c (malloc_hook_ini): Likewise.
55357         (realloc_hook_ini): Likewise.
55358         (memalign_hook_ini): Likewise.
55359         * malloc/malloc.c (malloc_hook_ini): Likewise.
55360         (realloc_hook_ini): Likewise.
55361         (memalign_hook_ini): Likewise.
55362         (__free_hook): Likewise.
55363         (__malloc_hook): Likewise.
55364         (__realloc_hook): Likewise.
55365         (__memalign_hook): Likewise.
55366         (__libc_malloc): Likewise.
55367         (__libc_free): Likewise.
55368         (__libc_realloc): Likewise.
55369         (__libc_memalign): Likewise.
55370         (__libc_valloc): Likewise.
55371         (__libc_pvalloc): Likewise.
55372         (__libc_calloc): Likewise.
55373         (__posix_memalign): Likewise.
55374         * malloc/morecore.c (__sbrk): Likewise.
55375         (__default_morecore): Likewise.
55377         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
55379         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
55380         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
55381         __malloc_ptrdiff_t.
55383         * malloc/malloc.h (__malloc_size_t): Remove macro.
55384         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
55385         __malloc_size_t.
55386         (old_memalign_hook): Likewise.
55387         (old_realloc_hook): Likewise.
55388         (struct hdr): Likewise.
55389         (flood): Likewise.
55390         (mallochook): Likewise.
55391         (memalignhook): Likewise.
55392         (reallochook): Likewise.
55393         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
55394         (tr_old_realloc_hook): Likewise.
55395         (tr_old_memalign_hook): Likewise.
55396         (tr_mallochook): Likewise.
55397         (tr_reallochook): Likewise.
55398         (tr_memalignhook): Likewise.
55400 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55402         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
55403         default_ldbl_pack and using as default implementation.
55404         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
55405         implementation.
55406         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
55407         redundant definition.
55408         (ldbl_insert_mantissa): Likewise.
55409         (ldbl_canonicalize): Likewise.
55410         (ldbl_nearbyint): Likewise.
55411         (ldbl_pack): Rename to ldbl_pack_ppc.
55412         (ldbl_unpack): Rename to ldbl_unpack_ppc.
55413         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
55414         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
55416 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
55418         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
55419         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
55420         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
55421         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
55422         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
55423         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
55424         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
55425         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
55427 2013-03-07  Andreas Jaeger  <aj@suse.de>
55429         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55430         bits/mman-linux.h.
55432 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55434         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
55435         Include mpa.h and declare __MPEXP.
55436         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
55437         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
55438         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
55439         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
55440         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
55441         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
55442         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
55444         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
55445         (__slowpow): Use long double EXPL and LOGL functions to
55446         compute POW.
55447         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
55448         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
55449         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
55450         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
55451         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
55452         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
55454         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
55455         intermediate variable to calculate exponent.
55456         (__sqr): Likewise.
55457         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
55458         Likewise.
55459         (__sqr): Likewise.
55461         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
55462         [!NO__SQR]: Define __sqr.
55463         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
55464         and NO__SQR.  Remove all code except __mul and __sqr.  Include
55465         sysdeps/ieee754/dbl-64/mpa.c.
55466         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55468         [BZ #12723]
55469         * posix/Makefile (tests): Add tst-pathconf.
55470         * posix/tst-pathconf.c: New test case.
55471         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
55472         _PC_PIPE_BUF.
55473         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
55475 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
55477         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
55479 2013-03-06  Andreas Jaeger  <aj@suse.de>
55481         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
55482         definition via __MAP_ANONYMOUS.
55484         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
55485         it's not part of Linux headers.
55487         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
55488         (MAP_HUGE_MASK): Define.
55490         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55491         Define.
55492         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55493         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55494         Define.
55495         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55496         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55497         Define.
55498         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55499         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
55500         Define.
55501         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55503         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
55504         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
55505         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
55506         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
55507         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
55508         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
55510         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55511         Handle f2fs.
55513         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55514         Handle f2fs and efivarfs.
55516         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
55517         f2fs.
55519         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
55520         (EFIVARFS_MAGIC): Add.
55521         (F2FS_LINK_MAX): Add.
55523 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
55525         * stdio-common/vfprintf.c: Replace __builtin_expect with
55526         __glibc_unlikely.
55528 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
55530         [BZ #13550]
55531         * sysdeps/generic/bp-sym.h: Remove file.
55532         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
55533         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
55534         <bp-sym.h> and <bp-asm.h>.
55535         (__longjmp): Don't use BP_SYM.
55536         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
55537         and <bp-asm.h>.
55538         (memcpy): Don't use BP_SYM.
55539         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
55540         <bp-sym.h> and <bp-asm.h>.
55541         (memcpy): Don't use BP_SYM.
55542         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
55543         <bp-asm.h>.
55544         (memcpy): Don't use BP_SYM.
55545         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
55546         <bp-asm.h>.
55547         (memset): Don't use BP_SYM.
55548         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55549         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55550         (__bzero): Don't use BP_SYM.
55551         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55552         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55553         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
55554         <bp-sym.h> and <bp-asm.h>.
55555         (memcmp): Don't use BP_SYM.  Remove comment about bounded
55556         pointers.
55557         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
55558         <bp-sym.h> and <bp-asm.h>.
55559         (memcpy): Don't use BP_SYM.
55560         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
55561         <bp-sym.h> and <bp-asm.h>.
55562         (memset): Don't use BP_SYM.
55563         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55564         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55565         (__bzero): Don't use BP_SYM.
55566         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55567         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55568         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
55569         <bp-sym.h> and <bp-asm.h>.
55570         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55571         pointers.
55572         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
55573         <bp-sym.h> and <bp-asm.h>.
55574         (memcpy): Don't use BP_SYM.
55575         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
55576         <bp-sym.h> and <bp-asm.h>.
55577         (memset): Don't use BP_SYM.
55578         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55579         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55580         (__bzero): Don't use BP_SYM.
55581         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55582         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55583         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
55584         <bp-sym.h> and <bp-asm.h>.
55585         (__memchr): Don't use BP_SYM.
55586         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
55587         <bp-sym.h> and <bp-asm.h>.
55588         (memcmp): Don't use BP_SYM.  Remove comment about bounded
55589         pointers.
55590         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
55591         <bp-sym.h> and <bp-asm.h>.
55592         (memcpy): Don't use BP_SYM.
55593         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
55594         <bp-sym.h> and <bp-asm.h>.
55595         (__mempcpy): Don't use BP_SYM.
55596         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
55597         <bp-sym.h> and <bp-asm.h>.
55598         (__memrchr): Don't use BP_SYM.
55599         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
55600         <bp-sym.h> and <bp-asm.h>.
55601         (memset): Don't use BP_SYM.
55602         (__bzero): Likewise.
55603         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
55604         <bp-sym.h> and <bp-asm.h>.
55605         (__rawmemchr): Don't use BP_SYM.
55606         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
55607         <bp-sym.h> and <bp-asm.h>.
55608         (__STRCMP): Don't use BP_SYM.
55609         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
55610         <bp-sym.h> and <bp-asm.h>.
55611         (strchr): Don't use BP_SYM.
55612         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
55613         <bp-sym.h> and <bp-asm.h>.
55614         (__strchrnul): Don't use BP_SYM.
55615         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
55616         <bp-sym.h> and <bp-asm.h>.
55617         (strlen): Don't use BP_SYM.
55618         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
55619         <bp-sym.h> and <bp-asm.h>.
55620         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55621         pointers.
55622         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
55623         <bp-sym.h> and <bp-asm.h>.
55624         (__strnlen): Don't use BP_SYM.
55625         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
55626         <bp-sym.h> and <bp-asm.h>.
55627         (__GI__setjmp): Don't use BP_SYM.
55628         (_setjmp): Likewise.
55629         (__sigsetjmp): Likewise.
55630         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
55631         (L(start_addresses)): Don't use BP_SYM.
55632         (_start): Likewise.
55633         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
55634         <bp-asm.h>.
55635         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
55636         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
55637         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55638         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55639         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
55640         <bp-asm.h>.
55641         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
55642         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
55643         about bounded pointers.
55644         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55645         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55646         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
55647         <bp-asm.h>.
55648         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
55649         about bounded pointers.  Remove GKM FIXME comments.
55650         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55651         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
55652         <bp-asm.h>.
55653         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
55654         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
55655         Remove GKM FIXME comments.
55656         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55657         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55658         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
55659         <bp-asm.h>.
55660         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
55661         about bounded pointers.  Remove GKM FIXME comment.
55662         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
55663         and <bp-asm.h>.
55664         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55665         pointers.
55666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
55667         <bp-sym.h> and <bp-asm.h>.
55668         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
55669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
55670         <bp-sym.h> and <bp-asm.h>.
55671         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
55672         comment.
55674 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55676         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
55677         call free(NULL).
55679 2013-03-05  David S. Miller  <davem@davemloft.net>
55681         * po/es.po: Update from translation team.
55683 2013-03-05  Andreas Jaeger  <aj@suse.de>
55685         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
55686         <bits/mman-linux.h>.
55687         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
55688         is fine.
55689         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
55690         <bits/mman-linux.h> to end of file.
55691         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
55692         is fine.
55693         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
55694         <bits/mman-linux.h> to end of file.
55695         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
55696         is fine.
55697         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
55698         <bits/mman-linux.h> to end of file.
55700         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
55701         (MCL_CURRENT, MCL_FUTURE): Define here.
55703 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55705         [BZ #15232]
55706         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
55707         attribute_hidden.
55708         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
55710 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55712         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
55713         fourth parameter needed for rt_sigprocmask syscall.
55714         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
55715         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
55716         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
55717         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
55718         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
55719         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
55721 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
55723         [BZ #13550]
55724         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
55725         comment about bounded pointers.
55726         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
55727         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
55729 2013-03-04  Andreas Jaeger  <aj@suse.de>
55731         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
55732         common definitions.
55734         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
55735         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
55736         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
55737         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55738         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55739         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55741 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55743         [BZ #15055]
55744         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
55745         __ieee754_sqrl instead of __sqrl.
55747 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
55749         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
55750         * sysdeps/powerpc/fpu_control.h: ... here.
55751         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
55752         * sysdeps/powerpc/bits/fenvinline.h: ... here.
55753         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
55754         * sysdeps/powerpc/bits/mathinline.h: ... here.
55756 2013-03-01  Roland McGrath  <roland@hack.frob.com>
55758         * elf/dl-hwcaps.c (_dl_important_hwcaps):
55759         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
55760         to just [NEED_DL_SYSINFO_DSO].
55761         * elf/dl-support.c: Likewise.
55762         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
55763         * elf/rtld.c (dl_main): Likewise.
55764         * elf/setup-vdso.h (setup_vdso): Likewise.
55765         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
55766         * sysdeps/unix/sysv/linux/dl-sysdep.c
55767         (_dl_discover_osversion): Likewise.
55769 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
55771         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
55772         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
55774 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
55776         * NEWS: Mention libm performance improvements and non-x86 PI
55777         futex support.
55779         * csu/libc-start.c (__pthread_initialize_minimal): Change
55780         function arguments.
55781         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
55783 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
55785         [BZ #13550]
55786         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
55787         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
55788         <bp-sym.h> and <bp-asm.h>.
55789         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
55790         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
55791         and <bp-asm.h>.
55792         (memcpy): Don't use BP_SYM.
55793         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
55794         <bp-asm.h>.
55795         (__mpn_add_n): Don't use BP_SYM.
55796         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
55797         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
55798         and <bp-asm.h>.
55799         (__mpn_addmul_1): Don't use BP_SYM.
55800         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55801         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
55802         <bp-sym.h>.
55803         (_setjmp): Don't use BP_SYM.
55804         (__novmx_setjmp): Likewise.
55805         (__GI__setjmp): Likewise.
55806         (__vmx_setjmp): Likewise.
55807         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
55808         <bp-sym.h>.
55809         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
55810         (__bzero): Don't use BP_SYM.
55811         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55812         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55813         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
55814         <bp-sym.h> and <bp-asm.h>.
55815         (memcpy): Don't use BP_SYM.
55816         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
55817         <bp-sym.h> and <bp-asm.h>.
55818         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
55819         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
55820         <bp-sym.h> and <bp-asm.h>.
55821         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
55822         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
55823         <bp-asm.h>.
55824         (__mpn_lshift): Don't use BP_SYM.
55825         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55826         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
55827         <bp-asm.h>.
55828         (memset): Don't use BP_SYM.
55829         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55830         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55831         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
55832         <bp-asm.h>.
55833         (__mpn_mul_1): Don't use BP_SYM.
55834         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55835         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
55836         <bp-sym.h> and <bp-asm.h>.
55837         (memcmp): Don't use BP_SYM.
55838         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
55839         <bp-sym.h> and <bp-asm.h>.
55840         (memcpy): Don't use BP_SYM.
55841         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
55842         <bp-sym.h> and <bp-asm.h>.
55843         (memset): Don't use BP_SYM.
55844         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
55845         <bp-sym.h> and <bp-asm.h>.
55846         (strncmp): Don't use BP_SYM.
55847         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
55848         <bp-sym.h> and <bp-asm.h>.
55849         (memcpy): Don't use BP_SYM.
55850         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
55851         <bp-sym.h> and <bp-asm.h>.
55852         (memset): Don't use BP_SYM.
55853         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
55854         <bp-sym.h> and <bp-asm.h>.
55855         (__memchr): Don't use BP_SYM.
55856         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
55857         <bp-sym.h> and <bp-asm.h>.
55858         (memcmp): Don't use BP_SYM.
55859         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
55860         <bp-sym.h> and <bp-asm.h>.
55861         (memcpy): Don't use BP_SYM.
55862         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
55863         <bp-sym.h> and <bp-asm.h>.
55864         (__mempcpy): Don't use BP_SYM.
55865         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
55866         <bp-sym.h> and <bp-asm.h>.
55867         (__memrchr): Don't use BP_SYM.
55868         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
55869         <bp-sym.h> and <bp-asm.h>.
55870         (memset): Don't use BP_SYM.
55871         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
55872         <bp-sym.h> and <bp-asm.h>.
55873         (__rawmemchr): Don't use BP_SYM.
55874         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
55875         <bp-sym.h> and <bp-asm.h>.
55876         (__STRCMP): Don't use BP_SYM.
55877         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
55878         <bp-sym.h> and <bp-asm.h>.
55879         (strchr): Don't use BP_SYM.
55880         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
55881         <bp-sym.h> and <bp-asm.h>.
55882         (__strchrnul): Don't use BP_SYM.
55883         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
55884         <bp-sym.h> and <bp-asm.h>.
55885         (strlen): Don't use BP_SYM.
55886         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
55887         <bp-sym.h> and <bp-asm.h>.
55888         (strncmp): Don't use BP_SYM.
55889         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
55890         <bp-sym.h> and <bp-asm.h>.
55891         (__strnlen): Don't use BP_SYM.
55892         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
55893         <bp-asm.h>.
55894         (__mpn_rshift): Don't use BP_SYM.
55895         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55896         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
55897         <bp-sym.h> and <bp-asm.h>.
55898         (__sigsetjmp): Don't use BP_SYM.
55899         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
55900         (L(start_addresses)): Don't use BP_SYM.
55901         (_start): Likewise.
55902         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
55903         <bp-asm.h>.
55904         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
55905         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55906         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55907         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
55908         <bp-asm.h>.
55909         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
55910         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55911         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55912         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
55913         <bp-asm.h>.
55914         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
55915         comments.
55916         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55917         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
55918         <bp-asm.h>.
55919         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
55920         FIXME comments.
55921         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55922         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55923         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
55924         <bp-asm.h>.
55925         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
55926         comment.
55927         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
55928         and <bp-asm.h>.
55929         (strncmp): Don't use BP_SYM,
55930         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
55931         <bp-asm.h>.
55932         (__mpn_sub_n): Don't use BP_SYM.
55933         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55934         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
55935         and <bp-asm.h>.
55936         (__mpn_submul_1): Don't use BP_SYM.
55937         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
55939         <bp-sym.h> and <bp-asm.h>.
55940         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
55941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
55942         <bp-sym.h> and <bp-asm.h>.
55943         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
55944         comment.
55946 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55948         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
55949         Use ZK to minimize writes to Z.
55950         (sub_magnitudes): Simplify code a bit.
55951         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
55952         Use ZK to minimize writes to Z.
55953         (sub_magnitudes): Simplify code a bit.
55955 2013-02-27  Roland McGrath  <roland@hack.frob.com>
55957         * csu/gmon-start.c: Add special exception to license text.
55959 2013-02-27  Richard Henderson  <rth@redhat.com>
55961         * scripts/config.guess: Update from config.git.
55962         * scripts/config.sub: Likewise.
55964 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55966         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
55968         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
55970         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
55972         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
55974         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
55976 2013-02-26  Roland McGrath  <roland@hack.frob.com>
55978         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
55979         [$(build-shared = yes].
55981 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55983         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
55984         (__mul): Reduce iterations for calculating mantissa.
55986         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
55987         MPTWO.
55988         (__mpranred): Likewise.
55990         [BZ #15160]
55991         * malloc/memusagestat.c (main): Draw graphs for heap and stack
55992         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
55994 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
55996         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
55997         Define __attribute__.
55999 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56001         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
56002         unused.
56003         * posix/regex_internal.h (__attribute): Remove.
56004         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
56005         (re_string_context_at): Likewise.
56006         (bitset_not): Use __attribute__ and mark function as possibly
56007         unused.
56008         (bitset_merge): Likewise.
56009         (bitset_mask): Likewise.
56010         (re_string_char_size_at): Likewise.
56011         (re_string_wchar_at): Likewise.
56012         (re_string_elem_size_at): Likewise.
56014 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56016         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
56017         code.
56018         (cc32): Likewise.
56020         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
56021         (__acr): Likewise.
56022         (__cpy): Likewise.
56023         (norm): Likewise.
56024         (denorm): Likewise.
56025         (__dbl_mp): Likewise.
56026         (add_magnitudes): Likewise.
56027         (sub_magnitudes): Likewise.
56028         (__mul): Likewise.
56029         (__inv): Likewise.
56031         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
56032         style.
56034         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
56035         style.
56037         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
56038         code.
56040         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
56041         up changes with default code.
56042         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
56043         Likewise.
56045 2013-02-24  Allan McRae  <allan@archlinux.org>
56047         * manual/socket.texi (The Internet Namespace): Order menu items
56048         to match that in the file.
56050         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
56051         node listing of the info page menu.
56053 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
56055         [BZ #13550]
56056         * sysdeps/i386/bp-asm.h: Remove file.
56057         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
56058         (PARMS): Do not use macros from bp-asm.h.
56059         (S1): Likewise.
56060         (S2): Likewise.
56061         (SIZE): Likewise.
56062         (__mpn_add_n): Do not use BP_SYM
56063         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
56064         "bp-asm.h".
56065         (PARMS): Do not use macros from bp-asm.h.
56066         (S1): Likewise.
56067         (SIZE): Likewise.
56068         (__mpn_addmul_1): Do not use BP_SYM
56069         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
56070         "bp-asm.h".
56071         (PARMS): Do not use macros from bp-asm.h.
56072         (SIGMSK): Likewise.
56073         (_setjmp): Likewise.  Do not use BP_SYM.
56074         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
56075         "bp-asm.h".
56076         (PARMS): Do not use macros from bp-asm.h.
56077         (SIGMSK): Likewise.
56078         (setjmp): Likewise.  Do not use BP_SYM.
56079         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
56080         "bp-asm.h".
56081         (PARMS): Do not use macros from bp-asm.h.
56082         (__frexp): Do not use BP_SYM.
56083         (frexp): Likewise.
56084         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
56085         "bp-asm.h".
56086         (PARMS): Do not use macros from bp-asm.h.
56087         (__frexpf): Do not use BP_SYM.
56088         (frexpf): Likewise.
56089         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
56090         "bp-asm.h".
56091         (PARMS): Do not use macros from bp-asm.h.
56092         (__frexpl): Do not use BP_SYM.
56093         (frexpl): Likewise.
56094         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
56095         "bp-asm.h".
56096         (PARMS): Do not use macros from bp-asm.h.
56097         (__remquo): Do not use BP_SYM.
56098         (remquo): Likewise.
56099         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
56100         "bp-asm.h".
56101         (PARMS): Do not use macros from bp-asm.h.
56102         (__remquof): Do not use BP_SYM.
56103         (remquof): Likewise.
56104         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
56105         "bp-asm.h".
56106         (PARMS): Do not use macros from bp-asm.h.
56107         (__remquol): Do not use BP_SYM.
56108         (remquol): Likewise.
56109         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
56110         "bp-asm.h".
56111         (PARMS): Do not use macros from bp-asm.h.
56112         (DEST): Likewise.
56113         (SRC): Likewise.
56114         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
56115         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
56116         "bp-asm.h".
56117         (PARMS): Do not use macros from bp-asm.h.
56118         (strlen): Do not use BP_SYM.
56119         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
56120         "bp-asm.h".
56121         (PARMS): Do not use macros from bp-asm.h.
56122         (S1): Likewise.
56123         (S2): Likewise.
56124         (SIZE): Likewise.
56125         (__mpn_add_n): Do not use BP_SYM.
56126         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
56127         "bp-asm.h".
56128         (PARMS): Do not use macros from bp-asm.h.
56129         (S1): Likewise.
56130         (SIZE): Likewise.
56131         (__mpn_addmul_1): Do not use BP_SYM.
56132         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
56133         weak_alias.
56134         (bzero): Likewise.
56135         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
56136         "bp-asm.h".
56137         (PARMS): Do not use macros from bp-asm.h.
56138         (S): Likewise.
56139         (SIZE): Likewise.
56140         (__mpn_lshift): Do not use BP_SYM.
56141         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
56142         "bp-asm.h".
56143         (PARMS): Do not use macros from bp-asm.h.
56144         (DEST): Likewise.
56145         (SRC): Likewise.
56146         (LEN): Likewise.
56147         (memcpy): Likewise.  Do not use BP_SYM.
56148         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
56149         libc_hidden_def and weak_alias.
56150         (mempcpy): Do not use BP_SYM in weak_alias.
56151         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
56152         "bp-asm.h".
56153         (PARMS): Do not use macros from bp-asm.h.
56154         (DEST): Likewise.
56155         (LEN): Likewise.
56156         [!BZERO_P] (CHR): Likewise.
56157         (memset): Likewise.  Do not use BP_SYM.
56158         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
56159         "bp-asm.h".
56160         (PARMS): Do not use macros from bp-asm.h.
56161         (S1): Likewise.
56162         (SIZE): Likewise.
56163         (__mpn_mul_1): Do not use BP_SYM.
56164         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
56165         "bp-asm.h".
56166         (PARMS): Do not use macros from bp-asm.h.
56167         (S): Likewise.
56168         (SIZE): Likewise.
56169         (__mpn_rshift): Do not use BP_SYM.
56170         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
56171         "bp-asm.h".
56172         (PARMS): Do not use macros from bp-asm.h.
56173         (STR): Likewise.
56174         (CHR): Likewise.
56175         (strchr): Likewise.  Do not use BP_SYM.
56176         (index): Do not use BP_SYM in weak_alias.
56177         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
56178         "bp-asm.h".
56179         (PARMS): Do not use macros from bp-asm.h.
56180         (DEST): Likewise.
56181         (SRC): Likewise.
56182         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
56183         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
56184         "bp-asm.h".
56185         (PARMS): Do not use macros from bp-asm.h.
56186         (strlen): Do not use BP_SYM.
56187         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
56188         "bp-asm.h".
56189         (PARMS): Do not use macros from bp-asm.h.
56190         (S1): Likewise.
56191         (S2): Likewise.
56192         (SIZE): Likewise.
56193         (__mpn_sub_n): Do not use BP_SYM.
56194         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
56195         "bp-asm.h".
56196         (PARMS): Do not use macros from bp-asm.h.
56197         (S1): Likewise.
56198         (SIZE): Likewise.
56199         (__mpn_submul_1): Do not use BP_SYM.
56200         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
56201         "bp-asm.h".
56202         (PARMS): Do not use macros from bp-asm.h.
56203         (S1): Likewise.
56204         (S2): Likewise.
56205         (SIZE): Likewise.
56206         (__mpn_add_n): Do not use BP_SYM.
56207         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
56208         weak_alias.
56209         (bzero): Likewise.
56210         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
56211         "bp-asm.h".
56212         (PARMS): Do not use macros from bp-asm.h.
56213         (BLK2): Likewise.
56214         (LEN): Likewise.
56215         (memcmp): Do not use BP_SYM.
56216         (bcmp): Do not use BP_SYM in weak_alias.
56217         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
56218         "bp-asm.h".
56219         (PARMS): Do not use macros from bp-asm.h.
56220         (DEST): Likewise.
56221         (SRC): Likewise.
56222         (LEN): Likewise.
56223         (memcpy): Likewise.  Do not use BP_SYM.
56224         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
56225         "bp-asm.h".
56226         (PARMS): Do not use macros from bp-asm.h.
56227         (DEST): Likewise.
56228         (SRC): Likewise.
56229         (LEN): Likewise.
56230         (memmove): Likewise.  Do not use BP_SYM.
56231         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
56232         "bp-asm.h".
56233         (PARMS): Do not use macros from bp-asm.h.
56234         (DEST): Likewise.
56235         (SRC): Likewise.
56236         (LEN): Likewise.
56237         (__mempcpy): Likewise.  Do not use BP_SYM.
56238         (mempcpy): Do not use BP_SYM in weak_alias.
56239         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
56240         "bp-asm.h".
56241         (PARMS): Do not use macros from bp-asm.h.
56242         (DEST): Likewise.
56243         (LEN): Likewise.
56244         [!BZERO_P] (CHR): Likewise.
56245         (memset): Likewise.  Do not use BP_SYM.
56246         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
56247         "bp-asm.h".
56248         (PARMS): Do not use macros from bp-asm.h.
56249         (STR2): Likewise.
56250         (strcmp): Do not use BP_SYM.
56251         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
56252         "bp-asm.h".
56253         (PARMS): Do not use macros from bp-asm.h.
56254         (STR): Likewise.
56255         (DELIM): Likewise.
56256         [USE_AS_STRTOK_R] (SAVE): Likewise.
56257         (FUNCTION): Likewise.  Do not use BP_SYM.
56258         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
56259         aliases.
56260         (strtok_r): Likewise.
56261         (__GI___strtok_r): Likewise.
56262         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
56263         (PARMS): Do not use macros from bp-asm.h.
56264         (S): Likewise.
56265         (SIZE): Likewise.
56266         (__mpn_lshift): Do not use BP_SYM.
56267         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
56268         (PARMS): Do not use macros from bp-asm.h.
56269         (STR): Likewise.
56270         (CHR): Likewise.
56271         (__memchr): Do not use BP_SYM.
56272         (memchr): Do not use BP_SYM in weak_alias.
56273         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
56274         (PARMS): Do not use macros from bp-asm.h.
56275         (BLK2): Likewise.
56276         (LEN): Likewise.
56277         (memcmp): Do not use BP_SYM.
56278         (bcmp): Do not use BP_SYM in weak_alias.
56279         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
56280         (PARMS): Do not use macros from bp-asm.h.
56281         (S1): Likewise.
56282         (SIZE): Likewise.
56283         (__mpn_mul_1): Do not use BP_SYM.
56284         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
56285         "bp-asm.h".
56286         (PARMS): Do not use macros from bp-asm.h.
56287         (STR): Likewise.
56288         (CHR): Likewise.
56289         (__rawmemchr): Do not use BP_SYM.
56290         (rawmemchr): Do not use BP_SYM in weak_alias.
56291         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
56292         (PARMS): Do not use macros from bp-asm.h.
56293         (S): Likewise.
56294         (SIZE): Likewise.
56295         (__mpn_rshift): Do not use BP_SYM.
56296         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
56297         (PARMS): Do not use macros from bp-asm.h.
56298         (SIGMSK): Likewise.
56299         (__sigsetjmp): Likewise.  Do not use BP_SYM.
56300         * sysdeps/i386/start.S: Do not include "bp-sym.h".
56301         (_start): Do not use BP_SYM.
56302         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
56303         (PARMS): Do not use macros from bp-asm.h.
56304         (DEST): Likewise.
56305         (SRC): Likewise.
56306         (__stpcpy): Likewise.  Do not use BP_SYM.
56307         (stpcpy): Do not use BP_SYM in weak_alias.
56308         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
56309         "bp-asm.h".
56310         (PARMS): Do not use macros from bp-asm.h.
56311         (DEST): Likewise.
56312         (SRC): Likewise.
56313         (LEN): Likewise.
56314         (__stpncpy): Likewise.  Do not use BP_SYM.
56315         (stpncpy): Do not use BP_SYM in weak_alias.
56316         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
56317         (PARMS): Do not use macros from bp-asm.h.
56318         (STR): Likewise.
56319         (CHR): Likewise.
56320         (strchr): Likewise.  Do not use BP_SYM.
56321         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
56322         "bp-asm.h".
56323         (PARMS): Do not use macros from bp-asm.h.
56324         (STR): Likewise.
56325         (CHR): Likewise.
56326         (__strchrnul): Likewise.  Do not use BP_SYM.
56327         (strchrnul): Do not use BP_SYM in weak_alias.
56328         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
56329         "bp-asm.h".
56330         (PARMS): Do not use macros from bp-asm.h.
56331         (STOP): Likewise.
56332         (strcspn): Do not use BP_SYM.
56333         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
56334         "bp-asm.h".
56335         (PARMS): Do not use macros from bp-asm.h.
56336         (STR): Likewise.
56337         (STOP): Likewise.
56338         (strpbrk): Likewise.  Do not use BP_SYM.
56339         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
56340         "bp-asm.h".
56341         (PARMS): Do not use macros from bp-asm.h.
56342         (STR): Likewise.
56343         (CHR): Likewise.
56344         (strrchr): Likewise.  Do not use BP_SYM.
56345         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
56346         (PARMS): Do not use macros from bp-asm.h.
56347         (SKIP): Likewise.
56348         (strspn): Do not use BP_SYM.
56349         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
56350         (PARMS): Do not use macros from bp-asm.h.
56351         (STR): Likewise.
56352         (DELIM): Likewise.
56353         (SAVE): Likewise.
56354         (FUNCTION): Likewise.  Do not use BP_SYM.
56355         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
56356         aliases.
56357         (strtok_r): Likewise.
56358         (__GI___strtok_r): Likewise.
56359         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
56360         (PARMS): Do not use macros from bp-asm.h.
56361         (S1): Likewise.
56362         (S2): Likewise.
56363         (SIZE): Likewise.
56364         (__mpn_sub_n): Do not use BP_SYM.
56365         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
56366         "bp-asm.h".
56367         (PARMS): Do not use macros from bp-asm.h.
56368         (S1): Likewise.
56369         (SIZE): Likewise.
56370         (__mpn_submul_1): Do not use BP_SYM.
56371         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
56372         <bp-sym.h>.
56373         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
56374         and <bp-asm.h>.
56375         (PARMS): Do not use macros from bp-asm.h.
56376         (FLAGS): Likewise.
56377         (PTID): Likewise.
56378         (TLS): Likewise.
56379         (CTID): Likewise.
56380         (__clone): Do not use BP_SYM.
56381         (clone): Do not use BP_SYM in weak_alias.
56382         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
56383         and <bp-asm.h>.
56384         (PARMS): Do not use macros from bp-asm.h.
56385         (LEN): Likewise.
56386         (__mmap64): Do not use BP_SYM.
56387         (mmap64): Do not use BP_SYM in weak_alias.
56388         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
56389         <bp-sym.h> and <bp-asm.h>.
56390         (PARMS): Do not use macros from bp-asm.h.
56391         (__posix_fadvise64_l64): Do not use BP_SYM.
56392         * sysdeps/unix/sysv/linux/i386/semtimedop.S
56393         (PARMS): Do not use macros from bp-asm.h.
56394         (NSOPS): Likewise.
56395         (semtimedop): Do not use BP_SYM.
56396         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
56397         and <bp-asm.h>.
56399 2013-02-21  Allan McRae  <allan@archlinux.org>
56401         * manual/message.texi (Charset conversion in gettext):
56402         Move @end statement to beginning of line.
56404 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56406         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
56407         static.
56408         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
56409         Likewise.
56411         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
56412         (denorm): Likewise.
56413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
56414         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
56416 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56418         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
56419         tail-call to the resolved function if pltexit isn't needed.
56421 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56423         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
56424         or Y being zero as being unlikely.
56425         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
56426         Likewise.
56428 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
56430         * manual/nss.texi (System Databases and Name Service Switch):
56431         Remove frobnicate @pxref.
56433 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
56435         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
56436         __attribute__ ((unused)) to __attribute__ ((__unused__)).
56438 2013-02-20  Petr Machata  <pmachata@redhat.com>
56440         * elf/elf.h (R_ARM_TARGET1): New macro.
56441         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
56442         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
56443         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
56444         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
56445         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
56446         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
56447         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
56448         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
56449         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
56450         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
56451         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
56452         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
56453         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
56454         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
56455         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
56456         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
56457         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
56458         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
56459         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
56460         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
56461         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
56462         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
56463         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
56464         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
56465         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
56466         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
56467         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
56468         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
56469         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
56470         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
56471         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
56472         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
56473         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
56474         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
56475         (R_ARM_THM_GOT_BREL12): Likewise.
56476         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
56477         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
56478         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
56479         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
56480         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
56481         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
56482         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
56483         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
56484         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
56486 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
56488         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
56489         __attribute_used__ to __attribute__ ((unused)).
56491 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56493         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
56494         powerpc mpa.c.
56495         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
56496         comment formatting.
56497         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
56499 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
56501         [BZ #13550]
56502         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
56503         Remove macro.
56504         (ENTER): Remove both macro definitions.
56505         (LEAVE): Likewise.
56506         (CHECK_BOUNDS_LOW): Likewise.
56507         (CHECK_BOUNDS_HIGH): Likewise.
56508         (CHECK_BOUNDS_BOTH): Likewise.
56509         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
56510         (RETURN_BOUNDED_POINTER): Likewise.
56511         (RETURN_NULL_BOUNDED_POINTER): Likewise.
56512         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
56513         (POP_ERRNO_LOCATION_RETURN): Likewise.
56514         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
56515         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56516         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
56517         macros.
56518         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56519         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
56520         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
56521         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
56522         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
56523         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
56524         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
56525         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
56526         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
56527         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
56528         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
56529         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
56530         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56531         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
56532         removed macros.
56533         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56534         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
56535         macros.
56536         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56537         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
56538         * sysdeps/i386/i586/memset.S (memset): Likewise.
56539         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
56540         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56541         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
56542         macros.
56543         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56544         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
56545         Change uses of L(2) to L(out).
56546         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
56547         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
56548         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
56549         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56550         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
56551         removed macros.
56552         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56553         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
56554         macros.
56555         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56556         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
56557         (RETURN): Do not use macro LEAVE.
56558         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
56559         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
56560         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
56561         * sysdeps/i386/i686/memset.S (memset): Likewise.
56562         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
56563         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
56564         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56565         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
56566         Likewise.
56567         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56568         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
56569         L(1_2) and L(1_3) into L(1).
56570         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
56571         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
56572         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56573         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
56574         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56575         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
56576         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
56577         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56578         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
56579         macros.
56580         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
56581         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56582         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
56583         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
56584         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
56585         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56586         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
56587         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
56588         * sysdeps/i386/strcspn.S (strcspn): Likewise.
56589         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
56590         * sysdeps/i386/strrchr.S (strrchr): Likewise.
56591         * sysdeps/i386/strspn.S (strspn): Likewise.
56592         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
56593         conditional code.
56594         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56595         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
56596         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
56597         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
56598         L(1_3) into L(1_1).
56599         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
56600         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56601         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
56602         macros.
56603         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56605 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
56607         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
56608         macro.
56610 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56612         * math/atest-exp.c (exp_mpn): Remove ROUND.
56613         * math/atest-exp2.c (exp_mpn): Likewise.
56614         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
56616         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
56617         * stdlib/tst-tls-atexit-lib.c: Likewise.
56618         * stdlib/tst-tls-atexit.c: Likewise.
56620 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56622         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
56623         and __attribute_alloc_size__.
56625 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56627         * include/programs/xmalloc.h: Change __attribute_alloc_size to
56628         __attribute_alloc_size__.
56629         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
56630         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
56632 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56634         * include/programs/xmalloc.h: New file.
56635         * catgets/gencat.c: Include it.
56636         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
56637         * elf/pldd.c: Likewise.
56638         * iconv/iconv_charmap.c: Likewise.
56639         * iconv/iconvconfig.c: Likewise.
56640         * iconv/strtab.c: Likewise.
56641         * locale/programs/locale.c: Likewise.
56642         * locale/programs/localedef.h: Likewise.
56643         * locale/programs/simple-hash.c: Likewise.
56644         * nscd/nscd.h: Likewise.
56645         * nss/makedb.c: Likewise.
56646         * sysdeps/generic/ldconfig.h: Likewise.
56648 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56650         * Versions.def: Add GLIBC_2.18.
56651         * include/link.h (struct link_map): New member l_tls_dtor_count.
56652         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
56653         (__call_tls_dtors): Likewise.
56654         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
56655         __cxa_thread_atexit_impl.
56656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56657         Likewise.
56658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56659         Likewise.
56660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56661         Likewise.
56662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56663         Likewise.
56664         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56665         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
56666         Likewise.
56667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
56668         Likewise.
56669         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56670         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
56671         Likewise.
56672         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
56673         (tests): Add test case tst-tls-atexit.
56674         (modules-names): Add shared library for tst-tls-atexit.
56675         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
56676         (GLIBC_PRIVATE): Add __call_tls_dtors.
56677         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
56678         for libstdc++.
56679         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
56680         * stdlib/tst-tls-atexit.c: New test case.
56681         * stdlib/tst-tls-atexit-lib.c: New test case.
56683         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
56685         * elf/Versions (ld): Add _dl_find_dso_for_object.
56686         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
56687         * elf/dl-open.c (_dl_find_dso_for_object): New function.
56688         (dl_open_worker): Use _dl_find_dso_for_object.
56689         * elf/dl-sym.c (do_sym): Likewise.
56690         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
56692 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56694         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
56695         Syntactic changes only.
56696         (_dl_runtime_profile): Do a tail-call to the resolved function.
56698 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
56700         [BZ #13550]
56701         * sysdeps/x86_64/bp-asm.h: Remove file.
56702         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
56703         <bp-sym.h> and <bp-asm.h>.
56704         (__clone): Do not use BP_SYM.
56705         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
56706         <bp-sym.h> and <bp-asm.h>.
56707         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56708         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
56709         "bp-asm.h".
56710         (_setjmp): Do not use BP_SYM.
56711         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
56712         "bp-asm.h".
56713         (setjmp): Do not use BP_SYM.
56714         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
56715         libc_hidden_def.
56716         (mempcpy): Do not use BP_SYM in weak_alias.
56717         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
56718         "bp-asm.h".
56719         (strchr): Do not use BP_SYM.
56720         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
56721         "bp-asm.h".
56722         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
56723         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
56724         (_start): Do not use BP_SYM.
56725         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
56726         "bp-asm.h".
56727         (strcat): Do not use BP_SYM.
56728         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
56729         "bp-asm.h".
56730         (STRCMP): Do not use BP_SYM.
56731         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
56732         "bp-asm.h".
56733         (STRCPY): Do not use BP_SYM.
56734         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
56735         "bp-asm.h".
56736         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
56737         "bp-asm.h".
56738         (FUNCTION): Do not use BP_SYM.
56739         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
56740         weak_alias.
56741         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
56743 2013-02-17  Andreas Jaeger  <aj@suse.de>
56745         * time/Versions: Sort entries.
56746         * string/Versions: Likewise.
56747         * resolv/Versions: Likewise.
56748         * posix/Versions: Likewise.
56749         * iconv/Versions: Likewise.
56750         * elf/Versions: Likewise.
56751         * wcsmbs/Versions: Likewise.
56753 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56755         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
56756         loop termination condition.
56758         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
56759         variable to calculate EZ.
56760         (__sqr): Likewise.
56762         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
56763         the lower precision input.
56765 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
56767         [BZ #13550]
56768         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
56769         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
56770         (run-via-rtld-prefix): Do not handle %-bp tests.
56771         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
56772         (all-object-suffixes): Remove .ob.
56773         (bppfx): Remove variable.
56774         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
56775         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
56776         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
56777         [$(build-bounded) = yes] (libtype.ob): Likewise.
56778         * Makerules (elide-routines.ob): Remove variable.
56779         (do-tests-clean): Do not handle *-bp.out.
56780         (common-mostlyclean): Do not handle *-bp and *-bp.out.
56781         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
56782         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
56783         (tests): Do not include $(tests-bp.out).
56784         (xtests): Do not include $(xtests-bp.out).
56785         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
56786         [$(build-bounded) = yes] ($(addprefix
56787         $(objpfx),$(binaries-bounded))): Remove rule.
56788         ($(objpfx)%-bp.out): Remove rule.
56789         * config.make.in (build-bounded): Remove variable.
56790         * crypt/Makefile [$(build-bounded) = yes]
56791         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
56792         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
56793         append to variable.
56794         [$(build-bounded) = yes] (install-lib): Likewise.
56795         [$(build-bounded) = yes] (generated): Likewise.
56796         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
56797         Remove rule.
56798         * intl/Makefile [$(build-bounded) = yes]
56799         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
56800         * math/Makefile [$(build-bounded) = yes]
56801         ($(tests:%=$(objpfx)%-bp): Likewise.
56802         * misc/Makefile [$(build-bounded) = yes]
56803         ($(objpfx)tst-tsearch-bp): Likewise.
56804         * nptl/Makeconfig (bounded-thread-library): Remove variable.
56805         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
56806         Remove dependency.
56807         * string/Makefile (o-objects.ob): Remove variable.
56808         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
56809         (CFLAGS-.ob): Remove variable.
56810         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
56811         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
56812         both definitions of variable.
56813         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
56814         (ASFLAGS-.ob): Remove variable.
56816 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
56818         [BZ #13550]
56819         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
56820         Remove __BOUNDED_POINTERS__ from condition.
56821         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
56822         * string/bits/string2.h [!__NO_STRING_INLINES &&
56823         !__BOUNDED_POINTERS__]: Likewise.
56824         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
56825         Likewise.
56826         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
56827         Remove conditional code.
56828         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
56829         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
56830         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
56831         condition.
56833         [BZ #13550]
56834         * csu/libc-start.c: Do not include <bp-sym.h>.
56835         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
56836         * elf/dl-open.c: Do not include <bp-sym.h>.
56837         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
56838         * math/fegetenv.c: Do not include <bp-sym.h>.
56839         (fegetenv): Do not use BP_SYM in versioned symbols.
56840         * nptl/sysdeps/pthread/bits/libc-lockP.h
56841         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
56842         <bp-sym.h>.
56843         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56844         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
56845         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56846         (__pthread_mutex_destroy): Likewise.
56847         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56848         (__pthread_mutex_lock): Likewise.
56849         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56850         (__pthread_mutex_trylock): Likewise.
56851         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56852         (__pthread_mutex_unlock): Likewise.
56853         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56854         (__pthread_mutexattr_init): Likewise.
56855         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56856         (__pthread_mutexattr_destroy): Likewise.
56857         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56858         (__pthread_mutexattr_settype): Likewise.
56859         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56860         (__pthread_rwlock_init): Likewise.
56861         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56862         (__pthread_rwlock_destroy): Likewise.
56863         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56864         (__pthread_rwlock_rdlock): Likewise.
56865         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56866         (__pthread_rwlock_tryrdlock): Likewise.
56867         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56868         (__pthread_rwlock_wrlock): Likewise.
56869         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56870         (__pthread_rwlock_trywrlock): Likewise.
56871         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56872         (__pthread_rwlock_unlock): Likewise.
56873         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56874         (__pthread_key_create): Likewise.
56875         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56876         (__pthread_setspecific): Likewise.
56877         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56878         (__pthread_getspecific): Likewise.
56879         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
56880         Likewise.
56881         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56882         (_pthread_cleanup_push_defer): Likewise.
56883         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56884         (_pthread_cleanup_pop_restore): Likewise.
56885         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56886         (pthread_setcancelstate): Likewise.
56887         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
56888         <bp-sym.h>.
56889         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
56890         (memchr): Do not use BP_SYM in weak_alias.
56891         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
56892         (fegetenv): Do not use BP_SYM in versioned symbols.
56893         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
56894         (fesetenv): Do not use BP_SYM in versioned symbols.
56895         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
56896         (feupdateenv): Do not use BP_SYM in versioned symbols.
56897         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
56898         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
56899         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
56900         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
56901         (open64): Do not use BP_SYM in weak_alias.
56902         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
56903         (fegetenv): Do not use BP_SYM in versioned symbols.
56904         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
56905         (fesetenv): Do not use BP_SYM in versioned symbols.
56906         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
56907         (feupdateenv): Do not use BP_SYM in versioned symbols.
56908         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
56909         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
56910         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
56911         (feraiseexcept): Do not use BP_SYM in versioned symbols.
56912         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
56913         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
56914         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
56915         <bp-sym.h>.
56916         (__libc_start_main): Do not use BP_SYM.
56918 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56920         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
56921         redundant return line.
56922         (norm): Likewise.
56923         (denorm): Likewise.
56924         (dbl_mp): Likewise.
56925         (sub_magnitudes): Likewise.
56926         (__add): Likewise.
56927         (__sub): Likewise.
56928         (__mul): Likewise.
56929         (__inv): Likewise.
56930         (__dvd): Likewise.
56931         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
56932         (norm): Likewise.
56933         (denorm): Likewise.
56934         (dbl_mp): Likewise.
56935         (sub_magnitudes): Likewise.
56936         (__add): Likewise.
56937         (__sub): Likewise.
56938         (__mul): Likewise.
56939         (__inv): Likewise.
56940         (__dvd): Likewise.
56942         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
56943         instead of __mul.
56944         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56945         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
56946         (cc32): Likewise.
56948         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
56949         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
56950         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
56951         of __mul for squares.
56952         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
56953         function
56954         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
56955         Likewise.
56956         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
56957         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56959 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
56961         [BZ #13550]
56962         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
56963         code.
56964         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
56965         prototype or function definition.  Rename ubp_* variables and
56966         parameters.  Remove argv definitions conditional on
56967         [__BOUNDED_POINTERS__].
56968         * debug/backtrace.c (__backtrace): Do not use __unbounded.
56969         * elf/dl-runtime.c (_dl_fixup): Likewise.
56970         * include/set-hooks.h (RUN_HOOK): Likewise.
56971         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
56972         definition.
56973         * string/strcpy.c (strcpy): Do not use __unbounded.
56974         * sysdeps/generic/frame.h (struct layout): Likewise.
56975         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
56976         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
56977         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
56978         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
56979         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
56980         (__backtrace): Likewise.
56981         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
56982         use __ptrvalue.
56983         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
56984         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
56985         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
56986         Likewise.
56987         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
56988         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
56989         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
56990         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
56991         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
56992         Do not use __unbounded.
56993         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
56994         Rename __unboundedrlimits parameter to rlimits in prototype.
56995         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
56996         Do not use __unbounded.
56997         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
56998         not use __ptrvalue.
56999         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
57000         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
57001         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
57002         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
57003         __ptrvalue or __unbounded.
57004         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
57005         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
57006         use __unbounded.
57007         (__new_msgctl): Do not use __ptrvalue.
57008         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
57009         __unbounded.
57010         (__libc_msgrcv): Do not use __ptrvalue.
57011         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
57012         startup_info): Do not use __unbounded.
57013         (__libc_start_main): Likewise.  Rename ubp_* variables and
57014         parameters.  Remove argv definitions conditional on
57015         [__BOUNDED_POINTERS__].
57016         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
57017         __ptrvalue.
57018         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
57019         use __unbounded.
57020         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
57021         or __ptrvalue.
57022         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
57023         use __unbounded.
57024         (__new_shmctl): Do not use __ptrvalue.
57025         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
57026         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
57027         Likewise.
57028         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
57029         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
57030         (__libc_sigaction): Likewise.
57031         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
57032         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
57033         Likewise.
57034         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
57036 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
57038         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
57040         * string/mempcpy.c: Implement by calling memcpy.
57042 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57044         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
57046         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
57047         evaluation.
57049         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
57050         values in the mantissa.
57052         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
57053         minimize writes to Z.
57054         (sub_magnitudes): Simplify code a bit.
57056 2013-02-12  Roland McGrath  <roland@hack.frob.com>
57058         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
57059         from the message.  The linker prefixes all warnings with that already.
57061 2013-02-12  Andreas Schwab  <schwab@suse.de>
57063         [BZ #15078]
57064         * posix/regexec.c (extend_buffers): Add parameter min_len.
57065         (check_matching): Pass minimum needed length.
57066         (clean_state_log_if_needed): Likewise.
57067         (get_subexp): Likewise.
57068         * posix/Makefile (tests): Add bug-regex34.
57069         (bug-regex34-ENV): Define.
57070         * posix/bug-regex34.c: New file.
57072         [BZ #11561]
57073         * posix/regcomp.c (parse_bracket_exp): When looking up collating
57074         elements compare against the byte sequence of it, not its name.
57075         * posix/Makefile (tests): Add bug-regex35.
57076         (bug-regex35-ENV): Define.
57077         * posix/bug-regex35.c: New file.
57079 2013-02-11  Tom de Vries  <tom@codesourcery.com>
57081         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
57082         comment.
57083         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
57084         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
57085         (CHECK_EOL): Add undef.
57087 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
57089         * bits/stdlib-bsearch.h: New file.
57090         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
57091         * stdlib/stdlib.h: Likewise.
57093 2013-02-11  Roland McGrath  <roland@hack.frob.com>
57095         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
57096         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
57097         declaration.
57098         * manual/search.texi (Array Search Function): Add missing const in
57099         lfind prototype.
57100         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
57101         declaration to use rlim_t.
57102         (Basic Scheduling Functions): Remove erroneous const from
57103         sched_getparam prototype.  Remove erroneous * from
57104         sched_get_priority_max and sched_get_priority_min prototypes.
57105         (Resource Usage): Fix summary @comment on vtimes to refer to
57106         sys/vtimes.h rather than vtimes.h.
57107         Add missing *s in vtimes prototype.
57108         (Limits on Resources): Fix ulimit prototype to return long int.
57109         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
57110         prototypes to use long int rather than double.
57111         (BSD Random): Fix initstate and setstate to use char *, not void *.
57112         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
57113         prototype to make second argument 'struct aiocb64 *const[]'.
57114         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
57115         (Status of AIO Operations): Remove erroneous const in aio_return and
57116         aio_return64 prototypes.
57117         (Synchronizing I/O): Fix sync prototype to return void.
57118         * manual/startup.texi (Suboptions): Remove an erroneous const in
57119         getsubopt prototype.
57120         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
57121         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
57122         use size_t rather than int.
57123         (Scanning All Users): Likewise for getpwent_r.
57124         (Setting Groups): Add missing const to setgroups prototype.
57125         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
57126         * manual/socket.texi (Host Names): Fix gethostbyaddr and
57127         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
57128         'const void *' rather than 'const char *'.
57129         (Host Address Functions): Likewise for inet_ntop.
57130         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
57131         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
57132         ssize_t for return value.
57133         (Sending Data): Likewise for send, sendto, sendmsg.
57134         (Socket Option Functions): Add a missing const in setsockopt prototype.
57135         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
57136         use wchar_t for the argument.
57137         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
57138         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
57139         take no arguments.
57140         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
57141         double/float/long double for second argument.
57142         Fix return types of significand, significandf, significandl.
57143         * manual/filesys.texi (Setting Permissions): Use mode_t for second
57144         argument in fchmod prototype.
57145         (File Owner): Use uid_t and gid_t in fchown prototype.
57146         (File Times): Add const to utimes, futimes, and lutimes prototypes.
57147         (Making Special Files): Use mode_t and dev_t in mknod prototype.
57148         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
57149         use 'const struct dirent **' as argument types to CMP function pointer
57150         argument.
57151         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
57152         (File Times): Fix summary magic @comment for struct utimbuf and utime
57153         to refer to utime.h, not time.h.
57154         * manual/string.texi (Argz Functions): Add missing const in
57155         argz_extract and argz_next prototypes.
57156         (Finding Tokens in a String): Likewise for basename.
57157         (String/Array Comparison): Fix typo in wcscasecmp prototype.
57158         (Copying and Concatenation): Fix typo in wmemmove prototype.
57159         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
57160         (Signal Stack): Remove erroneous const in sigstack prototype.
57161         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
57162         prototype.
57163         (Simple Calendar Time): Likewise for stime.
57164         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
57165         prototype.
57166         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
57167         say sys/sysctl.h instead.
57168         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
57169         and vsyslog prototypes.
57171 2013-02-11  Tom de Vries  <tom@codesourcery.com>
57173         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
57174         Remove.
57176 2013-02-11  Roland McGrath  <roland@hack.frob.com>
57178         * misc/sys/mman.h: Fix typo in mremap comment.
57180 2013-02-08  Roland McGrath  <roland@hack.frob.com>
57182         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
57183         the '\0' terminator.
57185 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
57187         [BZ #13550]
57188         * debug/segfault.c: Don't include <bp-checks.h>.
57189         * sysdeps/generic/bp-checks.h: Remove file.
57190         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
57191         (__GETDENTS): Don't use CHECK_N.
57192         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
57193         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
57194         (__getgroups): Don't use CHECK_N.
57195         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
57196         (setgroups): Don't use CHECK_N.
57197         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
57198         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
57199         (__libc_msgrcv): Don't use CHECK_N.
57200         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
57201         (__libc_msgsnd): Don't use CHECK_N.
57202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
57203         <bp-checks.h>.
57204         (__libc_pread): Don't use CHECK_N.
57205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
57206         include <bp-checks.h>.
57207         (__libc_pread64): Don't use CHECK_N.
57208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
57209         include <bp-checks.h>.
57210         (__libc_pwrite): Don't use CHECK_N.
57211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
57212         include <bp-checks.h>.
57213         (__libc_pwrite64): Don't use CHECK_N.
57214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
57215         <bp-checks.h>.
57216         (__libc_pread): Don't use CHECK_N.
57217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
57218         include <bp-checks.h>.
57219         (__libc_pread64): Don't use CHECK_N.
57220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
57221         include <bp-checks.h>.
57222         (__libc_pwrite): Don't use CHECK_N.
57223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
57224         include <bp-checks.h>.
57225         (__libc_pwrite64): Don't use CHECK_N.
57226         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
57227         (do_pread): Don't use CHECK_N.
57228         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
57229         (do_pread64): Don't use CHECK_N.
57230         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
57231         (do_pwrite): Don't use CHECK_N.
57232         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
57233         (do_pwrite64): Don't use CHECK_N.
57234         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
57235         (__libc_readv): Don't use CHECK_N.
57236         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
57237         (semop): Don't use CHECK_N.
57238         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
57239         <bp-checks.h>.
57240         (semtimedop): Don't use CHECK_N.
57241         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
57242         (__libc_pread): Don't use CHECK_N.
57243         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
57244         <bp-checks.h>.
57245         (__libc_pread64): Don't use CHECK_N.
57246         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
57247         <bp-checks.h>.
57248         (__libc_pwrite): Don't use CHECK_N.
57249         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
57250         <bp-checks.h>.
57251         (__libc_pwrite64): Don't use CHECK_N.
57252         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
57253         <bp-checks.h>.
57254         (__libc_msgrcv): Don't use CHECK_N.
57255         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
57256         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
57257         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
57258         (__libc_writev): Don't use CHECK_N.
57260 2013-02-08  Roland McGrath  <roland@hack.frob.com>
57262         * string/strcpy.c: Removed unused variable.
57264         * Makeconfig (+sysdep-includes): Define with := rather than =.
57265         Use an existing include/ subdir of each sysdeps dir before it.
57267 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
57269         * nscd/connection.c (register_traced_file): Comment function.
57270         [HAVE_INOTIFY] (union __inev): Define.
57271         [HAVE_INOTIFY] (inotify_check_files): New function.
57272         [HAVE_INOTIFY] (clear_db_cache): Likewise.
57273         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
57274         clear_db_cache.
57275         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
57277 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
57279         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
57280         loaded if not already and that a failure is permanent.
57282 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
57284         [BZ #15006]
57285         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
57286         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
57288 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
57290         [BZ #13550]
57291         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
57292         (CHECK_1_NULL_OK): Likewise.
57293         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
57294         (__fxstat): Do not use CHECK_1.
57295         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
57296         <bp-checks.h>.
57297         (___fxstat64): Do not use CHECK_1.
57298         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
57299         <bp-checks.h>.
57300         (__fxstatat): Do not use CHECK_1.
57301         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
57302         <bp-checks.h>.
57303         (__fxstatat64): Do not use CHECK_1.
57304         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
57305         <bp-checks.h>.
57306         (__fxstat): Do not use CHECK_1.
57307         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
57308         <bp-checks.h>.
57309         (__fxstatat): Do not use CHECK_1.
57310         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
57311         <bp-checks.h>.
57312         (__getresgid): Do not use CHECK_1.
57313         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
57314         <bp-checks.h>.
57315         (__getresuid): Do not use CHECK_1.
57316         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
57317         <bp-checks.h>.
57318         (__lxstat): Do not use CHECK_1.
57319         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
57320         <bp-checks.h>.
57321         (__old_msgctl): Do not use CHECK_1.
57322         (__new_msgctl): Likewise.
57323         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
57324         <bp-checks.h>.
57325         (__new_setrlimit): Do not use CHECK_1.
57326         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
57327         <bp-checks.h>.
57328         (__old_shmctl): Do not use CHECK_1.
57329         (__new_shmctl): Likewise.
57330         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
57331         <bp-checks.h>.
57332         (__xstat): Do not use CHECK_1.
57333         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
57334         (__lxstat): Do not use CHECK_1.
57335         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
57336         <bp-checks.h>.
57337         (___lxstat64): Do not use CHECK_1.
57338         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
57339         (__old_msgctl): Do not use CHECK_1.
57340         (__new_msgctl): Likewise.
57341         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
57342         <bp-checks.h>.
57343         (__gettimeofday): Do not use CHECK_1.
57344         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
57345         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
57346         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
57347         <bp-checks.h>.
57348         (__gettimeofday): Do not use CHECK_1.
57349         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
57350         (__old_shmctl): Do not use CHECK_1_NULL_OK.
57351         (__new_shmctl): Do not use CHECK_1.
57352         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
57353         <bp-checks.h>.
57354         (do_sigtimedwait): Do not use CHECK_1.
57355         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
57356         <bp-checks.h>.
57357         (do_sigwaitinfo): Do not use CHECK_1.
57358         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
57359         <bp-checks.h>.
57360         (msgctl): Do not use CHECK_1.
57361         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
57362         <bp-checks.h>.
57363         (shmctl): Do not use CHECK_1.
57364         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
57365         (ustat): Do not use CHECK_1.
57366         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
57367         <bp-checks.h>.
57368         (__fxstat): Do not use CHECK_1.
57369         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
57370         <bp-checks.h>.
57371         (__fxstatat): Do not use CHECK_1.
57372         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
57373         <bp-checks.h>.
57374         (__lxstat): Do not use CHECK_1.
57375         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
57376         <bp-checks.h>.
57377         (__xstat): Do not use CHECK_1.
57378         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
57379         (__xstat): Do not use CHECK_1.
57380         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
57381         (___xstat64): Do not use CHECK_1.
57383         [BZ #13550]
57384         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
57385         definitions.
57386         (CHECK_BOUNDS_HIGH): Likewise.
57387         * string/strcpy.c: Do not include <bp-checks.h>.
57388         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
57390 2013-02-07  Roland McGrath  <roland@hack.frob.com>
57392         * nscd/nscd-client.h (__nscd_drop_map_ref):
57393         Add __attribute__ ((unused)).
57394         * nis/nss-nisplus.h (niserr2nss): Likewise.
57396         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
57397         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
57399         * csu/libc-tls.c (init_static_tls, init_slotinfo):
57400         Remove inline keyword.
57401         * include/rounding-mode.h (round_away): Likewise.
57402         * libio/wfileops.c (adjust_wide_data): Likewise.
57403         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
57404         (__m128i_strloadu_tolower): Likewise.
57405         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
57406         (__m128i_strloadu_tolower): Likewise.
57407         * time/mktime.c (ydhms_diff): Likewise.
57408         * locale/elem-hash.h (elem_hash): Likewise.
57409         * locale/setlocale.c (setdata): Likewise.
57410         * posix/regex_internal.h (re_string_char_size_at): Likewise.
57411         (re_string_wchar_at): Likewise.
57412         (bitset_not, bitset_merge, bitset_mask): Likewise.
57413         [!(__GNUC__ > 3)] (inline): Remove macro.
57414         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
57415         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
57416         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
57417         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
57418         * string/memcmp.c (memcmp_bytes): Likewise.
57419         * locale/programs/locarchive.c (compute_hashval): Likewise.
57420         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
57421         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
57422         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
57423         * nss/getent.c (print_rpc, print_protocols): Likewise.
57424         (print_passwd, print_group, print_aliases): Likewise.
57425         * nis/nss-nisplus.h (niserr2nss): Likewise.
57426         * nscd/connections.c (restart_p): Likewise.
57427         Change return type to bool.
57429 2013-02-05  Roland McGrath  <roland@hack.frob.com>
57431         * Makeconfig (all-Depend-files): Add existing
57432         $(sorted-subdirs:=/Depend) files.
57433         (all-subdirs): Remove nss.
57434         * sysdeps/unix/inet/Subdirs: Add it here instead.
57435         * hesiod/Depend: New file.
57437         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
57438         instead of calling alloca.
57440         * io/lseek.c (__lseek): Rename to __libc_lseek.
57441         Define __lseek as an alias.
57443         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
57445 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
57447         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
57448         else clause and remove check for non-standard endianness.
57450 2013-02-04  David S. Miller  <davem@davemloft.net>
57452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57454 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
57456         [BZ #13550]
57457         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
57458         (__ubp_memchr): Remove prototype.
57459         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
57460         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
57461         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
57462         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
57463         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
57464         Remove alias.
57465         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
57466         (__ubp_memchr): Likewise.
57467         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
57468         (__ubp_memchr): Likewise.
57469         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
57470         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
57471         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
57472         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
57473         CHECK_STRING.
57474         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57475         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
57476         (__getcwd): Do not use CHECK_STRING.
57477         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
57478         <bp-checks.h>.
57479         (__real_chown): Do not use CHECK_STRING.
57480         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
57481         <bp-checks.h>.
57482         (fchownat): Do not use CHECK_STRING.
57483         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
57484         CHECK_STRING.
57485         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
57486         <bp-checks.h>.
57487         (__lchown): Do not use CHECK_STRING.
57488         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
57489         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
57490         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
57491         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
57492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
57493         include <bp-checks.h>.
57494         (truncate64): Do not use CHECK_STRING.
57495         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
57496         <bp-checks.h>.
57497         (__real_chown): Do not use CHECK_STRING.
57498         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
57499         <bp-checks.h>.
57500         (__lchown): Do not use CHECK_STRING.
57501         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
57502         <bp-checks.h>.
57503         (__chown): Do not use CHECK_STRING.
57504         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
57505         <bp-checks.h>.
57506         (truncate64): Do not use CHECK_STRING.
57507         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
57508         Likewise.
57509         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
57510         (__xmknod): Do not use CHECK_STRING.
57511         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
57512         <bp-checks.h>.
57513         (__xmknodat): Do not use CHECK_STRING.
57514         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
57515         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
57517 2013-02-04  Andreas Schwab  <schwab@suse.de>
57519         [BZ #14142]
57520         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
57521         * include/netdb.h: Likewise for h_errno.
57522         * elf/tst-stackguard1.c: Include <tls.h>.
57524 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
57526         * elf/link.h (struct link_map): Extend the l_addr comment.
57527         * include/link.h (struct link_map): Likewise.
57529 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
57531         [BZ #13550]
57532         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
57533         (BOUNDED_1): Remove macro.
57534         * debug/backtrace.c: Don't include <bp-checks.h>.
57535         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
57536         (__backtrace): Likewise.
57537         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
57538         <bp-checks.h>.
57539         (__backtrace): Don't use BOUNDED_1.
57540         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
57541         <bp-checks.h>.
57542         (__backtrace): Don't use BOUNDED_1.
57543         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
57544         (__backtrace): Don't use BOUNDED_1.
57545         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
57546         (shmat): Don't use BOUNDED_N.
57548 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
57550         [BZ #13550]
57551         * sysdeps/generic/bp-start.h: Remove file.
57552         * csu/libc-start.c: Don't include <bp-start.h>.
57553         (LIBC_START_MAIN): Set up __environ directly instead of using
57554         INIT_ARGV_and_ENVIRON.
57555         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
57556         <bp-start.h>.
57558         [BZ #13550]
57559         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
57560         definitions.
57561         (CHECK_FCNTL): Likewise.
57562         (CHECK_N_PAGES): Likewise.
57564         [BZ #13550]
57565         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
57566         definitions.
57567         (CHECK_SIGSET_NULL_OK): Likewise.
57568         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
57569         <bp-checks.h>.
57570         (sigpending): Don't use CHECK_SIGSET.
57571         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
57572         <bp-checks.h>.
57573         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57574         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
57575         <bp-checks.h>.
57576         (do_sigsuspend): Don't use CHECK_SIGSET.
57577         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
57578         use CHECK_SIGSET.
57579         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
57580         (do_sigwait): Don't use CHECK_SIGSET.
57581         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
57582         use CHECK_SIGSET.
57583         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
57584         include <bp-checks.h>.
57585         (sigpending): Don't use CHECK_SIGSET.
57586         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
57587         include <bp-checks.h>.
57588         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57589         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
57590         <bp-checks.h>.
57591         (sigpending): Don't use CHECK_SIGSET.
57592         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
57593         <bp-checks.h>.
57594         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57596         [BZ #13550]
57597         * sysdeps/generic/bp-semctl.h: Remove file.
57598         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
57599         <bp-checks.h> and <bp-semctl.h>.
57600         (__old_semctl): Don't use CHECK_SEMCTL.
57601         (__new_semctl): Likewise.
57602         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
57603         and <bp-semctl.h>.
57604         (__old_semctl): Don't use CHECK_SEMCTL.
57605         (__new_semctl): Likewise.
57606         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
57607         <bp-checks.h> and <bp-semctl.h>.
57608         (__old_semctl): Don't use CHECK_SEMCTL.
57609         (__new_semctl): Likewise.
57610         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
57611         <bp-checks.h> and <bp-semctl.h>.
57612         (semctl): Don't use CHECK_SEMCTL.
57614         [BZ #13550]
57615         * Makerules (elide-bp-thunks): Remove variable.
57616         (elide-routines.oS): Don't use $(elide-bp-thunks).
57617         (elide-routines.os): Likewise.
57618         (elide-routines.o): Likewise.
57619         (elide-routines.op): Likewise.
57620         (elide-routines.og): Likewise.
57621         (objects): Don't use $(bp-thunks).
57622         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
57623         include.
57624         (common-generated): Do not add s-proto-bp.d.
57625         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
57626         (int): Likewise.
57627         (typ): Likewise.
57628         Do not generate makefile rules for bounded-pointer thunks.
57629         * sysdeps/generic/bp-thunks.h: Remove file.
57630         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
57631         * sysdeps/unix/s-proto-bp.S: Likewise.
57633         [BZ #15062]
57634         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
57635         parts of result separately when argument is not close to line from
57636         -i to i and one part of argument is small.
57637         * math/k_casinhf.c (__kernel_casinhf): Likewise.
57638         * math/k_casinhl.c (__kernel_casinhl): Likewise.
57639         * math/libm-test.inc (cacos_test): Add more tests.
57640         (casin_test): Likewise.
57641         (casinh_test): Likewise.
57642         * sysdeps/i386/fpu/libm-test-ulps: Update.
57643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57645 2013-01-31  David S. Miller  <davem@davemloft.net>
57647         * po/de.po: Update from translation team.
57649 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
57651         * time/tzfile.c: Include stdint.h for SIZE_MAX.
57653 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
57655         * configure.in (_AC_PROG_CC_C89): New definition.
57656         * configure: Regenerate.
57658         * configure.in (AC_PROG_CPP): New definition.
57659         * configure: Regenerate.
57661 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
57663         * debug/tst-backtrace.h: New file.
57664         * debug/tst-backtrace2.c: Include tst-backtrace.h.
57665         (ret): Remove variable.
57666         (x): Likewise.
57667         (FAIL): Remove macro.
57668         (NO_INLINE): Likewise.
57669         (fn1): Use match function instead of strstr.
57670         * debug/tst-backtrace3.c: Include tst-backtrace.h.
57671         (ret): Remove variable.
57672         (x): Likewise.
57673         (FAIL): Remove macro.
57674         (NO_INLINE): Likewise.
57675         (fn): Use match function instead of strstr.
57676         * debug/tst-backtrace4.c: Include tst-backtrace.h.
57677         (ret): Remove variable.
57678         (x): Likewise.
57679         (FAIL): Remove macro.
57680         (NO_INLINE): Likewise.
57681         (handle_signal): Use match function instead of strstr.
57682         * debug/tst-backtrace5.c: Include tst-backtrace.h.
57683         (ret): Remove variable.
57684         (x): Likewise.
57685         (FAIL): Remove macro.
57686         (NO_INLINE): Likewise.
57687         (handle_signal): Use match function instead of strstr.
57689 2013-01-23  Roland McGrath  <roland@hack.frob.com>
57691         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
57693 2013-01-23  David S. Miller  <davem@davemloft.net>
57695         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
57696         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
57697         argument of CAS if possible.
57698         * sysdeps/sparc/sparc64/bits/atomic.h
57699         (__arch_compare_and_exchange_val_32_acq): Likewise.
57700         (__arch_compare_and_exchange_val_64_acq): Likewise.
57702 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
57704         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
57705         * sysdeps/posix/ulimit.c: ... this.
57706         Include <limits.h>.
57707         * sysdeps/unix/bsd/ulimit.c: Remove file.
57709 2013-01-23  Adam Conrad  <adconrad@0c3.net>
57711         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
57712         (LDFLAGS-tst-array5): Likewise.
57714 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
57716         [BZ #15036]
57717         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
57718         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
57719         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
57720         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
57722 2013-01-21  David S. Miller  <davem@davemloft.net>
57724         * sysdeps/sparc/backtrace.c: New file.
57725         * sysdeps/sparc/sparc32/backtrace.h: New file.
57726         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
57727         * sysdeps/sparc/sparc64/backtrace.h: New file.
57728         * sysdeps/sparc/sparc64/backtrace.c: Delete.
57729         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
57730         -funwind-tables.
57732 2013-01-21  Andreas Schwab  <schwab@suse.de>
57734         [BZ #15020]
57735         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
57736         closed its stdout.
57738 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
57740         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
57741         "mpa2.h".
57742         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57744 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
57745             Mark Mitchell  <mark@codesourcery.com>
57746             Tom de Vries  <tom@codesourcery.com>
57747             Paul Pluzhnikov  <ppluzhnikov@google.com>
57749         * debug/tst-backtrace2.c: New file.
57750         * debug/tst-backtrace3.c: Likewise.
57751         * debug/tst-backtrace4.c: Likewise.
57752         * debug/tst-backtrace5.c: Likewise.
57753         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
57754         (CFLAGS-tst-backtrace3.c): Likewise.
57755         (CFLAGS-tst-backtrace4.c): Likewise.
57756         (CFLAGS-tst-backtrace5.c): Likewise.
57757         (LDFLAGS-tst-backtrace2): Likewise.
57758         (LDFLAGS-tst-backtrace3): Likewise.
57759         (LDFLAGS-tst-backtrace4): Likewise.
57760         (LDFLAGS-tst-backtrace5): Likewise.
57761         (tests): Add new tests tst-backtrace2, tst-backtrace3,
57762         tst-backtrace4 and tst-backtrace5.
57764 2013-01-18  Anton Blanchard  <anton@samba.org>
57765             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57767         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
57768         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
57769         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
57770         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
57771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57772         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
57773         "+r" and remove output regs list as redundant.  Add explicit inline
57774         asm to specify register of return val to work around compiler codegen
57775         bug.  Remove (int) cast on return value.  Add return type parameter to
57776         use in macro so that this macro does not truncate return value for
57777         64-bit values.
57778         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
57779         pass to INTERNAL_VSYSCALL_NCS.
57780         (INLINE_VSYSCALL): Add 'long int' as return type to
57781         INTERNAL_VSYSCALL_NCS macro invocation.
57782         (INTERNAL_VSYSCALL): Add 'long int' as return type to
57783         INTERNAL_VSYSCALL_NCS macro invocation.
57784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57786 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57788         [BZ #14496]
57789         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
57790         Fix application of SIMD FP exception mask.
57792         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
57793         mp_no from a power of two.
57794         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
57795         __mpexp_twomm1.  Use __pow_mp.
57797         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
57798         multiplication.
57800 2013-01-17  David S. Miller  <davem@davemloft.net>
57802         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57804 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
57806         [BZ #15023]
57807         * include/complex.h: Condition contents on [!_COMPLEX_H].
57808         (__kernel_casinhf): New prototype.
57809         (__kernel_casinh): Likewise.
57810         (__kernel_casinhl): Likewise.
57811         * math/Makefile (libm_calls): Add k_casinh.
57812         * math/k_casinh.c: New file.
57813         * math/k_casinhf.c: Likewise.
57814         * math/k_casinhl.c: Likewise.
57815         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
57816         finite nonzero arguments.
57817         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
57818         finite nonzero arguments.
57819         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
57820         finite nonzero arguments.
57821         * math/s_casinh.c: Do not include <float.h>.
57822         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
57823         * math/s_casinhf.c: Do not include <float.h>.
57824         (__casinhf): Move code for finite nonzero arguments to
57825         k_casinhf.c.
57826         * math/s_casinhl.c: Do not include <float.h>.
57827         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
57828         redefine.
57829         (__casinhl): Move code for finite nonzero arguments to
57830         k_casinhl.c.
57831         * math/libm-test.inc (cacos_test): Add more tests.
57832         * sysdeps/i386/fpu/libm-test-ulps: Update.
57833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57835 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
57837         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
57838         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
57839         [!HAVE_MREMAP]: Remove [defined linux] case.
57840         * malloc/arena.c: Do not include <malloc-sysdep.h>.
57842 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
57844         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
57846 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
57848         * elf/elf.h (R_386_SIZE32): New relocation.
57849         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
57850         R_386_SIZE32.
57851         (elf_machine_rela): Likewise.
57852         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
57853         R_X86_64_SIZE64 and R_X86_64_SIZE32.
57855 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
57857         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
57858         (FP_FAST_FMA): Do not define.
57859         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
57860         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
57861         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
57862         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
57863         !_SOFT_FLOAT]: Likewise.
57864         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
57865         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
57866         value.
57867         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
57868         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
57869         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
57870         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
57871         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
57872         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
57873         file.
57875 2013-01-16  Andreas Schwab  <schwab@suse.de>
57877         [BZ #14327]
57878         * include/stdlib.h (__mktemp): Add declaration.
57879         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
57880         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
57882 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57884         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
57885         definitions.
57886         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
57887         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
57888         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
57889         definitions here.
57890         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
57891         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
57892         definitions.
57893         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
57894         and ONE.
57895         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
57896         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
57897         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
57898         definitions.
57899         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
57900         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
57901         definitions.
57902         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57904         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
57906 2013-01-15  David S. Miller  <davem@davemloft.net>
57908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57909         trunc{,f} to libm-sysdep_routes.
57910         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
57912         file.
57913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
57914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
57915         file.
57916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
57917         file.
57918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
57919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
57920         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
57921         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
57922         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
57923         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
57924         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
57925         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
57927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57928         nearbyint{,f} to libm-sysdep_routes.
57929         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
57931         New file.
57932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
57933         file.
57934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
57935         New file.
57936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
57937         file.
57938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
57939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
57940         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
57941         file.
57942         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
57943         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
57944         file.
57945         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
57946         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
57947         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
57949         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
57950         libc_feholdexcept and libc_fesetenv.
57952 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
57954         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
57956 2013-01-14  David S. Miller  <davem@davemloft.net>
57958         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
57959         (SPARC_ASM_VIS2_IFUNC): Likewise.
57960         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
57961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
57962         use of 'siam' instruction.
57963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
57964         Likewise.
57965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
57966         Likewise.
57967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
57968         Likewise.
57969         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
57970         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
57971         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
57972         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
57973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
57974         file.
57975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
57976         file.
57977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
57978         file.
57979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
57980         file.
57981         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
57982         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
57983         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
57984         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
57985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
57986         new VIS2 routines.
57987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
57988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
57989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
57990         Likewise.
57991         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
57992         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
57993         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
57994         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
57995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
57996         routines to libm-sysdep_routines.
57997         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
58000         fdim/fdimf to libm-sysdep_routines.
58001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
58002         file.
58003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
58004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
58005         file.
58006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
58007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
58008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
58009         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
58010         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
58011         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
58012         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
58014 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58016         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
58017         to optimize copies.
58019         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
58020         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
58021         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58023         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
58024         local variable MPTWO.
58025         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
58026         Likewise.
58028 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
58030         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
58031         GLOB_NOESCAPE.
58033 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
58035         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
58037 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
58039         * manual/pattern.texi (glob_t): Document gl_flags.
58040         (glob64_t): Likewise.
58042 2013-01-11  David S. Miller  <davem@davemloft.net>
58044         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
58045         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
58046         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
58047         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
58048         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
58049         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
58050         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
58051         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
58052         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
58053         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
58054         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
58055         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
58056         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
58058         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
58059         sparc V9 rather than using V8 code.
58060         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
58061         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
58063         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
58064         Move to...
58065         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
58066         Here.
58068 2013-01-11  Roland McGrath  <roland@hack.frob.com>
58070         [BZ #14941]
58071         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
58072         not in the main loop.
58073         * configure: Regenerated.
58075 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
58077         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
58078         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
58079         to just #else.
58080         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
58081         [!__GLIBC_HAVE_LONG_LONG] case.
58082         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
58083         condition to just #else.
58084         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
58085         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
58086         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
58087         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
58088         unconditional.
58089         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
58090         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
58091         #elif condition to just #else.
58092         * sysdeps/unix/sysv/linux/sys/sysmacros.h
58093         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
58094         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
58095         #elif condition to just #else.
58097 2013-01-11  Steve Ellcey  <sellcey@mips.com>
58099         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
58100         (EF_MIPS_ARCH_64): Fix value.
58101         (EF_MIPS_ARCH_32R2): New.
58102         (EF_MIPS_ARCH_64R2): New.
58104 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
58106         * Makeconfig (+link-pie-before-libc): New.
58107         (+link-pie-after-libc): Likewise.
58108         (+link-pie-tests): Likewise.
58109         (+link-pie): Rewritten.
58110         (link-before-libc): Remove $(config-LDFLAGS).
58111         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
58112         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
58113         (config-LDFLAGS): Renamed to ...
58114         (rtld-LDFLAGS): This.
58115         (rtld-tests-LDFLAGS): New macro.
58116         (link-libc-rpath-link): Likewise.
58117         (link-libc-tests-rpath-link): Likewise.
58118         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
58119         (link-libc): Prepand $(link-libc-rpath-link).
58120         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
58121         (test-program-prefix): New macro.
58122         (test-via-rtld-prefix): Likewise.
58123         (test-program-cmd): Likewise.
58124         (host-test-program-cmd): Likewise.
58125         * Makefile ($(common-objpfx)testrun.sh): Replace
58126         $(run-program-prefix) with $(test-program-prefix).
58127         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
58128         $(rtld-LDFLAGS).
58129         ($(common-objpfx)shlib.lds): Likewise.
58130         (build-module-helper): Likewise.
58131         ($(common-objpfx)format.lds): Likewise.
58132         * Rules (binaries-pie-tests): New.
58133         (binaries-pie-notests): Likewise.
58134         (binaries-pie): Rewritten.
58135         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
58136         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
58137         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
58138         (make-test-out): Replace $(host-built-program-cmd) with
58139         $(host-test-program-cmd).
58140         * config.make.in (build-hardcoded-path-in-tests): New variable.
58141         * configure.in (--enable-hardcoded-path-in-tests): New configure
58142         option.
58143         (hardcoded_path_in_tests): New AC_SUBST.
58144         * configure: Regenerated.
58145         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
58146         $(built-program-cmd) with $(test-program-cmd).
58147         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
58148         (test_program_cmd): This.
58149         * elf/Makefile ($(objpfx)order.out): Run test with
58150         $(test-program-prefix).
58151         ($(objpfx)order2.out): Likewise.
58152         ($(objpfx)tst-initorder.out): Likewise.
58153         ($(objpfx)tst-initorder2.out): Likewise.
58154         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
58155         $(test-program-cmd).
58156         ($(objpfx)tst-array1-static.out): Likewise.
58157         ($(objpfx)tst-array2.out): Likewise.
58158         ($(objpfx)tst-array3.out): Likewise.
58159         ($(objpfx)tst-array4.out): Likewise.
58160         ($(objpfx)tst-array5.out): Likewise.
58161         ($(objpfx)tst-array5-static.out): Likewise.
58162         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
58163         $(test-program-cmd).
58164         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
58165         $(run-program-prefix) with $(test-program-prefix).
58166         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
58167         (test_program_prefix): This.
58168         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
58169         $(run-program-prefix) with $(test-program-prefix).
58170         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
58171         (test_program_prefix): This.
58172         * iconvdata/tst-tables.sh: Likewise.
58173         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
58174         $(run-program-prefix) with $(test-program-prefix).
58175         ($(objpfx)tst-translit.out): Likewise.
58176         ($(objpfx)tst-gettext2.out): Likewise.
58177         ($(objpfx)tst-gettext4.out): Likewise.
58178         ($(objpfx)tst-gettext6.out): Likewise.
58179         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
58180         (test_program_prefix): This.
58181         * intl/tst-gettext2.sh: Likewise.
58182         * intl/tst-gettext4.sh  Likewise.
58183         * intl/tst-gettext6.sh: Likewise.
58184         * intl/tst-translit.sh: Likewise.
58185         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
58186         with $(test-program-cmd).
58187         * libio/Makefile ($(objpfx)test-freopen.out): Replace
58188         $(run-program-prefix) with $(test-program-prefix).
58189         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
58190         (test_program_prefix): This.
58191         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
58192         $(run-program-prefix) with $(test-program-prefix).
58193         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
58194         (test_program_prefix): This.
58195         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
58196         * posix/Makefile ($(objpfx)globtest.out): Replace
58197         $(run-via-rtld-prefix) and $(test-wrapper) with
58198         $(test-program-prefix) and $(test-via-rtld-prefix).
58199         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
58200         $(test-program-prefix).
58201         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
58202         $(host-test-program-cmd).
58203         (tst-spawn-ARGS): Likewise.
58204         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
58205         $(test-program-prefix).
58206         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
58207         (test_via_rtld_prefix): This.
58208         (test_wrapper): Renamed to ...
58209         (test_program_prefix): This.
58210         (run_program_prefix): Replaced by test_program_prefix.
58211         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
58212         (test_program_prefix): This.
58213         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
58214         with $(host-test-program-cmd).
58215         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
58216         $(run-program-prefix) with $(test-program-prefix).
58217         ($(objpfx)tst-printf.out): Likewise.
58218         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
58219         $(test-program-cmd).
58220         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
58221         (test_program_prefix): This.
58222         * stdio-common/tst-unbputc.sh: Likewise.
58223         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
58224         $(run-program-prefix) with $(test-program-prefix).
58225         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
58226         (test_program_prefix): This.
58227         * string/Makefile ($(objpfx)tst-svc.out):  Replace
58228         $(built-program-cmd) with $(test-program-cmd).
58230 2013-01-11  Andreas Jaeger  <aj@suse.de>
58232         [BZ #15003]
58233         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
58234         value. Sync with Linux 3.7.
58236 2013-01-10  David S. Miller  <davem@davemloft.net>
58238         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
58239         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
58240         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
58242 2013-01-10  Roland McGrath  <roland@hack.frob.com>
58244         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
58245         never set.
58246         * configure: Regenerated.
58248 2013-01-10  David S. Miller  <davem@davemloft.net>
58250         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
58251         sparc V9 rather than using V8 code.
58252         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
58253         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
58255 2013-01-10  Roland McGrath  <roland@hack.frob.com>
58257         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
58258         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
58259         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
58260         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
58261         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
58262         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
58263         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
58264         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
58265         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
58266         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
58267         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
58268         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
58269         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
58270         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
58271         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
58272         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
58273         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
58274         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
58275         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
58276         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
58277         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
58278         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
58279         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
58280         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
58281         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
58282         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
58283         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
58285 2013-01-10  David S. Miller  <davem@davemloft.net>
58287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58289 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
58291         * posix/Makefile (tests-static): New variable.
58292         (tests): Add $(tests-static).
58293         (tst-exec-static-ARGS): New variable.
58294         (tst-spawn-static-ARGS): Likewise.
58295         * posix/tst-exec-static.c: New file.
58296         * posix/tst-spawn-static.c: Likewise.
58297         * posix/tst-exec.c: Support run directly.
58298         * posix/tst-spawn.c: Likewise.
58300 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
58302         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
58303         long.
58304         * math/bits/mathcalls.h (llrint): Likewise.
58305         (llround): Likewise.
58306         * stdlib/stdlib.h (struct drand48_data): Likewise.
58307         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
58308         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
58309         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
58310         Likewise.
58311         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
58312         Likewise.
58313         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
58314         (elf_greg_t): Likewise.
58315         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
58316         (__jmp_buf): Likewise.
58317         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
58318         definitions.
58319         (llrint): Likewise, for all definitions.
58320         (llrintl): Likewise.
58322         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
58323         Remove [__GNUC__] condition.
58324         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
58325         condition to just [__USE_ISOC99].
58326         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
58328 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
58330         [BZ #14200]
58331         * sysdeps/unix/sysv/linux/x86/bits/environments.h
58332         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
58333         defined.
58334         (_POSIX_V6_ILP32_OFF32): Likewise.
58335         (_XBS5_ILP32_OFF32): Likewise.
58336         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
58337         (__ILP32_OFFBIG_LDFLAGS): Likewise.
58339 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58341         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
58343         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
58344         doubles __mpexp_twomm1.  Adjust usage.
58345         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
58346         Remove.
58348 2013-01-10  Andreas Schwab  <schwab@suse.de>
58350         [BZ #14964]
58351         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
58352         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
58354 2013-01-09  David S. Miller  <davem@davemloft.net>
58356         [BZ #15003]
58357         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
58358         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
58359         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
58360         (TCP_FASTOPEN): Define.
58361         (tcp_repair_opt): New structure.
58362         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
58363         enum values.
58364         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
58365         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
58366         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
58367         (tcp_cookie_transactions): New structure.
58369 2013-01-09  Anton Blanchard  <anton@samba.org>
58371         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
58372         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
58373         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
58374         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
58376 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
58378         * include/features.h (__USE_ANSI): Remove.
58380 2013-01-09  Roland McGrath  <roland@hack.frob.com>
58382         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
58384         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
58386 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
58388         * sysdeps/s390/fpu/libm-test-ulps: Update.
58390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58392         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
58393         (__acr): Likewise.
58394         (__cpy): Likewise.
58395         (norm): Likewise.
58396         (denorm): Likewise.
58397         (__mp_dbl): Likewise.
58398         (__dbl_mp): Likewise.
58399         (add_magnitudes): Likewise.
58400         (sub_magnitudes): Likewise.
58401         (__add): Likewise.
58402         (__sub): Likewise.
58403         (__mul): Likewise.
58404         (__inv): Likewise.
58405         (__dvd): Likewise.
58406         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
58407         (__acr): Likewise.
58408         (__cpy): Likewise.
58409         (norm): Likewise.
58410         (denorm): Likewise.
58411         (__mp_dbl): Likewise.
58412         (__dbl_mp): Likewise.
58413         (add_magnitudes): Likewise.
58414         (sub_magnitudes): Likewise.
58415         (__add): Likewise.
58416         (__sub): Likewise.
58417         (__mul): Likewise.
58418         (__inv): Likewise.
58419         (__dvd): Likewise.
58420         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
58421         (__acr): Likewise.
58422         (__cpy): Likewise.
58423         (norm): Likewise.
58424         (denorm): Likewise.
58425         (__mp_dbl): Likewise.
58426         (__dbl_mp): Likewise.
58427         (add_magnitudes): Likewise.
58428         (sub_magnitudes): Likewise.
58429         (__add): Likewise.
58430         (__sub): Likewise.
58431         (__mul): Likewise.
58432         (__inv): Likewise.
58433         (__dvd): Likewise.
58435 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
58437         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
58438         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
58439         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
58440         2 && __USE_EXTERN_INLINES]: Likewise.
58442 2013-01-08  Andreas Jaeger  <aj@suse.de>
58444         [BZ# 14985]
58445         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
58446         Remove.
58447         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
58448         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
58450 2013-01-07  Anton Blanchard  <anton@samba.org>
58452         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
58453         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
58454         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
58455         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
58456         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
58457         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58458         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
58459         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
58460         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
58461         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
58462         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58463         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58464         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
58465         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58466         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
58467         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58468         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58469         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58470         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
58471         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
58472         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
58473         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
58474         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58475         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
58476         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
58477         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
58478         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58479         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
58480         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
58481         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
58482         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
58483         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58484         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
58485         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
58486         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
58487         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58488         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58489         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
58490         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
58491         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58492         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
58493         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58494         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58496 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
58498         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
58499         (__MALLOC_PMT): Likewise.
58500         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
58501         [__GNUC__], only on [_LIBC].
58502         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
58503         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
58504         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
58505         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
58506         forward declaration.
58507         (realloc_hook_ini): Likewise.
58508         (memalign_hook_ini): Likewise.
58509         (__libc_memalign): Do not use __MALLOC_PMT in variable
58510         declaration.
58511         (__libc_valloc): Likewise.
58512         (__libc_pvalloc): Likewise.
58513         (__libc_calloc): Likewise.
58514         (__posix_memalign): Likewise.
58516         [BZ #14996]
58517         * math/s_casinh.c: Include <float.h>.
58518         (__casinh): Do not do computation with squaring and square root
58519         for large arguments.
58520         * math/s_casinhf.c: Include <float.h>.
58521         (__casinhf): Do not do computation with squaring and square root
58522         for large arguments.
58523         * math/s_casinhl.c: Include <float.h>.
58524         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
58525         (__casinhl): Do not do computation with squaring and square root
58526         for large arguments.
58527         * math/libm-test.inc (casin_test): Add more tests.
58528         (casinh_test): Likewise.
58529         * sysdeps/i386/fpu/libm-test-ulps: Update.
58530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58532 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
58534         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
58535         (__x86_64_raw_data_cache_size): Likewise.
58536         (__x86_64_data_cache_size_half): Likewise.
58537         (__x86_64_raw_data_cache_size_half): Likewise.
58538         (__x86_64_shared_cache_size): Likewise.
58539         (__x86_64_raw_shared_cache_size): Likewise.
58540         (__x86_64_shared_cache_size_half): Likewise.
58541         (__x86_64_raw_shared_cache_size_half): Likewise.
58542         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
58543         to ...
58544         (__x86_data_cache_size): This.
58545         (__x86_64_raw_data_cache_size): Renamed to ...
58546         (__x86_raw_data_cache_size): This.
58547         (__x86_64_data_cache_size_half): Renamed to ...
58548         (__x86_data_cache_size_half): This.
58549         (__x86_64_raw_data_cache_size_half): Renamed to ...
58550         (__x86_raw_data_cache_size_half): This.
58551         (__x86_64_shared_cache_size): Renamed to ...
58552         (__x86_shared_cache_size): This.
58553         (__x86_64_raw_shared_cache_size): Renamed to ...
58554         (__x86_raw_shared_cache_size): This.
58555         (__x86_64_shared_cache_size_half): Renamed to ...
58556         (__x86_shared_cache_size_half): This.
58557         (__x86_64_raw_shared_cache_size_half): Renamed to ...
58558         (__x86_raw_shared_cache_size_half): This.
58559         * sysdeps/x86_64/memcpy.S: Updated.
58560         * sysdeps/x86_64/memset.S: Likewise.
58561         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
58562         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58563         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58565 2013-01-04  David S. Miller  <davem@davemloft.net>
58567         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58569 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
58571         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
58572         1 to avoid redefinition warning.
58573         (__USE_GNU): Don't define.
58574         (init_signaling_nan): Protoize.
58576         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58578 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58580         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
58581         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
58582         (__cpymn): Likewise.
58583         (norm): Remove commented code.
58584         (denorm): Likewise.
58585         (__mp_dbl): Likewise.
58586         (__inv): Likewise.
58587         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
58588         (__cpymn): Likewise.
58589         (norm): Remove commented code.
58590         (denorm): Likewise.
58591         (__mp_dbl): Likewise.
58592         (__inv): Likewise.
58594         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
58595         mp_no value for 1.0 and 2.0.
58596         (norm): Use RADIXI instead of radixi.d.
58597         (denorm): Likewise.
58598         (__mul): Use 0.0 instead of zero.d.
58599         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
58600         mp_no value for 1.0 and 2.0.
58601         (norm): Use RADIXI instead of radixi.d.
58602         (denorm): Likewise.
58603         (__mul): Use 0.0 instead of zero.d.
58605 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
58607         [BZ #14994]
58608         * math/s_casinh.c (__casinh): Reduce finite argument to first
58609         quadrant then set signs of results at the end.
58610         * math/s_casinhf.c (__casinhf): Likewise.
58611         * math/s_casinhl.c (__casinhl): Likewise.
58612         * math/libm-test.inc (casin_test): Add more tests.
58613         (casinh_test): Likewise.
58614         * sysdeps/i386/fpu/libm-test-ulps: Update.
58615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58617 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58619         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
58621         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
58623         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
58624         declarations.
58625         (denorm): Likewise.
58626         (__mp_dbl): Likewise.
58627         (__inv): Likewise.
58629         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
58630         and adjust the header comment.
58632         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
58633         variable name from declaration.
58635 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
58637         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58638         Initialize COMMON_CPUID_INDEX_7 element.
58639         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
58640         (CPUID_RTM): Likewise.
58641         (HAS_RTM): Likewise.
58642         (COMMON_CPUID_INDEX_7): New enum.
58644 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
58646         [BZ #14981]
58647         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
58648         size is zero, record memory as freed.
58650 2013-01-03  Andreas Jaeger  <aj@suse.de>
58652         * po/ia.po: Add new Interlingua translation.
58654 2012-01-03  Allan McRae  <allan@archlinux.org>
58656         * locale/programs/localedef.c: Fix description of '--posix' flag.
58658 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
58660         * NEWS: Update dates in second copyright notice.
58661         * README: Update copyright dates in example.
58662         * manual/libc.texinfo: Update copyright dates.
58663         * scripts/test-installation.pl: Update copyright date in --version
58664         output.
58666         * hurd/ctty-input.c: Fix copyright notice formatting.
58667         * hurd/ctty-output.c: Likewise.
58668         * hurd/dtable.c: Likewise.
58669         * hurd/hurd-raise.c: Likewise.
58670         * hurd/hurdprio.c: Likewise.
58671         * hurd/msgportdemux.c: Likewise.
58672         * misc/sys/file.h: Likewise.
58673         * misc/sys/ioctl.h: Likewise.
58674         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
58675         * sysdeps/mach/hurd/chdir.c: Likewise.
58676         * sysdeps/mach/hurd/fchdir.c: Likewise.
58677         * sysdeps/mach/hurd/rename.c: Likewise.
58678         * sysdeps/mach/hurd/rmdir.c: Likewise.
58679         * sysdeps/mach/hurd/seekdir.c: Likewise.
58680         * sysdeps/mach/hurd/setsid.c: Likewise.
58681         * sysdeps/posix/wait3.c: Likewise.
58683         * All files with FSF copyright notices: Update copyright dates
58684         using scripts/update-copyrights.
58685         * intl/plural.c: Regenerated.
58686         * locale/programs/charmap-kw.h: Likewise.
58687         * locale/programs/locfile-kw.h: Likewise.
58689 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
58691         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
58692         four values.
58694         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
58695         calculation loop and add branch prediction.
58697         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
58698         check access beyond bounds of m1np.
58700         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
58701         MPTWO.
58702         (__inv): Remove local variable MPTWO to use the global
58703         constant.
58704         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
58705         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
58706         variable MPTWO.
58707         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
58708         MP3HALFS static const.
58710 2013-01-01  David S. Miller  <davem@davemloft.net>
58712         * po/ca.po: Update from translation team.
58714 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
58716         * scripts/update-copyrights: New file.
58717         * Makeconfig: Reformat copyright notice.
58718         * ctype/ctype.h: Likewise.
58719         * debug/swprintf_chk.c: Likewise.
58720         * elf/dl-cache.c: Likewise.
58721         * elf/dl-debug.c: Likewise.
58722         * elf/dl-object.c: Likewise.
58723         * grp/initgroups.c: Likewise.
58724         * hurd/Makefile: Likewise.
58725         * hurd/hurd/signal.h: Likewise.
58726         * hurd/hurdfault.c: Likewise.
58727         * hurd/hurdioctl.c: Likewise.
58728         * hurd/hurdlookup.c: Likewise.
58729         * hurd/intr-msg.c: Likewise.
58730         * iconv/gconv_open.c: Likewise.
58731         * libio/swprintf.c: Likewise.
58732         * locale/lc-ctype.c: Likewise.
58733         * locale/nl_langinfo.c: Likewise.
58734         * mach/Machrules: Likewise.
58735         * mach/Makefile: Likewise.
58736         * malloc/obstack.h: Likewise.
58737         * manual/Makefile: Likewise.
58738         * manual/tsort.awk: Likewise.
58739         * misc/bits/stab.def: Likewise.
58740         * nis/nis_print_group_entry.c: Likewise.
58741         * nis/nis_table.c: Likewise.
58742         * nis/nss_compat/compat-pwd.c: Likewise.
58743         * nis/nss_compat/compat-spwd.c: Likewise.
58744         * po/Makefile: Likewise.
58745         * posix/fnmatch.c: Likewise.
58746         * posix/regex.h: Likewise.
58747         * resolv/Makefile: Likewise.
58748         * resolv/nss_dns/dns-network.c: Likewise.
58749         * resolv/res_hconf.c: Likewise.
58750         * scripts/gen-sorted.awk: Likewise.
58751         * soft-fp/soft-fp.h: Likewise.
58752         * stdio-common/printf.h: Likewise.
58753         * stdlib/monetary.h: Likewise.
58754         * stdlib/random.c: Likewise.
58755         * stdlib/random_r.c: Likewise.
58756         * sysdeps/generic/Makefile: Likewise.
58757         * sysdeps/gnu/Makefile: Likewise.
58758         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58759         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58760         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58761         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58762         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58763         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58764         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58765         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58766         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58767         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58768         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58769         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58770         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58771         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58772         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
58773         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58774         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58775         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58776         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58777         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58778         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58779         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58780         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58781         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
58782         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
58783         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58784         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
58785         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
58786         * sysdeps/mach/hurd/errnos.awk: Likewise.
58787         * sysdeps/mach/hurd/fork.c: Likewise.
58788         * sysdeps/mach/hurd/getcwd.c: Likewise.
58789         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
58790         * sysdeps/mach/hurd/mmap.c: Likewise.
58791         * sysdeps/mach/hurd/utimes.c: Likewise.
58792         * sysdeps/mach/hurd/xmknod.c: Likewise.
58793         * sysdeps/posix/profil.c: Likewise.
58794         * sysdeps/posix/readdir_r.c: Likewise.
58795         * sysdeps/powerpc/bits/mathdef.h: Likewise.
58796         * sysdeps/powerpc/bits/setjmp.h: Likewise.
58797         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
58798         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
58799         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
58800         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
58801         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
58802         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58803         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58804         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
58805         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
58806         * sysdeps/pthread/lio_listio.c: Likewise.
58807         * sysdeps/sparc/dl-procinfo.h: Likewise.
58808         * sysdeps/unix/i386/sysdep.S: Likewise.
58809         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
58810         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
58811         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
58812         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
58813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58814         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
58815         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
58816         * sysdeps/unix/sysv/linux/speed.c: Likewise.
58817         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
58818         * sysdeps/wordsize-32/divdi3.c: Likewise.
58819         * time/sys/time.h: Likewise.
58820         * wcsmbs/Makefile: Likewise.
58822 2013-01-01  David S. Miller  <davem@davemloft.net>
58824         * po/fr.po: Update from translation team.
58826         * catgets/gencat.c: Update copyright year.
58827         * csu/version.c: Likewise.
58828         * debug/catchsegv.sh: Likewise.
58829         * debug/pcprofiledump.c: Likewise.
58830         * debug/xtrace.sh: Likewise.
58831         * elf/ldconfig.c: Likewise.
58832         * elf/ldd.bash.in: Likewise.
58833         * elf/pldd.c: Likewise.
58834         * elf/sotruss.ksh: Likewise.
58835         * elf/sprof.c: Likewise.
58836         * iconv/iconv_prog.c: Likewise.
58837         * iconv/iconvconfig.c: Likewise.
58838         * locale/programs/locale.c: Likewise.
58839         * locale/programs/localedef.c: Likewise.
58840         * login/programs/pt_chown.c: Likewise.
58841         * malloc/memusage.sh: Likewise.
58842         * malloc/memusagestat.c: Likewise.
58843         * malloc/mtrace.pl: Likewise.
58844         * nscd/nscd.c: Likewise.
58845         * nss/getent.c: Likewise.
58846         * nss/makedb.c: Likewise.
58847         * posix/getconf.c: Likewise.
58849 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
58851         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
58852         numbers.
58854 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
58856         * math/bits/mathcalls.h (modf): Use __nonnull.
58858 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58860         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
58861         (split): Use macro CN instead of the bare value.
58862         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
58863         could be used.
58864         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
58865         instead of the bare value.
58866         (power1): Likewise.
58868 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58870         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
58871         __ATAN_TWOM.
58872         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58874         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
58875         their values.
58876         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
58877         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58878         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
58879         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
58881 2012-12-28  Andreas Jaeger  <aj@suse.de>
58883         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
58884         values are from Linux 3.7.
58886         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
58887         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
58889 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58891         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
58892         TRUE case.
58894         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
58895         (norm): Likewise.
58896         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
58897         variables with preprocessor constants.
58898         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58899         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58900         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58902 2012-12-27  Bruno Haible  <bruno@clisp.org>
58904         [BZ #14317]
58905         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
58906         only if needed.
58908 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58910         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
58911         and use variable directly.
58912         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
58914         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
58915         MPONE.
58916         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
58917         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
58918         variable MPONE.
58919         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58920         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
58921         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
58922         include directive.  Remove local variable MPONE.
58923         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
58924         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
58925         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58927 2012-12-25  David S. Miller  <davem@davemloft.net>
58929         * version.h (RELEASE): Set to "development".
58930         (VERSION): Set to "2.17.90".
58931         * NEWS: Add 2.18 section.
58933 2012-12-21  David S. Miller  <davem@davemloft.net>
58935         * po/hr.po: Update from translation team.
58937 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58939         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
58941 2012-12-19  Steve Ellcey  <sellcey@mips.com>
58943         * NEWS:  Mention new memcpy for MIPS.
58945 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58947         * manual/contrib.texi (Contributors): Spelling correction.
58949 2012-12-15  David S. Miller  <davem@davemloft.net>
58951         * po/ru.po: Update from translation team.
58953 2012-12-13  David S. Miller  <davem@davemloft.net>
58955         * NEWS: Mention IFUNC testsuite enhancements.
58957         * po/pl.po: Update from translation team.
58958         * po/bg.po: Likewise.
58960         * manual/contrib.texi (Contributors): Update entries for Hongjiu
58961         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
58963 2012-12-11  David S. Miller  <davem@davemloft.net>
58965         * po/sv.po: Update from translation team.
58967         * po/vi.po: Update from translation team.
58969         * po/cs.po: Update from translation team.
58971         * po/de.po: Update from translation team.
58972         * po/eo.po: Likewise.
58973         * po/nl.po: Likewise.
58975 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58977         [BZ #14246]
58978         * manual/argp.texi (Argp Helper Functions): Move node to follow
58979         Argp Parsing State.
58981         [BZ #14872]
58982         * manual/conf.texi (Limits on File System Capacity): Mention if
58983         terminating null is included in the max size.
58985 2012-12-10  Andreas Jaeger  <aj@suse.de>
58987         * po/cs.po: Update from translation team.
58989 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
58991         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
58992         void pointer and cast to uintptr_t.
58993         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
58994         path.
58995         * sysdeps/s390/s390-64/memcpy.S: Likewise.
58996         * sysdeps/s390/s390-64/memset.S: Likewise.
58998 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
59000         [BZ #14833]
59001         * menual/message.texi (Message Translation): Fix typos.
59002         (Helper programs for gettext): Likewise.
59004 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
59006         [BZ #14898]
59007         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
59008         Change to -1.
59010 2012-12-07  David S. Miller  <davem@davemloft.net>
59012         * po/libc.pot: Update.
59014 2012-12-07  Richard Henderson  <rth@redhat.com>
59016         [BZ #10114]
59017         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
59018         normal/normal case to before the switch.
59019         (_FP_DIV): Likewise.
59021 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
59022             Mike Frysinger  <vapier@gentoo.org>
59024         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
59025         check for __NR_fadvise64_64.
59027 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
59029         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
59030         0, not just to plain "0" as a statement.
59031         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
59032         with cw.
59034 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
59036         * NEWS: Use sourceware.org in Bugzilla URL.
59038 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
59040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
59041         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
59043         * stdio-common/tst-put-error.c (do_test): Add newline to the
59044         padded test to ensure flush.
59046 2012-12-05  Jeff Law  <law@redhat.com>
59048         * sunrpc/etc.rpc (fedfs_admin): Add entry.
59050 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
59052         * README: Don't refer to ports add-on as distributed separately.
59053         Mention AArch64 in list of systems supported in the ports add-on.
59055         * LICENSES: Add more non-FSF copyright and license notices.
59057         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
59058         ((unused)).
59060         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
59062         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
59063         10000 as width of padded output.
59065 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
59067         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
59069         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
59070         variable LX with __attribute__ ((unused)).
59071         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
59072         Likewise.
59073         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
59074         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59075         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
59076         with __attribute__ ((unused)).
59078 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
59080         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
59082 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
59084         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
59085         (CFLAGS-nldbl-acos.c): New variable.
59086         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
59087         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
59088         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
59089         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
59090         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
59091         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
59092         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
59093         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
59094         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
59095         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
59096         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
59097         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
59098         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
59099         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
59100         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
59101         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
59102         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
59103         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
59104         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
59105         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
59106         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
59107         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
59108         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
59109         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
59110         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
59111         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
59112         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
59113         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
59114         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
59115         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
59116         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
59117         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
59118         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
59119         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
59120         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
59121         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
59122         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
59123         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
59124         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
59125         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
59126         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
59127         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
59128         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
59129         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
59130         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
59131         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
59132         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
59133         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
59134         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
59135         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
59136         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
59137         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
59138         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
59139         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
59140         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
59141         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
59142         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
59143         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
59144         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
59145         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
59146         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
59147         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
59148         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
59149         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
59150         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
59151         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
59152         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
59153         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
59154         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
59155         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
59156         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
59157         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
59158         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
59159         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
59160         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
59161         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
59162         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
59163         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
59164         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
59165         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
59166         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
59167         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
59168         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
59169         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
59170         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
59171         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
59172         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
59173         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
59174         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
59175         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
59176         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
59177         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
59178         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
59179         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
59180         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
59181         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
59182         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
59184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
59185         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
59187         [BZ #14914]
59188         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
59189         whole low double instead of just low 47 bits when splitting values
59190         into two parts.
59192 2012-12-03  Allan McRae  <allan@archlinux.org>
59194         * manual/stdio.texi (Predefined Printf Handlers): Remove
59195         @hsep and @vsep usage.
59197 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
59199         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
59200         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
59202 2012-12-03  Jeff Law  <law@redhat.com>
59204         * time/sys/time.h (settimeofday): Do not mark TV argument
59205         as __nonnull.
59207 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
59209         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
59210         when currently writing and seek to current position when not.
59211         * libio/Makefile (tests): Remove bug-fclose1.
59212         * libio/bug-fclose1.c: Delete.
59214 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
59216         * manual/arith.texi (feenableexcept): Fix typo.
59217         (fedisableexcept): Likewise.
59219 2012-11-30  Roland McGrath  <roland@hack.frob.com>
59221         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
59222         second, differently-typed declaration, rather than a cast.
59224 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59226         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
59227         * include/rpc/svc.h: ... here.
59229 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
59231         [BZ #13013]
59232         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
59233         depending n and resplen2 to catch cases where answer
59234         equals answerp2.
59236 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
59238         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
59239         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
59241 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
59243         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
59245 2012-11-29  Roland McGrath  <roland@hack.frob.com>
59247         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
59249 2012-11-28  Jeff Law  <law@redhat.com>
59251         [BZ #13761]
59252         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
59253         dataset_temporary.  Track alloca usage into alloca_used.
59254         If dataset is large allocate and release it via malloc/free.
59256 2012-06-04  Florian Weimer  <fweimer@redhat.com>
59258         [BZ #14197]
59259         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
59261 2012-11-28  David S. Miller  <davem@davemloft.net>
59263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59265 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
59267         [BZ #14803]
59268         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
59269         of pi/2 rounded to nearest to 64 bits.
59270         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
59271         nearest to 64 bits.
59272         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
59273         bits.
59275 2012-11-28  Jeff Law <law@redhat.com>
59276             Martin Osvald <mosvald@redhat.com>
59278         [BZ #14889]
59279         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
59280         * sunrpc/svc.c: Include time.h.
59281         (__svc_accept_failed): New function.
59282         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
59283         any reason other than EINTR, call __svc_accept_failed.
59284         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
59285         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
59287 2012-11-28  Andreas Schwab  <schwab@suse.de>
59289         * scripts/abilist.awk: Also handle indirect functions in .opd
59290         section.
59292 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
59294         [BZ #13881]
59295         * sysdeps/x86/fpu/powl_helper.c: New file.
59296         * sysdeps/x86/fpu/Makefile: Likewise.
59297         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
59298         (p3): New object.
59299         (__ieee754_powl): Use __powl_helper for finite arguments except
59300         integer exponents below 8.
59301         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
59302         (p3): New object.
59303         (__ieee754_powl): Use __powl_helper for finite arguments except
59304         integer exponents below 8.
59305         * math/libm-test.inc (pow_test): Add more tests and enable some
59306         previously disabled tests.
59307         * sysdeps/i386/fpu/libm-test-ulps: Update.
59308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59310 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59311             Carlos O'Donell  <carlos_odonell@mentor.com>
59313         * nss/makedb.c (is_prime): Assert that input is odd and greater
59314         than 4.  Note that fact in a comment too.
59315         (next_prime): Add 4 to input.
59317 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
59319         [BZ #11741]
59320         * libio/Makefile (tests): Add test case tst-fwrite-error.
59321         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
59322         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
59323         * libio/tst-fwrite-error.c: New test case.
59325 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
59327         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
59328         before casting to void *.
59329         * include/libc-internal.h (__pointer_type): New macro.
59330         (__integer_if_pointer_type_sub): Likewise.
59331         (__integer_if_pointer_type): Likewise.
59332         (cast_to_integer): Likewise.
59333         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
59334         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
59335         before casting to atomic64_t.
59336         (atomic_exchange_acq): Likewise.
59337         (__arch_exchange_and_add_body): Likewise.
59338         (__arch_add_body): Likewise.
59339         (atomic_add_negative): Likewise.
59340         (atomic_add_zero): Likewise.
59342 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
59344         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
59345         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
59346         (add_fdes): Likewise.
59347         (linear_search_fdes): Likewise.
59348         (binary_search_unencoded_fdes): Likewise.
59350 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
59352         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
59354 2012-11-24  Adam Conrad  <adconrad@0c3.net>
59356         * configure.in: Autodetect C++ header directories.
59357         * configure: Regenerated.
59359 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
59361         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
59363 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
59365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59367 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
59369         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
59370         LDBL_MANT_DIG == 106]: Disable some tests.
59371         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
59372         Likewise.
59373         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
59374         Likewise.
59376         [BZ #14871]
59377         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
59378         input for small inputs.  Return +/- pi/2 for large inputs.
59379         * math/libm-test.inc (atan_test): Add more tests.
59381         * sysdeps/generic/unwind-dw2-fde-glibc.c
59382         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
59383         __attribute__ ((unused)).
59385         [BZ #14645]
59386         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
59387         x * y if x and y are nonzero and z is zero.
59389         [BZ #14811]
59390         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
59391         nonzero exponents with absolute value below 0x1p-117 to +/-
59392         0x1p-117.
59394         [BZ #14869]
59395         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
59396         up arguments below 2**-450, not just those below 2**-500.
59397         * math/libm-test.inc (hypot_test): Add another test.
59399         [BZ #14868]
59400         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
59401         Return a+b for ratio over 2**120, not 2**60.
59402         * math/libm-test.inc (hypot_test): Add another test.
59404         * math/libm-test.inc (clog_test): Use
59405         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
59406         (clog10_test): Likewise.
59408         [BZ #6778]
59409         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
59411 2012-11-22  Andreas Schwab  <schwab@suse.de>
59413         * sysdeps/i386/fpu/libm-test-ulps: Update.
59415 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
59417         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
59418         printf output with newline.
59420 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
59422         [BZ #14865]
59423         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
59424         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
59425         -z nodlopen, -z initfirst and -z execstack support.
59426         * configure: Regenerated.
59428         * elf/elf.h (DF_1_NODIRECT): New macro.
59429         (DF_1_IGNMULDEF): Likewise.
59430         (DF_1_NOKSYMS): Likewise.
59431         (DF_1_NOHDR): Likewise.
59432         (DF_1_EDITED): Likewise.
59433         (DF_1_NORELOC): Likewise.
59434         (DF_1_SYMINTPOSE): Likewise.
59435         (DF_1_GLOBAUDIT): Likewise.
59436         (DF_1_SINGLETON): Likewise.
59437         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
59438         DT_1_SUPPORTED_MASK bits.
59439         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
59441 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
59443         * sysdeps/unix/make-syscalls.sh: Document prefixes.
59445 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
59447         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
59448         macro.
59450         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
59451         (sendmmsg): Move declarations...
59452         * socket/sys/socket.h: ... here.
59453         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
59454         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
59455         include it from...
59456         * socket/recvmmsg.c: ... this new file.
59457         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
59458         (sendmmsg): Rename to __sendmmsg, create weak alias and make
59459         definition of __sendmmsg hidden.
59460         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
59461         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
59462         Move ENOSYS stub into and include it from...
59463         * socket/sendmmsg.c: ... this new file.
59464         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
59465         (sysdep_routines): Move recvmmsg and sendmmsg...
59466         * socket/Makefile (routines): ... here.
59467         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
59468         (GLIBC_PRIVATE): Add __sendmmsg.
59469         * include/sys/socket.h (__sendmmsg): Add declarations.
59470         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
59471         sendmmsg.
59473 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
59475         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
59476         variable I1 with __attribute__ ((unused)).
59477         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
59479 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
59481         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
59482         DUMMY variables with __attribute__ ((unused)).
59484         * bits/byteswap.h: Include <bits/types.h>.
59485         (__bswap_64): Use __uint64_t instead of unsigned long long int.
59487 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
59489         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
59490         string_t.  Do not manually set errno.
59491         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
59492         length with __strnlen.  Make sure to both set errno and return it on
59493         failure.
59495 2012-11-19  David S. Miller  <davem@davemloft.net>
59497         With help from Joseph Myers.
59498         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
59499         very large arguments properly.
59500         * math/libm-test.inc (atan_test): New tests.
59501         (atan2_test): New tests.
59502         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59503         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59505 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
59507         [BZ #14856]
59508         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
59509         Define to 3.
59511         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
59512         [POSIX] (EADDRNOTAVAIL): Likewise.
59513         [POSIX] (EAFNOSUPPORT): Likewise.
59514         [POSIX] (EALREADY): Likewise.
59515         [POSIX] (ECONNABORTED): Likewise.
59516         [POSIX] (ECONNREFUSED): Likewise.
59517         [POSIX] (ECONNRESET): Likewise.
59518         [POSIX] (EDESTADDRREQ): Likewise.
59519         [POSIX] (EDQUOT): Likewise.
59520         [POSIX] (EHOSTUNREACH): Likewise.
59521         [POSIX] (EIDRM): Likewise.
59522         [POSIX] (EISCONN): Likewise.
59523         [POSIX] (ELOOP): Likewise.
59524         [POSIX] (EMULTIHOP): Likewise.
59525         [POSIX] (ENETDOWN): Likewise.
59526         [POSIX] (ENETUNREACH): Likewise.
59527         [POSIX] (ENOBUFS): Likewise.
59528         [POSIX] (ENODATA): Likewise.
59529         [POSIX] (ENOLINK): Likewise.
59530         [POSIX] (ENOMSG): Likewise.
59531         [POSIX] (ENOPROTOOPT): Likewise.
59532         [POSIX] (ENOSR): Likewise.
59533         [POSIX] (ENOSTR): Likewise.
59534         [POSIX] (ENOTCONN): Likewise.
59535         [POSIX] (ENOTSOCK): Likewise.
59536         [POSIX] (EOPNOTSUPP): Likewise.
59537         [POSIX] (EOVERFLOW): Likewise.
59538         [POSIX] (EPROTO): Likewise.
59539         [POSIX] (EPROTONOSUPPORT): Likewise.
59540         [POSIX] (EPROTOTYPE): Likewise.
59541         [POSIX] (ESTALE): Likewise.
59542         [POSIX] (ETIME): Likewise.
59543         [POSIX] (ETXTBSY): Likewise.
59544         [POSIX] (EWOULDBLOCK): Likewise.
59545         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
59546         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
59547         [POSIX] (SEEK_CUR): Likewise.
59548         [POSIX] (SEEK_END): Likewise.
59549         [POSIX || UNIX98] (mode_t): Do not require.
59550         [POSIX] (off_t): Likewise.
59551         [POSIX] (pid_t): Likewise.
59552         [POSIX] (sys/stat.h): Do not allow header.
59553         [POSIX] (unistd.h): Likewise.
59554         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
59555         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
59556         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
59557         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
59558         require.
59559         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
59560         sigevent): Specify elements.
59561         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
59562         entry.
59563         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
59564         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
59566         * conform/data/cpio.h-data [POSIX]: Disable whole file.
59567         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
59568         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
59569         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
59570         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
59571         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
59572         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
59573         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
59574         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
59575         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
59576         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
59577         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
59578         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
59579         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
59580         Likewise.
59581         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
59582         Likewise.
59583         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
59584         Likewise.
59585         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
59586         Likewise.
59587         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
59588         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
59589         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
59590         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
59591         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
59592         Specify lower bound on value.
59593         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
59594         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
59595         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
59596         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
59597         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
59598         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
59599         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
59600         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
59601         value.
59602         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
59603         as optional.
59604         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
59605         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
59606         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
59607         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
59608         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
59609         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
59610         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
59611         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
59612         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
59613         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
59614         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
59615         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
59616         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
59617         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
59618         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
59619         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
59620         entry.
59621         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
59622         optional.
59623         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
59624         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
59625         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
59626         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
59627         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
59628         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
59629         Likewise.
59630         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
59631         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
59632         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
59633         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
59634         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
59635         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
59636         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
59637         as optional.
59638         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
59639         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
59640         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
59641         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
59642         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
59643         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
59644         specify as optional.
59645         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
59646         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
59647         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
59648         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
59649         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
59650         [XPG3] (NL_LANGMAX): Likewise.
59651         [POSIX || XPG3] (NL_MSGMAX): Likewise.
59652         [POSIX || XPG3] (NL_NMAX): Likewise.
59653         [POSIX || XPG3] (NL_SETMAX): Likewise.
59654         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
59655         [XPG3] (NZERO): Likewise.
59656         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
59657         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
59658         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
59659         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
59660         (REG_ERANGE): Expect.
59661         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
59662         optional-constant.
59663         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
59664         Use (void) in prototype.
59665         [POSIX] (*_t): Allow.
59666         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
59667         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
59668         (WRDE_BADVAL): Expect.
59670         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
59671         expect.
59672         [XPG3 || XPG4] (O_RSYNC): Likewise.
59673         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
59674         Likewise.
59675         [XPG3 || XPG4] (pthread_sigmask): Likewise.
59676         [XPG3 || XPG4] (sigqueue): Likewise.
59677         [XPG3 || XPG4] (sigtimedwait): Likewise.
59678         [XPG3 || XPG4] (sigwaitinfo): Likewise.
59679         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
59680         [XPG3 || XPG4] (vsnprintf): Likewise.
59681         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
59682         Likewise.
59683         [XPG3 || XPG4] (blksize_t): Likewise.
59684         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
59685         Likewise.
59686         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
59687         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
59688         [XPG3 || XPG4] (struct itimerspec): Likewise.
59689         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
59690         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
59691         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
59692         [XPG3 || XPG4] (clockid_t): Likewise.
59693         [XPG3 || XPG4] (timer_t): Likewise.
59694         [XPG3 || XPG4] (clock_getres): Likewise.
59695         [XPG3 || XPG4] (clock_gettime): Likewise.
59696         [XPG3 || XPG4] (clock_settime): Likewise.
59697         [XPG3 || XPG4] (nanosleep): Likewise.
59698         [XPG3 || XPG4] (timer_create): Likewise.
59699         [XPG3 || XPG4] (timer_delete): Likewise.
59700         [XPG3 || XPG4] (timer_gettime): Likewise.
59701         [XPG3 || XPG4] (timer_getoverrun): Likewise.
59702         [XPG3 || XPG4] (timer_settime): Likewise.
59703         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
59704         [XPG3 || XPG4] (getlogin_r): Likewise.
59705         [XPG3 || XPG4] (pread): Likewise.
59706         [XPG3 || XPG4] (pthread_atfork): Likewise.
59707         [XPG3 || XPG4] (pwrite): Likewise.
59709         [BZ #14835]
59710         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
59711         <bits/siginfo.h>.
59713 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
59715         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
59716         finalizing MALLSTREAM.
59718         * sysdeps/mach/hurd/syncfs.c: New file.
59720 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59722         [BZ #14719]
59723         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
59724         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
59725         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
59726         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
59727         (_nss_dns_gethostbyname4_r): Likewise.
59728         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
59729         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
59731 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
59733         [BZ #13763]
59734         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
59736 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
59738         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
59739         * elf/cache.c (print_entry): Print ",AArch64" for
59740         FLAG_AARCH64_LIB64
59742         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
59743         * elf/cache.c (print_entry): Print ",hard-float" for
59744         FLAG_ARM_LIBHF.
59746 2012-11-18  David S. Miller  <davem@davemloft.net>
59748         With help from Joseph Myers.
59749         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
59750         cutoff to 2**-13.
59751         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
59752         cutoff to 2**-25.
59753         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
59754         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
59755         small.
59756         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
59757         * math/libm-test.inc (y0_test): New tests.
59758         (y1_test): New tests.
59759         * sysdeps/i386/fpu/libm-test-ulps: Update.
59760         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59763 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
59765         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
59766         64-bit targets.
59767         * configure: Regenerated.
59769 2012-11-17  David S. Miller  <davem@davemloft.net>
59771         [BZ #14811]
59772         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
59773         nonzero exponents with absolute value below 0x1p-128 to +/-
59774         0x1p-128.
59776 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
59778         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
59780         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
59782         * posix/getconf-speclist.c: New file.
59783         * posix/posix-envs.def: Likewise.
59784         * posix/confstr.c (START_ENV_GROUP): New macro.
59785         (END_ENV_GROUP): Likewise.
59786         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
59787         (KNOWN_PRESENT_ENV_STRING): Likewise.
59788         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
59789         (UNKNOWN_ENVIRONMENT): Likewise.
59790         (confstr): Include posix-envs.def instead of handling
59791         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
59792         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
59793         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
59794         (END_ENV_GROUP): Likewise.
59795         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
59796         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
59797         (UNKNOWN_ENVIRONMENT): Likewise.
59798         (__sysconf): Include posix-envs.def instead of handling associated
59799         cases directly here.
59800         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
59801         preprocessing getconf-speclist.c rather than running getconf or
59802         generating empty file.
59804 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
59806         * scripts/check-local-headers.sh: Ignore 'mach' headers.
59808 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
59810         [BZ #14672]
59811         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
59813 2012-11-16  David S. Miller  <davem@davemloft.net>
59815         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
59816         smaller than LDBL_EPSILON/2.0L, just return xm1.
59818 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
59820         * elf/tst-array1.c (init): Set constructor priority to 1000.
59821         (fini): Set destructor priority to 1000.
59822         * elf/tst-array2dep.c: Likewise.
59824 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59826         [BZ #11741]
59827         * libio/fileops.c (_IO_new_file_write): Correctly return error.
59828         (_IO_new_file_xsputn): Also return EOF if none of the input
59829         data was written when overflow failed.
59830         * libio/iopadn.c (_IO_padn): Likewise.
59831         * libio/iowpadn.c (_IO_wpadn): Likewise.
59832         * stdio-common/tst-put-error.c: Add copyright notice.
59833         (do_test): Add case for printing padded string.
59834         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
59835         _IO_padn returned error.
59836         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
59837         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
59838         return EOF.
59840 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59842         * libio/libioP.h: Add comment note that the references to C++
59843         bits are now obsolete.
59845 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59847         * math/libm-test.inc (check_complex): Use asprintf.
59849 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
59851         * debug/pcprofiledump.c (print_version): Update copyright year.
59852         * malloc/memusagestat.c (print_version): Likewise.
59854 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
59856         [BZ #14831]
59857         * elf/Makefile (tests): Add tst-audit8.
59858         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
59859         ($(objpfx)tst-audit8.out): New target.
59860         (tst-audit8-ENV): New variable.
59861         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
59862         audit if l_reloc_result is NULL.
59863         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
59864         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
59865         * elf/tst-audit8.c: New file.
59867 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59869         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
59870         * misc/Makefile (CFLAGS-select.c): Define.
59871         * posix/Makefile (CFLAGS-pause.c): Define.
59873 2012-11-13  David S. Miller  <davem@davemloft.net>
59875         * crypt/Makefile: Move test targets after toplevel Rules
59876         inclusion.  Grab any necessary sysdep routines when linking.
59877         * crypt/md5.c (md5_process_block): Remove define, we will always
59878         name it __md5_process_block.
59879         (md5_finish_ctx): Update md5_process_block call.
59880         (md5_stream): Likewise.
59881         (md5_process_bytes): Likewise.
59882         (md5_process_block): Rename to __md5_process_block and move to ...
59883         * crypt/md5-block.c: ... here.
59884         * crypt/sha256.c (sha256_process_block): Move to ...
59885         * crypt/sha256-block.c: ... here.
59886         * crypt/sha512.c (sha512_process_block): Move to ...
59887         * crypt/sha512-block.c: ... here.
59888         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
59889         path.
59890         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
59891         * sysdeps/sparc/sparc64/multiarch/Makefile
59892         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
59893         crypt subdir.
59894         (localedef-aux): Add md5 crypto assembler when in locale subdir.
59895         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
59896         multiarch changes.
59897         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
59898         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
59899         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
59900         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
59901         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
59902         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
59903         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
59904         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
59905         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
59906         file.
59907         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
59908         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
59909         file.
59910         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
59912 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
59914         * timezone/tzselect.ksh: Update from tzcode git revision
59915         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
59916         * timezone/zdump.c: Likewise.
59917         * timezone/zic.c: Likewise.
59918         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
59919         in TZVERSION setting, not $(PKGVERSION).
59920         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
59921         REPORT_BUGS_TO settings.
59923         [BZ #14838]
59924         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
59925         macro.
59927 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59929         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
59930         detection to immediately after _FP_ROUND().
59931         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
59932         bits are 0.
59934 2012-11-11  David S. Miller  <davem@davemloft.net>
59936         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
59937         inttypes.h
59938         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
59939         __close rather than their public counterparts.
59941 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
59943         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
59944         file.
59945         [UNIX98] (sem_timedwait): Do not expect.
59946         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
59947         [XPG4 || UNIX98] (sockatmark): Do not expect.
59948         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
59949         (clock_getcpuclockid): Do not expect.
59950         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
59951         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
59952         Do not expect.
59953         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
59954         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
59955         [UNIX98] (vwscanf): Likewise.
59956         [UNIX98] (vswscanf): Likewise.
59958 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
59960         * timezone/version.h: Remove file.
59961         * timezone/README: Do not refer to version.h.
59962         * timezone/Makefile ($(objpfx)zic.o): New dependency on
59963         $(objpfx)version.h.
59964         ($(objpfx)zdump.o): Likewise.
59965         ($(objpfx)version.h): New target.
59967         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
59968         2012i.
59969         * timezone/README: Don't mention modification to tzselect.ksh.
59970         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
59971         work on unmodified tzselect.ksh.  Substitute version numbers in
59972         tzselect.ksh.
59974         * Makefile (format-me): Remove.
59975         (INSTALL): Adjust indentation.  Use commands directly instead of
59976         using $(format-me).
59978         * aclocal.m4 (ACX_PKGVERSION): New macro.
59979         (ACX_BUGURL): Likewise.
59980         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
59981         (PKGVERSION): New AC_DEFINE_UNQUOTED.
59982         (REPORT_BUGS_TO): Likewise.
59983         * configure: Regenerated.
59984         * config.h.in (PKGVERSION): New macro.
59985         (REPORT_BUGS_TO): Likewise.
59986         * config.make.in (PKGVERSION): New variable.
59987         (PKGVERSION_TEXI): Likewise.
59988         (REPORT_BUGS_TO): Likewise.
59989         (REPORT_BUGS_TEXI): Likewise.
59990         * Makefile (format-me): Use -I$(common-objpfx)manual.
59991         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
59992         ($(common-objpfx)manual/%): New target.
59993         (manual/%): Remove target.
59994         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
59995         (print_version): Use PKGVERSION.
59996         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
59997         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
59998         and REPORT_BUGS_TO.
59999         ($(objpfx)xtrace): Likewise.
60000         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
60001         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
60002         (print_version): Use PKGVERSION.
60003         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
60004         (do_version): Use PKGVERSION.
60005         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
60006         REPORT_BUGS_TO.
60007         (common-ldd-rewrite): Likewise.
60008         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
60009         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
60010         (print_version): Use PKGVERSION.
60011         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
60012         * elf/pldd.c (argp_program_bug_address): Remove variable.
60013         (more_help): New function.
60014         (argp): Use more_help.
60015         (print_version): Use PKGVERSION.
60016         * elf/sln.c (main): Use PKGVERSION.
60017         (usage): Use REPORT_BUGS_TO.
60018         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
60019         (top level): Use PKGVERSION.
60020         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
60021         (print_version): Use PKGVERSION.
60022         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
60023         (print_version): Use PKGVERSION.
60024         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
60025         (print_version): Use PKGVERSION.
60026         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
60027         (print_version): Use PKGVERSION.
60028         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
60029         (print_version): Use PKGVERSION.
60030         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
60031         (print_version): Use PKGVERSION.
60032         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
60033         and BUGURL.
60034         ($(objpfx)memusage): Likewise.
60035         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
60036         (do_version): Use PKGVERSION.
60037         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
60038         (print_version): Use PKGVERSION.
60039         * malloc/mtrace.pl ($PACKAGE): Remove variable.
60040         ($PKGVERSION): New variable.
60041         ($REPORT_BUGS_TO): Likewise.
60042         (usage): Use $REPORT_BUGS_TO.
60043         (top level): Use $PKGVERSION.
60044         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
60045         ($(objpfx)pkgvers.texi): New rule.
60046         ($(objpfx)stamp-pkgvers): Likewise.
60047         * manual/install.texi: Include pkgvers.texi.
60048         (--with-pkgversion): Document new configure option.
60049         (--with-bugurl): Likewise.
60050         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
60051         than necessarily for this particular distribution.  Use
60052         REPORT_BUGS_TO for where to report bugs.
60053         * INSTALL: Regenerated.
60054         * manual/libc.texinfo: Include pkgvers.texi.
60055         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
60056         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
60057         (print_version): Use PKGVERSION.
60058         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
60059         (print_version): Use PKGVERSION.
60060         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
60061         (print_version): Use PKGVERSION.
60062         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
60063         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
60064         macro.
60065         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
60066         (print_version): Use PKGVERSION.
60067         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
60068         (print_version): Use PKGVERSION.
60069         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
60070         and PKGVERSION.
60072         * timezone/checktab.awk: Update from tzcode 2012i.
60073         * timezone/ialloc.c: Likewise.
60074         * timezone/private.h: Likewise.
60075         * timezone/scheck.c: Likewise.
60076         * timezone/tzfile.h: Likewise.
60077         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
60078         (TZVERSION): Hardcode tzcode version number.
60079         * timezone/zdump.c: Update from tzcode 2012i.
60080         * timezone/zic.c: Likewise.
60081         * timezone/version.h: New file.
60082         * timezone/README: Describe version.h.  Update upstream location.
60084         [BZ #14824]
60085         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
60086         (mktemp): Enable declaration.
60087         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
60088         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
60089         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
60090         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
60091         Likewise.
60092         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
60093         Likewise.
60094         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
60095         Likewise.
60096         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
60097         Likewise.
60098         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
60099         Likewise.
60100         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
60101         Likewise.
60103         [BZ #14821]
60104         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
60105         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
60106         for copies of such integer values.
60107         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60108         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60110 2012-11-09  Andreas Jaeger  <aj@suse.de>
60112         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
60113         definitions and declarations that are provided by
60114         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
60116 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60118         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
60119         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
60120         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
60121         definition.
60123 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60125         * elf/elf.h: Update comment before AArch64 relocations.
60127 2012-11-07  David S. Miller  <davem@davemloft.net>
60129         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
60130         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
60131         (__start_context): Declare.
60132         (__makecontext_ret): Delete.
60133         (__makecontext): Hook up __start_context instead of
60134         __makecontext_ret.
60135         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
60136         (sysdep_routines): Add __start_context when in stdlib.
60138 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60140         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
60141         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
60142         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
60143         hardcoded "nm".
60144         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
60145         (READELF): New variable.  Use it instead of hardcoded "readelf".
60147 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
60149         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
60150         * sysdeps/x86/Makefile: Here.
60151         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
60152         * sysdeps/x86/tst-xmmymm.sh: This.
60154 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60156         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
60157         expectations.
60158         [UNIX98] (pthread_barrier_t): Do not expect.
60159         [UNIX98] (pthread_barrierattr_t): Likewise.
60160         [UNIX98] (pthread_spinlock_t): Likewise.
60161         [UNIX98] (pthread_barrier_destroy): Likewise.
60162         [UNIX98] (pthread_barrier_init): Likewise.
60163         [UNIX98] (pthread_barrier_wait): Likewise.
60164         [UNIX98] (pthread_barrierattr_destroy): Likewise.
60165         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
60166         [UNIX98] (pthread_barrierattr_init): Likewise.
60167         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
60168         [UNIX98] (pthread_getcpuclockid): Likewise.
60169         [UNIX98] (pthread_mutex_timedlock): Likewise.
60170         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
60171         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
60172         [UNIX98] (pthread_sigmask): Likewise.
60173         [UNIX98] (pthread_spin_destroy): Likewise.
60174         [UNIX98] (pthread_spin_init): Likewise.
60175         [UNIX98] (pthread_spin_lock): Likewise.
60176         [UNIX98] (pthread_spin_trylock): Likewise.
60177         [UNIX98] (pthread_spin_unlock): Likewise.
60178         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
60179         Do not expect.
60180         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
60181         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
60182         [XPG3 || XPG4] (pthread_cond_t): Likewise.
60183         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
60184         [XPG3 || XPG4] (pthread_key_t): Likewise.
60185         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
60186         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
60187         [XPG3 || XPG4] (pthread_once_t): Likewise.
60188         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
60189         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
60190         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
60191         [XPG3 || XPG4] (pthread_t): Likewise.
60193         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
60194         not expect.
60195         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
60197         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
60198         Change function return type to int.
60200         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
60201         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
60202         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
60203         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
60204         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
60205         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
60206         [!POSIX] (posix_madvise): Likewise.
60207         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
60208         && !UNIX98].
60209         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
60210         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
60211         (mode_t): Likewise.
60212         (posix_mem_offset): Likewise.
60213         (posix_typed_mem_get_info): Likewise.
60214         (posix_typed_mem_open): Likewise.
60216         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
60217         Change condition to [XOPEN2K8].
60219         * conform/conformtest.pl: Preprocess allow-header data with -x c
60220         instead of from stdin.
60221         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
60222         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
60223         [C99-based standards] (cerfc): Likewise.
60224         [C99-based standards] (cexp2): Likewise.
60225         [C99-based standards] (cexpm1): Likewise.
60226         [C99-based standards] (clog10): Likewise.
60227         [C99-based standards] (clog1p): Likewise.
60228         [C99-based standards] (clog2): Likewise.
60229         [C99-based standards] (clgamma): Likewise.
60230         [C99-based standards] (ctgamma): Likewise.
60231         [C99-based standards] (cerff): Likewise.
60232         [C99-based standards] (cerfcf): Likewise.
60233         [C99-based standards] (cexp2f): Likewise.
60234         [C99-based standards] (cexpm1f): Likewise.
60235         [C99-based standards] (clog10f): Likewise.
60236         [C99-based standards] (clog1pf): Likewise.
60237         [C99-based standards] (clog2f): Likewise.
60238         [C99-based standards] (clgammaf): Likewise.
60239         [C99-based standards] (ctgammaf): Likewise.
60240         [C99-based standards] (cerfl): Likewise.
60241         [C99-based standards] (cerfcl): Likewise.
60242         [C99-based standards] (cexp2l): Likewise.
60243         [C99-based standards] (cexpm1l): Likewise.
60244         [C99-based standards] (clog10l): Likewise.
60245         [C99-based standards] (clog1pl): Likewise.
60246         [C99-based standards] (clog2l): Likewise.
60247         [C99-based standards] (clgammal): Likewise.
60248         [C99-based standards] (ctgammal): Likewise.
60249         * conform/data/inttypes.h-data [C99-based standards]: Include
60250         stdint.h-data.  Remove all expectations for stdint.h contents.
60251         [C99-based standards] (PRI*): Do not allow.
60252         [C99-based standards] (SCN*): Likewise.
60253         [C99-based standards] (*_t): Likewise.
60254         [C99-based-standards] (PRId8): Expect macro.
60255         [C99-based-standards] (PRIi8): Likewise.
60256         [C99-based-standards] (PRIo8): Likewise.
60257         [C99-based-standards] (PRIu8): Likewise.
60258         [C99-based-standards] (PRIx8): Likewise.
60259         [C99-based-standards] (PRIX8): Likewise.
60260         [C99-based-standards] (SCNd8): Likewise.
60261         [C99-based-standards] (SCNi8): Likewise.
60262         [C99-based-standards] (SCNo8): Likewise.
60263         [C99-based-standards] (SCNu8): Likewise.
60264         [C99-based-standards] (SCNx8): Likewise.
60265         [C99-based-standards] (PRIdLEAST8): Likewise.
60266         [C99-based-standards] (PRIiLEAST8): Likewise.
60267         [C99-based-standards] (PRIoLEAST8): Likewise.
60268         [C99-based-standards] (PRIuLEAST8): Likewise.
60269         [C99-based-standards] (PRIxLEAST8): Likewise.
60270         [C99-based-standards] (PRIXLEAST8): Likewise.
60271         [C99-based-standards] (SCNdLEAST8): Likewise.
60272         [C99-based-standards] (SCNiLEAST8): Likewise.
60273         [C99-based-standards] (SCNoLEAST8): Likewise.
60274         [C99-based-standards] (SCNuLEAST8): Likewise.
60275         [C99-based-standards] (SCNxLEAST8): Likewise.
60276         [C99-based-standards] (PRIdFAST8): Likewise.
60277         [C99-based-standards] (PRIiFAST8): Likewise.
60278         [C99-based-standards] (PRIoFAST8): Likewise.
60279         [C99-based-standards] (PRIuFAST8): Likewise.
60280         [C99-based-standards] (PRIxFAST8): Likewise.
60281         [C99-based-standards] (PRIXFAST8): Likewise.
60282         [C99-based-standards] (SCNdFAST8): Likewise.
60283         [C99-based-standards] (SCNiFAST8): Likewise.
60284         [C99-based-standards] (SCNoFAST8): Likewise.
60285         [C99-based-standards] (SCNuFAST8): Likewise.
60286         [C99-based-standards] (SCNxFAST8): Likewise.
60287         [C99-based-standards] (PRId16): Likewise.
60288         [C99-based-standards] (PRIi16): Likewise.
60289         [C99-based-standards] (PRIo16): Likewise.
60290         [C99-based-standards] (PRIu16): Likewise.
60291         [C99-based-standards] (PRIx16): Likewise.
60292         [C99-based-standards] (PRIX16): Likewise.
60293         [C99-based-standards] (SCNd16): Likewise.
60294         [C99-based-standards] (SCNi16): Likewise.
60295         [C99-based-standards] (SCNo16): Likewise.
60296         [C99-based-standards] (SCNu16): Likewise.
60297         [C99-based-standards] (SCNx16): Likewise.
60298         [C99-based-standards] (PRIdLEAST16): Likewise.
60299         [C99-based-standards] (PRIiLEAST16): Likewise.
60300         [C99-based-standards] (PRIoLEAST16): Likewise.
60301         [C99-based-standards] (PRIuLEAST16): Likewise.
60302         [C99-based-standards] (PRIxLEAST16): Likewise.
60303         [C99-based-standards] (PRIXLEAST16): Likewise.
60304         [C99-based-standards] (SCNdLEAST16): Likewise.
60305         [C99-based-standards] (SCNiLEAST16): Likewise.
60306         [C99-based-standards] (SCNoLEAST16): Likewise.
60307         [C99-based-standards] (SCNuLEAST16): Likewise.
60308         [C99-based-standards] (SCNxLEAST16): Likewise.
60309         [C99-based-standards] (PRIdFAST16): Likewise.
60310         [C99-based-standards] (PRIiFAST16): Likewise.
60311         [C99-based-standards] (PRIoFAST16): Likewise.
60312         [C99-based-standards] (PRIuFAST16): Likewise.
60313         [C99-based-standards] (PRIxFAST16): Likewise.
60314         [C99-based-standards] (PRIXFAST16): Likewise.
60315         [C99-based-standards] (SCNdFAST16): Likewise.
60316         [C99-based-standards] (SCNiFAST16): Likewise.
60317         [C99-based-standards] (SCNoFAST16): Likewise.
60318         [C99-based-standards] (SCNuFAST16): Likewise.
60319         [C99-based-standards] (SCNxFAST16): Likewise.
60320         [C99-based-standards] (PRId32): Likewise.
60321         [C99-based-standards] (PRIi32): Likewise.
60322         [C99-based-standards] (PRIo32): Likewise.
60323         [C99-based-standards] (PRIu32): Likewise.
60324         [C99-based-standards] (PRIx32): Likewise.
60325         [C99-based-standards] (PRIX32): Likewise.
60326         [C99-based-standards] (SCNd32): Likewise.
60327         [C99-based-standards] (SCNi32): Likewise.
60328         [C99-based-standards] (SCNo32): Likewise.
60329         [C99-based-standards] (SCNu32): Likewise.
60330         [C99-based-standards] (SCNx32): Likewise.
60331         [C99-based-standards] (PRIdLEAST32): Likewise.
60332         [C99-based-standards] (PRIiLEAST32): Likewise.
60333         [C99-based-standards] (PRIoLEAST32): Likewise.
60334         [C99-based-standards] (PRIuLEAST32): Likewise.
60335         [C99-based-standards] (PRIxLEAST32): Likewise.
60336         [C99-based-standards] (PRIXLEAST32): Likewise.
60337         [C99-based-standards] (SCNdLEAST32): Likewise.
60338         [C99-based-standards] (SCNiLEAST32): Likewise.
60339         [C99-based-standards] (SCNoLEAST32): Likewise.
60340         [C99-based-standards] (SCNuLEAST32): Likewise.
60341         [C99-based-standards] (SCNxLEAST32): Likewise.
60342         [C99-based-standards] (PRIdFAST32): Likewise.
60343         [C99-based-standards] (PRIiFAST32): Likewise.
60344         [C99-based-standards] (PRIoFAST32): Likewise.
60345         [C99-based-standards] (PRIuFAST32): Likewise.
60346         [C99-based-standards] (PRIxFAST32): Likewise.
60347         [C99-based-standards] (PRIXFAST32): Likewise.
60348         [C99-based-standards] (SCNdFAST32): Likewise.
60349         [C99-based-standards] (SCNiFAST32): Likewise.
60350         [C99-based-standards] (SCNoFAST32): Likewise.
60351         [C99-based-standards] (SCNuFAST32): Likewise.
60352         [C99-based-standards] (SCNxFAST32): Likewise.
60353         [C99-based-standards] (PRId64): Likewise.
60354         [C99-based-standards] (PRIi64): Likewise.
60355         [C99-based-standards] (PRIo64): Likewise.
60356         [C99-based-standards] (PRIu64): Likewise.
60357         [C99-based-standards] (PRIx64): Likewise.
60358         [C99-based-standards] (PRIX64): Likewise.
60359         [C99-based-standards] (SCNd64): Likewise.
60360         [C99-based-standards] (SCNi64): Likewise.
60361         [C99-based-standards] (SCNo64): Likewise.
60362         [C99-based-standards] (SCNu64): Likewise.
60363         [C99-based-standards] (SCNx64): Likewise.
60364         [C99-based-standards] (PRIdLEAST64): Likewise.
60365         [C99-based-standards] (PRIiLEAST64): Likewise.
60366         [C99-based-standards] (PRIoLEAST64): Likewise.
60367         [C99-based-standards] (PRIuLEAST64): Likewise.
60368         [C99-based-standards] (PRIxLEAST64): Likewise.
60369         [C99-based-standards] (PRIXLEAST64): Likewise.
60370         [C99-based-standards] (SCNdLEAST64): Likewise.
60371         [C99-based-standards] (SCNiLEAST64): Likewise.
60372         [C99-based-standards] (SCNoLEAST64): Likewise.
60373         [C99-based-standards] (SCNuLEAST64): Likewise.
60374         [C99-based-standards] (SCNxLEAST64): Likewise.
60375         [C99-based-standards] (PRIdFAST64): Likewise.
60376         [C99-based-standards] (PRIiFAST64): Likewise.
60377         [C99-based-standards] (PRIoFAST64): Likewise.
60378         [C99-based-standards] (PRIuFAST64): Likewise.
60379         [C99-based-standards] (PRIxFAST64): Likewise.
60380         [C99-based-standards] (PRIXFAST64): Likewise.
60381         [C99-based-standards] (SCNdFAST64): Likewise.
60382         [C99-based-standards] (SCNiFAST64): Likewise.
60383         [C99-based-standards] (SCNoFAST64): Likewise.
60384         [C99-based-standards] (SCNuFAST64): Likewise.
60385         [C99-based-standards] (SCNxFAST64): Likewise.
60386         [C99-based-standards] (PRIdMAX): Likewise.
60387         [C99-based-standards] (PRIiMAX): Likewise.
60388         [C99-based-standards] (PRIoMAX): Likewise.
60389         [C99-based-standards] (PRIuMAX): Likewise.
60390         [C99-based-standards] (PRIxMAX): Likewise.
60391         [C99-based-standards] (PRIXMAX): Likewise.
60392         [C99-based-standards] (SCNdMAX): Likewise.
60393         [C99-based-standards] (SCNiMAX): Likewise.
60394         [C99-based-standards] (SCNoMAX): Likewise.
60395         [C99-based-standards] (SCNuMAX): Likewise.
60396         [C99-based-standards] (SCNxMAX): Likewise.
60397         [C99-based-standards] (PRIdPTR): Likewise.
60398         [C99-based-standards] (PRIiPTR): Likewise.
60399         [C99-based-standards] (PRIoPTR): Likewise.
60400         [C99-based-standards] (PRIuPTR): Likewise.
60401         [C99-based-standards] (PRIxPTR): Likewise.
60402         [C99-based-standards] (PRIXPTR): Likewise.
60403         [C99-based-standards] (SCNdPTR): Likewise.
60404         [C99-based-standards] (SCNiPTR): Likewise.
60405         [C99-based-standards] (SCNoPTR): Likewise.
60406         [C99-based-standards] (SCNuPTR): Likewise.
60407         [C99-based-standards] (SCNxPTR): Likewise.
60408         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
60409         allow.
60410         * conform/data/stdint.h-data: Update comments to clarify
60411         requirements.
60412         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
60413         type.
60414         [C99-based standards] (INT8_MAX): Likewise.
60415         [C99-based standards] (INT16_MIN): Likewise.
60416         [C99-based standards] (INT16_MAX): Likewise.
60417         [C99-based standards] (INT32_MIN): Likewise.
60418         [C99-based standards] (INT32_MAX): Likewise.
60419         [C99-based standards] (INT64_MIN): Likewise.
60420         [C99-based standards] (INT64_MAX): Likewise.
60421         [C99-based standards] (UINT8_MAX): Likewise.
60422         [C99-based standards] (UINT16_MAX): Likewise.
60423         [C99-based standards] (UINT32_MAX): Likewise.
60424         [C99-based standards] (UINT64_MAX): Likewise.
60425         [C99-based standards] (INT_LEAST8_MIN): Likewise.
60426         [C99-based standards] (INT_LEAST8_MAX): Likewise.
60427         [C99-based standards] (INT_LEAST16_MIN): Likewise.
60428         [C99-based standards] (INT_LEAST16_MAX): Likewise.
60429         [C99-based standards] (INT_LEAST32_MIN): Likewise.
60430         [C99-based standards] (INT_LEAST32_MAX): Likewise.
60431         [C99-based standards] (INT_LEAST64_MIN): Likewise.
60432         [C99-based standards] (INT_LEAST64_MAX): Likewise.
60433         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
60434         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
60435         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
60436         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
60437         [C99-based standards] (INT_FAST8_MIN): Likewise.
60438         [C99-based standards] (INT_FAST8_MAX): Likewise.
60439         [C99-based standards] (INT_FAST16_MIN): Likewise.
60440         [C99-based standards] (INT_FAST16_MAX): Likewise.
60441         [C99-based standards] (INT_FAST32_MIN): Likewise.
60442         [C99-based standards] (INT_FAST32_MAX): Likewise.
60443         [C99-based standards] (INT_FAST64_MIN): Likewise.
60444         [C99-based standards] (INT_FAST64_MAX): Likewise.
60445         [C99-based standards] (UINT_FAST8_MAX): Likewise.
60446         [C99-based standards] (UINT_FAST16_MAX): Likewise.
60447         [C99-based standards] (UINT_FAST32_MAX): Likewise.
60448         [C99-based standards] (UINT_FAST64_MAX): Likewise.
60449         [C99-based standards] (INTPTR_MIN): Likewise.
60450         [C99-based standards] (INTPTR_MAX): Likewise.
60451         [C99-based standards] (UINTPTR_MAX): Likewise.
60452         [C99-based standards] (INTMAX_MIN): Likewise.
60453         [C99-based standards] (INTMAX_MAX): Likewise.
60454         [C99-based standards] (UINTMAX_MAX): Likewise.
60455         [C99-based standards] (PTRDIFF_MIN): Likewise.
60456         [C99-based standards] (PTRDIFF_MAX): Likewise.
60457         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
60458         [C99-based standards] (SIZE_MAX): Likewise.
60459         [C99-based standards] (WCHAR_MAX): Likewise.
60460         [C99-based standards] (WINT_MAX): Likewise.
60461         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
60462         constraint on value.
60463         [C99-based standards] (WCHAR_MIN): Likewise.
60464         [C99-based standards] (WINT_MIN): Likewise.
60465         [C99-based standards] (*_t): Allow.
60466         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
60467         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
60468         Include math.h-data and complex.h-data.  Remove all expectations
60469         of math.h and complex.h contents.
60470         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
60471         at end of line.
60472         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
60473         (struct tm): Expect tag.
60474         [C99-based-standards] (wcstof): Expect function.
60475         [C99-based-standards] (wcstold): Likewise.
60476         [C99-based-standards] (wcstoll): Likewise.
60477         [C99-based-standards] (wcstoull): Likewise.
60478         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
60479         macro-int-constant.  Specify type.
60480         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
60481         constraint on value.
60482         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
60483         Specify type.
60484         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
60485         Specify value.
60486         [ISO C standards]: Do not allow headers.
60487         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
60488         wcs[abcdefghijklmnopqrstuvwxyz]*.
60489         [ISO C standards] (*_t): Do not allow.
60490         * conform/data/wctype.h-data [C99-based standards] (iswblank):
60491         Expect function.
60492         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
60493         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
60494         Specify type.
60495         [ISO C standards]: Do not allow headers.
60496         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
60497         is[abcdefghijklmnopqrstuvwxyz]*.
60498         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
60499         to[abcdefghijklmnopqrstuvwxyz]*.
60500         [ISO C standards] (*_t): Do not allow.
60501         * conform/data/stdalign.h-data: New file.
60502         * conform/data/stdbool.h-data: Likewise.
60503         * conform/data/stdnoreturn.h-data: Likewise.
60505 2012-11-07  Roland McGrath  <roland@hack.frob.com>
60507         [BZ #14815]
60508         * manual/filesys.texi (Directory Entries): Typo fix.
60509         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
60511 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60513         * elf/elf.h (EM_AARCH64): New macro.
60514         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
60515         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
60516         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
60517         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
60518         (R_AARCH64_TLSDESC): Likewise.
60519         (NT_ARM_TLS): Likewise.
60520         (NT_ARM_HW_BREAK): Likewise.
60521         (NT_ARM_HW_WATCH): Likewise.
60523 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60525         [BZ #14811]
60526         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
60527         (__ieee754_powl): Saturate nonzero exponents with absolute value
60528         below 0x1p-79 to +/- 0x1p-79.
60529         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
60530         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
60531         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
60532         nonzero exponents with absolute value below 0x1p-32 to +/-
60533         0x1p-32.
60534         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
60535         (__ieee754_powl): Saturate nonzero exponents with absolute value
60536         below 0x1p-79 to +/- 0x1p-79.
60537         * math/libm-test.inc (pow_test): Add more tests.
60539 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60541         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
60542         _dl_s390_cap_flags with kernel. Increase string length.
60543         (_dl_s390_platforms): Add z196 and zEC12.
60545 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60547         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
60548         Change XOPEN21K to XOPEN2K.
60550 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
60552         * string/memmove.c: Use memcpy when possible.
60554 2012-11-06  Andreas Jaeger  <aj@suse.de>
60556         * po/eo.po: Update from translation team.
60558 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
60560         [BZ #14793]
60561         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
60562         exponent and small x and y exponents, scale x or y up.  Increase
60563         by 2 the exponent used in scaling up.
60564         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60565         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60566         * math/libm-test.inc (fma_test): Add more tests.
60567         (fma_test_towardzero): Likewise.
60568         (fma_test_downward): Likewise.
60569         (fma_test_upward): Likewise.
60571 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
60573         [BZ #14805]
60574         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
60575         fenv_t *.
60577         [BZ #14801]
60578         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
60579         namespace for names of struct fields.
60580         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
60581         fenv_t fields.
60582         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
60583         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
60585 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60587         [BZ #3665]
60588         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
60590 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
60592         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
60593         PTR_DEMANGLE.
60595         [BZ #5246]
60596         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
60597         PTR_DEMANGLE.
60599 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
60601         [BZ #14797]
60602         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
60603         definitely overflow as x * y not x * y + z.
60604         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60605         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60606         * math/libm-test.inc (fma_test): Add more tests.
60607         (fma_test_towardzero): Likewise.
60608         (fma_test_downward): Likewise.
60609         (fma_test_upward): Likewise.
60611 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
60613         [BZ #157]
60615         * include/stub-tag.h: Remove file.
60616         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
60617         '#include' of it.
60618         * manual/maint.texi (Porting): Don't reference it.
60619         * Makerules ($(objpfx)stubs): Likewise.
60620         * dirent/closedir.c: Don't include <stub-tag.h>.
60621         * dirent/dirfd.c: Likewise.
60622         * dirent/fdopendir.c: Likewise.
60623         * dirent/getdents.c: Likewise.
60624         * dirent/getdents64.c: Likewise.
60625         * dirent/opendir.c: Likewise.
60626         * dirent/readdir.c: Likewise.
60627         * dirent/readdir64.c: Likewise.
60628         * dirent/readdir64_r.c: Likewise.
60629         * dirent/readdir_r.c: Likewise.
60630         * dirent/rewinddir.c: Likewise.
60631         * dirent/seekdir.c: Likewise.
60632         * dirent/telldir.c: Likewise.
60633         * gmon/profil.c: Likewise.
60634         * grp/setgroups.c: Likewise.
60635         * inet/if_index.c: Likewise.
60636         * io/access.c: Likewise.
60637         * io/chdir.c: Likewise.
60638         * io/chmod.c: Likewise.
60639         * io/chown.c: Likewise.
60640         * io/close.c: Likewise.
60641         * io/dup.c: Likewise.
60642         * io/dup2.c: Likewise.
60643         * io/dup3.c: Likewise.
60644         * io/euidaccess.c: Likewise.
60645         * io/faccessat.c: Likewise.
60646         * io/fchdir.c: Likewise.
60647         * io/fchmod.c: Likewise.
60648         * io/fchmodat.c: Likewise.
60649         * io/fchown.c: Likewise.
60650         * io/fchownat.c: Likewise.
60651         * io/fcntl.c: Likewise.
60652         * io/flock.c: Likewise.
60653         * io/fstatfs.c: Likewise.
60654         * io/fstatfs64.c: Likewise.
60655         * io/fstatvfs.c: Likewise.
60656         * io/fstatvfs64.c: Likewise.
60657         * io/futimens.c: Likewise.
60658         * io/fxstat.c: Likewise.
60659         * io/fxstat64.c: Likewise.
60660         * io/fxstatat.c: Likewise.
60661         * io/fxstatat64.c: Likewise.
60662         * io/getcwd.c: Likewise.
60663         * io/isatty.c: Likewise.
60664         * io/lchmod.c: Likewise.
60665         * io/lchown.c: Likewise.
60666         * io/link.c: Likewise.
60667         * io/linkat.c: Likewise.
60668         * io/lseek.c: Likewise.
60669         * io/lseek64.c: Likewise.
60670         * io/lxstat64.c: Likewise.
60671         * io/mkdir.c: Likewise.
60672         * io/mkdirat.c: Likewise.
60673         * io/mkfifo.c: Likewise.
60674         * io/mkfifoat.c: Likewise.
60675         * io/open.c: Likewise.
60676         * io/open64.c: Likewise.
60677         * io/openat.c: Likewise.
60678         * io/openat64.c: Likewise.
60679         * io/pipe.c: Likewise.
60680         * io/pipe2.c: Likewise.
60681         * io/poll.c: Likewise.
60682         * io/posix_fadvise.c: Likewise.
60683         * io/posix_fadvise64.c: Likewise.
60684         * io/posix_fallocate.c: Likewise.
60685         * io/posix_fallocate64.c: Likewise.
60686         * io/read.c: Likewise.
60687         * io/readlink.c: Likewise.
60688         * io/readlinkat.c: Likewise.
60689         * io/rmdir.c: Likewise.
60690         * io/sendfile.c: Likewise.
60691         * io/sendfile64.c: Likewise.
60692         * io/statfs.c: Likewise.
60693         * io/statfs64.c: Likewise.
60694         * io/statvfs.c: Likewise.
60695         * io/statvfs64.c: Likewise.
60696         * io/symlink.c: Likewise.
60697         * io/symlinkat.c: Likewise.
60698         * io/ttyname.c: Likewise.
60699         * io/ttyname_r.c: Likewise.
60700         * io/umask.c: Likewise.
60701         * io/unlink.c: Likewise.
60702         * io/unlinkat.c: Likewise.
60703         * io/utime.c: Likewise.
60704         * io/utimensat.c: Likewise.
60705         * io/write.c: Likewise.
60706         * io/xmknod.c: Likewise.
60707         * io/xmknodat.c: Likewise.
60708         * io/xstat.c: Likewise.
60709         * io/xstat64.c: Likewise.
60710         * login/getpt.c: Likewise.
60711         * login/grantpt.c: Likewise.
60712         * login/unlockpt.c: Likewise.
60713         * math/e_acoshl.c: Likewise.
60714         * math/e_acosl.c: Likewise.
60715         * math/e_asinl.c: Likewise.
60716         * math/e_atan2l.c: Likewise.
60717         * math/e_atanhl.c: Likewise.
60718         * math/e_coshl.c: Likewise.
60719         * math/e_expl.c: Likewise.
60720         * math/e_fmodl.c: Likewise.
60721         * math/e_gammal_r.c: Likewise.
60722         * math/e_hypotl.c: Likewise.
60723         * math/e_j0l.c: Likewise.
60724         * math/e_j1l.c: Likewise.
60725         * math/e_jnl.c: Likewise.
60726         * math/e_lgammal_r.c: Likewise.
60727         * math/e_log10l.c: Likewise.
60728         * math/e_log2l.c: Likewise.
60729         * math/e_logl.c: Likewise.
60730         * math/e_powl.c: Likewise.
60731         * math/e_rem_pio2l.c: Likewise.
60732         * math/e_sinhl.c: Likewise.
60733         * math/e_sqrtl.c: Likewise.
60734         * math/fclrexcpt.c: Likewise.
60735         * math/fedisblxcpt.c: Likewise.
60736         * math/feenablxcpt.c: Likewise.
60737         * math/fegetenv.c: Likewise.
60738         * math/fegetexcept.c: Likewise.
60739         * math/fegetround.c: Likewise.
60740         * math/feholdexcpt.c: Likewise.
60741         * math/fesetenv.c: Likewise.
60742         * math/fesetround.c: Likewise.
60743         * math/feupdateenv.c: Likewise.
60744         * math/fgetexcptflg.c: Likewise.
60745         * math/fraiseexcpt.c: Likewise.
60746         * math/fsetexcptflg.c: Likewise.
60747         * math/ftestexcept.c: Likewise.
60748         * math/k_cosl.c: Likewise.
60749         * math/k_rem_pio2l.c: Likewise.
60750         * math/k_sinl.c: Likewise.
60751         * math/k_tanl.c: Likewise.
60752         * math/s_asinhl.c: Likewise.
60753         * math/s_atanl.c: Likewise.
60754         * math/s_cbrtl.c: Likewise.
60755         * math/s_erfl.c: Likewise.
60756         * math/s_expm1l.c: Likewise.
60757         * math/s_log1pl.c: Likewise.
60758         * math/s_tanhl.c: Likewise.
60759         * misc/acct.c: Likewise.
60760         * misc/brk.c: Likewise.
60761         * misc/chflags.c: Likewise.
60762         * misc/chroot.c: Likewise.
60763         * misc/fchflags.c: Likewise.
60764         * misc/fgetxattr.c: Likewise.
60765         * misc/flistxattr.c: Likewise.
60766         * misc/fremovexattr.c: Likewise.
60767         * misc/fsetxattr.c: Likewise.
60768         * misc/fsync.c: Likewise.
60769         * misc/ftruncate.c: Likewise.
60770         * misc/futimes.c: Likewise.
60771         * misc/futimesat.c: Likewise.
60772         * misc/getdomain.c: Likewise.
60773         * misc/getdtsz.c: Likewise.
60774         * misc/gethostid.c: Likewise.
60775         * misc/gethostname.c: Likewise.
60776         * misc/getloadavg.c: Likewise.
60777         * misc/getpagesize.c: Likewise.
60778         * misc/getsysstats.c: Likewise.
60779         * misc/getxattr.c: Likewise.
60780         * misc/gtty.c: Likewise.
60781         * misc/ioctl.c: Likewise.
60782         * misc/lgetxattr.c: Likewise.
60783         * misc/listxattr.c: Likewise.
60784         * misc/llistxattr.c: Likewise.
60785         * misc/lremovexattr.c: Likewise.
60786         * misc/lsetxattr.c: Likewise.
60787         * misc/lutimes.c: Likewise.
60788         * misc/madvise.c: Likewise.
60789         * misc/mincore.c: Likewise.
60790         * misc/mlock.c: Likewise.
60791         * misc/mlockall.c: Likewise.
60792         * misc/mmap.c: Likewise.
60793         * misc/mprotect.c: Likewise.
60794         * misc/msync.c: Likewise.
60795         * misc/munlock.c: Likewise.
60796         * misc/munlockall.c: Likewise.
60797         * misc/munmap.c: Likewise.
60798         * misc/preadv.c: Likewise.
60799         * misc/preadv64.c: Likewise.
60800         * misc/ptrace.c: Likewise.
60801         * misc/pwritev.c: Likewise.
60802         * misc/pwritev64.c: Likewise.
60803         * misc/readv.c: Likewise.
60804         * misc/reboot.c: Likewise.
60805         * misc/remap_file_pages.c: Likewise.
60806         * misc/removexattr.c: Likewise.
60807         * misc/revoke.c: Likewise.
60808         * misc/select.c: Likewise.
60809         * misc/setdomain.c: Likewise.
60810         * misc/setegid.c: Likewise.
60811         * misc/seteuid.c: Likewise.
60812         * misc/sethostid.c: Likewise.
60813         * misc/sethostname.c: Likewise.
60814         * misc/setregid.c: Likewise.
60815         * misc/setreuid.c: Likewise.
60816         * misc/setxattr.c: Likewise.
60817         * misc/sstk.c: Likewise.
60818         * misc/stty.c: Likewise.
60819         * misc/swapoff.c: Likewise.
60820         * misc/swapon.c: Likewise.
60821         * misc/sync.c: Likewise.
60822         * misc/syncfs.c: Likewise.
60823         * misc/syscall.c: Likewise.
60824         * misc/truncate.c: Likewise.
60825         * misc/ualarm.c: Likewise.
60826         * misc/usleep.c: Likewise.
60827         * misc/ustat.c: Likewise.
60828         * misc/utimes.c: Likewise.
60829         * misc/vhangup.c: Likewise.
60830         * misc/writev.c: Likewise.
60831         * posix/_exit.c: Likewise.
60832         * posix/alarm.c: Likewise.
60833         * posix/execve.c: Likewise.
60834         * posix/fexecve.c: Likewise.
60835         * posix/fork.c: Likewise.
60836         * posix/fpathconf.c: Likewise.
60837         * posix/getaddrinfo.c: Likewise.
60838         * posix/getegid.c: Likewise.
60839         * posix/geteuid.c: Likewise.
60840         * posix/getgid.c: Likewise.
60841         * posix/getgroups.c: Likewise.
60842         * posix/getlogin.c: Likewise.
60843         * posix/getlogin_r.c: Likewise.
60844         * posix/getpgid.c: Likewise.
60845         * posix/getpid.c: Likewise.
60846         * posix/getppid.c: Likewise.
60847         * posix/getresgid.c: Likewise.
60848         * posix/getresuid.c: Likewise.
60849         * posix/getsid.c: Likewise.
60850         * posix/getuid.c: Likewise.
60851         * posix/glob64.c: Likewise.
60852         * posix/nanosleep.c: Likewise.
60853         * posix/pathconf.c: Likewise.
60854         * posix/pause.c: Likewise.
60855         * posix/posix_madvise.c: Likewise.
60856         * posix/pread.c: Likewise.
60857         * posix/pread64.c: Likewise.
60858         * posix/pwrite.c: Likewise.
60859         * posix/pwrite64.c: Likewise.
60860         * posix/sched_getaffinity.c: Likewise.
60861         * posix/sched_getp.c: Likewise.
60862         * posix/sched_gets.c: Likewise.
60863         * posix/sched_primax.c: Likewise.
60864         * posix/sched_primin.c: Likewise.
60865         * posix/sched_rr_gi.c: Likewise.
60866         * posix/sched_setaffinity.c: Likewise.
60867         * posix/sched_setp.c: Likewise.
60868         * posix/sched_sets.c: Likewise.
60869         * posix/sched_yield.c: Likewise.
60870         * posix/setgid.c: Likewise.
60871         * posix/setlogin.c: Likewise.
60872         * posix/setpgid.c: Likewise.
60873         * posix/setresgid.c: Likewise.
60874         * posix/setresuid.c: Likewise.
60875         * posix/setsid.c: Likewise.
60876         * posix/setuid.c: Likewise.
60877         * posix/sleep.c: Likewise.
60878         * posix/spawni.c: Likewise.
60879         * posix/sysconf.c: Likewise.
60880         * posix/times.c: Likewise.
60881         * posix/wait.c: Likewise.
60882         * posix/wait3.c: Likewise.
60883         * posix/wait4.c: Likewise.
60884         * posix/waitpid.c: Likewise.
60885         * resolv/gai_sigqueue.c: Likewise.
60886         * resource/getpriority.c: Likewise.
60887         * resource/getrlimit.c: Likewise.
60888         * resource/getrusage.c: Likewise.
60889         * resource/nice.c: Likewise.
60890         * resource/setpriority.c: Likewise.
60891         * resource/setrlimit.c: Likewise.
60892         * resource/ulimit.c: Likewise.
60893         * rt/aio_cancel.c: Likewise.
60894         * rt/aio_fsync.c: Likewise.
60895         * rt/aio_read.c: Likewise.
60896         * rt/aio_sigqueue.c: Likewise.
60897         * rt/aio_suspend.c: Likewise.
60898         * rt/aio_write.c: Likewise.
60899         * rt/clock_getres.c: Likewise.
60900         * rt/clock_gettime.c: Likewise.
60901         * rt/clock_nanosleep.c: Likewise.
60902         * rt/clock_settime.c: Likewise.
60903         * rt/lio_listio.c: Likewise.
60904         * rt/mq_close.c: Likewise.
60905         * rt/mq_getattr.c: Likewise.
60906         * rt/mq_notify.c: Likewise.
60907         * rt/mq_open.c: Likewise.
60908         * rt/mq_receive.c: Likewise.
60909         * rt/mq_send.c: Likewise.
60910         * rt/mq_setattr.c: Likewise.
60911         * rt/mq_timedreceive.c: Likewise.
60912         * rt/mq_timedsend.c: Likewise.
60913         * rt/mq_unlink.c: Likewise.
60914         * rt/shm_open.c: Likewise.
60915         * rt/shm_unlink.c: Likewise.
60916         * rt/timer_create.c: Likewise.
60917         * rt/timer_delete.c: Likewise.
60918         * rt/timer_getoverr.c: Likewise.
60919         * rt/timer_gettime.c: Likewise.
60920         * rt/timer_settime.c: Likewise.
60921         * setjmp/__longjmp.c: Likewise.
60922         * setjmp/setjmp.c: Likewise.
60923         * signal/kill.c: Likewise.
60924         * signal/killpg.c: Likewise.
60925         * signal/raise.c: Likewise.
60926         * signal/sigaction.c: Likewise.
60927         * signal/sigaltstack.c: Likewise.
60928         * signal/sigblock.c: Likewise.
60929         * signal/sigignore.c: Likewise.
60930         * signal/sigintr.c: Likewise.
60931         * signal/signal.c: Likewise.
60932         * signal/sigpause.c: Likewise.
60933         * signal/sigpending.c: Likewise.
60934         * signal/sigqueue.c: Likewise.
60935         * signal/sigreturn.c: Likewise.
60936         * signal/sigset.c: Likewise.
60937         * signal/sigsetmask.c: Likewise.
60938         * signal/sigstack.c: Likewise.
60939         * signal/sigsuspend.c: Likewise.
60940         * signal/sigtimedwait.c: Likewise.
60941         * signal/sigvec.c: Likewise.
60942         * signal/sigwait.c: Likewise.
60943         * signal/sigwaitinfo.c: Likewise.
60944         * signal/sysv_signal.c: Likewise.
60945         * socket/accept.c: Likewise.
60946         * socket/accept4.c: Likewise.
60947         * socket/bind.c: Likewise.
60948         * socket/connect.c: Likewise.
60949         * socket/getpeername.c: Likewise.
60950         * socket/getsockname.c: Likewise.
60951         * socket/getsockopt.c: Likewise.
60952         * socket/isfdtype.c: Likewise.
60953         * socket/listen.c: Likewise.
60954         * socket/recv.c: Likewise.
60955         * socket/recvfrom.c: Likewise.
60956         * socket/recvmsg.c: Likewise.
60957         * socket/send.c: Likewise.
60958         * socket/sendmsg.c: Likewise.
60959         * socket/sendto.c: Likewise.
60960         * socket/setsockopt.c: Likewise.
60961         * socket/shutdown.c: Likewise.
60962         * socket/sockatmark.c: Likewise.
60963         * socket/socket.c: Likewise.
60964         * socket/socketpair.c: Likewise.
60965         * stdio-common/ctermid.c: Likewise.
60966         * stdio-common/cuserid.c: Likewise.
60967         * stdio-common/remove.c: Likewise.
60968         * stdio-common/rename.c: Likewise.
60969         * stdio-common/renameat.c: Likewise.
60970         * stdio-common/tempname.c: Likewise.
60971         * stdlib/getcontext.c: Likewise.
60972         * stdlib/makecontext.c: Likewise.
60973         * stdlib/setcontext.c: Likewise.
60974         * stdlib/swapcontext.c: Likewise.
60975         * stdlib/system.c: Likewise.
60976         * streams/fattach.c: Likewise.
60977         * streams/fdetach.c: Likewise.
60978         * streams/getmsg.c: Likewise.
60979         * streams/getpmsg.c: Likewise.
60980         * streams/putmsg.c: Likewise.
60981         * streams/putpmsg.c: Likewise.
60982         * sysdeps/unix/bsd/getpt.c: Likewise.
60983         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
60984         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
60985         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
60986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60987         Likewise.
60988         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
60989         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60990         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
60991         * sysvipc/msgctl.c: Likewise.
60992         * sysvipc/msgget.c: Likewise.
60993         * sysvipc/msgrcv.c: Likewise.
60994         * sysvipc/msgsnd.c: Likewise.
60995         * sysvipc/semctl.c: Likewise.
60996         * sysvipc/semget.c: Likewise.
60997         * sysvipc/semop.c: Likewise.
60998         * sysvipc/semtimedop.c: Likewise.
60999         * sysvipc/shmat.c: Likewise.
61000         * sysvipc/shmctl.c: Likewise.
61001         * sysvipc/shmdt.c: Likewise.
61002         * sysvipc/shmget.c: Likewise.
61003         * termios/tcdrain.c: Likewise.
61004         * termios/tcflow.c: Likewise.
61005         * termios/tcflush.c: Likewise.
61006         * termios/tcgetattr.c: Likewise.
61007         * termios/tcgetpgrp.c: Likewise.
61008         * termios/tcsendbrk.c: Likewise.
61009         * termios/tcsetattr.c: Likewise.
61010         * termios/tcsetpgrp.c: Likewise.
61011         * time/adjtime.c: Likewise.
61012         * time/clock.c: Likewise.
61013         * time/getitimer.c: Likewise.
61014         * time/gettimeofday.c: Likewise.
61015         * time/setitimer.c: Likewise.
61016         * time/settimeofday.c: Likewise.
61017         * time/stime.c: Likewise.
61018         * time/time.c: Likewise.
61020 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
61022         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
61023         /usr/old/bin.
61025         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
61026         instead of spaces.
61027         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
61029 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
61031         [BZ #14796]
61032         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
61033         FE_TONEAREST before applying Dekker multiplication and Knuth
61034         addition.  Clear inexact exceptions and check for exact zero
61035         results afterwards.
61036         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61037         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
61038         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61039         * math/libm-test.inc (fma_test): Add more tests.
61040         (fma_test_towardzero): Likewise.
61041         (fma_test_downward): Likewise.
61042         (fma_test_upward): Likewise.
61043         * sysdeps/generic/math_private.h (default_libc_fesetround): New
61044         function.
61045         (libc_fesetround): New macro.
61046         (libc_fesetroundf): Likewise.
61047         (libc_fesetroundl): Likewise.
61048         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
61049         function.
61050         (libc_fesetround_387): Likewise.
61051         (libc_fesetroundf): New macro.
61052         (libc_fesetround): Likewise.
61053         (libc_fesetroundl): Likewise.
61054         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
61055         function.
61056         (libc_fesetroundf): New macro.
61057         (libc_fesetround): Likewise.
61058         (libc_fesetroundl): Likewise.
61059         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
61060         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
61061         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
61062         libm_hidden_ver.
61063         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
61064         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
61065         libm_hidden_def.
61066         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
61067         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
61068         libm_hidden_ver.
61069         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
61070         libm_hidden_def.
61072         [BZ #3439]
61073         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
61074         integer constant usable in #if and use that to give value to enum
61075         constant.
61076         (FE_DIVBYZERO): Likewise.
61077         (FE_UNDERFLOW): Likewise.
61078         (FE_OVERFLOW): Likewise.
61079         (FE_INVALID): Likewise.
61080         (FE_INVALID_SNAN): Likewise.
61081         (FE_INVALID_ISI): Likewise.
61082         (FE_INVALID_IDI): Likewise.
61083         (FE_INVALID_ZDZ): Likewise.
61084         (FE_INVALID_IMZ): Likewise.
61085         (FE_INVALID_COMPARE): Likewise.
61086         (FE_INVALID_SOFTWARE): Likewise.
61087         (FE_INVALID_SQRT): Likewise.
61088         (FE_INVALID_INTEGER_CONVERSION): Likewise.
61089         (FE_TONEAREST): Likewise.
61090         (FE_TOWARDZERO): Likewise.
61091         (FE_UPWARD): Likewise.
61092         (FE_DOWNWARD): Likewise.
61093         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
61094         (FE_DIVBYZERO): Likewise.
61095         (FE_OVERFLOW): Likewise.
61096         (FE_UNDERFLOW): Likewise.
61097         (FE_INEXACT): Likewise.
61098         (FE_TONEAREST): Likewise.
61099         (FE_DOWNWARD): Likewise.
61100         (FE_UPWARD): Likewise.
61101         (FE_TOWARDZERO): Likewise.
61102         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
61103         (FE_UNDERFLOW): Likewise.
61104         (FE_OVERFLOW): Likewise.
61105         (FE_DIVBYZERO): Likewise.
61106         (FE_INVALID): Likewise.
61107         (FE_TONEAREST): Likewise.
61108         (FE_TOWARDZERO): Likewise.
61109         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
61110         (FE_OVERFLOW): Likewise.
61111         (FE_UNDERFLOW): Likewise.
61112         (FE_DIVBYZERO): Likewise.
61113         (FE_INEXACT): Likewise.
61114         (FE_TONEAREST): Likewise.
61115         (FE_TOWARDZERO): Likewise.
61116         (FE_UPWARD): Likewise.
61117         (FE_DOWNWARD): Likewise.
61118         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
61119         (FE_DIVBYZERO): Likewise.
61120         (FE_OVERFLOW): Likewise.
61121         (FE_UNDERFLOW): Likewise.
61122         (FE_INEXACT): Likewise.
61123         (FE_TONEAREST): Likewise.
61124         (FE_DOWNWARD): Likewise.
61125         (FE_UPWARD): Likewise.
61126         (FE_TOWARDZERO): Likewise.
61128 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
61130         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
61132 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
61134         * scripts/cross-test-ssh.sh (command): Use newlines to separate
61135         commands.  Quote $PWD.
61136         (blacklist_exports): Don't use remove_newlines.  Replace "declare
61137         -x" by "export".
61138         (remove_newlines): Remove.
61140 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
61142         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
61143         * stdlib/stdlib.h (atof): Moved to ...
61144         * include/bits/stdlib-float.h: Here.  New file.
61145         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
61146         * stdlib/bits/stdlib-float.h: New file.
61147         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
61148         -mno-sse -mno-mmx.
61149         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
61150         <xmmintrin.h>.
61152 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
61154         * conform/conformtest.pl (@headers): Add fenv.h.
61155         * conform/data/fenv.h-data: New file.
61156         * include/fenv.h [_ISOMAC]: Disable all contents of file except
61157         include of <math/fenv.h>.
61159         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
61160         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
61161         && !UNIX98].  Enables tests for XOPEN2K8.
61162         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
61163         POSIX2008]: Likewise.
61165         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
61166         (struct rusage): Do not expect type or its members.
61168         [BZ #3439]
61169         * math/math.h (FP_NAN): Define macro to integer constant usable in
61170         #if and use that to give value to enum constant.
61171         (FP_INFINITE): Likewise.
61172         (FP_ZERO): Likewise.
61173         (FP_SUBNORMAL): Likewise.
61174         (FP_NORMAL): Likewise.
61176 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
61178         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
61179         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
61180         arguments.
61182 2012-11-02  Roland McGrath  <roland@hack.frob.com>
61184         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
61185         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
61186         autoconf-time if not.
61187         * configure.in: Remove AC_PREREQ.
61189 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61191         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
61192         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
61193         of the internal implementation.
61195 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
61197         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
61198         except include of <misc/sys/syslog.h>.
61200 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
61202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
61203         function returns with a NULL context exit with zero.
61205 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61207         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
61209 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
61211         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
61212         (run_program_cmd): This.
61213         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
61214         (tst_langinfo): New variable.  Use it.
61216 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
61218         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
61219         floating point opcodes.
61221 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
61223         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
61224         variable.
61226         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
61228         * sysdeps/mach/hurd/powerpc: Remove directory.
61229         * sysdeps/mach/powerpc: Likewise.
61231 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
61233         * scripts/check-local-headers.sh: Ignore c++ headers.
61235 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
61237         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
61238         __libc_cleanup_region_start argument.
61240 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
61242         [BZ #14784]
61243         [BZ #14785]
61244         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
61245         x * y using scaling, not as x * y + z.
61246         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61247         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61248         * math/libm-test.inc (fma_test): Add more tests.
61249         (fma_test_towardzero): Likewise.
61250         (fma_test_downward): Likewise.
61251         (fma_test_upward): Likewise.
61253 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
61255         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
61257 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
61259         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
61260         New variable.
61262 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
61264         * rt/tst-shm.c (worker): Correct checking for mmap failure.
61266 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
61268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61269         Fix sort order.
61270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61271         Likewise.
61273 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61276         Fix the order of the list for glibc 2.17.
61277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61278         Likewise.
61280 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
61282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61284 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
61286         [BZ #14610]
61287         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
61288         for low part of x being zero before using __atanl (y).
61289         * math/libm-test.inc (atan2_test): Add another test.
61291         * manual/install.texi (Configuring and compiling): Document
61292         general use of test-wrapper and test-wrapper-env.
61293         * INSTALL: Regenerated.
61295         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
61296         (__fma): Do not extract and scale down low bits on after-rounding
61297         systems when result rounded to normal precision would have normal
61298         exponent.
61299         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
61300         (__fmal): Do not extract and scale down low bits on after-rounding
61301         systems when result rounded to normal precision would have normal
61302         exponent.
61303         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
61304         (__fmal): Do not extract and scale down low bits on after-rounding
61305         systems when result rounded to normal precision would have normal
61306         exponent.
61307         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
61308         macro.
61309         (fma_test): Add more tests.
61310         (fma_test_towardzero): Likewise.
61311         (fma_test_downward): Likewise.
61312         (fma_test_upward): Likewise.
61314 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
61316         * sysdeps/i386/tininess.h: Renamed to ...
61317         * sysdeps/x86/tininess.h: This.
61318         * sysdeps/x86_64/tininess.h: Removed.
61320 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
61322         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
61323         input.  Use $(build-program-cmd).
61324         ($(objpfx)tst-array1-static.out): Likewise.
61325         ($(objpfx)tst-array2.out): Likewise.
61326         ($(objpfx)tst-array3.out): Likewise.
61327         ($(objpfx)tst-array4.out): Likewise.
61328         ($(objpfx)tst-array5.out): Likewise.
61329         ($(objpfx)tst-array5-static.out): Likewise.
61331 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
61333         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
61334         if defined.
61336         * nss/nsswitch.h (nss_interface_function): Provide new
61337         macro for use with NSS functions.
61338         * grp/initgroups.c: Use new macro.
61339         * nss/getXXbyYY.c: Likewise.
61340         * nss/getXXbyYY_r.c: Likewise.
61341         * nss/getXXent.c: Likewise.
61342         * nss/getXXent_r.c: Likewise.
61343         * sysdeps/posix/getaddrinfo.c: Likewise.
61345 2012-10-30  Andreas Jaeger  <aj@suse.de>
61347         * po/ru.po: Update Russion translation from translation project.
61349 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
61351         [BZ #14152]
61352         [BZ #14783]
61353         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
61354         result and shift together with sticky bit instead of replicating
61355         round-to-nearest rounding.
61356         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61357         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61358         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
61359         missing underflow exceptions.
61360         (fma_test_towardzero): Add more tests.
61361         (fma_test_downward): Likewise.
61362         (fma_test_upward): Likewise.
61364         [BZ #14047]
61365         * sysdeps/generic/tininess.h: New file.
61366         * sysdeps/i386/tininess.h: Likewise.
61367         * sysdeps/sh/tininess.h: Likewise.
61368         * sysdeps/x86_64/tininess.h: Likewise.
61369         * stdlib/tst-strtod-underflow.c: Likewise.
61370         * stdlib/tst-tininess.c: Likewise.
61371         * stdlib/strtod_l.c: Include <tininess.h>.
61372         (round_and_return): Do not set errno for exact underflow cases.
61373         Force an underflow exception when setting errno for underflow.
61374         Determine underflow based on rounding to normal precision if
61375         TININESS_AFTER_ROUNDING.
61376         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
61377         ERANGE for exact underflow cases.
61378         * stdlib/Makefile (tests): Add tst-tininess and
61379         tst-strtod-underflow.
61380         ($(objpfx)tst-tininess): Use $(link-libm).
61381         ($(objpfx)tst-strtod-underflow): Likewise.
61383 2012-10-30  Andreas Jaeger  <aj@suse.de>
61385         [BZ#14767]
61386         * elf/Makefile (tests): Remove conditional for have-initfini-array
61387         since this is now always required and the variable does not exist
61388         anymore.
61389         (tests-static): Likewise.
61390         (modules-names): Likewise.
61392         * po/eo.po: Add Esperanto translation from translation project.
61394         * elf/tst-array1.c (fini_array): Make writeable so that it can be
61395         merged with constructor/destructor.
61396         (init_array): Likewise.
61397         * elf/tst-array2dep.c (fini_array): Likewise.
61398         (init_array): Likewise.
61400 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
61402         * manual/message.texi: Delete @cartouche tags.
61404 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
61406         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
61407         EOPNOTSUPP.
61408         * sysdeps/mach/hurd/fsync.c: Likewise.
61410         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
61411         [_POSIX_REALTIME_SIGNALS]: Change condition to
61412         [_POSIX_REALTIME_SIGNALS > 0].
61414 2012-10-27  Andreas Jaeger  <aj@suse.de>
61416         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
61417         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
61418         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
61419         [__WORDSIZE != 64]: Likewise.
61421 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
61423         *  iconvdata/tst-table.sh: Remove ${SHELL}.
61424         *  iconvdata/tst-tables.sh: Likewise.
61426 2012-10-25  David S. Miller  <davem@davemloft.net>
61428         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61429         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
61430         of strtoull.
61432         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
61433         ifunc-impl-list.c
61434         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61435         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
61436         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
61437         file.
61439 2012-10-25  Roland McGrath  <roland@hack.frob.com>
61441         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61442         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
61443         __getdirentries.
61445 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
61446             Jim Blandy  <jimb@codesourcery.com>
61448         * scripts/cross-test-ssh.sh: New file.
61449         * manual/install.texi (Configuring and compiling): Document use of
61450         cross-test-ssh.sh.
61451         * INSTALL: Regenerated.
61453 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
61455         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
61456         EOPNOTSUPP.
61458 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
61460         * Makeconfig (run-program-prefix): Fix comment.
61462 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
61463             Jim Blandy  <jimb@codesourcery.com>
61465         * Makeconfig (test-wrapper): New variable,
61466         (test-wrapper-env): Likewise.
61467         [$(cross-compiling) = yes && $(test-wrapper) != ""]
61468         (run-built-tests): Define to yes.
61469         (run-program-prefix): Use $(test-wrapper).
61470         (built-program-cmd): Likewise.
61471         * Rules (make-test-out): Use $(test-wrapper-env) and
61472         $(host-built-program-cmd).
61473         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
61474         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
61475         tst-pathopt.sh.
61476         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
61477         $(test-wrapper-env) to tst-rtld-load-self.sh.
61478         ($(objpfx)order2.out): Use $(test-wrapper).
61479         ($(objpfx)tst-initorder.out): Likewise.
61480         ($(objpfx)tst-initorder2.out): Likewise.
61481         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
61482         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
61483         (test_wrapper_env): New variable.  Use it to run ld.so.
61484         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
61485         Use it to run ld.so.
61486         (test_wrapper_env): Likewise.
61487         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
61488         $(test-wrapper) to run-iconv-test.sh.
61489         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
61490         (ICONV): Use $test_wrapper.
61491         * posix/Makefile ($(objpfx)globtest.out): Pass
61492         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
61493         globtest.sh, not $(run-program-prefix).
61494         * posix/globtest.sh (run_via_rtld_prefix): New variable.
61495         (test_wrapper): Likewise.
61496         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
61497         set together with run_via_rtld_prefix.
61498         (run_program_prefix): Define in terms of test_wrapper and
61499         run_via_rtld_prefix.
61501 2012-10-24  Roland McGrath  <roland@hack.frob.com>
61503         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
61504         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
61505         Targets removed.
61507         [BZ #14743]
61508         * include/time.h: Remove librt_hidden_proto (clock_gettime).
61509         Declare __clock_getres, __clock_gettime, __clock_settime,
61510         __clock_nanosleep, and __clock_getcpuclockid.
61511         * rt/clock_gettime.c: Define __clock_gettime as an alias.
61512         Remove librt_hidden_def (clock_gettime).
61513         * sysdeps/unix/clock_gettime.c: Likewise.
61514         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
61515         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
61516         * rt/clock_getres.c: Define __clock_getres as an alias.
61517         * sysdeps/posix/clock_getres.c: Likewise.
61518         * rt/clock_settime.c: Define __clock_settime as an alias.
61519         * sysdeps/unix/clock_settime.c: Likewise.
61520         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
61521         * sysdeps/unix/clock_nanosleep.c: Likewise.
61522         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
61523         * rt/clock-compat.c: New file.
61524         * rt/Makefile (librt-routines): Add clock-compat and move
61525         $(clock-routines) to ...
61526         (routines): ... here, new variable.
61527         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
61528         Don't add get_clockfreq here.
61529         * rt/Versions (libc: GLIBC_2.17): New version set.
61530         Add clock_* symbols here.
61531         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
61532         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
61533         (GLIBC_2.17): Add clock_* symbols.
61534         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
61535         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
61536         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
61537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61538         Likewise.
61539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61540         Likewise.
61541         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
61542         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
61543         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
61544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
61545         * NEWS: Mention the move.
61547         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
61548         Use __open, __read, __close rather than their public counterparts.
61549         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61550         (__get_clockfreq_via_cpuinfo): Likewise.
61551         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
61552         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
61554         * config.h.in (HAVE_IFUNC): New #undef.
61555         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
61556         was successful.
61557         * configure: Regenerated.
61559 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
61561         * configure.in: Move READELF check to start of file.
61562         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
61563         libc_cv_asm_gnu_indirect_function in the process.
61564         * configure: Regenerated.
61566 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
61568         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
61569         send the output to /dev/null.
61570         (libc_cv_cc_with_libunwind): Likewise.
61571         (libc_cv_as_noexecstack): Likewise.
61572         * configure: Regenerate.
61574 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
61576         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
61578         * posix/globtest.sh (TMPDIR): Do not set.
61579         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
61580         (testout): Likewise.
61582 2012-10-24  Andreas Jaeger  <aj@suse.de>
61584         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
61585         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
61586         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
61587         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
61588         posix_fadvise64, posix_fallocate64.
61590         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
61591         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
61592         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
61593         Likewise.
61594         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
61595         Likewise.
61596         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
61598         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
61599         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
61600         <bits/fcntl-linux.h>.
61601         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
61603         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
61604         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
61605         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
61606         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
61607         [__WORDSIZE != 64]: Likewise.
61609 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
61611         * Makeconfig (run-built-tests): New variable.
61612         * Rules [$(cross-compiling) = yes]: Change condition to
61613         [$(run-built-tests) = no].
61614         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
61615         to [$(run-built-tests) = yes].
61616         * elf/Makefile [$(cross-compiling) = no]: Likewise.
61617         * grp/Makefile [$(cross-compiling) = no]: Likewise.
61618         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
61619         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
61620         * intl/Makefile [$(cross-compiling) = no]: Likewise.
61621         * io/Makefile [$(cross-compiling) = no]: Likewise.
61622         * libio/Makefile [$(cross-compiling) = no]: Likewise.
61623         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
61624         * misc/Makefile [$(cross-compiling) = no]: Likewise.
61625         * posix/Makefile [$(cross-compiling) = no]: Likewise.
61626         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
61627         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
61628         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
61629         * string/Makefile [$(cross-compiling) = no]: Likewise.
61631         * posix/Makefile ($(objpfx)globtest.out): Pass
61632         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
61633         $(rtld-installed-name).
61634         * posix/globtest.sh (elf_objpfx): Remove variable.
61635         (rtld_installed_name): Likewise.
61636         (library_path): Likewise.
61637         (run_program_prefix): New variable.  Use for running globtest
61638         binary.
61640 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
61641             Joseph Myers  <joseph@codesourcery.com>
61643         * Makeconfig (host-built-program-cmd): New variable.
61644         * elf/Makefile (tst-stackguard1-ARGS): Use
61645         $(host-built-program-cmd).
61646         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
61647         (tst-spawn-ARGS): Likewise.
61648         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
61650 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
61651             Jim Blandy  <jimb@codesourcery.com>
61653         * Makeconfig (run-via-rtld-prefix): New variable.
61654         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
61655         (built-program-cmd): Likewise.
61657 2012-10-22  Andreas Jaeger  <aj@suse.de>
61659         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
61660         __O_RSYNC if it exists, otherwise to O_SYNC.
61662 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
61663             Joseph Myers  <joseph@codesourcery.com>
61665         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
61666         /dev/null.
61667         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
61668         from /dev/null
61669         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
61670         /dev/null.
61672 2012-10-22  Andreas Jaeger  <aj@suse.de>
61674         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
61675         Define always.
61676         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
61678         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61679         bits/fcntl-linux.h.
61681         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
61682         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
61684         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
61685         to __O_LARGEFILE.
61686         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
61687         to __O_LARGEFILE.
61689 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
61690             Joseph Myers  <joseph@codesourcery.com>
61692         * config.make.in (NM): New variable.
61694 2012-10-21  Andreas Jaeger  <aj@suse.de>
61696         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
61697         definitions and declarations that are provided by
61698         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
61700 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
61702         [BZ #14683]
61703         * elf/Makefile (tests-static): Add tst-leaks1-static.
61704         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
61705         ($(objpfx)tst-leaks1-static): New rule.
61706         ($(objpfx)tst-leaks1-static-mem): Likewise.
61707         (tst-leaks1-static-ENV): New macro.
61708         * elf/dl-open.c (dl_open_worker): Check the main application
61709         only if SHARED is defined.
61710         * elf/tst-leaks1-static.c: New file.
61712 2012-10-20  Andreas Jaeger  <aj@suse.de>
61714         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
61715         generic values for Linux.
61716         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
61717         and declarations that are provided by <bits/fcntl-linux.h> and
61718         include <bits/fcntl-linux.h>.
61719         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61720         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61722 2012-10-20  Roland McGrath  <roland@hack.frob.com>
61724         * io/fcntl.h: Move include of <bits/types.h> to the top and
61725         include it unconditionally.
61727 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
61729         * wcsmbs/Makefile (tests-ifunc): New variable.
61730         (tests): Add $(tests-ifunc).
61731         * wcsmbs/test-wcschr-ifunc.c: New file.
61732         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
61733         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
61734         * wcsmbs/test-wcslen-ifunc.c: Likewise.
61735         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
61736         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
61738         * string/Makefile (tests-ifunc): New variable.
61739         (tests): Add $(tests-ifunc).
61740         * string/test-memccpy.c (TEST_NAME): New macro.
61741         * string/test-memchr.c (TEST_NAME): Likewise.
61742         * string/test-memcmp.c (TEST_NAME): Likewise.
61743         * string/test-memcpy.c (TEST_NAME): Likewise.
61744         * string/test-memmem.c (TEST_NAME): Likewise.
61745         * string/test-memmove.c (TEST_NAME): Likewise.
61746         * string/test-memset.c (TEST_NAME): Likewise.
61747         * string/test-rawmemchr.c (TEST_NAME): Likewise.
61748         * string/test-stpcpy.c (TEST_NAME): Likewise.
61749         * string/test-stpncpy.c (TEST_NAME): Likewise.
61750         * string/test-strcasecmp.c (TEST_NAME): Likewise.
61751         * string/test-strcasestr.c (TEST_NAME): Likewise.
61752         * string/test-strcat.c (TEST_NAME): Likewise.
61753         * string/test-strchr.c (TEST_NAME): Likewise.
61754         * string/test-strcmp.c(TEST_NAME): Likewise.
61755         * string/test-strcpy.c (TEST_NAME): Likewise.
61756         * string/test-strcspn.c (TEST_NAME): Likewise.
61757         * string/test-strlen.c (TEST_NAME): Likewise.
61758         * string/test-strncasecmp.c (TEST_NAME): Likewise.
61759         * string/test-strncmp.c (TEST_NAME): Likewise.
61760         * string/test-strncpy.c (TEST_NAME): Likewise.
61761         * string/test-strnlen.c (TEST_NAME): Likewise.
61762         * string/test-strpbrk.c (TEST_NAME): Likewise.
61763         * string/test-strrchr.c (TEST_NAME): Likewise.
61764         * string/test-strspn.c (TEST_NAME): Likewise.
61765         * string/test-strstr.c (TEST_NAME): Likewise.
61766         * string/test-bcopy-ifunc.c: New file.
61767         * string/test-bzero-ifunc.c: Likewise.
61768         * string/test-memccpy-ifunc.c: Likewise.
61769         * string/test-memchr-ifunc.c: Likewise.
61770         * string/test-memcmp-ifunc.c: Likewise.
61771         * string/test-memcpy-ifunc.c: Likewise.
61772         * string/test-memmem-ifunc.c: Likewise.
61773         * string/test-memmove-ifunc.c: Likewise.
61774         * string/test-mempcpy-ifunc.c: Likewise.
61775         * string/test-memset-ifunc.c: Likewise.
61776         * string/test-rawmemchr-ifunc.c: Likewise.
61777         * string/test-stpcpy-ifunc.c: Likewise.
61778         * string/test-stpncpy-ifunc.c: Likewise.
61779         * string/test-strcasecmp-ifunc.c: Likewise.
61780         * string/test-strcasestr-ifunc.c: Likewise.
61781         * string/test-strcat-ifunc.c: Likewise.
61782         * string/test-strchr-ifunc.c: Likewise.
61783         * string/test-strchrnul-ifunc.c: Likewise.
61784         * string/test-strcmp-ifunc.c: Likewise.
61785         * string/test-strcpy-ifunc.c: Likewise.
61786         * string/test-strcspn-ifunc.c: Likewise.
61787         * string/test-strlen-ifunc.c: Likewise.
61788         * string/test-strncasecmp-ifunc.c: Likewise.
61789         * string/test-strncat-ifunc.c: Likewise.
61790         * string/test-strncmp-ifunc.c: Likewise.
61791         * string/test-strncpy-ifunc.c: Likewise.
61792         * string/test-strnlen-ifunc.c: Likewise.
61793         * string/test-strpbrk-ifunc.c: Likewise.
61794         * string/test-strrchr-ifunc.c: Likewise.
61795         * string/test-strspn-ifunc.c: Likewise.
61796         * string/test-strstr-ifunc.c: Likewise.
61798         * debug/Makefile (tests-ifunc): New variable.
61799         (tests): Add $(tests-ifunc).
61800         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
61801         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
61802         * debug/test-stpcpy_chk-ifunc.c: New file.
61803         * debug/test-strcpy_chk-ifunc.c: Likewise.
61805 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
61807         [BZ #13601]
61808         * elf/dl-load.c (open_verify): Retry read if the entire ELF
61809         header is not read in.
61811 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
61813         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
61814         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
61815         directly.  Pass built executable to script as
61816         $(built-program-cmd).
61817         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
61818         $testprogram without using LD_LIBRARY_PATH and $ldso.
61820         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
61821         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
61822         $(rtld-installed-name).
61823         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
61824         (rtld_installed_name): Likewise.
61825         (library_path): Likewise.
61826         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
61827         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
61828         $(run-program-prefix) to tst-tables.sh.
61829         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
61830         it to run tst-table-from and tst-table-to.
61831         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
61832         Pass it to tst-table.sh.
61833         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
61834         $(run-program-prefix) to tst-gettext.sh.
61835         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
61836         tst-translit.sh.
61837         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
61838         tst-gettext2.sh.
61839         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
61840         to run tst-gettext.
61841         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
61842         to run tst-gettext2.
61843         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
61844         to run tst-translit.
61845         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
61846         $(run-program-prefix) to tst-mtrace.sh.
61847         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
61848         to run tst-mtrace.
61849         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
61850         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
61851         $(rtld-installed-name).
61852         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
61853         (rtld_installed_name): Likewise.
61854         (run_program_prefix): New variable.  Use it to run wordexp-test.
61856         * Makeconfig (ARCH): Remove all definitions.
61857         (machine): Likewise.
61858         [ARCH]: Remove conditional code.
61859         [!objdir]: Give error.
61860         [!objdir] (objpfx): Remove.
61861         [!objdir] (common-objpfx): Likewise.
61862         [!objdir] (common-objdir): Likewise.
61863         * configure.in (config_makefile): Remove.  Hardcode Makefile in
61864         AC_CONFIG_FILES call.
61865         * configure: Regenerated.
61867         [BZ #13888]
61868         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
61869         or TMPDIR.
61870         (testout): Likewise.
61872         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
61873         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
61874         $(rtld-installed-name).
61875         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
61876         (rtld_installed_name): Likwise.
61877         (runit): Remove function.
61878         (run_getconf): New variable,  Use it for running getconf binary.
61880 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
61882         [BZ #14716]
61883         * string/test-memmem.c (check_result): New function.
61884         (do_one_test): Use it.
61885         (check1): New function.
61886         (test_main): Use it.
61888 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
61890         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
61892 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
61894         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
61895         (_G_LSEEK64): Likewise.
61896         (_G_MMAP64): Likewise.
61897         (_G_FSTAT64): Likewise.
61898         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
61899         (_G_LSEEK64): Likewise.
61900         (_G_MMAP64): Likewise.
61901         (_G_FSTAT64): Likewise.
61902         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
61903         unconditional.  Call __mmap64 directly.
61904         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
61905         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
61906         __lseek64 directly.
61907         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
61908         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
61909         __mmap64 directly.
61910         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
61911         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
61912         __lseek64 directly.
61913         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
61914         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
61915         __lseek64 directly.
61916         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
61917         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
61918         __lseek64 directly.
61919         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
61920         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
61921         __fxstat64 directly.
61922         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
61923         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
61924         unconditional.
61925         (freopen64) [!_G_OPEN64]: Remove conditional code.
61926         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
61927         unconditional.
61928         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
61929         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
61930         unconditional.
61931         (ftello64) [!_G_LSEEK64]: Remove conditional code.
61932         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
61933         unconditional.
61934         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
61935         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
61936         unconditional.
61937         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
61938         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
61939         unconditional.
61940         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
61941         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
61942         unconditional.
61943         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
61944         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
61945         unconditional.
61946         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
61948 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61950         [BZ #12140]
61951         * manual/memory.texi (Malloc Tunable Parameters): Add note
61952         about free list pointers overwriting some perturb bytes.
61953         Wording suggested by Roland McGrath.
61955 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
61957         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
61958         (lgamma_test): Likewise.
61959         (tgamma_test): Likewise.
61961 2012-10-16  Florian Weimer  <fweimer@redhat.com>
61963         [BZ #14700]
61964         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
61965         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
61967 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
61969         * NEWS: Mention BZ #14716.
61970         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
61971         when removing AVAILABLE1_USES_J macro.
61973 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
61975         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
61976         (__bswap_64): __uint64_t for unsigned 64-bit int.
61978 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
61980         * include/string.h (memmem): Declare libc hidden alias.
61981         * string/memmem.c (memmem): Define libc hidden alias.
61982         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
61983         __read, __close instead of open, read, close.
61985 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
61987         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
61988         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
61989         global and hidden.
61990         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
61991         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
61992         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
61993         Likewise.
61994         (__rawmemchr_sse2): Likewise.
61995         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
61996         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
61997         (__strchr_sse2): Likewise.
61998         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
61999         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
62000         (__strcasecmp_sse2): Likewise.
62001         (__strncasecmp_sse2): Likewise.
62002         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
62003         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
62004         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
62005         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
62006         (__strrchr_sse2): Likewise.
62007         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
62008         ifunc-impl-list.c.
62009         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
62010         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
62011         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
62012         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62013         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
62014         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
62015         * sysdeps/x86_64/multiarch/memset.S: Likewise.
62016         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
62017         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
62018         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
62019         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
62020         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
62021         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
62022         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
62023         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
62024         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
62025         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
62026         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
62027         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
62028         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
62029         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
62030         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
62031         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
62032         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
62033         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
62034         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62035         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
62036         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
62037         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
62038         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
62040         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
62041         global and hidden.
62042         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
62043         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
62044         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
62045         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
62046         Likewise.
62047         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
62048         Likewise.
62049         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
62050         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
62051         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
62052         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
62053         ifunc-impl-list.c.
62054         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
62055         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
62056         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
62057         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
62058         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
62059         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
62060         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
62061         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
62062         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
62063         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
62064         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
62065         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
62066         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
62067         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
62068         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
62069         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62070         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
62071         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
62072         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
62073         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
62074         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62075         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
62076         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
62077         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
62078         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62079         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
62080         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
62081         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
62082         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
62083         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
62084         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
62085         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
62086         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
62087         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
62088         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
62089         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
62090         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
62091         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
62092         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
62093         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
62094         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
62096         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
62097         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
62098         * include/ifunc-impl-list.h: New file.
62099         * misc/ifunc-impl-list.c: Likewise.
62100         * misc/Makefile (routines): Add ifunc-impl-list.
62101         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
62102         * string/test-string.h: Include <ifunc-impl-list.h>.
62103         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
62104         TEST_NAME]: New variables.
62105         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
62106         are defined.
62107         (test_init): Call __libc_ifunc_impl_list to initialize
62108         func_list if TEST_IFUNC and TEST_NAME are defined.
62110         * string/Makefile (strop-tests): Add bcopy and bzero.
62111         * string/test-bcopy.c: New file.
62112         * string/test-bzero.c: Likewise.
62113         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
62114         defined.
62115         * string/test-memset.c: Support bzero test if TEST_BZERO is
62116         defined.
62117         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
62118         __libc_memmove.
62119         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
62120         __libc_memset.
62121         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
62122         of memset.
62124 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
62126         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
62127         * configure: Regenerated.
62129         * Makeconfig (+link-static-before-libc): Don't include
62130         $(link-static-libc).
62132         * libio/libio.h (_IO_pos_t): Remove.
62134 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
62136         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
62137         McGrath.
62139 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
62141         * crypt/crypt-entry.c: Include fips-private.h.
62142         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
62143         * crypt/md5c-test.c (main): Tolerate disabled MD5.
62144         * sysdeps/unix/sysv/linux/fips-private.h: New file.
62145         * sysdeps/generic/fips-private.h: New file, dummy fallback.
62147 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
62149         * crypt/crypt-private.h: Include stdbool.h.
62150         (_ufc_setup_salt_r): Return bool.
62151         * crypt/crypt-entry.c: Include errno.h.
62152         (__crypt_r): Return NULL with EINVAL for bad salt.
62153         * crypt/crypt_util.c (bad_for_salt): New.
62154         (_ufc_setup_salt_r): Check that salt is long enough and within
62155         the specified alphabet.
62156         * crypt/badsalttest.c: New file.
62157         * crypt/Makefile (tests): Add it.
62158         ($(objpfx)badsalttest): New.
62160 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
62162         * NEWS: Add entry for BZ #14602.
62164 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
62166         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
62167         type-generic.
62168         * math/libm-test.inc: Update comment listing what functions and
62169         macros are tested.
62170         (isgreater_test): New function.
62171         (isgreaterequal_test): Likewise.
62172         (isless_test): Likewise.
62173         (islessequal_test): Likewise.
62174         (islessgreater_test): Likewise.
62175         (isunordered_test): Likewise.
62176         (main): Call the new functions.
62178 2012-10-09  Roland McGrath  <roland@hack.frob.com>
62180         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
62181         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
62182         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
62183         * sysdeps/i386/configure: Regenerated.
62184         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
62185         * sysdeps/mach/configure: Regenerated.
62186         * sysdeps/mach/hurd/configure: Regenerated.
62187         * sysdeps/powerpc/configure: Regenerated.
62188         * sysdeps/powerpc/powerpc32/configure: Regenerated.
62189         * sysdeps/powerpc/powerpc64/configure: Regenerated.
62190         * sysdeps/s390/s390-32/configure: Regenerated.
62191         * sysdeps/s390/s390-64/configure: Regenerated.
62192         * sysdeps/sh/configure: Regenerated.
62193         * sysdeps/sparc/configure: Regenerated.
62194         * sysdeps/unix/sysv/linux/configure: Regenerated.
62195         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
62196         * sysdeps/x86_64/configure: Regenerated.
62198         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
62199         defined.  Don't check if MAP is NULL.
62201 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
62203         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
62204         (_G_stat64): Likewise.
62205         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
62206         (_G_stat64): Likewise.
62207         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
62208         instead of struct _G_stat64.
62209         * libio/fileops.c (mmap_remap_check): Likewise.
62210         (decide_maybe_mmap): Likewise.
62211         (_IO_new_file_seekoff): Likewise.
62212         (_IO_file_stat): Likewise.
62213         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
62214         _G_off64_t.
62215         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
62216         instead of struct _G_stat64.
62217         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
62219 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
62221         [BZ #14602]
62222         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
62223         Replace with ...
62224         (CHECK_EOL): New macro.
62225         (two_way_short_needle): Check beginning of haystack for EOL.  Use
62226         CHECK_EOL.
62227         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
62228         Replace with CHECK_EOL.
62229         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
62230         Replace with CHECK_EOL.
62232 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
62234         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
62235         type-generic.
62236         * math/libm-test.inc: Update comment listing what functions and
62237         macros are tested.
62238         (finite_test): New function.
62239         (isinf_test): Likewise.
62240         (isnan_test): Likewise.
62241         (fpclassify_test): Test subnormal input.
62242         (isfinite_test): Likewise.
62243         (isnormal_test): Likewise.
62244         (main): Call the new functions.
62246 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
62248         [BZ #14660]
62249         * Makerules (%.dynsym): Force C locale when running
62250         $(OBJDUMP) --dynamic-syms.
62252 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
62254         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
62255         <stdint.h>.
62257 2012-10-06  David S. Miller  <davem@davemloft.net>
62259         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
62260         upper 32-bits of the length value in %o2 since we use branch-on-register
62261         tests which consider the entire 64-bit register.
62263 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
62265         * string/test-strstr.c (check2): Add a test for page boundary.
62267 2012-10-05  David S. Miller  <davem@davemloft.net>
62269         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
62270         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
62271         file.
62272         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
62273         sysdep_routines.
62274         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
62275         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
62276         and bzero when HWCAP_SPARC_CRYPTO is present.
62278 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
62280         [BZ #14602]
62281         * string/test-strstr.c (check2): New function.
62282         (test_main): Call check2.
62284         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
62285         and bug-strchr1.
62286         * string/bug-strcasestr1.c (do_test): Moved to ...
62287         * string/test-strcasestr.c (check1): Here.  New function.
62288         (do_one_test): Break out result checking code into ...
62289         (check_result): This.  New function.
62290         (do_one_test): Call check_result.
62291         (test_main): Call check1.
62292         * string/bug-strchr1.c (do_test): Moved to ...
62293         * string/test-strchr.c (check1): Here.  New function.
62294         (do_one_test): Break out result checking code into ...
62295         (check_result): This.  New function.
62296         (do_one_test): Call check_result.
62297         (test_main): Call check1.
62298         * string/bug-strstr1.c (main): Moved to ...
62299         * string/test-strstr.c (check1): Here.  New function.
62300         (do_one_test): Break out result checking code into ...
62301         (check_result): This.  New function.
62302         (do_one_test): Call check_result.
62303         (test_main): Call check1.
62304         * string/bug-strcasestr1.c: Removed.
62305         * string/bug-strchr1.c: Likewise.
62306         * string/bug-strstr1.c: Likewise.
62308         * elf/Makefile (dl-routines): Add hwcaps.
62309         * elf/dl-support.c (_dl_important_hwcaps): Removed.
62310         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
62311         (_dl_important_hwcaps): Moved to ...
62312         * elf/dl-hwcaps.c: Here.  New file.
62313         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
62315         [BZ #14557]
62316         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
62317         if IS_IN_rtld isn't defined.
62319         * elf/dl-support.c (_dl_sysinfo_map): New.
62320         Include "get-dynamic-info.h" and "setup-vdso.h".
62321         (_dl_non_dynamic_init): Call setup_vdso.
62322         * elf/dynamic-link.h: Don't include <assert.h>.
62323         (elf_get_dynamic_info): Moved to ...
62324         * elf/get-dynamic-info.h: Here.  New file.
62325         * elf/dynamic-link.h: Include "get-dynamic-info.h".
62326         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
62327         * elf/setup-vdso.h: Here.  New file.
62328         * elf/rtld.c: Include "setup-vdso.h".
62329         (dl_main): Call setup_vdso.
62331 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
62333         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
62334         creal in comment listing functions tested.  List finite, isinf,
62335         isnan, isless, islessequal, isgreater, isgreaterequal,
62336         islessgreater, isunordered, lgamma_r and pow10 as functions and
62337         macros not tested.  Mention which functions not tested are aliases
62338         for other functions.  Fix typo.  Note that signs of NaNs are not
62339         tested.
62341         * scripts/config.guess: Update from config.git.
62342         * scripts/config.sub: Likewise.
62344 2012-10-04  Roland McGrath  <roland@hack.frob.com>
62346         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
62347         * misc/madvise.c (madvise): Renamed to __madvise.
62348         Make madvise a weak alias.
62349         * include/sys/mman.h: Declare __madvise.
62350         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
62351         * sysdeps/unix/syscalls.list
62352         (madvise): Make __madvise the strong name, and madvise a weak alias.
62353         * sysdeps/unix/sysv/linux/syscalls.list
62354         (madvise, mmap): Remove redundant entries.
62355         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
62356         * malloc/malloc.c (mtrim): Likewise.
62357         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
62359 2012-10-03  Roland McGrath  <roland@hack.frob.com>
62361         * sysdeps/mach/hurd/dl-cache.c: File removed.
62362         * config.h.in (USE_LDCONFIG): New #undef.
62363         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
62364         * configure: Regenerated.
62365         * elf/Makefile (dl-routines): Add dl-cache only under
62366         [$(use-ldconfig) = yes].
62367         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
62368         cache on [USE_LDCONFIG].
62369         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
62370         [USE_LDCONFIG].
62371         * elf/rtld.c (dl_main): Likewise.
62373 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
62375         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
62376         _SC_LEVEL4_CACHE_LINESIZE.
62378 2012-10-03  Roland McGrath  <roland@hack.frob.com>
62380         * sysdeps/unix/bsd/confstr.h: File removed.
62382 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
62384         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
62385         sys/sdt-config.h.
62387 2012-10-02  Roland McGrath  <roland@hack.frob.com>
62389         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
62390         Make 'mapoff' field ElfW(Off) rather than off_t.
62392 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
62394         * nscd/Makefile: Remove nscd-cflags and all its users.
62395         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
62396         (CFLAGS-nonlib): Add compiler flags for nscd modules.
62398         [BZ #10631]
62399         * malloc.c (malloc_printerr): Clarify error message.
62401 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
62403         [BZ #14648]
62404         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62405         Set bit_FMA_Usable if FMA is supported.
62406         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
62407         macro.
62408         (bit_FMA4_Usable): Updated.
62409         (index_FMA_Usable): New macro.
62410         (CPUID_FMA): Likewise.
62411         (HAS_FMA): Defined with bit_FMA_Usable.
62413 2012-10-01  Roland McGrath  <roland@hack.frob.com>
62415         * bits/types.h (__swblk_t): Type removed.
62416         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
62417         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
62418         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62419         (__SWBLK_T_TYPE): Likewise.
62420         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62421         (__SWBLK_T_TYPE): Likewise.
62422         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62423         (__SWBLK_T_TYPE): Likewise.
62424         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62425         (__SWBLK_T_TYPE): Likewise.
62427 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
62428             Honza Horak <hhorak@redhat.com>
62430         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
62431         (xdr_mapname): Use YPMAXMAP as maxsize.
62432         (xdr_peername): Use YPMAXPEER as maxsize.
62433         (xdr_keydat): Use YPAXRECORD as maxsize.
62434         (xdr_valdat): Use YPMAXRECORD as maxsize.
62436 2012-10-01  Roland McGrath  <roland@hack.frob.com>
62438         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
62440         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
62441         * csu/init-first.c: ... here.
62442         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
62443         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
62444         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
62445         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
62446         * sysdeps/i386/init-first.c: File removed.
62447         * sysdeps/sh/init-first.c: File removed.
62449 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
62451         [BZ #14645]
62452         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
62453         if x * y might underflow to zero and z is zero.
62454         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62455         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62456         * math/libm-test.inc (min_subnorm_value): New variable.
62457         (fma_test): Add more tests.
62458         (fma_test_towardzero): Likewise.
62459         (fma_test_downward): Likewise.
62460         (fma_test_upward): Likewise.
62461         (initialize): Set min_subnorm_value.
62463 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
62465         [BZ #14638]
62466         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
62467         0 + 0.
62468         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
62469         mode for addition resulting in exact zero.
62470         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
62471         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
62472         exact 0 + 0.
62473         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
62474         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62475         * math/libm-test.inc (fma_test): Add more tests.
62476         (fma_test_towardzero): New function.
62477         (fma_test_downward): Likewise.
62478         (fma_test_upward): Likewise.
62479         (main): Call the new functions.
62481 2012-09-28  David S. Miller  <davem@davemloft.net>
62483         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
62485 2012-09-28  Roland McGrath  <roland@hack.frob.com>
62487         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
62488         instead of SIGALRM.
62490         * sysdeps/gnu/_G_config.h: Moved to ...
62491         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
62492         * sysdeps/mach/hurd/_G_config.h: Moved to ...
62493         * sysdeps/generic/_G_config.h: ... here.
62495         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
62497         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
62499         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
62500         Conditionalize target on [libnss_test1.so-version].
62502         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
62504         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
62505         (elfobjdir): Move out of conditionals.
62507         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
62508         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
62509         (__nss_lookup_function): Conditionalize label remove_from_tree on
62510         [!DO_STATIC_NSS || SHARED], matching its only use.
62512 2012-09-28  David S. Miller  <davem@davemloft.net>
62514         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
62515         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
62516         file.
62517         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
62518         sysdep_routines.
62519         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
62520         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
62521         when HWCAP_SPARC_CRYPTO is present.
62523 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62525         * io/tst-mknodat.c: Create a FIFO instead of a socket.
62527 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
62529         [BZ #6530]
62530         * stdio-common/vfprintf.c (process_string_arg): Revert
62531         2000-07-22 change.
62533 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
62535         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
62536         for testcase.
62537         * stdio-common/tst-sprintf.c: Include <locale.h>
62538         (main): Test sprintf's handling of incomplete multibyte
62539         characters.
62541 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
62543         * elf/dl-runtime.c (VERSYMIDX): Removed.
62544         * elf/dl-version.c (VERSYMIDX): Likewise.
62545         * elf/do-rel.h (VERSYMIDX): Likewise.
62546         (VALIDX): Likewise.
62547         * elf/dynamic-link.h (VERSYMIDX): Likewise.
62548         * elf/rtld.c (VALIDX): Likewise.
62549         (ADDRIDX): Likewise.
62550         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
62551         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
62552         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
62553         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
62554         (VALIDX): Likewise.
62555         (ADDRIDX): Likewise.
62557 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62559         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
62561 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
62563         [BZ #11438]
62564         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
62565         to global scope.
62566         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
62567         addresses are in the same scope as 192.0.2/24.
62568         * posix/gai.conf: Document new scope table defaults.
62570 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62572         [BZ #5298]
62573         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
62574         for ftell.  Compute offsets from write pointers instead.
62575         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
62577 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62579         [BZ #14543]
62580         * libio/Makefile (tests): New test case tst-fseek.
62581         * libio/tst-fseek.c: New test case to verify that fseek/ftell
62582         combination works in wide mode.
62583         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
62584         state when the external buffer state changes.
62586 2012-09-27  David S. Miller  <davem@davemloft.net>
62588         [BZ #14376]
62589         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
62590         pass reloc->r_addend in as the 'high' argument to
62591         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
62593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62595 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62597         * rt/tst-aio2.c: Include <pthread.h>.
62598         * rt/tst-aio3.c: Likewise.
62600 2012-09-27  Steve Ellcey  <sellcey@mips.com>
62602         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
62604 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
62606         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
62607         contents on [SHARED].
62609 2012-09-26  Marek Polacek  <polacek@redhat.com>
62611         [BZ #14530]
62612         [BZ #13741]
62613         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
62614         for C++ and GCC <4.3 as well as for non GCC compilers.
62616 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
62618         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62620 2012-09-25  Roland McGrath  <roland@hack.frob.com>
62622         * Makefile.in (all, install): Declare with .PHONY.
62623         Reported by Michael Hope <michael.hope@linaro.org>.
62625 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62627         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
62628         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
62629         system header.
62630         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
62631         Likewise.
62632         (sydep_routines): Add the new and the internal functions.
62633         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
62634         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
62635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
62636         (GLIBC_2.17): Add the new function.
62637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
62638         (GLIBC_2.17): Likewise.
62639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
62640         (GLIBC_2.17): Likewise.
62641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
62642         (GLIBC_2.17): Likewise.
62643         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
62645 2012-09-25  Alan Modra  <amodra@gmail.com>
62647         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
62648         Add release barrier before setting once_control to say
62649         initialisation is done.  Add hints on lwarx.  Use macro in
62650         place of isync.
62651         (clear_once_control): Add release barrier.
62653 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
62655         [BZ #13629]
62656         * math/s_clog.c (__clog): Handle more values close to |z| = 1
62657         specially.
62658         * math/s_clog10.c (__clog10): Likewise.
62659         * math/s_clog10f.c (__clog10f): Likewise.
62660         * math/s_clog10l.c (__clog10l): Likewise.
62661         * math/s_clogf.c (__clogf): Likewise.
62662         * math/s_clogl.c (__clogl): Likewise.
62663         * math/Makefile (libm-calls): Add x2y2m1.
62664         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
62665         (__x2y2m1): Likewise.
62666         (__x2y2m1l): Likewise.
62667         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
62668         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
62669         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
62670         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
62671         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
62672         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
62673         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
62674         * sysdeps/i386/fpu/libm-test-ulps: Update.
62675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62677         [BZ #14621]
62678         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
62679         int as type of variable DEPTH.
62680         (glob): Use size_t instead of int as type of variables NEWCOUNT
62681         and OLD_PATHC.
62683 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62685         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
62686         Add s_sincosf-sse2.
62687         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
62688         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
62689         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
62690         macros for using routine as __sincosf_ia32.
62691         Use macro for function declaration and weak_alias.
62692         * sysdeps/i386/fpu/libm-test-ulps: Update.
62694         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
62695         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62697         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
62698         subnormal argument.
62699         * math/s_cexpf.c (__cexpf): Likewise.
62700         * math/s_csinf.c (__csinf): Likewise.
62701         * math/s_csinhf.c (__csinhf): Likewise.
62702         * math/s_ctanf.c (__ctanf): Likewise.
62703         * math/s_ctanhf.c (__ctanhf): Likewise.
62704         * math/s_ccosh.c (__ccoshf): Likewise.
62705         * math/s_cexp.c (__cexpl): Likewise.
62706         * math/s_csin.c (__csin): Likewise.
62707         * math/s_csinh.c (__csinh): Likewise.
62708         * math/s_ctan.c (__ctan): Likewise.
62709         * math/s_ctanh.c (ctanh): Likewise.
62710         * math/s_ccoshl.c (__ccoshl): Likewise.
62711         * math/s_cexpl.c (__cexpl): Likewise.
62712         * math/s_csinl.c (__csinl): Likewise.
62713         * math/s_csinhl.c (__csinhl): Likewise.
62714         * math/s_ctanl.c (__ctanl): Likewise.
62715         * math/s_ctanhl.c (__ctanhl): Likewise.
62717 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
62719         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
62720         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
62721         (_IO_off_t): Define to __off_t, not _G_off_t.
62722         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
62723         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
62724         (_IO_wint_t): Define to wint_t, not _G_wint_t.
62725         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
62726         type of __dummy and __dummy2 fields.
62727         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
62728         (_G_ssize_t): Likewise.
62729         (_G_off_t): Likewise.
62730         (_G_pid_t): Likewise.
62731         (_G_uid_t): Likewise.
62732         (_G_wchar_t): Likewise.
62733         (_G_wint_t): Likewise.
62734         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
62735         (_G_ssize_t): Likewise.
62736         (_G_off_t): Likewise.
62737         (_G_pid_t): Likewise.
62738         (_G_uid_t): Likewise.
62739         (_G_wchar_t): Likewise.
62740         (_G_wint_t): Likewise.
62741         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
62742         (_G_ssize_t): Likewise.
62743         (_G_off_t): Likewise.
62744         (_G_pid_t): Likewise.
62745         (_G_uid_t): Likewise.
62746         (_G_wchar_t): Likewise.
62747         (_G_wint_t): Likewise.
62749 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62751         * malloc/arena.c: Include malloc-sysdep.h.
62752         (shrink_heap): Use check_may_shrink_heap to decide if madvise
62753         is sufficient to shrink the heap or an unmap is needed.
62754         * sysdeps/generic/malloc-sysdep.h: New file.  Define
62755         new function check_may_shrink_heap.
62756         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
62757         new function check_may_shrink_heap.
62759 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62761         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
62762         comments.
62764 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
62766         * catgets/test-gencat.sh: Add "set -e".
62767         * elf/tst-pathopt.sh: Likewise.
62768         * grp/tst_fgetgrent.sh: Likewise.
62769         * iconvdata/run-iconv-test.sh: Likewise.
62770         * intl/tst-gettext.sh: Likewise.
62771         * intl/tst-gettext2.sh: Likewise.
62772         * intl/tst-gettext4.sh: Likewise.
62773         * intl/tst-gettext6.sh: Likewise.
62774         * intl/tst-translit.sh: Likewise.
62775         * io/ftwtest-sh: Likewise.
62776         * libio/test-freopen.sh: Likewise.
62777         * malloc/tst-mtrace.sh: Likewise.
62778         * posix/globtest.sh: Likewise.
62779         * posix/tst-getconf.sh: Likewise.
62780         * posix/wordexp-tst.sh: Likewise.
62781         * stdio-common/tst-printf.sh: Likewise.
62782         * stdio-common/tst-unbputc.sh: Likewise.
62783         * stdlib/tst-fmtmsg.sh: Likewise.
62784         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
62785         * catgets/Makefile: Do not specify -e option when running
62786         testsuite shell scripts.
62787         * elf/Makefile: Likewise.
62788         * grp/Makefile: Likewise.
62789         * iconvdata/Makefile: Likewise.
62790         * intl/Makefile: Likewise.
62791         * io/Makefile: Likewise.
62792         * libio/Makefile: Likewise.
62793         * malloc/Makefile: Likewise.
62794         * posix/Makefile: Likewise.
62795         * stdio-common/Makefile: Likewise.
62796         * stdlib/Makefile: Likewise.
62797         * sysdeps/x86_64/Makefile: Likewise.
62799         * io/ftwtest-sh: Add copyright header.
62800         * posix/globtest.sh: Likewise.
62801         * posix/tst-getconf.sh: Likewise.
62802         * posix/wordexp-tst.sh: Likewise.
62803         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
62805 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
62807         [BZ #13679]
62808         * Makeconfig (+link): Defined as $(+link-static) if
62809         $(build-shared) isn't yes.
62810         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
62811         isn't yes.
62812         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
62814         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
62816         [BZ #14562]
62817         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
62818         new chunk size with MALLOC_ALIGN_MASK.
62820 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
62822         [BZ #5044]
62823         * stdio-common/printf_fphex.c: Include <stdbool.h> and
62824         <rounding-mode.h>.
62825         (__printf_fphex): Determine rounding using get_rounding_mode and
62826         round_away.
62827         * stdio-common/tst-printf-round.c (struct hex_test): New
62828         structure.
62829         (hex_tests): New variable.
62830         (test_hex_in_one_mode): New function.
62831         (do_test): Also run tests for hex float output.
62833 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
62835         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
62836         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
62837         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
62838         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
62839         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
62840         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
62841         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
62842         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
62844 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
62846         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
62847         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
62848         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
62849         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
62851 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
62853         [BZ #14579]
62854         * elf/rtld.c (dl_main): Limit the check for self loading to normal
62855         mode only.
62856         * elf/tst-rtld-load-self.sh: New test.
62857         * elf/Makefile: Run it.
62859 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
62861         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
62862         (tst-writev-ENV): Remove.
62863         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
62865 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
62867         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
62869 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
62871         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
62872         unconditional.
62873         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
62874         Likewise.
62875         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
62876         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
62877         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
62878         Likewise.
62880 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
62882         [BZ #14587]
62883         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
62884         * config.make.in (have-cpp-asm-debuginfo): Removed.
62885         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
62886         * configure: Regenerated.
62888 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
62890         [BZ #5044]
62891         * stdio-common/printf_fp.c: Include <stdbool.h> and
62892         <rounding-mode.h>.
62893         (___printf_fp): Determine rounding using get_rounding_mode and
62894         round_away.
62895         * stdio-common/tst-printf-round.c: New file.
62896         * stdio-common/Makefile (tests): Add tst-printf-round.
62897         (link-libm): New variable.
62898         ($(objpfx)tst-printf-round): Depend in $(link-libm).
62900 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
62902         [BZ #14576]
62903         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
62904         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
62905         Likewise.
62906         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
62907         Likewise.
62909 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
62911         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
62912         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62913         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62914         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62916 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
62918         [BZ #14518]
62919         * include/rounding-mode.h: New file.
62920         * sysdeps/generic/get-rounding-mode.h: Likewise.
62921         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
62922         * stdlib/strtod_l.c: Include <rounding-mode.h>.
62923         (MAX_VALUE): New macro.
62924         (MIN_VALUE): Likewise.
62925         (overflow_value): New function.
62926         (underflow_value): Likewise.
62927         (round_and_return): Use overflow_value and underflow_value to
62928         determine return values in overflow and underflow cases.  Use
62929         round_away to determine rounding depending on rounding mode.
62930         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
62931         determine return values in overflow and underflow cases.
62932         * stdlib/tst-strtod-round.c: Include <fenv.h>.
62933         (struct test_results): New structure.
62934         (struct test): Use struct test_results to store expected results
62935         for all rounding modes.
62936         (TEST): Include expected results for all rounding modes.
62937         (test_in_one_mode): New function.
62938         (do_test): Use test_in_one_mode to compute and check results.
62939         Check results for all rounding modes.
62940         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
62941         $(link-libm).
62943 2012-12-09  Allan McRae  <allan@archlinux.org>
62945         * sysdeps/i386/fpu/libm-test-ulps: Update
62947 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
62949         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
62950         (_G_int32_t): Likewise.
62951         (_G_uint16_t): Likewise.
62952         (_G_uint32_t): Likewise.
62953         (_G_HAVE_BOOL): Likewise.
62954         (_G_HAVE_ATEXIT): Likewise.
62955         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62956         (_G_HAVE_IO_FILE_OPEN): Likewise.
62957         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
62958         (_G_int32_t): Likewise.
62959         (_G_uint16_t): Likewise.
62960         (_G_uint32_t): Likewise.
62961         (_G_HAVE_BOOL): Likewise.
62962         (_G_HAVE_ATEXIT): Likewise.
62963         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62964         (_G_HAVE_IO_FILE_OPEN): Likewise.
62965         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
62966         (_G_int32_t): Likewise.
62967         (_G_uint16_t): Likewise.
62968         (_G_uint32_t): Likewise.
62969         (_G_HAVE_BOOL): Likewise.
62970         (_G_HAVE_ATEXIT): Likewise.
62971         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62972         (_G_HAVE_IO_FILE_OPEN): Likewise.
62974 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
62976         * csu/libc-tls.c: Update copyright years.
62978 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
62980         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
62981         [!_G_USING_THUNKS]: Remove conditional code.
62982         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
62983         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
62985         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
62986         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
62987         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62988         (_G_VTABLE_LABEL_PREFIX): Likewise.
62989         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62990         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62991         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62992         (_G_VTABLE_LABEL_PREFIX): Likewise.
62993         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
62994         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62995         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62996         (_G_VTABLE_LABEL_PREFIX): Likewise.
62997         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
62999 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
63001         * libio/Makefile: Include ../Makeconfig before tests.
63002         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
63003         only if $(build-shared) is yes.
63005         * iconv/gconv_db.c: Update copyright years.
63007 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63009         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
63010         unwind info if defined PIC. Fix special cases description.
63011         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
63013         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
63014         DP_HI_MASK entry.
63015         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
63017 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
63019         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
63021         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
63022         is NULL.
63024         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
63025         (LDLIBS-tst-chk4): This.
63026         (LDFLAGS-tst-chk5): Renamed to ...
63027         (LDLIBS-tst-chk5): This.
63028         (LDFLAGS-tst-chk6): Renamed to ...
63029         (LDLIBS-tst-chk6): This.
63030         (LDFLAGS-tst-lfschk4): Renamed to ...
63031         (LDLIBS-tst-lfschk4): This.
63032         (LDFLAGS-tst-lfschk5): Renamed to ...
63033         (LDLIBS-tst-lfschk5): This.
63034         (LDFLAGS-tst-lfschk6): Renamed to ...
63035         (LDLIBS-tst-lfschk6): This.
63037         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
63038         on $(common-objpfx)soversions.mk.
63040 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
63042         [BZ #10014]
63043         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
63044         example host name.
63046 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
63048         * malloc/arena.c (arena_get_retry): New function that gets
63049         another arena for the caller to try its request on.
63050         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
63051         current arena cannot fulfill the request.
63052         (__libc_memalign): Likewise.
63053         (__libc_memalign): Likewise.
63054         (__libc_pvalloc): Likewise.
63055         (__libc_calloc): Likewise.
63057 2012-09-05  John Tobey  <john.tobey@gmail.com>
63059         [BZ #13542]
63060         * manual/arith.texi (Operations on Complex): Fix description
63061         of carg branch cut.
63063 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
63065         [BZ #10014]
63066         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
63067         host name.
63069         [BZ #10038]
63070         * manual/memory.texi (Memory): Make order of menu items match
63071         order of sections.
63073 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63075         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
63076         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
63077         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
63079 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63081         * csu/libc-tls.c (static_dtv): Renamed to ...
63082         (_dl_static_dtv): This.  Make it global.
63083         (_dl_initial_dtv): Removed.
63084         (__libc_setup_tls): Updated.
63085         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
63086         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
63087         DL_INITIAL_DTV.
63089 2012-09-06  Petr Machata  <pmachata@redhat.com>
63091         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
63092         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
63093         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
63094         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
63096 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63098         [BZ #14545]
63099         * csu/libc-tls.c (_dl_initial_dtv): New variable.
63100         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
63101         freeing dtv[-1].
63103 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63105         [BZ #14544]
63106         * Makeconfig (link-static-before-libc): Replace $(+prector)
63107         with $(+prectorT).
63108         (link-static-after-libc): Replace $(+postctor) with
63109         $(+postctorT).
63110         (link-bounded): Replace $(+prector)/$(+postctor) with
63111         $(+prectorT)/$(+postctorT).
63112         (+prectorT): New macro.
63113         (+postctorT): Likewise.
63115 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
63117         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
63118         (round_str): Handle values above the maximum for IBM long double
63119         as inexact.
63120         * stdlib/tst-strtod-round.c (tests): Regenerated.
63122 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63124         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
63125         assembler flag.
63126         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
63127         zarch_nohighgprs around the zarch optimized routines.
63128         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
63129         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
63130         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
63131         for zarch.
63133 2012-09-05  David S. Miller  <davem@davemloft.net>
63135         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63137         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
63138         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
63139         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
63140         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
63141         entries.
63143 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63145         * malloc/arena.c: Fold copyright years.
63146         * malloc/mcheck.c, malloc/memusage.c: Likewise.
63148 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63150         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
63152 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63154         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
63156 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63158         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
63159         change internal state upon failure.
63161 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63163         * malloc/mcheck.c (mcheck_check_all): Fix typo.
63164         * malloc/memusage.c (mmap): Likewise.
63165         (mmap64, mremap): Likewise.  Adjust name in comment.
63167 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
63169         * libio/fileops.c: Fix typos in comments.
63170         * libio/oldfileops.c: Likewise.
63171         * libio/wfileops.c: Likewise.
63173 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
63175         [BZ #1349]
63176         * malloc/Makefile (tests): Add tst-malloc-usable test case.
63177         (tst-malloc-usable-ENV): Set environment for test case.
63178         * malloc/hooks.c (malloc_check_get_size): New function to get
63179         requested size.
63180         * malloc/malloc.c (musable): Use malloc_check_get_size.
63181         * malloc/tst-malloc-usable.c: New test case.
63183 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63185         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
63187 2012-09-05  Allan McRae  <allan@archlinux.org>
63189         [BZ #13966]
63190         * configure.in (CXX_SYSINCLUDES): Use compiler output to
63191         determine header location.
63192         * configure: Regenerated.
63194 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63196         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
63197         float format.
63198         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
63199         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
63200         format.
63201         (test): Regenerate.
63203 2012-09-04  David S. Miller  <davem@davemloft.net>
63205         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
63206         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
63207         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
63209 2012-09-04  Florian Weimer  <fweimer@redhat.com>
63211         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
63212         failures.
63214         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
63216 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
63218         [BZ #9914]
63219         * libio/iogetdelim.c: Include <limits.h>.
63220         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
63221         + len + 1 would overflow.
63223 2012-09-03  Andreas Jaeger  <aj@suse.de>
63225         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63226         * sysdeps/i386/fpu/libm-test-ulps: Update.
63228 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63230         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
63231         Add s_sinf-sse2, s_conf-sse2.
63233         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
63234         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
63235         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
63236         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
63238         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
63239         for using routine as __sinf_ia32.
63240         Use macro for function declaration and weak_alias.
63241         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
63242         for using routine as __cosf_ia32.
63243         Use macro for function declaration and weak_alias.
63245         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
63246         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
63248         * sysdeps/x86_64/fpu/s_sinf.S: New file.
63249         * sysdeps/x86_64/fpu/s_cosf.S: New file.
63250         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63252         * math/libm-test.inc (cos_test): Add more test cases.
63253         (sin_test): Likewise.
63254         (sincos_test): Likewise.
63256 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63258         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
63259         (IFUNC_RESOLVE): Make pointers to the specialized implementations
63260         hidden.
63261         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
63263 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
63265         [BZ #14538]
63266         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
63267         first element of the GOT.
63268         (elf_machine_load_address): Return the difference between
63269         the runtime address of _DYNAMIC and elf_machine_dynamic ().
63271 2012-09-01  Allan McRae  <allan@archlinux.org>
63273         [BZ #13412]
63274         * configure.in (AWK): Require gawk version 3.0 or later.
63275         * configure: Regenerated.
63277 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
63279         * sysdeps/unix/sysv/linux/kernel-features.h
63280         (__ASSUME_POSIX_CPU_TIMERS): Remove.
63281         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63282         [__NR_clock_getres]: Make code unconditional.
63283         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
63284         (clock_getcpuclockid): Remove code left unreachable by removal of
63285         conditionals.
63286         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
63287         code unconditional.
63288         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
63289         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
63290         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
63291         Make code unconditional.
63292         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
63293         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
63294         * sysdeps/unix/sysv/linux/clock_settime.c
63295         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
63296         conditional code.
63297         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
63298         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
63300 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
63302         [BZ #14476]
63303         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
63304         scripts/test-installation.pl.
63306         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
63307         and $ld_so_version if it is set.
63309 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
63311         [BZ #14516]
63312         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
63313         failure if reading from procfs failed.
63314         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
63316 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
63318         * sysdeps/unix/sysv/linux/kernel-features.h
63319         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
63320         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
63321         Remove conditional code.
63322         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63323         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
63324         Remove conditional code.
63325         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63326         * sysdeps/unix/sysv/linux/i386/fxstat.c
63327         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
63328         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63329         * sysdeps/unix/sysv/linux/i386/fxstatat.c
63330         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
63331         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63332         * sysdeps/unix/sysv/linux/i386/lxstat.c
63333         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
63334         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63335         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
63336         Remove conditional code.
63337         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63338         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
63339         Remove conditional code.
63340         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63341         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
63342         <kernel-features.h>.
63343         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
63344         Remove.
63345         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
63346         Remove conditional code.
63347         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63348         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
63349         Remove conditional.
63351 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
63353         [BZ #5400]
63354         * NEWS: Add fixed bug number.
63356 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
63358         [BZ #14519]
63359         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
63360         underflowing exponent in case of negative sign.
63361         * stdlib/tst-strtod-round-data: Add more tests.
63362         * stdlib/tst-strtod-round.c (tests): Regenerated.
63364         [BZ #3479]
63365         * stdlib/strtod_l.c (NDIG): Remove.
63366         (HEXNDIG): Likewise.
63367         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
63368         smallest representable value.
63369         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
63370         lie within an exact representation of 1/2 ulp of the result.
63371         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
63372         unconditionally.
63373         (TENS_P9_IDX): Define unconditionally.
63374         (TENS_P9_SIZE): Likewise.
63375         (TENS_P10_IDX): Likewise.
63376         (TENS_P10_SIZE): Likewise.
63377         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
63378         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
63379         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
63380         entries for 10^2^13 and 10^2^14.
63381         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
63382         (TENS_P13_IDX): Define.
63383         (TENS_P13_SIZE): Likewise.
63384         (TENS_P14_IDX): Likewise.
63385         (TENS_P14_SIZE): Likewise.
63386         (_fpioconst_pow10): Change array size to
63387         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
63388         unconditional.
63389         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
63390         1024]: Add entries for 10^2^13 and 10^2^14.
63391         [LAST_POW10 > _LAST_POW10]: Remove #error.
63392         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
63393         (_fpioconst_pow10): Change array size to
63394         FPIOCONST_POW10_ARRAY_SIZE.
63395         * stdlib/gen-fpioconst.c: New file.
63396         * stdlib/gen-tst-strtod-round.c: Likewise.
63397         * stdlib/tst-strtod-round-data: Likewise.
63398         * stdlib/tst-strtod-round.c: Likewise.
63399         * stdlib/Makefile (tests): Add tst-strtod-round.
63401         [BZ #14459]
63402         * stdlib/strtod_l.c: Include <stdint.h>.
63403         (NDEBUG): Do not define.
63404         (round_and_return): Change EXPONENT parameter to type intmax_t.
63405         Rearrange calculations to avoid internal overflow possibilities.
63406         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
63407         Rearrange calculations to avoid internal overflow possibilities.
63408         Assert that number fits inside MPNSIZE limbs.
63409         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
63410         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
63411         calculations and add assertions to avoid internal overflow
63412         possibilities.  Add casts to avoid signed/unsigned operations.
63413         * stdlib/tst-strtod-overflow.c: New file.
63414         * stdlib/Makefile (tests): Add tst-strtod-overflow.
63416 2012-08-25  Marek Polacek  <polacek@redhat.com>
63418         * time/time.h: Fix some typos in comments.
63420 2012-08-23  Roland McGrath  <roland@hack.frob.com>
63422         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
63423         * posix/tst-rfc3484-2.c: Likewise.
63424         * posix/tst-rfc3484-3.c: Likewise.
63426 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
63428         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
63429         (EF_ARM_ABI_FLOAT_HARD): Likewise.
63431 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
63433         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
63434         #include of fxstatat64.c.
63436 2012-08-22  Roland McGrath  <roland@hack.frob.com>
63438         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
63439         * shadow/getspent_r.c: Likewise.
63440         * shadow/getspnam.c: Likewise.
63441         * shadow/getspnam_r.c: Likewise.
63442         * gshadow/getsgent.c: Likewise.
63443         * gshadow/getsgent_r.c: Likewise.
63444         * gshadow/getsgnam.c: Likewise.
63445         * gshadow/getsgnam_r.c: Likewise.
63446         * inet/getnetbyad.c: Likewise.
63447         * inet/getnetbyad_r.c: Likewise.
63448         * inet/getnetbynm.c: Likewise.
63449         * inet/getnetbynm_r.c: Likewise.
63450         * inet/getnetent.c: Likewise.
63451         * inet/getnetent_r.c: Likewise.
63452         * inet/getproto.c: Likewise.
63453         * inet/getproto_r.c: Likewise.
63454         * inet/getprtent.c: Likewise.
63455         * inet/getprtent_r.c: Likewise.
63456         * inet/getprtname.c: Likewise.
63457         * inet/getprtname_r.c: Likewise.
63458         * inet/getrpcbyname.c: Likewise.
63459         * inet/getrpcbyname_r.c: Likewise.
63460         * inet/getrpcbynumber.c: Likewise.
63461         * inet/getrpcbynumber_r.c: Likewise.
63462         * inet/getrpcent.c: Likewise.
63463         * inet/getrpcent_r.c: Likewise.
63464         * inet/getaliasent.c: Likewise.
63465         * inet/getaliasent_r.c: Likewise.
63466         * inet/getaliasname.c: Likewise.
63467         * inet/getaliasname_r.c: Likewise.
63468         * nscd/getgrgid_r.c: Likewise.
63469         * nscd/getgrnam_r.c: Likewise.
63470         * nscd/gethstbyad_r.c: Likewise.
63471         * nscd/gethstbynm3_r.c: Likewise.
63472         * nscd/getpwnam_r.c: Likewise.
63473         * nscd/getpwuid_r.c: Likewise.
63474         * nscd/getsrvbynm_r.c: Likewise.
63475         * nscd/getsrvbypt_r.c: Likewise.
63476         * nscd/gai.c: Likewise.
63478         * configure.in (build_nscd): New substituted variable, set
63479         by --disable-build-nscd and defaults to $use_nscd.
63480         * configure: Regenerated.
63481         * config.make.in (build-nscd): New substituted variable.
63482         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
63483         Change conditional to require [$(build-nscd) = yes] as well.
63484         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
63486         [BZ# 13696]
63487         * configure.in (use_nscd): New substituted variable, set by
63488         --disable-nscd.  If enabled, define USE_NSCD.
63489         * configure: Regenerated.
63490         * config.h.in: Add USE_NSCD.
63491         * config.make.in (use-nscd): New substituted variable.
63492         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
63493         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
63494         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
63495         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
63496         (CFLAGS-getgrnam_r.c): Likewise.
63497         (CFLAGS-initgroups.c): Likewise.
63498         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
63499         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
63500         Variables removed.
63501         * inet/getnetgrent_r.c
63502         (nscd_setnetgrent): New function, broken out of ...
63503         (setnetgrent): ... here.  Call it.
63504         (innetgr): Conditionalize nscd bits on [USE_NSCD].
63505         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
63506         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
63507         * nscd/Makefile (routines, aux): Move definitions after include of
63508         Makeconfig.  Conditionalize on [$(use-nscd) != no].
63509         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
63510         Conditionalize on [USE_NSCD].
63511         (is_nscd, nscd_init_cb): Likewise.
63512         (nss_load_library): Conditionalize init callback on [USE_NSCD].
63513         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
63514         * nss/nss_db/db-init.c: Likewise.
63515         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
63516         [USE_NSCD].
63517         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
63518         (make_request): Use it.
63519         (cache_valid_p): New function.
63520         (__check_pf): Use it.
63521         * NEWS: Add item for --disable-nscd.
63523 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
63525         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
63526         to support sed >= 4.2.1-20-ga9bf076.
63527         * configure: Regenerated.
63529 2012-08-22  Roland McGrath  <roland@hack.frob.com>
63531         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
63532         Conditionalize whole body on [IREL].
63534 2012-08-22  Jeff Law <law@redhat.com>
63536         [BZ #14505]
63537         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
63538         if the family is PF_UNSPEC.
63540 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
63542         * Makerules (lib-version): Rename from V.
63543         (install-lib-nosubdir): Change V to lib-version.
63545 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
63547         [BZ #14252]
63548         * powerpc32/power6/wcschr.c: New file.
63549         * powerpc32/power6/wcscpy.c: New file.
63550         * powerpc32/power6/wcsrchr.c: New file.
63551         * powerpc64/power6/wcschr.c: New file.
63552         * powerpc64/power6/wcscpy.c: New file.
63553         * powerpc64/power6/wcsrchr.c: New file.
63555 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
63557         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
63558         (two_way_short_needle): Use it.
63559         * string/strstr.c (AVAILABLE1_USES_J): Define.
63560         * string/strcasestr.c: Likewise.
63562         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
63563         array references.
63564         * string/strcasestr.c (TOLOWER): Make side-effect safe.
63566         [BZ #11607]
63567         * NEWS: Add an entry.
63568         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
63569         define their defaults.
63570         (two_way_short_needle): Detect end-of-string on-the-fly.
63571         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
63572         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
63573         * string/bug-strcasestr1.c: New test.
63574         * string/Makefile: Run it.
63576 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
63578         [BZ #11607]
63579         * string/str-two-way.h (two_way_short_needle): Optimize matching of
63580         the first character.
63582 2012-08-21  Roland McGrath  <roland@hack.frob.com>
63584         * csu/elf-init.c (__libc_csu_irel): Function removed.
63585         * csu/libc-start.c (apply_irel): New function.
63586         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
63588 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
63590         * sysdeps/unix/sysv/linux/kernel-features.h
63591         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
63592         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
63593         <kernel-features.h>.
63594         [__NR_fadvise64_64]: Make code unconditional.
63595         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
63596         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
63597         !__NR_fadvise64_64)]: Likewise.
63598         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
63599         !__NR_fadvise64_64))]: Likewise.
63600         [__NR_fadvise64]: Make code unconditional.
63601         [!__NR_fadvise64]: Remove conditional code.
63602         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
63603         <kernel-features.h>.
63604         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63605         unconditional.
63606         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63607         conditional code.
63608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
63609         not include <kernel-features.h>.
63610         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63611         unconditional.
63612         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63613         conditional code.
63614         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
63615         include <kernel-features.h>.
63616         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63617         unconditional.
63618         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63619         conditional code.
63621 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
63623         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
63624         slight instruction rearrangements per scrollpipe analysis.
63625         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
63627 2012-08-20  Roland McGrath  <roland@hack.frob.com>
63629         * manual/syslog.texi (syslog; vsyslog, closelog):
63630         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
63631         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
63633         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
63634         DSOCAPS to match condition on defining it.
63636 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
63638         * sysdeps/unix/sysv/linux/kernel-features.h
63639         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
63640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
63641         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63642         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
63644         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63645         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
63647         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63648         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63650         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
63651         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
63653         * sysdeps/unix/sysv/linux/kernel-features.h
63654         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
63655         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
63656         unconditional.
63657         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63658         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
63659         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
63660         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63661         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
63662         Make code unconditional.
63663         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63664         (__mmap64) [!__NR_mmap2]: Likewise.
63665         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
63666         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
63667         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63668         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
63669         [__NR_mmap2]: Make code unconditional.
63670         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63671         (__mmap64) [!__NR_mmap2]: Likewise.
63673 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63675         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
63677 2012-08-18  Andreas Jaeger  <aj@suse.de>
63679         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
63681 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
63683         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
63684         * include/unistd.h (__have_sock_cloexec): Likewise.
63685         (__have_pipe2): Likewise.
63686         (__have_dup3): Likewise.
63688 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
63690         [BZ #9685]
63691         * include/unistd.h (__have_pipe2): Change define into an extern int.
63692         (__have_dup3): Likewise.
63693         * socket/have_sock_cloexec.c: Include fcntl.h.
63694         (__have_pipe2): New variable.
63695         (__have_dup3): Likewise.
63697 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
63699         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
63701 2012-08-17  Marek Polacek  <polacek@redhat.com>
63703         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
63704         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
63706 2012-08-17  Roland McGrath  <roland@hack.frob.com>
63708         * configure.in: Add AC_SUBST for sysheaders.
63709         * configure: Regenerated.
63710         * config.make.in (sysheaders): New substituted variable.
63712         * sysdeps/unix/mkfifo.c: Moved ...
63713         * sysdeps/posix/mkfifo.c: ... here.
63714         * sysdeps/unix/mkfifoat.c: Moved ...
63715         * sysdeps/posix/mkfifoat.c: ... here.
63717         * sysdeps/unix/utime.c: Moved ...
63718         * sysdeps/posix/utime.c: ... here.
63720         * sysdeps/unix/time.c: Moved ...
63721         * sysdeps/posix/time.c: ... here.
63722         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
63723         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
63725         * sysdeps/unix/nice.c: Moved ...
63726         * sysdeps/posix/nice.c: ... here.
63728         * sysdeps/unix/alarm.c: Moved ...
63729         * sysdeps/posix/alarm.c: ... here.
63731         * intl/Makefile ($(codeset_mo)): Depend on the input file.
63733 2012-08-17  Jeff Law <law@redhat.com>
63735         * intl/Makefile (codeset_mo): New variable.
63736         ($(codeset_mo)): New target.
63737         (tst-codeset.out): Depend on that.  Remove explicit rule.
63738         (tst-gettext3.out, tst-gettext5.out): Likewise.
63739         (LOCPATH-ENV, tst-codeset-ENV): New variables.
63740         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
63741         * intl/tst-codeset.sh: Remove.
63742         * intl/tst-gettext3.sh: Likewise.
63743         * intl/tst-gettext5.sh: Likewise.
63745 2012-08-17  Roland McGrath  <roland@hack.frob.com>
63747         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
63748         * sysdeps/unix/syscalls.list: ... here.
63750         * sysdeps/posix/getaddrinfo.c
63751         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
63752         (gaiconf_init, gaiconf_reload): Use them.
63753         [!_STATBUF_ST_NSEC]
63754         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
63755         Define using time_t rather than struct timespec.
63757         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
63758         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
63759         Macros removed.
63760         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
63761         [!NO_THREADS].
63762         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
63763         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
63764         Likewise.
63766         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
63767         __libc_cleanup_push argument.
63769         * bits/param.h: New file.
63770         * misc/sys/param.h: New file.
63771         * include/sys/param.h: New file.
63772         * misc/Makefile (headers): Add bits/param.h.
63773         * sysdeps/generic/sys/param.h: File removed.
63774         * sysdeps/unix/sysv/linux/bits/param.h: New file.
63775         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
63776         * sysdeps/mach/hurd/bits/param.h: New file.
63777         * sysdeps/mach/hurd/sys/param.h: File removed.
63779         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
63780         last change.
63782         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
63783         [_IO_MTSAFE_IO].
63784         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
63785         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
63786         New macros.
63788         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
63789         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
63790         rather than -D_IO_MTSAFE_IO conditionally.
63791         * stdio-common/Makefile (CPPFLAGS): Likewise.
63792         * wcsmbs/Makefile (CPPFLAGS): Likewise.
63793         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
63794         Use $(libio-mtsafe).
63795         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
63796         of -D_IO_MTSAFE_IO.
63797         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
63798         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
63799         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
63800         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
63801         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
63802         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
63803         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
63804         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
63805         (CFLAGS-fread_u_chk.c): Likewise.
63806         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
63807         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
63808         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
63809         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
63810         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
63811         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
63812         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
63813         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
63814         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
63816         * libio/Makefile: Test [$(libc-reentrant) = yes]
63817         instead of [$(filter %REENTRANT, $(defines)) nonempty].
63819         * Makeconfig
63820         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
63821         * sysdeps/pthread/configure: File removed.
63822         * sysdeps/pthread/Makeconfig: New file.
63823         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
63824         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
63826 2012-08-16  Gary Benson  <gbenson@redhat.com>
63828         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
63829         unmapping the first object in a namespace.
63831 2012-08-16  Roland McGrath  <roland@hack.frob.com>
63833         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
63834         (__internal_setnetgrent): ... this.  Add internal_function to
63835         definition.  Add libc_hidden_def.
63836         (setnetgrent): Update caller.
63837         (internal_endnetgrent): Renamed to ...
63838         (__internal_endnetgrent): ... this.  Add internal_function to
63839         definition.  Add libc_hidden_def.
63840         (endnetgrent): Update caller.
63841         (internal_getnetgrent_r): Renamed to ...
63842         (__internal_getnetgrent_r): ... this.  Add internal_function to
63843         definition.  Add libc_hidden_def.
63844         (__getnetgrent_r): Update caller.
63845         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
63847 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
63849         * stdlib/longlong.h: Update from GCC.
63851 2012-08-16  Roland McGrath  <roland@hack.frob.com>
63853         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
63854         on _QL, which is set by umul_ppmm but never used.
63855         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
63856         variables, which are set by GMP macros but never used.
63857         * stdio-common/_itowa.c (_itowa): Likewise.
63858         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
63859         * stdlib/mod_1.c (mpn_mod_1): Likewise.
63861 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
63863         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
63864         struct La_sh_regs is not constant.
63865         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
63866         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
63867         and struct La_sparc64_regs are not constant.
63869 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
63871         * sysdeps/unix/sysv/linux/kernel-features.h
63872         (__ASSUME_POSIX_TIMERS): Remove.
63873         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63874         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63875         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
63876         Make code unconditional.
63877         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63878         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
63879         Make code unconditional.
63880         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63881         * sysdeps/unix/sysv/linux/clock_nanosleep.c
63882         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
63883         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63884         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
63885         Make code unconditional.
63886         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63887         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
63888         (__libc_missing_posix_timers): Remove.
63890 2012-08-15  Roland McGrath  <roland@hack.frob.com>
63892         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
63893         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
63895         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
63897         * elf/dl-sym.c: Include <stdlib.h>.
63899         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
63900         constants, which avoids warnings in 32-bit builds.
63902         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
63903         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
63905         * misc/lseek.c: File moved to ...
63906         * io/lseek.c: ... here.
63908         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
63910         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
63911         shifting LEN more than 31 bits at once.
63913 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63915         [BZ #14195]
63916         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
63917         segmentation fault for a case of two empty input strings.
63918         * string/test-strncasecmp.c (check1): Renamed to...
63919         (bz12205): ...this.
63920         (bz14195): Add new testcase for two empty input strings and N > 0.
63921         (test_main): Call new testcase, adapt for renamed function.
63923 2012-08-15  Andreas Jaeger  <aj@suse.de>
63925         [BZ #14090]
63926         * crypt/md5test2.c: New test, based on test supplied by Serge
63927         Belyshev <belyshev@depni.sinp.msu.ru>.
63928         * crypt/Makefile (xtests): Add md5test-giant..
63929         * crypt/Makefile ($(objpfx)md5test-giant): Add.
63931 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
63933         [BZ #14090]
63934         * crypt/md5.c (md5_process_block): Don't assume the buffer
63935         length is less than 2**32.
63936         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
63937         length is less than 2**64.
63939 2012-08-15  Roland McGrath  <roland@hack.frob.com>
63941         * string/str-two-way.h: Include <sys/param.h>.
63942         (MAX): Macro removed.
63944         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
63945         Move #define and #undef of memmove to just before and after
63946         including <string.h>.
63948         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
63949         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
63950         and after including <string.h>.  Move declarations of
63951         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
63952         to before #include "string/memmove.c".
63954         * include/dirent.h: Declare __getdirentries.
63956         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
63957         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
63959 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
63961         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
63962         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
63963         * sysdeps/i386/configure: Regenerated.
63964         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
63965         STABS_CURRENT_FILE, and STABS_FUN.
63966         (END): Remove call to STABS_FUN_END.
63967         (STABS_CURRENT_FILE1): Delete.
63968         (STABS_CURRENT_FILE): Likewise.
63969         (STABS_FUN): Likewise.
63970         (STABS_FUN_END): Likewise.
63971         (STABS_FUN2): Likewise.
63972         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
63973         * sysdeps/x86_64/configure: Regenerated.
63975 2012-08-14  Roland McGrath  <roland@hack.frob.com>
63977         * elf/dl-open.c: Include <atomic.h>.
63978         * elf/dl-lookup.c: Likewise.
63980 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
63982         * sysdeps/unix/sysv/linux/kernel-features.h
63983         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
63984         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
63985         unconditionally.
63986         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
63987         unconditionally.
63988         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
63989         condition on __ASSUME_CLONE_THREAD_FLAGS.
63991 2012-08-14  Andreas Jaeger  <aj@suse.de>
63993         * sysdeps/i386/fpu/libm-test-ulps: Update.
63995 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
63997         * include/atomic.h (atomic_exchange_and_add): Split into ...
63998         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
63999         New atomic macros.
64001 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
64003         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64005 2012-08-13  Jeff Law <law@redhat.com>
64007         * manual/stdio.texi (snprintf): Clarify handling of the trailing
64008         null byte in the output string.
64010 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
64012         * sysdeps/unix/sysv/linux/kernel-features.h
64013         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
64014         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
64015         (__ASSUME_ARG_MAX_STACK_BASED): Define.
64016         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
64017         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
64018         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
64019         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
64021 2012-08-09  Jeff Law <law@redhat.com>
64023         [BZ #13939]
64024         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
64025         When avoid_arena is set, don't retry in the that arena.  Pick the
64026         next one, whatever it might be.
64027         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
64028         (arena_lock): Pass in new parameter to arena_get2.
64029         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
64030         arena_get2.
64031         (__libc_malloc): Unify retrying after main arena failure with
64032         __libc_memalign version.
64033         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
64035 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
64037         [BZ #14166]
64038         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
64039         to __redirect_strstr.
64040         (__strstr_sse42): Use typeof __redirect_strstr.
64041         (__strstr_ia32): Likewise.
64042         (__libc_strstr): New prototype.
64043         (strstr): Renamed to ...
64044         (__libc_strstr): This.
64045         (strstr): New strong alias of __libc_strstr.
64046         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
64047         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
64048         __redirect_time.
64049         Include <time.h>.
64050         (__libc_time): New prototype.
64051         (time_ifunc): Replace time with __libc_time.
64052         (time): New strong alias and hidden definition of __libc_time.
64053         (__GI_time): Remove strong alias.
64054         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
64055         Include <stddef.h>.
64056         (memmove): Redefined to __redirect_memmove.
64057         (__memmove_sse2): Use typeof __redirect_memmove.
64058         (__memmove_ssse3): Likewise.
64059         (__memmove_ssse3_back): Likewise.
64060         (__libc_memmove): New prototype.
64061         (memmove): Renamed to ...
64062         (__libc_memmove): This.
64063         (memmove): New strong alias of __libc_memmove.
64065 2012-08-08  Mark Salter  <msalter@redhat.com>
64067         * elf/elf.h
64068         (R_MN10300_TLS_GD): Define.
64069         (R_MN10300_TLS_LD): Likewise.
64070         (R_MN10300_TLS_LDO): Likewise.
64071         (R_MN10300_TLS_GOTIE): Likewise.
64072         (R_MN10300_TLS_IE): Likewise.
64073         (R_MN10300_TLS_LE): Likewise.
64074         (R_MN10300_TLS_DTPMOD): Likewise.
64075         (R_MN10300_TLS_DTPOFF): Likewise.
64076         (R_MN10300_TLS_TPOFF): Likewise.
64077         (R_MN10300_SYM_DIFF): Likewise.
64078         (R_MN10300_ALIGN): Likewise.
64079         (R_MN10300_NUM): Update.
64081 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
64083         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
64084         Remove.
64086 2012-08-08  Roland McGrath  <roland@hack.frob.com>
64088         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
64090         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
64091         sysdeps/unix -> sysdeps/posix move.
64092         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64094 2012-08-07      Allan McRae     <allan@archlinux.org>
64096         [BZ #14303]
64097         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
64098         (SUNOS_CPP): Likewise.
64099         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
64100         not found.
64101         (open_input): Call CPP using execvp.
64103 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
64105         * sysdeps/unix/sysv/linux/kernel-features.h
64106         (__ASSUME_PROT_GROWSUPDOWN): Remove.
64107         (__ASSUME_NO_CLONE_DETACHED): Likewise.
64108         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
64109         (__ASSUME_WAITID_SYSCALL): Likewise.
64110         * sysdeps/unix/sysv/linux/dl-execstack.c
64111         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
64112         code unconditional.
64113         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
64114         conditional code.
64115         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
64116         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
64117         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
64118         code.
64119         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
64120         unconditional.
64121         [__ASSUME_WAITID_SYSCALL]: Likewise.
64122         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
64124 2012-08-07  Roland McGrath  <roland@hack.frob.com>
64126         * sysdeps/unix/closedir.c: Renamed to ...
64127         * sysdeps/posix/closedir.c: ... here.
64128         * sysdeps/unix/dirfd.c: Renamed to ...
64129         * sysdeps/posix/dirfd.c: ... here.
64130         * sysdeps/unix/dirstream.h: Renamed to ...
64131         * sysdeps/posix/dirstream.h: ... here.
64132         * sysdeps/unix/fdopendir.c: Renamed to ...
64133         * sysdeps/posix/fdopendir.c: ... here.
64134         * sysdeps/unix/opendir.c: Renamed to ...
64135         * sysdeps/posix/opendir.c: ... here.
64136         * sysdeps/unix/readdir.c: Renamed to ...
64137         * sysdeps/posix/readdir.c: ... here.
64138         * sysdeps/unix/readdir_r.c: Renamed to ...
64139         * sysdeps/posix/readdir_r.c: ... here.
64140         * sysdeps/unix/rewinddir.c: Renamed to ...
64141         * sysdeps/posix/rewinddir.c: ... here.
64142         * sysdeps/unix/seekdir.c: Renamed to ...
64143         * sysdeps/posix/seekdir.c: ... here.
64144         * sysdeps/unix/telldir.c: Renamed to ...
64145         * sysdeps/posix/telldir.c: ... here.
64146         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
64147         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
64148         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
64149         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
64151         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
64152         * bits/fcntl.h: ... here.
64154         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
64155         not 0.
64156         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
64157         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
64158         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
64159         (struct flock): Move l_start, l_len to the beginning.
64160         Use __pid_t for l_pid.
64161         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
64162         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
64163         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
64164         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
64165         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
64166         [__USE_LARGEFILE64] (struct flock64): New type.
64167         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
64169         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
64170         * bits/dirent.h: ... here.
64172         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
64173         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
64175 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
64177         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64178         Change from 2.6.0 to 2.6.16.
64179         * sysdeps/unix/sysv/linux/configure: Regenerated.
64180         * sysdeps/unix/sysv/linux/kernel-features.h
64181         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
64182         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
64183         version.
64184         (__ASSUME_UTIMES): Likewise.
64185         (__ASSUME_CLONE_STOPPED): Remove.
64186         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
64187         architectures, not kernel version.
64188         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
64189         (__ASSUME_NO_CLONE_DETACHED): Likewise.
64190         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
64191         (__ASSUME_WAITID_SYSCALL): Likewise.
64192         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
64193         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
64194         * README: State 2.6.16 as minimum Linux kernel version.  Do not
64195         refer to older versions.
64197 2012-08-06  Roland McGrath  <roland@hack.frob.com>
64199         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
64200         Define alphasort64 as an alias.
64201         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
64202         Define versionsort64 as an alias.
64203         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
64204         Define scandir64 as an alias.
64205         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
64206         Define scandirat64 as an alias.
64207         * dirent/alphasort64.c (alphasort64):
64208         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
64209         * dirent/versionsort64.c: Likewise.
64210         * dirent/scandir64.c: Likewise.
64211         * dirent/scandirat64.c: Likewise.
64212         * sysdeps/wordsize-64/alphasort.c: File removed.
64213         * sysdeps/wordsize-64/alphasort64.c: File removed.
64214         * sysdeps/wordsize-64/scandir.c: File removed.
64215         * sysdeps/wordsize-64/scandir64.c: File removed.
64216         * sysdeps/wordsize-64/scandirat.c: File removed.
64217         * sysdeps/wordsize-64/scandirat64.c: File removed.
64218         * sysdeps/wordsize-64/versionsort.c: File removed.
64219         * sysdeps/wordsize-64/versionsort64.c: File removed.
64220         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
64221         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
64222         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
64223         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
64224         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
64225         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
64226         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
64227         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
64229         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
64230         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
64231         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
64232         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64233         [defined __arch64__ || defined __sparcv9]
64234         (__INO_T_MATCHES_INO64_T): New macro.
64235         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
64236         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
64237         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
64238         * sysdeps/unix/sysv/linux/bits/dirent.h
64239         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
64240         (_DIRENT_MATCHES_DIRENT64): New macro.
64242         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
64243         Define lockf64 as an alias.
64244         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
64245         Define fseeko64 as an alias.
64246         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
64247         Define ftello64 as an alias.
64248         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
64249         Define _IO_fgetpos64 and fgetpos64 as aliases.
64250         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
64251         Define _IO_fsetpos64 and fsetpos64 as aliases.
64252         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
64253         Conditionalize body on this.
64254         * libio/fseeko64.c: Likewise.
64255         * libio/ftello64.c: Likewise.
64256         * libio/iofgetpos64.c: Likewise.
64257         * libio/iofsetpos64.c: Likewise.
64258         * sysdeps/wordsize-64/lockf.c: File removed.
64259         * sysdeps/wordsize-64/lockf64.c: File removed.
64260         * sysdeps/wordsize-64/fseeko.c: File removed.
64261         * sysdeps/wordsize-64/fseeko64.c: File removed.
64262         * sysdeps/wordsize-64/ftello.c: File removed.
64263         * sysdeps/wordsize-64/ftello64.c: File removed.
64264         * sysdeps/wordsize-64/iofgetpos.c: File removed.
64265         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
64266         * sysdeps/wordsize-64/iofsetpos.c: File removed.
64267         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
64268         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
64269         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
64270         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
64271         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
64272         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
64273         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
64274         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
64275         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
64276         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
64277         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
64279         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
64280         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
64281         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
64282         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64283         [defined __arch64__ || defined __sparcv9]
64284         (__OFF_T_MATCHES_OFF64_T): New macro.
64285         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
64286         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
64287         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64288         (__OFF_T_MATCHES_OFF64_T): New macro.
64290 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
64292         * stdlib/secure-getenv.c (__secure_getenv): Replace
64293         GLIBC_2_16 with GLIBC_2_17.
64295 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
64297         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
64298         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
64300 2012-08-03  David S. Miller  <davem@davemloft.net>
64302         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64304 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
64306         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
64307         Remove.
64308         (__ASSUME_CORRECT_SI_PID): Likewise.
64309         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
64310         (__ASSUME_TMPFS_NAME): Likewise.
64311         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
64312         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
64313         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
64314         (HAVE_AUX_SECURE): Make definition unconditional.
64315         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
64316         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
64318 2012-08-03  Roland McGrath  <roland@hack.frob.com>
64320         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
64321         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
64322         * sysdeps/mach/hurd/eloop-threshold.h: New file.
64323         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
64324         __eloop_threshold instead of SYMLOOP_MAX.
64326         * sysdeps/generic/eloop-threshold.h: New file.
64327         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
64328         of MAXSYMLINKS.
64329         * elf/chroot_canon.c (chroot_canon): Likewise.
64331 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
64333         [BZ #13717]
64334         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64335         Change to 2.6.0 everywhere.
64336         * sysdeps/unix/sysv/linux/configure: Regenerated.
64337         * sysdeps/unix/sysv/linux/kernel-features.h
64338         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
64339         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
64340         kernel versions.
64341         (__ASSUME_POSIX_TIMERS): Define unconditionally.
64342         (__ASSUME_FUTEX_REQUEUE): Remove.
64343         (__ASSUME_STATFS64): Define unconditionally.
64344         (__ASSUME_AT_SECURE): Likewise.
64345         (__ASSUME_CORRECT_SI_PID): Likewise.
64346         (__ASSUME_TGKILL): Define without depending on kernel version for
64347         i386.
64348         (__ASSUME_UTIMES): Likewise.
64349         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
64350         kernel version.
64351         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
64352         (__ASSUME_TMPFS_NAME): Likewise.
64353         * README: Update reference to Linux kernel versions.
64355 2012-08-02  Marek Polacek  <polacek@redhat.com>
64357         [BZ# 14150]
64358         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
64359         libc_cv_asm_type_prefix with %.
64360         * configure: Regenerated.
64361         * include/libc-symbols.h: Remove comment about
64362         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
64363         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
64364         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
64365         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
64366         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
64367         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
64368         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
64369         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
64370         * elf/tst-unique2mod1.c: Likewise.
64371         * elf/tst-unique1mod2.c: Likewise.
64372         * elf/tst-unique1mod1.c: Likewise.
64373         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
64374         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
64375         Replace ASM_TYPE_DIRECTIVE with .type.
64376         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64377         * sysdeps/i386/sysdep.h: Likewise.
64378         * sysdeps/x86_64/sysdep.h: Likewise.
64379         * sysdeps/sh/sysdep.h: Likewise.
64380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
64381         Do not define ASM_TYPE_DIRECTIVE.
64382         * sysdeps/powerpc/sysdep.h: Likewise.
64383         * sysdeps/powerpc/powerpc32/sysdep.h:
64384         Replace ASM_TYPE_DIRECTIVE with .type.
64385         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
64386         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64387         * sysdeps/i386/fpu/e_powf.S: Likewise.
64388         * sysdeps/i386/fpu/e_expl.S: Likewise.
64389         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64390         * sysdeps/i386/fpu/e_acosh.S: Likewise.
64391         * sysdeps/i386/fpu/e_pow.S: Likewise.
64392         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
64393         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64394         * sysdeps/i386/fpu/s_expm1.S: Likewise.
64395         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
64396         * sysdeps/i386/fpu/e_log2.S: Likewise.
64397         * sysdeps/i386/fpu/e_log2l.S: Likewise.
64398         * sysdeps/i386/fpu/e_scalb.S: Likewise.
64399         * sysdeps/i386/fpu/e_powl.S: Likewise.
64400         * sysdeps/i386/fpu/e_log10f.S: Likewise.
64401         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
64402         * sysdeps/i386/fpu/e_logl.S: Likewise.
64403         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
64404         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
64405         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
64406         * sysdeps/i386/fpu/e_log2f.S: Likewise.
64407         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64408         * sysdeps/i386/fpu/e_log.S: Likewise.
64409         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64410         * sysdeps/i386/fpu/e_logf.S: Likewise.
64411         * sysdeps/i386/fpu/e_log10l.S: Likewise.
64412         * sysdeps/i386/fpu/e_atanh.S: Likewise.
64413         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
64414         * sysdeps/i386/fpu/e_log10.S: Likewise.
64415         * sysdeps/i386/fpu/s_frexp.S: Likewise.
64416         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64417         * sysdeps/i386/fpu/s_asinh.S: Likewise.
64418         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
64419         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64420         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
64421         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
64422         * sysdeps/i386/i686/strtok.S: Likewise.
64423         * sysdeps/i386/i386-mcount.S: Likewise.
64424         * sysdeps/i386/strtok.S: Likewise.
64425         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
64426         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64427         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64428         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64429         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
64430         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64431         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
64432         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
64433         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64434         * sysdeps/x86_64/_mcount.S: Likewise.
64435         * sysdeps/x86_64/strtok.S: Likewise.
64436         * sysdeps/sh/_mcount.S: Likewise.
64438 2012-08-01  Roland McGrath  <roland@hack.frob.com>
64440         * libio/iofopen.c: Include <fcntl.h>.
64441         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
64442         (_IO_fopen64, fopen64): Define as aliases.
64443         * libio/iofopen64.c: Include <fcntl.h>.
64444         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
64445         Conditionalize body on this.
64446         * sysdeps/wordsize-64/iofopen.c: File removed.
64447         * sysdeps/wordsize-64/iofopen64.c: File removed.
64449 2012-08-01  Marek Polacek  <polacek@redhat.com>
64451         * libc/Makeconfig: Use elf in place of binfmt-subdir.
64452         Use dlfcn directly instead of a variable.
64453         (binfmt-subdir): Do not define.
64454         (dlfcn): Likewise.
64456 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
64458         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
64459         Remove all definitions.
64460         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
64461         <kernel-features.h>.
64462         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
64463         (miss_F_GETOWN_EX): Remove all definitions.
64464         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
64465         macro definition.
64466         [!__ASSUME_FCNTL64]: Remove conditional code.
64467         [__ASSUME_FCNTL64]: Make code unconditional.
64468         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
64469         <kernel-features.h>.
64470         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
64471         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
64472         (lockf64) [__NR_fcntl64]: Make code unconditional.
64473         (lockf64) [__ASSUME_FCNTL64]: Likewise.
64475         * sysdeps/unix/sysv/linux/kernel-features.h
64476         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
64477         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
64478         Make code unconditional.
64479         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64480         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
64482         [__NR_vfork]: Make code unconditional.
64483         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64484         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
64486         [__NR_vfork]: Make code unconditional.
64487         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64488         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64490 2012-08-01  Roland McGrath  <roland@hack.frob.com>
64492         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
64493         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
64495         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64496         Define mkstemp64 as an alias.
64497         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64498         Define mkstemps64 as an alias.
64499         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64500         Define mkostemp64 as an alias.
64501         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64502         Define mkostemps64 as an alias.
64503         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
64504         Conditionalize body on this.
64505         * misc/mkostemp64.c: Likewise.
64506         * misc/mkostemps64.c: Likewise.
64507         * misc/mkstemps64.c: Likewise.
64508         * sysdeps/wordsize-64/mkstemp64.c: File removed.
64509         * sysdeps/wordsize-64/mkostemp64.c: File removed.
64510         * sysdeps/wordsize-64/mkostemp.c: File removed.
64511         * sysdeps/wordsize-64/mkstemp.c: File removed.
64512         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
64513         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
64514         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
64515         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
64517         [BZ #14138]
64518         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
64519         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
64520         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
64521         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
64523         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
64524         compat_symbol macros from <shlib-compat.h> rather than the underlying
64525         default_symbol_version and symbol_version macros, so that DEFAULT
64526         lines in shlib-versions are respected.
64527         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
64529 2012-08-01  Florian Weimer  <fweimer@redhat.com>
64531         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
64532         Declare with warn_unused_result.
64533         (setgid, setregid, setegid, setresgid): Likewise.
64534         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
64535         Likewise.
64536         * WUR-REPORT: Remove set*id functions.
64538 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
64540         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
64542 2012-07-31  Roland McGrath  <roland@hack.frob.com>
64544         [BZ #10191]
64545         * include/sys/socket.h (__libc_accept, __libc_accept4):
64546         Add attribute_hidden.
64547         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
64549         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
64550         use of PTR_MANGLE.
64551         * inet/getnetgrent_r.c (setup): Likewise.
64553         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
64555 2012-07-31  David S. Miller  <davem@davemloft.net>
64557         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64559 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
64561         [BZ #13629]
64562         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
64563         value between 1.0 and 2.0 and smaller part has absolute value less
64564         than 1.0.
64565         * math/s_clog10.c (__clog10): Likewise.
64566         * math/s_clog10f.c (__clog10f): Likewise.
64567         * math/s_clog10l.c (__clog10l): Likewise.
64568         * math/s_clogf.c (__clogf): Likewise.
64569         * math/s_clogl.c (__clogl): Likewise.
64570         * math/libm-test.inc (clog_test): Add more tests.
64571         (clog10_test): Likewise.
64572         * sysdeps/i386/fpu/libm-test-ulps: Update.
64573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64575 2012-07-31  Florian Weimer  <fweimer@redhat.com>
64577         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
64578         Exit with zero in case no suitable GID is found, and write a
64579         message to standard error.
64581 2012-07-30  Roland McGrath  <roland@hack.frob.com>
64583         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
64584         rather than to 1.
64585         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
64586         (MAXPATHLEN): Removed.
64587         (NOGROUP, NODEV): New macros.
64588         (setbit, clrbit, isset, isclr): New macros.
64589         (howmany, roundup, powerof2): New macros.
64590         (DEV_BSIZE): New macro.
64592         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
64593         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
64595         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
64596         definition on [!__NO_LONG_DOUBLE_MATH].
64598         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
64599         PTR_MANGLE and PTR_DEMANGLE.
64601         * socket/accept4.c (accept4): Rename to __libc_accept4.
64602         Define accept4 as a weak alias.
64604         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
64605         on [_DIRENT_HAVE_D_TYPE].
64606         * io/ftw.c (ftw_dir): Likewise.
64608         * io/xmknod.c (__xmknod): Don't check PATH for being null.
64610         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
64612         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
64613         Use the BSD numbers rather than the arbitrary ones we had.
64614         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
64615         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
64616         (SIGXCPU, SIGXFSZ): New macros.
64617         (_NSIG): Now 32.
64619         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
64620         initializer on [_LIBC_REENTRANT].
64622         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
64623         definitions inside [_POSIX_MAPPED_FILES].
64625         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
64627         * dirent/opendir.c: Include <fcntl.h>.
64629         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
64630         (__libc_getspecific): Likewise.
64631         (__libc_key_create): Likewise.
64633         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
64634         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
64635         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
64636         (tmpfile64): Define as alias.
64637         * sysdeps/wordsize-64/tmpfile.c: File removed.
64638         * sysdeps/wordsize-64/tmpfile64.c: File removed.
64639         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
64640         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
64642         * stdio-common/vfscanf.c: Include <stdbool.h>.
64643         * nss/makedb.c: Likewise.
64644         * stdio-common/_i18n_number.h: Likewise.
64645         * argp/argp-help.c: Likewise.
64646         * posix/wordexp.c: Likewise.
64647         * sysdeps/posix/spawni.c: Likewise.
64648         * nss/nss_files/files-initgroups.c: Likewise.
64649         * stdio-common/reg-modifier.c: Include <stdlib.h>.
64650         * nss/nss_files/files-initgroups.c: Likewise.
64651         * nss/nss_db/db-netgrp.c: Likewise.
64652         * nss/nss_db/db-initgroups.c: Likewise.
64653         * io/fchmodat.c: Include <sys/stat.h>.
64655         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
64656         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
64658         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
64659         [HAVE_MMAP].
64661         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
64662         Add multiple inclusion protection.
64664 2012-07-27  David S. Miller  <davem@davemloft.net>
64666         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64668 2012-07-27  Gary Benson  <gbenson@redhat.com>
64670         [BZ #14298]
64671         * elf/rtld.c: Include <stap-probe.h>.
64672         (dl_main): Added static probes "init_start" and "init_complete".
64673         * elf/dl-load.c: Include <stap-probe.h>.
64674         (lose): Take new parameter "nsid".
64675         Added static probe "map_failed".
64676         (_dl_map_object_from_fd): Pass namespace id to lose.
64677         Added static probe "map_start".
64678         (open_verify): Pass namespace id to lose.
64679         * elf/dl-open.c: Include <stap-probe.h>.
64680         (dl_open_worker) Added static probes "map_complete", "reloc_start"
64681         and "reloc_complete".
64682         * elf/dl-close.c: Include <stap-probe.h>.
64683         (_dl_close_worker): Added static probes "unmap_start" and
64684         "unmap_complete".
64685         * elf/rtld-debugger-interface.txt: New file documenting the above.
64687 2012-07-26  Roland McGrath  <roland@hack.frob.com>
64689         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
64690         rather than a string variable.
64691         * sunrpc/rpc_main.c (h_output): Likewise.
64692         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
64694 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
64696         * inet/check_native.c: New file.
64698 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
64700         [BZ #13629]
64701         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
64702         if larger part has absolute value 1.0.
64703         * math/s_clog10.c (__clog10): Likewise.
64704         * math/s_clog10f.c (__clog10f): Likewise.
64705         * math/s_clog10l.c (__clog10l): Likewise.
64706         * math/s_clogf.c (__clogf): Likewise.
64707         * math/s_clogl.c (__clogl): Likewise.
64708         * math/libm-test.inc (clog_test): Add more tests.
64709         (clog10_test): Likewise.
64710         * sysdeps/i386/fpu/libm-test-ulps: Update.
64711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64713         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
64714         (pltexit): Likewise.
64715         (La_regs): Likewise.
64716         (La_retval): Likewise.
64717         (int_retval): Likewise.
64718         Update #error for removed macros to refer only to definitions in
64719         tst-audit.h.
64720         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
64721         macro.
64722         (pltexit): Likewise.
64723         (La_regs): Likewise.
64724         (La_retval): Likewise.
64725         (int_retval): Likewise.
64726         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
64727         macro.
64728         (pltexit): Likewise.
64729         (La_regs): Likewise.
64730         (La_retval): Likewise.
64731         (int_retval): Likewise.
64732         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
64733         macro.
64734         (pltexit): Likewise.
64735         (La_regs): Likewise.
64736         (La_retval): Likewise.
64737         (int_retval): Likewise.
64738         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
64739         macro.
64740         (pltexit): Likewise.
64741         (La_regs): Likewise.
64742         (La_retval): Likewise.
64743         (int_retval): Likewise.
64744         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
64745         macro.
64746         (pltexit): Likewise.
64747         (La_regs): Likewise.
64748         (La_retval): Likewise.
64749         (int_retval): Likewise.
64750         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
64751         macro.
64752         (pltexit): Likewise.
64753         (La_regs): Likewise.
64754         (La_retval): Likewise.
64755         (int_retval): Likewise.
64756         * sysdeps/generic/tst-audit.h: Update comment to refer only to
64757         macro definitions in tst-audit.h.
64758         * sysdeps/i386/tst-audit.h: New file.
64759         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
64760         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
64761         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
64762         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
64763         * sysdeps/sh/tst-audit.h: Likewise.
64764         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
64765         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
64766         * sysdeps/x86_64/tst-audit.h: Likewise.
64768 2012-07-26  Andreas Jaeger  <aj@suse.de>
64770         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
64771         ptrace.
64773         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
64774         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
64775         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
64776         PTRACE_O_MASK.
64777         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
64778         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
64779         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
64781         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
64782         value.
64784         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
64785         _sigsys.
64786         (si_call_addr, si_syscall, si_arch): Define new macro.
64787         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
64788         _sigsys.
64789         (si_call_addr, si_syscall, si_arch): Define new marcro.
64790         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
64791         _sigsys.
64792         (si_call_addr, si_syscall, si_arch): Define new macro.
64793         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
64794         _sigsys.
64795         (si_call_addr, si_syscall, si_arch): Define new macro.
64797 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
64799         [BZ #13717]
64800         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64801         Change to 2.4.21 where previously 2.4.1.
64802         * sysdeps/unix/sysv/linux/configure: Regenerated.
64803         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
64804         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
64805         Linux kernel version.
64806         (__ASSUME_STD_AUXV): Remove.
64807         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
64808         kernel version.
64809         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
64810         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
64811         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
64812         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
64813         (__ASSUME_NETLINK_SUPPORT): Likewise.
64814         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
64815         (__no_netlink_support): Remove conditional definition.
64816         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
64817         Remove.
64818         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
64819         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
64820         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
64821         (if_nameindex_ioctl): Remove.
64822         (if_nameindex_netlink): Do not handle __no_netlink_support.
64823         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
64824         code.
64825         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
64826         Remove conditional code.
64827         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
64828         code.
64829         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
64830         unconditional.
64831         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
64832         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
64833         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
64834         Remove.
64835         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
64836         [!__ASSUME_STD_AUXV]: Remove conditional code.
64837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
64838         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
64839         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
64840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
64841         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
64842         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
64843         code.
64844         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
64845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
64846         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
64847         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
64848         conditional code.
64849         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
64850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
64851         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
64852         code.
64853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
64854         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
64855         conditional code.
64856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
64857         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64858         code unconditional.
64859         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64860         conditional code.
64861         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64862         unconditional.
64863         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64864         conditional code.
64865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
64866         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64867         unconditional.
64868         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64869         conditional code.
64870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
64871         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64872         code unconditional.
64873         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64874         conditional code.
64875         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64876         unconditional.
64877         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64878         conditional code.
64879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
64880         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64881         code unconditional.
64882         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64883         conditional code.
64884         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64885         unconditional.
64886         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64887         conditional code.
64889 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
64891         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
64892         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
64893         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
64894         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
64895         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
64896         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
64897         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
64898         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
64899         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
64900         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
64901         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
64902         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
64903         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
64904         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
64905         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
64906         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
64907         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
64908         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
64909         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
64910         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
64911         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
64912         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
64913         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
64915 2012-07-25  Florian Weimer  <fweimer@redhat.com>
64917         * Versions.def: Add GLIBC_2.17.
64918         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
64919         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
64920         Introduce __libc_secure_getenv.
64921         * stdlib/Versions (2.17): Add secure_getenv
64922         (GLIBC_PRIVATE): Add __libc_secure_getenv.
64923         * stdlib/secure-getenv.c: Rename __secure_getenv to
64924         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
64925         symbol __secure_getenv for GLIBC_2.0.
64926         * stdlib/tst-secure-getenv.c: New.
64927         * stdlib/Makefile (tests): Add testcase.
64928         * manual/startup.texi (Environment Access): Document
64929         secure_getenv.
64930         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
64931         __libc_secure_getenv.
64932         * inet/ruserpass.c (ruserpass): Likewise.
64933         * malloc/mtrace.c (mtrace): Likewise.
64934         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
64935         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
64936         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
64937         * sysdeps/posix/tempname.c: Likewise.  Evaluate
64938         HAVE_SECURE_GETENV.
64939         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
64940         __secure_getenv to __libc_secure_getenv.
64941         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
64942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64943         Likewise.
64944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64945         Likewise.
64946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
64947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
64948         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64949         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
64950         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
64951         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64952         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
64954 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
64956         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
64957         (struct La_i86_retval): Likewise.
64958         (struct La_x86_64_regs): Likewise.
64959         (struct La_x86_64_retval): Likewise.
64960         (struct La_x32_regs): Likewise.
64961         (struct La_x32_retval): Likewise.
64962         (struct La_ppc32_regs): Likewise.
64963         (struct La_ppc32_retval): Likewise.
64964         (struct La_ppc64_regs): Likewise.
64965         (struct La_ppc64_retval): Likewise.
64966         (struct La_sh_regs): Likewise.
64967         (struct La_sh_retval): Likewise.
64968         (struct La_s390_32_regs): Likewise.
64969         (struct La_s390_32_retval): Likewise.
64970         (struct La_s390_64_regs): Likewise.
64971         (struct La_s390_64_retval): Likewise.
64972         (struct La_sparc32_regs): Likewise.
64973         (struct La_sparc32_retval): Likewise.
64974         (struct La_sparc64_regs): Likewise.
64975         (struct La_sparc64_retval): Likewise.
64976         (struct audit_ifaces): Remove architecture-specific pltenter and
64977         pltexit members.
64978         * sysdeps/i386/ldsodefs.h: New file.
64979         * sysdeps/powerpc/ldsodefs.h: Likewise.
64980         * sysdeps/s390/ldsodefs.h: Likewise.
64981         * sysdeps/sh/ldsodefs.h: Likewise.
64982         * sysdeps/sparc/ldsodefs.h: Likewise.
64983         * sysdeps/x86_64/ldsodefs.h: Likewise.
64985 2012-07-25  Marek Polacek  <polacek@redhat.com>
64987         [BZ #6808]
64988         * math/libm-test.inc (yn_test): Add another test.
64989         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
64990         to ERANGE when the result is +-Inf.
64991         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
64992         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
64993         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
64994         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
64996 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
64998         * conform/data/time.h-data (NULL): Use macro-constant.  Require
64999         equal to 0.
65000         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
65001         clock_t.
65002         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
65004 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
65006         * configure.in <sysdeps resolving>: Correct printing
65007         Implies_before.
65008         * configure: Regenerate.
65010 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
65012         * math/w_ilogb.c: Include <limits.h>.
65013         * math/w_ilogbl.c: Likewise.
65015 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
65017         * manual/lang.texi (__va_copy): Document primarily as ISO C99
65018         va_copy.  Document allowing for unavailable va_copy only as
65019         pre-C99 compatibility.
65020         * manual/string.texi (Copying and Concatenation): Use va_copy
65021         instead of __va_copy in concat example.
65023 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
65025         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
65026         (__sendto): Use create_address_port.  Initialize APORT and deallocate
65027         it if not null.
65029         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
65030         with O_NOLINK passed to __file_name_lookup.
65032         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
65033         with O_NOLINK passed to __file_name_lookup.
65035         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
65036         negative N or less than NGIDS.
65038         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
65039         type to string_t.  Set ERANGE as errno and return it if NAME is not big
65040         enough.  Use memcpy instead of strncpy.
65042 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
65044         * elf/Makefile (check-data): Remove.
65045         (localplt.data): New vpath directive.
65046         ($(objpfx)check-localplt.out): Use localplt.data from vpath
65047         instead of $(check-data).
65048         * scripts/data/localplt-generic.data: Move to ...
65049         * sysdeps/generic/localplt.data: ... here.
65050         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
65051         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
65052         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
65053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
65054         ... here.
65055         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
65056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
65057         ... here.
65058         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
65059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
65060         ... here.
65061         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
65062         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
65063         ... here.
65064         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
65065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
65066         ... here.
65067         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
65068         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
65069         ... here.
65071 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65073         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
65074         PPC32 and PPC64 files.
65075         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
65076         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
65078 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65080         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
65081         __makecontext_ret to ...
65082         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
65083         ... here and call exit if uc_link is NULL.  New file.
65084         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
65085         __makecontext_ret.S.
65086         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
65087         __makecontext_ret to ...
65088         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
65089         ... here and call exit if uc_link is NULL.  New file.
65090         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
65091         __makecontext_ret.S.
65093 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65095         * elf/elf.h (R_390_IRELATIVE): New definition.
65096         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
65097         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
65098         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
65099         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
65100         (elf_machine_lazy_rel): Likewise.
65101         * sysdeps/s390/dl-irel.h: New file.
65102         * sysdeps/s390/s390-64/memcpy.S: New asm code.
65103         * sysdeps/s390/s390-64/memset.S: New asm code.
65104         * sysdeps/s390/s390-64/memcmp.S: New asm code.
65105         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
65106         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
65107         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
65108         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
65109         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
65110         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
65111         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
65112         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
65113         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
65114         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
65115         * sysdeps/s390/s390-32/memcpy.S: New asm code.
65116         * sysdeps/s390/s390-32/memset.S: New asm code.
65117         * sysdeps/s390/s390-32/memcmp.S: New asm code.
65119 2012-07-17  Marek Polacek  <polacek@redhat.com>
65121         [BZ #14349]
65122         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
65123         * sysdeps/s390/s390-64/configure.in: Likewise.
65124         * sysdeps/sparc/configure.in: Likewise.
65125         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
65126         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
65127         * sysdeps/i386/configure.in: Likewise.
65128         * sysdeps/x86_64/configure.in: Likewise.
65129         * sysdeps/sh/configure.in: Likewise.
65130         * sysdeps/s390/s390-32/configure: Regenerated.
65131         * sysdeps/s390/s390-64/configure: Likewise.
65132         * sysdeps/x86_64/configure: Likewise.
65133         * sysdeps/sh/configure: Likewise.
65134         * sysdeps/powerpc/powerpc64/configure: Likewise.
65135         * sysdeps/powerpc/powerpc32/configure: Likewise.
65136         * sysdeps/sparc/configure: Likwise.
65137         * sysdeps/i386/configure: Likewise.
65139         * elf/dl-open.c: Comment fixes.
65141 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
65143         * Makefile [CXX] (check-data): Remove.
65144         [CXX] (c++-types.data): New vpath directive.
65145         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
65146         vpath.  Do not allow for C++ type data being missing.
65147         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
65148         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
65149         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
65150         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
65151         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
65152         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
65153         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
65154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
65155         ... here.
65156         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
65157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
65158         ... here.
65159         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
65160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
65161         ... here.
65162         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
65163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
65164         ... here.
65165         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
65166         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
65167         ... here.
65168         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
65169         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
65170         ... here.
65171         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
65172         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
65173         ... here.
65174         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
65175         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
65177         * elf/tls-macros.h (TLS_LE): Move architecture-specific
65178         definitions to architecture-specific files.
65179         (TLS_IE): Likewise.
65180         (TLS_LD): Likewise.
65181         (TLS_GD): Likewise.
65182         * sysdeps/i386/tls-macros.h: New file.
65183         * sysdeps/powerpc/tls-macros.h: Likewise.
65184         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
65185         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
65186         * sysdeps/sh/tls-macros.h: Likewise.
65187         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
65188         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
65189         * sysdeps/x86_64/tls-macros.h: Likewise.
65191 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
65193         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
65194         zero value for regular exit case.
65196         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
65197         (__start_context): Preserve zero value for regular exit case.
65199 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
65200             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65202         * manual/setjmp.texi (setcontext): Clarify normal process
65203         termination when uc_link is the null pointer.
65204         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
65205         exit call.
65207 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
65209         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
65210         preprocessor.  Test for each exception mask separately.
65212 2012-07-16  Andreas Jaeger  <aj@suse.de>
65214         * po/ru.po: Update from translation team.
65216 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
65218         * conform/data/string.h-data (NULL): Use macro-constant.  Require
65219         equal to 0.
65220         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
65221         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
65222         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
65223         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
65224         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65226 2012-07-13  Andreas Jaeger  <aj@suse.de>
65228         * po/fr.po: Update from translation team.
65230 2012-07-12  Marek Polacek  <polacek@redhat.com>
65232         [BZ #14173]
65233         * math/libm-test.inc (yn_test): Add test for BZ #14173.
65234         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
65235         loop condition.
65237 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
65239         [BZ #13717]
65240         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65241         Change to 2.4.1 where previously 2.4.0.
65242         * sysdeps/unix/sysv/linux/configure: Regenerated.
65243         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
65244         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
65245         version.
65246         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
65247         (__ASSUME_AT_CLKTCK): Remove.
65248         (__ASSUME_AT_PAGESIZE): Likewise.
65249         (__ASSUME_AT_XID): Likewise.
65250         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
65251         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
65252         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
65253         unconditionally.
65254         (HAVE_AUX_PAGESIZE): Likewise.
65255         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
65256         [__ASSUME_AT_CLKTCK]: Make code unconditional.
65257         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
65259 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
65261         [BZ #14307]
65262         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
65263         the temporary buffer used to invoke __gethostbyname2_r,
65264         __gethostbyaddr_r and gethostbyname4_r to make room for struct
65265         host_data / struct gaih_addrtuple.
65266         * resolv/nss_dns/dns-host.c (global scope): Move definition of
65267         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
65268         header file nss/nsswitch.h.
65269         * nss/nsswitch.h (global scope): Add definition of implementation
65270         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
65271         resolv/nss_dns/dns-host.c).
65273 2012-07-11  Andreas Jaeger  <aj@suse.de>
65275         * po/fr.po: Update from translation team.
65277         * po/sv.po: Update from translation team
65278         * po/fr.po: Another update from translation team.
65280 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65282         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
65283         for subnormals or multiply small sinh result by itself.
65284         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
65285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65287 2012-07-11  David S. Miller  <davem@davemloft.net>
65289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65291 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
65293         [BZ #14347]
65294         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
65295         (INTERNAL_MARK): Shift it here.
65297 2012-07-10  Marek Polacek  <polacek@redhat.com>
65299         [BZ #14151]
65300         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
65301         libc_cv_asm_global_directive with .globl.
65302         * configure: Regenerated.
65303         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
65304         with .globl.
65305         * sysdeps/i386/configure: Regenerated.
65306         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
65307         with .globl.
65308         * sysdeps/x86_64/configure: Regenerated.
65309         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
65310         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
65311         * elf/tst-unique2mod2.c: Likewise.
65312         * elf/tst-unique2mod1.c: Likewise.
65313         * elf/tst-unique1mod2.c: Likewise.
65314         * elf/tst-unique1mod1.c: Likewise.
65315         * sysdeps/s390/s390-32/sysdep.h: Likewise.
65316         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
65317         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65318         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65319         * sysdeps/mach/sysdep.h: Likewise.
65320         * sysdeps/i386/sysdep.h: Likewise.
65321         * sysdeps/i386/i386-mcount.S: Likewise.
65322         * sysdeps/x86_64/_mcount.S: Likewise.
65323         * sysdeps/x86_64/sysdep.h: Likewise.
65324         * sysdeps/sh/_mcount.S: Likewise.
65325         * sysdeps/sh/sysdep.h: Likewise.
65326         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
65327         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
65328         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
65329         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65330         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
65331         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
65332         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
65333         * locale/localeinfo.h: Likewise.
65334         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
65335         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
65337 2012-07-09  Roland McGrath  <roland@hack.frob.com>
65339         [BZ #14336]
65340         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
65341         system".
65342         * manual/message.texi (The Uniforum approach): Likewise.
65343         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
65344         (glibc iconv Implementation): Likewise.
65346 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
65348         [BZ #14337]
65349         * math/s_clog.c (__clog): Avoid scaling a value down where that
65350         could result in underflow.
65351         * math/s_clog10.c (__clog10): Likewise.
65352         * math/s_clog10f.c (__clog10f): Likewise.
65353         * math/s_clog10l.c (__clog10l): Likewise.
65354         * math/s_clogf.c (__clogf): Likewise.
65355         * math/s_clogl.c (__clogl): Likewise.
65356         * math/libm-test.inc (clog_test): Add more tests.
65357         (clog10_test): Likewise.
65358         * sysdeps/i386/fpu/libm-test-ulps: Update.
65359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65361 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
65363         [BZ #14283]
65364         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
65365         by 7 not 8 to examine high bit of fractional part.
65367         [BZ #14042]
65368         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
65369         for call to __mcount_internal.
65370         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
65371         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
65372         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
65374 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
65376         [BZ #14154]
65377         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
65378         approximation for values within 0x1p-13f of an odd multiple of
65379         pi/4.
65380         * math/libm-test.inc (tan_test): Do not allow spurious underflow
65381         exception.  Add more tests.
65382         * sysdeps/i386/fpu/libm-test-ulps: Update.
65384         [BZ #6778]
65385         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
65386         inputs and return -1 for them.  Do not check for +Inf in case not
65387         reachable for +Inf.
65388         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
65389         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
65390         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
65391         and return -1 for them.  Do not check for +Inf in case not
65392         reachable for +Inf.
65393         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
65394         define.
65395         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
65396         and return -1 for them.  Do not check for +Inf in case not
65397         reachable for +Inf.
65398         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
65399         spurious underflow.
65400         * sysdeps/i386/fpu/libm-test-ulps: Update.
65401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65403 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
65405         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
65407 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
65409         [BZ #14157]
65410         [BZ #14331]
65411         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
65412         could result in spurious underflow.  Scale down values above
65413         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
65414         * math/s_csqrtf.c (__csqrtf): Likewise.
65415         * math/s_csqrtl.c (__csqrtl): Likewise.
65416         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
65417         spurious underflow.
65418         * sysdeps/i386/fpu/libm-test-ulps: Update.
65419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65421 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
65423         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
65424         xopen-msg.sed.
65425         * catgets/xopen-msg.awk: New file.
65426         * catgets/xopen-msg.sed: Removed.
65428         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
65429         po2text.sed.
65430         * intl/po2test.awk: New file.
65431         * intl/po2test.sed: Removed.
65433 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
65435         [BZ #14328]
65436         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
65437         or multiply small sinh result by itself.
65438         * math/s_ctanf.c (__ctanf): Likewise.
65439         * math/s_ctanh.c (__ctanh): Likewise.
65440         * math/s_ctanhf.c (__ctanhf): Likewise.
65441         * math/s_ctanhl.c (__ctanhl): Likewise.
65442         * math/s_ctanl.c (__ctanl): Likewise.
65443         * math/libm-test.inc (ctan_test_tonearest): New function.
65444         (ctan_test_towardzero): Likewise.
65445         (ctan_test_downward): Likewise.
65446         (ctan_test_upward): Likewise.
65447         (ctanh_test_tonearest): Likewise.
65448         (ctanh_test_towardzero): Likewise.
65449         (ctanh_test_downward): Likewise.
65450         (ctanh_test_upward): Likewise.
65451         (main): Call these new functions.
65452         * sysdeps/i386/fpu/libm-test-ulps: Update.
65453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65455 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
65457         * .gitignore: Delete /ports entry.
65459 2012-07-03  Andreas Jaeger  <aj@suse.de>
65461         * po/bg.po: Update from translation team.
65462         * po/cs.po: Likewise.
65463         * po/de.po: Likewise.
65464         * po/hr.po: Likewise.
65465         * po/nl.pl: Likewise.
65466         * po/pl.po: Likewise.
65467         * po/vi.po: Likewise.
65469 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
65471         * Makeconfig [!+link] (+link-before-libc): New variable.
65472         [!+link] (+link-after-libc): Likewise.
65473         [!+link] (+link-tests): Likewise.
65474         [!+link] (+link): Define in terms of $(+link-before-libc) and
65475         $(+link-after-libc).
65476         [!+link-static] (+link-static-before-libc): New variable.
65477         [!+link-static] (+link-static-after-libc): Likewise.
65478         [!+link-static] (+link-static-tests): Likewise.
65479         [!+link-static] (+link-static): Define in terms of
65480         $(+link-static-before-libc) and $(+link-static-after-libc).
65481         [build-shared] (link-libc-before-gnulib): New variable.
65482         [build-shared] (link-libc-tests): Likewise.
65483         [build-shared] (link-libc): Define in terms of
65484         $(link-libc-before-gnulib).
65485         [!build-shared] (link-libc-tests): New variable.
65486         (link-libc-static-tests): New variable.
65487         [!gnulib] (gnulib-arch): New variable.
65488         [!gnulib] (gnulib-tests): Likewise.
65489         [!gnulib] (static-gnulib-arch): Likewise.
65490         [!gnulib] (static-gnulib-tests): Likewise.
65491         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
65492         Define with "=" instead of ":=".
65493         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
65494         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
65495         * Rules (binaries-all-notests): New variable.
65496         (binaries-all-tests): Likewise.
65497         (binaries-static-notests): Likewise.
65498         (binaries-static-tests): Likewise.
65499         (binaries-all): Define using $(binaries-all-notests) and
65500         $(binaries-all-tests).
65501         (binaries-static): Define using $(binaries-static-notests) and
65502         $(binaries-static-tests).
65503         (binaries-shared-tests): New variable.
65504         (binaries-shared-notests): Likewise.
65505         (binaries-shared): Remove variable.
65506         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
65507         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
65508         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
65509         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
65510         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
65511         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
65512         * elf/Makefile (sln-modules): New variable.
65513         (extra-objs): Add $(sln-modules:=.o).
65514         (ldconfig-modules): Add static-stubs.
65515         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
65516         * elf/static-stubs.c: New file.
65518         [BZ #14283]
65519         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
65520         by 7 not 8 to examine high bit of fractional part.  Use volatile
65521         variables when splitting into final array of floats if
65522         __FLT_EVAL_METHOD__ != 0.
65523         * math/libm-test.inc (cos_test): Add another test.
65524         (sin_test): Likewise.
65525         * sysdeps/i386/fpu/libm-test-ulps: Update.
65527         [BZ #14273]
65528         * math/libm-test.inc (cosh_test): Add more tests.
65530         * version.h (RELEASE): Set to "development".
65531         (VERSION): Set to "2.16.90".
65533 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
65535         * NEWS: Update copyright. Remove last-updated date.
65536         Mention math library bug fixes and timezone data changes.
65537         * README: Mention GNU/Hurd, x32, and HPPA support status.
65539 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
65541         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
65543 2012-06-27  Andreas Jaeger  <aj@suse.de>
65545         * manual/contrib.texi (Contributors): Add Samuel Thibault.
65547 2012-06-25  Andreas Jaeger  <aj@suse.de>
65549         * sysdeps/s390/fpu/libm-test-ulps: Update.
65551 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
65552             Thomas Schwinge  <thomas@codesourcery.com>
65554         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
65555         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
65556         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
65557         fanotify_mark.
65559 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
65561         * sysdeps/mach/start.c: Remove file.
65562         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
65563         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
65564         * sysdeps/sh/init-first.c: Likewise.
65566         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
65567         registers for frame unwinding purposes, add CFI directives.
65568         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
65569         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
65570         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
65571         Likewise.
65573         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
65574         __fortify_fail returning.
65575         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
65577         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
65578         sysdeps/sh/____longjmp_chk.S.
65579         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
65580         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
65581         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
65582         (gen-as-const-headers): Append sigaltstack-offsets.sym.
65584         * sysdeps/sh/abort-instr.h: New file.
65585         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
65586         process in case exit returns.
65588         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
65589         initialize the GOT register before use.
65591         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
65592         calculation of ARGC > 4.
65594         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
65595         meaningful names to some local labels.
65597 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65598             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65600         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
65601         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
65602         (__arch_compare_and_exchange_val_16_acq): Likewise.
65603         (__arch_compare_and_exchange_val_32_acq): Likewise.
65604         (atomic_exchange_and_add): Fix gUSA sequence.
65605         (atomic_add): Likewise.
65606         (atomic_add_negative): Likewise.
65607         (atomic_add_zero): Likewise.
65608         (atomic_bit_test_set): Likewise.
65610 2012-06-22  Andreas Schwab  <schwab@redhat.com>
65612         [BZ #13579]
65613         * include/link.h (struct link_map): Add l_free_initfini.
65614         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
65615         l_initfini.
65616         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
65617         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
65618         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
65619         set.
65621 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
65623         * configure.in: Use AC_LANG_SOURCE.
65624         * configure: Regenerate.
65626 2012-06-22  Roland McGrath  <roland@hack.frob.com>
65628         * configure.in (libc_cv_localstatedir): New substituted variable.
65629         * configure: Regenerated.
65630         * config.make.in (localstatedir): New variable, substituted from
65631         libc_cv_localstatedir.
65632         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
65633         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
65634         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
65635         * sysdeps/gnu/configure: Regenerated.
65637 2012-06-21  Jeff Law  <law@redhat.com>
65639         [BZ #14277]
65640         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
65641         free.  Simplify list management for _LIBC case.
65643 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
65645         [BZ #14273]
65646         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
65647         Clear sign bit of 64-bit integer value before comparing against
65648         overflow value.
65650         * sysdeps/mach/configure: Regenerated.
65652 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
65654         [BZ #14278]
65655         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
65657 2012-06-21  Jeff Law  <law@redhat.com>
65659         [BZ #13882]
65660         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
65661         uint16_t for elements in the "seen" array to avoid char overflows.
65662         * elf/dl-fini.c (_dl_sort_fini): Likewise.
65663         * elf/dl-open.c (dl_open_worker): Likewise.
65665 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
65667         * scripts/list-sources.sh: Scan PORTS for translations.
65668         * po/libc.pot: Regenerated.
65670 2012-06-21  Andreas Jaeger  <aj@suse.de>
65672         [BZ #12194]
65673         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
65674         warning.
65675         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
65676         * bits/byteswap-16.h (__bswap_16): Likewise.
65677         * bits/byteswap.h (__bswap_constant_16): Likewise.
65679 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
65681         [BZ #14117]
65682         * sysdeps/i386/fpu_control.h: Removed.
65683         * sysdeps/x86_64/fpu_control.h: Moved to ...
65684         * sysdeps/x86/fpu_control.h: Here.
65686         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
65687         (_FPU_SETCW): Likewise.
65689 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
65691         [BZ #14117]
65692         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
65693         * sysdeps/x86/fpu/bits/mathinline.h: This.
65694         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
65696         [BZ #14050]
65697         [BZ #14117]
65698         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
65699         functions if __x86_64__ is defined.
65701 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
65703         * string/endian.h: Add !__ASSEMBLER__ condition for including
65704         conversion interfaces.
65706 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
65708         [BZ #14241]
65709         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
65710         of ABS(x) in calculating zero to negative powers other than odd
65711         integers.
65712         * math/libm-test.inc (pow_test): Add more tests.
65714 2012-06-15  Andreas Jaeger  <aj@suse.de>
65716         * manual/contrib.texi (Contributors): Update entry of Liubov
65717         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
65718         Machado Filho.
65720 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
65722         * string/string.h: Add __wur to GNU version of strerror_r.
65724 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
65726         [BZ #14229]
65727         * string/Makefile (tests): Add tst-strtok_r.
65728         * string/tst-strtok_r.c: New file.
65729         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
65730         RAX_LP/RDX_LP on SAVE_PTR.
65732 2012-06-14  Roland McGrath  <roland@hack.frob.com>
65734         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
65736 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
65738         * libm_test.inc (csqrt_test): Allow more spurious underflow
65739         exceptions.
65740         (j0_test): Likewise.
65741         (j1_test): Likewise.
65742         (y0_test): Likewise.
65743         (y1_test): Likewise.
65745 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
65747         * po/Makefile (libc.pot): Use UTF-8 charset.
65749 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
65751         [BZ #14210]
65752         Suppress sign-conversion warning from FD_SET.
65753         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
65754         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
65755         not unsigned long int.
65756         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
65758 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
65760         [BZ #14050]
65761         [BZ #14117]
65762         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
65763         __extern_always_inline instead of __extern_inline.
65764         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
65765         (__signbit): Likewise.
65766         (__signbitl): Support C++ namespace.
65767         (lrintf): New inline function.
65768         (lrint): Likewise.
65769         (llrintf): Likewise.
65770         (llrint): Likewise.
65771         (fmaxf): Likewise.
65772         (fmax): Likewise.
65773         (fminf): Likewise.
65774         (fmin): Likewise.
65775         (rint): Likewise.
65776         (rintf): Likewise.
65777         (ceil): Likewise.
65778         (ceilf): Likewise.
65779         (floor): Likewise.
65780         (floorf): Likewise.
65781         (nearbyint): Likewise.
65782         (nearbyintf): Likewise.
65784 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
65786         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
65787         non-default versions.
65789 2012-06-11  Roland McGrath  <roland@hack.frob.com>
65791         [BZ #14218]
65792         * manual/argp.texi (Argp): Reword argp_parse description slightly.
65794 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
65796         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
65797         (FE_UPWARD, FE_DOWNWARD): Don't define.
65798         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
65799         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
65801         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
65802         reading it.
65803         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
65804         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65806 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65808         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
65809         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
65810         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
65811         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
65813 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
65815         [BZ #14117]
65816         * sysdeps/i386/fpu/bits/fenv.h: Removed.
65817         * sysdeps/i386/fpu/Implies: New file.
65818         * sysdeps/x86_64/fpu/Implies: Likewise.
65819         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
65820         * sysdeps/x86/fpu/bits/fenv.h: This.
65822         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
65823         __SSE_MATH__.
65825 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
65827         [BZ #14134]
65828         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
65829         character 0xffff that matches the last element of the
65830         conversion table.
65832 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65834         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
65835         fmodl commit.
65837 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65839         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
65840         values higher than 25.6283.
65842 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65844         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
65845         subnormal exponent extraction and add some __builtin_expect.
65846         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
65847         Fix for subnormal mantissa calculation.
65849 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
65851         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
65852         cpu2 is -1 and errno is not ENOSYS.
65854 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
65856         [BZ #14117]
65857         * sysdeps/i386/i486/bits/string.h: Renamed to ...
65858         * sysdeps/x86/bits/string.h: This.
65859         * sysdeps/x86_64/bits/string.h: Removed.
65861         * sysdeps/i386/i486/bits/string.h: Define inline functions only
65862         if not compiling for x86-64, but compiling for >= i486.
65864         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
65865         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
65867         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
65868         New macro from Linux kernel 3.4.0.
65869         (FP_XSTATE_MAGIC2): Likewise.
65870         (FP_XSTATE_MAGIC2_SIZE): Likewise.
65871         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
65872         (struct _fpx_sw_bytes): New struct.
65873         (struct _xsave_hdr): Likewise.
65874         (struct _ymmh_state): Likewise.
65875         (struct _xstate): Likewise.
65877         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
65878         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
65879         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
65880         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
65881         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
65882         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
65884         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
65885         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
65886         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
65887         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
65888         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
65889         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
65891 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65893         [BZ #13743]
65894         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
65895         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
65896         (sysdep_headers): Include sys/platform/ppc.h.
65897         * sysdeps/powerpc/test-gettimebase.c: Test for
65898         __ppc_get_timebase() to catch future ISA opcode/insn changes.
65899         * manual/Makefile (appendices): Include platform.texi.
65900         * manual/contrib.texi (Contributors): Update @node pointers.
65901         * manual/maint.texi (Maintenance): Likewise.
65902         (Platform): New node.
65903         * manual/platform.texi: New file.  Document the new features.
65905 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
65906             Jakub Jelinek  <jakub@redhat.com>
65908         [BZ #14188]
65909         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
65910         where __builtin_expect is unavailable.
65912 2012-06-03  David S. Miller  <davem@davemloft.net>
65914         * stdlib/longlong.h: Updated from GCC.
65916 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
65918         [BZ #14042]
65919         * sysdeps/powerpc/powerpc32/mcount.c: New file.
65920         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
65921         __mcount_internal.
65922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
65923         (GLIBC_2.16): Likewise.
65925 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
65927         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
65929 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
65931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
65932         (default-abi): New variable.
65933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
65934         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
65935         variable.
65936         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
65937         Likewise.
65938         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
65939         Likewise.
65940         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
65941         Likewise.
65943         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
65944         definition.  Document in comment.
65946 2012-06-01  David S. Miller  <davem@davemloft.net>
65948         * stdlib/longlong.h: Updated from GCC.
65950 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
65952         [BZ #14117]
65953         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
65954         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
65955         sys/debugreg.h sys/io.h here.
65956         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
65957         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
65958         sys/io.h.
65959         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
65960         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
65961         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
65962         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
65963         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
65964         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
65966         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
65967         Define only if __x86_64__ is defined.
65969 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
65971         [BZ #14048]
65972         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
65973         Use int64_t for variable i.
65974         * math/libm-test.inc (fmod_test): Add more tests.
65976         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
65977         z computation is not scheduled after fetestexcept.
65978         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
65979         Use math_force_eval instead of asm to ensure calculation scheduled
65980         before exception test.
65981         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
65982         Ensure a1 + u.d computation is not scheduled after fetestexcept.
65984 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
65986         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
65987         computation is not scheduled after fetestexcept.
65989 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
65991         [BZ #14117]
65992         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
65993         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
65995 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65997         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
65998         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
66000 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
66002         [BZ #14117]
66003         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
66004         <bits/wordsize.h>.
66005         (__WCHAR_MIN): Support __WORDSIZE == 64.
66006         (__WCHAR_MAX): Likewise.
66008         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
66009         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
66011         [BZ #14183]
66012         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
66013         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
66015         [BZ #14117]
66016         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
66017         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
66019         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
66020         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
66022         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
66023         Defined to 1 if __x86_64__ isn't defined.
66024         (_STAT_VER_LINUX_OLD): New.
66025         (st_atime): Remove duplicate.
66026         (st_mtime): Likewise.
66027         (st_ctime): Likewise.
66029 2012-05-31  David S. Miller  <davem@davemloft.net>
66031         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
66032         entries.
66034 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
66036         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
66037         gen-libm-test.pl.
66039         [BZ #14132]
66040         * elf/dl-reloc.c: Include <_itoa.h>.
66041         (_dl_reloc_bad_type): Remove use of INTUSE.
66042         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
66043         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
66044         * stdio-common/psiginfo.c (psiginfo): Likewise.
66045         * stdio-common/psignal.c (psignal): Likewise.
66046         * string/strsignal.c (strsignal): Likewise.
66047         * include/signal.h (_sys_siglist): Declare hidden proto.
66048         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
66049         INTVARDEF with libc_hidden_data_def.
66050         * stdio-common/itoa-udigits.c: Likewise.
66051         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
66052         (_itoa_lower_digits_internal): Remove declaration.
66053         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
66054         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
66055         (_sys_sigabbrev_internal): Remove aliases.
66056         (_sys_siglist): Define hidden alias.
66058 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
66060         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66061         bits/sysctl.h.
66063 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
66065         [BZ #14117]
66066         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
66067         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
66069         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
66070         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
66071         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
66072         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
66073         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
66074         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
66076         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
66077         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
66078         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
66080         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
66081         with __addr.
66082         (insw): Likewise.
66083         (insl): Likewise.
66084         (outsb): Likewise.
66085         (outsw): Likewise.
66086         (outsl): Likewise.
66088         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
66089         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
66090         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
66092         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
66093         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
66094         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
66095         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
66096         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
66097         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
66099         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
66100         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
66102         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
66103         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
66105         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
66106         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
66107         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
66109         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
66110         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
66111         to ...
66112         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
66114         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
66115         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
66116         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
66118         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
66119         for x86-64.
66120         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
66122 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
66124         * math/math.h (M_El): Use two more decimal places.
66125         (M_LOG2El): Likewise.
66126         (M_LOG10El): Likewise.
66127         (M_LN2l): Likewise.
66128         (M_LN10l): Likewise.
66129         (M_PIl): Likewise.
66130         (M_PI_2l): Likewise.
66131         (M_PI_4l): Likewise.
66132         (M_1_PIl): Likewise.
66133         (M_2_PIl): Likewise.
66134         (M_2_SQRTPIl): Likewise.
66135         (M_SQRT2l): Likewise.
66136         (M_SQRT1_2l): Likewise.
66138 2012-05-31  David S. Miller  <davem@davemloft.net>
66140         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
66141         values between float registers.
66142         * sysdeps/sparc/sparc64/memset.S: Likewise.
66143         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
66145 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
66147         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
66148         -D_FORTIFY_SOURCE=1.
66149         (CPPFLAGS-tst-longjmp_chk.c): Define.
66150         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
66151         (CPPFLAGS-tst-longjmp_chk2.c): Define.
66152         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
66153         CFLAGS-tst-wchar-h.c.
66155 2012-05-31  Marek Polacek  <polacek@redhat.com>
66157         [BZ #14132]
66158         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
66159         __endmntent_internal): Remove declaration.
66160         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
66161         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
66162         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
66164 2012-05-30  David S. Miller  <davem@davemloft.net>
66166         * sysdeps/sparc/sparc32/soft-fp/q_util.c
66167         (___Q_simulate_exceptions): Use real FP ops rather than writing
66168         into the %fsr.
66169         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
66170         Likewise.
66172 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
66174         [BZ #14117]
66175         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
66176         * sysdeps/x86/bits/xtitypes.h: This.
66178         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
66179         * sysdeps/x86/bits/wordsize.h: This.
66181         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
66182         * sysdeps/x86/bits/huge_vall.h: This.
66184         * sysdeps/i386/bits/select.h: Removed.
66185         * sysdeps/x86_64/bits/select.h: Renamed to ...
66186         * sysdeps/x86/bits/select.h: This.
66188         * sysdeps/i386/bits/setjmp.h: Removed.
66189         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
66190         * sysdeps/x86/bits/setjmp.h: This.
66192         * sysdeps/i386/bits/mathdef.h: Removed.
66193         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
66194         * sysdeps/x86/bits/mathdef.h: This.
66196 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
66198         [BZ #14132]
66199         * include/sys/socket.h (__connect_internal)
66200         (__libc_sa_len_internal): Remove declaration.
66201         (__connect, __libc_sa_len): Declare hidden_proto.
66202         (SA_LEN): Remove use of INTUSE.
66203         * socket/connect.c: Add libc_hidden_def.
66204         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
66205         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
66206         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
66207         alias.
66208         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
66209         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
66210         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
66211         of adding _internal alias.
66213 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
66215         [BZ #14117]
66216         * sysdeps/i386/bits/link.h: Removed.
66217         * sysdeps/i386/bits/linkmap.h: Likewise.
66218         * sysdeps/x86_64/bits/link.h: Renamed to ...
66219         * sysdeps/x86/bits/link.h: This.
66220         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
66221         * sysdeps/x86/bits/linkmap.h: This.
66223         * sysdeps/i386/bits/endian.h: Removed.
66224         * sysdeps/x86_64/bits/endian.h: Renamed to ...
66225         * sysdeps/x86/bits/endian.h: This.
66227         * sysdeps/i386/bits/byteswap.h: Removed.
66228         * sysdeps/i386/bits/byteswap-16.h: Likewise.
66229         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
66230         * sysdeps/x86/bits/byteswap.h: This.
66231         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
66232         * sysdeps/x86/bits/byteswap-16.h: This.
66233         * sysdeps/i386/Implies: Add x86.
66234         * sysdeps/x86_64/Implies: Likewise.
66236 2012-05-30  David S. Miller  <davem@davemloft.net>
66238         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
66239         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
66240         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
66241         (FP_TRAPPING_EXCEPTIONS): Define.
66242         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
66243         (FP_TRAPPING_EXCEPTIONS): Define.
66244         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
66245         subnormals only when inexact has been signalled or underflow
66246         exceptions are enabled.
66247         (_FP_PACK_CANONICAL): Likewise.
66249 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
66251         [BZ #14183]
66252         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
66253         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
66255 2012-05-30  Richard Henderson  <rth@twiddle.net>
66257         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
66258         with #ifndef NOT_IN_libc.
66260         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
66261         marked to avoid plt entry.
66263 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
66265         [BZ #14112]
66266         * Makeconfig (default-abi): New macro.
66267         (abi-includes): Likewise.
66268         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
66269         $(abi-$(default-abi)-lib-soname) for soname if defined.
66270         ($(common-objpfx)gnu/lib-names.stmp): Generate from
66271         abi-variants.
66272         * Makefile (installed-stubs): Likewise.
66273         * include/stubs-biarch.h: Removed.
66274         * scripts/lib-names.awk: Only handle one library at a time.
66275         * scripts/soversions.awk: Remove WORDSIZE support.
66276         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
66277         entries.
66278         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
66279         Removed.
66280         (syscall-list-default-condition): Likewise.
66281         (syscall-list-default-condition): Likewise.
66282         (syscall-list-includes): Likewise.
66283         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
66284         syscall-list-* with abi-*.  Handle undefined abi-variants.
66285         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
66286         * sysdeps/unix/sysv/linux/i386/Implies: New file.
66287         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
66288         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
66289         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
66290         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
66291         Removed.
66292         (syscall-list-32-options): Likewise.
66293         (syscall-list-32-condition): Likewise.
66294         (syscall-list-64-options): Likewise.
66295         (syscall-list-64-condition): Likewise.
66296         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
66297         macro.
66298         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
66299         Renamed to ...
66300         (abi-*): This.
66301         (abi-64-ld-soname): New macro.
66302         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
66303         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
66304         Renamed to ...
66305         (abi-*): This.
66306         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
66307         * sysdeps/x86_64/x32/shlib-versions: Likewise.
66309 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
66311         * sysdeps/unix/sysv/linux/kernel-features.h
66312         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
66313         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
66314         include <kernel-features.h>.
66315         [!__NR_ftruncate64]: Remove conditional code.
66316         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66317         [__NR_ftruncate64]: Make code unconditional.
66318         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66319         * sysdeps/unix/sysv/linux/truncate64.c: Do not
66320         include <kernel-features.h>.
66321         [!__NR_ftruncate64]: Remove conditional code.
66322         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66323         [__NR_ftruncate64]: Make code unconditional.
66324         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
66326         include <kernel-features.h>.
66327         [!__NR_ftruncate64]: Remove conditional code.
66328         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66329         [__NR_ftruncate64]: Make code unconditional.
66330         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
66332         include <kernel-features.h>.
66333         [!__NR_ftruncate64]: Remove conditional code.
66334         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66335         [__NR_ftruncate64]: Make code unconditional.
66336         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66338         * configure.in (libc_cv_fpie): Weaken to a compile test using
66339         LIBC_TRY_CC_OPTION.
66340         * configure: Regenerated.
66342 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
66345         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
66346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
66347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
66348         Refreshed.
66349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
66350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
66351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
66352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
66353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
66354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
66355         Refreshed.
66357 2012-05-27  David S. Miller  <davem@davemloft.net>
66359         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
66360         (___Q_zero): New.
66361         (__Q_simulate_exceptions): Return void.  Change to simulate
66362         exceptions by writing into the %fsr.
66363         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
66364         (__Qp_handle_exceptions): Likewise.
66365         (numbers): Delete.
66366         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
66367         __Qp_handle_exceptions.
66368         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
66369         __Qp_handle_exceptions.
66370         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
66371         as unused and give dummy FP_RND_NEAREST initializer.
66372         (FP_INHIBIT_RESULTS): Define.
66373         (___Q_simulate_exceptions): Update declaration.
66374         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
66375         formatting.
66376         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
66377         as unused and give dummy FP_RND_NEAREST initializer.
66378         (__Qp_handle_exceptions): Update declaration.
66379         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
66380         formatting.
66382 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
66384         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
66385         the temporary FPU control word.
66386         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
66387         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
66388         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
66389         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
66390         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
66391         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
66392         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
66393         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
66394         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
66395         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
66396         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
66398 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66400         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
66401         fields.
66403 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
66405         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
66406         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
66407         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
66408         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
66409         Likewise.
66410         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
66411         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
66412         Likewise.
66414 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
66416         * po/h.po: Update from translation team.
66418 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
66420         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
66422         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
66423         handling of denormals.
66424         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
66425         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
66426         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
66427         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
66428         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66429         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
66430         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
66431         Likewise.
66433 2012-05-26  Marek Polacek  <polacek@redhat.com>
66435         [BZ #14152]
66436         * math/libm-test.inc (fma_test): Don't always expect underflow
66437         exception.
66439 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66441         [BZ #12416]
66442         * elf/tst-execstack.c: Include stackinfo.h.
66443         (do_test): Adjust test case to ensure that pthread_getattr_np
66444         behaviour remains the same after marking stack executable.
66446 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
66448         * sysdeps/unix/sysv/linux/kernel-features.h
66449         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
66450         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
66451         kernel-features.h.
66452         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
66453         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
66454         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
66455         kernel-features.h.
66456         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
66457         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
66459 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
66461         * configure.in: Define the default includes to being none.
66462         * configure: Regenerated.
66464 2012-05-25  Roland McGrath  <roland@hack.frob.com>
66466         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
66467         * sysdeps/x86_64/setjmp.S: Likewise.
66468         * sysdeps/i386/bsd-setjmp.S: Likewise.
66469         * sysdeps/i386/bsd-_setjmp.S: Likewise.
66470         * sysdeps/i386/setjmp.S: Likewise.
66471         * sysdeps/i386/__longjmp.S: Likewise.
66472         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
66473         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
66475         * include/stap-probe.h: New file.
66476         * configure.in: Handle --enable-systemtap.
66477         * configure: Regenerated.
66478         * config.h.in (USE_STAP_PROBE): New #undef.
66479         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
66480         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
66481         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
66483 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
66485         [BZ #13717]
66486         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66487         to 2.4.0 where earlier.
66488         * sysdeps/unix/sysv/linux/configure: Regenerated.
66489         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
66490         <kernel-features.h>.
66491         [__ASSUME_32BITUIDS]: Make code unconditional.
66492         [!__ASSUME_32BITUIDS]: Remove conditional code.
66493         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
66494         <kernel-features.h>.
66495         [__ASSUME_32BITUIDS]: Make code unconditional.
66496         [!__ASSUME_32BITUIDS]: Remove conditional code.
66497         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
66498         [__ASSUME_32BITUIDS]: Make code unconditional.
66499         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
66500         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
66501         <kernel-features.h>.
66502         [__ASSUME_32BITUIDS]: Make code unconditional.
66503         [!__ASSUME_32BITUIDS]: Remove conditional code.
66504         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
66505         <kernel-features.h>.
66506         [__ASSUME_32BITUIDS]: Make code unconditional.
66507         [!__ASSUME_32BITUIDS]: Remove conditional code.
66508         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
66509         <kernel-features.h>.
66510         [__ASSUME_32BITUIDS]: Make code unconditional.
66511         [!__ASSUME_32BITUIDS]: Remove conditional code.
66512         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
66513         <kernel-features.h>.
66514         [__ASSUME_32BITUIDS]: Make code unconditional.
66515         [!__ASSUME_32BITUIDS]: Remove conditional code.
66516         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
66517         <kernel-features.h>.
66518         [__ASSUME_32BITUIDS]: Make code unconditional.
66519         [!__ASSUME_32BITUIDS]: Remove conditional code.
66520         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
66521         <kernel-features.h>.
66522         [__ASSUME_32BITUIDS]: Make code unconditional.
66523         [!__ASSUME_32BITUIDS]: Remove conditional code.
66524         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
66525         <kernel-features.h>.
66526         [__ASSUME_32BITUIDS]: Make code unconditional.
66527         [!__ASSUME_32BITUIDS]: Remove conditional code.
66528         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
66529         <kernel-features.h>.
66530         [__ASSUME_32BITUIDS]: Make code unconditional.
66531         [!__ASSUME_32BITUIDS]: Remove conditional code.
66532         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
66533         <kernel-features.h>.
66534         [__ASSUME_32BITUIDS]: Make code unconditional.
66535         [!__ASSUME_32BITUIDS]: Remove conditional code.
66536         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
66537         <kernel-features.h>.
66538         [__ASSUME_32BITUIDS]: Make code unconditional.
66539         [!__ASSUME_32BITUIDS]: Remove conditional code.
66540         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
66541         <kernel-features.h>.
66542         [__NR_setresgid] (__setresgid): Do not declare.
66543         [__ASSUME_32BITUIDS]: Make code unconditional.
66544         [!__ASSUME_32BITUIDS]: Remove conditional code.
66545         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
66546         <kernel-features.h>.
66547         [__NR_setresuid] (__setresuid): Do not declare.
66548         [__ASSUME_32BITUIDS]: Make code unconditional.
66549         [!__ASSUME_32BITUIDS]: Remove conditional code.
66550         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
66551         <kernel-features.h>.
66552         [__ASSUME_32BITUIDS]: Make code unconditional.
66553         [!__ASSUME_32BITUIDS]: Remove conditional code.
66554         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
66555         <kernel-features.h>.
66556         [__ASSUME_32BITUIDS]: Make code unconditional.
66557         [!__ASSUME_32BITUIDS]: Remove conditional code.
66558         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
66559         <kernel-features.h>.
66560         [__ASSUME_32BITUIDS]: Make code unconditional.
66561         [!__ASSUME_32BITUIDS]: Remove conditional code.
66562         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
66563         <kernel-features.h>.
66564         [__ASSUME_32BITUIDS]: Make code unconditional.
66565         [!__ASSUME_32BITUIDS]: Remove conditional code.
66566         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
66567         <kernel-features.h>.
66568         [__ASSUME_32BITUIDS]: Make code unconditional.
66569         [!__ASSUME_32BITUIDS]: Remove conditional code.
66570         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
66571         <kernel-features.h>.
66572         [__ASSUME_32BITUIDS]: Make code unconditional.
66573         [!__ASSUME_32BITUIDS]: Remove conditional code.
66574         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
66575         <kernel-features.h>.
66576         [__ASSUME_32BITUIDS]: Make code unconditional.
66577         [!__ASSUME_32BITUIDS]: Remove conditional code.
66578         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
66579         <kernel-features.h>.
66580         [__ASSUME_32BITUIDS]: Make code unconditional.
66581         [!__ASSUME_32BITUIDS]: Remove conditional code.
66582         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
66583         <kernel-features.h>.
66584         [__ASSUME_32BITUIDS]: Make code unconditional.
66585         [!__ASSUME_32BITUIDS]: Remove conditional code.
66586         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
66587         <kernel-features.h>.
66588         [__ASSUME_32BITUIDS]: Make code unconditional.
66589         [!__ASSUME_32BITUIDS]: Remove conditional code.
66590         * sysdeps/unix/sysv/linux/kernel-features.h
66591         (__ASSUME_SETRESUID_SYSCALL): Remove.
66592         (__ASSUME_SETRESGID_SYSCALL): Likewise.
66593         (__ASSUME_32BITUIDS): Likewise.
66594         (__ASSUME_LDT_WORKS): Likewise.
66595         (__ASSUME_O_DIRECTORY): Likewise.
66596         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
66597         architecture but not kernel version.
66598         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
66599         (__ASSUME_MMAP2_SYSCALL): Likewise.
66600         (__ASSUME_STAT64_SYSCALL): Likewise.
66601         (__ASSUME_IPC64): Likewise.
66602         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
66603         <kernel-features.h>.
66604         [__ASSUME_32BITUIDS]: Make code unconditional.
66605         [!__ASSUME_32BITUIDS]: Remove conditional code.
66606         * sysdeps/unix/sysv/linux/opendir.c: Do not include
66607         <kernel-features.h>.
66608         [__ASSUME_O_DIRECTORY]: Make code unconditional.
66609         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
66610         132096]: Remove conditional code.
66611         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
66612         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
66613         <kernel-features.h>.
66614         [__ASSUME_32BITUIDS]: Make code unconditional.
66615         [!__ASSUME_32BITUIDS]: Remove conditional code.
66616         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
66617         <kernel-features.h>.
66618         [__ASSUME_32BITUIDS]: Make code unconditional.
66619         [!__ASSUME_32BITUIDS]: Remove conditional code.
66620         * sysdeps/unix/sysv/linux/setegid.c: Do not include
66621         <kernel-features.h>.
66622         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
66623         unconditional.
66624         (__setresgid): Do not declare.
66625         [__ASSUME_32BITUIDS]: Make code unconditional.
66626         [!__ASSUME_32BITUIDS]: Remove conditional code.
66627         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
66628         <kernel-features.h>.
66629         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
66630         unconditional.
66631         (__setresuid): Do not declare.
66632         [__ASSUME_32BITUIDS]: Make code unconditional.
66633         [!__ASSUME_32BITUIDS]: Remove conditional code.
66634         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
66635         <kernel-features.h>.
66636         [__ASSUME_32BITUIDS]: Make code unconditional.
66637         [!__ASSUME_32BITUIDS]: Remove conditional code.
66638         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
66639         <kernel-features.h>.
66640         [__ASSUME_32BITUIDS]: Make code unconditional.
66641         [!__ASSUME_32BITUIDS]: Remove conditional code.
66643 2012-05-25  Richard Henderson  <rth@twiddle.net>
66645         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
66646         dl_hwcap to ifunc resolver.
66647         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
66648         elf_ifunc_invoke.
66649         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
66650         dl_hwcap to ifunc resolver.
66651         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
66653 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66655         [BZ #14153]
66656         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
66657         for |x| <= 2**-26, not 2**-57.
66658         * math/libm-test.inc (acos_test): Do not allow spurious underflow
66659         exception.
66661 2012-05-24  Jeff Law  <law@redhat.com>
66663         * stdio-common/Makefile (tests): Add bug25.
66664         * stdio-common/bug25.c: New test.
66666 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
66668         [BZ #13576]
66669         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
66670         multiple of MALLOC_ALIGNMENT in size.
66671         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
66673 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66675         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
66676         Require >= 256.
66677         (FILENAME_MAX): Use macro-int-constant.
66678         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
66679         (_IOFBF): Use macro-int-constant.
66680         (_IOLBF): Likewise.
66681         (_IONBF): Likewise.
66682         (SEEK_CUR): Likewise.
66683         (SEEK_END): Likewise.
66684         (SEEK_SET): Likewise.
66685         (TMP_MAX): Likewise.
66686         (EOF): Use macro-int-constant.  Require < 0.
66687         (NULL): Use macro-constant.  Require == 0.
66688         (stdin): Require type to be FILE *.
66689         (stdout): Likewise.
66690         (stderr): Likewise.
66691         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
66692         macro-int-constant.
66693         (EXIT_SUCCESS): Likewise.
66694         (NULL): Use macro-constant.  Require == 0.
66695         (RAND_MAX): Use macro-int-constant.
66696         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
66697         [C99-based standards] (strtof): Require function.
66698         [C99-based standards] (strtold): Likewise.
66699         [C99-based standards] (strtoll): Likewise.
66700         [C99-based standards] (strtoull): Likewise.
66701         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
66702         [ISO || ISO99 || ISO11] (limits.h): Likewise.
66703         [ISO || ISO99 || ISO11] (math.h): Likewise.
66704         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
66705         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
66706         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66708 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
66710         [BZ #14132]
66711         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
66712         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
66713         * intl/dgettext.c (DCGETTEXT): Likewise.
66714         * intl/gettext.c (DCGETTEXT): Likewise.
66715         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
66716         * posix/regex_internal.h (gettext): Likewise.
66717         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
66718         Remove declaration.
66719         * include/argz.h (__argz_count_internal)
66720         (__argz_stringify_internal): Remove declaration.
66721         (__argz_count, __argz_stringify): Declare hidden proto.
66722         * intl/dcgettext.c: Remove use of INTDEF.
66723         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
66724         * string/argz-stringify.c: Likewise.
66725         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
66726         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
66727         Declare hidden proto.
66728         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
66729         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
66730         Declare hidden proto.
66731         * include/stdio.h (__asprintf_internal): Don't declare.
66732         (__asprintf): Don't define as macro.  Declare hidden proto.
66733         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
66734         (__fsetlocking): Declare hidden proto.
66735         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
66736         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
66737         hidden proto.
66738         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
66739         (_IO_setlinebuf): Remove use of INTUSE.
66740         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
66741         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
66742         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
66743         Remove declaration.
66744         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
66745         (_IO_do_flush): Remove use of INTUSE.
66746         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
66747         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
66748         (_IO_adjust_column, _IO_least_wmarker)
66749         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
66750         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
66751         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
66752         (_IO_default_doallocate, _IO_wdefault_doallocate)
66753         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
66754         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
66755         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
66756         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
66757         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
66758         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
66759         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
66760         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
66761         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
66762         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
66763         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
66764         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
66765         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
66766         proto.
66767         (_IO_flush_all_internal, _IO_adjust_column_internal)
66768         (_IO_default_uflow_internal, _IO_default_finish_internal)
66769         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
66770         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
66771         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
66772         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
66773         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
66774         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
66775         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
66776         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
66777         (_IO_file_close_internal, _IO_file_close_it_internal)
66778         (_IO_file_underflow_internal, _IO_file_overflow_internal)
66779         (_IO_file_init_internal, _IO_file_attach_internal)
66780         (_IO_file_fopen_internal, _IO_file_read_internal)
66781         (_IO_file_sync_internal, _IO_file_seek_internal)
66782         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
66783         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
66784         (_IO_str_underflow_internal, _IO_str_overflow_internal)
66785         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
66786         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
66787         (_IO_list_all_internal, _IO_link_in_internal)
66788         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
66789         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
66790         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
66791         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
66792         (_IO_do_write_internal, _IO_padn_internal)
66793         (_IO_getline_info_internal, _IO_getline_internal)
66794         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
66795         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
66796         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
66797         (_IO_vfscanf_internal, _IO_vfprintf_internal)
66798         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
66799         (_IO_init_internal, _IO_un_link_internal): Don't declare.
66800         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
66801         with libc_hidden_ver, remove use of INTUSE.
66802         * libio/genops.c: Likewise.
66803         * libio/freopen.c: Likewise.
66804         * libio/freopen64.c: Likewise.
66805         * libio/iofclose.c: Likewise.
66806         * libio/iofdopen.c: Likewise.
66807         * libio/iofflush.c: Likewise.
66808         * libio/iofflush_u.c: Likewise.
66809         * libio/iofgets.c: Likewise.
66810         * libio/iofgets_u.c: Likewise.
66811         * libio/iofopen.c: Likewise.
66812         * libio/iofopncook.c: Likewise.
66813         * libio/iofread.c: Likewise.
66814         * libio/iofread_u.c: Likewise.
66815         * libio/ioftell.c: Likewise.
66816         * libio/iofwrite.c: Likewise.
66817         * libio/iogetline.c: Likewise.
66818         * libio/iogets.c: Likewise.
66819         * libio/iogetwline.c: Likewise.
66820         * libio/iopadn.c: Likewise.
66821         * libio/iopopen.c: Likewise.
66822         * libio/ioseekoff.c: Likewise.
66823         * libio/ioseekpos.c: Likewise.
66824         * libio/iosetbuffer.c: Likewise.
66825         * libio/iosetvbuf.c: Likewise.
66826         * libio/ioungetc.c: Likewise.
66827         * libio/ioungetwc.c: Likewise.
66828         * libio/iovdprintf.c: Likewise.
66829         * libio/iovsprintf.c: Likewise.
66830         * libio/iovsscanf.c: Likewise.
66831         * libio/memstream.c: Likewise.
66832         * libio/obprintf.c: Likewise.
66833         * libio/oldfileops.c: Likewise.
66834         * libio/oldiofclose.c: Likewise.
66835         * libio/oldiofdopen.c: Likewise.
66836         * libio/oldiofopen.c: Likewise.
66837         * libio/oldiopopen.c: Likewise.
66838         * libio/oldstdfiles.c: Likewise.
66839         * libio/putc.c: Likewise.
66840         * libio/setbuf.c: Likewise.
66841         * libio/setlinebuf.c: Likewise.
66842         * libio/stdfiles.c: Likewise.
66843         * libio/strops.c: Likewise.
66844         * libio/vasprintf.c: Likewise.
66845         * libio/vscanf.c: Likewise.
66846         * libio/vsnprintf.c: Likewise.
66847         * libio/vswprintf.c: Likewise.
66848         * libio/wfiledoalloc.c: Likewise.
66849         * libio/wfileops.c: Likewise.
66850         * libio/wgenops.c: Likewise.
66851         * libio/wmemstream.c: Likewise.
66852         * libio/wstrops.c: Likewise.
66853         * libio/__fpurge.c: Likewise.
66854         * libio/__fsetlocking.c: Likewise.
66855         * assert/assert.c: Likewise.
66856         * debug/fgets_chk.c: Likewise.
66857         * debug/fgets_u_chk.c: Likewise.
66858         * debug/fread_chk.c: Likewise.
66859         * debug/fread_u_chk.c: Likewise.
66860         * debug/gets_chk.c: Likewise.
66861         * debug/obprintf_chk.c: Likewise.
66862         * debug/vasprintf_chk.c: Likewise.
66863         * debug/vdprintf_chk.c: Likewise.
66864         * debug/vsnprintf_chk.c: Likewise.
66865         * debug/vsprintf_chk.c: Likewise.
66866         * malloc/mtrace.c: Likewise.
66867         * misc/error.c: Likewise.
66868         * misc/syslog.c: Likewise.
66869         * stdio-common/asprintf.c: Likewise.
66870         * stdio-common/fxprintf.c: Likewise.
66871         * stdio-common/getw.c: Likewise.
66872         * stdio-common/isoc99_fscanf.c: Likewise.
66873         * stdio-common/isoc99_scanf.c: Likewise.
66874         * stdio-common/isoc99_vfscanf.c: Likewise.
66875         * stdio-common/isoc99_vscanf.c: Likewise.
66876         * stdio-common/isoc99_vsscanf.c: Likewise.
66877         * stdio-common/printf-prs.c: Likewise.
66878         * stdio-common/printf_fp.c: Likewise.
66879         * stdio-common/printf_fphex.c: Likewise.
66880         * stdio-common/printf_size.c: Likewise.
66881         * stdio-common/putw.c: Likewise.
66882         * stdio-common/scanf.c: Likewise.
66883         * stdio-common/sprintf.c: Likewise.
66884         * stdio-common/tmpfile.c: Likewise.
66885         * stdio-common/vfprintf.c: Likewise.
66886         * stdio-common/vfscanf.c: Likewise.
66887         * stdlib/strfmon_l.c: Likewise.
66888         * sunrpc/openchild.c: Likewise.
66889         * sunrpc/xdr_stdio.c: Likewise.
66890         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
66891         * sysdeps/mach/hurd/tmpfile.c: Likewise.
66893 2012-05-24  Roland McGrath  <roland@hack.frob.com>
66895         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
66897         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
66898         in the third column, to generate for the shared library an IFUNC
66899         that uses _dl_vdso_vsym.
66900         * Makerules (COMPILE.c, compile-stdin.c): New variables.
66901         * Makeconfig (object-suffixes-noshared): New variable.
66903         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
66904         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
66905         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
66906         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
66908         [BZ #14132]
66909         * include/sys/time.h (__gettimeofday): Remove macro.
66910         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
66911         * time/gettimeofday.c (__gettimeofday): Remove #undef.
66912         Remove INTDEF.
66913         (__gettimeofday): Add libc_hidden_def.
66914         (gettimeofday): Add libc_hidden_weak.
66915         * sysdeps/mach/gettimeofday.c: Likewise.
66916         * sysdeps/posix/gettimeofday.c: Likewise.
66917         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
66918         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
66919         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
66920         (__gettimeofday_internal): Remove strong_alias.
66921         (__gettimeofday): Add libc_hidden_def.
66922         (gettimeofday): Add libc_hidden_weak.
66923         * sysdeps/unix/syscalls.list (gettimeofday):
66924         Remove __gettimeofday_internal alias.
66926 2012-05-24  Daniel Jacobowitz  <drow@false.org>
66927             H.J. Lu  <hongjiu.lu@intel.com>
66929         [BZ #12495]
66930         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
66931         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
66932         (largebin_index_32_big): New.
66933         (largebin_index): Use it for 16-byte alignment.
66934         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
66935         correction with front_misalign.
66937 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
66939         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
66940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
66941         Likewise.
66942         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
66943         Likewise.
66944         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
66945         Likewise.
66946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
66947         Likewise.
66948         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
66949         Likewise.
66950         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
66951         Likewise.
66952         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
66953         Likewise.
66954         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
66955         Likewise.
66956         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
66957         Likewise.
66958         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
66959         Likewise.
66960         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
66961         Likewise.
66962         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
66963         Likewise.
66965         * scripts/data/c++-types-x32-linux-gnu.data: New file.
66966         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
66968 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66970         [BZ #10846]
66971         [BZ #14036]
66972         * math/libm-test.inc (exp_test): Add test from bug 14036.
66973         (pow_test): Add test from bug 10846.
66975         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
66976         and other flags.
66977         (special_function): Do not include flags in test name.
66978         (parse_args): Likewise.
66979         * sysdeps/i386/fpu/libm-test-ulps: Update.
66980         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66981         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66982         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66985         * math/gen-libm-test.pl (%beautify): Add entries for underflow
66986         exceptions.
66987         * math/libm-test.inc ("Philosophy"): Update comment about
66988         exception testing.
66989         (UNDERFLOW_EXCEPTION): New macro.
66990         (UNDERFLOW_EXCEPTION_OK): Likewise.
66991         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
66992         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
66993         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
66994         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
66995         (INVALID_EXCEPTION_OK): Update value.
66996         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66997         (OVERFLOW_EXCEPTION_OK): Likewise.
66998         (IGNORE_ZERO_INF_SIGN): Likewise.
66999         (test_exceptions): Handle underflow exceptions.
67000         (acos_test): Update for underflow exception expectations.
67001         (cexp_test): Likewise.
67002         (clog_test): Likewise.
67003         (clog10_test): Likewise.
67004         (csqrt_test): Likewise.
67005         (ctan_test): Likewise.
67006         (ctanh_test): Likewise.
67007         (exp_test): Likewise.
67008         (exp10_test): Likewise.
67009         (exp2_test): Likewise.
67010         (expm1_test): Likewise.
67011         (fma_test): Likewise.
67012         (j0_test): Likewise.
67013         (jn_test): Likewise.
67014         (nexttoward_test): Likewise.
67015         (pow_test): Likewise.
67016         (scalbn_test): Likewise.
67017         (scalbln_test): Likewise.
67018         (tan_test): Likewise.
67019         (y1_test): Likewise.
67020         * sysdeps/i386/fpu/libm-test-ulps: Update.
67021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67023 2012-05-23  David S. Miller  <davem@davemloft.net>
67025         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
67026         (__libc_sigaction): Remove unused local variables.
67028 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
67030         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
67032 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
67034         mktime: avoid signed integer overflow
67035         * time/mktime.c (__mktime_internal): Do not mishandle the case
67036         where diff == INT_MIN.
67038         mktime: simplify computation of average
67039         * time/mktime.c (ranged_convert): Use new time_t_avg function
67040         instead of rolling our own (probably-slower) code.
67042         mktime: do not assume signed right shift propagates sign bit
67043         * time/mktime.c (isdst_differ): New static function.
67044         (__mktime_internal): No need to normalize tm_isdst now.
67045         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
67046         tm_isdst values.
67048         mktime: merge another wrapv change from gnulib
67049         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
67050         from some compilers.
67052         mktime: remove incorrect attempt at unusual arithmetics
67053         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
67054         The code didn't really work on such machines anyway.
67055         (TYPE_MINIMUM): Assume two's complement.
67056         (twos_complement_arithmetic): Verify that long_int and time_t
67057         are two's complement (or unsigned, in the latter case).
67059         mktime: check signed shifts on long_int and time_t, too
67060         * time/mktime.c (SHR): Check that shifts work as desired
67061         on the types long_int and time_t too, as SHR is used on
67062         such types.
67064         mktime: do not assume 'long' is wide enough
67065         * time/mktime.c (verify): Move decl up.
67066         (long_int): New type.
67067         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
67068         to remove assumption in the code that 'long' is wide enough to
67069         store year values.  This assumption is not true on x32 and on
67070         some non-glibc platforms.
67072         mktime: merge wrapv change from gnulib
67073         * time/mktime.c (WRAPV): New macro.
67074         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
67075         (guess_time_tm, __mktime_internal): Do not assume that signed
67076         integer overflow wraps around; modern compilers generate code
67077         where this assumption is no longer valid.
67079 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
67081         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
67082         Replace "jmp L(pseudo_end)" with "ret".
67083         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
67084         Likewise.
67086 2012-05-23  Andreas Jaeger  <aj@suse.de>
67088         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
67089         * sysdeps/unix/sysv/linux/poll.c: Remove file.
67091 2012-05-23  Andreas Jaeger  <aj@suse.de>
67092             Maximilian Attems  <max@stro.at>
67094         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
67095         New macros.
67097 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
67099         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
67100         code so that pseudo_end is just ret and the stack pointer is
67101         correct also for static library in error case.
67103 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
67105         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
67106         move to syscalls.list.
67107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
67108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
67109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
67110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
67112         * manual/install.texi (Running make install): Do not mention Linux
67113         kernel version for which pt_chown is not needed.
67114         (Linux): Do not mention problems with nscd with 2.0 kernels.
67115         * INSTALL: Regenerated.
67117 2012-05-23  Andreas Jaeger  <aj@suse.de>
67119         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
67120         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
67121         macro.
67122         * sysdeps/unix/sysv/linux/s390/bits/mman.h
67123         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67124         * sysdeps/unix/sysv/linux/sh/bits/mman.h
67125         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67126         * sysdeps/unix/sysv/linux/i386/bits/mman.h
67127         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67128         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
67129         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67130         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
67131         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67132         * sysdeps/unix/sysv/linux/bits/in.h
67133         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
67135 2012-05-22  Roland McGrath  <roland@hack.frob.com>
67137         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
67138         (PREPARE_VERSION): Just use assert instead, it will be elided
67139         under [NDEBUG] anyway.
67141 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67143         * sysdeps/unix/sysv/linux/Makefile: Include
67144         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
67145         (sysdep_routines): Remove sysctl.
67146         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
67147         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
67148         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
67149         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
67150         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
67152 2012-05-22  Andreas Jaeger  <aj@suse.de>
67154         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
67155         that pseudo_end is just ret and the stack pointer is correct also
67156         for static library in error case.
67158 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
67160         [BZ #14122]
67161         * nss/nsswitch.c (defconfig_entries): New variable.
67162         (__nss_database_lookup): Don't leak defconfig entries.
67163         (nss_parse_service_list): Don't leak on error paths.
67164         (free_database_entries): New function.
67165         (free_defconfig): New function.
67166         (free_mem): Move common code to free_database_entries.
67168 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67170         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
67171         Add arch_prctl.
67172         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
67174         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
67175         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
67176         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
67177         New macro.
67178         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
67179         (INTERNAL_SYSCALL_TYPES): Likewise.
67180         (LOAD_ARGS_TYPES_[1-6]): Likewise.
67181         (LOAD_REGS_TYPES_[1-6]): Likewise.
67182         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
67183         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
67185 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67187         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
67188         copysignl for GLIBC_2_0.
67189         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
67190         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
67191         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
67192         logbl for GLIBC_2_0.
67193         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
67194         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
67196 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67198         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
67199         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
67201         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
67202         Use "neg %eax".
67204         * time/mktime.c: Update copyright years.
67206 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
67208         mktime: merge comment-quoting-style change from gnulib
67209         * time/mktime.c: Quote 'like this' in comments.
67210         The GNU coding standards suggest that we no longer quote `like this',
67211         as "`" and "'" are typically rendered asymmetrically nowadays.
67212         The typical gnulib style is to quote 'like this' when quoting
67213         code, and "like this" when quoting English.
67215         * time/mktime.c (compile-command): Add "-I.".
67217         mktime: merge mktime-internal.h change from gnulib
67218         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
67220         mktime: merge time_r change from gnulib
67221         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
67223         mktime: merge DEBUG change from gnulib
67224         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
67225         case system <time.h> has a #define.
67227         mktime: merge <sys/types.h> change from gnulib
67228         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
67229         since <time.t> is now guaranteed to define time_t.
67231         mktime: merge HAVE_CONFIG_H change from gnulib
67232         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
67234 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67236         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
67237         Use "neg %eax".
67239         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
67240         __rlim_t cast.
67241         (struct rusage): Use anonymous union to pad each field to
67242         __syscall_slong_t.
67244 2012-05-21  David S. Miller  <davem@davemloft.net>
67246         * Makefules (o-iterator): Remove .s cases.
67247         (compile-command.s): Delete.
67248         (COMPILE.s): Delete.
67249         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
67251 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
67253         * configure.in (libc_cv_predef_stack_protector): Only consider
67254         "foobar" and "__stack_chk_fail" lines in libc_undefs.
67255         * configure: Regenerated.
67257 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
67259         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
67260         New macro.  Use R*LP on int and pointer.
67261         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
67262         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
67263         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
67264         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
67266         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
67267         [__WORDSIZE_TIME64_COMPAT32] instead of
67268         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
67269         (struct utmp): Likewise.
67270         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
67271         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
67272         Renamed to ...
67273         (__WORDSIZE_TIME64_COMPAT32): This.
67274         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
67275         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
67276         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
67277         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
67278         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
67279         (__WORDSIZE_TIME64_COMPAT32): New macro.
67281 2012-05-21  Andreas Jaeger  <aj@suse.de>
67283         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
67284         only if [SHARED]. Add prototype for __wcschr_ia32.
67286 2012-05-21  Roland McGrath  <roland@hack.frob.com>
67288         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
67289         of %rbp unmolested in the jmp_buf while mangling the low bits.
67290         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
67291         unmolested high bits of %rbp while demangling the low bits.
67292         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
67294 2012-05-21  Andreas Jaeger  <aj@suse.de>
67296         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
67297         * sunrpc/svc_simple.c: Use it for registerrpc.
67298         * sunrpc/xcrypt.c: Use it for passwd2des.
67300         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
67302 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
67304         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
67305         Don't define if [__SYSCALL_WORDSIZE != 32].
67306         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
67307         New macro.
67309 2012-05-21  Bruno Haible  <bruno@clisp.org>
67310             Andreas Jaeger  <aj@suse.de>
67312         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
67313         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
67314         inptr and inend for must_buffer_ch.
67315         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
67316         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
67317         * stdio-common/Makefile (tests): Remove bug15.
67318         (bug15-ENV): Remove macro.
67319         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
67320         anymore.
67322 2012-05-19  Andreas Jaeger  <aj@suse.de>
67323             Roland McGrath  <roland@hack.frob.com>
67325         * manual/contrib.texi: Completely rewritten. It contains now an
67326         alphabetical list of contributors and their contributions.
67328 2012-05-21  Richard Henderson  <rth@twiddle.net>
67330         * misc/getauxval.c (__getauxval): Use unsigned long int.
67331         * misc/sys/auxv.h: Include <sys/cdefs.h>.
67332         (getauxval): Use unsigned long int.
67334 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
67336         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
67338 2012-05-21  Roland McGrath  <roland@hack.frob.com>
67340         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
67341         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
67342         __alignof__ (long double).
67344 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67348 2012-05-20  Richard Henderson  <rth@twiddle.net>
67350         * misc/getauxval.c: New file.
67351         * misc/sys/auxv.h: New file.
67352         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
67353         (routines): Add getauxval.
67354         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
67355         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
67356         * elf/dl-sysdep.c (_dl_auxv): Remove.
67357         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
67358         * elf/dl-support.c (_dl_auxv): New variable.
67359         (_dl_aux_init): Initialize it.
67360         * manual/startup.texi (Auxiliary Vector): New node.
67361         * sysdeps/generic/bits/hwcap.h: New file.
67362         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
67363         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
67364         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
67365         * sysdeps/sparc/sysdep.h: ... here.  Include it.
67366         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
67367         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
67368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67369         Update.
67370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
67371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
67372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
67373         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
67374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
67375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
67376         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
67377         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
67379 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67383 2012-05-19  David S. Miller  <davem@davemloft.net>
67385         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67387 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
67389         [BZ #14123]
67390         * math/s_ccosh.c: Include <float.h>
67391         (__ccosh): Avoid internal overflow calculating sinh and cosh
67392         values before multiplying by sin and cos values.
67393         * math/s_ccoshf.c: Likewise.
67394         * math/s_ccoshl.c: Likewise.
67395         * math/s_csin.c: Likewise.
67396         * math/s_csinf.c: Likewise.
67397         * math/s_csinl.c: Likewise.
67398         * math/s_csinh.c: Likewise.
67399         * math/s_csinhf.c: Likewise.
67400         * math/s_csinhl.c: Likewise.
67401         * math/libm-test.inc (ccos_test): Add more tests.
67402         (ccosh_test): Likewise.
67403         (csin_test): Likewise.
67404         (csinh_test): Likewise.
67405         * sysdeps/i386/fpu/libm-test-ulps: Update.
67406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67408 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
67410         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
67411         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
67413         * sysdeps/x86_64/x32/_itoa.h: Add comment.
67415 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
67417         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
67418         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
67419         * sysdeps/powerpc/soft-fp/Versions: Likewise.
67420         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
67421         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
67422         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
67423         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
67424         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
67425         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
67426         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
67427         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
67428         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
67429         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
67430         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
67431         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
67432         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
67433         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
67434         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
67435         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
67436         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
67437         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
67438         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
67439         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
67440         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
67441         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
67442         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
67443         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
67444         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
67445         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
67446         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
67447         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
67449 2012-05-18  Andreas Jaeger  <aj@suse.de>
67451         * csu/.gitignore: Delete.
67453 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
67455         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
67456         (timex): Use __syscall_slong_t.
67458 2012-05-18  Andreas Jaeger  <aj@suse.de>
67459             Carlos O'Donell  <carlos_odonell@mentor.com>
67461         * manual/install.texi (Configuring and compiling): Update
67462         description about files modified in the source directory.
67463         * INSTALL: Regenerated.
67465 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
67467         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
67468         value.  Use "or" to set return value to -1.
67469         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
67470         negate return value.
67472 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67474         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
67475         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
67476         failure if the compiler has Graphite support disabled.
67477         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
67478         Likewise.
67479         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
67480         (CFLAGS-memmove.c): Likewise.
67481         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
67482         Likewise.
67484 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
67486         * sysdeps/x86_64/x32/_itoa.h: New file.
67488         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
67489         getdents system call only if kernel and user dirents have the
67490         same d_ino and d_off.
67492         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
67493         LLONG_MAX != LONG_MAX.
67494         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67495         (_fitoa_word): Likewise.
67497         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
67498         years.
67499         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
67500         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
67501         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
67503         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
67504         include <bits/wordsize.h>.  Check __x86_64__ instead of
67505         __WORDSIZE.
67506         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
67507         if __x86_64__ is defined.  Use anonymous union on fpstate.
67509         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
67510         anonymous union.
67512 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
67514         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
67515         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
67516         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
67517         Refer to _rtld_local_ro instead of _rtld_global_ro.
67518         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
67519         Likewise.
67520         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
67521         Likewise.
67522         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
67523         Likewise.
67524         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
67525         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
67526         of _rtld_global, and rtld_progname instead of _dl_argv[0].
67528         [BZ #10882]
67529         * sysdeps/powerpc/powerpc32/dl-machine.c
67530         (__elf_machine_runtime_setup) [PROF]: Don't reference
67531         _dl_prof_resolve.
67533 2012-05-18  Andreas Jaeger  <aj@suse.de>
67535         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
67536         function only available for GCCs before 3.4 since GCC 3.4
67537         introduced a builtin.
67538         (lrint): Likewise.
67539         (llrintf): Likewise.
67540         (llrint): Likewise.
67541         (fmaxf): Likewise.
67542         (fmax): Likewise.
67543         (fminf): Likewise.
67544         (fmin): Likewise.
67545         (rint): Likewise.
67546         (rintf): Likewise.
67547         (nearbyint): Likewise.
67548         (nearbyintf): Likewise.
67549         (ceil): Likewise.
67550         (ceilf): Likewise.
67551         (floor): Likewise.
67552         (floorf): Likewise.
67554 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67556         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
67557         on both fields and cast pointer to __syscall_ulong_t.
67559         * bits/types.h (__fsword_t): New type.
67560         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
67561         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
67562         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67563         (__FSWORD_T_TYPE): Likewise.
67564         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67565         (__FSWORD_T_TYPE): Likewise.
67566         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67567         (__FSWORD_T_TYPE): Likewise.
67568         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
67569         (__FSWORD_T_TYPE): Likewise.
67570         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
67571         __SWORD_TYPE with __fsword_t.
67572         (statfs64): Likewise.
67574 2012-05-17  David S. Miller  <davem@davemloft.net>
67576         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
67578 2012-05-17  Andreas Jaeger  <aj@suse.de>
67580         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
67581         warning.
67583 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67585         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
67587 2012-05-17  Andreas Jaeger  <aj@suse.de>
67589         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
67590         when it is used.
67592 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
67594         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
67596 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67598         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
67599         * sysdeps/x86_64/tst-mallocalign1.c: New file.
67601 2012-05-17  Andreas Jaeger  <aj@suse.de>
67602             Carlos O'Donell  <carlos_odonell@mentor.com>
67604         [BZ #14059]
67605         * sysdeps/x86_64/multiarch/init-arch.h
67606         (bit_YMM_Usable): Rename to...
67607         (bit_AVX_Usable): ... this.
67608         (bit_FMA4_Usable): New macro.
67609         (bit_XMM_state): New macro.
67610         (bit_YMM_state): New macro.
67611         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
67612         [__ASSEMBLER__] (index_AVX_Usable): ... this.
67613         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
67614         (CPUID_OSXSAVE): New macro.
67615         (CPUID_AVX): New macro.
67616         (CPUID_FMA4): New macro.
67617         (index_YMM_Usable): Rename to...
67618         (index_AVX_Usable): ... this.
67619         (HAS_AVX): Use HAS_ARCH_FEATURE.
67620         (HAS_FMA4): Likewise.
67621         (HAS_YMM_USABLE): Remove.
67622         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67623         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
67624         are present.
67625         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
67626         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
67627         * sysdeps/x86_64/multiarch/Makefile: Likewise.
67628         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
67629         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
67631 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
67633         * math/libm-test.c: Support platforms without multiple rounding modes.
67634         * math/bug-nextafter.c: Support platforms without FP exceptions.
67635         * math/bug-nexttoward.c: Likewise.
67636         * math/test-fenv.c: Likewise.
67637         * math/test-misc.c: Likewise.
67638         * stdlib/bug-getcontext.c: Likewise.
67640 2012-05-17  Andreas Jaeger  <aj@suse.de>
67642         * manual/examples/search.c (critter_cmp): Change signature to
67643         avoid warnings.
67644         * manual/string.texi (Collation Functions): Likewise.
67646 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67648         * bits/types.h: Fold copyright years.
67649         * bits/typesizes.h: Likewise.
67650         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
67651         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
67652         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
67653         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
67654         * time/time.h: Likewise.
67656 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
67658         [BZ #208]
67659         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
67660         in instead of returning them.  Return void.
67661         (__libc_mallinfo): Accumulate over all arenas.
67662         (__malloc_stats): Adjust for change in int_mallinfo interface.
67664 2012-05-16  Roland McGrath  <roland@hack.frob.com>
67666         [BZ #10375]
67667         * configure.in (NM): Add AC_CHECK_TOOL for it.
67668         (libc_extra_cflags): New substituted variable.
67669         Check for -fstack-protector being used implicitly.
67670         * configure: Regenerated.
67671         * config.make.in (config-extra-cflags): New variable,
67672         gets @libc_extra_cflags@.
67673         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
67675         [BZ #10375]
67676         * configure.in: Check for _FORTIFY_SOURCE being predefined.
67677         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
67678         * configure: Regenerated.
67679         * config.make.in (CPPUNDEFS): New substituted variable.
67680         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
67681         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
67682         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
67684 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67686         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
67687         (mq_attr): Use __syscall_slong_t.
67689 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67691         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
67692         Check __x86_64__ instead of __WORDSIZE.
67693         (_STAT_VER_LINUX): Likewise.
67694         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
67695         __syscall_ulong_t and __syscall_slong_t.
67696         (stat64): Likewise.
67698 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67700         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
67702 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67704         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
67706 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67708         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
67709         __syscall_ulong_t.
67711         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
67712         include <bits/wordsize.h>.  Check __x86_64__ instead of
67713         __WORDSIZE.
67714         (greg_t): Use "__extension__ long long int" if __x86_64__ is
67715         defined.
67716         (mcontext_t): Replace "unsigned long" with "unsigned long long".
67718         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
67719         include <bits/wordsize.h>.  Check __x86_64__ instead of
67720         __WORDSIZE.
67721         (user_regs_struct): Use "__extension__ unsigned long long"
67722         instead of "unsigned long" if __x86_64__ is defined.
67723         (user): Likewise.  Pad after pointer field if __ILP32__ is
67724         defined.
67726 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
67728         * configure.in (makeinfo): Require version 4.5 or later.  Allow
67729         versions 5 to 9.
67730         * configure: Regenerated.
67731         * manual/install.texi (texinfo): Increase version requirement to
67732         4.5 or later.
67733         * INSTALL: Regenerated.
67735         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
67737 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67739         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
67741         * sysdeps/x86_64/x32/ffs.c: New file.
67743         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
67744         __syscall_ulong_t.
67745         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
67746         defined.  Use __syscall_ulong_t.
67747         (shminfo): Use __syscall_ulong_t.
67748         (shm_info): Likewise.
67750         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
67751         __syscall_ulong_t.
67753         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
67754         <bits/wordsize.h>.
67755         (msgqnum_t): Use __syscall_ulong_t.
67756         (msglen_t): Likewise.
67757         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
67758         __syscall_ulong_t.
67760         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
67761         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
67763         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
67765         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
67766         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
67768         * sysvipc/sys/msg.h (msgbuf): Replace long int with
67769         __syscall_slong_t.
67771         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
67772         include <bits/wordsize.h>.  Check __x86_64__ instead of
67773         __WORDSIZE.
67775         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
67776         "unsigned long long int" if __x86_64__ is defined.
67777         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
67779         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
67780         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
67781         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
67783         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
67784         <stdint.h>.
67785         (GET_PC): Cast to uintptr_t first.
67786         (GET_FRAME): Likewise.
67787         (GET_STACK): Likewise.
67789         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
67790         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
67791         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
67792         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
67793         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
67794         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
67795         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
67796         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
67797         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
67798         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
67799         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
67800         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
67801         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
67802         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
67803         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
67804         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
67805         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
67806         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
67807         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
67808         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
67809         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
67810         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
67811         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
67812         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
67813         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
67814         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
67815         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
67816         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
67817         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
67819 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
67821         * Makerules (+depfiles): Also collect depfiles from .oS in
67822         $(extra-objs).
67823         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
67824         .oS, $(libnldbl-routines)).
67826         * Makerules (native-compile-mkdep-flags): Define.
67827         * sunrpc/Makefile (extra-objs): Add $(addprefix
67828         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
67829         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
67830         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
67831         calling $(make-target-directory).
67833 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67835         * bits/types.h (__snseconds_t): Removed.
67836         * time/time.h (struct timespec): Replace __snseconds_t with
67837         __syscall_slong_t.
67838         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
67839         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
67840         Likewise.
67841         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67842         (__SNSECONDS_T_TYPE): Likewise.
67843         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67844         (__SNSECONDS_T_TYPE): Likewise.
67845         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67846         (__SNSECONDS_T_TYPE): Likewise.
67848 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67850         * sysdeps/mach/hurd/bits/typesizes.h
67851         (__SYSCALL_SLONG_TYPE): New macro.
67852         (__SYSCALL_ULONG_TYPE): Likewise.
67854 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67856         * bits/types.h (__syscall_slong_t): New type.
67857         (__syscall_ulong_t): Likewise.
67859         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
67860         (__SYSCALL_ULONG_TYPE): Likewise.
67861         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67862         (__SYSCALL_SLONG_TYPE): Likewise.
67863         (__SYSCALL_ULONG_TYPE): Likewise.
67864         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67865         (__SYSCALL_SLONG_TYPE): Likewise.
67866         (__SYSCALL_ULONG_TYPE): Likewise.
67867         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67868         (__SYSCALL_SLONG_TYPE): Likewise.
67869         (__SYSCALL_ULONG_TYPE): Likewise.
67871 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67873         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
67874         Add sigaltstack-offsets.sym.
67875         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
67876         <sigaltstack-offsets.h>.
67877         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
67878         longjmp_msg pointer.
67879         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
67880         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
67881         signal stack.
67882         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
67884 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
67886         * elf/stackguard-macros.h: Remove file.
67887         * sysdeps/generic/stackguard-macros.h: New file.
67888         * sysdeps/i386/stackguard-macros.h: Likewise.
67889         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
67890         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
67891         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
67892         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
67893         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
67894         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
67895         * sysdeps/x86_64/stackguard-macros.h: Likewise.
67896         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
67897         <elf/stackguard-macros.h>.
67899         [BZ #14109]
67900         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
67901         __aligned__ in attribute.
67902         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
67903         (gregset_t): Likewise.
67905 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67907         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
67908         * sysdeps/x86_64/64/Implies-after: Here.  New file.
67909         * sysdeps/x86_64/x32/Implies-after: New file.
67911 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67913         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
67914         and access return value for _dl_profile_fixup.  Use R10_LP to
67915         load frame size.
67917 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67919         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
67921 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67923         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
67924         * sysdeps/x86_64/x32/sysdep.h: New file.
67926 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67928         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
67929         * sysdeps/x86_64/setjmp.S: Likewise.
67931 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67933         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
67934         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
67935         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
67936         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
67937         remove unused global constant.
67939 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
67941         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
67942         include of <not-cancel.h>.
67944 2012-05-15  Roland McGrath  <roland@hack.frob.com>
67946         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
67948 2012-05-15  Jeff Law  <law@redhat.com>
67949             Andreas Jaeger  <aj@suse.de>
67951         [BZ #13594]
67952         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
67953         out from...
67954         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
67955         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
67956         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
67957         code changing __hst_map_handle.map.
67959 2012-05-15  Roland McGrath  <roland@hack.frob.com>
67961         * configure.in (sysnames): Look for Implies-before and Implies-after
67962         files.
67963         * configure: Regenerated.
67965 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67967         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
67968         8-byte data alignment with LP_SIZE alignment.
67970 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67972         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
67973         into R10_LP.
67975 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67977         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
67979 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67981         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
67982         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
67983         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
67984         Likewise.
67985         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
67987 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67989         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
67990         (stackinfo_sub_sp): Likewise.
67992 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67994         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
67995         RAX_LP.
67997 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67999         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
68000         into R*_LP.
68002 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68004         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
68005         sizes into R*_LP.
68007 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68009         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
68011 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68013         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
68014         into R11_LP and load __x86_64_shared_cache_size_half into
68015         R8_LP.
68017 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68019         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
68020         R8_LP.
68022 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68024         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
68025         logb for POWER7.
68026         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
68027         logbf for POWER7.
68028         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
68029         logbl for POWER7.
68030         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
68031         powerpc32/power7/fpu/s_logb.c via #include.
68032         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
68033         powerpc32/power7/fpu/s_logbf.c via #include.
68034         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
68035         powerpc32/power7/fpu/s_logbl.c via #include.
68037 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
68039         * README.libm: Remove file.
68041 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68043         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
68044         count for x32.  Use R*_LP and omit operand-size suffix.
68046 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68048         * shlib-versions: Move x86_64-.*-linux.* entries to ...
68049         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
68050         * sysdeps/x86_64/x32/shlib-versions: New file.
68052 2012-05-14  Roland McGrath  <roland@hack.frob.com>
68054         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
68055         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
68056         Use _dl_fatal_printf instead.
68058 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
68060         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
68061         set if not set by the user.  Do not allow for being unset.
68062         * sysdeps/unix/sysv/linux/configure: Regenerated.
68064 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68066         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
68067         the `q' suffix from lea and replace .quad with ASM_ADDR.
68069 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68071         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
68072         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
68073         instead of $17.
68074         (PTR_DEMANGLE): Likewise.
68076 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68078         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
68079         (LP_OP): Likewise.
68080         (ASM_ADDR): Likewise.
68081         (RAX_LP): Likewise.
68082         (RBP_LP): Likewise.
68083         (RBX_LP): Likewise.
68084         (RCX_LP): Likewise.
68085         (RDI_LP): Likewise.
68086         (RSI_LP): Likewise.
68087         (RSP_LP): Likewise.
68088         (R8_LP): Likewise.
68089         (R9_LP): Likewise.
68090         (R10_LP): Likewise.
68091         (R10_LP): Likewise.
68092         (R11_LP): Likewise.
68093         (R12_LP): Likewise.
68094         (R13_LP): Likewise.
68095         (R14_LP): Likewise.
68096         (R15_LP): Likewise.
68098 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68100         * sysdeps/x86_64/x32/dl-machine.h: New file.
68102 2012-05-14  Andreas Jaeger  <aj@suse.de>
68104         * manual/Makefile (subdir): Remove export of subdir.
68105         (all): Remove target.
68106         (.PHONY): Remove all from list.
68107         (mkinstalldirs): Remove.
68108         (.PHONY): Remove installdirs from list.
68109         ($(inst_infodir)/libc.info): Use make-target-directory.
68110         (installdirs): Remove.
68111         (subdir_%): Remove.
68112         (glibc-targets): Remove.
68113         (lib): Remove.
68114         (stubs): Remove.
68115         ($(objpfx)stubs ../po/manual.pot): Remove.
68116         ($(objpfx)stamp%): Remove.
68117         (make-target-directory): Remove.
68118         (subdir_install): Remove.
68119         (routines): Remove.
68120         (aux): Remove.
68121         (sources): Remove.
68122         (objects): Remove.
68123         (headers): Remove.
68125         [BZ #13750]
68126         * manual/.gitignore: Remove, it's not needed anymore.
68127         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
68128         all files in it.
68129         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
68130         directory.
68131         (texis): Renamed to $(objpfx)texis.
68132         (texis-path): New, contains path to generated files.
68133         (chapters.%): Use texis-path for complete path, add extra argument
68134         libc-texinfo.sh.
68135         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
68136         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
68137         (summary,texi, stamp-summary): Use complete path of
68138         files. Generate files in build dir.
68139         (dir-add.texi): Build in build dir.
68140         (libm-err.texi,stamp-libm-err): Likewise.
68141         (version.texi, stamp-version): Likewise.
68142         (.%c.texi): Likewise.
68143         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
68144         (mostlyclean): Remove target.
68145         (realclean): Remove target.
68146         (generated): Add new variable with contents from mostlyclean and
68147         realclean, remove entries duplicated in common-mostlyclean, add
68148         stamp-libm-err and stamp-version.
68149         (generated-dirs): Add libc directory.
68150         ($(inst_infodir)/libc.info): Install files from build dir.
68152         * manual/install.texi (Configuring and compiling): Adjust since
68153         the info files are not part of the tar ball anymore.
68155 2012-05-14  Andreas Jaeger  <aj@suse.de>
68157         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
68158         variable.
68160 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
68162         [BZ #13717]
68163         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
68164         to 2.2.0 where earlier.
68165         * sysdeps/unix/sysv/linux/configure: Regenerated.
68166         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
68167         Remove conditional code.
68168         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
68169         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
68170         Remove conditional code.
68171         [!__NR_lchown]: Likewise.
68172         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
68173         [__NR_lchown]: Likewise.
68174         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
68175         comment referencing __ASSUME_LCHOWN_SYSCALL.
68176         * sysdeps/unix/sysv/linux/i386/sigaction.c
68177         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68178         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68179         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
68180         Remove conditional code.
68181         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
68182         (__protocol_available): Remove #if 0 code.
68183         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
68184         conditional code.
68185         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
68186         * sysdeps/unix/sysv/linux/kernel-features.h
68187         (__ASSUME_GETCWD_SYSCALL): Don't define.
68188         (__ASSUME_REALTIME_SIGNALS): Likewise.
68189         (__ASSUME_PREAD_SYSCALL): Likewise.
68190         (__ASSUME_PWRITE_SYSCALL): Likewise.
68191         (__ASSUME_POLL_SYSCALL): Likewise.
68192         (__ASSUME_LCHOWN_SYSCALL): Likewise.
68193         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
68194         non-SPARC.
68195         (__ASSUME_SIOCGIFNAME): Don't define.
68196         (__ASSUME_MSG_NOSIGNAL): Likewise.
68197         (__ASSUME_SENDFILE): Define unconditionally.
68198         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
68199         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
68200         conditional code.
68201         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
68202         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
68203         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
68204         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
68205         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
68206         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
68207         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
68208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
68209         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68210         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
68212         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68213         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
68215         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68216         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
68218         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68219         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
68221         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68222         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
68224         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68225         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
68227         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68228         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
68230         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68231         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68232         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
68233         Remove conditional code.
68234         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68235         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
68236         Remove conditional code.
68237         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68238         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
68239         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
68240         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
68241         Remove conditional code.
68242         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68243         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
68244         Remove conditional code.
68245         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68246         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
68247         Remove conditional code.
68248         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68249         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
68250         Remove conditional code.
68251         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68252         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
68253         Remove conditional code.
68254         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68255         * sysdeps/unix/sysv/linux/sh/pwrite64.c
68256         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68257         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68258         * sysdeps/unix/sysv/linux/sigaction.c
68259         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68260         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68261         * sysdeps/unix/sysv/linux/sigpending.c
68262         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68263         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68264         * sysdeps/unix/sysv/linux/sigprocmask.c
68265         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68266         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68267         * sysdeps/unix/sysv/linux/sigsuspend.c
68268         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68269         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68270         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
68271         (__libc_missing_rt_sigs): Remove.
68272         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
68273         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
68274         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
68275         Remove conditional code.
68276         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
68277         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
68278         return 1.
68279         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
68280         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
68281         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
68282         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
68284 2012-05-14  Andreas Jaeger  <aj@suse.de>
68286         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
68287         it's not used in glibc.
68288         (__coshm1): Likewise.
68289         (__acosh1p): Likewise.
68290         (__sgn): Likewise.
68292         * manual/string.texi (Copying and Concatenation): Add missing
68293         variable in concat example.
68294         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
68296 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68298         [BZ #14103]
68299         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
68300         __builtin_clzl with __builtin_clzll.
68302 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68304         [BZ #14104]
68305         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
68306         libc_freeres_ptr.
68308 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68310         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
68311         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
68312         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
68313         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
68315 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
68317         * NEWS: Update ia64 info.
68319 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
68321         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
68322         used as bcopy.
68324 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
68326         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
68327         * sysdeps/unix/syscalls.list (dup3): Likewise.
68328         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
68329         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
68331 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
68333         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
68334         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
68336 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
68338         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
68339         thread pointer.
68340         (TLS_IE): Use mov/add instead of movq/addq to load thread
68341         pointer.
68342         (TLS_GD_PREFIX): New.
68343         (TLS_GD): Use it.
68345 2012-05-11  David S. Miller  <davem@davemloft.net>
68347         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
68348         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
68349         (_FPU_SETCW): Likewise.
68351 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
68353         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
68354         is 32-byte aligned.
68356 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
68358         [BZ #11837]
68359         * iconvdata/gb18030.c: Update tables.
68360         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
68361         characters specially.
68362         (BODY for TO_LOOP): Add encoding of missing ranges.
68364 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
68366         [BZ #13673]
68367         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
68368         * sysdeps/mach/hurd/dup3.c: Likewise.
68369         * sysdeps/mach/hurd/readlinkat.c: Likewise.
68370         * sysdeps/powerpc/memmove.c:: Likewise.
68372 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
68374         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
68375         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
68377 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
68379         * elf/elf.h (R_X86_64_RELATIVE64): New.
68380         (R_X86_64_NUM): Updated.
68381         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
68382         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
68383         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
68384         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
68385         tst-quad1pie tst-quad2pie
68386         (modules-names): Add tst-quadmod1 tst-quadmod2.
68387         ($(objpfx)tst-quad1): New dependency.
68388         ($(objpfx)tst-quad2): Likewise.
68389         ($(objpfx)tst-quad1pie): Likewise.
68390         ($(objpfx)tst-quad2pie): Likewise.
68391         * sysdeps/x86_64/tst-quad1.c: New file.
68392         * sysdeps/x86_64/tst-quad1pie.c: New file.
68393         * sysdeps/x86_64/tst-quad2.c: Likewise.
68394         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
68395         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
68396         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
68397         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
68398         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
68400 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68402         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
68403         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
68404         * streams/stropts.h (t_scalar_t): Define type.
68406         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
68407         (_PATH_PRESERVE): Set to "/var/lib".
68408         (_PATH_RWHODIR): Set to "/var/spool/rwho".
68410         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
68411         instead of int.
68413         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
68414         if __dir_mkfile succeeded.
68416         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
68417         checking for _hurd_dtablesize.  Unlock it right after having
68418         finished _hurd_dtable allocation.
68420 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68422         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
68423         * sysdeps/mach/hurd/configure: Regenerated.
68424         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
68425         special-casing to...
68426         * sysdeps/gnu/configure.in: ... this new file.
68427         * sysdeps/unix/sysv/linux/configure: Regenerated.
68428         * sysdeps/gnu/configure: New generated file.
68430         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
68431         for Linux: use nsec instead of usec, as well as:
68432         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
68433         members of type struct timespec.
68434         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
68435         New macros.
68436         (struct stat64): Likewise.
68437         (_STATBUF_ST_NSEC): New macro.
68438         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
68440         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
68441         __strtoul_internal rather than strtoul.
68443 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68445         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
68446         and reject them.
68448 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68450         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
68451         which preserves existing values.
68452         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
68454 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68456         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
68457         TIMEOUT values.  Return EINVAL for NFDS values either negative or
68458         greater than FD_SETSIZE.
68460 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68462         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
68463         allocated, call __vm_protect to finish enabling the existing space, and
68464         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
68465         allocate the remainder.
68467 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68469         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
68470         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
68472 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68474         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
68475         sysdeps/mach/hurd/readlink.c.
68477         * posix/tst-sysconf.c (posix_options): Only use
68478         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
68479         _POSIX_SYNCHRONIZED_IO when they are defined
68480         * sysdeps/mach/hurd/bits/posix_opt.h:
68481         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
68482         (_XOPEN_REALTIME): Undefine macro.
68483         (_XOPEN_REALTIME_THREADS): Undefine macro.
68484         (_XOPEN_SHM): Undefine macro.
68485         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
68486         macro to -1.
68487         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
68488         macro to -1.
68489         (_POSIX_ASYNC_IO): Undefine macro.
68490         (_POSIX_PRIORITIZED_IO): Undefine macro.
68491         (_POSIX_SPIN_LOCKS): Define macro to -1.
68493         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
68494         SA_NODEFER, SA_RESETHAND.
68495         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
68496         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
68497         F_DUPFD_CLOEXEC.
68499 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68501         * elf/Makefile (pldd-modules): Define unconditionally.
68503 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68505         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
68507 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68509         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
68510         Return ENOENT when name is empty.
68511         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
68513 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68515         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
68517         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
68519 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68521         Fix mlock in all cases except non-readable pages.
68522         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
68523         instead of VM_PROT_ALL as parameter to __vm_wire function.
68525         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
68526         (__mkdir): When path is `/', just fail with EEXIST.
68527         * sysdeps/mach/hurd/mkdirat.c: Likewise.
68529 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68531         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
68532         <sys/uio.h> (for writev).
68533         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
68534         and <sys/param.h> (for MIN).
68536 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68538         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
68539         REQUESTED_TIME.  Properly set the remaining time and return EINTR
68540         if interrupted.
68542 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68544         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
68545         Depend on against $(link-rpcuserlibs).
68547 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68549         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
68550         (__libc_stack_end): Do not use attribute_relro.
68551         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
68552         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
68553         to libthread-provided value.
68554         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
68555         attribute_relro.
68557 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68559         [BZ #3748]
68560         * bits/libc-lock.h (__libc_once_get): New macro.
68561         * sysdeps/mach/bits/libc-lock.h: Likewise.
68562         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
68563         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
68564         instead of using implementation details.
68566         * libio/fileops.c: Unconditionally include <kernel-features.h>.
68567         * libio/freopen.c: Likewise.
68568         * libio/freopen64.c: Likewise.
68569         * misc/syslog.c: Likewise.
68570         * nscd/connections.c: Likewise.
68571         * nscd/netgroupcache.c: Likewise.
68572         * sysdeps/posix/getcwd.c: Likewise.
68574 2012-05-10  Roland McGrath  <roland@hack.frob.com>
68576         * math/w_ilogbf.c: Add #include <limits.h>.
68578 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68580         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
68581         path instead of returning without unlocking.
68583         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
68584         immediate-write ioctls.
68585         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
68587 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68589         * sysdeps/mach/hurd/i386/init-first.c (init): Use
68590         __builtin_frame_address instead of making assumptions about the
68591         location of the return address relative to DATA.  Force early load of
68592         the return address.
68593         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
68594         __builtin_frame_address.
68596         dup3 for GNU Hurd.
68597         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
68598         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
68599         implement dup3 and do some further code clean-ups.
68600         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
68601         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
68603 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68605         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
68607         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
68608         HURD_CRITICAL_END around holding _hurd_dtable_lock.
68609         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
68610         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
68611         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
68612         d->port.lock.
68614         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
68615         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
68616         when handler == SIG_ERR, not when handler != SIG_ERR.
68618 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68620         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
68621         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
68622         definitions.
68624         accept4 for GNU Hurd.
68625         * include/sys/socket.h (__libc_accept4): New prototype.
68626         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
68627         to implement __libc_accept4.
68628         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
68629         __libc_accept4.
68630         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
68632         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
68633         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
68634         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
68635         signal-defines.sym.
68637 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68639         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
68641 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68643         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
68644         assertion on O_CLOEXEC flag.
68645         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
68646         * hurd/intern-fd.c: Likewise.
68647         * hurd/port2fd.c: Likewise.
68649 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68651         [BZ #3906]
68652         * bits/in.h (IPV6_PKTINFO): Define new macro.
68653         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
68655 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68657         [BZ #13954]
68658         [BZ #13955]
68659         [BZ #13956]
68660         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
68661         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
68662         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
68663         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
68664         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
68665         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
68666         * math/libm-test.inc (logb_test) : Additional logb tests.
68668 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
68669             Andreas Jaeger  <aj@suse.de>
68671         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
68672         * configure: Regenerated.
68673         * config.h.in (LINK_OBSOLETE_RPC): New macro.
68674         * config.make.in (link-obsolete-rpc): New substituted variable.
68675         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
68676         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
68677         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
68678         (shared-only-routines): Don't set it under [link-obsolete-rpc],
68679         so that libc.a contains the symbols.
68680         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
68681         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
68682         * sunrpc/auth_none.c: Likewise.
68683         * sunrpc/auth_unix.c: Likewise.
68684         * sunrpc/authdes_prot.c: Likewise.
68685         * sunrpc/authuxprot.c: Likewise.
68686         * sunrpc/clnt_gen.c: Likewise.
68687         * sunrpc/clnt_perr.c: Likewise.
68688         * sunrpc/clnt_raw.c: Likewise.
68689         * sunrpc/clnt_simp.c: Likewise.
68690         * sunrpc/clnt_tcp.c: Likewise.
68691         * sunrpc/clnt_udp.c: Likewise.
68692         * sunrpc/clnt_unix.c: Likewise.
68693         * sunrpc/des_crypt.c: Likewise.
68694         * sunrpc/des_soft.c: Likewise.
68695         * sunrpc/get_myaddr.c: Likewise.
68696         * sunrpc/key_call.c: Likewise.
68697         * sunrpc/key_prot.c: Likewise.
68698         * sunrpc/netname.c: Likewise.
68699         * sunrpc/pm_getmaps.c: Likewise.
68700         * sunrpc/pm_getport.c: Likewise.
68701         * sunrpc/pmap_clnt.c: Likewise.
68702         * sunrpc/pmap_prot.c: Likewise.
68703         * sunrpc/pmap_prot2.c: Likewise.
68704         * sunrpc/pmap_rmt.c: Likewise.
68705         * sunrpc/publickey.c: Likewise.
68706         * sunrpc/rpc_cmsg.c: Likewise.
68707         * sunrpc/rpc_common.c: Likewise.
68708         * sunrpc/rpc_dtable.c: Likewise.
68709         * sunrpc/rpc_prot.c: Likewise.
68710         * sunrpc/rpc_thread.c: Likewise.
68711         * sunrpc/rtime.c: Likewise.
68712         * sunrpc/svc.c: Likewise.
68713         * sunrpc/svc_auth.c: Likewise.
68714         * sunrpc/svc_raw.c: Likewise.
68715         * sunrpc/svc_run.c: Likewise.
68716         * sunrpc/svc_tcp.c: Likewise.
68717         * sunrpc/svc_udp.c: Likewise.
68718         * sunrpc/svc_unix.c: Likewise.
68719         * sunrpc/svcauth_des.c: Likewise.
68720         * sunrpc/xcrypt.c: Likewise.
68721         * sunrpc/xdr.c: Likewise.
68722         * sunrpc/xdr_array.c: Likewise.
68723         * sunrpc/xdr_float.c: Likewise.
68724         * sunrpc/xdr_intXX_t.c: Likewise.
68725         * sunrpc/xdr_mem.c: Likewise.
68726         * sunrpc/xdr_rec.c: Likewise.
68727         * sunrpc/xdr_ref.c: Likewise.
68728         * sunrpc/xdr_sizeof.c: Likewise.
68729         * sunrpc/xdr_stdio.c: Likewise.
68731 2012-05-10  Roland McGrath  <roland@hack.frob.com>
68733         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
68734         change.  Update copyright years.
68736 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
68738         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
68740 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
68741             Joseph Myers  <joseph@codesourcery.com>
68742             Paul Pluzhnikov  <ppluzhnikov@google.com>
68744         [BZ #14012]
68745         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
68746         requiring rpcgen.
68747         [cross-compiling] (extra-libs): Likewise.
68748         [cross-compiling] (extra-libs-others): Likewise.
68749         [cross-compiling] (librpcsvc-routines): Likewise.
68750         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
68751         [cross-compiling] (omit-deps): Likewise.
68752         (sunrpc-CPPFLAGS): New variable.
68753         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
68754         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
68755         (cross-rpcgen-objs): New variable.
68756         (extra-objs): Append $(cross-rpcgen-objs).
68757         ($(cross-rpcgen-objs)): New rule.
68758         ($(objpfx)cross-rpcgen): Likewise.
68759         (rpcgen-cmd): Define to use $(built-program-file).  Expand
68760         comment.
68761         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
68762         ($(objpfx)x%.stmp): Likewise.
68763         * sunrpc/proto.h [IS_IN_build] (_): Define.
68764         [IS_IN_build] (_libc_intl_domainname): Likewise.
68766 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
68768         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
68769         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
68770         and R_X86_64_TPOFF64.
68772 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
68774         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
68775         sysdeps/unix/sysv/syscalls.list.
68776         (stime): Likewise.
68777         (utime): Likewise.
68778         * sysdeps/unix/sysv/syscalls.list: Remove file.
68780 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
68782         [BZ #3440]
68783         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
68784         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
68785         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
68786         (__LC_IDENTIFICATION): Make these macros useful in #if
68787         expressions, as required by C99.
68789 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
68791         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
68792         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
68793         after this.
68795 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
68797         * stdlib/longlong.h: Updated from GCC.
68799 2012-05-09  Andreas Jaeger  <aj@suse.de>
68801         * nscd/nscd.c (run_modes): Make named enum, reorder so that
68802         default is first entry.
68803         (run_mode): Set type.
68804         (main): Remove informal message about syslog.
68805         (options): Fix typo.
68807         [BZ #14053]
68808         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
68809         to asm.
68810         (lrint): Likewise.
68811         (llrintf): Likewise.
68812         (llrint): Likewise.
68813         (rint): Likewise.
68814         (rintf): Likewise.
68815         (nearbyint): Likewise.
68816         (nearbyintf): Likewise.
68818 2012-05-09  Andreas Jaeger  <aj@suse.de>
68819             Pedro Alves  <palves@redhat.com>
68821         * nscd/nscd.c (run_mode): Use enum.
68822         (main): Cleanup coding style issue.
68824 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
68825             Andreas Jaeger  <aj@suse.de>
68827         * nscd/nscd.c (go_background): Replaced with...
68828         (run_mode): ... this.
68829         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
68830         (options): Add -F --foreground.
68831         (main): Implement it.
68832         (parse_opt): Parse it.
68834 2012-05-09  Andreas Jaeger  <aj@suse.de>
68836         [BZ #14083]
68837         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
68838         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
68839         -Wconversion warning.
68840         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
68841         Likewise.
68843 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
68845         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
68846         == 0.
68847         (LC_ALL): Use macro-int-constant.
68848         (LC_COLLATE): Likewise.
68849         (LC_CTYPE): Likewise.
68850         (LC_MESSAGES): Likewise.
68851         (LC_MONETARY): Likewise.
68852         (LC_NUMERIC): Likewise.
68853         (LC_TIME): Likewise.
68854         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
68855         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
68856         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68857         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
68858         Specify type.
68859         [C99-based standards] (float_t): Expect type.
68860         [C99-based standards] (double_t): Expect type.
68861         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
68862         type.
68863         [C99-based standards] (HUGE_VALL): Likewise.
68864         [C99-based standards] (INFINITY): Likewise.
68865         [C99-based standards] (NAN): Likewise.
68866         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
68867         [C99-based standards] (FP_NAN): Likewise.
68868         [C99-based standards] (FP_NORMAL): Likewise.
68869         [C99-based standards] (FP_SUBNORMAL): Likewise.
68870         [C99-based standards] (FP_ZERO): Likewise.
68871         [C99-based standards] (FP_FAST_FMA): Use
68872         optional-macro-int-constant.  Specify type.  Require == 1.
68873         [C99-based standards] (FP_FAST_FMAF): Likewise.
68874         [C99-based standards] (FP_FAST_FMAL): Likewise.
68875         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
68876         [C99-based standards] (FP_ILOGBNAN): Likewise.
68877         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
68878         Specify type.
68879         [C99-based standards] (MATH_ERREXCEPT): Likewise.
68880         [C99-based standards] (math_errhandling): Specify type.
68881         [ISO99 || ISO11] (signgam): Do not allow.
68882         [non-C99-based standards] (copysignf): Do not allow.
68883         [non-C99-based standards] (exp2f): Likewise.
68884         [non-C99-based standards] (log2f): Likewise.
68885         [non-C99-based standards] (modff): Allow.
68886         [non-C99-based standards] (erff): Do not allow.
68887         [non-C99-based standards] (erfcf): Likewise.
68888         [non-C99-based standards] (gammaf): Likewise.
68889         [non-C99-based standards] (hypotf): Likewise.
68890         [non-C99-based standards] (j0f): Likewise.
68891         [non-C99-based standards] (j1f): Likewise.
68892         [non-C99-based standards] (jnf): Likewise.
68893         [non-C99-based standards] (lgammaf): Likewise.
68894         [non-C99-based standards] (tgammaf): Likewise.
68895         [non-C99-based standards] (y0f): Likewise.
68896         [non-C99-based standards] (y1f): Likewise.
68897         [non-C99-based standards] (ynf): Likewise.
68898         [non-C99-based standards] (isnanf): Likewise.
68899         [non-C99-based standards] (acoshf): Likewise.
68900         [non-C99-based standards] (asinhf): Likewise.
68901         [non-C99-based standards] (atanhf): Likewise.
68902         [non-C99-based standards] (cbrtf): Likewise.
68903         [non-C99-based standards] (expm1f): Likewise.
68904         [non-C99-based standards] (ilogbf): Likewise.
68905         [non-C99-based standards] (log1pf): Likewise.
68906         [non-C99-based standards] (logbf): Likewise.
68907         [non-C99-based standards] (nextafterf): Likewise.
68908         [non-C99-based standards] (remainderf): Likewise.
68909         [non-C99-based standards] (rintf): Likewise.
68910         [non-C99-based standards] (scalbf): Likewise.
68911         [non-C99-based standards] (copysignl): Likewise.
68912         [non-C99-based standards] (exp2l): Likewise.
68913         [non-C99-based standards] (log2l): Likewise.
68914         [non-C99-based standards] (modfl): Allow.
68915         [non-C99-based standards] (erfl): Do not allow.
68916         [non-C99-based standards] (erfcl): Likewise.
68917         [non-C99-based standards] (gammal): Likewise.
68918         [non-C99-based standards] (hypotl): Likewise.
68919         [non-C99-based standards] (j0l): Likewise.
68920         [non-C99-based standards] (j1l): Likewise.
68921         [non-C99-based standards] (jnl): Likewise.
68922         [non-C99-based standards] (lgammal): Likewise.
68923         [non-C99-based standards] (tgammal): Likewise.
68924         [non-C99-based standards] (y0l): Likewise.
68925         [non-C99-based standards] (y1l): Likewise.
68926         [non-C99-based standards] (ynl): Likewise.
68927         [non-C99-based standards] (isnanl): Likewise.
68928         [non-C99-based standards] (acoshl): Likewise.
68929         [non-C99-based standards] (asinhl): Likewise.
68930         [non-C99-based standards] (atanhl): Likewise.
68931         [non-C99-based standards] (cbrtl): Likewise.
68932         [non-C99-based standards] (expm1l): Likewise.
68933         [non-C99-based standards] (ilogbl): Likewise.
68934         [non-C99-based standards] (log1pl): Likewise.
68935         [non-C99-based standards] (logbl): Likewise.
68936         [non-C99-based standards] (nextafterl): Likewise.
68937         [non-C99-based standards] (remainderl): Likewise.
68938         [non-C99-based standards] (rintl): Likewise.
68939         [non-C99-based standards] (scalbl): Likewise.
68940         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68941         [non-C99-based standards] (FP_*): Do not allow.
68942         [C99-based standards] (FP_*): Change to
68943         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
68944         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68945         allow.
68946         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
68947         (SIG_ERR): Likewise.
68948         [X/Open-based standards] (SIG_HOLD): Likewise.
68949         (SIG_IGN): Likewise.
68950         (SIGABRT): Use macro-int-constant.  Specify type.  Require
68951         positive value.
68952         (SIGFPE): Likewise.
68953         (SIGILL): Likewise.
68954         (SIGINT): Likewise.
68955         (SIGSEGV): Likewise.
68956         (SIGTER): Likewise.
68957         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
68958         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
68959         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
68960         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
68961         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
68962         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
68963         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
68964         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
68965         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
68966         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
68967         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
68968         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
68969         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
68970         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
68971         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
68972         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
68973         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
68974         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
68975         [X/Open-based standards] (SIGTRAP): Likewise.
68976         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
68977         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
68978         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
68979         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
68980         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68981         allow.
68983 2012-05-08  Ian Wienand  <ianw@vmware.com>
68985         [BZ #14080]
68986         * time/tzset.c (__tzset_parse_tz): Update default rules for
68987         daylight time changes in the Energy Policy Act of 2005.
68989 2012-05-09  Andreas Jaeger  <aj@suse.de>
68991         [BZ #13983]
68992         * elf/ldconfig.c (parse_conf): Change string to make clear that
68993         ldconfig only issued a warning if ld.so.conf does not exist.
68995 2012-05-08  David S. Miller  <davem@davemloft.net>
68997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
68998         movxtod instead of popping the value on the stack.
69000         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69002 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
69004         * config.h.in: Add HAVE_ARM_PCS_VFP.
69006 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
69008         [BZ #13979]
69009         * include/features.h: Warn if user requests __FORTIFY_SOURCE
69010         checking but the checks are disabled for any reason.
69012 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
69014         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
69015         and ELF64_R_TYPE with ELFW(R_TYPE).
69017 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
69019         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
69020         (ulimit): Likewise.
69022         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
69023         (settimeofday): Likewise.
69025 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
69027         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
69028         a struct th_u2 inside the union, and move tu_block/tu_code into
69029         a new th_u3 union of tu_block/tu_code inside of that.  Move
69030         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
69031         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
69032         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
69033         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
69034         (th_stuff): Change to th_u1.tu_stuff.
69035         (th_data): Define.
69036         (th_msg): Change to th_u1.th_u2.tu_data.
69038 2012-05-07  David S. Miller  <davem@davemloft.net>
69040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69042         [BZ #14074]
69043         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
69044         (SETUP_PIC_REG): Use it.
69045         (SETUP_PIC_REG_LEAF): Use it.
69047 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
69049         [BZ #13885]
69050         [BZ #13923]
69051         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69052         USE_AS_EXPM1L.
69053         (EXPL_FINITE): Likewise.
69054         (FLDLOG): Likewise.
69055         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
69056         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
69057         e_expl.S.
69058         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69059         USE_AS_EXPM1L.
69060         (EXPL_FINITE): Likewise.
69061         (FLDLOG): Likewise.
69062         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
69063         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
69064         e_expl.S.
69065         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
69066         test of -max_value argument for long double.
69067         * sysdeps/i386/fpu/libm-test-ulps: Update.
69068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69070 2012-05-06  David S. Miller  <davem@davemloft.net>
69072         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
69073         quad soft-float symbols whose references which are compiler
69074         generated.
69075         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
69077 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
69079         [BZ #13884]
69080         [BZ #13914]
69081         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69082         USE_AS_EXP10L.
69083         (EXPL_FINITE): Likewise.
69084         (FLDLOG): Likewise.
69085         (c0): Likewise.
69086         (c1): Likewise.
69087         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
69088         Adjust comments for base varying.
69089         (__expl_finite): Change alias to EXPL_FINITE.
69090         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
69091         e_expl.S.
69092         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
69093         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
69094         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
69095         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
69096         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69097         USE_AS_EXP10L.
69098         (EXPL_FINITE): Likewise.
69099         (FLDLOG): Likewise.
69100         (c0): Likewise.
69101         (c1): Likewise.
69102         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
69103         Adjust comments for base varying.
69104         (__expl_finite): Change alias to EXPL_FINITE.
69105         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
69106         tests for bugs.
69107         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69109         [BZ #14064]
69110         * math/libm-test.inc (check_float_internal): Correct ulp
69111         calculation for subnormal expected results.
69113 2012-05-06  Andreas Jaeger  <aj@suse.de>
69115         * Makeconfig (+math-flags): New, set to -frounding-math.
69116         (+cflags): Add +math-flags so that all of glibc gets compiled with
69117         it.
69119         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
69121 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
69123         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
69124         Disable one test.
69126         [BZ #13787]
69127         [BZ #13922]
69128         [BZ #14036]
69129         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
69130         (__ieee754_expl): Allow for and saturate large arguments.
69131         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
69132         (u_threshold): Likewise.
69133         (__exp): Call __ieee754_exp before checking for overflow and
69134         underflow.
69135         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
69136         (u_threshold): Likewise.
69137         (__expf): Call __ieee754_expf before checking for overflow and
69138         underflow.
69139         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
69140         (u_threshold): Likewise.
69141         (__expl): Call __ieee754_expl before checking for overflow and
69142         underflow.
69143         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
69144         (__ieee754_expl): Allow for and saturate large arguments.
69145         * math/libm-test.inc (exp_test): Add another test.  Do not allow
69146         missing overflow exception on overflow.
69147         (expm1_test): Do not allow missing overflow exception on overflow.
69149         * sysdeps/i386/fpu/e_expl.c: Move to ...
69150         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
69151         rather than using inline asm.
69152         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
69153         * sysdeps/x86_64/fpu/e_expl.S: Copy from
69154         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
69156         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
69157         (nice): Likewise.
69158         (poll): Likewise.
69159         (signal): Likewise.
69160         (time): Likewise.
69161         (times): Likewise.
69163 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
69165         * sysdeps/unix/syscalls.list (adjtime): Add entry from
69166         sysdeps/unix/common/syscalls.list.
69167         (fchmod): Likewise.
69168         (fchown): Likewise.
69169         (ftruncate): Likewise.
69170         (getrusage): Likewise.
69171         (gettimeofday): Likewise.
69172         (setpgid): Likewise.
69173         (setregid): Likewise.
69174         (setreuid): Likewise.
69175         (sigaction): Likewise.
69176         (truncate): Likewise.
69177         (vhangup): Likewise.
69178         * sysdeps/unix/common/syscalls.list: Remove file.
69179         * sysdeps/unix/bsd/Implies: Don't include unix/common.
69180         * sysdeps/unix/sysv/linux/Implies: Likewise.
69182 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
69184         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
69185         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
69186         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
69187         Moved to ...
69188         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
69189         Here.
69190         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
69191         to ...
69192         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
69193         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
69194         to ...
69195         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
69196         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
69197         to ...
69198         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
69199         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
69200         to ...
69201         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
69202         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
69203         to ...
69204         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
69205         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
69206         to ...
69207         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
69208         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
69209         to ...
69210         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
69211         Here.
69212         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
69213         to ...
69214         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
69215         Here.
69216         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
69217         to ...
69218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
69219         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
69220         Moved to ...
69221         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
69222         Here.
69223         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
69224         to ...
69225         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
69227 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
69229         * sysdeps/unix/common/bits/dirent.h: Remove file.
69230         * sysdeps/unix/common/bits/fcntl.h: Likewise.
69232         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
69233         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
69234         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
69235         * sysdeps/unix/bsd/isatty.c: Likewise.
69236         * sysdeps/unix/bsd/tcdrain.c: Likewise.
69237         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
69238         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
69240 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69242         [BZ #13563]
69243         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
69244         long double comparison inaccuracies.
69245         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
69246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69248 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
69250         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
69251         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
69253 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
69255         [BZ #14049]
69256         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
69257         nonzero digits before rounding a hex value.
69258         * stdlib/tst-strtod.c (tests): Add another test.
69260 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69262         * sysdeps/s390/fpu/libm-test-ulps: Update.
69264 2012-05-03  Andreas Jaeger  <aj@suse.de>
69266         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
69267         does not get optimized out.
69268         (malloc_opt_barrier): New.
69270 2012-05-03  Andreas Jaeger  <aj@suse.de>
69271             Roland McGrath  <roland@hack.frob.com>
69273         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
69274         intermediate file deletion.
69275         (generated): Add .symlist files.
69277 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
69279         [BZ #13775]
69280         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
69281         Redirect under this condition.
69282         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
69283         [__USE_GNU] (__dprintf_chk): Not under this condition.
69284         [__USE_GNU] (__vdprintf_chk): Likewise.
69285         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
69286         under this condition.
69287         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
69288         [__USE_XOPEN2K8] (dprintf): Define under this condition.
69289         [__USE_XOPEN2K8] (vdprintf): Likewise.
69290         [__USE_GNU] (__dprintf_chk): Not under this condition.
69291         [__USE_GNU] (__vdprintf_chk): Likewise.
69292         [__USE_GNU] (dprintf): Likewise.
69293         [__USE_GNU] (vdprintf): Likewise.
69295 2012-05-03  Roland McGrath  <roland@hack.frob.com>
69297         * elf/Makefile (common-generated): Set this instead of generated for
69298         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
69299         $(all-built-dso)-derived lists.
69301 2012-05-03  Andreas Jaeger  <aj@suse.de>
69303         * sysdeps/i386/fpu/libm-test-ulps: Update.
69305         * FAQ: Removed.
69306         * FAQ.in: Likewise.
69307         * scripts/gen-FAQ.pl: Likewise.
69308         * manual/install.texi (Installation): Point to online location of
69309         FAQ.
69310         * Makefile (files-for-dist): Remove FAQ.
69311         (FAQ): Remove.
69313 2012-05-02  Allan McRae  <allan@archlinux.org>
69315         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
69316         (LDFLAGS-reldepmod5.so): Likewise.
69317         (LDFLAGS-reldep6mod1.so): Likewise.
69318         (LDFLAGS-reldep6mod4.so): Likewise.
69319         (LDFLAGS-reldep8mod3.so): Likewise.
69320         (LDFLAGS-unload4mod1.so): Likewise.
69321         (LDFLAGS-unload4mod2.so): Likewise.
69322         (LDFLAGS-tst-initorder): Likewise.
69323         (LDFLAGS-tst-initordera2.so): Likewise.
69324         (LDFLAGS-tst-initordera3.so): Likewise.
69325         (LDFLAGS-tst-initordera4.so): Likewise.
69326         (LDFLAGS-tst-initorderb2.so): Likewise.
69327         (LDFLAGS-noload): Likewise.
69328         (LDFLAGS-next): Likewise.
69329         (LDFLAGS-order2mod1.so): Likewise.
69330         (LDFLAGS-order2mod2.so): Likewise.
69331         (LDFLAGS-tst-initorder2): Likewise.
69332         (LDFLAGS-tst-initorder2a.so): Likewise.
69333         (LDFLAGS-tst-initorder2b.so): Likewise.
69334         (LDFLAGS-tst-initorder2c.so): Likewise.
69335         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
69337 2012-05-02  David S. Miller  <davem@davemloft.net>
69339         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69341 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
69343         [BZ #14055]
69344         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
69346 2012-05-02  Andreas Jaeger  <aj@suse.de>
69348         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
69349         since we manipulate rounding mode.
69350         (CPPFLAGS-test-idouble.c): Likewise.
69351         (CPPFLAGS-test-ifloat.c): Likewise.
69352         (CFLAGS-test-ldouble.c): Likewise.
69353         (CFLAGS-test-double.c): Likewise.
69354         (CFLAGS-test-float.c): Likewise.
69355         (CFLAGS-test-misc.c): Likewise.
69356         (CFLAGS-test-test-fenv.c): Likewise.
69358 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69360         [BZ #2550]
69361         [BZ #2570]
69362         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
69363         comparisons to determine direction to adjust input.
69365 2012-05-01  Roland McGrath  <roland@hack.frob.com>
69367         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
69368         output to the target.
69370         * scripts/localplt.awk: New file.
69371         * elf/Makefile ($(objpfx)check-localplt): Target removed.
69372         (check-localplt-CFLAGS): Variable removed.
69373         ($(all-built-dso:=.jmprel)): New static pattern rule.
69374         (generated): Add those targets.
69375         (localplt-built-dso): New variable.
69376         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
69378         * elf/check-localplt.c: File removed.
69380         * scripts/check-execstack.awk: New file.
69381         * elf/Makefile ($(objpfx)check-execstack): Target removed.
69382         (check-execstack-CFLAGS): Variable removed.
69383         ($(objpfx)check-execstack.h): Target removed.
69384         ($(objpfx)execstack-default): New target.
69385         (generated): Add that instead of check-execstack.h.
69386         ($(all-built-dso:=.phdr)): New static pattern rule.
69387         (generated): Add those targets.
69388         * elf/check-execstack.c: File removed.
69390         * scripts/check-textrel.awk: New file.
69391         * elf/Makefile ($(objpfx)check-textrel): Target removed.
69392         (check-textrel-CFLAGS): Variable removed.
69393         (all-built-dso): Use := to define.o
69394         ($(all-built-dso:=.dyn)): New static pattern rule.
69395         (generated): Add those targets.
69396         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
69397         * config.make.in (READELF): New substituted variable.
69398         * elf/check-textrel.c: File removed.
69400 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
69402         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
69403         allow.
69404         * conform/data/ctype.h-data [C99-based standards] (isblank):
69405         Expect function.
69406         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
69407         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
69408         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69409         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
69410         Specify type.  Require positive value.
69411         (EILSEQ): Likewise.
69412         (ERANGE): Likewise.
69413         [ISO || POSIX] (EILSEQ): Do not expect.
69414         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
69415         Specify type.  Require positive value.
69416         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
69417         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
69418         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
69419         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
69420         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
69421         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
69422         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
69423         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
69424         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
69425         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
69426         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
69427         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
69428         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
69429         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
69430         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
69431         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
69432         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
69433         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
69434         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
69435         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
69436         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
69437         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
69438         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
69439         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
69440         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
69441         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
69442         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
69443         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
69444         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
69445         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
69446         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
69447         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
69448         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
69449         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
69450         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
69451         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
69452         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
69453         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
69454         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
69455         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
69456         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
69457         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
69458         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
69459         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
69460         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
69461         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
69462         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
69463         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
69464         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
69465         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
69466         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
69467         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
69468         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
69469         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
69470         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
69471         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
69472         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
69473         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
69474         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
69475         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
69476         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
69477         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
69478         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
69479         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
69480         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
69481         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
69482         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
69483         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
69484         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
69485         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
69486         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
69487         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
69488         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
69489         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
69490         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
69491         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
69492         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
69493         Require >= 2.
69494         (FLT_ROUNDS): Expect as macro, not constant.
69495         (FLT_MANT_DIG): Use macro-int-constant.
69496         (DBL_MANT_DIG): Likewise.
69497         (LDBL_MANT_DIG): Likewise.
69498         (FLT_DIG): Likewise.
69499         (DBL_DIG): Likewise.
69500         (LDBL_DIG): Likewise.
69501         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
69502         (DBL_MIN_EXP): Likewise.
69503         (LDBL_MIN_EXP): Likewise.
69504         (FLT_MAX_EXP): Use macro-int-constant.
69505         (DBL_MAX_EXP): Likewise.
69506         (LDBL_MAX_EXP): Likewise.
69507         (FLT_MAX_10_EXP): Likewise.
69508         (DBL_MAX_10_EXP): Likewise.
69509         (LDBL_MAX_10_EXP): Likewise.
69510         (FLT_MAX): Use macro-constant.
69511         (DBL_MAX): Likewise.
69512         (LDBL_MAX): Likewise.
69513         (FLT_EPSILON): Use macro-constant.  Give upper bound.
69514         (DBL_EPSILON): Likewise.
69515         (LDBL_EPSILON): Likewise.
69516         (FLT_MIN): Likewise.
69517         (DBL_MIN): Likewise.
69518         (LDBL_MIN): Likewise.
69519         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
69520         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
69521         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
69522         [ISO11] (FLT_HAS_SUBNORM): Likewise.
69523         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
69524         [ISO11] (DBL_DECIMAL_DIG): Likewise.
69525         [ISO11] (FLT_DECIMAL_DIG): Likewise.
69526         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
69527         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
69528         [ISO11] (FLT_TRUE_MIN): Likewise.
69529         [ISO11] (LDBL_TRUE_MIN): Likewise.
69530         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69531         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
69532         (SCHAR_MIN): Use macro-int-constant.  Specify type.
69533         (SCHAR_MAX): Likewise.
69534         (UCHAR_MAX): Likewise.
69535         (CHAR_MIN): Likewise.
69536         (CHAR_MAX): Likewise.
69537         (MB_LEN_MAX): Use macro-int-constant.
69538         (SHRT_MIN): Use macro-int-constant.  Specify type.
69539         (SHRT_MAX): Likewise.
69540         (USHRT_MAX): Likewise.
69541         (INT_MAX): Likewise.
69542         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
69543         bound negative.
69544         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69545         bound with "U".
69546         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69547         bound with "L".
69548         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
69549         bound negative.  Suffix upper bound with "L".
69550         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69551         bound with "UL".
69552         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
69553         Specify type.
69554         [C99-based standards] (LLONG_MAX): Likewise.
69555         [C99-based standards] (ULLONG_MAX): Likewise.
69556         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
69557         == 0.
69558         [ISO11] (max_align_t): Require type.
69559         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69561         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
69562         from $CFLAGS, without defining away __attribute__ calls.
69563         (checknamespace): Use $CFLAGS_namespace.
69565         * conform/conformtest.pl (@keywords): Only include C99 keywords
69566         for standards based on C99 or C11.
69568         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
69569         Disable tests.
69570         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
69571         UNIX98]: Likewise.
69573         * conform/conformtest.pl: Handle "macro-int-constant" and test for
69574         usability of symbols in #if.
69576         * conform/conformtest.pl: If macro or constant types start
69577         "promoted:", expect the symbol to be of the following type
69578         promoted by the integer promotions.
69580         * conform/conformtest.pl: Parse all "constant" and "macro" lines
69581         in one place.  Also handle "macro-constant".
69583         * conform/conformtest.pl: Only accept expected macro values with
69584         "==".  Parse all "macro" lines in one place.
69585         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
69587         * conform/conformtest.pl: Handle braced types on "constant" lines
69588         instead of handling "typed-constant".
69589         * conform/data/signal.h-data: Use "constant" instead of
69590         "typed-constant".
69592         * conform/conformtest.pl: Handle "optional-" at start of lines in
69593         one place rather than duplicating several cases.  Handle each
69594         format of "macro" line with initial "optional-".
69596         * conform/conformtest.pl: Only accept expected constant or
69597         optional-constant values with "==".  Parse all "constant" lines in
69598         one place.  Parse all "optional-constant" lines in one place.
69599         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
69600         * conform/data/fmtmsg.h-data: Likewise.
69601         * conform/data/netinet/in.h-data: Likewise.
69602         * conform/data/tar.h-data: Likewise.
69603         * conform/data/limits.h-data: Use "==" form on "constant" and
69604         "optional-constant" lines.
69606         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
69607         Use -std=c99 for XOPEN2K.
69608         (@knownproblems): Remove.
69609         (newtoken): Don't check %isknown.
69611         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
69612         Do not expect macro.
69613         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
69614         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
69615         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
69616         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
69617         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
69618         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
69619         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
69620         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
69621         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
69622         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
69623         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
69624         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
69625         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
69626         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
69627         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
69628         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
69629         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
69630         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
69631         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
69632         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
69633         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
69634         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
69635         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
69636         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
69637         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
69638         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
69639         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
69640         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
69641         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
69642         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
69643         [XPG3] (acosh): Likewise.
69644         [XPG3] (asinh): Likewise.
69645         [XPG3] (atanh): Likewise.
69646         [XPG3] (cbrt): Likewise.
69647         [XPG3] (expm1): Likewise.
69648         [XPG3] (ilogb): Likewise.
69649         [XPG3] (log1p): Likewise.
69650         [XPG3] (logb): Likewise.
69651         [XPG3] (nextafter): Likewise.
69652         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
69653         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
69654         [XPG3] (remainder): Likewise.
69655         [XPG3] (rint): Likewise.
69656         [XPG3 || XPG4 || UNIX98] (round): Likewise.
69657         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
69658         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
69659         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
69660         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
69661         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
69662         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
69663         [UNIX98 || XOPEN2K] (scalb): Expect.
69664         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
69665         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
69666         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
69667         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
69668         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
69669         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
69670         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
69671         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
69672         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
69673         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
69674         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
69675         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
69676         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
69677         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
69678         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
69679         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
69680         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
69681         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
69682         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
69683         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
69684         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
69685         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
69686         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
69687         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
69688         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
69689         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
69690         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
69691         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
69692         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
69693         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
69694         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
69695         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
69696         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
69697         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
69698         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
69699         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
69700         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
69701         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
69702         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
69703         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
69704         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
69705         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
69706         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
69707         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
69708         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
69709         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
69710         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
69711         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
69712         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
69713         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
69714         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
69715         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
69716         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
69717         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
69718         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
69719         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
69720         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
69721         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
69722         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
69723         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
69724         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
69725         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
69726         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
69727         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
69728         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
69729         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
69730         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
69731         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
69732         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
69733         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
69734         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
69735         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
69736         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
69737         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
69738         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
69739         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
69740         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
69741         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
69742         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
69743         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
69744         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
69745         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
69746         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
69747         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
69748         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
69749         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
69750         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
69751         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
69752         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
69753         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
69754         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
69755         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
69756         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
69757         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
69758         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
69759         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
69760         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
69761         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
69762         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
69763         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
69764         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
69765         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
69766         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
69767         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
69768         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
69769         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
69770         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
69771         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
69772         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
69773         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
69774         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
69775         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
69776         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
69777         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
69778         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
69779         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
69780         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
69781         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
69782         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
69783         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
69784         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
69785         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
69786         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
69787         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
69788         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
69789         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
69790         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
69791         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
69792         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
69793         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
69794         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
69795         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
69796         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
69797         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
69798         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
69799         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
69800         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
69802         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
69803         _XOPEN_SOURCE_EXTENDED for XPG4.
69805         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
69807         * Makeconfig (localtime): Remove variable.
69808         (inst_localtime-file): Likewise.
69810 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
69812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
69813         Update.
69814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69815         Update.
69816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
69817         Update.
69818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
69819         Update.
69820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
69821         Update.
69822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
69823         Update.
69824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69825         Update.
69826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
69827         Update.
69828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
69829         Update.
69831 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
69833         [BZ #2550]
69834         [BZ #2570]
69835         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
69836         comparisons to determine direction to adjust input.
69837         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
69838         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
69839         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
69840         Likewise.
69841         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
69842         Likewise.
69843         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
69844         Likewise.
69845         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
69846         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
69847         Likewise.
69848         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
69849         Likewise.
69850         * math/libm-test.inc (nexttoward_test): Add more tests.
69852 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
69854         [BZ #14040]
69855         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
69856         in version GLIBC_2.1, not GLIBC_2.0.
69857         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
69858         Likewise.
69860 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
69862         [BZ #13942]
69863         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
69864         (1 - x) * (1 + x).
69865         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
69866         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
69867         * math/libm-test.inc (acos_test): Add more tests.
69868         (asin_test): Likewise.
69869         * sysdeps/i386/fpu/libm-test-ulps: Update.
69870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69872         [BZ #14034]
69873         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
69874         of square root.
69875         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
69876         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
69877         * math/libm-test.inc (acos_test_tonearest): New function.
69878         (acos_test_towardzero): Likewise.
69879         (acos_test_downward): Likewise.
69880         (acos_test_upward): Likewise.
69881         (asin_test_tonearest): Likewise.
69882         (asin_test_towardzero): Likewise.
69883         (asin_test_downward): Likewise.
69884         (asin_test_upward): Likewise.
69885         (main): Call the new functions.
69886         * sysdeps/i386/fpu/libm-test-ulps: Update.
69887         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69889         [BZ #13884]
69890         [BZ #13924]
69891         * math/e_exp10.c: Include <float.h>.
69892         (__ieee754_exp10): Handle underflow here rather than multiplying
69893         large negative argument by M_LN10.
69894         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
69895         of __ieee754_expf.
69896         * math/e_exp10l.c: Include <float.h>.
69897         (__ieee754_exp10l): Handle underflow here rather than multiplying
69898         large negative argument by M_LN10l.
69899         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
69900         spurious overflow exception on underflow.
69902 2012-04-29  Marek Polacek  <polacek@redhat.com>
69904         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
69905         (__fortify_function): New macro.
69906         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
69907         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
69908         __extern_always_inline.
69909         * libio/bits/stdio2.h: Likewise.
69910         * libio/bits/stdio.h: Likewise.
69911         * string/string.h: Likewise.
69912         * string/bits/string3.h: Likewise.
69913         * include/stdio.h: Likewise.
69914         * stdlib/bits/stdlib.h: Likewise.
69915         * stdlib/stdlib.h: Likewise.
69916         * rt/bits/mqueue2.h: Likewise.
69917         * rt/mqueue.h: Likewise.
69918         * posix/bits/unistd.h: Likewise.
69919         * posix/unistd.h: Likewise.
69920         * io/bits/poll2.h: Likewise.
69921         * io/bits/fcntl2.h: Likewise.
69922         * io/fcntl.h: Likewise.
69923         * io/sys/poll.h: Likewise.
69924         * misc/bits/syslog.h: Likewise.
69925         * misc/bits/syslog-ldbl.h: Likewise.
69926         * misc/sys/syslog.h: Likewise.
69927         * socket/bits/socket2.h: Likewise.
69928         * socket/sys/socket.h: Likewise.
69929         * debug/tst-chk1.c: Likewise.
69930         * wcsmbs/bits/wchar2.h: Likewise.
69931         * wcsmbs/bits/wchar-ldbl.h: Likewise.
69932         * wcsmbs/wchar.h: Likewise.
69934 2012-04-29  Andreas Jaeger  <aj@suse.de>
69936         * Makerules (tests): Remove enable-check-abi protection.
69937         (check-abi-warn): Remove.
69938         (check-abi-%): Remove check-abi-warn usage.
69940         * configure.in: Remove check-abi configure option.
69941         * configure: Regenerated.
69942         * config.make.in (enable-check-abi): Remove.
69944 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
69946         [BZ #14033]
69947         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
69948         double functions to double *_finite functions.
69950         [BZ #13941]
69951         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
69952         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
69953         LDBL_MIN_EXP.
69954         * stdio-common/Makefile (tests): Add tst-sprintf3.
69955         * stdio-common/tst-sprintf3.c: New file.
69957         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
69958         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
69960 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
69962         * conform/conformtest.pl: Remove duplicate typed-constant
69963         handling.
69965 2012-04-28  David S. Miller  <davem@davemloft.net>
69967         * Makerules (%.abilist): Add vpath on sysdep_dirs.
69968         (check-abi-%): Remove AWK script prerequisite and explicit
69969         abilist directory.
69970         (check-abi): Rewrite to just diff the symlist with the abilist.
69971         (config-tls, config-abi-config): Delete, no longer used.
69972         (update-abi-%): Remove AWK script and explicit abilist directory.
69973         (update-abi): Rewrite to simply compare and conditionally copy the
69974         symlist and the sysdep abilist file.  Remove update-abi-config
69975         checks.
69976         * abilist/ld.abilist: Remove.
69977         * abilist/libBrokenLocale.abilist: Remove.
69978         * abilist/libanl.abilist: Remove.
69979         * abilist/libcrypt.abilist: Remove.
69980         * abilist/libdl.abilist: Remove.
69981         * abilist/librt.abilist: Remove.
69982         * abilist/libthread_db.abilist: Remove.
69983         * abilist/libutil.abilist: Remove.
69984         * scripts/extract-abilist.awk: Remove.
69985         * scripts/merge-abilist.awk: Remove.
69986         * sysdeps/generic/libcidn.abilist: New file.
69987         * sysdeps/generic/libnss_compat.abilist: New file.
69988         * sysdeps/generic/libnss_db.abilist: New file.
69989         * sysdeps/generic/libnss_dns.abilist: New file.
69990         * sysdeps/generic/libnss_files.abilist: New file.
69991         * sysdeps/generic/libnss_hesiod.abilist: New file.
69992         * sysdeps/generic/libnss_nis.abilist: New file.
69993         * sysdeps/generic/libnss_nisplus.abilist: New file.
69994         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
69995         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
69996         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
69997         file.
69998         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
69999         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
70000         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
70001         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
70002         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
70003         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
70004         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
70005         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
70006         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
70007         file.
70008         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
70009         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
70010         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
70011         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
70012         file.
70013         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
70014         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
70015         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
70016         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
70017         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
70018         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
70019         file.
70020         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
70021         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
70022         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
70023         file.
70024         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
70025         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
70026         New file.
70027         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
70028         New file.
70029         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
70030         New file.
70031         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
70032         New file.
70033         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
70034         New file.
70035         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
70036         New file.
70037         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
70038         New file.
70039         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
70040         New file.
70041         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
70042         New file.
70043         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
70044         New file.
70045         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
70046         New file.
70047         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
70048         New file.
70049         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
70050         New file.
70051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
70052         file.
70053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
70054         New file.
70055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
70056         New file.
70057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
70058         file.
70059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
70060         New file.
70061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
70062         New file.
70063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
70064         file.
70065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
70066         New file.
70067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
70068         New file.
70069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
70070         New file.
70071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
70072         New file.
70073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
70074         New file.
70075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
70076         New file.
70077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
70078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
70079         file.
70080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
70081         New file.
70082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
70083         file.
70084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
70085         file.
70086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
70087         file.
70088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
70089         file.
70090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
70091         file.
70092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
70093         New file.
70094         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
70095         file.
70096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
70097         file.
70098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
70099         New file.
70100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
70101         file.
70102         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
70103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
70104         file.
70105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
70106         New file.
70107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
70108         file.
70109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
70110         file.
70111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
70112         file.
70113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
70114         file.
70115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
70116         file.
70117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
70118         New file.
70119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
70120         file.
70121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
70122         file.
70123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
70124         New file.
70125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
70126         file.
70127         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
70128         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
70129         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
70130         file.
70131         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
70132         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
70133         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
70134         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
70135         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
70136         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
70137         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
70138         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
70139         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
70140         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
70141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
70142         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
70143         file.
70144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
70145         New file.
70146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
70147         file.
70148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
70149         file.
70150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
70151         file.
70152         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
70153         file.
70154         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
70155         file.
70156         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
70157         New file.
70158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
70159         New file.
70160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
70161         file.
70162         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
70163         New file.
70164         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
70165         file.
70166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
70167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
70168         file.
70169         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
70170         New file.
70171         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
70172         file.
70173         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
70174         file.
70175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
70176         file.
70177         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
70178         file.
70179         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
70180         file.
70181         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
70182         New file.
70183         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
70184         New file.
70185         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
70186         file.
70187         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
70188         New file.
70189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
70190         file.
70192 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
70194         * conform/conformtest.pl: Fix typo in handling typed-constant from
70195         allow-header.
70197 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
70199         * README: Cut down references to pre-2.6 Linux kernels and
70200         Linuxthreads.  Update lists of configurations in libc and ports
70201         and sort alphabetically.  Say "or newer" with Linux kernel version
70202         requirements.
70204         * config.h.in [IS_IN_build]: Allow compiling without optimization.
70206 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
70208         [BZ #887]
70209         * math/libm-test.inc (logb_test_downward): New test to expose
70210         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
70211         rounding mode.
70213 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
70215         [BZ #14027]
70216         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
70217         to be done.
70218         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
70219         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
70221 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
70223         * sysdeps/unix/i386/brk.S: Remove file.
70224         * sysdeps/unix/i386/dl-brk.S: Likewise.
70225         * sysdeps/unix/i386/pipe.S: Likewise.
70226         * sysdeps/unix/i386/sigreturn.S: Likewise.
70227         * sysdeps/unix/i386/syscall.S: Likewise.
70228         * sysdeps/unix/i386/vfork.S: Likewise.
70229         * sysdeps/unix/i386/wait.S: Likewise.
70231         * sysdeps/unix/common/tcsendbrk.c: Move to ...
70232         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
70234         * configure.in (arm*-none*): Do not allow without
70235         --enable-hacker-mode.
70236         (netbsd*): Remove case setting base_os.
70237         (386bsd*): Likewise.
70238         (freebsd*): Likewise.
70239         (bsdi*): Likewise.
70240         (osf*): Likewise.
70241         (sunos*): Likewise.
70242         (ultrix*): Likewise.
70243         (newsos*): Likewise.
70244         (dynix*): Likewise.
70245         (*bsd*): Likewise.
70246         (sysv*): Likewise.
70247         (isc*): Likewise.
70248         (esix*): Likewise.
70249         (sco*): Likewise.
70250         (minix*): Likewise.
70251         (irix4*): Likewise.
70252         (irix6*): Likewise.
70253         (solaris[2-9]*): Likewise.
70254         (none): Likewise.
70255         * configure: Regenerated.
70257 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70259         [BZ #11521]
70260         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
70261         overflow or cancellation in calculating denominator.
70262         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
70263         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
70264         down expression to avoid unexpected rounding in newer GCCs.
70265         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
70267 2012-04-26  David S. Miller  <davem@davemloft.net>
70269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
70270         long-double compat symbols.
70271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
70275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
70277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
70278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
70279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
70280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
70281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
70282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
70283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
70285 2012-04-25  David S. Miller  <davem@davemloft.net>
70287         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
70288         HWCAP_* values only after the memory barriers have been defined.
70289         (atomic_full_barrier): Define.
70290         (atomic_read_barrier): Define.
70291         (atomic_write_barrier): Define.
70293 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
70295         * shlib-versions: Add libgcc_s version information.
70296         * sysdeps/generic/libgcc_s.h: Remove.
70297         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
70298         libgcc_s.h.
70299         * sysdeps/gnu/unwind-resume.c: Likewise.
70300         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
70302 2012-04-25  David S. Miller  <davem@davemloft.net>
70304         * sysdeps/unix/sparc/brk.S: Delete.
70305         * sysdeps/unix/sparc/dl-brk.S: Delete.
70306         * sysdeps/unix/sparc/pipe.S: Delete.
70307         * sysdeps/unix/sparc/sysdep.S: Delete.
70308         * sysdeps/unix/sparc/sysdep.h: Delete.
70309         * sysdeps/unix/sparc/vfork.S: Delete.
70310         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
70311         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
70312         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
70313         (ret_ERRVAL, r0, r1, MOVE): Define.
70314         (JUMPTARGET): Remove.
70315         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
70316         sysdeps/unix/sparc/sysdep.h
70317         (ENTRY, END): Remove.
70318         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70320 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
70322         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
70323         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
70324         -DIS_IN_build.
70326         * timezone/README: Update upstream location and email address for
70327         tzcode and tzdata.
70328         * timezone/zdump.c: Update from tzcode 2012b.
70329         * timezone/zic.c: Likewise.
70331         * configure.in (libc_cv_as_needed): Remove test.
70332         * configure: Regenerated.
70333         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
70334         conditional definition.
70335         [$(have-as-needed) != yes] (no-as-needed): Likewise.
70336         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
70337         * config.make.in (have-as-needed): Remove variable.
70339 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70340             Paul Pluzhnikov  <ppluzhnikov@google.com>
70342         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
70343         strings correctly.
70345 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
70347         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
70348         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
70349         * sysdeps/sh/strlen.S: Likewise.
70351 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
70353         * sysdeps/unix/fork.S: Remove file.
70354         * sysdeps/unix/i386/fork.S: Likewise.
70355         * sysdeps/unix/sparc/fork.S: Likewise.
70357         * sysdeps/unix/system.c: Remove file.
70358         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
70360         * sysdeps/unix/getegid.S: Remove file.
70361         * sysdeps/unix/geteuid.S: Likewise.
70363 2012-04-24  Roland McGrath  <roland@hack.frob.com>
70365         * scripts/check-localplt.awk: New file.
70366         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
70367         of diff.
70368         * scripts/data/localplt-generic.data: Add a comment.
70370         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
70371         NODE when __dir_mkfile failed.
70372         * sysdeps/mach/hurd/symlinkat.c: Likewise.
70373         Reported by Ludovic Courtès <ludo@gnu.org>.
70375 2012-04-24  Andreas Jaeger  <aj@suse.de>
70377         * Makerules (common-clean): Also remove gen-as-const-headers
70378         files.
70380 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
70382         * Makerules (native-compile): Do not change working directory for
70383         build.  Use $(OUTPUT_OPTION) in command.
70384         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
70386 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70388         [BZ #13886]
70389         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
70390         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
70391         * math/libm-test.inc (floor_test): Add more tests.
70392         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
70394 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
70396         * sysdeps/unix/getdents.c: Remove file.
70397         * sysdeps/unix/sysv/getdents.c: Likewise.
70398         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
70400         * sysdeps/unix/syscalls.list (madvise): Add syscall from
70401         sysdeps/unix/mman/syscalls.list.
70402         (mmap): Likewise.
70403         (mprotect): Likewise.
70404         (msync): Likewise.
70405         (munmap): Likewise.
70406         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
70407         * sysdeps/unix/mman/syscalls.list: Remove.
70408         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
70410         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
70411         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
70412         * configure: Regenerated.
70413         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
70414         $(libgcc_s_suffix).
70415         * config.make.in (libgcc_s_suffix): Remove variable.
70417 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
70419         * sysdeps/unix/sysv/gethostname.c: Move to ...
70420         * sysdeps/posix/gethostname.c: ... here.
70422         * sysdeps/unix/execve.S: Remove file.
70424         * sysdeps/unix/_exit.S: Remove file.
70426 2012-04-23  Andreas Jaeger  <aj@suse.de>
70428         [BZ #13739]
70429         * manual/Makefile: Remove make dist support, there's no
70430         need for a stand-alone documentation tar ball.
70431         (TEXI2DVI): Define always, it's not in Makeconfig.
70432         (dist): Removed.
70433         (tar-it): Removed.
70434         (edition): Removed.
70435         (glibc-doc-$(edition).tar): Removed
70436         (%.Z): Removed.
70437         (%.gz): Removed.
70438         (%.uu): Removed.
70439         (ETAGS): Remove, it's in Makeconfig.
70440         (move-if-change): Remove, it's in Makeconfig.
70442 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
70444         [BZ #13970]
70445         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
70446         (strtod, strtof, strtold, strtol, strtoul, strtoq)
70447         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
70448         (strtod_l, strtof_l, strtold_l): Remove __wur.
70449         It is not necessarily an error to ignore strtol's return value.
70450         One can reliably look at the stored endptr to decide whether
70451         the number had valid syntax.
70453 2012-04-21  Andreas Jaeger  <aj@suse.de>
70455         [BZ #13739]
70456         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
70458 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
70460         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
70461         * sysdeps/unix/sysv/Versions: Remove file.
70463 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
70465         [BZ #13927]
70466         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70468 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
70470         [BZ #7064]
70471         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
70472         version from __vm86.
70474 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
70476         * sysdeps/unix/common/lxstat.c: Remove file.
70477         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
70479         * sysdeps/unix/sysv/Makefile: Remove file.
70481         * sysdeps/unix/sysv/direct.h: Remove file.
70483         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
70484         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
70485         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
70486         * sysdeps/unix/sysv/bits/signum.h: Likewise.
70487         * sysdeps/unix/sysv/bits/stat.h: Likewise.
70488         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
70489         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
70491         * sysdeps/unix/sysv/setrlimit.c: Remove file.
70493         * sysdeps/unix/xmknod.c: Remove file.
70494         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
70496         * sysdeps/unix/sysv/settimeofday.c: Remove file.
70498         * sysdeps/unix/sysv/i386/time.S: Remove file.
70500         * sysdeps/unix/fxstat.c: Remove file.
70501         * sysdeps/unix/xstat.c: Likewise.
70502         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
70504         * sysdeps/unix/sysv/sigaction.c: Remove file.
70506         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
70507         (sysdep_headers): Remove variable.
70508         [termio.h not in sysdep_headers] (generated): Likewise.
70509         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
70510         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
70511         * sysdeps/unix/sysv/tcdrain.c: Likewise.
70512         * sysdeps/unix/sysv/tcflow.c: Likewise.
70513         * sysdeps/unix/sysv/tcflush.c: Likewise.
70514         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
70515         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
70516         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
70517         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
70518         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
70520         * sysdeps/unix/siglist.c: Remove file.
70522         * sysdeps/unix/getppid.S: Remove file.
70524         * sysdeps/unix/mkdir.c: Remove file.
70525         * sysdeps/unix/rmdir.c: Likewise.
70527 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
70529         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
70530         ERR_MAX value.
70531         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
70532         errlist-compat value.
70534 2012-04-18  David S. Miller  <davem@davemloft.net>
70536         * sysdeps/generic/memcopy.h (reg_char): Delete.
70537         * debug/strcat_chk.c: Use char, not reg_char.
70538         * debug/strcpy_chk.c: Likewise.
70539         * debug/strncat_chk.c: Likewise.
70540         * debug/strncpy_chk.c: Likewise.
70541         * string/memchr.c: Likewise.
70542         * string/memrchr.c: Likewise.
70543         * string/rawmemchr.c: Likewise.
70544         * string/strcat.c: Likewise.
70545         * string/strchr.c: Likewise.
70546         * string/strchrnul.c: Likewise.
70547         * string/strcmp.c: Likewise.
70548         * string/strcpy.c: Likewise.
70549         * string/strncat.c: Likewise.
70550         * string/strncmp.c: Likewise.
70551         * string/strncpy.c: Likewise.
70553 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70555         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
70556         __builtin_memcopy is called when src and dest ranges are known to not
70557         overlap.
70559 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70561         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
70562         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
70563         fwd_align_merge macro call.
70564         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
70565         bwd_align_merge macro call.
70566         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
70568 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70570         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
70571         bwd_align_merge macros.
70572         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
70573         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
70574         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
70576 2012-04-18  David S. Miller  <davem@davemloft.net>
70578         * sysdeps/sparc/sparc64/memcopy.h: Delete.
70580 2012-04-18  Andreas Jaeger  <aj@suse.de>
70582         [BZ# 6794]
70583         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
70584         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
70585         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70587         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
70588         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
70589         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70591         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
70592         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
70593         Adjust for changed ldbl-128 files.
70595         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
70596         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
70597         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70599 2012-04-17  David S. Miller  <davem@davemloft.net>
70601         * sysdeps/sparc/sparc32/memcopy.h: Delete.
70603 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
70605         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
70606         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
70607         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
70608         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
70609         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
70610         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
70612 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70614         [BZ #6794]
70615         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
70616         * math/libm-test.inc: Add ilogb errno and exception tests.
70617         * math/w_ilogb.c: New file: ilogb wrapper.
70618         * math/w_ilogbf.c: New file: ilogbf wrapper.
70619         * math/w_ilogbl.c: New file: ilogbl wrapper.
70620         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
70621         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
70622         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
70623         exception being thrown with 0.0 as argument.
70624         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
70625         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
70626         exception being thrown with 0.0 as argument.
70627         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
70628         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
70629         exception being thrown with 0.0 as argument.
70630         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
70631         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
70632         exception being thrown with 0.0 as argument.
70633         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
70634         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
70635         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
70636         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
70637         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
70638         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
70639         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
70640         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
70641         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
70643 2012-04-17  Petr Baudis  <pasky@ucw.cz>
70645         * include/sys/uio.h: Change __vector to __iovec to avoid clash
70646         with altivec.
70648 2012-04-16  Marek Polacek  <polacek@redhat.com>
70650         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
70652 2012-04-16  Marek Polacek  <polacek@redhat.com>
70654         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
70655         operands of fdivp instruction.
70657 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
70659         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
70660         * elf/tst-auditmod3b.c: Likewise.
70661         * elf/tst-auditmod4b.c: Likewise.
70662         * elf/tst-auditmod5b.c: Likewise.
70663         * elf/tst-auditmod6b.c: Likewise.
70664         * elf/tst-auditmod6c.c: Likewise.
70665         * elf/tst-auditmod7b.c: Likewise.
70666         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
70667         * sysdeps/x86_64/preconfigure.in: Likewise.
70668         * sysdeps/x86_64/preconfigure: Regenerated.
70670 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
70672         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
70673         __ILP32__.
70675 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
70677         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70678         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
70680 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
70682         [BZ #13973]
70683         * locale/iso-639.def: Fix gl language name. Spotted by
70684         Yaron Shahrabani.
70686 2012-04-12  Roland McGrath  <roland@hack.frob.com>
70688         [BZ #2074]
70689         * libio/libio.h (__io_write_fn): Update comment.
70691 2012-04-12  Petr Baudis  <pasky@ucw.cz>
70693         [BZ #2074]
70694         * stdio.texi (Hook Functions): The user provided writer function
70695         is not allowed to return -1.
70697 2012-04-11  David S. Miller  <davem@davemloft.net>
70699         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70701 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
70703         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
70704         Add a leading slash to rtkaio.
70706 2012-04-11  Jim Meyering  <meyering@redhat.com>
70708         [BZ #11959]
70709         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
70710         It is not necessarily an error to ignore fwrite's return
70711         value.  One can reliably use ferror to test for errors after
70712         the fact.
70714 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
70716         * bits/types.h (__snseconds_t): New type.
70717         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
70719         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
70720         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70721         (__SNSECONDS_T_TYPE): Likewise.
70722         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70723         (__SNSECONDS_T_TYPE): Likewise.
70724         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70725         (__SNSECONDS_T_TYPE): Likewise.
70727 2012-04-10  Andreas Jaeger  <aj@suse.de>
70729         [BZ #2636]
70730         * manual/time.texi (Processor Time): Return type of times is
70731         elapsed real time since an arbitrary point in the past.
70732         (CPU Time): Move CLK_TCK from here...
70733         (Processor Time): ...to here.  Correct description.
70734         * manual/conf.texi (Constants for Sysconf): Correct description of
70735         _SC_CLK_TCK.
70737 2012-04-10  David S. Miller  <davem@davemloft.net>
70739         [BZ #13967]
70740         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
70741         where the is a gap between DT_REL(A) and DT_JMPREL.
70743 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
70745         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
70746         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
70747         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
70749 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
70751         * elf/dl-support.c (_dl_inhibit_cache): New variable.
70752         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
70753         (dl_main): Handle --inhibit-cache.
70754         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
70755         _dl_inhibit_cache.
70756         * elf/dl-load.c (_dl_map_object): Use it.
70757         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
70759 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
70761         [BZ #13872]
70762         * sysdeps/i386/fpu/e_powl.S (p78): New object.
70763         (__ieee754_powl): Saturate large exponents rather than testing for
70764         overflow of y*log2(x).
70765         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70766         * math/libm-test.inc (pow_test): Do not permit spurious overflow
70767         exceptions.
70769         [BZ #11521]
70770         * math/s_ctan.c: Include <float.h>.
70771         (__ctan): Avoid internal overflow or cancellation in calculating
70772         denominator.
70773         * math/s_ctanf.c: Likewise.
70774         * math/s_ctanl.c: Likewise.
70775         * math/s_ctanh.c: Likewise.
70776         * math/s_ctanhf.c: Likewise.
70777         * math/s_ctanhl.c: Likewise.
70778         * math/libm-test.inc (ctan_test): Add more tests.
70779         (ctanh_test): Likewise.
70780         * sysdeps/i386/fpu/libm-test-ulps: Update.
70781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70783 2012-04-09  Andreas Jaeger  <aj@suse.de>
70785         [BZ #6894]
70786         * manual/filesys.texi (Directory Entries): Mention that d_namlen
70787         is an optional BSD extension.
70789         [BZ #10254]
70790         * manual/stdio.texi (Opening Streams): Document additional fopen
70791         parameters.
70793 2012-04-09  Roland McGrath  <roland@hack.frob.com>
70795         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
70796         %eax without telling the compiler.
70798 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
70800         [BZ # 13963]
70801         * manual/install.texi: Use sourceware.org.
70803 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
70805         [BZ #13873]
70806         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
70807         (__ieee754_pow): Generate overflow and underflow using huge*huge
70808         and tiny*tiny rather than just returning constant infinity or zero
70809         for large exponents.
70810         * math/libm-test.inc (pow_test): Require overflow exceptions for
70811         applicable cases of large exponents.
70813         [BZ #706]
70814         * sysdeps/i386/fpu/e_pow.S (p10): New object.
70815         (__ieee754_pow): Use iterative multiplication algorithm only for
70816         integer exponents with absolute value below 1024.  Check for odd
70817         integer exponents when using algorithm for real exponents.
70818         * math/libm-test.inc (pow_test): Add more tests.
70819         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70821 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
70823         [BZ #13705]
70824         * math/libm-test.inc (exp_test): Do not allow overflow exception
70825         on underflow test.
70827 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
70829         [BZ #13705]
70830         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
70831         instead of __kernel_standard_f.
70833 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
70835         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
70836         * sysdeps/x86_64/memset_chk.S: Likewise.
70838 2012-04-08  Andreas Jaeger  <aj@suse.de>
70840         [BZ #10153]
70841         * manual/startup.texi (Environment Access): Describe return value
70842         for putenv and setenv.
70844         [BZ #6895]
70845         * manual/filesys.texi (Directory Entries): Add description for
70846         DT_LNK.
70848         [BZ #6890]
70849         * manual/filesys.texi (Directory Entries): Clarify that it's file
70850         system not operating system in the description of DT_UNKNOWN.
70852         [BZ #6578]
70853         * manual/syslog.texi (closelog): Fix reference, it's openlog.
70855 2012-04-08  Stephen Compall  <s11@member.fsf.org>
70857         [BZ #6649]
70858         * manual/llio.texi (Opening and Closing Files): Add cross
70859         reference to explain mode argument.
70861 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
70863         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
70864         * sysdeps/x86_64/memset_chk.S: Likewise.
70866 2012-04-07  David S. Miller  <davem@davemloft.net>
70868         * elf/elf.h (R_SPARC_WDISP10): Define.
70869         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
70870         R_SPARC_SIZE32.
70871         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
70872         R_SPARC_SIZE64 and R_SPARC_H34.
70874 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
70876         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
70877         conditions and remove no longer applicable assertion.
70879 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
70881         * bits/byteswap.h: Include <features.h>.
70882         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
70883         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
70885 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
70887         * bits/byteswap.h (__bswap_16): Removed.
70888         Include <bits/byteswap-16.h> to get __bswap_16.
70889         * sysdeps/i386/bits/byteswap.h: Likewise.
70890         * sysdeps/s390/bits/byteswap.h: Likewise.
70891         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70892         * bits/byteswap-16.h: New file.
70893         * sysdeps/i386/bits/byteswap-16.h: Likewise.
70894         * sysdeps/s390/bits/byteswap-16.h: Likewise.
70895         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
70896         * string/Makefile (headers): Add bits/byteswap-16.h.
70898 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
70900         [BZ #13895]
70901         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
70902         extra indirection.
70903         * nss/Makefile (tests-static, tests): Add tst-nss-static.
70904         * nss/tst-nss-static.c: New.
70906 2012-04-06  Robert Millan  <rmh@gnu.org>
70908         [BZ #6486]
70909         * manual/llio.texi (File Position Primitive): lseek
70910         refers to WHENCE when it really means OFFSET.
70912 2012-04-06  Andreas Jaeger  <aj@suse.de>
70914         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
70915         strncmp declarations.
70917         * abilist/libc.abilist: Add __poll and __ppoll.
70919 2012-04-05  David S. Miller  <davem@davemloft.net>
70921         * scripts/check-local-headers.sh: Accept a host triplet in the
70922         path matched by the exclude regexp.
70924         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
70925         definition.
70926         * sysdeps/powerpc/powerpc32/dl-machine.h
70927         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
70928         * sysdeps/s390/s390-32/dl-machine.h
70929         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
70930         * sysdeps/sparc/sparc32/dl-machine.h
70931         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
70932         * sysdeps/sparc/sparc64/dl-machine.h
70933         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
70935         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
70936         lazy binding.
70937         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
70938         undefined symbol errors.
70940         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
70941         DT_NEEDED entries.
70943 2012-04-05  Michael Matz  <matz@suse.de>
70945         [BZ #13592]
70946         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
70948 2012-04-05  Andreas Jaeger  <aj@suse.de>
70950         [BZ #13908]
70951         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
70952         comment.
70954 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70956         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
70957         which ROUND is no valid rounding mode.
70959 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70961         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
70962         read again.
70963         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
70965 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70967         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
70968         an exception using FPU order intentionally.
70970 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70972         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
70973         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
70974         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
70975         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
70977 2012-04-05  Simon Josefsson  <simon@josefsson.org>
70979         [BZ #12340]
70980         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
70981         EINVAL when BUFLEN is too smal.
70983 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
70985         [BZ #13553]
70986         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
70987         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
70989 2012-04-03  Andreas Jaeger  <aj@suse.de>
70991         [BZ #13938]
70992         * manual/setjmp.texi (System V contexts): Fix sentence.
70994         [BZ #13926]
70995         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
70996         New macro for this case.
70997         [!__GNUC__] (__bswap_64): New inline function for this case.
70998         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70999         * bits/byteswap.h: Likewise.
71000         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
71001         ull, guard with __GLIBC_HAVE_LONG_LONG.
71003         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
71004         __GLIBC_HAVE_LONG_LONG.
71006         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
71007         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
71009 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
71011         [BZ #13691]
71012         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
71013         inptr and inend, rather than using last_ch.
71015 2012-04-02  David S. Miller  <davem@davemloft.net>
71017         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
71018         * stdio-common/printf-parse.h (read_int): Change return type to
71019         'int', return -1 on INT_MAX overflow.
71020         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
71021         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
71022         overflows INT_MAX.  Check for overflow of in-format-string precision
71023         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
71024         SIZE_MAX not INT_MAX for integer overflow test.
71025         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
71026         skip the construct in the format string but do not record anything.
71027         * stdio-common/bug22.c: Adjust to test both width/prevision
71028         INT_MAX overflow as well as total length INT_MAX overflow.  Check
71029         explicitly for proper errno values.
71031 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
71033         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
71034         CHAR_MAX.
71035         * string/test-strcmp.c [! WIDE]: Likewise.
71036         * time/tst-mktime2.c: Likewise for INT_MAX.
71037         * string/test-string.h: #include <sys/param.h> for MIN.
71039         * csu/init-first.c (__libc_init_first): Call __ctype_init.
71040         * sysdeps/i386/init-first.c (init): Likewise.
71041         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
71042         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
71043         * sysdeps/sh/init-first.c (init): Likewise.
71045 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
71047         * po/ru.po: Update from translation team.
71048         * po/vi.po: Likewise.
71050 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
71052         * resolv/nss_dns/dns-host.c: Merge copyright years.
71054 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71056         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
71057         Optimize memcpy with prefetch if
71058         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
71059         src, dst pointers have unequal 16 byte alignments.
71061 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
71063         [BZ #13928]
71064         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
71065         from a CNAME entry and return the minimum ttl for the query.
71066         (gaih_getanswer_slice): Likewise.
71068 2012-03-30  Jeff Law  <law@redhat.com>
71070         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
71071         due to long keys.
71072         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
71073         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
71075         * resolv/nss_dns/dns-host.c: Update copyright year.
71077 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
71079         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
71080         requests to save a system call.  Fix check that all bytes are sent.
71082         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
71083         comments for sendmmsg.
71085 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71087         [BZ #13691]
71088         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
71089         with only 1 character between 0x0041 and 0x01b0.
71090         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
71091         * wcsmbs/tst-mbsnrtowcs.c: New file.
71093 2012-03-29  David S. Miller  <davem@davemloft.net>
71095         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
71096         small copies by hand.
71098 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71100         [BZ #13761]
71101         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
71102         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
71103         group memberships.
71105 2012-03-28  David S. Miller  <davem@davemloft.net>
71107         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
71108         that branches into memcpy.
71109         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
71110         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
71111         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
71112         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
71113         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
71114         bits.
71115         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
71116         implementation too.
71117         * sysdeps/sparc/mempcpy.S: New file.
71119         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
71120         the IFUNC routine in the libc case.
71121         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71123         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
71124         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
71125         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
71126         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
71127         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
71128         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
71129         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
71130         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
71132         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
71133         loop to 256 bytes instead of 64 bytes and fix test signedness.
71135         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
71136         * sysdeps/sparc/sparc32/Makefile: rather than here...
71137         * sysdeps/sparc/sparc64/Makefile: and here.
71139 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
71141         * malloc/mallocbug.c: Avoid warnings about unused variables.
71143 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
71145         [BZ #13760]
71146         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
71147         in the right place. Discard and retry query if response is
71148         larger than input buffer size.
71150 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
71152         [BZ #369]
71153         [BZ #2678]
71154         [BZ #3866]
71155         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
71156         x for large integer exponent.
71157         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
71158         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
71159         sign of result as needed afterwards.
71160         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
71161         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
71162         result for underflowing pow the same as for overflow.
71163         (__kernel_standard_l): Handle powl overflow and underflow here
71164         rather than calling __kernel_standard.
71165         * math/libm-test.inc (pow_test): Add more tests.
71167         [BZ #3868]
71168         [BZ #13879]
71169         [BZ #13910]
71170         [BZ #13911]
71171         [BZ #13912]
71172         [BZ #13913]
71173         [BZ #13915]
71174         [BZ #13916]
71175         [BZ #13917]
71176         [BZ #13918]
71177         [BZ #13919]
71178         [BZ #13920]
71179         [BZ #13921]
71180         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
71181         * sysdeps/ieee754/k_standard.c: Include <float.h>.
71182         (__kernel_standard_l): New function.
71183         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
71184         __kernel_standard.
71185         * math/w_acosl.c (__acosl): Likewise.
71186         * math/w_asinl.c (__asinl): Likewise.
71187         * math/w_atan2l.c (__atan2l): Likewise.
71188         * math/w_atanhl.c (__atanhl): Likewise.
71189         * math/w_coshl.c (__coshl): Likewise.
71190         * math/w_exp10l.c (__exp10l): Likewise.
71191         * math/w_exp2l.c (__exp2l): Likewise.
71192         * math/w_fmodl.c (__fmodl): Likewise.
71193         * math/w_hypotl.c (__hypotl): Likewise.
71194         * math/w_j0l.c (__j0l, __y0l): Likewise.
71195         * math/w_j1l.c (__j1l, __y1l): Likewise.
71196         * math/w_jnl.c (__jnl, __ynl): Likewise.
71197         * math/w_lgammal.c (__lgammal): Likewise.
71198         * math/w_log10l.c (__log10l): Likewise.
71199         * math/w_log2l.c (__log2l): Likewise.
71200         * math/w_logl.c (__logl): Likewise.
71201         * math/w_powl.c (__powl): Likewise.
71202         * math/w_remainderl.c (__remainderl): Likewise.
71203         * math/w_scalbl.c (sysv_scalbl): Likewise.
71204         * math/w_sinhl.c (__sinhl): Likewise.
71205         * math/w_sqrtl.c (__sqrtl): Likewise.
71206         * math/w_tgammal.c (__tgammal): Likewise.
71207         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
71208         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
71209         * math/libm-test.inc (acos_test): Add more tests.
71210         (acosh_test): Likewise.
71211         (asin_test): Likewise.
71212         (atanh_test): Likewise.
71213         (exp_test): Likewise.
71214         (exp10_test): Likewise.
71215         (exp2_test): Likewise.
71216         (expm1_test): Likewise.
71217         (lgamma_test): Likewise.
71218         (log_test): Likewise.
71219         (log10_test): Likewise.
71220         (log1p_test): Likewise.
71221         (log2_test): Likewise.
71222         (pow_test): Do not allow some spurious overflow exceptions.
71223         (sqrt_test): Add more tests.
71224         (tgamma_test): Likewise.
71225         (y0_test): Likewise.
71226         (y1_test): Likewise.
71227         (yn_test): Likewise.
71229 2012-03-27  Anton Blanchard  <anton@samba.org>
71231         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
71232         MAP_HUGETLB.
71233         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
71234         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
71235         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
71237 2012-03-27  David S. Miller  <davem@davemloft.net>
71239         * conform/Makefile: Run run-conformtest.sh using $(BASH).
71241         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
71242         have-as-vis3 check.
71244 2012-03-27  Andreas Jaeger  <aj@suse.de>
71246         * sysdeps/x86_64/elf/configure.in: Moved to ...
71247         * sysdeps/x86_64/configure.in: ... here.
71248         * sysdeps/x86_64/elf/start.S: Moved to ...
71249         * sysdeps/x86_64/start.S: ... here.
71250         * sysdeps/x86_64/elf/configure: Delete.
71252         * sysdeps/x86_64/configure.in: Merge contents from
71253         sysdeps/i386/configure.in (without i686 check).
71255         * sysdeps/i386/elf/Versions: Merge into ...
71256         * sysdeps/i386/Versions: ... this.
71257         * sysdeps/i386/elf/Versions: Delete file.
71258         * sysdeps/i386/elf/start.S: Moved to ...
71259         * sysdeps/i386/start.S: ...here.
71260         * sysdeps/i386/elf/configure.in: Merge into...
71261         * sysdeps/i386/configure.in: ...here.
71262         * sysdeps/i386/elf/configure.in: Delete file.
71263         * sysdeps/i386/elf/configure: Delete file.
71265         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
71266         * debug/backtracesyms.c: ... here.
71267         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
71268         * debug/backtracesymsfd.c: ... here.
71269         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
71270         * sysdeps/generic/ifunc-sel.h: ... here.
71272         * sysdeps/unix/i386/start.c: Delete file.
71273         * sysdeps/unix/sparc/start.c: Delete file.
71274         * sysdeps/unix/start.c: Delete file.
71276         * sysdeps/sh/elf/configure.in: Moved to ...
71277         * sysdeps/sh/configure.in: ... here.
71278         * sysdeps/sh/elf/start.S: Moved to ...
71279         * sysdeps/sh/start.S: ... here.
71280         * sysdeps/sh/elf/configure: Delete file.
71282         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
71283         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
71284         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
71285         * sysdeps/powerpc/powerpc64/entry.h: ... here.
71286         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
71287         * sysdeps/powerpc/powerpc64/start.S: here.
71288         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
71289         * sysdeps/powerpc/powerpc64/Makefile: ... this.
71290         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
71291         * sysdeps/powerpc/powerpc64/configure.in: ... this.
71292         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
71294         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
71295         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
71296         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
71297         * sysdeps/powerpc/powerpc32/start.S: ... here.
71298         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
71299         * sysdeps/powerpc/powerpc32/configure.in: ... this.
71300         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
71302         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
71303         * sysdeps/powerpc/ifunc-sel.h: ... here.
71304         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
71305         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
71307         * sysdeps/sparc/elf/configure.in: Moved to ...
71308         * sysdeps/sparc/configure.in: ... here.
71309         * sysdeps/sparc/elf/configure: Delete file.
71310         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
71311         * sysdeps/sparc/sparc32/start.S: ... here.
71312         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
71313         * sysdeps/sparc/sparc64/start.S: ... here.
71314         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
71315         * sysdeps/sparc/sparc32/Makefile: ... this.
71316         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
71317         * sysdeps/sparc/sparc64/Makefile: ... this.
71319         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
71320         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
71321         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
71322         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
71323         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
71324         * sysdeps/s390/s390-32/setjmp.S: ... here.
71325         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
71326         * sysdeps/s390/s390-32/configure.in: ... here.
71327         * sysdeps/s390/s390-32/elf/configure: Delete file.
71328         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
71329         * sysdeps/s390/s390-32/start.S: ... here.
71331         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
71332         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
71333         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
71334         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
71335         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
71336         * sysdeps/s390/s390-64/setjmp.S: ... here.
71337         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
71338         * sysdeps/s390/s390-64/configure.in: ... here
71339         * sysdeps/s390/s390-64/elf/configure: Delete file.
71340         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
71341         * sysdeps/s390/s390-64/start.S: ... here.
71342         * sysdeps/s390/s390-64/elf/configure: Delete.
71344         * configure.in: Remove support for elf directories in sysdeps.
71346         * configure: Regenerated.
71347         * sysdeps/i386/configure: Regenerated.
71348         * sysdeps/powerpc/powerpc32/configure: Regenerated.
71349         * sysdeps/powerpc/powerpc64/configure: Regenerated.
71350         * sysdeps/s390/s390-32/configure: Regenerated.
71351         * sysdeps/s390/s390-64/configure: Regenerated.
71352         * sysdeps/sh/configure: Regenerated.
71353         * sysdeps/sparc/configure: Regenerated.
71354         * sysdeps/x86_64/configure: Regenerated.
71356 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
71358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71360         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
71361         denormal result into account.
71363 2012-03-25  Roland McGrath  <roland@hack.frob.com>
71365         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
71366         Reported by Allan McRae <allan@archlinux.org>.
71368 2012-03-23  Jeff Law  <law@redhat.com>
71370         * nss/getnssent.c (__nss_getent): Fix typo.
71372 2012-03-23  David S. Miller  <davem@davemloft.net>
71374         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71376 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
71378         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
71379         to pad to uint64_t for each field.
71380         (dl_tls_index): Replace unsigned long with uint64_t.
71382 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
71383         Paul Pluzhnikov  <ppluzhnikov@google.com>
71385         [BZ #6528]
71386         * grp/Makefile (otherlibs): Don't set it.
71387         * inet/Makefile (otherlibs): Likewise.
71388         * login/Makefile (otherlibs): Likewise.
71389         * nscd/Makefile (otherlibs): Likewise.
71390         * posix/Makefile (otherlibs): Likewise.
71391         * pwd/Makefile (otherlibs): Likewise.
71392         * rt/Makefile (otherlibs): Likewise.
71393         * sunrpc/Makefile (otherlibs): Likewise.
71394         * nss/Makefile (otherlibs): Likewise.
71395         Add libnss_files to routines and static-only-routines.
71396         ($(objpfx)getent): Remove rule.
71397         * resolv/Makefile: Add libnss_dns and libresolv to routines and
71398         static-only-routines.
71400 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
71402         [BZ #13892]
71403         * math/s_cexp.c: Include <float.h>.
71404         (__cexp): Handle exp result overflowing not necessarily
71405         overflowing both real and imaginary parts of result.
71406         * math/s_cexpf.c: Likewise.
71407         * math/s_cexpl.c: Likewise.
71408         * math/libm-test.inc (cexp_test): Add more tests.
71409         * sysdeps/i386/fpu/libm-test-ulps: Update.
71410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71412 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
71414         * include/link.h (ELFW): New macro.
71415         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
71416         Replace ELF64_R_TYPE with ELFW(R_TYPE).
71418 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
71420         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
71421         with uint64_t.
71423 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
71425         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
71426         declaration.
71427         (struct La_x32_retval): Likewise.
71429 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
71431         * sysdeps/x86_64/preconfigure.in: New file.
71432         * sysdeps/x86_64/preconfigure: New generated file.
71434 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
71436         [BZ #13824]
71437         * math/e_exp2l.c: Include <float.h>.
71438         (__ieee754_exp2l): Handle overflow and underflow cases
71439         separately.  Only pass fractional part of argument to
71440         __ieee754_expl.
71441         * math/libm-test.inc (exp2_test): Add more tests.
71443         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
71444         negating x to take absolute value.
71445         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
71446         Likewise.
71447         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
71448         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
71449         Likewise.
71450         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
71451         computing low part if x was negated.
71452         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
71454 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
71456         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
71457         la_x32_gnu_pltexit.
71458         (pltexit): Cast int_retval to ptrdiff_t.
71459         * elf/tst-auditmod3b.c: Likewise.
71460         * elf/tst-auditmod4b.c: Likewise.
71461         * elf/tst-auditmod5b.c: Likewise.
71462         * elf/tst-auditmod6b.c: Likewise.
71463         * elf/tst-auditmod6c.c: Likewise.
71464         * elf/tst-auditmod7b.c: Likewise.
71466         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
71467         and x32_gnu_pltexit.
71469         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
71470         __ELF_NATIVE_CLASS.
71471         (La_x32_regs): New macro.
71472         (La_x32_retval): Likewise.
71473         (la_x32_gnu_pltenter): New function prototype.
71474         (la_x32_gnu_pltexit): Likewise.
71476 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
71478         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
71479         exponent.
71481         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71483         * configure.in (libc_cv_cc_nofma): Check for option to disable
71484         generation of FMA instructions.
71485         * configure: Regenerate.
71486         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
71487         * sysdeps/ieee754/dbl-64/Makefile: New file.
71488         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
71489         Remove brandred-fma4.
71490         (CFLAGS-brandred-fma4.c): Remove.
71491         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
71492         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
71493         define.
71494         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
71495         define.
71497 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
71499         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
71500         LLONG_MAX != LONG_MAX.
71501         (_itoa_word): Use _ITOA_WORD_TYPE on value.
71502         (_fitoa_word): Likewise.
71503         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
71504         LLONG_MAX != LONG_MAX.
71505         * stdio-common/_itowa.h: Include <_itoa.h>.
71506         (_itowa_word): Use _ITOA_WORD_TYPE on value.
71507         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
71508         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
71509         only if not defined.
71510         (_ITOA_WORD_TYPE): Likewise.
71511         (_itoa_word): Use _ITOA_WORD_TYPE on value.
71512         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
71514 2012-03-21  David S. Miller  <davem@davemloft.net>
71516         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71518 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
71520         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
71521         of x86_64 when setting libc_cv_slibdir, libdir and
71522         libc_cv_localedir.
71523         * sysdeps/unix/sysv/linux/configure: Regenerated.
71525 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71527         * manual/lang.texi (Old Varargs): Remove section.
71528         (How Variadic): Update menu.
71529         (va_start): Do not mention varargs.h.
71531 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
71532             Joseph Myers  <joseph@codesourcery.com>
71534         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
71535         link test.
71536         * configure: Regenerated.
71538 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
71540         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
71541         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
71542         conformtest.pl
71544 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71546         * NOTES: Remove.
71547         * Makefile (files-for-dist): Remove NOTES.
71548         (NOTES): Remove rule.
71549         * README: Don't refer to NOTES.
71550         * manual/creature.texi: Don't include macros.texi.
71551         * manual/intro.texi (creature.texi): Remove comment referring to
71552         NOTES.
71554         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
71555         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
71556         * configure: Regenerated.
71557         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
71558         LIBC_TRY_CC_OPTION.
71559         (libc_cv_as_i686): Likewise.
71560         (libc_cv_cc_avx): Likewise.
71561         (libc_cv_cc_sse2avx): Likewise.
71562         (libc_cv_cc_fma4): Likewise.
71563         (libc_cv_cc_novzeroupper): Likewise.
71564         * sysdeps/i386/configure: Regenerated.
71566         [BZ #13883]
71567         * sysdeps/i386/fpu/s_cexp.S: Remove.
71568         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
71569         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
71570         * math/libm-test.inc (cexp_test): Add more tests.
71571         * sysdeps/i386/fpu/libm-test-ulps: Update.
71572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71574 2012-03-21  Allan McRae  <allan@archlinux.org>
71576         * timezone/Makefile: Do not install iso3166.tab and zone.tab
71578 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71580         [BZ #13871]
71581         * math/w_exp2.c: Do not include <float.h>.
71582         (o_threshold, u_threshold): Remove.
71583         (__exp2): Calculate result before checking finiteness and calling
71584         __kernel_standard.
71585         * math/w_exp2f.c: Likewise.
71586         * math/w_exp2l.c: Likewise.
71587         * math/libm-test.inc (exp2_test): Require overflow exception for
71588         1e6 input.
71590         [BZ #3866]
71591         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
71592         range of signed 64-bit integers before using fistpll.  Remove
71593         checks for whether integers fit in mantissa bits.
71594         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
71595         the range of signed 32-bit integers before using fistpl.  Remove
71596         checks for whether integers fit in mantissa bits.
71597         * sysdeps/i386/fpu/e_powl.S (p64): New object.
71598         (__ieee754_powl): Test for y outside the range of signed 64-bit
71599         integers before using fistpll.  Reduce 64-bit values to 63-bit
71600         ones as needed.
71601         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
71602         divide-by-zero is raised for zero to large negative powers.
71603         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
71604         (__ieee754_powl): Test for y outside the range of signed 64-bit
71605         integers before using fistpll.  Reduce 64-bit values to 63-bit
71606         ones as needed.
71607         * math/libm-test.inc (pow_test): Add more tests.
71609 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71611         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
71612         <stdio-common/_itoa.h>.
71613         * debug/segfault.c: Likewise.
71614         * elf/dl-cache.c: Likewise.
71615         * elf/dl-minimal.c: Likewise.
71616         * elf/dl-misc.c: Likewise.
71617         * elf/dl-sysdep.c: Likewise.
71618         * elf/dl-version.c: Likewise.
71619         * elf/rtld.c: Likewise.
71620         * hurd/hurdsock.c: Likewise.
71621         * hurd/lookup-retry.c: Likewise.
71622         * malloc/malloc.c: Likewise.
71623         * malloc/mtrace.c: Likewise.
71624         * nscd/nscd_getgr_r.c: Likewise.
71625         * nscd/nscd_getpw_r.c: Likewise.
71626         * nscd/nscd_getserv_r.c: Likewise.
71627         * posix/getopt_init.c: Likewise.
71628         * posix/wordexp.c: Likewise.
71629         * stdio-common/_itoa.c: Likewise.
71630         * stdio-common/printf_fphex.c: Likewise.
71631         * stdio-common/vfprintf.c: Likewise.
71632         * string/_strerror.c: Likewise.
71633         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
71634         * sysdeps/i386/i686/hp-timing.h: Likewise.
71635         * sysdeps/mach/_strerror.c: Likewise.
71636         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
71637         * sysdeps/mach/hurd/sethostid.c: Likewise.
71638         * sysdeps/mach/hurd/xmknodat.c: Likewise.
71639         * sysdeps/mach/xpg-strerror.c: Likewise.
71640         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
71641         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
71642         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
71643         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
71644         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
71645         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
71646         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
71647         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
71648         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
71649         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
71650         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
71651         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
71652         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
71653         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
71654         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
71655         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
71656         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
71657         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
71658         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
71659         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
71660         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
71662         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
71664         * stdio-common/_itoa.h: Moved to ...
71665         * sysdeps/generic/_itoa.h: Here.
71667         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
71669         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
71670         instead of "_itoa.h" and "_itowa.h".
71671         * stdio-common/vfprintf.: Likewise.
71673 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71675         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
71676         <bits/wordsize.h>.
71677         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
71678         (__signbit): Likwise.
71679         (llrintf): Likwise.
71680         (llrint): Likwise.
71682 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71684         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
71685         __WORDSIZE != 64.
71687 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
71689         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
71690         OVERFLOW_EXCEPTION_OK.
71691         * math/libm-test.inc ("Philosophy"): Update comment about
71692         exception testing.
71693         (OVERFLOW_EXCEPTION): Define.
71694         (OVERFLOW_EXCEPTION_OK): Likewise.
71695         (INVALID_EXCEPTION_OK): Renumber.
71696         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
71697         (IGNORE_ZERO_INF_SIGN): Likewise.
71698         (test_exceptions): Handle FE_OVERFLOW.
71699         (exp10_test): Expect overflow exceptions.
71700         (exp2_test): Likewise.
71701         (expm1_test): Likewise.
71702         (nextafter_test): Likewise.
71703         (pow_test): Likewise.
71704         (scalbn_test): Likewise.
71705         (scalbln_test): Likewise.
71707 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71709         * sysdeps/x86_64/bits/atomic.h
71710         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
71711         64bit integer.
71712         (atomic_exchange_acq): Likewise.
71713         (__arch_exchange_and_add_body): Likewise.
71714         (__arch_add_body): Likewise.
71715         (atomic_add_negative): Likewise.
71716         (atomic_add_zero): Likewise.
71718 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71720         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
71721         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
71723 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71725         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
71726         Check __x86_64__ instead of __WORDSIZE.
71728 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71730         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
71732 2012-03-19  David S. Miller  <davem@davemloft.net>
71734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71736         * sysdeps/sparc/fpu/fenv_private.h: New file.
71737         * sysdeps/sparc/fpu/math_private.h: Use it.
71738         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
71739         Remove.
71740         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
71741         (libc_feholdexcept_setroundl): Remove.
71742         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
71743         Remove.
71744         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
71745         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
71747 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71749         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
71750         int64_t instead of long int.
71751         (INSERT_WORDS64): Likwise.
71753 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71755         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
71756         _Unwind_GetCFA return to _Unwind_Ptr first.
71758 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
71760         [BZ #13629]
71761         * math/s_clog.c: Include <float.h>.
71762         (__clog): Scale large or subnormal inputs.
71763         * math/s_clogf.c: Likewise.
71764         * math/s_clogl.c: Likewise.
71765         * math/s_clog10.c: Include <float.h>.
71766         (M_LOG10_2): Define.
71767         (__clog10): Scale large or subnormal inputs.
71768         * math/s_clog10f.c: Likewise.
71769         * math/s_clog10l.c: Likewise.
71770         * math/libm-test.inc (clog_test): Add more tests.
71771         (clog10_test): Likewise.
71772         * sysdeps/i386/fpu/libm-test-ulps: Update.
71773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71775         [BZ #11451]
71776         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
71777         x and y.
71778         * math/libm-test.inc (atan2_test): Add another test.
71780         * Makerules (common-objdir-compile): Remove.
71781         * sysdeps/unix/Makefile (config-generated): Do not add
71782         $(unix-generated) to variable.
71783         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
71784         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
71785         Remove rule.
71786         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
71787         Likewise.
71788         [generic bits/local_lim.h] (before-compile): Do not append to
71789         variable.
71790         [generic bits/local_lim.h] (common-generated): Likewise.
71791         [generic sys/param.h] (before-compile): Do not append to variable.
71792         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
71793         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
71794         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
71795         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
71796         include.
71797         [generic sys/param.h] (sys/param.h-includes): Remove variable.
71798         [generic sys/param.h] (sys/param.h-includes): Remove rule.
71799         [generic sys/param.h] ($(addprefix
71800         $(common-objpfx),$(sys/param.h-includes))): Likewise.
71801         [generic sys/param.h] (common-generated): Do not append to
71802         variable.
71803         [generic sys/param.h] (sysdep_headers): Likewise.
71804         [generic bits/errno.h] (before-compile): Do not append to
71805         variable.
71806         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
71807         rule.
71808         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
71809         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
71810         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
71811         [generic bits/errno.h] (common-generated): Do not append to
71812         variable.
71813         [generic bits/ioctls.h] (before-compile): Do not append to
71814         variable.
71815         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
71816         rule.
71817         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
71818         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
71819         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
71820         rule.
71821         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
71822         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
71823         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
71824         [generic bits/ioctls.h] (common-generated): Do not append to
71825         variable.
71826         [generic sys/syscall.h] (syscall.h): Remove variable.
71827         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
71828         rule.
71829         [generic sys/syscall.h] (before-compile): Do not append to
71830         variable.
71831         [generic sys/syscall.h] (common-generated): Likewise.
71832         * sysdeps/unix/errnos-tmpl.c: Remove file.
71833         * sysdeps/unix/errnos.awk: Likewise.
71834         * sysdeps/unix/ioctls-tmpl.c: Likewise.
71835         * sysdeps/unix/ioctls.awk: Likewise.
71836         * sysdeps/unix/mk-local_lim.c: Likewise.
71837         * sysdeps/unix/snarf-ioctls: Likewise.
71839 2012-03-19  Richard Henderson  <rth@twiddle.net>
71841         * sysdeps/i386/fpu/fenv_private.h: New file.
71842         * sysdeps/i386/fpu/math_private.h: Use it.
71843         (math_opt_barrier, math_force_eval): Remove.
71844         (libc_feholdexcept_setround_53bit): Remove.
71845         (libc_feupdateenv_53bit): Remove.
71846         * sysdeps/x86_64/fpu/math_private.h: Likewise.
71847         (math_opt_barrier, math_force_eval): Remove.
71848         (libc_feholdexcept): Remove.
71849         (libc_feholdexcept_setround): Remove.
71850         (libc_fetestexcept, libc_fesetenv): Remove.
71851         (libc_feupdateenv_test): Remove.
71852         (libc_feupdateenv, libc_feholdsetround): Remove.
71853         (libc_feresetround): Remove.
71855         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
71856         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
71858         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
71859         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
71860         (libc_feupdateenv_testl): New.
71861         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
71862         (libc_feupdateenv_testf): New.
71863         (libc_feupdateenv): Use libc_feupdateenv_test.
71864         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
71865         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
71867         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
71868         (libc_feholdsetroundf, libc_feholdsetroundl): New.
71869         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
71870         (libc_feresetround_noex): New.
71871         (libc_feresetround_noexf): New.
71872         (libc_feresetround_noexl): New.
71873         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
71874         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
71875         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
71876         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
71877         SET_RESTORE_ROUND.
71878         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
71879         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
71880         (__cos): Likewise.
71881         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
71882         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
71883         SET_RESTORE_ROUND_NOEX.
71884         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
71885         SET_RESTORE_ROUND_NOEXF.
71886         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
71887         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
71888         (libc_feholdsetroundf): New.
71889         (libc_feresetround, libc_feresetroundf): New.
71891         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
71892         (libc_feholdexcept_setround_53bit): Convert from macro to function.
71893         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
71895         * sysdeps/generic/math_private.h: Include <fenv.h>.
71896         (default_libc_feholdexcept): New.
71897         (default_libc_feholdexcept_setround): New.
71898         (default_libc_fesetenv, default_libc_feupdateenv): New.
71899         (libc_feholdexcept): Only define if undefined.
71900         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
71901         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
71902         (libc_feholdexcept_setroundl): Likewise.
71903         (libc_feholdexcept_setround_53bit): Likewise.
71904         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
71905         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
71906         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
71907         (libc_feupdateenv_53bit): Likewise.
71908         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
71909         (libc_feholdexcept): Convert from macro to inline function.
71910         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
71911         (libc_fesetenv, libc_feupdateenv): Likewise.
71913         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
71914         not previously defined.
71915         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
71916         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
71917         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
71918         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
71919         * sysdeps/ieee754/flt-32/math_private.h: New file.
71920         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
71921         math_private.h below SET_FLOAT_WORD.
71922         (__isnan, __isinf_ns, __finite): Remove.
71923         (__isnanf, __isinf_nsf, __finitef): Remove.
71925 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
71927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71929 2012-03-17  David S. Miller  <davem@davemloft.net>
71931         [BZ #6471]
71932         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
71933         for 2.16.
71935 2012-03-16  David S. Miller  <davem@davemloft.net>
71937         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
71938         warnings.
71940         [BZ #6471]
71941         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
71942         properly.
71943         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
71944         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
71945         sysdep_routines when subdir is sysvipc.
71946         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
71947         __getshmlba helper.
71949         * sysdeps/sparc/fpu/libm-test/ulps: Update.
71951 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71953         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
71954         [__LP64__].
71956 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71958         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
71959         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
71960         (__lround): Renamed to ...
71961         (__llround): This.  Replace long int with long long int.
71962         Define lround functions as aliases of llround functions.
71963         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
71965 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71967         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
71968         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
71969         adresses to uintptr_t.  Replace "long int" and "unsigned long
71970         int" with "greg_t" on va_arg.
71972 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71974         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
71975         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
71977         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
71978         Move e_machine check before EI_CLASS check.  Handle x32
71979         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
71980         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
71981         SKIP_EM_IA_64 and include
71982         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
71984         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
71985         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
71986         (add_system_dir): New macro.
71988         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
71989         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
71991 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
71993         [BZ #2551]
71994         [BZ #2552]
71995         [BZ #2553]
71996         [BZ #2554]
71997         [BZ #2562]
71998         [BZ #2563]
71999         [BZ #2565]
72000         [BZ #2566]
72001         [BZ #2576]
72002         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
72003         (y0): Likewise.
72004         * math/w_j0f.c (j0f): Likewise.
72005         (y0f): Likewise.
72006         * math/w_j0l.c (__j0l): Likewise.
72007         (__y0l): Likewise.
72008         * math/w_j1.c (j1): Likewise.
72009         (y1): Likewise.
72010         * math/w_j1f.c (j1f): Likewise.
72011         (y1f): Likewise.
72012         * math/w_j1l.c (__j1l): Likewise.
72013         (__y1l): Likewise.
72014         * math/w_jn.c (jn): Likewise.
72015         (yn): Likewise.
72016         * math/w_jnf.c (jnf): Likewise.
72017         (ynf): Likewise.
72018         * math/w_jnl.c (__jnl): Likewise.
72019         (__ynl): Likewise.
72020         * math/libm-test.inc (j0_test): Add more tests.
72021         (j1_test): Likewise.
72022         (jn_test): Likewise.  Add trailing semicolon to existing test.
72023         (y0_test): Likewise.
72024         (y1_test): Likewise.
72025         * sysdeps/i386/fpu/libm-test-ulps: Update.
72026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72028         [BZ #13851]
72029         [BZ #13854]
72030         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
72031         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
72032         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
72033         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
72034         (__tanl): Set errno for infinite argument.
72035         * sysdeps/i386/fpu/mptan.c: Remove.
72036         * sysdeps/i386/fpu/s_tan.S: Likewise.
72037         * sysdeps/i386/fpu/s_tanl.S: Likewise.
72038         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
72039         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
72040         * math/libm-test.inc (tan_test): Add more tests and enable more
72041         tests for double and long double.
72042         * sysdeps/i386/fpu/libm-test-ulps: Update.
72043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72045 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
72047         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
72048         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
72050 2012-03-16  Roland McGrath  <roland@hack.frob.com>
72052         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
72053         * configure.in: Use it for both main tree and add-ons.
72054         * configure: Regenerated.
72056 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72058         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
72060 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
72062         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
72063         in comment.
72065         [BZ #13851]
72066         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
72067         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
72068         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
72069         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
72070         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
72071         infinite argument.
72072         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
72073         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
72074         != 0 for prec == 2.
72075         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
72076         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
72077         * sysdeps/i386/fpu/s_cosl.S: Likewise.
72078         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
72079         * sysdeps/i386/fpu/s_sinl.S: Likewise.
72080         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
72081         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
72082         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
72083         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
72084         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
72085         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
72086         * math/libm-test.inc (cos_test): Add more tests and enable more
72087         tests for long double.
72088         (sin_test): Likewise.
72089         (sincos_test): Likewise.
72090         * sysdeps/i386/fpu/libm-test-ulps: Update.
72091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72093 2012-03-16  David S. Miller  <davem@davemloft.net>
72095         * sysdeps/sparc/fpu/math_private.h: New file.
72097 2012-03-15  David S. Miller  <davem@davemloft.net>
72099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
72100         file.
72101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
72102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
72103         file.
72104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
72105         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
72106         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
72107         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
72108         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
72109         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
72110         sysdep routines.
72111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
72113         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
72114         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
72116         * sysdeps/sparc/sparc-ifunc.h: New file.
72117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
72118         sparc-ifunc.h
72119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
72120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
72121         Likewise.
72122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
72123         Likewise.
72124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
72125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
72126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
72128         Likewise.
72129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
72130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
72131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
72132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
72133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
72134         Likewise.
72135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
72136         Likewise.
72137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
72138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
72139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
72140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
72141         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
72142         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
72143         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
72144         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
72145         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
72146         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
72147         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
72148         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
72149         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
72150         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
72151         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
72152         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
72153         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
72154         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
72155         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
72156         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
72157         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
72158         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
72159         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
72160         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
72162 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
72164         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
72165         scaling.
72166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72168 2012-03-15  Andreas Jaeger  <aj@suse.de>
72170         [BZ #13852]
72171         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
72172         ieee754/flt-32 implementation for sin, cos and sincos.
72173         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
72174         * sysdeps/i386/fpu/s_cosf.S: Likewise.
72175         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
72176         * sysdeps/i386/fpu/s_sinf.S: Likewise.
72177         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
72178         ieee754/flt-32 implementation for tan.
72180         * math/libm-test.inc (cos_test): Enable some large input tests for
72181         float as well
72182         (sin_test): Likewise.
72183         (sincos_test): Likewise.
72184         (tan_test): Add tests for large input.
72186         * sysdeps/i386/fpu/libm-test-ulps: Update.
72188 2012-03-15  Andreas Jaeger  <aj@suse.de>
72190         [BZ #13658]
72191         * math/libm-test.inc (cos_test): Add more test cases.
72192         (sin_test): Likewise.
72193         (sincos_test): Likewise.
72195 2012-03-15  Andreas Jaeger  <aj@suse.de>
72197         [BZ #13837]
72198         * math/libm-test.inc (cos_test): Add a test case for large input
72199         value.
72200         (sin_test): Likewise.
72201         (sincos_test): Likewise.
72203 2012-03-15  Andreas Jaeger  <aj@suse.de>
72204             Joseph Myers  <joseph@codesourcery.com>
72206         [BZ #13658]
72207         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
72208         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
72209         * sysdeps/i386/fpu/branred.c: Likewise.
72210         * sysdeps/i386/fpu/dosincos.c: Likewise.
72211         * sysdeps/i386/fpu/mpa.c: Likewise.
72212         * sysdeps/i386/fpu/s_cos.S: Likewise.
72213         * sysdeps/i386/fpu/s_sin.S: Likewise.
72214         * sysdeps/i386/fpu/s_sincos.S: Likewise.
72215         * sysdeps/i386/fpu/sincos32.c: Likewise.
72217         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
72218         Define.
72219         (libc_feupdateenv_53bit): Define.
72220         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
72221         Define.
72222         (libc_feupdateenv_53bit): Define.
72224         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
72225         53 bit (without extend i386 double precision).
72227         * math/libm-test.inc (sincos_test): Add tests for large input.
72228         (sin): Likewise.
72229         (cos): Likewise.
72231         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
72233 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
72235         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72237 2012-03-15  David S. Miller  <davem@davemloft.net>
72239         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
72240         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
72241         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
72242         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
72243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
72244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
72245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
72246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
72247         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
72248         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
72249         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
72250         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
72251         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
72252         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
72253         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
72254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
72255         file.
72256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
72257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
72258         file.
72259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
72260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
72261         file.
72262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
72263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
72264         file.
72265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
72266         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
72267         fmin/fmax sysdep routines.
72268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
72270 2012-03-14  David S. Miller  <davem@davemloft.net>
72272         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
72273         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
72274         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
72275         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
72276         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
72277         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
72278         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
72279         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
72280         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
72281         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
72282         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
72283         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
72284         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
72285         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
72286         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
72287         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
72288         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
72289         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
72290         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
72291         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
72292         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
72293         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
72294         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
72295         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
72296         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
72297         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
72298         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
72299         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
72300         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
72301         routines.
72302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
72303         file.
72304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
72305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
72306         file.
72307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
72308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
72309         file.
72310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
72311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
72312         file.
72313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
72314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
72315         file.
72316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
72317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
72318         file.
72319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
72320         file.
72321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
72322         file.
72323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
72324         file.
72325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
72326         New file.
72327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
72328         file.
72329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
72330         file.
72331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
72332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
72333         file.
72334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
72335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
72336         file.
72337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
72338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
72339         file.
72340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
72341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
72342         VIS3 routines.
72344         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
72345         New file.
72347         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72349         * sysdeps/sparc/configure.in: New file.
72350         * sysdeps/sparc/configure: Generate.
72351         * configure.in (libc_cv_sparc_as_vis3): Substitute.
72352         * configure: Regenerate.
72353         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
72354         * config.make.in (have-as-vis3): New.
72355         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
72356         available use -Av9d instead of -Av9a.
72357         * sysdeps/sparc/sparc64/Makefile: Likewise.
72358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
72359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
72360         New file.
72361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
72362         file.
72363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
72364         New file.
72365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
72366         file.
72367         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
72368         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
72369         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
72370         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
72371         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
72373         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
72374         fzeros/fnegs to load 0x80000000 into a float register instead of
72375         using the stack.
72376         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
72378 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
72380         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72381         bits/syscall.h.
72382         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
72383         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
72384         ($(inst_includedir)/bits/syscall.h): Remove rule.
72385         ($(objpfx)bits/syscall.d): Include instead of
72386         $(objpfx)syscall-list.d.
72387         (generated): Change syscall-list.h and syscall-list.d to
72388         bits/syscall.h and bits/syscall.d.
72390 2012-03-14  Roland McGrath  <roland@hack.frob.com>
72392         [BZ #13846]
72393         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
72395 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
72397         [BZ #13841]
72398         * math/s_csqrt.c: Include <float.h>.
72399         (__csqrt): Scale large or subnormal inputs.
72400         * math/s_csqrtf.c: Likewise.
72401         * math/s_csqrtl.c: Likewise.
72402         * math/libm-test.inc (csqrt_test): Add more tests.
72403         * sysdeps/i386/fpu/libm-test-ulps: Update.
72404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72406         [BZ #13840]
72407         * math/libm-test.inc (hypot_test): Add more tests.
72409 2012-03-13  David S. Miller  <davem@davemloft.net>
72411         [BZ #13840]
72412         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
72413         double-precision for the calculation instead of scaling.
72415 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
72417         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
72418         manipulate bits before adding and subtracting TWO52[sx].
72419         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
72420         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
72421         Likewise.
72422         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
72424 2012-03-13  David S. Miller  <davem@davemloft.net>
72426         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
72427         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
72428         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
72429         rtld-global-offsets.h
72430         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72432         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
72433         large parameters.
72435         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
72437         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
72438         'err' in the ifdef scope in which it is actually used.
72440         * nss/nss_db/db-init.c: Include string.h
72442 2012-03-12  David S. Miller  <davem@davemloft.net>
72444         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
72445         masking out of the most significant byte of random value used.
72446         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72447         Fix coding style in previous change.
72449         * sysdeps/unix/sysv/linux/kernel-features.h
72450         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
72451         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
72452         expression.
72453         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
72454         later.
72456 2012-03-11  David S. Miller  <davem@davemloft.net>
72458         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
72459         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
72460         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
72461         for 'resultvar' otherwise things get truncated on 64-bit.
72463         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72464         Fix masking out of the most significant byte of random value used.
72466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72468 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
72470         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72472 2012-03-09  David S. Miller  <davem@davemloft.net>
72474         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
72475         variables with appropriate CPP guards.
72476         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
72477         from the frame pointer, not the stack pointer.  Correct layout
72478         comments.  Fix test on resulting framesize and the management of
72479         the outregs buffer for pltexit.  Preserve floating point return
72480         values across _dl_call_pltexit call.
72481         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
72482         framesize and the management of the outregs buffer for pltexit.
72483         Preserve floating point return values across _dl_call_pltexit
72484         call.
72485         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
72486         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
72487         (la_sparc64_gnu_pltexit): New functions.
72488         (print_exit): Fix format string for return register value.
72490 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
72492         * sunrpc/Makefile (others): Add rpcgen.
72493         ($(objpfx)rpcgen): Remove special build rule and dependency on
72494         libc.
72495         * sunrpc/rpcgen.c: New file.
72497 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
72499         [BZ #13673]
72500         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
72501         * stdio-common/bug-vfprintf-nargs.c: Likewise.
72502         * sysdeps/i386/crti.S: Likewise.
72503         * sysdeps/i386/crtn.S: Likewise.
72504         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
72505         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
72506         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
72507         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
72508         * sysdeps/sh/crti.S: Likewise.
72509         * sysdeps/sh/crtn.S: Likewise.
72510         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
72512         [BZ #13673]
72513         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
72514         with URL.
72515         * locale/programs/locfile-kw.gperf: Likewise.
72516         * locale/programs/charmap-kw.h: Regenerated.
72517         * locale/programs/locfile-kw.h: Likewise.
72519         [BZ #13673]
72520         * intl/plural.y: Replace FSF snail mail address with URL.
72521         * intl/plural.c: Regenerated.
72523 2012-03-09  Richard Henderson  <rth@twiddle.net>
72525         * include/math_private.h: Remove file.
72526         * math/math_private.h: Move file ...
72527         * sysdeps/generic/math_private.h: ... here.
72529         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
72530         * sysdeps/powerpc/fpu/math_private.h: Likewise.
72531         * sysdeps/x86_64/fpu/math_private.h: Likewise.
72533         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
72534         and <math_private.h>.
72535         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72536         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72537         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72538         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72539         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72540         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
72541         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72542         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72543         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72544         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72545         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72546         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72547         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72548         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72549         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72550         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72551         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72552         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72553         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72554         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72555         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72556         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72557         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72558         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72559         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
72560         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72561         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72562         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72563         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72564         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72565         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72566         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72567         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
72568         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
72569         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72570         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72571         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
72572         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72573         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72574         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72575         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
72576         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72577         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72578         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
72579         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
72580         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72581         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
72582         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
72583         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
72584         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72585         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
72586         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
72587         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
72588         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72589         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
72590         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
72591         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72592         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
72593         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
72594         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
72595         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72596         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
72597         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72598         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72599         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
72600         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72601         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72602         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72603         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
72604         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
72605         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
72606         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72607         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
72608         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72609         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
72610         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
72611         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
72612         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72613         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
72614         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
72615         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
72616         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
72617         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
72618         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
72619         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
72620         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
72621         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
72622         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
72623         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72624         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72625         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72626         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72627         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72628         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72629         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72630         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72631         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72632         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72633         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72634         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72635         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72636         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72637         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72638         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72639         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72640         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72641         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72642         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72643         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72644         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72645         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72646         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72647         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72648         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72649         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
72650         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72651         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72652         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72653         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72654         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
72655         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72656         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72657         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72658         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
72659         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72660         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72661         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72662         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
72663         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72664         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
72665         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
72666         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
72667         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72668         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
72669         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
72670         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72671         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
72672         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72673         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
72674         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
72675         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72676         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72677         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72678         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
72679         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
72680         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72681         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72682         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72683         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
72684         * sysdeps/ieee754/k_standard.c: Likewise.
72685         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72686         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72687         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72688         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72689         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72690         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72691         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72692         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72693         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72694         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72695         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72696         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72697         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72698         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72699         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72700         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72701         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
72702         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72703         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72704         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
72705         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
72706         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
72707         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
72708         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
72709         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
72710         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
72711         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
72712         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
72713         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
72714         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
72715         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
72716         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
72717         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
72718         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
72719         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
72720         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
72721         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
72722         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
72723         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
72724         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
72725         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
72726         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
72727         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
72728         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
72729         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
72730         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
72731         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
72732         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
72733         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
72734         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
72735         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
72736         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
72737         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
72738         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
72739         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
72740         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
72741         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
72742         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
72743         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
72744         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
72745         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
72746         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
72747         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
72748         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72749         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72750         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72751         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72752         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72753         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72754         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72755         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72756         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72757         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72758         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72759         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72760         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72761         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
72762         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72763         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72764         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
72765         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
72766         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
72767         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
72768         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
72769         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
72770         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
72771         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
72772         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
72773         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
72774         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
72775         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
72776         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
72777         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
72778         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
72779         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
72780         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
72781         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
72782         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
72783         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
72784         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
72785         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
72786         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
72787         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
72788         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
72789         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
72790         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
72791         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
72792         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
72793         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
72794         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
72795         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
72796         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
72797         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72798         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72799         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72800         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72801         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72802         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72803         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72804         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
72805         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72806         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
72807         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
72808         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
72809         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72810         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
72811         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
72812         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
72813         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
72814         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
72815         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
72816         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
72817         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
72818         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
72819         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
72820         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
72821         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
72822         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
72823         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
72824         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
72825         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
72826         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
72827         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
72828         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
72829         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72830         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
72831         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
72832         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
72833         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
72834         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
72835         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
72836         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
72837         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72838         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72839         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
72840         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
72841         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
72842         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72843         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72844         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
72845         * sysdeps/ieee754/s_lib_version.c: Likewise.
72846         * sysdeps/ieee754/s_matherr.c: Likewise.
72847         * sysdeps/ieee754/s_signgam.c: Likewise.
72848         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72849         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72850         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
72851         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
72852         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
72853         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
72854         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
72855         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
72856         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
72857         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
72858         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
72859         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
72860         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72861         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72862         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
72863         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
72864         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72865         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
72866         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72867         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72868         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72870 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
72872         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
72873         * sunrpc/rpc_main.c: Likewise.
72874         * sunrpc/rpc_svcout.c: Likewise.
72876 2012-03-09  David S. Miller  <davem@davemloft.net>
72878         * include/math_private.h: New file.
72880 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
72882         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
72883         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
72884         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
72885         from <bits/socket_type.h>.
72886         (enum __socket_type): Don't define here.
72887         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
72888         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72889         bits/socket_type.h.
72891         [BZ #13566]
72892         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
72893         checking __USE_GNU.
72895         * Makerules ($(inst_includedir)/%.h): New rule.
72896         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
72897         (install-others): Remove variable setting.
72898         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
72900 2012-03-08  Richard Henderson  <rth@twiddle.net>
72902         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
72903         from macro to inline function; merge with the
72904         !__LIBC_INTERNAL_MATH_INLINES version.
72905         (__ieee754_sqrtf): Likewise.
72907         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
72908         to inline function.
72909         (__rintf, __floor, __floorf): Likewise.
72911         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
72912         macro to inline function.
72913         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
72915         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
72916         not <math/math_private.h>.
72918 2012-03-08  David S. Miller  <davem@davemloft.net>
72920         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
72921         copyright year.
72922         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
72924 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
72926         * resolv/gai_misc.c (handle_requests): Fix struct timespec
72927         normalization.
72928         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
72929         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
72931 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
72933         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
72934         be defined individually, they must be defined as a block.  Define
72935         S for printing a string instead of hidint the different by using a
72936         macro for adding the 'l'.
72937         * stdio-common/tst-fphex-wide.c: Adjust.
72939 2012-03-07  Marek Polacek  <polacek@redhat.com>
72941         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
72943 2012-03-08  Marek Polacek  <polacek@redhat.com>
72945         [BZ #13806]
72946         * stdio-common/Makefile (tests): Add tst-fphex-wide.
72947         * stdio-common/tst-fphex.c: Define a few macros to make the
72948         test reusable.  Use them.
72949         * stdio-common/tst-fphex-wide.c: New file.
72951 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
72953         [BZ #6911]
72954         * manual/macros.texi (gnusystems): New macro.
72955         (nongnusystems): Likewise.
72956         (gnulinuxhurdsystems): Likewise.
72957         (gnuhurdsystems): Likewise..
72958         (gnulinuxsystems): Likewise.
72959         * manual/charset.texi: Use new macros or @theglibc{} to refer to
72960         variants of the GNU system, not "GNU system".
72961         * manual/conf.texi: Likewise.
72962         * manual/errno.texi: Likewise.  Update example of errno macro
72963         expansion.
72964         * manual/filesys.texi: Likewise.
72965         (getumask): Document as specific to GNU/Hurd.
72966         * manual/install.texi: Likewise.  Reword some references to
72967         GNU/Linux.
72968         * manual/intro.texi: Likewise.
72969         * manual/io.texi: Likewise.
72970         (File Name Portability): Detail which constraints are inapplicable
72971         to all GNU systems and which are only inapplicable to GNU/Hurd.
72972         * manual/job.texi: Likewise.
72973         * manual/llio.texi: Likewise.
72974         (O_NOCTTY): Document as present on GNU/Linux.
72975         * manual/maint.texi: Likewise.
72976         * manual/memory.texi: Likewise.
72977         * manual/pattern.texi: Likewise.
72978         * manual/pipe.texi: Likewise.
72979         * manual/process.texi: Likewise.
72980         * manual/resource.texi: Likewise.
72981         (RUSAGE_CHILDREN): Remove statement about specifying a particular
72982         child on GNU/Hurd.
72983         * manual/setjmp.texi: Likewise.
72984         * manual/signal.texi: Likewise.
72985         * manual/startup.texi: Likewise.
72986         * manual/stdio.texi: Likewise.
72987         * manual/terminal.texi: Likewise.
72988         (ONLCR): Document as POSIX.
72989         (OXTABS): Document availability on GNU/Linux as XTABS.
72990         (ONOEOT): Document availability separately from other bits.
72991         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
72992         * manual/time.texi: Likewise.
72993         * manual/users.texi: Likewise.
72994         * INSTALL: Regenerated.
72995         * sysdeps/gnu/errlist.c: Regenerated.
72997         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
72998         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
72999         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
73000         puts.
73001         * configure: Regenerated.
73003 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
73005         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
73006         default includes instead of AC_HEADER_CHECK.
73007         * sysdeps/i386/configure: Regenerated.
73009         [BZ #10716]
73010         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
73011         * math/s_cacoshf.c (__cacoshf): Likewise.
73012         * math/s_cacoshl.c (__cacoshl): Likewise.
73013         * math/s_casinh.c (__casinh): Set signs of result from argument.
73014         * math/s_casinhf.c (__casinhf): Likewise.
73015         * math/s_casinhl.c (__casinhl): Likewise.
73016         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
73017         (casinh_test): Add more tests.
73018         * sysdeps/i386/fpu/libm-test-ulps: Update.
73019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73021 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
73023         * po/zh_TW.po: Update from translation team.
73025         * login/Makefile (distribute): Remove variable.
73026         * catgets/Makefile: Likewise.
73027         * mach/Makefile: Likewise.
73028         * malloc/Makefile: Likewise.
73029         * misc/Makefile: Likewise.
73030         * iconv/Makefile: Likewise.
73031         * nscd/Makefile: Likewise.
73032         * hurd/Makefile: Likewise.
73033         * manual/Makefile: Likewise.
73034         * locale/Makefile: Likewise.
73035         * intl/Makefile: Likewise.
73036         * conform/Makefile: Likewise.
73037         * nss/Makefile: Likewise.
73038         * time/Makefile: Likewise.
73039         * soft-fp/Makefile: Likewise.
73040         * dirent/Makefile: Likewise.
73041         * gmon/Makefile: Likewise.
73042         * po/Makefile: Likewise.
73043         * rt/Makefile: Likewise.
73044         * socket/Makefile: Likewise.
73045         * math/Makefile: Likewise.
73046         * signal/Makefile: Likewise.
73047         * debug/Makefile: Likewise.
73048         * elf/Makefile: Likewise.
73049         * timezone/Makefile: Likewise.
73050         * stdlib/Makefile: Likewise.
73051         * iconvdata/Makefile: Likewise.
73052         * sunrpc/Makefile: Likewise.
73053         * io/Makefile: Likewise.
73054         * argp/Makefile: Likewise.
73055         * inet/Makefile: Likewise.
73056         * hesiod/Makefile: Likewise.
73057         * grp/Makefile: Likewise.
73058         * csu/Makefile: Likewise.
73059         * wctype/Makefile: Likewise.
73060         * crypt/Makefile: Likewise.
73061         * libio/Makefile: Likewise.
73062         * string/Makefile: Likewise.
73063         * nis/Makefile: Likewise.
73064         * resolv/Makefile: Likewise.
73065         * stdio-common/Makefile: Likewise.
73066         * wcsmbs/Makefile: Likewise.
73067         * dlfcn/Makefile: Likewise.
73068         * posix/Makefile: Likewise.
73070         [BZ #6959]
73071         * timezone/Makefile: Don't install timezone files, just the programs
73072         and scripts.
73074 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
73076         * nss/databases.def: Add missing gshadow entry.
73078         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
73080 2012-03-06  Marek Polacek  <polacek@redhat.com>
73082         [BZ #13726]
73083         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
73084         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
73085         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
73086         * stdio-common/tst-long-dbl-fphex.c: New file.
73088 2012-03-06  David S. Miller  <davem@davemloft.net>
73090         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73091         (set_obp_int): New function.
73092         (get_obp_int): New function.
73093         (__get_clockfreq_via_dev_openprom): Likewise.
73094         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
73095         Avoid unused variable warnings on 'val' and use builtin_expect.
73096         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
73097         __builtin_expect.
73098         (INLINE_CLONE_SYSCALL): Likewise.
73100 2012-03-05  David S. Miller  <davem@davemloft.net>
73102         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73104 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
73106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73108         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
73109         only for |x| >= 40.
73110         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73112 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
73114         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
73115         Replace gettimeofday with __vdso_gettimeofday.
73117         * sysdeps/unix/sysv/linux/x86_64/init-first.c
73118         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
73119         __vdso_clock_gettime and __vdso_getcpu.
73121         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
73122         time with __vdso_time.
73124 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
73126         * manual/lang.texi (size_t): Note types to which size_t may be
73127         equivalent with the GNU C Library, but do not describe when
73128         differences between them are significant.
73130 2012-03-05  Andreas Jaeger  <aj@suse.de>
73132         * sysdeps/i386/fpu/libm-test-ulps: Update.
73134 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
73136         [BZ #3976]
73137         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
73138         (__ieee754_pow): Save and restore rounding mode and use
73139         round-to-nearest for main computations.
73140         * math/libm-test.inc (pow_test_tonearest): New function.
73141         (pow_test_towardzero): Likewise.
73142         (pow_test_downward): Likewise.
73143         (pow_test_upward): Likewise.
73144         (main): Call the new functions.
73145         * sysdeps/i386/fpu/libm-test-ulps: Update.
73146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73148         [BZ #3976]
73149         * math/libm-test.inc (cosh_test_tonearest): New function.
73150         (cosh_test_towardzero): Likewise.
73151         (cosh_test_downward): Likewise.
73152         (cosh_test_upward): Likewise.
73153         (sinh_test_tonearest): Likewise.
73154         (sinh_test_towardzero): Likewise.
73155         (sinh_test_downward): Likewise.
73156         (sinh_test_upward): Likewise.
73157         (main): Call the new functions.
73158         * sysdeps/i386/fpu/libm-test-ulps: Update.
73159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73161 2012-03-05  Tom de Vries  <tom@codesourcery.com>
73163         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
73164         default stack guard is set in last bytes.
73165         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
73167 2012-03-05  Kees Cook  <keescook@chromium.org>
73169         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
73171         [BZ #13656]
73172         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
73173         possibly allocate from heap instead of stack.
73174         * stdio-common/bug-vfprintf-nargs.c: New file.
73175         * stdio-common/Makefile (tests): Add nargs overflow test.
73177 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
73179         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73181 2012-03-03  Marek Polacek  <polacek@redhat.com>
73183         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
73184         * math/math_private.h: Likewise.
73185         * stdlib/tst-strtod.c: Likewise.
73186         * sysdeps/i386/i486/bits/atomic.h: Likewise.
73187         * sysdeps/x86_64/bits/atomic.h: Likewise.
73189 2012-03-02  David S. Miller  <davem@davemloft.net>
73191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
73192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
73193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
73194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
73195         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
73196         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
73197         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
73198         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
73200 2012-03-02  Roland McGrath  <roland@hack.frob.com>
73202         [BZ #13792]
73203         * manual/examples/README: New file, says the example source files
73204         can be used under GPL>=2.
73205         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
73206         line containing just "*/".
73207         * manual/examples/add.c: Add copyright header (GPL>=2).
73208         * manual/examples/argp-ex1.c: Likewise.
73209         * manual/examples/argp-ex2.c: Likewise.
73210         * manual/examples/argp-ex3.c: Likewise.
73211         * manual/examples/argp-ex4.c: Likewise.
73212         * manual/examples/atexit.c: Likewise.
73213         * manual/examples/db.c: Likewise.
73214         * manual/examples/dir.c: Likewise.
73215         * manual/examples/dir2.c: Likewise.
73216         * manual/examples/execinfo.c: Likewise.
73217         * manual/examples/filecli.c: Likewise.
73218         * manual/examples/filesrv.c: Likewise.
73219         * manual/examples/fmtmsgexpl.c: Likewise.
73220         * manual/examples/genpass.c: Likewise.
73221         * manual/examples/inetcli.c: Likewise.
73222         * manual/examples/inetsrv.c: Likewise.
73223         * manual/examples/isockad.c: Likewise.
73224         * manual/examples/longopt.c: Likewise.
73225         * manual/examples/memopen.c: Likewise.
73226         * manual/examples/memstrm.c: Likewise.
73227         * manual/examples/mkfsock.c: Likewise.
73228         * manual/examples/mkisock.c: Likewise.
73229         * manual/examples/mygetpass.c: Likewise.
73230         * manual/examples/pipe.c: Likewise.
73231         * manual/examples/popen.c: Likewise.
73232         * manual/examples/rprintf.c: Likewise.
73233         * manual/examples/search.c: Likewise.
73234         * manual/examples/select.c: Likewise.
73235         * manual/examples/setjmp.c: Likewise.
73236         * manual/examples/sigh1.c: Likewise.
73237         * manual/examples/sigusr.c: Likewise.
73238         * manual/examples/stpcpy.c: Likewise.
73239         * manual/examples/strdupa.c: Likewise.
73240         * manual/examples/strftim.c: Likewise.
73241         * manual/examples/strncat.c: Likewise.
73242         * manual/examples/subopt.c: Likewise.
73243         * manual/examples/swapcontext.c: Likewise.
73244         * manual/examples/termios.c: Likewise.
73245         * manual/examples/testopt.c: Likewise.
73246         * manual/examples/testpass.c: Likewise.
73247         * manual/examples/timeval_subtract.c: Likewise.
73249         [BZ #13792]
73250         * manual/time.texi (Elapsed Time): Move timeval_subtract example
73251         function to ...
73252         * manual/timeval_subtract.c.texi: ... here, new file.
73254 2012-03-02  David S. Miller  <davem@davemloft.net>
73256         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
73258 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
73260         [BZ #3976]
73261         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
73262         (__sin): Save and restore rounding mode and use round-to-nearest
73263         for all computations.
73264         (__cos): Save and restore rounding mode and use round-to-nearest
73265         for all computations.
73266         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
73267         <fenv.h>.
73268         (tan): Save and restore rounding mode and use round-to-nearest for
73269         all computations.
73270         * math/libm-test.inc (cos_test_tonearest): New function.
73271         (cos_test_towardzero): Likewise.
73272         (cos_test_downward): Likewise.
73273         (cos_test_upward): Likewise.
73274         (sin_test_tonearest): Likewise.
73275         (sin_test_towardzero): Likewise.
73276         (sin_test_downward): Likewise.
73277         (sin_test_upward): Likewise.
73278         (tan_test_tonearest): Likewise.
73279         (tan_test_towardzero): Likewise.
73280         (tan_test_downward): Likewise.
73281         (tan_test_upward): Likewise.
73282         (main): Call the new functions.
73283         * sysdeps/i386/fpu/libm-test-ulps: Update.
73284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73286         [BZ #10135]
73287         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
73288         small n, then large n, before computing and testing k+n.
73289         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
73290         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
73291         Likewise.
73292         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
73293         Likewise.
73294         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
73295         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
73296         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
73297         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
73298         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
73299         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
73300         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
73301         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
73302         * math/libm-test.inc (scalbn_test): Add more tests.
73303         (scalbln_test): Likewise.
73305         * manual/filesys.texi (mode_t): Describe constraints on size and
73306         signedness, not exact equivalence to a particular type.
73307         (ino_t): Likewise.
73308         (ino64_t): Likewise.
73309         (dev_t): Likewise.
73310         (nlink_t): Likewise.
73311         (blkcnt_t): Likewise.
73312         (blkcnt64_t): Likewise.
73313         * manual/llio.texi (off_t): Likewise.
73315         [BZ #3976]
73316         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
73317         (__ieee754_exp): Save and restore rounding mode and use
73318         round-to-nearest for all computations.
73319         * math/libm-test.inc (exp_test_tonearest): New function.
73320         (exp_test_towardzero): Likewise.
73321         (exp_test_downward): Likewise.
73322         (exp_test_upward): Likewise.
73323         (main): Call the new functions.
73324         * sysdeps/i386/fpu/libm-test-ulps: Update.
73325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73327 2012-03-01  Chris Demetriou  <cgd@google.com>
73329         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
73330         have predictable order.
73332 2012-03-01  David S. Miller  <davem@davemloft.net>
73334         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
73336         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
73337         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
73338         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
73339         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
73341         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
73342         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
73343         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
73344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
73345         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
73346         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
73347         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
73348         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
73349         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
73351         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73353         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
73354         * sysdeps/sparc/fpu/libm-test-ulps: to here.
73355         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
73357         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
73358         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
73359         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
73360         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
73361         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
73362         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
73363         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
73364         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
73365         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
73366         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
73367         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
73368         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
73369         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
73370         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
73371         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
73372         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73373         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
73374         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
73375         * sysdeps/sparc/elf/configure: Regenerated.
73377 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
73379         * configure.in (AS, LD): Require binutils 2.20 or later.
73380         * configure: Regenerated.
73381         * manual/install.texi (Tools for Compilation): Give binutils 2.20
73382         as required minimum version.
73383         * INSTALL: Regenerated.
73385         [BZ #2541]
73386         [BZ #4108]
73387         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
73388         before squaring exponent.
73389         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
73390         bottom long double and 27 bits of top long double before squaring
73391         exponent.
73392         * math/libm-test.inc (erfc_test): Add more tests.
73393         * sysdeps/i386/fpu/libm-test-ulps: Update.
73394         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73397 2012-03-01  Kai Tietz  <ktietz@redhat.com>
73399         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
73400         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
73401         containing bit-fields.
73402         * soft-fp/extended.h (_FP_UNION_E): Likewise.
73403         * soft-fp/single.h (_FP_UNION_S): Likewise.
73404         * soft-fp/double.h (_FP_UNION_D): Likewise.
73406 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
73408         [BZ #13786]
73409         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
73410         not include ../strcmp.S.
73411         [USE_AS_STRNCASECMP_L]: Likewise.
73412         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
73413         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
73414         * sysdeps/i386/i686/multiarch/strncase_l-c.c
73415         (__strncasecmp_l_ia32): Define as alias to
73416         __strncasecmp_l_nonascii.
73418         [BZ #5794]
73419         * math/libm-test.inc (expm1_test): Add test for bug 5794.
73420         * sysdeps/i386/fpu/libm-test-ulps: Update.
73421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73423         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
73424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73426 2012-02-29  Jeff Law  <law@redhat.com>
73428         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
73429         out of bounds read.
73431 2012-02-29  Marek Polacek  <polacek@redhat.com>
73433         [BZ #13706]
73434         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
73435         * elf/Makefile: Add rules to run tst-unused-dep.out.
73437 2012-02-28  David S. Miller  <davem@davemloft.net>
73439         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
73440         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
73441         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
73442         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
73443         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
73444         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
73446 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
73448         * math/libm-test.inc (llround_test): Move one test from
73449         lround_test.  Use TEST_f_L in moved test.
73450         (lround_test): Move misplaced test to llround_test.  Add testcase
73451         from bug 2561.
73453 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
73455         * sysdeps/x86_64/fpu/e_expf.S: New file.
73456         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
73458 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
73460         [BZ #13637]
73461         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
73462         of remain_len that may cause incomplete multi-byte character and
73463         false match.
73464         * posix/bug-regex33.c: New file.
73465         * posix/Makefile (tests): Add bug-regex33.
73467 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
73469         * manual/macros.texi: New file.
73470         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
73471         * manual/libc.texinfo: Include macros.texi.
73472         * manual/creatute.texi: Likewise.
73473         * manual/install.texi: Likewise.
73474         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
73475         @glibcadj{} in references to the GNU C Library.
73476         * manual/charset.texi: Likewise.
73477         * manual/conf.texi: Likewise.
73478         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
73479         when not using those macros.
73480         * manual/creature.texi: Likewise.
73481         * manual/crypt.texi: Likewise.
73482         * manual/errno.texi: Likewise.
73483         * manual/filesys.texi: Likewise.
73484         * manual/header.texi: Likewise.
73485         * manual/install.texi: Likewise.
73486         * manual/intro.texi: Likewise.
73487         * manual/io.texi: Likewise.
73488         * manual/job.texi: Likewise.
73489         * manual/lang.texi: Likewise.
73490         * manual/libc.texiinfo: Likewise.
73491         * manual/llio.texi: Likewise.
73492         * manual/locale.texi: Likewise.
73493         * manual/maint.texi: Likewise.
73494         * manual/math.texi: Likewise.
73495         * manual/memory.texi: Likewise.
73496         * manual/message.texi: Likewise.
73497         * manual/nss.texi: Likewise.
73498         * manual/pattern.texi: Likewise.
73499         * manual/process.texi: Likewise.
73500         * manual/resource.texi: Likewise.
73501         * manual/search.texi: Likewise.
73502         * manual/setjmp.texi: Likewise.
73503         * manual/signal.texi: Likewise.
73504         * manual/socket.texi: Likewise.
73505         * manual/startup.texi: Likewise.
73506         * manual/stdio.texi: Likewise.
73507         * manual/string.texi: Likewise.
73508         * manual/sysinfo.texi: Likewise.
73509         * manual/syslog.texi: Likewise.
73510         * manual/terminal.texi: Likewise.
73511         * manual/time.texi: Likewise.
73512         * manual/users.texi: Likewise.
73513         * INSTALL: Regenerated.
73514         * NOTES: Regenerated.
73515         * sysdeps/gnu/errlist.c: Regenerated.
73517 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
73519         * include/dirent.h: Include <dirstream.h> before
73520         <dirent/dirent.h>.
73522 2012-02-28  David S. Miller  <davem@davemloft.net>
73524         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
73525         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
73526         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
73527         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
73529 2012-02-27  David S. Miller  <davem@davemloft.net>
73531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
73532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
73533         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
73534         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
73536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
73537         frame pointer instead of stack pointer relative arg slot.
73538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
73539         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
73540         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
73542 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
73544         [BZ #3992]
73545         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
73547 2012-02-27  David S. Miller  <davem@davemloft.net>
73549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
73550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
73551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
73552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
73553         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
73554         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
73555         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
73556         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
73558 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
73560         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
73561         later.  Allow versions 5-9.
73562         * configure: Regenerated.
73563         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
73564         required minimum version and 4.6 as recommended version.  Do not
73565         mention bugs in GCC 2.7 and 2.8.
73566         * INSTALL: Regenerated.
73568 2012-02-27  David S. Miller  <davem@davemloft.net>
73570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
73571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
73572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
73573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
73574         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
73575         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
73576         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
73577         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
73579         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
73580         manipulate bits before adding and subtracting TWO112[sx].
73581         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73583 2012-02-27  Roland McGrath  <roland@hack.frob.com>
73585         [BZ #13775]
73586         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
73587         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
73588         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
73589         being in POSIX, because they are in 1003.1-2008.
73591         * rt/tst-aio.c: Include <fcntl.h>.
73592         * rt/tst-aio7.c: Likewise.
73593         * rt/tst-aio64.c: Likewise.
73595         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
73597 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
73599         * manual/install.texi (--with-headers): Describe headers as
73600         interface headers, not private headers.
73601         (Specific advice for GNU/Linux systems): Describe use of headers
73602         from "make headers_install", not private headers from older
73603         kernels.
73604         * INSTALL: Regenerated.
73605         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
73606         Change to 2.6.19.
73607         * sysdeps/unix/sysv/linux/configure: Regenerated.
73609         * manual/llio.texi (fclean): Remove documentation.
73611         * manual/Makefile (libc-texi-generated): New variable.  Include
73612         version.texi.
73613         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
73614         $(libc-texi-generated), not duplicated list of files.
73615         (version.texi, stamp-version): New rules.
73616         (realclean): Remove $(libc-texi-generated), not individual files
73617         from that list.  Do not remove dir-add.texinfo.
73618         * manual/libc.texinfo: Comment out uses of edition numbers and
73619         references to printed manual.  Remove last-updated dates.
73620         (EDITION): Comment out.
73621         (ISBN): Likewise.
73622         (VERSION, UPDATED): Remove.
73623         (version.texi): Include.
73625 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
73627         * sysdeps/posix/spawni.c: Include <signal.h>.
73628         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
73629         * sysdeps/pthread/aio_fsync.c: Likewise.
73631 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
73633         * conform/Makefile (tests): Run only when not cross-compiling and
73634         when fast-check is not defined.
73636         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
73637         * conform/data/limits.h-data: Fixes for POSIX2008.
73638         * conform/run-conformtest.sh: Run all tests.
73639         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
73640         headers.
73641         * include/bits/dlfcn.h: Likewise.
73642         * include/langinfo.h: Likewise.
73643         * include/monetary.h: Likewise.
73644         * include/sys/poll.h: Likewise.
73646         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
73647         for __USE_GNU.
73648         * posix/spawn.h: Define __need_sigset_t.
73649         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
73650         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
73651         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
73652         to get sigevent_t only.
73653         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
73654         only for __USE_GNU.
73655         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73656         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
73657         process_vm_writev only for __USE_GNU.
73658         * termios/termios.h: Declare tcgetsid also for POSIX2008.
73660         * conform/Makefile: For now ignore errors from run-conformtest.
73661         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
73662         POSIX to avoid namespace pollution.  Don't prepend headers.
73663         * conform/data/aio.h-data: Fixes for POSIX testing.
73664         * conform/data/fcntl.h-data: Likewise.
73665         * conform/data/glob.h-data: Likewise.
73666         * conform/data/grp.h-data: Likewise.
73667         * conform/data/pthread.h-data: Likewise.
73668         * conform/data/pwd.h-data: Likewise.
73669         * conform/data/signal.h-data: Likewise.
73670         * conform/data/spawn.h-data: Likewise.
73671         * conform/data/stdio.h-data: Likewise.
73672         * conform/data/stdlib.h-data: Likewise.
73673         * conform/data/stropts.h-data: Likewise.
73674         * conform/data/sys/mman.h-data: Likewise.
73675         * conform/data/sys/stat.h-data: Likewise.
73676         * conform/data/sys/types.h-data: Likewise.
73677         * conform/data/sys/wait.h-data: Likewise.
73678         * conform/data/time.h-data: Likewise.
73679         * conform/data/unistd.h-data: Likewise.
73680         * conform/data/utime.h-data: Likewise.
73682         * io/sys/stat.h: fchmod was always in POSIX.
73683         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
73684         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
73685         * rt/aio.h: Define __need_timespec before including <time.h>.
73686         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
73687         struct.  Add forward declaration of pthread_attr_t and use it in
73688         sigevent.
73689         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
73690         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
73691         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
73692         always remove CLK_TCK definition.
73694 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
73696         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
73698 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
73700         * conform/run-conformtest.sh: New file.
73701         * conform/Makefile: Run run-conformtest for tests.
73702         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
73703         support.
73705         * conform/data/uchar.h-data: New file.
73706         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
73707         * conform/data/arpa/inet.h-data: Likewise.
73708         * conform/data/assert.h-data: Likewise.
73709         * conform/data/complex.h-data: Likewise.
73710         * conform/data/cpio.h-data: Likewise.
73711         * conform/data/ctype.h-data: Likewise.
73712         * conform/data/dirent.h-data: Likewise.
73713         * conform/data/dlfcn.h-data: Likewise.
73714         * conform/data/errno.h-data: Likewise.
73715         * conform/data/fcntl.h-data: Likewise.
73716         * conform/data/float.h-data: Likewise.
73717         * conform/data/fmtmsg.h-data: Likewise.
73718         * conform/data/fnmatch.h-data: Likewise.
73719         * conform/data/ftw.h-data: Likewise.
73720         * conform/data/glob.h-data: Likewise.
73721         * conform/data/grp.h-data: Likewise.
73722         * conform/data/iconv.h-data: Likewise.
73723         * conform/data/inttypes.h-data: Likewise.
73724         * conform/data/langinfo.h-data: Likewise.
73725         * conform/data/libgen.h-data: Likewise.
73726         * conform/data/limits.h-data: Likewise.
73727         * conform/data/locale.h-data: Likewise.
73728         * conform/data/math.h-data: Likewise.
73729         * conform/data/monetary.h-data: Likewise.
73730         * conform/data/mqueue.h-data: Likewise.
73731         * conform/data/ndbm.h-data: Likewise.
73732         * conform/data/net/if.h-data: Likewise.
73733         * conform/data/netdb.h-data: Likewise.
73734         * conform/data/netinet/in.h-data: Likewise.
73735         * conform/data/nl_types.h-data: Likewise.
73736         * conform/data/poll.h-data: Likewise.
73737         * conform/data/pthread.h-data: Likewise.
73738         * conform/data/pwd.h-data: Likewise.
73739         * conform/data/regex.h-data: Likewise.
73740         * conform/data/sched.h-data: Likewise.
73741         * conform/data/search.h-data: Likewise.
73742         * conform/data/semaphore.h-data: Likewise.
73743         * conform/data/setjmp.h-data: Likewise.
73744         * conform/data/signal.h-data: Likewise.
73745         * conform/data/spawn.h-data: Likewise.
73746         * conform/data/stdarg.h-data: Likewise.
73747         * conform/data/stdio.h-data: Likewise.
73748         * conform/data/stdlib.h-data: Likewise.
73749         * conform/data/string.h-data: Likewise.
73750         * conform/data/strings.h-data: Likewise.
73751         * conform/data/stropts.h-data: Likewise.
73752         * conform/data/sys/ipc.h-data: Likewise.
73753         * conform/data/sys/mman.h-data: Likewise.
73754         * conform/data/sys/msg.h-data: Likewise.
73755         * conform/data/sys/resource.h-data: Likewise.
73756         * conform/data/sys/select.h-data: Likewise.
73757         * conform/data/sys/sem.h-data: Likewise.
73758         * conform/data/sys/shm.h-data: Likewise.
73759         * conform/data/sys/socket.h-data: Likewise.
73760         * conform/data/sys/stat.h-data: Likewise.
73761         * conform/data/sys/statvfs.h-data: Likewise.
73762         * conform/data/sys/time.h-data: Likewise.
73763         * conform/data/sys/timeb.h-data: Likewise.
73764         * conform/data/sys/times.h-data: Likewise.
73765         * conform/data/sys/types.h-data: Likewise.
73766         * conform/data/sys/uio.h-data: Likewise.
73767         * conform/data/sys/un.h-data: Likewise.
73768         * conform/data/sys/utsname.h-data: Likewise.
73769         * conform/data/sys/wait.h-data: Likewise.
73770         * conform/data/syslog.h-data: Likewise.
73771         * conform/data/tar.h-data: Likewise.
73772         * conform/data/termios.h-data: Likewise.
73773         * conform/data/utime.h-data: Likewise.
73774         * conform/data/utmpx.h-data: Likewise.
73775         * conform/data/varargs.h-data: Likewise.
73776         * conform/data/wchar.h-data: Likewise.
73777         * conform/data/wctype.h-data: Likewise.
73778         * conform/data/wordexp.h-data: Likewise.
73780         * include/stropts.h: New file.
73781         * include/uchar.h: New file.
73782         * include/aio.h: Changes to allow conformtest.pl to use the headers.
73783         * include/assert.h: Likewise.
73784         * include/ctype.h: Likewise.
73785         * include/dirent.h: Likewise.
73786         * include/dlfcn.h: Likewise.
73787         * include/fcntl.h: Likewise.
73788         * include/fnmatch.h: Likewise.
73789         * include/glob.h: Likewise.
73790         * include/grp.h: Likewise.
73791         * include/libio.h: Likewise.
73792         * include/locale.h: Likewise.
73793         * include/math.h: Likewise.
73794         * include/net/if.h: Likewise.
73795         * include/netdb.h: Likewise.
73796         * include/netinet/in.h: Likewise.
73797         * include/pthread.h: Likewise.
73798         * include/pwd.h: Likewise.
73799         * include/regex.h: Likewise.
73800         * include/sched.h: Likewise.
73801         * include/search.h: Likewise.
73802         * include/setjmp.h: Likewise.
73803         * include/signal.h: Likewise.
73804         * include/stdio.h: Likewise.
73805         * include/stdlib.h: Likewise.
73806         * include/string.h: Likewise.
73807         * include/sys/cdefs.h: Likewise.
73808         * include/sys/mman.h: Likewise.
73809         * include/sys/msg.h: Likewise.
73810         * include/sys/resource.h: Likewise.
73811         * include/sys/select.h: Likewise.
73812         * include/sys/socket.h: Likewise.
73813         * include/sys/stat.h: Likewise.
73814         * include/sys/statvfs.h: Likewise.
73815         * include/sys/time.h: Likewise.
73816         * include/sys/times.h: Likewise.
73817         * include/sys/uio.h: Likewise.
73818         * include/sys/utsname.h: Likewise.
73819         * include/sys/wait.h: Likewise.
73820         * include/termios.h: Likewise.
73821         * include/time.h: Likewise.
73822         * include/ulimit.h: Likewise.
73823         * include/unistd.h: Likewise.
73824         * include/utime.h: Likewise.
73825         * include/wchar.h: Likewise.
73826         * include/wctype.h: Likewise.
73827         * include/wordexp.h: Likewise.
73829         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
73831         * time/time.h: TIME_UTC must be a macro.
73832         Make timespec_get available for ISO C11 only as well.
73834 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
73836         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
73837         Reported by Peng Haitao <penght@cn.fujitsu.com>.
73839 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
73841         * configure.in: Use -o not -a in test for unsupported multi-arch.
73843 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
73845         * manual/texinfo.tex: Update to version 2012-01-19.16.
73847 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
73849         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
73851 2012-02-24  Roland McGrath  <roland@hack.frob.com>
73853         [BZ #13738]
73854         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
73855         * manual/fdl-1.3.texi: New file.
73856         * manual/fdl-1.1.texi: File removed.
73858         [BZ #13738]
73859         * manual/libc.texinfo (FDL_VERSION): New @set.
73860         Use it for mention of FDL in cover text.
73861         (Documentation License): Use it in @include file name.
73863 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73864             Roland McGrath  <roland@hack.frob.com>
73866         [BZ #5461]
73867         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
73868         (not LONG_LONG_MAX and LONG_LONG_MIN.
73869         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
73870         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
73871         name.
73872         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
73874 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73876         [BZ #2547]
73877         [BZ #11365]
73878         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
73879         manipulate bits before adding and subtracting TWO23[sx].
73880         * math/libm-test.inc (nearbyint_test): Add more tests.
73882 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73884         [BZ #2548]
73885         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
73886         bits before adding and subtracting TWO23[sx].
73887         * math/libm-test.inc (rint_test): Add more tests.
73888         (rint_test_tonearest): Likewise.
73889         (rint_test_towardzero): Likewise.
73890         (rint_test_downward): Likewise.
73891         (rint_test_upward: Likewise.
73893 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73895         [BZ #10110]
73896         * include/stdc-predef.h: New file.  Extracted from features.h.
73897         * include/features.h: Include stdc-predef.h.
73898         * Makefile (headers): Add stdc-predef.h.
73899         * CONFORMANCE (Compiler limitations): Update.
73901 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73903         * manual/libc.texinfo (VERSION, UPDATED): Revert.
73905 2012-02-21  David S. Miller  <davem@davemloft.net>
73907         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
73908         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
73910 2012-02-20  David S. Miller  <davem@davemloft.net>
73912         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
73913         using a normal save/restore sequence, rather than allocating a
73914         dummy stack frame just to store a frame pointer and restore.
73915         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
73917 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73919         * manual/install.texi: Fix stray word in line-wrapped comment.
73921 2012-02-20  David S. Miller  <davem@davemloft.net>
73923         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
73924         both binutils and gcc support GOTDATA.
73926         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
73927         "rd %pc" in the PIC register setup sequences.
73929         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
73930         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
73931         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
73932         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
73933         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
73934         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
73935         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73936         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
73937         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
73938         (SYSCALL_ERROR_HANDLER): Likewise.
73939         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
73940         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
73941         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
73942         (SYSCALL_ERROR_HANDLER): Likewise.
73944         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
73945         (HAVE_GCC_GOTDATA): New.
73946         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
73947         relocation support in both binutils and gcc.
73948         * sysdeps/sparc/elf/configure: Regenerate.
73950         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
73951         * sysdeps/sparc/sparc32/elf/configure: Delete.
73952         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
73953         * sysdeps/sparc/sparc64/elf/configure: Delete.
73954         * sysdeps/sparc/elf/configure.in: New file.
73955         * sysdeps/sparc/elf/configure: Generate.
73957         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
73958         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
73959         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
73960         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
73961         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
73963 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73965         * manual/install.texi: Do not mention specific glibc version
73966         numbers.
73967         * manual/libc.texinfo (VERSION, UPDATED): Update.
73968         (@copying): Use @copyright{} and range of years.
73970 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73972         [BZ #13695]
73973         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
73974         [crti.S not in sysdirs] (generated): Do not append.
73975         [crti.S not in sysdirs] (omit-deps): Likewise.
73976         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
73977         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
73978         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
73979         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
73980         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
73981         Likewise.
73982         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
73983         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
73984         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
73985         * csu/defs.awk: Remove file.
73986         * sysdeps/generic/initfini.c: Likewise.
73987         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
73988         variable.
73989         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
73990         Likewise.
73992 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73994         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
73995         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
73996         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
73997         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
73998         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73999         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
74000         <bits/epoll.h>.
74001         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
74002         (__EPOLL_PACKED): Define to empty if not defined by
74003         <bits/epoll.h>.
74004         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
74005         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74006         bits/epoll.h.
74008 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
74010         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
74011         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
74012         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
74013         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
74014         <bits/timerfd.h>.
74015         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
74016         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74017         bits/timerfd.h.
74019 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
74021         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
74022         in C locale.
74023         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74024         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
74025         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
74026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74028 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
74030         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74031         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
74033 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
74035         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
74036         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
74037         defined.
74038         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
74039         Likewise.
74040         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
74041         entry for 2.16.
74043 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
74045         * math/w_acos.c: Use non-signaling floating-point comparisons.
74046         * math/w_acosf.c: Likewise.
74047         * math/w_acosh.c: Likewise.
74048         * math/w_acoshf.c: Likewise.
74049         * math/w_acoshl.c: Likewise.
74050         * math/w_acosl.c: Likewise.
74051         * math/w_asin.c: Likewise.
74052         * math/w_asinf.c: Likewise.
74053         * math/w_asinl.c: Likewise.
74054         * math/w_atanh.c: Likewise.
74055         * math/w_atanhf.c: Likewise.
74056         * math/w_atanhl.c: Likewise.
74057         * math/w_exp2.c: Likewise.
74058         * math/w_exp2f.c: Likewise.
74059         * math/w_exp2l.c: Likewise.
74060         * math/w_j0.c: Likewise.
74061         * math/w_j0f.c: Likewise.
74062         * math/w_j0l.c: Likewise.
74063         * math/w_j1.c: Likewise.
74064         * math/w_j1f.c: Likewise.
74065         * math/w_j1l.c: Likewise.
74066         * math/w_jn.c: Likewise.
74067         * math/w_jnf.c: Likewise.
74068         * math/w_log.c: Likewise.
74069         * math/w_log10.c: Likewise.
74070         * math/w_log10f.c: Likewise.
74071         * math/w_log10l.c: Likewise.
74072         * math/w_log2.c: Likewise.
74073         * math/w_log2f.c: Likewise.
74074         * math/w_log2l.c: Likewise.
74075         * math/w_logf.c: Likewise.
74076         * math/w_logl.c: Likewise.
74077         * math/w_sqrt.c: Likewise.
74078         * math/w_sqrtf.c: Likewise.
74079         * math/w_sqrtl.c: Likewise.
74080         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74081         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
74082         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74083         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74084         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74086 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
74088         [BZ #9739]
74089         * manual/string.texi (strnlen): Use correct parameter name in
74090         equivalent expression.
74092 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
74094         [BZ #11174]
74095         * manual/users.texi (seteuid): Consistently use neweuid for
74096         argument name.
74098 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
74100         [BZ #13704]
74101         * manual/nss.texi (Services in the NSS configuration): Correct
74102         list of services in example configuration file.
74104 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
74106         [BZ #11322]
74107         * manual/arith.texi: Remove statements about negative zero
74108         behaving identically to zero.
74110 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
74112         [BZ #5993]
74113         * manual/install.texi: Do not document upgrading from libc5.
74115 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
74117         [BZ #4596]
74118         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
74120 2012-02-18  David S. Miller  <davem@davemloft.net>
74122         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
74123         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
74124         %o7 across the call.
74125         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
74126         instead.
74127         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
74128         SETUP_PIC_REG_LEAF.
74129         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74130         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
74131         * sysdeps/sparc/crtn.S: Likewise.
74133 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
74135         * aout/Makefile: Remove.
74137 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
74139         [BZ #13058]
74140         * manual/examples/argp-ex1.c (main): Format definition in GNU
74141         style.
74142         * manual/examples/argp-ex2.c (main): Likewise.
74143         * manual/examples/argp-ex3.c (main): Likewise.
74144         * manual/examples/argp-ex4.c (main): Likewise.
74145         * manual/examples/longopt.c (main): Use new-style prototype
74146         definition.
74147         * manual/examples/strncat.c (main): Specify return type and use
74148         (void) for arguments.
74149         * manual/examples/subopt.c (main): Use char **argv argument.
74151 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74153         [BZ #5077]
74154         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
74155         rounding modes.
74157 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
74159         [BZ #6907]
74160         * manual/string.texi (strchr): Change when strchrnul is
74161         recommended.
74163 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
74165         [BZ #174]
74166         * manual/locale.texi (setlocale): Document LOCPATH.
74168 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74170         [BZ #10210]
74171         * manual/process.texi (execle): Move @dots{} before last argument.
74173 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
74175         [BZ #12047]
74176         * manual/charset.texi (Generic Charset Conversion): Fix typo
74177         (LC_TYPE -> LC_CTYPE).
74179 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
74181         [BZ #5805]
74182         * manual/arith.texi (scalbn): Use @var{} on parameter names.
74183         (scalbnf): Likewise.
74184         (scalbnl): Likewise.
74185         (scalbln): Likewise.
74186         (scalblnf): Likewise.
74187         (scalblnl): Likewise.
74188         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
74189         (vwarnx): Likewise.
74190         (verr): Likewise.
74191         (verrx): Likewise.
74192         * manual/filesys.texi (telldir): Use braces around return type.
74193         * manual/llio.texi (mmap): Add space after comma.
74194         (mmap64): Likewise.
74195         * manual/math.texi (jn): Use @var{} on parameter names.
74196         (jnf): Likewise.
74197         (jnl): Likewise.
74198         (yn): Likewise.
74199         (ynf): Likewise.
74200         (ynl): Likewise.
74201         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
74202         line.
74203         * manual/resource.texi (ulimit): Use @dots{} instead of literal
74204         "...".
74205         (sched_get_priority_min): Remove semicolon on @deftypefun line.
74206         (sched_get_priority_max): Likewise.
74207         * manual/signal.texi (sigvec): Add space after comma.
74208         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
74209         names.
74210         (if_indextoname): Likewise.
74211         (if_freenameindex): Likewise.
74212         (sendto): Use ',' instead of '.' in prototype.
74213         * manual/startup.texi (syscall): Use @dots{} instead of literal
74214         "...".
74215         * manual/stdio.texi (__fpending): Separate initial words of
74216         paragraph from @deftypefun line.
74217         * manual/syslog.texi (syslog): Use @dots{} instead of literal
74218         "...".
74219         (vsyslog): Use @var{} on parameter names.
74220         * manual/terminal.texi (stty): Use @var{} on parameter names.
74221         * manual/users.texi (getutmp): Use @var{} on parameter names.
74222         (getutmpx): Likewise.
74224 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74226         [BZ #6884]
74227         * manual/stdio.texi (fopen): Fix typos in description of
74228         ",ccs=STRING".
74230 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
74232         [BZ #4026]
74233         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
74234         get clock_id definition.
74236 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
74238         [BZ #4822]
74239         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
74240         (madvise): Cast every argument to void on its own.
74242 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74244         [BZ #9902]
74245         * manual/startup.texi (Exit Status): Fix typo.
74247 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74249         [BZ #10140]
74250         * manual/examples/argp-ex1.c: Include <stdlib.h>.
74251         * manual/examples/argp-ex2.c: Likewise.
74252         * manual/examples/argp-ex3.c: Likewise.
74254 2012-02-16  Richard Henderson  <rth@redhat.com>
74256         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
74257         * sysdeps/s390/s390-32/initfini.c: Remove.
74258         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
74259         * sysdeps/s390/s390-64/initfini.c: Remove.
74261 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74263         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
74264         compiler output for sysdeps/generic/initfini.c.
74265         * sysdeps/sh/elf/initfini.c: Remove file.
74267 2012-02-16  David S. Miller  <davem@davemloft.net>
74269         [BZ #11494]
74270         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
74272         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
74273         * sysdeps/sparc/crti.S: New file.
74274         * sysdeps/sparc/crtn.S: New file.
74275         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
74276         * sysdeps/sparc/sparc64/Makefile: Likewise.
74278 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
74280         [BZ #3335]
74281         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
74283 2012-02-15  Roland McGrath  <roland@hack.frob.com>
74285         [BZ #4822]
74286         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
74288         * mach/devstream.c (cookie_io_functions_t): Macro removed.
74289         (write, read, close): Likewise.
74290         Patch by Aurelien Jarno <aurelien@aurel32.net>.
74292 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
74294         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
74295         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
74296         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
74297         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
74298         <bits/signalfd.h>.
74299         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
74300         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74301         bits/signalfd.h.
74303 2012-02-14  Marek Polacek  <polacek@redhat.com>
74305         * sysdeps/x86_64/crti.S: New file.
74306         * sysdeps/x86_64/crtn.S: New file.
74307         * sysdeps/x86_64/elf/initfini.c: Remove file.
74309 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
74311         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
74312         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
74313         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
74314         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
74315         <bits/inotify.h>.
74316         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
74317         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74318         bits/inotify.h.
74320 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
74322         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
74323         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
74324         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
74325         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
74326         <bits/eventfd.h>.
74327         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
74328         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74329         bits/eventfd.h.
74331 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
74333         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
74334         __feraiseexcept instead of feraiseexcept.
74336         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
74337         nanosleep invocations.
74338         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
74339         strings, and add error checking for a nanosleep invocations.
74341 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
74343         Replace FSF snail mail address with URLs, as per GNU coding standards.
74344         Most of the snail mail addresses were wrong anyway, and omitting
74345         them makes the source code easier to maintain.  Almost all of the
74346         changes are to license notices and to locale LC_IDENTIFICATION
74347         addresses, except for this one:
74348         * manual/libc.texinfo: In "Published by", give the FSF's URL,
74349         not its snail mail address.
74351 2012-02-09  Richard Henderson  <rth@twiddle.net>
74353         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
74354         of kernel-features.h.
74356         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
74358 2012-02-08  Marek Polacek  <polacek@redhat.com>
74360         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
74361         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
74362         * sysdeps/gnu/_G_config.h: Likewise.
74363         * sysdeps/generic/_G_config.h: Likewise.
74365 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
74367         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
74368         tests.
74369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74371         * sysdeps/powerpc/powerpc32/crti.S: New file.
74372         * sysdeps/powerpc/powerpc32/crtn.S: New file.
74373         * sysdeps/powerpc/powerpc64/crti.S: New file.
74374         * sysdeps/powerpc/powerpc64/crtn.S: New file.
74376         * Makeconfig (have-initfini): Don't set.
74377         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
74378         * configure.in (nopic_initfini): Don't substitute.
74379         * config.h.in (HAVE_INITFINI): Don't #undef.
74380         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
74381         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
74383 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
74385         Support crti.S and crtn.S provided directly by architectures.
74386         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
74387         [crti.S in sysdirs] (omit-deps): Likewise.
74388         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
74389         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
74390         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
74391         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
74392         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
74393         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
74394         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
74395         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
74396         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
74397         compiler output for sysdeps/generic/initfini.c.
74398         * sysdeps/i386/elf/Makefile: Remove file.
74399         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
74401 2012-02-07  Marek Polacek  <polacek@redhat.com>
74403         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
74404         * sysdeps/gnu/_G_config.h: Likewise.
74405         * sysdeps/mach/hurd/_G_config.h: Likewise.
74407 2012-02-07  Marek Polacek  <polacek@redhat.com>
74409         * math/Makefile (tests): Add tst-CMPLX2.
74410         * math/tst-CMPLX2.c: New file.
74412 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
74414         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74416         * math/libm-test.inc (jn_test): Add missing L suffix.
74418 2012-02-06  Marek Polacek  <polacek@redhat.com>
74420         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
74421         * sysdeps/i386/fpu/e_powf.S: Likewise.
74422         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74423         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
74424         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74425         * sysdeps/i386/fpu/e_pow.S: Likewise.
74426         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
74427         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74428         * sysdeps/i386/fpu/s_expm1.S: Likewise.
74429         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
74430         * sysdeps/i386/fpu/e_log2.S: Likewise.
74431         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74432         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74433         * sysdeps/i386/fpu/e_powl.S: Likewise.
74434         * sysdeps/i386/fpu/s_log1p.S: Likewise.
74435         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74436         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
74437         * sysdeps/i386/fpu/e_logl.S: Likewise.
74438         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
74439         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
74440         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
74441         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
74442         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74443         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74444         * sysdeps/i386/fpu/e_log.S: Likewise.
74445         * sysdeps/i386/fpu/s_cexp.S: Likewise.
74446         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74447         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
74448         * sysdeps/i386/fpu/e_logf.S: Likewise.
74449         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74450         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74451         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
74452         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
74453         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
74454         * sysdeps/i386/fpu/e_log10.S: Likewise.
74455         * sysdeps/i386/fpu/s_frexp.S: Likewise.
74456         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74457         * sysdeps/i386/fpu/s_asinh.S: Likewise.
74458         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
74459         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74460         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
74461         * sysdeps/i386/asm-syntax.h: Likewise.
74462         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74463         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74464         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74465         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
74466         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
74467         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74468         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
74469         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
74470         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74471         * sysdeps/powerpc/sysdep.h: Likewise.
74472         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
74473         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
74475 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
74477         [BZ #411]
74478         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
74480 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
74482         * sysdeps/i386/sysdep.h: Include <features.h>.
74483         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
74484         version.
74486 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
74488         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
74489         Define.
74490         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
74491         LOAD_PIC_REG_STR.
74493 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74495         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
74496         (SETUP_PIC_REG): Use GET_PC_THUNK.
74497         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
74498         macro.
74500 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74502         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
74503         for non-PIC compilation.
74504         (SETUP_PIC_REG): Add .p2align directive.
74505         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
74506         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
74507         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
74508         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
74509         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
74510         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
74511         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
74512         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
74513         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
74514         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
74515         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
74516         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
74517         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
74518         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
74519         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
74520         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
74521         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
74522         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
74523         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
74524         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
74525         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
74526         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
74527         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
74528         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
74529         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
74530         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
74531         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74532         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
74533         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
74534         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
74535         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
74536         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74537         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
74538         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
74539         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
74540         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
74541         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
74542         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
74543         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
74544         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
74545         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
74547 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74549         * math/tst-CMPLX.c: Include <stdio.h>.
74551 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
74553         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
74554         float.
74555         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
74556         * sysdeps/sparc/bits/mathdef.h: Likewise.
74558 2012-01-31  Marek Polacek  <polacek@redhat.com>
74560         * libio/libio.h: Don't define _PARAMS.
74561         * locale/programs/config.h: Don't define PARAMS.
74562         * stdlib/strtol_l.c: Likewise.
74563         (__strtol_l): Remove PARAMS from the prototype.
74565 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
74567         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
74568         names.  Just use the correct names.  Remove unnecessary wrapper
74569         functions.
74570         * malloc/arena.c: Likewise.
74571         * malloc/hooks.c: Likewise.
74573         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
74574         ARENA_TEST says not to.  Simplify test for creation of a new arena.
74575         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
74577 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
74579         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
74580         into tail calls.
74581         (update_get_addr): New function.
74582         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
74583         GET_ADDR_MODULE parameter.
74585 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
74587         * crypt/cert.c: Remove __STDC__ conditionals.
74588         * crypt/crypt-entry.c: Likewise.
74589         * crypt/crypt_util.c: Likewise.
74590         * libio/filedoalloc.c: Likewise.
74591         * libio/fileops.c: Likewise.
74592         * libio/genops.c: Likewise.
74593         * libio/iofclose.c: Likewise.
74594         * libio/iofdopen.c: Likewise.
74595         * libio/iofopen.c: Likewise.
74596         * libio/iofopen64.c: Likewise.
74597         * libio/iogetdelim.c: Likewise.
74598         * libio/iopopen.c: Likewise.
74599         * libio/obprintf.c: Likewise.
74600         * libio/oldfileops.c: Likewise.
74601         * libio/oldiofclose.c: Likewise.
74602         * libio/oldiofdopen.c: Likewise.
74603         * libio/oldiofopen.c: Likewise.
74604         * libio/oldiopopen.c: Likewise.
74605         * libio/wfiledoalloc.c: Likewise.
74606         * libio/wgenops.c: Likewise.
74607         * locale/programs/xmalloc.c: Likewise.
74608         * misc/syslog.c: Likewise.
74609         * stdio-common/xbug.c: Likewise.
74610         * string/memchr.c: Likewise.
74611         * string/memcmp.c: Likewise.
74612         * string/memrchr.c: Likewise.
74613         * string/rawmemchr.c: Likewise.
74614         * sysdeps/posix/getcwd.c: Likewise.
74615         * time/strftime_l.c: Likewise.
74617 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
74619         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
74620         * config.make.in (config-cflags-sse2avx): Define.
74621         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
74622         Fix typo.
74624 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
74626         * scripts/config.guess: Update from upstream config git repository.
74627         * scripts/config.sub: Likewise.
74629 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
74631         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
74632         (EM_NUM): Update.
74633         (R_TILEPRO_*, R_TILEGX_*): New macros.
74635         * scripts/firstversions.awk: Fix bug in version range handling.
74637         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
74639         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
74641         * include/sys/epoll.h: New file.
74642         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
74643         libc_hidden_def.
74645 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
74647         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
74648         Avoid unnecessary __WORDSIZE == 64 test.
74649         (fmaxf): Use VEX format if possible.
74650         (fmax): Likewise.
74651         (fminf): Likewise.
74652         (fmin): Likewise.
74654         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
74655         * math/math_private.h: Remove libc_fegetround* and
74656         libc_fesetround*.
74657         * sysdeps/i386/configure.in: Check for -msse2avx.
74658         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
74659         also if SSE2AVX is defined.
74660         Remove libc_fegetround* and libc_fesetround*.
74661         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
74662         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
74663         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
74664         of HAS_YMM_USABLE.
74665         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74666         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74667         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74668         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74669         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74671         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
74673 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74675         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
74676         size is not set.
74677         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
74679 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
74681         [BZ #13618]
74682         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
74683         relocation.
74684         * Makeconfig (libm): Define.
74685         * elf/Makefile: Add rules to build and run tst-relsort1.
74686         * elf/tst-relsort1.c: New file.
74687         * elf/tst-relsort1mod1.c: New file.
74688         * elf/tst-relsort1mod2.c: New file.
74690 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
74692         * math/s_ldexp.c: Remove __STDC__ conditionals.
74693         * math/s_ldexpf.c: Likewise.
74694         * math/s_ldexpl.c: Likewise.
74695         * math/s_nextafter.c: Likewise.
74696         * math/s_nexttowardf.c: Likewise.
74697         * math/s_significand.c: Likewise.
74698         * math/s_significandf.c: Likewise.
74699         * math/s_significandl.c: Likewise.
74700         * math/w_jnl.c: Likewise.
74701         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
74702         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
74703         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
74704         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
74705         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
74706         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
74707         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
74708         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
74709         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
74710         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
74711         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
74712         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74713         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
74714         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
74715         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
74716         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
74717         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
74718         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
74719         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
74720         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74721         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74722         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
74723         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
74724         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
74725         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
74726         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
74727         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
74728         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
74729         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
74730         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
74731         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
74732         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
74733         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
74734         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
74735         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
74736         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
74737         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
74738         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
74739         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
74740         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
74741         * sysdeps/ieee754/k_standard.c: Likewise.
74742         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74743         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
74744         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
74745         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
74746         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
74747         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
74748         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
74749         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
74750         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
74751         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
74752         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
74753         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
74754         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
74755         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
74756         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
74757         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
74758         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
74759         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
74760         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
74761         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
74762         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
74763         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
74764         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
74765         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
74766         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
74767         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
74768         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74769         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74770         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
74771         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
74772         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
74773         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
74774         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
74775         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
74776         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
74777         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
74778         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
74779         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
74780         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
74781         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
74782         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
74783         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
74784         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
74785         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
74786         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
74787         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
74788         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
74789         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
74790         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
74791         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
74792         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
74793         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
74794         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
74795         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
74796         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
74797         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
74798         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
74799         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74800         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74801         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74802         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
74803         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
74804         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
74805         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
74806         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
74807         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
74808         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
74809         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
74810         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
74811         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
74812         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
74813         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
74814         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
74815         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
74816         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
74817         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
74818         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
74819         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
74820         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
74821         * sysdeps/ieee754/s_matherr.c: Likewise.
74822         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
74823         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
74824         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
74825         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
74827 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
74829         * crypt/md5.h: Remove __STDC__ conditionals.
74830         * libio/libioP.h: Likewise.
74831         * locale/programs/config.h: Likewise.
74832         * sysdeps/generic/sysdep.h: Likewise.
74833         * sysdeps/i386/asm-syntax.h: Likewise.
74834         * sysdeps/s390/asm-syntax.h: Likewise.
74835         * sysdeps/unix/sysdep.h: Likewise.
74836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
74837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
74839 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
74841         * libio/libio.h: Remove __STDC__ conditionals.
74842         * malloc/obstack.h: Likewise.
74843         * math/complex.h: Likewise.
74844         * math/math.h: Likewise.
74845         * sysdeps/generic/_G_config.h: Likewise.
74846         * sysdeps/gnu/_G_config.h: Likewise.
74847         * sysdeps/mach/hurd/_G_config.h: Likewise.
74848         * sysdeps/powerpc/bits/mathdef.h: Likewise.
74849         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
74850         * sysdeps/sparc/bits/mathdef.h: Likewise.
74852 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
74854         [BZ #13583]
74855         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
74856         Clean up HAS_* macros.
74857         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
74858         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
74859         possible.
74860         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
74861         HAS_AVX.
74862         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74863         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74864         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74865         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74866         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74868 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
74870         * elf/tst-unique3.cc (gets): Remove declaration.
74871         * elf/tst-unique3lib.cc (gets): Likewise.
74872         * elf/tst-unique3lib2.cc (gets): Likewise.
74873         * elf/tst-unique4.cc (gets): Likewise.
74875 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
74877         * include/stdio.h: Add C++ protection.  Add gets declarations and
74878         definitions.
74879         * debug/tst-chk1.c: Don't declare gets here.
74880         * stdio-common/tst-gets.c: Likewise.
74882 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
74884         * posix/glob: Remove directory.
74886 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
74888         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
74890 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
74892         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
74893         of the non-standard EPFNOSUPPORT.
74895 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74897         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
74898         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
74899         ANYWHERE set to 1 only on KERN_NO_SPACE error.
74901 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
74903         * wcsmbs/uchar.h: Test __STDC_VERSION__.
74905 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
74907         * nscd/aicache.c (addhstaiX): Do not cache negative results of
74908         transient errors.
74909         * nscd/grpcache.c (cache_addgr): Likewise.
74910         * nscd/hstcache.c (cache_addhst): Likewise.
74911         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74912         * nscd/pwdcache.c (cache_addpw): Likewise.
74913         * nscd/servicescache.c (cache_addserv): Likewise.
74915 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
74917         * malloc/malloc.c: Various cleanups.
74918         * malloc/hooks.c: Likewise.
74920         * stdlib/Makefile (tests): Add bug-fmtmsg1.
74921         * stdlib/bug-fmtmsg1.c: New file.
74923         * stdlib/fmtmsg.c (init): Add missing unlock.
74924         Patch by Peng Haitao <penght@cn.fujitsu.com>.
74926 2012-01-12  Marek Polacek  <polacek@redhat.com>
74928         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
74929         and _GNU_SOURCE.
74931 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
74933         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
74934         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
74935         macro to ensure uniqueness of label name.
74936         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
74937         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
74939 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
74941         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
74943         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
74944         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
74945         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
74946         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
74948 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
74950         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
74952         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
74953         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
74954         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
74956         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
74958         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
74959         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
74960         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
74961         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
74963         * math/bits/math-finite.h: Add ldexp support.
74965 2012-01-10  Marek Polacek  <polacek@redhat.com>
74967         * locale/programs/localedef.h (show_archive_content): Add noreturn
74968         attribute.
74970 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
74972         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
74974 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74976         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
74978         * io/Makefile (headers): Add bits/poll2.h.
74980 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
74982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
74983         typo #include statement.
74985 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74987         * include/sys/cdefs.h: Define __attribute_alloc_size.
74988         * catgets/gencat.c: Add alloc_size attribute and apply consistently
74989         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
74990         * elf/pldd.c: Likewise.
74991         * iconv/iconv_charmap.c: Likewise.
74992         * iconv/iconvconfig.c: Likewise.
74993         * iconv/strtab.c: Likewise.
74994         * locale/programs/locale.c: Likewise.
74995         * locale/programs/localedef.h: Likewise.
74996         * locale/programs/simple-hash.c: Likewise.
74997         * nscd/nscd.h: Likewise.
74998         * nss/makedb.c: Likewise.
74999         * sysdeps/generic/ldconfig.h: Likewise.
75000         * locale/programs/localedef.c: Remove xmalloc prototype.
75001         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
75003 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
75005         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
75006         appropriate.
75008 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
75010         * math/Makefile (tests): Add tst-CMPLX.
75011         * math/tst-CMPLX.c: New file.
75013         * math/complex.h (CMPLXL): Fix typo.
75015         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
75016         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
75017         GLIBC_2.16.
75018         * debug/tst-chk1.c: Add poll and ppoll tests.
75019         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
75020         * include/sys/poll.h: Add hidden proto for ppoll.
75021         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
75022         * sysdeps/mach/hurd/ppoll.c: Likewise.
75023         * io/ppoll.c: Likewise.
75024         * debug/poll_chk.c: New file.
75025         * debug/ppoll_chk.c: New file.
75026         * include/bits/poll2.h: New file.
75027         * io/bits/poll2.h: New file.
75029         [BZ #1350]
75030         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
75032         * configure.in: static is always set to yes.  Remove.
75033         * config.make.in: Don't set build-static.
75034         * Makeconfig: Remove use of build-static.
75035         * dlfcn/Makefile: Likewise.
75036         * elf/Makefile: Likewise.
75037         * math/Makefile: Likewise.
75038         * misc/Makefile: Likewise.
75039         * nptl/Makefile: Likewise.
75040         * sysdeps/mach/hurd/Makefile: Likewise.
75042         * configure.in: PWD_P is not used anymore.
75043         * config.make.in: Remove PWD_P entry.
75045         * configure.in: Remove last remnants of RANLIB.
75046         No need to check for signed size_t anymore.
75047         Don't set libc_commonpagesize and libc_relro_required here for Alpha
75048         and IA-64.
75049         Remove __builtin_expect test because we require at least gcc 3.4.
75050         * aclocal.m4: Likewise.
75052         * wcsmbs/mbrtoc16.c: Implement using towc function.
75053         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
75054         * wcsmbs/wcsmbsload.c: Likewise.
75055         * iconv/gconv_simple.c: Likewise.
75056         * iconv/gconv_int.h: Likewise.
75057         * iconv/gconv_builtin.h: Likewise.
75058         * iconv/iconv_prog.c: Remove CHAR16 handling.
75060         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
75062         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
75064         * configure.in: Remove --with-elf and --enable-bounded options.
75065         Dont set base_machine for ia64.  More non-ELF conditions removed.
75066         Remove testing and setting of leading underscore information.
75067         * config.make.in (build-bounded): Set to no.
75068         * config.h.in: Remove NO_UNDERSCORES entry.
75069         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
75070         them.
75071         * csu/start.c: Remove !NO_UNDERSCORE code.
75072         * locale/localeinfo.h: Likewise.
75073         * sysdeps/generic/machine-gmon.h: Likewise.
75074         * sysdeps/generic/sysdep.h: Likewise.
75075         * sysdeps/i386/sysdep.h: Likewise.
75076         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
75077         * sysdeps/mach/sysdep.h: Likewise.
75078         * sysdeps/s390/s390-32/sysdep.h: Likewise.
75079         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75080         * sysdeps/sh/sysdep.h: Likewise.
75081         * sysdeps/sparc/sparc32/alloca.S: Likewise.
75082         * sysdeps/unix/i386/sysdep.S: Likewise.
75083         * sysdeps/unix/sparc/start.c: Likewise.
75084         * sysdeps/unix/sparc/sysdep.S: Likewise.
75085         * sysdeps/unix/sparc/sysdep.h: Likewise.
75086         * sysdeps/unix/start.c: Likewise.
75087         * sysdeps/unix/x86_64/sysdep.S: Likewise.
75088         * sysdeps/x86_64/sysdep.h: Likewise.
75090 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
75092         [BZ #13553]
75093         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
75094         for non-gcc.
75095         * argp/argp-fmtstream.h: Use const instead __const.
75096         * argp/argp.h: Likewise.
75097         * assert/assert.h: Likewise.
75098         * bits/fenv.h: Likewise.
75099         * bits/sched.h: Likewise.
75100         * bits/sigset.h: Likewise.
75101         * bits/sigthread.h: Likewise.
75102         * catgets/nl_types.h: Likewise.
75103         * conform/data/pthread.h-data: Likewise.
75104         * crypt/crypt-private.h: Likewise.
75105         * crypt/crypt.h: Likewise.
75106         * crypt/crypt_util.c: Likewise.
75107         * ctype/ctype.h: Likewise.
75108         * debug/execinfo.h: Likewise.
75109         * debug/mbsnrtowcs_chk.c: Likewise.
75110         * debug/mbsrtowcs_chk.c: Likewise.
75111         * debug/wcsnrtombs_chk.c: Likewise.
75112         * debug/wcsrtombs_chk.c: Likewise.
75113         * debug/wcstombs_chk.c: Likewise.
75114         * dirent/dirent.h: Likewise.
75115         * dlfcn/dlfcn.h: Likewise.
75116         * elf/neededtest4.c: Likewise.
75117         * grp/grp.h: Likewise.
75118         * gshadow/gshadow.h: Likewise.
75119         * iconv/gconv.h: Likewise.
75120         * iconv/gconv_int.h: Likewise.
75121         * iconv/gconv_simple.c: Likewise.
75122         * iconv/iconv.h: Likewise.
75123         * iconv/loop.c: Likewise.
75124         * iconv/skeleton.c: Likewise.
75125         * include/aio.h: Likewise.
75126         * include/aliases.h: Likewise.
75127         * include/argz.h: Likewise.
75128         * include/arpa/inet.h: Likewise.
75129         * include/assert.h: Likewise.
75130         * include/dirent.h: Likewise.
75131         * include/dlfcn.h: Likewise.
75132         * include/execinfo.h: Likewise.
75133         * include/fcntl.h: Likewise.
75134         * include/fenv.h: Likewise.
75135         * include/glob.h: Likewise.
75136         * include/grp.h: Likewise.
75137         * include/libintl.h: Likewise.
75138         * include/mntent.h: Likewise.
75139         * include/netdb.h: Likewise.
75140         * include/pwd.h: Likewise.
75141         * include/rpc/netdb.h: Likewise.
75142         * include/sched.h: Likewise.
75143         * include/search.h: Likewise.
75144         * include/shadow.h: Likewise.
75145         * include/signal.h: Likewise.
75146         * include/stdio.h: Likewise.
75147         * include/stdlib.h: Likewise.
75148         * include/string.h: Likewise.
75149         * include/sys/socket.h: Likewise.
75150         * include/sys/stat.h: Likewise.
75151         * include/sys/statfs.h: Likewise.
75152         * include/sys/statvfs.h: Likewise.
75153         * include/sys/syslog.h: Likewise.
75154         * include/sys/time.h: Likewise.
75155         * include/sys/uio.h: Likewise.
75156         * include/time.h: Likewise.
75157         * include/unistd.h: Likewise.
75158         * include/utmp.h: Likewise.
75159         * include/wchar.h: Likewise.
75160         * include/wctype.h: Likewise.
75161         * inet/aliases.h: Likewise.
75162         * inet/arpa/inet.h: Likewise.
75163         * inet/netinet/ether.h: Likewise.
75164         * inet/netinet/in.h: Likewise.
75165         * intl/libintl.h: Likewise.
75166         * io/bits/fcntl2.h: Likewise.
75167         * io/fcntl.h: Likewise.
75168         * io/ftw.h: Likewise.
75169         * io/sys/poll.h: Likewise.
75170         * io/sys/stat.h: Likewise.
75171         * io/sys/statfs.h: Likewise.
75172         * io/sys/statvfs.h: Likewise.
75173         * io/utime.h: Likewise.
75174         * libio/bits/stdio.h: Likewise.
75175         * libio/bits/stdio2.h: Likewise.
75176         * libio/libio.h: Likewise.
75177         * libio/libioP.h: Likewise.
75178         * libio/stdio.h: Likewise.
75179         * locale/lc-ctype.c: Likewise.
75180         * locale/locale.h: Likewise.
75181         * login/utmp.h: Likewise.
75182         * malloc/arena.c: Likewise.
75183         * malloc/malloc.c: Likewise.
75184         * malloc/malloc.h: Likewise.
75185         * malloc/mcheck.c: Likewise.
75186         * malloc/mtrace.c: Likewise.
75187         * math/bits/mathcalls.h: Likewise.
75188         * math/fenv.h: Likewise.
75189         * math/math_private.h: Likewise.
75190         * misc/bits/error.h: Likewise.
75191         * misc/bits/syslog.h: Likewise.
75192         * misc/err.h: Likewise.
75193         * misc/error.h: Likewise.
75194         * misc/fstab.h: Likewise.
75195         * misc/mntent.h: Likewise.
75196         * misc/regexp.h: Likewise.
75197         * misc/search.h: Likewise.
75198         * misc/sgtty.h: Likewise.
75199         * misc/sys/mman.h: Likewise.
75200         * misc/sys/syslog.h: Likewise.
75201         * misc/sys/uio.h: Likewise.
75202         * misc/sys/xattr.h: Likewise.
75203         * misc/ttyent.h: Likewise.
75204         * nis/rpcsvc/ypclnt.h: Likewise.
75205         * nss/nss.h: Likewise.
75206         * posix/bits/unistd.h: Likewise.
75207         * posix/fnmatch.h: Likewise.
75208         * posix/glob.h: Likewise.
75209         * posix/sched.h: Likewise.
75210         * posix/spawn.h: Likewise.
75211         * posix/sys/wait.h: Likewise.
75212         * posix/unistd.h: Likewise.
75213         * posix/wordexp.h: Likewise.
75214         * pwd/pwd.h: Likewise.
75215         * resolv/netdb.h: Likewise.
75216         * resource/sys/resource.h: Likewise.
75217         * rt/aio.h: Likewise.
75218         * rt/bits/mqueue2.h: Likewise.
75219         * rt/mqueue.h: Likewise.
75220         * shadow/shadow.h: Likewise.
75221         * signal/signal.h: Likewise.
75222         * socket/send.c: Likewise.
75223         * socket/sendto.c: Likewise.
75224         * socket/sys/socket.h: Likewise.
75225         * stdio-common/printf.h: Likewise.
75226         * stdlib/bits/stdlib.h: Likewise.
75227         * stdlib/fmtmsg.h: Likewise.
75228         * stdlib/monetary.h: Likewise.
75229         * stdlib/stdlib.h: Likewise.
75230         * stdlib/ucontext.h: Likewise.
75231         * streams/stropts.h: Likewise.
75232         * string/argz.h: Likewise.
75233         * string/bits/string2.h: Likewise.
75234         * string/string.h: Likewise.
75235         * string/strings.h: Likewise.
75236         * sunrpc/rpc/auth.h: Likewise.
75237         * sunrpc/rpc/auth_des.h: Likewise.
75238         * sunrpc/rpc/clnt.h: Likewise.
75239         * sunrpc/rpc/netdb.h: Likewise.
75240         * sunrpc/rpc/pmap_clnt.h: Likewise.
75241         * sunrpc/rpc/xdr.h: Likewise.
75242         * sysdeps/generic/inttypes.h: Likewise.
75243         * sysdeps/generic/net/if.h: Likewise.
75244         * sysdeps/generic/sys/swap.h: Likewise.
75245         * sysdeps/gnu/net/if.h: Likewise.
75246         * sysdeps/gnu/utmpx.h: Likewise.
75247         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
75248         * sysdeps/i386/i486/bits/string.h: Likewise.
75249         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
75250         * sysdeps/s390/bits/string.h: Likewise.
75251         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
75252         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
75253         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
75254         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
75255         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
75256         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
75257         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
75258         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
75259         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
75260         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
75261         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
75262         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
75263         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
75264         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
75265         * sysdeps/unix/sysv/linux/readv.c: Likewise.
75266         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
75267         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
75268         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75269         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
75270         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
75271         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
75272         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
75273         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
75274         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
75275         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
75276         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
75277         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
75278         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75279         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
75280         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
75281         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
75282         * sysvipc/sys/ipc.h: Likewise.
75283         * sysvipc/sys/msg.h: Likewise.
75284         * sysvipc/sys/sem.h: Likewise.
75285         * sysvipc/sys/shm.h: Likewise.
75286         * termios/termios.h: Likewise.
75287         * time/sys/time.h: Likewise.
75288         * time/time.h: Likewise.
75289         * wcsmbs/bits/wchar2.h: Likewise.
75290         * wcsmbs/uchar.h: Likewise.
75291         * wcsmbs/wchar.h: Likewise.
75292         * wctype/wctype.h: Likewise.
75294         [BZ #13551]
75295         * Makeconfig: Remove all but ELF support including AIX support.
75296         * Makerules: Likewise.
75297         * config.h.in: Likewise.
75298         * config.make.in: Likewise.
75299         * configure: Likewise.
75300         * configure.in: Likewise.
75301         * csu/Makefile: Likewise.
75302         * csu/version.c: Likewise.
75303         * debug/Makefile: Likewise.
75304         * dlfcn/Makefile: Likewise.
75305         * elf/Makefile: Likewise.
75306         * extra-lib.mk: Likewise.
75307         * iconv/Makefile: Likewise.
75308         * include/libc-symbols.h: Likewise.
75309         * include/shlib-compat.h: Likewise.
75310         * resolv/Makefile: Likewise.
75311         * resolv/res_libc.c: Likewise.
75312         * rt/Makefile: Likewise.
75313         * sysdeps/i386/asm-syntax.h: Likewise.
75314         * sysdeps/i386/sysdep.h: Likewise.
75315         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
75316         * sysdeps/mach/sysdep.h: Likewise.
75317         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
75318         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
75319         * sysdeps/s390/asm-syntax.h: Likewise.
75320         * sysdeps/s390/s390-32/sysdep.h: Likewise.
75321         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75322         * sysdeps/sh/sysdep.h: Likewise.
75323         * sysdeps/unix/sparc/sysdep.h: Likewise.
75324         * sysdeps/wordsize-32/divdi3.c: Likewise.
75325         * sysdeps/x86_64/sysdep.h: Likewise.
75327         * argp/Versions: Remove _argp_unlock_xxx.
75329         [BZ #13559]
75330         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
75331         * abilist/libBrokenLocale.abilist: Likewise.
75332         * abilist/libanl.abilist: Likewise.
75333         * abilist/libc.abilist: Likewise.
75334         * abilist/libcrypt.abilist: Likewise.
75335         * abilist/libdl.abilist: Likewise.
75336         * abilist/libm.abilist: Likewise.
75337         * abilist/libnsl.abilist: Likewise.
75338         * abilist/libpthread.abilist: Likewise.
75339         * abilist/libresolv.abilist: Likewise.
75340         * abilist/librt.abilist: Likewise.
75341         * abilist/libthread_db.abilist: Likewise.
75342         * abilist/libutil.abilist: Likewise.
75343         * abilist/libnss_db.abilist: New file.
75345         * scripts/abilist.awk: Add support for indirect functions.
75347         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
75349         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
75351         * shlib-versions: Remove entries for ports architectures.
75353         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
75354         files in ports.
75355         * elf/stackguard-macros.h: Remove support for IA-64.
75356         * elf/tst-auditmod1.c: Likewise.
75357         * sysdeps/generic/ldsodefs.h: Likewise.
75359         * sysdeps/unix/sysv/linux/configure.in: Ports should define
75360         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
75361         configure files.
75363         [BZ #13552]
75364         * configure.in: Remove --enable-omitfp support.
75365         * FAQ.in: Adjust.
75366         * config.make.in: Likewise.
75367         * Makeconfig: Likewise.
75368         * manual/install.texi: Likewise.
75370         In case anyone cares, the IA-64 architecture could move to ports.
75371         * sysdeps/ia64/*: Removed.
75372         * sysdeps/unix/sysv/linux/ia64/*: Removed.
75373         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
75375         [BZ #13555]
75376         * configure.in: Remove entries for unsupported architectures.
75378         [BZ #13533]
75379         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
75380         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
75381         routines.
75382         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
75383         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
75384         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
75385         fall back to using wcrtomb.
75386         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
75387         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
75388         renaming.
75389         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
75390         * wcsmbs/tst-c16c32-1.c: New file.
75392         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
75393         local variable.
75395         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
75397         * elf/tst-unique3.cc: Add explicit declaration of gets.
75398         * elf/tst-unique3lib.cc: Likewise.
75399         * elf/tst-unique3lib2.cc: Likewise.
75400         * elf/tst-unique4.cc: Likewise.
75402         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
75404 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
75406         [BZ #13566]
75407         * assert/assert.h (static_assert): Don't define for C++.
75408         * libio/stdio.h (gets): Do declare for C++ <= C++11.
75409         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
75411 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
75413         * iconv/loop.c (single loop): Fix assertion in storing of
75414         remaining bytes.
75416         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
75418 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
75420         * posix/getconf.c: Update copyright year.
75421         * nss/getent.c: Likewise.
75422         * nss/makedb.c: Likewise.
75423         * iconv/iconvconfig.c: Likewise.
75424         * iconv/iconv_prog.c: Likewise.
75425         * elf/ldconfig.c: Likewise.
75426         * elf/pldd.c: Likewise.
75427         * elf/sotruss.ksh: Likewise.
75428         * catgets/gencat.c: Likewise.
75429         * csu/version.c: Likewise.
75430         * elf/ldd.bash.in: Likewise.
75431         * elf/sprof.c (print_version): Likewise.
75432         * locale/programs/locale.c: Likewise.
75433         * locale/programs/localedef.c: Likewise.
75434         * login/programs/pt_chown.c: Likewise.
75435         * nscd/nscd.c (print_version): Likewise.
75436         * debug/xtrace.sh: Likewise.
75437         * malloc/memusage.sh: Likewise.
75438         * malloc/mtrace.pl: Likewise.
75439         * debug/catchsegv.sh: Likewise.
75441 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
75443         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
75444         pure attribute.
75446 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
75448         [BZ #13533]
75449         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
75450         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
75451         transformations.
75452         * iconv/gconv_int.h: Likewise.
75453         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
75454         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
75455         from libc for GLIBC_2.16.
75456         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
75457         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
75458         * wcsmbs/uchar.h: Really define mbstate_t.
75459         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
75460         * wcsmbs/c16rtomb.c: New file.
75461         * wcsmbs/mbrtoc16.c: New file.
75462         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
75463         for C/POSIX locale.
75464         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
75465         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
75467         * wcsmbs/wchar.h: Add missing __restrict.
75469 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
75471         [BZ #13532]
75472         * time/Makefile (routines): Add timespec_get.
75473         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
75474         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
75475         timespec for ISO C11.
75476         * time/timespec_get.c: New file.
75477         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
75478         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
75480         [BZ #13531]
75481         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
75482         * stdlib/stdlib.h: Declare aligned_alloc.
75483         * Versions.def: Add GLIBC_2.16 for libc.
75484         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
75486         [BZ 13527]
75487         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
75488         ISO C11.
75490         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
75491         code.
75493         [BZ #13528]
75494         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
75496         [BZ #13529]
75497         * assert/assert.h (static_assert): Define.
75499         * version.h: Update for 2.16 development version.
75501         [BZ #13526]
75502         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
75503         _ISOC11_SOURCE.
75505         * version.h (RELEASE): Bump for 2.15 release.
75506         * include/features.h (__GLIBC_MINOR__): Bump to 15.
75508         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
75509         Patch by Marek Polacek <mpolacek@redhat.com>.
75511         * bits/byteswap.h: Protect long long constants with __extension__.
75512         * sysdeps/i386/bits/byteswap.h: Likewise.
75513         * sysdeps/ia64/bits/byteswap.h: Likewise.
75514         * sysdeps/s390/bits/byteswap.h: Likewise.
75515         * sysdeps/x86_64/bits/byteswap.h: Likewise.
75517 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75519         [BZ #13540]
75520         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
75521         destination buffer.
75522         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
75524 2011-12-23  Marek Polacek  <polacek@redhat.com>
75526         * elf/dl-addr.c (determine_info): Add inline keyword.
75527         * elf/tst-auditmod4b.c (check_avx): Likewise.
75528         * elf/tst-auditmod6b.c (check_avx): Likewise.
75529         * elf/tst-auditmod6c.c (check_avx): Likewise.
75530         * elf/tst-auditmod7b.c (check_avx): Likewise.
75532 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
75534         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
75535         !__SSE_MATH__.
75537 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75539         [BZ #13540]
75540         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
75541         processing for last bytes.
75543 2011-08-06  Bruno Haible  <bruno@clisp.org>
75545         [BZ #13061]
75546         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
75547         U+0385, not to U+1FEE.
75549         [BZ #13062]
75550         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
75551         entry for U+00A5 U+0301.
75553 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
75555         [BZ #13166]
75556         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
75557         buffer for the output is too small.
75559         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
75560         optimization.
75562         [BZ #13185]
75563         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
75564         SSE flags if possible.
75566 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75568         [BZ #13540]
75569         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
75570         processing for last bytes.
75572 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
75574         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
75575         (syscall-list-default-options, syscall-list-default-condition)
75576         (syscall-list-includes): Define.
75577         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
75578         list of ABIs and options and #if conditions for each ABI.  Do not
75579         handle common syscalls between ABIs specially.
75580         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
75581         Remove.
75582         (syscall-list-variants, syscall-list-32bit-options)
75583         (syscall-list-32bit-condition, syscall-list-64bit-options)
75584         (syscall-list-64bit-condition): Define.
75585         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
75586         (syscall-list-variants, syscall-list-32bit-options)
75587         (syscall-list-32bit-condition, syscall-list-64bit-options)
75588         (syscall-list-64bit-condition): Define.
75589         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
75590         Remove.
75591         (syscall-list-variants, syscall-list-32bit-options)
75592         (syscall-list-32bit-condition, syscall-list-64bit-options)
75593         (syscall-list-64bit-condition): Define.
75594         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
75595         Remove.
75596         (syscall-list-variants, syscall-list-32bit-options)
75597         (syscall-list-32bit-condition, syscall-list-64bit-options)
75598         (syscall-list-64bit-condition): Define.
75600 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
75602         * locale/iso-639.def: Add brx entry.
75604         [BZ #13328]
75605         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
75606         Proposed by Mariusz_Cukr <marcukr@op.pl>.
75608         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
75609         __feraiseexcept_renamed.
75611 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
75613         [BZ #13538]
75614         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
75615         EPOLLET with unsigned values.
75616         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75617         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
75619         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
75620         to large cancellation.
75621         * math/s_cacoshf.c: Likewise.
75622         * math/s_cacoshl.c: Likewise.
75624 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
75626         [BZ #13305]
75627         [BZ #12786]
75628         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
75629         * math/s_cacoshf.c: Likewise.
75630         * math/s_cacoshl.c: Likewise.
75632 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
75634         [BZ #13439]
75635         * iconv/gconv.h: Define __GCONV_SWAP.
75636         * iconvdata/unicode.c: The swap bit must be stored in __flags.
75637         * iconvdata/utf-16.c: Likewise.
75638         * iconvdata/utf-32.c: Likewise.
75640 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
75642         [BZ #13524]
75643         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
75644         numerator after shifting it by one limb.
75646 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
75648         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
75649         under [__USE_EXTERN_INLINES].
75651 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
75653         [BZ #13446]
75654         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
75656 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75658         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
75659         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
75660         optimized code.
75661         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
75662         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
75663         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
75664         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
75665         for strncasecmp/strncasecmp_l compilation.
75666         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
75667         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
75669 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
75671         [BZ #13484]
75672         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
75673         of __asm__.
75675 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
75677         [BZ #13506]
75678         * time/tzfile.c (__tzfile_read): Check values from file header.
75680 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
75682         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
75683         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
75684         * powerpc/powerpc32/dl-start.S: Likewise.
75685         * powerpc/powerpc32/elf/start.S: Likewise.
75686         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
75687         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
75688         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
75689         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
75690         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
75691         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
75692         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
75693         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
75694         * powerpc/powerpc32/fpu/s_round.S: Likewise.
75695         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
75696         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
75697         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
75698         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
75699         * powerpc/powerpc32/memset.S: Likewise.
75700         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
75701         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
75702         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
75703         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
75704         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
75705         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
75706         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
75707         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
75708         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
75709         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
75710         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
75711         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
75712         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
75714 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75716         * math/libm-test.inc: Added more nearbyint tests.
75717         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
75718         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
75719         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
75720         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
75722 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
75724         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
75725         FD_CLOEXEC.
75727 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75729         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
75730         Add wcscpy-ssse3 wcscpy-c.
75731         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
75732         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
75733         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
75734         * sysdeps/x86_64/wcschr.S: New file.
75735         * sysdeps/x86_64/wcsrchr.S: New file.
75736         * string/test-strcmp.c: Remove checking of wcscmp function for
75737         wrong alignments.
75738         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
75739         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
75740         wcsrchr-sse2 wcsrchr-c.
75741         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
75742         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
75743         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
75744         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
75745         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
75746         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
75747         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
75748         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
75749         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
75750         * wcsmbc/wcschr.c (WCSCHR): New macro.
75752 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75754         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
75755         * wcsmbs/test-wcsrchr.c: New file.
75756         * string/test-strrchr.c: Add wcsrchr support.
75757         (WIDE): New macro.
75758         * wcsmbs/test-wcscpy.c: New file.
75759         * string/test-strcpy.c: Add wcscpy support.
75760         (WIDE): New macro.
75762 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
75764         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
75765         the inner loop.
75767 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
75769         [BZ #13472]
75770         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
75772 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
75774         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
75775         Minor optimizations.
75777         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
75778         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
75779         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
75781 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
75783         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
75784         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
75785         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
75786         for gcc to avoid warnings.
75787         * inet/Makefile (tests): Add tst-checks.
75788         * inet/tst-checks.c: New file.
75790         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
75791         warning.
75793         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
75794         __wmemcmp_sse2.
75796         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
75797         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
75799         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
75801 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
75803         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
75804         problem.
75806         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
75808 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
75810         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
75811         conditional on GCC version.
75812         (__arch_compare_and_exchange_val_8_acq)
75813         (__arch_compare_and_exchange_val_16_acq)
75814         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
75815         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
75816         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
75818 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
75820         * sysdeps/sh/backtrace.c: New file.
75822 2011-12-02  Andreas Schwab  <schwab@redhat.com>
75824         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
75825         parenthesis.
75827 2011-12-01  Andreas Schwab  <schwab@redhat.com>
75829         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
75830         falling back to utime.
75832 2011-11-30  Andreas Schwab  <schwab@redhat.com>
75834         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
75835         expectations for float.
75837 2011-11-29  Andreas Schwab  <schwab@redhat.com>
75839         * locale/weight.h (findidx): Add parameter len.
75840         * locale/weightwc.h (findidx): Likewise.
75841         * posix/fnmatch_loop.c (FCT): Adjust caller.
75842         * posix/regcomp.c (build_equiv_class): Likewise.
75843         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
75844         * posix/regexec.c (check_node_accept_bytes): Likewise.
75845         * string/strcoll_l.c (STRCOLL): Likewise.
75846         * string/strxfrm_l.c (STRXFRM): Likewise.
75848 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
75850         * Makefile.in: Remove CVSOPT handling.
75851         * configure.in: Remove use of AC_REVISION.
75852         * iconvdata/Makefile (distribute): No need to filter out CVS.
75853         * scripts/list-sources.sh: Remove CVS, subversion and monotone
75854         handling.
75856 2011-11-16  Andreas Schwab  <schwab@redhat.com>
75858         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
75859         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
75860         [USE_AS_STRNCASECMP_L]: Likewise.
75861         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
75862         NO_TLS_DIRECT_SEG_REFS.
75863         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
75864         Fix argument offsets for non-PIC.
75865         [USE_AS_STRNCASECMP_L]: Likewise.
75866         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
75867         NO_TLS_DIRECT_SEG_REFS.
75869 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
75871         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
75872         O_CLOEXEC.
75873         * locale/loadlocale.c (_nl_load_locale): Likewise.
75875 2011-11-15  Andreas Schwab  <schwab@redhat.com>
75877         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
75878         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
75879         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
75880         (SYSCALL_GETTIME): Set errno on error.
75882         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
75883         count references to noai6ai_cached.
75885 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
75887         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
75889         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
75890         FD_CLOEXEC for /proc/self/maps.
75892         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
75893         FD_CLOEXEC for /proc/meminfo.
75895         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
75896         gai.conf.
75898         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
75899         FD_CLOEXEC for given file.
75901         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
75903         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
75904         FD_CLOEXEC for /etc/hosts.
75905         (_gethtent): Likewise.
75907         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
75909         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
75910         cancellation and set FD_CLOEXEC for /etc/netgroup.
75912         * nss/nss_files/files-key.c (search): Don't allow cancellation when
75913         reading /etc/publickey.
75915         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
75916         allow cancellation when reading /etc/group.
75918         * nss/nss_files/files-alias.c (internal_setent): Don't allow
75919         cancellation.
75920         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
75922         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
75923         when using data file.
75925         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
75927         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
75928         (write_nis_obj): Use "c" and "e" in fopen.
75930         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
75932         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
75934         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
75936         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
75938         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
75939         locale.alias.
75941         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
75943         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
75945         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
75947         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
75948         file parsing and set FD_CLOEXEC.
75950 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
75952         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
75954 2011-11-14  Andreas Schwab  <schwab@redhat.com>
75956         * malloc/arena.c (arena_get2): Don't call reused_arena when
75957         _int_new_arena failed.
75959 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
75961         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
75962         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
75963         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
75964         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75965         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75966         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
75967         to compile strcasecmp and strncasecmp.
75968         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
75969         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
75971         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
75973 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
75975         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
75976         locale-defines.sym to gen-as-const-headers.
75977         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
75978         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
75979         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
75980         to compile strcasecmp and strncasecmp.
75981         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
75982         strcasecmp_l and strncasecmp_l.
75983         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
75984         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
75985         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
75986         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
75987         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
75988         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
75989         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
75990         * sysdeps/i386/i686/multiarch/strncase.S: New file.
75991         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
75992         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
75993         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
75995 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
75997         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
75998         result of SYSDEP_GETTIME_CPU to retval.
75999         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
76000         parameter list to macro.  Remove trailing semicolon.  Adjust users.
76002         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
76003         variable.
76005         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
76006         mantissa words.
76007         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
76009         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
76010         from unused variable.
76012         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
76013         DWARF definitions.
76014         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
76015         for assembling.
76017         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
76018         over namespaces.
76020         * sunrpc/rpc_prot.c (rejected): Fix case value.
76022         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
76023         unsigned long long int to avoid warnings in shift.
76025         * posix/regex_internal.c (re_string_reconstruct): Actually use result
76026         of use of trans.
76027         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
76028         variable tmp.
76030         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
76031         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
76032         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
76034         * nis/nis_table.c (nis_list): Use variable of correct type for
76035         result of __follow_path call.
76037 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76039         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
76040         of math functions ceil, trunc, floor, round, and sqrt, when
76041         avaliable on the platform.
76042         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
76043         name clash.
76044         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
76045         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
76046         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
76048 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
76050         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
76051         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
76053 2011-11-11  Roland McGrath  <roland@hack.frob.com>
76055         * include/unistd.h: Fix __readlink return type.
76056         Reported by Chris Metcalf <cmetcalf@tilera.com>.
76058 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
76060         * stdlib/ucontext.h: Undo last change for makecontext.
76062 2011-11-11  Andreas Schwab  <schwab@redhat.com>
76064         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
76066         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
76067         * setjmp/setjmp.h: Mark functions as non-leaf.
76068         * setjmp/bits/setjmp2.h: Likewise.
76069         * stdlib/ucontext.h: Likewise.
76071 2011-11-10  Andreas Schwab  <schwab@redhat.com>
76073         * malloc/arena.c (_int_new_arena): Don't increment narenas.
76074         (reused_arena): Don't check arena limit.
76075         (arena_get2): Atomically check arena limit.
76077 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
76079         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
76080         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
76082         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
76083         instructions.
76085 2011-11-07  Andreas Schwab  <schwab@redhat.com>
76087         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
76088         handler when locking.
76090         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
76091         Fix size of allocated buffer.
76093 2011-11-04  Andreas Schwab  <schwab@redhat.com>
76095         [BZ #10103]
76096         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
76097         declarations for long double functions.
76098         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
76100         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
76102 2011-11-03  Andreas Schwab  <schwab@redhat.com>
76104         * nscd/nscd.c (main): Don't start AVC thread until credentials are
76105         installed.
76107         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
76108         is disabled.
76110 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76112         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
76114 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
76116         * include/alloca.h (stackinfo_alloca_round): Define.
76117         (extend_alloca): Use it.
76118         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
76119         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
76120         here.
76122         * scripts/check-local-headers.sh: Ignore libaudit.h.
76124         * nscd/Makefile (extra-objs): Make recursively expanded.
76126 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
76128         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
76129         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
76131         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
76132         * posix/tst-rfc3484-2.c: Likewise.
76133         * posix/tst-rfc3484-3.c: Likewise.
76135         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
76136         process_vm_writev.
76137         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
76138         process_vm_writev.
76139         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
76140         process_vm_writev from libc using GLIBC_2.15 version.
76142         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
76144 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
76146         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
76147         stack usage.
76149 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
76151         [BZ #13367]
76152         * nss/getent.c (initgroups_keys): Show error message in case no group
76153         names are given.
76155         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
76156         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
76157         __bump_nl_timestamp.
76158         * nscd/connections (nscd_init): When host database is served open
76159         netlink socket and request notification about configuration changes.
76160         (main_loop_poll): Track netlink file descriptor and bump timestamp
76161         in case data becomes available.
76162         (main_loop_epoll): Likewise.
76163         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
76164         (database_pers_head): Add extra_data fileds.
76165         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
76166         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
76167         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
76168         Adjust caller.
76169         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
76170         in6ai data, call __free_in6ai.
76171         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
76172         Add -DHAVE_NETLINK.
76173         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
76174         interface information.  Reuse previous data if netlink timestamp
76175         is not changed.
76176         (__bump_nl_timestamp): New function.
76177         (__free_in6ai): New function.
76179 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
76181         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
76182         close_not_cancel_no_status here.
76183         (__check_pf): Reorganize code a bit to not call close twice if OOM.
76185 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
76187         [BZ #13276]
76188         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
76189         return value.
76191         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
76192         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
76193         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
76195 2011-07-03  Andreas Jaeger  <aj@suse.de>
76197         [BZ #10709]
76198         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
76199         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
76200         * math/libm-test.inc (sin_test): Add test case.
76202 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
76204         [BZ #13337]
76205         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
76206         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
76208         * elf/chroot_canon.c (chroot_canon): Cleanups.
76210         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
76212         [BZ #13335]
76213         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
76214         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
76216         * string/test-strchr.c: Make usable for strchrnul testing.
76217         * string/test-strchrnul.c: New file.
76218         * string/Makefile (strop-tests): Add strchrnul.
76220         * po/it.po: Update from translation team.
76221         * po/es.po: Likewise.
76223 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
76225         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
76226         the three constants needed as parameters.  Drop the others.
76227         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
76228         __m128i_strloadu_tolower.
76229         Create and initialize variable zero and use it in all the places
76230         where _mm_setzero_si128 was used.
76232         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
76233         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
76234         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
76235         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
76236         anymore.
76237         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
76238         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
76239         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
76240         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
76241         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
76242         __mpranred, __mptan.
76243         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
76244         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
76245         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
76246         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
76247         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
76248         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
76249         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
76250         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
76251         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
76253 2011-10-28  Andreas Schwab  <schwab@redhat.com>
76255         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
76256         redefine if SHARED.
76257         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
76259         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
76260         wide char related routines to wcsmbs subdir.
76262 2011-10-27  Andreas Schwab  <schwab@redhat.com>
76264         [BZ #13344]
76265         * misc/sys/cdefs.h (__THROWNL): Define.
76266         * posix/unistd.h: Use __THREADNL instead of __THREAD
76267         for memory synchronization functions.
76269 2011-10-26  Roland McGrath  <roland@hack.frob.com>
76271         [BZ #13349]
76272         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
76273         doesn't exist.
76274         * manual/stdio.texi (Obstack Streams): Node removed.
76276 2011-10-26  Andreas Schwab  <schwab@redhat.com>
76278         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
76279         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76280         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76282         * math/math_private.h (math_force_eval): Allow non-addressable
76283         arguments.
76284         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
76286 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
76288         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
76289         file is not needed.
76291         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
76292         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
76293         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
76294         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
76295         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
76296         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
76297         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
76298         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
76299         Add AVX variants.
76300         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
76301         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
76302         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
76303         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
76304         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
76305         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
76306         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
76307         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
76308         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
76309         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
76310         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
76311         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
76312         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
76313         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
76314         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
76315         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
76316         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
76317         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
76318         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
76320         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
76321         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
76323         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
76324         place.  Use VEX encoding when compiling for AVX.
76326 2011-10-25  Andreas Schwab  <schwab@redhat.com>
76328         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
76329         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
76331         * string/test-strchr.c (do_test): Don't generate NUL bytes.
76333 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
76335         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
76336         useless if() expression.
76337         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76338         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
76339         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
76340         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76341         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
76342         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76343         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76344         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76345         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
76346         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76347         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76348         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76349         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
76350         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76351         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
76352         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76353         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76354         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76355         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
76357         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
76359 2011-10-25  Andreas Schwab  <schwab@redhat.com>
76361         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
76362         condition.
76363         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76365 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
76367         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
76368         .text section.  Avoid duplicate constants.
76369         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
76370         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76371         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76372         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76373         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76374         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76375         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76376         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76377         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
76378         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
76379         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
76380         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
76381         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
76382         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
76383         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
76384         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
76385         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
76386         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
76387         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
76388         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76389         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
76390         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
76391         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
76392         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
76393         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
76394         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
76395         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
76396         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
76397         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
76398         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
76399         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
76400         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
76401         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
76402         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
76403         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
76404         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
76405         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
76406         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
76407         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
76408         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
76409         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
76410         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
76411         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
76412         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
76413         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
76415 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
76417         * sysdeps/x86_64/dla.h: Move to ...
76418         * sysdeps/x86_64/fpu/dla.h: ...here.
76419         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
76420         situations.  Use __builtin_fma only for gcc 4.6 and up.
76422         * config.make.in: Add have-mfma4 entry.
76423         * configure.in: Substitute libc_cv_cc_fma4.
76424         * math/Makefile (dbl-only-routines): Add sincostab.
76425         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
76426         Use __sincostab not sincos.
76427         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
76428         name is a macro.
76429         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76430         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76431         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76432         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
76433         using __copysign.
76434         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
76435         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
76436         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
76437         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
76438         and __inv.
76439         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
76440         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
76441         __copysign.
76442         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
76443         define aliases when function name is a macro.
76444         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
76445         sysdeps/ieee754/dbl-64/sincos.tbl.
76446         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
76447         fma4-enabled routines.
76448         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
76449         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
76450         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
76451         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
76452         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
76453         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
76454         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
76455         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
76456         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
76457         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
76458         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
76459         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
76460         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
76461         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
76462         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
76463         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
76464         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
76465         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
76466         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
76467         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
76468         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
76469         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
76470         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
76471         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
76472         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
76473         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
76474         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
76475         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
76476         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
76477         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
76479         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
76480         rename.
76481         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76482         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76483         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76484         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76485         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76486         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76487         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76488         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76490 2011-10-24  Andreas Schwab  <schwab@redhat.com>
76492         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
76494 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76496         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
76498         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
76499         prediction.
76500         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
76502         * string/strnlen.c: Don't define STRNLEN, reverse logic.
76503         Remove unused variable magic_bits.
76504         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
76506         * string/strnlen.c: Define and use STRNLEN macro.
76507         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
76508         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
76509         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
76510         * wcsmbs/wcslen.c: Define and use WCSLEN.
76511         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
76512         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
76513         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
76514         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
76515         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
76516         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
76517         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
76519 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76521         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76522         strnlen-sse2-no-bsf.
76523         Rename strlen-no-bsf to strlen-sse2-no-bsf.
76524         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
76525         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
76526         Add strnlen support.
76527         (USE_AS_STRNLEN): New macro.
76528         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
76529         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
76530         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
76531         * sysdeps/x86_64/wcslen.S: New file.
76533 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
76535         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
76536         XMM-moves are used for copying on small sizes.
76538 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76540         * wcsmbs/Makefile (strop-tests): Add wcschr.
76541         * wcsmbs/test-wcschr.c: New file.
76542         * string/test-strchr.c: Update.
76543         Add wcschr support.
76544         (WIDE): New macro.
76546 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76548         * wcsmbs/Makefile (strop-tests): Add wcslen.
76549         * wcsmbs/test-wcslen.c: New file.
76550         * string/test-strlen.c: Update.
76551         Add wcslen support.
76552         (WIDE): New macro.
76554 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76556         * po/it.po: Update from translation team.
76558 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76560         * sysdeps/x86_64/wcscmp.S: Update.
76561         Fix wrong comparison semantics.
76562         wcscmp shall use signed comparison not unsigned.
76563         Don't use substraction to avoid overflow bug.
76564         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
76565         * wcsmbc/wcscmp.c: Likewise.
76566         * string/test-strcmp.c: Likewise.
76567         Add new tests to check cases with negative values.
76569 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76571         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
76572         * sysdeps/x86_64/dla.h: ...here.  New file.
76573         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
76574         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76575         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76576         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76577         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76578         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76579         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76580         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76581         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76583 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
76585         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
76586         __ynl_finite aliases.
76588 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
76590         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76592         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
76593         define DLA_FMA.
76594         [DLA_FMA] (EMULV): Use DLA_FMA.
76595         [DLA_FMA] (MUL12): Use EMULV.
76596         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
76597         that are not needed.
76598         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76599         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76600         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76601         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76602         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76603         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76604         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76606 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
76608         * math/s_nan.c: Undef __nan.
76609         * math/s_nanf.c: Undef __nanf.
76610         * math/s_nanl.c: Undef __nanl.
76611         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
76612         "math_private.h".
76614 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
76616         * math/s_catan.c: Add branch predictions.
76617         * math/s_catanf.c: Likewise.
76618         * math/s_catanh.c: Likewise.
76619         * math/s_catanhf.c: Likewise.
76620         * math/s_catanhl.c: Likewise.
76621         * math/s_catanl.c: Likewise.
76622         * math/s_cexp.c: Likewise.
76623         * math/s_cexpf.c: Likewise.
76624         * math/s_cexpl.c: Likewise.
76625         * math/s_clog.c: Likewise.
76626         * math/s_clog10.c: Likewise.
76627         * math/s_clog10f.c: Likewise.
76628         * math/s_clog10l.c: Likewise.
76629         * math/s_clogf.c: Likewise.
76630         * math/s_clogl.c: Likewise.
76631         * math/s_csqrt.c: Likewise.
76632         * math/s_csqrtf.c: Likewise.
76633         * math/s_csqrtl.c: Likewise.
76634         * math/s_ctanf.c: Likewise.
76635         * math/s_ctanh.c: Likewise.
76636         * math/s_ctanhf.c: Likewise.
76637         * math/s_ctanhl.c: Likewise.
76638         * math/s_ctanl.c: Likewise.
76640         * math/math_private.h: Define __nan, __nanf, __nanl.
76641         * math/s_cacosh.c: Include <math_private.h>.
76642         * math/s_cacoshl.c: Likewise.
76643         * math/s_casinh.c: Likewise.
76644         * math/s_casinhf.c: Likewise.
76645         * math/s_casinhl.c: Likewise.
76646         * math/s_ccos.c: Rely entire on ccosh.
76647         * math/s_ccosf.c: Rely entire on ccoshf.
76648         * math/s_ccosl.c: Rely entirely on ccoshl.
76649         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
76650         Remove tests for FE_INVALID.
76651         * math/s_ccoshf.c: Likewise.
76652         * math/s_ccoshl.c: Likewise.
76653         * math/s_csin.c: Likewise.
76654         * math/s_csinf.c: Likewise.
76655         * math/s_csinh.c Likewise.
76656         * math/s_csinhf.c: Likewise.
76657         * math/s_csinhl.c: Likewise.
76658         * math/s_csinl.c: Likewise.
76659         * math/s_ctan.c: Likewise.
76660         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
76661         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
76662         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
76664 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
76666         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
76667         compilation problems.
76669         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
76670         __builtin_expect.
76672 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
76674         * sysdeps/i386/configure.in: Test for -mfma4 option.
76675         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
76676         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
76677         COMMON_CPUID_INDEX_80000001.
76678         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
76679         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
76680         use it if FMA3 is not supported.
76681         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
76683         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
76684         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76686 2011-10-20  Andreas Schwab  <schwab@redhat.com>
76688         [BZ #12892]
76689         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
76690         it would create a cycle with a link time dependency.
76692 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
76694         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
76695         instruction.
76696         * string/Makefile (strop-tests): Add rawmemchr.
76697         * string/test-rawmemchr.c: New file.
76699         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
76700         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
76701         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
76702         when compiling str{,n}casecmp and when AVX is available.  Hook up
76703         new optimized code in initializers.
76705 2011-10-19  Andreas Schwab  <schwab@redhat.com>
76707         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
76708         __feraiseexcept instead of feraiseexcept.
76710 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
76712         * math/math_private.h: Define defaults for libc_fetestexcept and
76713         libc_feupdateenv.
76714         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
76715         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
76716         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
76717         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
76718         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
76719         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
76720         libc_fetestexcept and libc_feupdateenv.
76722         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
76723         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
76724         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
76725         * sysdeps/x86_64/fpu/math_private.h: Define special version of
76726         libc_feholdexcept_setround.
76728         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
76729         Add s_nearbyint-c and s_nearbyintf-c.
76730         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
76731         nearbyintf inlines.
76732         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
76733         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
76734         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
76735         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
76737         * math/math_private.h: Define defaults for libc_fegetround,
76738         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
76739         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
76740         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
76741         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
76742         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
76743         standard functions.
76744         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
76745         Remove comments and hacks for old compiler versions.
76746         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
76747         libc_fegetround, libc_fesetround, libc_feholdexcept, and
76748         libc_feholdexceptl.
76750 2011-10-18  Andreas Schwab  <schwab@redhat.com>
76752         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
76753         (__feraiseexcept_renamed): Add __NTH.
76754         (feraiseexcept): Add __NTH.  Rename local variables to fix
76755         namespace violations.
76757 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
76759         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
76761         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
76763         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
76764         recently added interfaces.
76765         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
76767         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
76768         about macro parameter expansion.
76770         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
76771         __NO_MATH_INLINES is defined.  Cleanups.
76773         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
76774         and __floorf is target has SSE4.1.
76775         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
76776         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
76777         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
76778         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
76780         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
76781         name.
76782         (floorf): Likewise.
76784         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
76786 2011-10-17  Andreas Schwab  <schwab@redhat.com>
76788         * misc/sys/cdefs.h: Fix last change.
76790         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
76791         database lookup.
76793 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
76795         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
76797         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
76798         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76799         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
76800         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76801         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76802         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
76803         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76804         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76805         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
76806         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
76807         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
76808         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
76809         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
76810         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
76811         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
76812         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
76813         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
76814         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
76815         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
76816         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
76817         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
76818         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
76820         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
76821         ceil, ceilf, floor, floorf.
76823         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
76824         Perform IRELATIVE relocations last.
76826         * elf/do-rel.h: Add another parameter nrelative, replacing the
76827         local variable with the same name.  Change name of the function
76828         to end in Rel or Rela (uppercase).
76829         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
76830         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
76831         elf_dynamic_do_##reloc function.
76833 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
76835         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
76836         is sufficient, at least on modern CPUs.
76838         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
76840         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
76841         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
76843         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
76844         __expl_finite.
76845         * math/bits/math-finite.h: Add entries for exp.
76846         * math/e_expl.c: Add __*_finite alias.
76847         * sysdeps/i386/fpu/e_exp.S: Likewise.
76848         * sysdeps/i386/fpu/e_expf.S: Likewise.
76849         * sysdeps/i386/fpu/e_expl.c: Likewise.
76850         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76851         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
76852         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
76853         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
76854         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
76855         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
76856         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
76858         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
76859         is sufficient, at least on modern CPUs.
76861         * ctype/ctype-info.c (__ctype_init): Define.
76862         * include/ctype.h (__ctype_init): Declare.
76863         (__ctype_b_loc): The variable is always initialized.
76864         (__ctype_toupper_loc): Likewise.
76865         (__ctype_tolower_loc): Likewise.
76866         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
76867         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
76869 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
76871         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
76873         * configure.in: Also look in $cxxmachine/include for C++ system
76874         headers.
76876 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76878         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
76879         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
76880         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
76881         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
76882         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
76883         (USE_AS_WMEMCMP): New macro.
76884         Fixing indents.
76885         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
76886         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
76887         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
76888         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
76889         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76890         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
76891         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
76892         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
76893         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
76894         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
76895         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
76896         (USE_AS_WMEMCMP): New macro.
76897         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
76898         * sysdeps/string/test-memcmp.c: Update.
76899         Fix simple_wmemcmp.
76900         Add new tests.
76901         * wcsmbs/wmemcmp.c: Update.
76902         (WMEMCMP): New macro.
76903         Fix overflow bug.
76905 2011-10-12  Andreas Jaeger  <aj@suse.de>
76907         [BZ #13268]
76908         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
76910 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
76912         * libio/iofwide.c (do_length): Avoid warning.
76914         * ctype/ctype.h (__isctype_f): Add missing __THROW.
76916 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
76918         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
76920         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
76921         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
76922         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
76923         * sysdeps/i386/i686/fpu/e_log.S: New file.
76924         * sysdeps/i386/i686/fpu/e_logf.S: New file.
76925         * sysdeps/i386/i686/fpu/e_logl.S: New file.
76927         * ctype/ctype.h: Add support for inlined isXXX functions when
76928         compiling C++ code.
76930 2011-10-14  Andreas Schwab  <schwab@redhat.com>
76932         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76934         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
76936 2011-10-13  Roland McGrath  <roland@hack.frob.com>
76938         [BZ #13291]
76939         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
76941 2011-10-13  Andreas Schwab  <schwab@redhat.com>
76943         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
76944         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
76945         feraiseexcept.
76947         * sysdeps/x86_64/memrchr.S: Check for zero size.
76949         * string/stratcliff.c: Add memrchr tests.
76951 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76953         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76954         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
76955         rawmemchr-sse2 rawmemchr-sse2-bsf.
76956         * sysdeps/i386/i686/multiarch/memchr.S: New file.
76957         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
76958         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
76959         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
76960         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
76961         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
76962         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
76963         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
76964         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
76965         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
76966         * string/memrchr.c (MEMRCHR): New macro.
76968 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
76970         Add integration with gcc's -ffinite-math-only and optimize wrapper
76971         functions in libm.
76972         * Versions.def: Define GLIBC_2.15 version for libm.
76973         * math/Makefile (headers): Add bits/math-finite.h.
76974         * math/bits/math-finite.h: New file.
76975         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
76976         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
76977         * math/e_acoshl.c: Add __*_finite alias.
76978         * math/e_acosl.c: Likewise.
76979         * math/e_asinl.c: Likewise.
76980         * math/e_atan2l.c: Likewise.
76981         * math/e_atanhl.c: Likewise.
76982         * math/e_coshl.c: Likewise.
76983         * math/e_exp10.c: Likewise.
76984         * math/e_exp10f.c: Likewise.
76985         * math/e_exp10l.c: Likewise.
76986         * math/e_exp2l.c: Likewise.
76987         * math/e_fmodl.c: Likewise.
76988         * math/e_gammal_r.c: Likewise.
76989         * math/e_hypotl.c: Likewise.
76990         * math/e_j0l.c: Likewise.
76991         * math/e_j1l.c: Likewise.
76992         * math/e_jnl.c: Likewise.
76993         * math/e_lgammal_r.c: Likewise.
76994         * math/e_log10l.c: Likewise.
76995         * math/e_log2l.c: Likewise.
76996         * math/e_logl.c: Likewise.
76997         * math/e_powl.c: Likewise.
76998         * math/e_sinhl.c: Likewise.
76999         * math/e_sqrtl.c: Likewise.
77000         * math/e_scalb.c: Completely rewritten and optimized.
77001         * math/e_scalbf.c: Likewise.
77002         * math/e_scalbl.c: Likewise.
77003         * math/w_acos.c: Likewise.
77004         * math/w_acosf.c: Likewise.
77005         * math/w_acosl.c: Likewise.
77006         * math/w_acosh.c: Likewise.
77007         * math/w_acoshf.c: Likewise.
77008         * math/w_acoshl.c: Likewise.
77009         * math/w_asin.c: Likewise.
77010         * math/w_asinf.c: Likewise.
77011         * math/w_asinl.c: Likewise.
77012         * math/w_atan2.c: Likewise.
77013         * math/w_atan2f.c: Likewise.
77014         * math/w_atan2l.c: Likewise.
77015         * math/w_atanh.c: Likewise.
77016         * math/w_atanhf.c: Likewise.
77017         * math/w_atanhl.c: Likewise.
77018         * math/w_exp10.c: Likewise.
77019         * math/w_exp10f.c: Likewise.
77020         * math/w_exp10l.c: Likewise.
77021         * math/w_fmod.c: Likewise.
77022         * math/w_fmodf.c: Likewise.
77023         * math/w_fmodl.c: Likewise.
77024         * math/w_j0.c: Likewise.
77025         * math/w_j0f.c: Likewise.
77026         * math/w_j0l.c: Likewise.
77027         * math/w_j1.c: Likewise.
77028         * math/w_j1f.c: Likewise.
77029         * math/w_j1l.c: Likewise.
77030         * math/w_jn.c: Likewise.
77031         * math/w_jnf.c: Likewise.
77032         * math/w_log.c: Likewise.
77033         * math/w_logf.c: Likewise.
77034         * math/w_logl.c: Likewise.
77035         * math/w_log10.c: Likewise.
77036         * math/w_log10f.c: Likewise.
77037         * math/w_log10l.c: Likewise.
77038         * math/w_log2.c: Likewise.
77039         * math/w_log2f.c: Likewise.
77040         * math/w_log2l.c: Likewise.
77041         * math/w_pow.c: Likewise.
77042         * math/w_powf.c: Likewise.
77043         * math/w_powl.c: Likewise.
77044         * math/w_remainder.c: Likewise.
77045         * math/w_remainderf.c: Likewise.
77046         * math/w_remainderl.c: Likewise.
77047         * math/w_scalb.c: Likewise.
77048         * math/w_scalbf.c: Likewise.
77049         * math/w_scalbl.c: Likewise.
77050         * math/w_sqrt.c: Likewise.
77051         * math/w_sqrtf.c: Likewise.
77052         * math/w_sqrtl.c: Likewise.
77053         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
77054         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
77055         used.
77056         * math/math_private.h: Declare __kernel_standard_f.
77057         * math/w_cosh.c: Remove cruft and optimize a bit.
77058         * math/w_coshf.c: Likewise.
77059         * math/w_coshl.c: Likewise.
77060         * math/w_exp2.c: Likewise.
77061         * math/w_exp2f.c: Likewise.
77062         * math/w_exp2l.c: Likewise.
77063         * math/w_hypot.c: Likewise.
77064         * math/w_hypotf.c: Likewise.
77065         * math/w_hypotl.c: Likewise.
77066         * math/w_lgamma.c: Likewise.
77067         * math/w_lgamma_r.c: Likewise.
77068         * math/w_lgammaf.c: Likewise.
77069         * math/w_lgammaf_r.c: Likewise.
77070         * math/w_lgammal.c: Likewise.
77071         * math/w_lgammal_r.c: Likewise.
77072         * math/w_sinh.c: Likewise.
77073         * math/w_sinhf.c: Likewise.
77074         * math/w_sinhl.c: Likewise.
77075         * math/w_tgamma.c: Likewise.
77076         * math/w_tgammaf.c: Likewise.
77077         * math/w_tgammal.c: Likewise.
77078         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77079         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77080         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
77081         Minor optimizations.  Pretty printing.  Remove cruft.
77082         * sysdeps/i386/fpu/e_acosf.S: Likewise.
77083         * sysdeps/i386/fpu/e_acosh.S: Likewise.
77084         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77085         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77086         * sysdeps/i386/fpu/e_acosl.c: Likewise.
77087         * sysdeps/i386/fpu/e_asin.S: Likewise.
77088         * sysdeps/i386/fpu/e_asinf.S: Likewise.
77089         * sysdeps/i386/fpu/e_atan2.S: Likewise.
77090         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
77091         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
77092         * sysdeps/i386/fpu/e_atanh.S: Likewise.
77093         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77094         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77095         * sysdeps/i386/fpu/e_exp10.S: Likewise.
77096         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
77097         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
77098         * sysdeps/i386/fpu/e_exp2.S: Likewise.
77099         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
77100         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
77101         * sysdeps/i386/fpu/e_fmod.S: Likewise.
77102         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
77103         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
77104         * sysdeps/i386/fpu/e_hypot.S: Likewise.
77105         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
77106         * sysdeps/i386/fpu/e_log.S: Likewise.
77107         * sysdeps/i386/fpu/e_log10.S: Likewise.
77108         * sysdeps/i386/fpu/e_log10f.S: Likewise.
77109         * sysdeps/i386/fpu/e_log10l.S: Likewise.
77110         * sysdeps/i386/fpu/e_log2.S: Likewise.
77111         * sysdeps/i386/fpu/e_log2f.S: Likewise.
77112         * sysdeps/i386/fpu/e_log2l.S: Likewise.
77113         * sysdeps/i386/fpu/e_logf.S: Likewise.
77114         * sysdeps/i386/fpu/e_logl.S: Likewise.
77115         * sysdeps/i386/fpu/e_pow.S: Likewise.
77116         * sysdeps/i386/fpu/e_powf.S: Likewise.
77117         * sysdeps/i386/fpu/e_powl.S: Likewise.
77118         * sysdeps/i386/fpu/e_remainder.S: Likewise.
77119         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
77120         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
77121         * sysdeps/i386/fpu/e_scalb.S: Likewise.
77122         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77123         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77124         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
77125         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
77126         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
77127         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
77128         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
77129         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77130         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
77131         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
77132         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
77133         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
77134         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
77135         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
77136         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
77137         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
77138         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
77139         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77140         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
77141         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
77142         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77143         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
77144         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
77145         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
77146         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77147         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
77148         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
77149         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
77150         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
77151         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
77152         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
77153         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
77154         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
77155         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
77156         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
77157         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
77158         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
77159         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
77160         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
77161         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
77162         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
77163         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
77164         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
77165         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
77166         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
77167         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
77168         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
77169         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
77170         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
77171         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
77172         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
77173         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
77174         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
77175         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
77176         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
77177         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
77178         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
77179         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
77180         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
77181         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
77182         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
77183         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
77184         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
77185         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
77186         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
77187         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
77188         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
77189         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
77190         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
77191         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
77192         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
77193         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
77194         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
77195         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
77196         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
77197         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
77198         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
77199         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
77200         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
77201         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
77202         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
77203         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
77204         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
77205         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
77206         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
77207         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
77208         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
77209         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
77210         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
77211         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
77212         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
77213         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
77214         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
77215         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
77216         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
77217         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
77218         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
77219         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
77220         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
77221         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
77222         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
77223         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
77224         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
77225         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
77226         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
77227         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
77228         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
77229         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
77230         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
77231         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77232         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
77233         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
77234         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77235         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
77236         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
77237         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
77238         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
77239         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
77240         (__isnanf): Likewise.
77241         (__isinf_ns): Likewise.
77242         (__isinf_nsf): Likewise.
77243         (__finite): Likewise.
77244         (__finitef): Likewise.
77245         (__ieee754_sqrt): Define as macro.
77246         (__ieee754_sqrtf): Define as macro.
77247         (__ieee754_sqrtl): Define as macro.
77248         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
77249         inlined copy.
77250         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
77251         __FINITE_MATH_ONLY__ consistent.
77252         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
77254 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
77256         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
77257         of rawmemchr.
77259         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
77261 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
77263         * po/ja.po: Update from translation team.
77265 2011-10-08  Roland McGrath  <roland@hack.frob.com>
77267         * locale/programs/locarchive.c (prepare_address_space): New function.
77268         (create_archive, enlarge_archive, open_archive): Use it.
77270         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
77271         inside [SHARED], where it is used.
77273         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
77275         * nss/getent.c (netgroup_keys): Remove unused variable.
77276         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
77278 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
77280         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
77281         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
77282         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
77283         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
77284         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
77285         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
77286         * math/Makefile (libm-calls): Add s_isinf_ns.
77287         * math/divtc3.c: Use __isinf_nsl instead of isinf.
77288         * math/multc3.c: Likewise.
77289         * math/s_casin.c: Likewise.
77290         * math/s_casinf.c: Likewise.
77291         * math/s_casinl.c: Likewise.
77292         * math/s_ccos.c: Likewise.
77293         * math/s_ccosf.c: Likewise.
77294         * math/s_ccosl.c: Likewise.
77295         * math/s_ctan.c: Likewise.
77296         * math/s_ctanf.c: Likewise.
77297         * math/s_ctanh.c: Likewise.
77298         * math/s_ctanhf.c: Likewise.
77299         * math/s_ctanhl.c: Likewise.
77300         * math/s_ctanl.c: Likewise.
77301         * math/w_fmod.c: Likewise.
77302         * math/w_fmodf.c: Likewise.
77303         * math/w_fmodl.c: Likewise.
77304         * math/w_remainder.c: Likewise.
77305         * math/w_remainderf.c: Likewise.
77306         * math/w_remainderl.c: Likewise.
77307         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
77308         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
77309         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
77310         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
77311         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
77312         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
77313         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
77314         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
77316         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
77317         of the number.
77318         * stdio-common/printf_fphex.c: Likewise.
77319         * stdio-common/printf_size.c: Likewise.
77321         * math/e_exp10.c: Include math_private.h using <...> not "...".
77322         * math/e_exp10f.c: Likewise.
77323         * math/e_exp10l.c: Likewise.
77324         * math/e_exp2l.c: Likewise.
77325         * math/e_j0l.c: Likewise.
77326         * math/e_j1l.c: Likewise.
77327         * math/e_jnl.c: Likewise.
77328         * math/e_lgammal_r.c: Likewise.
77329         * math/e_rem_pio2l.c: Likewise.
77330         * math/e_scalb.c: Likewise.
77331         * math/e_scalbf.c: Likewise.
77332         * math/e_scalbl.c: Likewise.
77333         * math/k_cosl.c: Likewise.
77334         * math/k_sinl.c: Likewise.
77335         * math/k_tanl.c: Likewise.
77336         * math/s_cacoshf.c: Likewise.
77337         * math/s_catan.c: Likewise.
77338         * math/s_catanf.c: Likewise.
77339         * math/s_catanh.c: Likewise.
77340         * math/s_catanhf.c: Likewise.
77341         * math/s_catanhl.c: Likewise.
77342         * math/s_catanl.c: Likewise.
77343         * math/s_ccosh.c: Likewise.
77344         * math/s_ccoshf.c: Likewise.
77345         * math/s_ccoshl.c: Likewise.
77346         * math/s_cexp.c: Likewise.
77347         * math/s_cexpf.c: Likewise.
77348         * math/s_cexpl.c: Likewise.
77349         * math/s_clog.c: Likewise.
77350         * math/s_clog10.c: Likewise.
77351         * math/s_clog10f.c: Likewise.
77352         * math/s_clog10l.c: Likewise.
77353         * math/s_clogf.c: Likewise.
77354         * math/s_clogl.c: Likewise.
77355         * math/s_csin.c: Likewise.
77356         * math/s_csinf.c: Likewise.
77357         * math/s_csinh.c: Likewise.
77358         * math/s_csinhf.c: Likewise.
77359         * math/s_csinhl.c: Likewise.
77360         * math/s_csinl.c: Likewise.
77361         * math/s_csqrt.c: Likewise.
77362         * math/s_csqrtf.c: Likewise.
77363         * math/s_csqrtl.c: Likewise.
77364         * math/s_ctan.c: Likewise.
77365         * math/s_ctanf.c: Likewise.
77366         * math/s_ctanh.c: Likewise.
77367         * math/s_ctanhf.c: Likewise.
77368         * math/s_ctanhl.c: Likewise.
77369         * math/s_ctanl.c: Likewise.
77370         * math/s_ldexp.c: Likewise.
77371         * math/s_ldexpf.c: Likewise.
77372         * math/s_ldexpl.c: Likewise.
77373         * math/s_significand.c: Likewise.
77374         * math/s_significandf.c: Likewise.
77375         * math/s_significandl.c: Likewise.
77376         * math/w_acos.c: Likewise.
77377         * math/w_acosf.c: Likewise.
77378         * math/w_acosh.c: Likewise.
77379         * math/w_acoshf.c: Likewise.
77380         * math/w_acoshl.c: Likewise.
77381         * math/w_acosl.c: Likewise.
77382         * math/w_asin.c: Likewise.
77383         * math/w_asinf.c: Likewise.
77384         * math/w_asinl.c: Likewise.
77385         * math/w_atan2.c: Likewise.
77386         * math/w_atan2f.c: Likewise.
77387         * math/w_atan2l.c: Likewise.
77388         * math/w_atanh.c: Likewise.
77389         * math/w_atanhf.c: Likewise.
77390         * math/w_atanhl.c: Likewise.
77391         * math/w_cosh.c: Likewise.
77392         * math/w_coshf.c: Likewise.
77393         * math/w_coshl.c: Likewise.
77394         * math/w_dremf.c: Likewise.
77395         * math/w_exp10.c: Likewise.
77396         * math/w_exp10f.c: Likewise.
77397         * math/w_exp10l.c: Likewise.
77398         * math/w_exp2.c: Likewise.
77399         * math/w_exp2f.c: Likewise.
77400         * math/w_fmod.c: Likewise.
77401         * math/w_fmodf.c: Likewise.
77402         * math/w_fmodl.c: Likewise.
77403         * math/w_hypot.c: Likewise.
77404         * math/w_hypotf.c: Likewise.
77405         * math/w_hypotl.c: Likewise.
77406         * math/w_j0.c: Likewise.
77407         * math/w_j0f.c: Likewise.
77408         * math/w_j0l.c: Likewise.
77409         * math/w_j1.c: Likewise.
77410         * math/w_j1f.c: Likewise.
77411         * math/w_j1l.c: Likewise.
77412         * math/w_jn.c: Likewise.
77413         * math/w_jnf.c: Likewise.
77414         * math/w_jnl.c: Likewise.
77415         * math/w_lgamma.c: Likewise.
77416         * math/w_lgamma_r.c: Likewise.
77417         * math/w_lgammaf.c: Likewise.
77418         * math/w_lgammaf_r.c: Likewise.
77419         * math/w_lgammal.c: Likewise.
77420         * math/w_lgammal_r.c: Likewise.
77421         * math/w_log.c: Likewise.
77422         * math/w_log10.c: Likewise.
77423         * math/w_log10f.c: Likewise.
77424         * math/w_log10l.c: Likewise.
77425         * math/w_log2.c: Likewise.
77426         * math/w_log2f.c: Likewise.
77427         * math/w_log2l.c: Likewise.
77428         * math/w_logf.c: Likewise.
77429         * math/w_logl.c: Likewise.
77430         * math/w_pow.c: Likewise.
77431         * math/w_powf.c: Likewise.
77432         * math/w_powl.c: Likewise.
77433         * math/w_remainder.c: Likewise.
77434         * math/w_remainderf.c: Likewise.
77435         * math/w_remainderl.c: Likewise.
77436         * math/w_scalb.c: Likewise.
77437         * math/w_scalbf.c: Likewise.
77438         * math/w_scalbl.c: Likewise.
77439         * math/w_sinh.c: Likewise.
77440         * math/w_sinhf.c: Likewise.
77441         * math/w_sinhl.c: Likewise.
77442         * math/w_sqrt.c: Likewise.
77443         * math/w_sqrtf.c: Likewise.
77444         * math/w_sqrtl.c: Likewise.
77445         * math/w_tgamma.c: Likewise.
77446         * math/w_tgammaf.c: Likewise.
77447         * math/w_tgammal.c: Likewise.
77449         * po/ja.po: Update from translation team.
77451 2011-09-29  Andreas Jaeger  <aj@suse.de>
77453         [BZ #13179]
77454         * sunrpc/netname.c (netname2host): Fix logic.
77456         [BZ #6779]
77457         [BZ #6783]
77458         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
77459         correctly.
77460         * math/w_remainder.c (__remainder): Likewise.
77461         * math/w_remainderf.c (__remainderf): Likewise.
77462         * math/libm-test.inc (remainder_test): Add test cases.
77464 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77466         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
77467         sdiv_qrnnd.
77469 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
77471         * string/test-memcmp.c: Avoid unncessary #defines.
77472         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
77474 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77476         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
77477         Use new sse2 version for core i3 - i7 as it's faster
77478         than sse42 version.
77479         (bit_Prefer_PMINUB_for_stringop): New.
77480         * sysdeps/x86_64/rawmemchr.S: Update.
77481         Replace with faster SSE2 version.
77482         * sysdeps/x86_64/memrchr.S: New file.
77483         * sysdeps/x86_64/memchr.S: Update.
77484         Replace with faster SSE2 version.
77486 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
77488         * elf/dl-load.c (lose): Add cast to avoid warning.
77490 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
77492         * po/ca.po: Update from translation team.
77494         * inet/getnetgrent_r.c: Hook up nscd.
77495         * nscd/Makefile (routines): Add nscd_netgroup.
77496         (nscd-modules): Add netgroupcache.
77497         (CFLAGS-netgroupcache.c): Define.
77498         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
77499         (cache_search): Add const to second parameter.
77500         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
77501         INNETGR.
77502         (dbs): Add netgrdb entry.
77503         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
77504         (verify_persistent_db): Handle netgrdb.
77505         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
77506         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
77507         GETFDNETGR.
77508         (netgroup_response_header): Define.
77509         (innetgroup_response_header): Define.
77510         (datahead): Add netgroup_response_header and innetgroup_response_header
77511         elements.
77512         * nscd/nscd.conf: Add entries for netgroup cache.
77513         * nscd/nscd.h (dbtype): Add netgrdb.
77514         (_PATH_NSCD_NETGROUP_DB): Define.
77515         (netgroup_iov_disabled): Declare.
77516         (xmalloc, xcalloc, xrealloc): Move declarations here.
77517         (cache_search): Adjust prototype.
77518         Add netgroup-related prototypes.
77519         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
77520         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
77521         (__nscd_innetgr): Declare.
77522         * nscd/selinux.c (perms): Use access_vector_t as element type and
77523         add netgroup-related initializers.
77524         * nscd/netgroupcache.c: New file.
77525         * nscd/nscd_netgroup.c: New file.
77526         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
77527         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
77528         For four parameters use innetgr.
77529         * nss/nss_files/files-init.c: Add definition and callback for netgr.
77530         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
77531         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
77532         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
77534         * nscd/connections.c (register_traced_file): Don't register file
77535         for disabled databases.
77537 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
77539         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
77541         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
77542         from tree and freeing node.
77544 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
77546         * nss/nsswitch.c (__nss_database_lookup): Handle
77547         nss_parse_service_list out of memory case.
77549 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
77551         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
77552         out of memory case.
77554 2011-10-04  Andreas Schwab  <schwab@redhat.com>
77556         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
77557         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
77558         pass it down.
77559         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
77560         elf_machine_rela, elf_machine_lazy_rel.
77561         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
77562         (ELF_DYNAMIC_DO_REL): Likewise.
77563         (ELF_DYNAMIC_DO_RELA): Likewise.
77564         (ELF_DYNAMIC_RELOCATE): Likewise.
77565         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
77566         to ELF_DYNAMIC_DO_REL.
77567         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
77568         (dl_main): In trace mode always set __RTLD_NOIFUNC.
77569         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
77570         elf_machine_rela.
77571         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
77572         skip_ifunc, don't call ifunc function if non-zero.
77573         (elf_machine_rela): Likewise.
77574         (elf_machine_lazy_rel): Likewise.
77575         (elf_machine_lazy_rela): Likewise.
77576         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
77577         (elf_machine_lazy_rel): Likewise.
77578         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
77579         Likewise.
77580         (elf_machine_lazy_rel): Likewise.
77581         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77582         Likewise.
77583         (elf_machine_lazy_rel): Likewise.
77584         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
77585         (elf_machine_lazy_rel): Likewise.
77586         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
77587         (elf_machine_lazy_rel): Likewise.
77588         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
77589         (elf_machine_lazy_rel): Likewise.
77590         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
77591         (elf_machine_lazy_rel): Likewise.
77592         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
77593         (elf_machine_lazy_rel): Likewise.
77594         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
77595         (elf_machine_lazy_rel): Likewise.
77597 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
77599         * nss/nss_files/files-init.c (_nss_files_init): Use static
77600         initialization for all the *_traced_file variables.
77602 2011-09-28  Andreas Schwab  <schwab@redhat.com>
77604         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77606 2011-09-27  Roland McGrath  <roland@hack.frob.com>
77608         [BZ #13226]
77609         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
77611 2011-09-27  Andreas Schwab  <schwab@redhat.com>
77613         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
77614         Reread the line before reparsing it.
77616 2011-09-26  Andreas Schwab  <schwab@redhat.com>
77618         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
77620 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
77621             Maxim Kuvyrkov  <maxim@codesourcery.com>
77622             Joseph Myers  <joseph@codesourcery.com>
77624         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
77625         if needed for __stack_chk_guard.
77627 2011-09-19  Roland McGrath  <roland@hack.frob.com>
77629         * sysdeps/posix/spawni.c (script_execute): Always define it.
77630         It will be optimized away if unused.
77631         (maybe_script_execute): New function.
77632         (__spawni): Call it.
77634         * Makerules: Don't include tls.make.
77635         (config-tls): Always set to thread.
77636         * tls.make.c: File removed.
77638 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
77640         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
77641         * config.make.in (CPPFLAGS-config): New substituted variable.
77643 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
77645         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
77647         [BZ #13192]
77648         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
77649         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
77651 2011-09-15  Roland McGrath  <roland@hack.frob.com>
77653         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
77654         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
77655         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
77656         (CALL_FAIL): Likewise.
77657         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
77658         (CALL_FAIL): Macro removed.
77659         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
77661 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
77663         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
77664         for __FINITE_MATH_ONLY__ == 1.
77666 2011-09-15  Andreas Schwab  <schwab@redhat.com>
77668         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
77669         __ieee754_sqrt instead of sqrt.
77670         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
77671         __ieee754_sqrtf instead of sqrtf.
77672         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
77673         __floorf instead of floorf.
77674         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
77675         __floorf, __truncf instead of floorf, truncf.
77677 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
77679         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
77681         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
77682         __extern_always_inline.
77683         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
77684         32-bit.
77686 2011-09-14  Andreas Schwab  <schwab@redhat.com>
77688         * elf/rtld.c (dl_main): Also relocate in dependency order when
77689         doing symbol dependency testing.
77691 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
77693         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77694         Always define `refsym'.
77696 2011-09-13  Andreas Schwab  <schwab@redhat.com>
77698         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
77699         (__FD_ELT): Renamed from __FDELT.
77700         * misc/bits/select2.h (__FD_ELT): Likewise.
77701         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
77702         __FD_MASK instead of __FDELT, __FDMASK.
77703         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
77704         Likewise.
77705         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
77706         Likewise.
77708         * elf/Makefile (gen-ldd): Fix pattern.
77710         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
77711         (init_tls): Likewise.
77713 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
77715         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
77717 2011-09-12  Andreas Schwab  <schwab@redhat.com>
77719         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
77720         `struct cmsghdr *' instead of `void *'.
77721         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
77722         Likewise.
77724 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
77726         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
77727         if non-absolute.
77728         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
77729         ldd_rewrite_script.
77731 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
77733         * configure.in: Remove --with-tls option.
77734         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
77735         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
77736         out in case it is missing.
77737         * sysdeps/ia64/elf/configure.in: Likewise.
77738         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
77739         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
77740         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
77741         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
77742         * sysdeps/sh/elf/configure.in: Likewise.
77743         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
77744         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
77745         * sysdeps/x86_64/elf/configure.in: Likewise.
77746         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
77747         * sysdeps/mach/hurd/tls.h: Likewise.
77749         [BZ #13067]
77750         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
77752         [BZ #13090]
77753         * configure.in: Fix use of AC_INIT.
77755         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
77757 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
77759         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
77760         __set_errno.
77761         * malloc/hooks.c: Likewise.
77763         [BZ #11929]
77764         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
77765         variables statically.
77766         (narenas): Initialize.
77767         (list_lock): Initialize.
77768         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
77769         initializtion of main_arena and list_lock.  Small cleanups.
77770         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
77771         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
77772         Add initializers to main_arena and mp_.
77773         (malloc_state): Remove pagesize member.  Change all users to use
77774         GLRO(dl_pagesize).
77776         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
77777         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
77778         is always initialized.
77780         * malloc/malloc.c: Removed unused configurations and dead code.
77781         * malloc/arena.c: Likewise.
77782         * malloc/hooks.c: Likewise.
77783         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
77785         * include/tls.h: Removed.  USE___THREAD must always be defined.
77786         * bits/libc-tsd.h: Don't handle !USE___THREAD.
77787         * elf/dl-libc.c: Likewise.
77788         * elf/dl-tsd.c: Likewise.
77789         * include/errno.h: Likewise.
77790         * include/netdb.h: Likewise.
77791         * include/resolv.h: Likewise.
77792         * inet/herrno-loc.c: Likewise.
77793         * inet/herrno.c: Likewise.
77794         * malloc/arena.c: Likewise.
77795         * malloc/hooks.c: Likewise.
77796         * malloc/malloc.c: Likewise.
77797         * resolv/res-state.c: Likewise.
77798         * resolv/res_libc.c: Likewise.
77799         * sysdeps/i386/dl-machine.h: Likewise.
77800         * sysdeps/ia64/dl-machine.h: Likewise.
77801         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
77802         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
77803         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
77804         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
77805         * sysdeps/sh/dl-machine.h: Likewise.
77806         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
77807         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
77808         * sysdeps/unix/i386/sysdep.S: Likewise.
77809         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
77810         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
77811         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
77812         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
77813         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
77814         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
77815         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
77816         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
77817         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77818         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
77819         * sysdeps/unix/x86_64/sysdep.S: Likewise.
77820         * sysdeps/x86_64/dl-machine.h: Likewise.
77821         * tls.make.c: Likewise.
77823         * configure.in: Remove --with-__thread option.  Make tests for
77824         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
77825         tls_model attribute fail if no support is available.  Remove
77826         USE_IN_LIBIO.
77827         * Makeconfig: Adjust for dropped configure option.  All features are
77828         now mandatory.
77829         * Makerules: Likewise.
77830         * Versions.def: Likewise.
77831         * argp/argp-fmtstream.c: Likewise.
77832         * argp/argp-fmtstream.h: Likewise.
77833         * argp/argp-help.c: Likewise.
77834         * assert/assert.c: Likewise.
77835         * config.h.in: Likewise.
77836         * config.make.in: Likewise.
77837         * configure: Likewise.
77838         * configure.in: Likewise.
77839         * csu/Versions: Likewise.
77840         * csu/init.c: Likewise.
77841         * elf/tst-audit2.c: Likewise.
77842         * elf/tst-tls10.c: Likewise.
77843         * elf/tst-tls10.h: Likewise.
77844         * elf/tst-tls11.c: Likewise.
77845         * elf/tst-tls12.c: Likewise.
77846         * elf/tst-tls14.c: Likewise.
77847         * elf/tst-tlsmod11.c: Likewise.
77848         * elf/tst-tlsmod12.c: Likewise.
77849         * elf/tst-tlsmod13.c: Likewise.
77850         * elf/tst-tlsmod13a.c: Likewise.
77851         * elf/tst-tlsmod14a.c: Likewise.
77852         * elf/tst-tlsmod15b.c: Likewise.
77853         * elf/tst-tlsmod16a.c: Likewise.
77854         * elf/tst-tlsmod16b.c: Likewise.
77855         * elf/tst-tlsmod7.c: Likewise.
77856         * elf/tst-tlsmod8.c: Likewise.
77857         * elf/tst-tlsmod9.c: Likewise.
77858         * gmon/gmon.c: Likewise.
77859         * grp/fgetgrent_r.c: Likewise.
77860         * grp/putgrent.c: Likewise.
77861         * hurd/fopenport.c: Likewise.
77862         * include/libc-symbols.h: Likewise.
77863         * include/tls.h: Likewise.
77864         * intl/gettextP.h: Likewise.
77865         * intl/loadinfo.h: Likewise.
77866         * locale/global-locale.c: Likewise.
77867         * locale/localeinfo.h: Likewise.
77868         * mach/devstream.c: Likewise.
77869         * malloc/arena.c: Likewise.
77870         * malloc/set-freeres.c: Likewise.
77871         * misc/err.c: Likewise.
77872         * misc/getttyent.c: Likewise.
77873         * misc/mntent_r.c: Likewise.
77874         * posix/getopt.c: Likewise.
77875         * posix/wordexp.c: Likewise.
77876         * pwd/fgetpwent_r.c: Likewise.
77877         * resolv/Versions: Likewise.
77878         * resolv/res_hconf.c: Likewise.
77879         * shadow/fgetspent_r.c: Likewise.
77880         * shadow/putspent.c: Likewise.
77881         * stdio-common/printf_fphex.c: Likewise.
77882         * stdio-common/tmpfile.c: Likewise.
77883         * stdlib/abort.c: Likewise.
77884         * stdlib/fmtmsg.c: Likewise.
77885         * sunrpc/auth_unix.c: Likewise.
77886         * sunrpc/clnt_perr.c: Likewise.
77887         * sunrpc/clnt_tcp.c: Likewise.
77888         * sunrpc/clnt_udp.c: Likewise.
77889         * sunrpc/clnt_unix.c: Likewise.
77890         * sunrpc/openchild.c: Likewise.
77891         * sunrpc/svc_simple.c: Likewise.
77892         * sunrpc/svc_tcp.c: Likewise.
77893         * sunrpc/svc_udp.c: Likewise.
77894         * sunrpc/svc_unix.c: Likewise.
77895         * sunrpc/xdr.c: Likewise.
77896         * sunrpc/xdr_array.c: Likewise.
77897         * sunrpc/xdr_rec.c: Likewise.
77898         * sunrpc/xdr_ref.c: Likewise.
77899         * sunrpc/xdr_stdio.c: Likewise.
77901 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77903         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77905 2011-07-03  Andreas Jaeger  <aj@suse.de>
77907         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
77908         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
77909         regenerate with gen-libm-tests.pl.
77911 2010-05-12  Petr Baudis  <pasky@suse.cz>
77913         [BZ #11589]
77914         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
77915         around j0() zero points by switching to j1().
77916         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
77917         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
77918         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
77919         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
77921 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77923         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
77924         instead of 0.
77925         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
77926         instead of 0.
77927         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77928         Patch in part by Pavel Roskin <proski@gnu.org>.
77930         [BZ #13138]
77931         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
77932         realloc.
77933         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
77934         Free memory block if necessary.
77936         [BZ #12847]
77937         * libio/genops.c (INTDEF): For string streams the _lock pointer can
77938         be NULL.  Don't lock in this case.
77940 2011-09-09  Roland McGrath  <roland@hack.frob.com>
77942         * elf/elf.h (ELFOSABI_GNU): New macro.
77943         (ELFOSABI_LINUX): Define to that.
77945 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
77947         * string/strncat.c (strncat): Undef the symbol in case it has been
77948         defined in bits/string.h.
77950 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77952         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
77954         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
77955         link map.
77957 2011-08-17  Andreas Jaeger  <aj@suse.de>
77959         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
77961 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
77962             Ian Lance Taylor  <iant@google.com>
77964         * math/libm-test.inc (lround_test): New testcase.
77965         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
77967 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
77969         * Makefile: Remove support for automatic cvs check-ins.
77970         * Makerules: Likewise.
77971         * config.make.in: Likewise.
77972         * configure.in: Likewise.
77973         * intl/Makefile: Likewise.
77974         * locale/Makefile: Likewise.
77975         * po/Makefile: Likewise.
77976         * posix/Makefile: Likewise.
77977         * sysdeps/gnu/Makefile: Likewise.
77978         * sysdeps/mach/hurd/Makefile: Likewise.
77979         * sysdeps/sparc/sparc32/Makefile: Likewise.
77981         [BZ #13118]
77982         * posix/Makefile (bug-regex32-ENV): Define.
77983         Patch by John Stanley <jpsinthemix@verizon.net>.
77985         * misc/Makefile (headers): Add bits/select2.h.
77986         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
77987         * misc/bits/select2.h: New file.
77988         * include/bits/select2.h: New file.
77989         * debug/Makefile (routines): Add fdelt_chk.
77990         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
77991         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
77992         FD_ISSET.
77993         * debug/fdelt_chk.c: New file.
77995         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
77996         * wcsmbs/test-wmemcmp.c: Likewise.
77997         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
77998         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
78000 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78002         * string/Makefile (strop-tests): Add memcmp.
78003         * string/test-wmemcmp.c: New file.
78004         * string/test-memcmp.c: Add wmemcmp support.
78006 2011-09-08  Roland McGrath  <roland@hack.frob.com>
78008         [BZ #13153]
78009         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
78010         2011-07-19 change.
78012         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
78013         garbage value in a __mach_port_mod_refs call in the cases of the
78014         task-self and thread-self ports.
78016 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78018         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
78020 2011-09-08  Andreas Schwab  <schwab@redhat.com>
78022         * elf/dl-load.c (lose): Check for non-null L.
78024 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
78026         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
78028         * elf/dl-libc.c (dlerror_run): Pass back error code from
78029         dl_catch_error.
78031         [BZ #13123]
78032         * elf/dl-load.c (lose): Free l_origin if it is valid.
78034         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
78035         names.
78036         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
78037         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
78038         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
78039         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
78040         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
78041         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
78043 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78045         * sysdeps/powerpc/fpu/e_hypot.c: New file.
78046         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
78047         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
78048         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
78049         * sysdeps/powerpc/fpu/k_cosf.c: New file.
78050         * sysdeps/powerpc/fpu/k_sinf.c: New file.
78051         * sysdeps/powerpc/fpu/s_cosf.c: New file.
78052         * sysdeps/powerpc/fpu/s_sinf.c: New file.
78053         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
78054         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
78056 2011-08-15  Alan Modra  <amodra@gmail.com>
78058         [BZ #13092]
78059         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
78060         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
78061         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
78062         ppc_mcount to static-only-routines.
78063         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
78064         __mcount_internal.
78065         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
78066         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
78068 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
78070         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
78071         for finite and infinity parameters.
78073 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
78075         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
78076         and add nop instructions for throughput optimization.
78077         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78079 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
78081         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
78082         aligned copy for power7 with vector-scalar instructions.
78083         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
78085 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
78087         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
78088         AVX check.
78090 2011-09-07  Andreas Schwab  <schwab@redhat.com>
78092         [BZ #13144]
78093         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
78094         last change.
78096 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
78098         * sysdeps/unix/sysv/linux/x86_64/init-first.c
78099         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
78100         syscall wrapper around clock_gettime in __vdso_clock_gettime.
78101         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
78102         clock_gettime.
78104 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
78106         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
78107         Forgot to demangle the pointer.
78109         * sysdeps/i386/sysdep.h: Define atom_text_section.
78110         * sysdeps/x86_64/sysdep.h: Likewise.
78111         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
78112         section with atom_text_section.
78113         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
78114         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
78115         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
78116         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
78117         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
78119         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
78120         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
78121         already be defined.  Change to take two parameters and don't assign
78122         result to variable.  Adjust all users.
78123         Define INTERNAL_GETTIME if not already defined.
78124         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
78125         call.
78126         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
78127         HAVE_CLOCK_GETTIME_VSYSCALL.
78128         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
78130         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
78131         gettimeofday vsyscall, just use time.
78133 2011-09-06  Andreas Schwab  <schwab@redhat.com>
78135         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
78136         <errno.h>.
78138 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
78140         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
78141         syscall on x86-64.
78142         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
78143         syscall.
78144         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
78145         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
78146         syscall if possible.
78148 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
78150         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
78151         e_ident.  Don't pass to find_mapsXX.
78152         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
78154 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78156         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78157         strchr-sse2-no-bsf strrchr-sse2-no-bsf
78158         * sysdeps/x86_64/multiarch/strchr.S: Update.
78159         Check bit_slow_BSF bit.
78160         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
78161         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
78162         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
78164 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
78166         [BZ #13134]
78167         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
78168         before glibc 2.15.
78169         (tryshell): Define.
78170         (__spawni): Change last parameter to be flag.  Test
78171         SPAWN_XFLAGS_USE_PATH flag to use path or not.
78172         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
78173         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
78174         * posix/spawni.c: Likewise.
78175         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
78176         * posix/spawnp.c: Likewise.  Change normal version to use
78177         SPAWN_XFLAGS_USE_PATH.
78178         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
78179         SPAWN_XFLAGS_TRY_SHELL.
78181         [BZ #13150]
78182         * posix/glob.h: Remove gcc 1.x support.
78184         [BZ #13068]
78185         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
78187 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78189         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78190         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
78191         strrchr-sse2-bsf
78192         * sysdeps/i386/i686/multiarch/strchr.S: New file.
78193         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
78194         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
78195         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
78196         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
78197         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
78199 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78201         * sysdeps/x86_64/wcscmp.S: New file.
78203         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
78204         wcscmp-c wcscmp-sse2
78205         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
78206         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
78207         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
78208         * wcsmbs/wcscmp.c: Allow renaming.
78210 2011-09-05  David S. Miller  <davem@davemloft.net>
78212         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
78213         stack slot, rather than the struct return pointer slot.
78214         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
78215         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
78216         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
78217         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
78219 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
78221         * po/ja.po: Update from translation team.
78223         [BZ #13144]
78224         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
78225         kernel in 64-bit binaries.
78227 2011-09-01  David S. Miller  <davem@davemloft.net>
78229         * elf/elf.h (HWCAP_SPARC_*): Move to..
78230         * sysdeps/sparc/sysdep.h: this new file and add new values.
78231         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
78232         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
78233         _DL_HWCAP_COUNT to 24.
78234         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
78235         entries.
78236         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
78237         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
78238         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
78239         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
78240         instead of magic constants.
78241         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
78243 2011-08-31  David S. Miller  <davem@davemloft.net>
78245         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
78246         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
78247         Reimplement to do errno handling inline.
78248         (SYSCALL_ERROR_HANDLER): New macro.
78249         (__SYSCALL_STRING): Do not do errno handling in asm.
78250         (__CLONE_SYSCALL_STRING): Delete.
78251         (__INTERNAL_SYSCALL_STRING): Delete.
78252         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
78253         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
78254         (PSEUDO): Reimplement to do errno handling inline.
78255         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
78256         (SYSCALL_ERROR_HANDLER): New macro.
78257         (__SYSCALL_STRING): Do not do errno handling in asm.
78258         (__CLONE_SYSCALL_STRING): Delete.
78259         (__INTERNAL_SYSCALL_STRING): Delete.
78260         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
78261         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
78262         i386.
78263         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
78264         (inline_syscall*): Add 'err' argument.
78265         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
78266         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
78267         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
78268         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
78270         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
78271         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
78273 2011-08-30  Andreas Schwab  <schwab@redhat.com>
78275         * elf/rtld.c (dl_main): Relocate objects in dependency order.
78277 2011-08-29  Jiri Olsa <jolsa@redhat.com>
78279         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
78280         directive.
78282 2011-08-24  David S. Miller  <davem@davemloft.net>
78284         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
78286 2011-08-24  Andreas Schwab  <schwab@redhat.com>
78288         * elf/Makefile: Add rules to build and run unload8 test.
78289         * elf/unload8.c: New file.
78290         * elf/unload8mod1.c: New file.
78291         * elf/unload8mod1x.c: New file.
78292         * elf/unload8mod2.c: New file.
78293         * elf/unload8mod3.c: New file.
78295         * elf/dl-close.c (_dl_close_worker): Reset private search list if
78296         it wasn't used.
78298 2011-08-23  David S. Miller  <davem@davemloft.net>
78300         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
78301         subtract stack bias.
78302         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
78303         %sp not %fp in calculations.
78304         (_JMPBUF_UNWINDS_ADJ): Likewise.
78306         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
78307         (aio_suspend): Call it to force an exception region around the
78308         AIO_MISC_WAIT() invocation.
78310 2011-08-23  Andreas Schwab  <schwab@redhat.com>
78312         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
78313         backslash.
78315 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
78317         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
78318         protection macro.
78319         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
78320         and <dl-machine.h>.
78321         (Elf64_FuncDesc): Remove.
78323 2011-08-22  David S. Miller  <davem@davemloft.net>
78325         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
78326         sigaltstack check, add missing cfi directives.
78327         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
78328         missing cfi directives, and sigaltstack handling.
78330 2011-08-16  Andreas Schwab  <schwab@redhat.com>
78332         [BZ #11724]
78333         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
78334         object is seen twice.
78335         * elf/dl-fini.c (_dl_sort_fini): Likewise.
78337         * elf/Makefile (distribute): Add tst-initorder2.c.
78338         (tests): Add tst-initorder2.
78339         (modules-names): Add tst-initorder2a tst-initorder2b
78340         tst-initorder2c tst-initorder2d.  Add rules to build them.
78341         ($(objpfx)tst-initorder2.out): New rule.
78342         * elf/tst-initorder2.c: New file.
78343         * elf/tst-initorder2.exp: New file.
78345 2011-08-22  Andreas Schwab  <schwab@redhat.com>
78347         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
78349         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
78350         dependencies back to end of function.
78352         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
78353         $(elfobjdir)/ld.so.
78355 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
78357         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
78358         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
78359         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
78360         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
78361         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
78362         of __vdso_gettimeofday.
78363         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
78364         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
78365         attribute_hidden.
78366         (_libc_vdso_platform_setup): Remove initialization of
78367         __vdso_gettimeofday and __vdso_time.
78369 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
78371         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
78372         and fgetc_unlocked.
78373         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
78374         getc_unlocked.
78376         * elf/dl-open.c (add_to_global): Report additions to the global scope
78377         for LD_DEBUG=scopes.
78378         (dl_open_worker): Also print scope of newly loaded dependencies.
78379         (_dl_show_scope): Indicate if there is no scope.
78381         [BZ #13114]
78382         * stdio-common/Makefile (tests): Add bug24.
78383         * stdio-common/bug24.c: New file.
78385 2011-08-19  Andreas Jaeger  <aj@suse.de>
78387         [BZ #13114]
78388         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
78389         non-existant file when using close-on-exec mode.
78391 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
78393         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
78394         the very first instruction.
78396         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
78397         the CFI state in the end.
78398         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
78399         inclusion of dl-trampoline.h.
78400         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
78402 2011-08-19  Andreas Schwab  <schwab@redhat.com>
78404         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
78405         expectations for long double.
78407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
78408         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
78410 2011-08-14  David S. Miller  <davem@davemloft.net>
78412         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
78413         artificual limit depends upon the system page size.
78415 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
78417         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
78418         * resolv/Makefile: Define CFLAGS-libresolv.
78420 2011-08-17  Andreas Schwab  <schwab@redhat.com>
78422         * nss/makedb.c (compute_tables): Make variables used in nested
78423         function static.
78425 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
78427         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
78428         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
78429         if buffer was too small.
78431         * elf/pldd.c (main): Attach to all threads in the process.
78432         Rewrite /proc handling to use *at functions.
78434 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
78436         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
78437         specifies first scope to show.
78438         (dl_open_worker): Update callers.  Move printing scope of new
78439         object to before the relocation.
78440         * elf/rtld.c (dl_main): Update _dl_show_scope call.
78441         * sysdeps/generic/ldsodefs.h: Update declaration.
78443         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
78444         string for the scope number.
78446 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
78448         * nscd/servicescache.c (cache_addserv): Make sure written is always
78449         initialized.
78451 2011-08-14  Roland McGrath  <roland@hack.frob.com>
78453         * sysdeps/i386/i486/bits/atomic.h
78454         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
78455         statement expression, so as to suppress "set but not used" warning.
78456         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
78458         * string/strncat.c (STRNCAT): Use prototype definition.
78460         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
78461         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
78462         -Iprograms here.
78463         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
78464         (localedef-modules): Add localedef.
78465         (locale-modules): Add locale.
78467         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
78468         * elf/rtld.c (dl_main): Invert order of assignment in last change,
78469         to avoid a warning.
78471 2011-08-14  David S. Miller  <davem@davemloft.net>
78473         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
78474         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
78476 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
78478         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
78479         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
78480         * elf/rtld.c (dl_main): Set l_name of vDSO.
78481         Call _dl_show_scope when DL_DEBUG_SCOPES.
78482         (process_dl_debug): Recognize scopes flag and also set it for all.
78483         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
78484         Declare _dl_show_scope.
78486         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
78487         (do_dlopen): Pass caller_dlopen to dl_open.
78488         (__libc_dlopen_mode): Initialize caller_dlopen.
78490         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
78491         of libc.  Make tolower call locale-independent.  Optimize a bit by
78492         using isdigit instead of isalnum.
78493         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
78495 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
78497         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
78498         was a dependency or dynamically loaded.
78500 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
78502         * intl/l10nflist.c: Allow architecture-specific pop function.
78503         * sysdeps/x86_64/l10nflist.c: New file.
78505         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
78506         classification.
78508 2011-08-10  Andreas Schwab  <schwab@redhat.com>
78510         * include/dirent.h: Add libc_hidden_proto for scandirat and
78511         scandirat64.  Don't declare __scandirat64.
78512         * dirent/scandirat.c: Add libc_hidden_def.
78513         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
78514         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
78516 2011-08-10  David S. Miller  <davem@davemloft.net>
78518         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
78519         enum.
78520         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
78521         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
78522         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
78524 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
78526         * Versions.def [libc]: Add GLIBC_2.15.
78527         * dirent/Makefile (routines): Add scandirat and scandirat64.
78528         * dirent/Versions [libc]: Export scandirat and scandirat64 for
78529         GLIBC_2.15.
78530         * dirent/dirent.h: Declare scandirat and scandirat64.
78531         * dirent/scandirat.c: New file.
78532         * dirent/scandirat64.c: New file.
78533         * sysdeps/wordsize-64/scandirat.c: New file.
78534         * sysdeps/wordsize-64/scandirat64.c: New file.
78535         * dirent/opendir.c: Define opendirat.
78536         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
78537         using scandirat.
78538         * dirent/scandir64.c: Adjust for scandir.c change.
78539         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
78540         __scandirat64, and __scandir_cancel_handler.
78541         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
78542         additional parameter and use openat instead of open (outside of ld.so).
78543         Add new __opendir as wrapper around __opendirat.
78544         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
78545         here without requiring old scandirat implementation.
78547 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
78549         * dirent/scandir.c (cancel_handler): Renamed to
78550         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
78551         defined.  Adjust users.
78552         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
78553         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
78555 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
78557         * string/test-string.h (IMPL): Use __STRING to expand name and then
78558         stringify it.
78560         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
78561         of cleanups.
78563 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78565         * string/Makefile: Update.
78566         (strop-tests): Append strncat.
78567         * string/test-wcscmp.c: New file.
78568         New comprehensive test for wcscmp.
78569         * string/test-strcmp.c: Update.
78570         (WIDE): New define.
78572 2011-07-22  Andreas Schwab  <schwab@redhat.com>
78574         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
78575         line.
78577 2011-07-26  Andreas Schwab  <schwab@redhat.com>
78579         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78580         encoding to ACE if AI_IDN.
78582 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
78584         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
78585         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
78587 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78589         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
78590         Fix overflow bug in strncat.
78591         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
78593         * string/test-strncat.c: Update.
78594         Add new tests for checking overflow bugs.
78596 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78598         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78599         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
78600         * sysdeps/i386/i686/multiarch/strcat.S: New file.
78601         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
78602         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
78603         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
78604         * sysdeps/i386/i686/multiarch/strncat.S: New file.
78605         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
78606         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
78608         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
78609         (USE_AS_STRCAT): Define.
78610         Add strcat and strncat support.
78611         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
78613 2011-07-25  Andreas Schwab  <schwab@redhat.com>
78615         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
78616         __n bigger than INT_MAX+1.
78617         (__strncmp_g): Likewise.
78619 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
78621         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
78622         * libio/stido.h: Likewise.
78624         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
78625         (AF_NFC): Define.
78626         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
78627         (AF_NFC): Define.
78629         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
78630         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
78631         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
78632         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
78633         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
78635         [BZ #13021]
78636         * scripts/test-installation.pl: Don't expect libnss_test1 to be
78637         installed.
78639         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
78640         typo.
78641         (_dl_x86_64_save_sse): Likewise.
78643 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
78645         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
78646         OSXSAVE.
78647         (_dl_x86_64_save_sse): Likewise.
78649         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
78651         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
78653 2011-07-21  Andreas Schwab  <schwab@redhat.com>
78655         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
78656         change.
78657         (_dl_x86_64_save_sse): Use correct AVX check.
78659 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78661         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
78662         bug in strncpy/strncat.
78663         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
78665 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
78667         * string/tester.c (test_strcat): Add tests for different alignments
78668         of source and destination.
78669         (test_strncat): Likewise.
78671 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
78673         [BZ #12852]
78674         * posix/glob.c (glob): Check passed in values before using them in
78675         expressions to avoid some overflows.
78676         (glob_in_dir): Likewise.
78678         [BZ #13007]
78679         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
78680         check for AVX enablement so that we don't crash with old kernels and
78681         new hardware.
78682         * elf/tst-audit4.c: Add same checks here.
78683         * elf/tst-audit6.c: Likewise.
78685         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
78687 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
78689         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
78691 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
78693         * po/cs.po: Update from translation team.
78694         * po/bg.po: Likewise.
78696 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
78698         * misc/sys/cdefs.h: Add support for const attribute.
78699         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
78700         to gnu_dev_{major,minor,makedev} functions.
78702 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
78704         * intl/dcigettext.c (get_output_charset): Add missing bracket.
78706 2011-07-20  Andreas Schwab  <schwab@redhat.com>
78708         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
78709         strlen results.
78711 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78713         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
78714         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
78715         register in order to avoid conflicts with the soft frame pointer
78716         being held in r11 when necessary.
78717         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
78718         (INTERNAL_VSYSCALL_NCS): Likewise.
78720 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
78722         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
78723         * elf/dl-fini.c (_dl_fini): Adjust caller.
78724         * elf/dl-close.c (_dl_close_worker): Likewise.
78725         * sysdeps/generic/ldsodefs.h: Adjust declaration.
78727 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
78729         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
78730         "aux_cache->nlibs < 0".
78732         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
78733         in the reload-count case.
78735 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78737         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78738         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
78739         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
78740         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
78741         * sysdeps/x86_64/multiarch/strcat.S: New file.
78742         * sysdeps/x86_64/multiarch/strncat.S: New file.
78743         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
78744         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
78745         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
78746         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
78747         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
78748         (USE_AS_STRCAT): Define.
78749         Add strcat and strncat support.
78750         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
78751         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
78752         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
78753         * string/strncat.c: Update.
78754         (USE_AS_STRNCAT): Define.
78755         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78756         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
78757         and i7.
78758         * sysdeps/x86_64/multiarch/init-arch.h
78759         (bit_Prefer_PMINUB_for_stringop): New.
78760         (index_Prefer_PMINUB_for_stringop): Likewise.
78761         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
78762         bit_Prefer_PMINUB_for_stringop.
78764 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
78766         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
78767         buffer64.
78768         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
78769         of casting of buffer.
78770         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
78771         buffer32 and buffer64.
78772         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
78773         writes instead of casting of buffer.
78774         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
78775         buffer32.
78776         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
78777         casting of buffer.
78779 2011-07-19  Andreas Schwab  <schwab@redhat.com>
78781         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
78783 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
78785         * nscd/nscd.c (termination_handler): Don't do anything for a database
78786         if it has not yet been initialized.
78788 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
78790         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
78792 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
78794         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
78796 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
78798         * po/nl.po: Update from translation team.
78799         * po/sv.po: Likewise.
78801 2011-07-16  Roland McGrath  <roland@hack.frob.com>
78803         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
78804         now disallowed by GCC.
78806         * configure.in (use-default-link): Default to yes if a test -shared
78807         link meets our qualifications.
78808         * configure: Regenerated.
78810         * config.make.in (output-format): New variable.
78811         * configure.in: Check for ld --print-output-format support.
78812         * configure: Regenerated.
78813         * Makerules ($(common-objpfx)format.lds)
78814         [$(output-format) != unknown]: Just use $(output-format),
78815         instead of the linker-script munging.
78817 2011-07-14  Roland McGrath  <roland@hack.frob.com>
78819         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
78820         of $(common-objpfx)shlib.lds.
78821         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
78823         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
78824         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
78826         * configure.in (-z relro check): Adjust test code to add a large
78827         writable data section after it.
78828         * configure: Regenerated.
78830 2011-07-11  Roland McGrath  <roland@hack.frob.com>
78832         * configure.in (-z relro check): Fix test code to make the variable
78833         truly const.
78834         * configure: Regenerated.
78836 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
78838         * nscd/nscd.h (struct traced_file): Define.
78839         (struct database_dyn): Remove inotify_descr, reset_res, and filename
78840         elements.  Add traced_files.
78841         (inotify_fd): Declare.
78842         (register_traced_file): Declare.
78843         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
78844         (inotify_fd): Export.
78845         (resolv_conf_descr): Remove.
78846         (nscd_init): Move inotify descriptor creation to main.
78847         Don't register files for notification here.
78848         (register_traced_file): New function.
78849         (invalidate_cache): Don't use reset_res to determine whether to call
78850         res_init, go through the list of registered files.
78851         (main_loop_poll): The inotify descriptors are now stored in the
78852         structures for the traced files.
78853         (main_loop_epoll): Likewise.
78854         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
78855         to __nss_disable_nscd.
78856         * nscd/cache.c (prune_cache): There is no single inotify descriptor
78857         for a database anymore.  Check the records for all the registered
78858         files instead.
78859         * nss/Makefile (libnss_files-routines): Add files-init.
78860         (libnss_db-routines): Add db-init.
78861         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
78862         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
78863         * nss/nss_db/db-init.c: New file.
78864         * nss/nss_files/files-init.c: New file.
78865         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
78866         __nss_lookup_function.
78867         (__nss_lookup_function): Call nss_load_library.
78868         (nss_load_all_libraries): New function.
78869         (__nss_disable_nscd): Take parameter with callback function for files
78870         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
78871         used for the cached services.
78872         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
78873         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
78874         options for features to all the files in nscd.
78876         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
78878 2011-07-10  Roland McGrath  <roland@hack.frob.com>
78880         * csu/elf-init.c (__libc_csu_init): Comment typo.
78882 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
78884         * po/pl.po: Update from translation team.
78885         * po/ja.po: Likewise.
78886         * po/ru.po: Likewise.
78887         * po/ko.po: Likewise.
78888         * po/fr.po: Likewise.
78890 2011-07-09  Roland McGrath  <roland@hack.frob.com>
78892         * configure.in (.ctors/.dtors header and trailer check):
78893         Use an empirical test on a built program.
78894         * configure: Regenerated.
78896         * configure.in (-z relro check): Use an empirical test on a built DSO.
78897         Detect, but do not require, on ia64.
78898         * configure: Regenerated.
78900         * configure.in (READELF): Find it with AC_CHECK_TOOL.
78901         Update tests that use readelf to use $READELF instead.
78902         * configure: Regenerated.
78904 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
78906         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
78907         if the result is not used.
78909 2011-07-05  Andreas Jaeger  <aj@suse.de>
78911         [BZ#9696]
78912         * stdlib/tst-strtod.c: Add testcase.
78914 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
78916         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
78917         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
78918         The latter has a higher limit.  Take additional parameter to pass to
78919         the new function.
78920         (__pathconf): Pass file to __statfs_link_max.
78921         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
78922         __statfs_link_max.
78923         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
78924         __statfs_link_max.
78926         [BZ #12868]
78927         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
78928         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78929         Handle Lustre.
78930         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
78931         (__statfs_filesize_max): Likewise.
78932         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
78934 2011-07-05  Andreas Jaeger  <aj@suse.de>
78936         * resolv/res_comp.c (dn_skipname): Remove unused variable.
78938 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
78940         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
78941         `status' variable.
78942         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
78943         Likewise.
78945 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
78947         * Makefile (strop-tests): Add strncat.
78948         * string/test-strncat.c: New file.
78950 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
78952         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
78954 2011-06-21  Andreas Jaeger  <aj@suse.de>
78956         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
78957         Copy rule from iconvdata/Makefile.
78959 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
78961         [BZ #12922]
78962         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
78963         but no long options are defined, just return 'W'.
78965 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
78967         [BZ #9696]
78968         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
78970 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
78972         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
78973         netgroups to read.
78974         (innetgr): Likewise.
78976 2011-07-05  Roland McGrath  <roland@hack.frob.com>
78978         * config.make.in (install_root): Default to $(DESTDIR).
78980 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
78982         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
78984 2011-07-02  Roland McGrath  <roland@hack.frob.com>
78986         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
78988         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
78989         containing directory rather than embedding absolute directory names.
78991         * scripts/check-local-headers.sh: Rewritten using awk.
78992         Match by word, not by line.  Print error messages for matches.
78993         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
78995         * Makerules [shlib-lds-flags empty]:
78996         ($(common-objpfx)libc_pic.opts): New target.
78997         ($(common-objpfx)libc_pic.os.clean): New target.
78998         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
79000         * config.make.in (OBJCOPY): New variable.
79001         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
79002         * configure: Regenerated.
79004         * config.make.in (use-default-link): New variable.
79005         * configure.in (use_default_link): Grok --with-default-link to set it.
79006         * configure: Regenerated.
79007         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
79008         (shlib-lds, shlib-lds-flags): Define to empty.
79010         * Makerules (shlib-lds): New variable.
79011         (shlib-lds-flags): New variable.
79012         (build-shlib, build-moduile, build-module-asneeded): Use it.
79013         ($(common-objpfx)libc.so): Use $(shlib-lds).
79014         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
79015         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
79017         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
79018         DT_FLAGS/DT_FLAGS_1 with zero flags.
79020         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
79021         linker script munging.
79023 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
79025         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
79026         as 128-bit value.
79027         * crypt/sha512.c (sha512_process_block): Perform total addition using
79028         128-bit if possible.
79029         (__sha512_finish_ctx): Likewise.
79030         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
79031         as 64-bit value.
79032         * crypt/sha256.c (SWAP64): Define.
79033         (sha256_process_block): Perform total addition using 64-bit if
79034         possible.
79035         (__sha256_finish_ctx): Likewise.
79037 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
79039         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
79040         * nscd/initgrcache.c (addinitgroupsX): Likewise.
79041         * nscd/hstcache.c (cache_addhst): Likewise.
79042         * nscd/grpcache.c (cache_addgr): Likewise.
79043         * nscd/aicache.c (addhstaiX): Likewise.
79044         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
79046 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
79048         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
79049         * nscd/initgrcache.c (addinitgroupsX): Likewise.
79050         * nscd/hstcache.c (cache_addhst): Likewise.
79051         * nscd/grpcache.c (cache_addgr): Likewise.
79052         * nscd/aicache.c (addhstaiX): Likewise.
79054 2011-07-01  Andreas Schwab  <schwab@redhat.com>
79056         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
79057         domain only when needed.
79059 2011-06-30  Andreas Schwab  <schwab@redhat.com>
79061         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
79062         is always restored.
79064 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
79066         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
79067         are re-adding the entry.
79068         * nscd/servicescache.c (cache_addserv): Likewise.
79070 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
79072         * sysdeps/generic/dl-irel.h: fix protection against multiple
79073         inclusions.
79074         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
79076 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
79078         [BZ #12935]
79079         * malloc/memusage.sh: Fix quoting in message.
79080         * debug/xtrace.sh: Likewise.
79082         * configure.in: Remove support for --experimental-malloc option, make
79083         it the default.
79084         * config.make.in: Likewise.
79085         * malloc/Makefile: Likewise.
79087 2011-06-27  Andreas Schwab  <schwab@redhat.com>
79089         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
79090         two-byte characters.
79092 2011-06-27  Roland McGrath  <roland@hack.frob.com>
79094         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
79095         AC_CACHE_CHECK invocation.
79096         * configure: Regenerated.
79098         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
79100 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
79102         [BZ #12350]
79103         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
79104         bit from old_res_options.
79106         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
79108         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
79109         value type for setfct.
79111 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
79113         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
79114         __gettimeofday instead of gettimeofday.
79116 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
79118         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
79120 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
79122         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
79124         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
79125         info.
79127 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
79129         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79130         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
79131         strcpy-sse2-unaligned strncpy-sse2-unaligned
79132         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
79133         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
79134         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
79135         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
79136         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
79137         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
79138         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
79139         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
79140         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
79141         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
79142         (STRCPY): Support SSE2 and SSSE3 versions.
79144 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
79146         [BZ #12874]
79147         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
79148         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
79149         kernels which artificially limit size of requests.
79151 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
79153         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79154         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
79155         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
79156         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
79157         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
79158         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
79159         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
79160         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
79161         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
79162         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
79163         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
79164         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
79165         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
79166         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
79167         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
79168         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79169         Enable unaligned load optimization for Intel Core i3, i5 and i7
79170         processors.
79171         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
79172         Define.
79173         (index_Fast_Unaligned_Load): Define.
79174         (HAS_FAST_UNALIGNED_LOAD): Define.
79176 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
79178         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
79180 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
79182         [BZ #12907]
79183         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
79184         until it is clear that the information is realy needed.
79185         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
79187 2011-06-22  Andreas Schwab  <schwab@redhat.com>
79189         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
79191 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
79193         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
79194         /sys/devices/system/cpu/online if it is usable.
79196         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
79197         reading the information from the /proc filesystem to once a second.
79199 2011-06-21  Andreas Jaeger  <aj@suse.de>
79201         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
79202         NULL after inclusion of kernel headers.
79204 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
79206         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
79207         calls to internal_setent.
79209         [BZ #12885]
79210         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
79211         addresses using gethostbyname4_r ignore IPv4 addresses.
79213         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
79214         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
79216         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
79218 2011-06-20  David S. Miller  <davem@davemloft.net>
79220         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
79221         inclusions.
79222         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
79224         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
79225         (elf_irel): Use it.
79226         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
79227         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
79228         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
79229         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
79230         * sysdeps/x86_64/dl-irel.h: Likewise.
79232         * elf/dl-runtime.c: Use elf_ifunc_invoke.
79233         * elf/dl-sym.c: Likewise.
79235 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
79237         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
79238         need to dereference resplen2.
79240 2011-06-14  Andreas Schwab  <schwab@redhat.com>
79242         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
79244 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
79246         * Makeconfig: Define vardbdir and inst_vardbdir.
79247         * nss/Makefile: Add rules to install db-Makefile.
79249         * nss/nss_db/db-XXX.c: Cleanup.
79251         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
79252         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
79253         GLIBC_PRIVATE.
79254         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
79255         * nss/makedb.c: Implement -g option to specify that value strings
79256         are generated and should not be added to table iterated over for
79257         get*ent calls.
79258         * nss/nss_db/db-initgroups.c: New file.
79260         * nss/getent.c: Add support for initgroups lookups through getgrouplist
79261         interface.
79263         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
79264         (internal_getgrouplist): Adjust to name change.
79265         Update use_initgroups_entry if this is not the first call.
79266         * nss/databases.def: Add initgroups entry.
79268         * nss/makedb.c (compute_tables): Check result of multiple hash table
79269         sizes to minimize maximum chain length.
79271 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
79273         * Versions.def: Add entry for libnss_db.
79274         * shlib-versions: Likewise.
79275         * nss/Makefile: Add rules to build libnss_db.
79276         * nss/Versions: Add libnss_db information.  Organize libnss_files
79277         entries better.
79278         * nss/db-Makefile: Add gshadow support.  Change rules for the new
79279         makedb progra.  Some minor improvements to generate smaller files.
79280         * nss/nss_db/nss_db.h: Move NSS database header data structures to
79281         here from...
79282         * nss/makedb.c: ...here.
79283         Improve database format to be smaller and require less memory at
79284         runtime.
79285         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
79286         db anymore.
79287         * nss/nss_db/db-netgrp.c: Likewise.
79288         * nss/nss_db/db-open.c: Likewise.
79289         * nss/nss_files/flies-XXX.x: Adjust comments.
79290         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
79291         * nss/nss_files/files-grp.c: Likewise.
79292         * nss/nss_files/files-hosts.c: Likewise.
79293         * nss/nss_files/files-network.c: Likewise.
79294         * nss/nss_files/files-proto.c: Likewise.
79295         * nss/nss_files/files-pwd.c: Likewise.
79296         * nss/nss_files/files-rpc.c: Likewise.
79297         * nss/nss_files/files-service.c: Likewise.
79298         * nss/nss_files/files-sgrp.c: Likewise.
79299         * nss/nss_files/files-spwd.c: Likewise.
79300         * nss/nss_db/db-alias.c: Removed.
79301         * nss/nss_db/dummy-db.h: Removed.
79303 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
79305         * nss/makedb.c: Rewritten to not use database library.
79306         * nss/Makefile: Update to build new makedb program.
79308 2011-06-14  Andreas Jaeger  <aj@suse.de>
79310         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
79311         memset declaration.
79313 2011-06-10  Andreas Schwab  <schwab@redhat.com>
79315         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
79316         tmpbuf.
79318 2011-06-10  Roland McGrath  <roland@hack.frob.com>
79320         * Makerules (shlib.lds): Fail if the linker script comes out empty.
79321         * elf/Makefile ($(objpfx)ld.so): Likewise.
79323         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
79324         Don't list ld.so twice in dependencies.
79326         * posix/bug-regex31.c: Include <stdlib.h>.
79328         * nscd/hstcache.c (cache_addhst): Remove unused variable.
79330         * nis/nss_compat/compat-spwd.c
79331         (getspent_next_nss_netgr): Remove unused variable.
79332         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
79334         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
79335         nonmembers" output to use the right array.
79337         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
79339         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
79341         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
79342         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
79343         * catgets/gencat.c (read_input_file): Likewise.
79344         * locale/programs/locarchive.c (enlarge_archive): Likewise.
79346         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
79347         variable definition inside #if's controlling its use.
79349         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
79351         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
79353         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
79355         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
79356         unreachable code.
79358         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
79360         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
79361         * configure: Regenerated.
79363         * Makerules: Revert last change.
79364         * elf/Makefile: Likewise.
79366 2011-06-09  Roland McGrath  <roland@hack.frob.com>
79368         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
79369         * elf/Makefile ($(objpfx)librtld.os): Likewise.
79370         (reloc-link): Likewise.
79372 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
79374         * elf/Makefile: Add rules to build pldd.
79375         * elf/pldd.c: New file.
79376         * elf/pldd-xx.c: New file.
79378 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
79380         * version.h: Update for 2.15 development version.
79382 2011-06-07  David S. Miller  <davem@davemloft.net>
79384         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
79385         ifuncs.
79386         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
79387         elf_machine_lazy_rel): Likewise.
79388         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
79389         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
79390         elf_machine_lazy_rel): Likewise.
79391         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
79392         dl_hwcap via passed in argument.
79393         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
79394         Likewise.
79396 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79398         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
79400 2011-06-06  Roland McGrath  <roland@hack.frob.com>
79402         [BZ #12849]
79403         * manual/fdl-1.1.texi: New file, verbatim from:
79404         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
79405         * manual/lgpl-2.1.texi: New file, verbatim from:
79406         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
79407         * manual/Makefile (licenses): New variable, list those new file names.
79408         (texis): Use it.
79409         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
79411         * manual/fdl.texi: File removed.
79412         * manual/lesser.texi: File removed.
79413         * manual/libc.texinfo (Copying, Documentation License):
79414         Use new @include file names, put @appendix directive before @include.
79416 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
79418         [BZ #12841]
79419         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
79420         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
79421         (mq_open): Add __NTH.
79423 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
79425         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79426         Assume Intel Core i3/i5/i7 processor if AVX is available.
79428 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
79430         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
79431         typo.
79433 2011-05-31  Andreas Schwab  <schwab@redhat.com>
79435         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
79436         memory.  Use alloca_account.  Fix memory leak when retrying.
79438 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
79440         * version.h (RELEASE): Bump for 2.14 release.
79441         * include/features.h (__GLIBC_MINOR__): Bump to 14.
79443         * config.make.in (RANLIB): Remove entry.
79445 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
79447         * po/Makefile (po-sed-cmd): Add ksh to extensions.
79448         (libc.pot): Work around missing support for .ksh extension in xgettext.
79450         [BZ #12684]
79451         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
79452         if both request failed.
79453         (send_dg): In case of server errors clear resplen or *resplen2.
79455         [BZ #12454]
79456         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
79457         when there are multiple maps.
79458         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
79459         (_dl_fini): Remove test here.
79461         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
79463 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
79465         [BZ #12350]
79466         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
79467         bit from old_res_options.
79468         (gaih_inet): Likewise.
79470         [BZ #11099]
79471         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
79472         as signed.
79474         * resolv/res_init.c (res_setoptions): Make the code more compact.
79476         [BZ #11558]
79477         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
79478         set RES_USEVC.
79480         [BZ #11634]
79481         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
79483         * malloc/malloc.h: Mark malloc hook variables as deprecated.
79485         [BZ #11781]
79486         * malloc/malloc.h: Declare malloc hook variables as volatile.
79488         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
79489         in last patch.
79491         [BZ #11799]
79492         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
79493         raise in the comment.
79494         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
79495         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
79496         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
79498 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
79500         [BZ #12811]
79501         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
79502         grow the buffers more if it already has to be sufficient.
79503         (build_wcs_upper_buffer): Likewise.
79504         * posix/regexec.c (check_matching): Likewise.
79505         (clean_state_log_if_needed): Likewise.
79506         (extend_buffers): Don't enlarge buffers beyond size of the input
79507         buffer.
79508         Patches mostly by Emil Wojak <emil@wojak.eu>.
79509         * posix/bug-regex32.c: New file.
79510         * posix/Makefile (tests): Add bug-regex32.
79512         * locale/findlocale.c (_nl_find_locale): Return right away if
79513         _nl_explode_name failed.
79514         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
79516         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
79518         * debug/xtrace.sh: Unify messages.
79519         * malloc/memusage.sh: Likewise.
79521         [BZ #12813]
79522         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
79523         time symbol from vDSO.  Substitute with vsyscall if not available.
79524         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
79525         __vdso_time.
79527         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
79528         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
79529         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
79530         Add sendmmsg and internal_sendmmsg.
79531         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
79532         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
79533         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
79535         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
79536         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
79537         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
79539 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
79541         [BZ #12813]
79542         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
79543         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
79544         available.
79545         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
79546         __vdso_getcpu.
79548         [BZ #12814]
79549         * iconvdata/Makefile (tests): Add bug-iconv9.
79550         * iconvdata/bug-iconv9.c: New file.
79552 2011-05-27  Andreas Schwab  <schwab@redhat.com>
79554         [BZ #12814]
79555         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
79557 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
79559         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
79560         (struct user_regs_struct): Change intcs field back to cs.
79562 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
79564         * po/ja.po: Update from translation team.
79566 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
79568         [BZ #12795]
79569         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
79570         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
79572 2011-05-20  Andreas Schwab  <schwab@redhat.com>
79574         * stdlib/longlong.h: Update from GCC.
79576 2011-05-23  Andreas Schwab  <schwab@redhat.com>
79578         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
79579         parameter name.
79580         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
79581         Add parameter name.
79582         (__sysconf): Pass it down.
79584 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
79586         [BZ #12671]
79587         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
79588         some situations.
79589         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
79590         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
79591         add in in __libc_use_alloca calls.  Adjust callers.
79592         (glob): Use malloc in some situations.
79594         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
79595         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
79596         pltexit.
79598 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
79600         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
79601         and CLOCK_BOOTTIME_ALARM.
79603         [BZ #12782]
79604         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
79605         is returned.
79607         * string/_strerror.c (__strerror_r): Print negative errors as signed
79608         numbers.
79610         [BZ #12777]
79611         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
79612         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
79613         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
79615         * configure.in: Fix typo in redirection and correct removal of test
79616         files in two cases.
79618         [BZ #12788]
79619         * locale/setlocale.c (new_composite_name): Fix test to check for
79620         identical name of all categories.
79622         [BZ #12792]
79623         * libio/filedoalloc.c (local_isatty): New function.
79624         (_IO_file_doallocate): Use local_isatty.
79625         * stdio-common/perror.c (perror): In case a new stream is used
79626         forward the stream error.
79627         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
79628         error flag.
79630 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
79632         [BZ #11884]
79633         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
79634         alloca.
79635         * include/alloca.h (extend_alloca_account): Define.
79637         [BZ #11857]
79638         * posix/regex.h: Fix comments with documentation of user-accessible
79639         fields after compilation and describe correct free'ing of pattern
79640         after re_compile_pattern.
79641         Patch by Reuben Thomas <rrt@sc3d.org>.
79643 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
79645         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
79646         and -mno-altivec to prevent the compiler from using Altivec and/or
79647         VSX instructions when the corresponding registers are not available.
79649 2011-05-19  Andreas Schwab  <schwab@redhat.com>
79651         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
79653 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
79655         * libio/freopen.c (freopen): Use __dup2, not dup2.
79656         * libio/freopen64.c (freopen64): Likewise.
79658 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
79660         [BZ #12775]
79661         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
79662         * math/Makefile (tests): Add test-powl.
79663         (CFLAGS-test-powl.c): Define.
79664         * math/test-powl.c: New file.
79666 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79668         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
79670 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
79672         [BZ #11837]
79673         * iconvdata/gb18030.c: Update to GB18020-2005.
79675 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
79677         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
79678         RE_SYNTAX_POSIX_AWK): Update to match recent development.
79679         Patch by Aharon Robbins <arnold@skeeve.com>.
79681         [BZ #11892]
79682         * stdlib/putenv.c (putenv): Don't always create copy of the variable
79683         on the stack.
79685         [BZ #11895]
79686         * misc/pselect.c (__pselect): Handle timeout value errors hidden
79687         through underflows.
79689         [BZ #12766]
79690         * misc/error.c (error_at_line): Ensure file_name and old_file_name
79691         point to strings before performing equality test for error_one_per_line
79692         mode.
79694         [BZ #11697]
79695         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
79697         [BZ #11820]
79698         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
79699         (struct user_fpregs_struct): Avoid __uint*_t types.
79701         [BZ #6420]
79702         * malloc/mtrace.c (tr_where): Add additional parameter to point to
79703         symbol info.  Use it instead of calling _dl_addr locally.
79704         (lock_and_info): New function.
79705         (tr_freehook): Call lock_and_info and pass symbol info as additional
79706         parameter to tr_where.
79707         (tr_mallochook): Likewise.
79708         (tr_reallochook): Likewise.
79709         (tr_memalignhook): Likewise.
79711         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
79712         used and couldn't be at all thread-safe.
79714 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
79716         * libio/freopen.c (freopen): Don't close old file descriptor
79717         before the new one is opened.  Instead dup the new file descriptor
79718         to the old one after the new stream is created.
79719         * libio/freopen64.c (freopen64): Likewise.
79720         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
79721         * libio/fileops.c (_IO_new_file_close_it): Handle new
79722         _IO_FLAGS2_NOCLOSE flag.
79723         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
79724         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
79725         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
79726         _IO_FLAGS2_NOCLOSE flag.
79727         * include/unistd.h: Add hidden_proto for dup3.
79728         Define __have_dup3.
79729         * io/dup3.c: Define hidden symbol.
79730         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
79732         [BZ #7101]
79733         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
79734         when an incomplete long option is used.
79735         * posix/tst-getopt_long1.c: New file.
79736         * posix/Makefile (tests): Add tst-getopt_long1.
79738         [BZ #10138]
79739         * scripts/config.guess: Update from autoconf-2.68.
79740         * scripts/config.sub: Likewise.
79742         [BZ #10157]
79743         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
79744         tests into ...
79745         (has_cpuclock): ...this.  New function.
79746         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
79747         macro here based on has_cpuclock code.
79749         [BZ #10149]
79750         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79751         First byte (not low byte) is now always NUL.
79752         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
79754         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79755         Use non-cancelable interfaces.
79757         [BZ #9809]
79758         * locale/iso-639.def: Add entry for Sorani.
79760         [BZ #11901]
79761         * include/stdlib.h: Move include protection to the right place.
79762         Define abort_msg_s.  Declare __abort_msg with it.
79763         * stdlib/abort.c (__abort_msg): Adjust type.
79764         * assert/assert.c (__assert_fail_base): New function.  Majority
79765         of code from __assert_fail.  Allocate memory for __abort_msg with
79766         mmap.
79767         (__assert_fail): Now call __assert_fail_base.
79768         * assert/assert-perr.c: Remove bulk of implementation.  Use
79769         __assert_fail_base.
79770         * include/assert.hL Declare __assert_fail_base.
79771         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
79772         mmap.
79773         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
79775 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
79777         [BZ #11952]
79778         [BZ #12453]
79779         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
79780         until all modules are registered in the DTV.
79781         * elf/Makefile: Add rules to build and run tst-tls19.
79782         * elf/tst-tls19.c: New file.
79783         * elf/tst-tls19mod1.c: New file.
79784         * elf/tst-tls19mod2.c: New file.
79785         * elf/tst-tls19mod3.c: New file.
79786         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
79788         [BZ #12083]
79789         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
79790         correctly.
79792         [BZ #12601]
79793         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
79794         two-byte sequence errors.
79795         * iconvdata/Makefile (tests): Add bug-iconv8.
79796         * iconvdata/bug-iconv8.c: New file.
79798         [BZ #12626]
79799         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
79800         buf2 definition.
79802         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
79804         [BZ #12432]
79805         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
79806         (dummy_getcfa): New function.
79807         (init): Get _Unwind_GetCFA address, use dummy if not found.
79808         (backtrace_helper): In recursion check, also check whether CFA changes.
79809         (__backtrace): Completely initialize arg.
79811         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
79812         storing incomplete byte sequence in state object.  Avoid testing for
79813         guaranteed too small input if we know there is enough data available.
79815 2011-05-11  Andreas Schwab  <schwab@redhat.com>
79817         * Makeconfig (+link-pie): Indent.
79818         * Rules (binaries-pie): Define if $(have-fpie) and
79819         $(build-shared).
79820         (binaries-shared): Also filter out $(binaries-pie).
79821         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
79822         * nscd/Makefile (others-pie): Add nscd.
79823         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
79824         ($(objpfx)nscd): Remove command override.
79825         * login/Makefile (others-pie): Add pt_chown.
79826         ($(objpfx)pt_chown): Remove command override.
79827         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
79828         remove command overrides.
79830 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
79832         * libio/tst_putwc.c: Fix error messages.
79834         [BZ #12724]
79835         * libio/fileops.c (_IO_new_file_close_it): Always flush when
79836         currently writing and seek to current position when not.
79837         * libio/Makefile (tests): Add bug-fclose1.
79838         * libio/bug-fclose1.c: New file.
79840 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
79842         [BZ #12511]
79843         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
79844         don't set DF_1_NODELETE here.
79845         (do_lookup_x): When entering new entry test for copy relocation
79846         and if necessary set DF_1_NODELETE flag.
79847         * elf/tst-unique4.cc: New file.
79848         * elf/tst-unique4.h: New file.
79849         * elf/tst-unique4lib.cc: New file.
79850         * elf/Makefile: Add rules to build and run tst-unique4.
79851         Patch by Piotr Bury <pbury@goahead.com>.
79853 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
79855         [BZ #12052]
79856         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
79858         [BZ #12625]
79859         * misc/mntent_r.c (addmntent): Flush the stream after the output
79861         [BZ #12393]
79862         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
79863         (is_trusted_path_normalize): Skip initial colon.  Append slash
79864         to empty buffer.  Duplicate is_trusted_path code but allow
79865         constructed patch to be prefix.
79866         (is_dst): Allow $ORIGIN followed by /.
79867         (_dl_dst_substitute): Correct clearing of check_for_trusted.
79868         Correct testing of result of is_trusted_path_normalize
79869         (decompose_rpath): Fix warning.
79871 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
79873         [BZ #11257]
79874         * grp/initgroups.c (internal_getgrouplist): When we found the service
79875         list through the initgroups entry in nsswitch.conf do not always
79876         continue on a successful lookup.  Don't always use the
79877         __nss_group_database value if it is set.
79878         * nss/nsswitch.conf (initgroups): Change action for successful db
79879         lookup to continue for compatibility.
79881 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
79883         [BZ #11532]
79884         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
79885         and CP774 modules.
79886         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
79887         and CP774 modules.
79888         * iconvdata/tst-tables.sh: Likewise.
79889         * iconvdata/cp770.c: New file.
79890         * iconvdata/cp771.c: New file.
79891         * iconvdata/cp772.c: New file.
79892         * iconvdata/cp773.c: New file.
79893         * iconvdata/cp774.c: New file.
79894         * iconvdata/testdata/CP770: New file.
79895         * iconvdata/testdata/CP770..UTF8: New file.
79896         * iconvdata/testdata/CP771: New file.
79897         * iconvdata/testdata/CP771..UTF8: New file.
79898         * iconvdata/testdata/CP772: New file.
79899         * iconvdata/testdata/CP772..UTF8: New file.
79900         * iconvdata/testdata/CP773: New file.
79901         * iconvdata/testdata/CP773..UTF8: New file.
79902         * iconvdata/testdata/CP774: New file.
79903         * iconvdata/testdata/CP774..UTF8: New file.
79905         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
79906         END CHARMAP line.
79907         * iconvdata/gen-8bit-gap.sh: Likewise.
79908         * iconvdata/gen-8bit.sh: Likewise.
79910         * locale/iso-639.def: Add ary entry.
79912         [BZ #11258]
79913         * locale/C-translit.h.in: Add U20A1 transliteration.
79915         [BZ #12178]
79916         * locale/iso-639.def: Add wae entry.
79917         Patch by Kevin Bortis <bortis@translate-wae.ch>.
79919         [BZ #12545]
79920         * locale/programs/localedef.c (construct_output_path): Use ssize_t
79921         for n.
79923         [BZ #12711]
79924         * locale/C-translit.h.in: Add entry for U20B9.
79925         Patch by pravin.d.s@gmail.com.
79927 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
79929         [BZ #12713]
79930         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
79931         ENAMETOOLONG use generic getcwd.
79932         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
79933         in rtld.  Use *stat64.
79934         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
79935         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
79936         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
79937         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
79938         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
79939         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
79940         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
79941         __fstatat64 macros.
79942         * include/dirent.h: Add libc_hidden_proto for rewinddir.
79943         * dirent/rewinddir.c: Add libc_hidden_def.
79944         * sysdeps/mach/hurd/rewinddir.c: Likewise.
79945         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
79947         * include/dirent.h (__alloc_dir): Add flags parameter.
79948         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
79949         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
79950         __alloc_dir.
79951         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
79952         from fdopendir if O_CLOEXEC is already set.
79954 2011-03-15  Alan Modra  <amodra@gmail.com>
79956         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
79957         l_tls_firstbyte_offset non-zero.  Save padding offset in
79958         l_tls_firstbyte_offset for later use.
79959         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
79960         freeing static tls block.
79962 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
79964         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
79965         where #ifdef was intended.  The intent is to prevent ARG_MAX from
79966         being defined by the kernel headers.
79968 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
79970         [BZ #12734]
79971         * resolv/resolv.h: Define RES_NOTLDQUERY.
79972         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
79973         no-tld-query and set RES_NOTLDQUERY.
79974         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
79975         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
79976         modern BIND to search name as TLD unless forbidden.
79978 2011-05-07  Petr Baudis  <pasky@suse.cz>
79979             Ulrich Drepper  <drepper@gmail.com>
79981         [BZ #12393]
79982         * elf/dl-load.c (fillin_rpath): Move trusted path check...
79983         (is_trusted_path): ...to here.
79984         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
79985         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
79986         using is_trusted_path_normalize() in setuid scripts.
79988 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
79990         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
79991         __BEGIN/__END_DECLS.
79993 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
79995         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
79996         NSS_STATUS_NOTFOUND if no record was found.
79998 2011-05-05  Andreas Schwab  <schwab@redhat.com>
80000         * sunrpc/Makefile (headers): Add rpc/netdb.h.
80001         (headers-not-in-tirpc): Remove rpc/netdb.h
80002         * resolv/netdb.h: Revert last change.
80004 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
80006         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
80007         circular dependency between libgcc.a and libc.a.
80009 2011-05-05  Andreas Schwab  <schwab@redhat.com>
80011         * resolv/netdb.h: Don't include <rpc/netdb.h>.
80012         * nis/Makefile: Don't install rpcsvc/*.
80013         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
80014         instead of <rpc/types.h>.
80015         (MAXHOSTNAMELEN): Define.
80017 2011-05-03  Andreas Schwab  <schwab@redhat.com>
80019         * elf/ldconfig.c (add_dir): Don't crash on empty path.
80021 2011-04-28  Maciej Babinski  <mbabinski@google.com>
80023         [BZ #12714]
80024         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
80025         gethostbyname4_r when IPv6 results are possible.
80027 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
80029         [BZ #12723]
80030         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
80031         _PC_PIPE_BUF handling.
80033 2011-04-30  Bruno Haible  <bruno@clisp.org>
80035         [BZ #12717]
80036         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
80037         * resolv/netdb.h (getnameinfo): Change type of flags parameter
80038         to 'int'.
80039         * inet/getnameinfo.c (getnameinfo): Likewise.
80041 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
80043         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
80044         to groups setting in database lookup.
80045         * nss/nsswitch.conf: Add initgroups entry.
80047 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
80049         [BZ #12685]
80050         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
80051         mode string.
80052         Patch by Eric Blake <eblake@redhat.com>.
80054 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
80056         * sunrpc/Makefile (need-export-routines): Add svc_run.
80057         (routines): Remove svc_run.
80058         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
80059         * sunrpc/clnt_perr.c (clnt_perrno): Export.
80060         * sunrpc/svc_run.c (svc_run): Likewise.
80061         * sunrpc/svc_udp.c (svcudp_create): Likewise.
80063 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
80065         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
80066         problem in reallocation in last patch.
80068 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
80070         * sunrpc/Makefile: Move inclusion of Rules.
80072 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
80074         * nss/nss_files/files-initgroups.c: New file.
80075         * nss/Makefile (libnss_files-routines): Add files-initgroups.
80076         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
80077         _nss_files_initgroups_dyn.
80079 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
80081         * elf/elf.h (R_ARM_IRELATIVE): Define.
80083 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
80085         * po/ru.po: Update from translation team.
80087 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
80089         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
80090         dependencies.
80092 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
80094         [BZ #12653]
80095         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
80096         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
80097         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
80098         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
80099         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
80101 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
80103         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
80104         differing bytes.
80105         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
80106         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
80107         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
80109 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
80111         [BZ #12420]
80112         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
80113         storing it.
80114         * stdlib/bug-getcontext.c: New file.
80115         * stdlib/Makefile: Add rules to build and run bug-getcontext.
80117 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80119         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
80120         instructions into .machine "z9-109".
80121         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
80122         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
80124 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80126         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
80127         between environment variables and auxiliary vector.
80129 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
80131         * Makefile: Add rules to build linkobj/libc.so.
80132         * include/libc-symbols.h: Define libc_hidden_nolink.
80133         * include/rpc/auth.h: Mark functions which are to be hidden.
80134         * include/rpc/auth_des.h: Likewise.
80135         * include/rpc/auth_unix.h: Likewise.
80136         * include/rpc/clnt.h: Likewise.
80137         * include/rpc/des_crypt.h: Likewise.
80138         * include/rpc/key_prot.h: Likewise.
80139         * include/rpc/pmap_clnt.h: Likewise.
80140         * include/rpc/pmap_prot.h: Likewise.
80141         * include/rpc/pmap_rmt.h: Likewise.
80142         * include/rpc/rpc_msg.h: Likewise.
80143         * include/rpc/svc.h: Likewise.
80144         * include/rpc/svc_auth.h: Likewise.
80145         * include/rpc/xdr.h: Likewise.
80146         * nis/Makefile: Link all DSOs against linkobj/libc.so.
80147         * nss/Makefile: Likewise.
80148         * sunrpc/Makefile: Don't install headers.  Build library with normal
80149         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
80150         * sunrpc/auth_des.c: Hide exported symbols by default, export some
80151         for the compat linking library.  Remove use of INTDEF/INTUSE.
80152         * sunrpc/auth_none.c: Likewise.
80153         * sunrpc/auth_unix.c: Likewise.
80154         * sunrpc/authdes_prot.c: Likewise.
80155         * sunrpc/authuxprot.c: Likewise.
80156         * sunrpc/clnt_gen.c: Likewise.
80157         * sunrpc/clnt_perr.c: Likewise.
80158         * sunrpc/clnt_raw.c: Likewise.
80159         * sunrpc/clnt_simp.c: Likewise.
80160         * sunrpc/clnt_tcp.c: Likewise.
80161         * sunrpc/clnt_udp.c: Likewise.
80162         * sunrpc/clnt_unix.c: Likewise.
80163         * sunrpc/des_crypt.c: Likewise.
80164         * sunrpc/des_soft.c: Likewise.
80165         * sunrpc/get_myaddr.c: Likewise.
80166         * sunrpc/key_call.c: Likewise.
80167         * sunrpc/key_prot.c: Likewise.
80168         * sunrpc/netname.c: Likewise.
80169         * sunrpc/pm_getmaps.c: Likewise.
80170         * sunrpc/pm_getport.c: Likewise.
80171         * sunrpc/pmap_clnt.c: Likewise.
80172         * sunrpc/pmap_prot.c: Likewise.
80173         * sunrpc/pmap_prot2.c: Likewise.
80174         * sunrpc/pmap_rmt.c: Likewise.
80175         * sunrpc/publickey.c: Likewise.
80176         * sunrpc/rpc_cmsg.c: Likewise.
80177         * sunrpc/rpc_common.c: Likewise.
80178         * sunrpc/rpc_dtable.c: Likewise.
80179         * sunrpc/rpc_prot.c: Likewise.
80180         * sunrpc/rpc_thread.c: Likewise.
80181         * sunrpc/rtime.c: Likewise.
80182         * sunrpc/svc.c: Likewise.
80183         * sunrpc/svc_auth.c: Likewise.
80184         * sunrpc/svc_authux.c: Likewise.
80185         * sunrpc/svc_raw.c: Likewise.
80186         * sunrpc/svc_run.c: Likewise.
80187         * sunrpc/svc_simple.c: Likewise.
80188         * sunrpc/svc_tcp.c: Likewise.
80189         * sunrpc/svc_udp.c: Likewise.
80190         * sunrpc/svc_unix.c: Likewise.
80191         * sunrpc/svcauth_des.c: Likewise.
80192         * sunrpc/xcrypt.c: Likewise.
80193         * sunrpc/xdr.c: Likewise.
80194         * sunrpc/xdr_array.c: Likewise.
80195         * sunrpc/xdr_float.c: Likewise.
80196         * sunrpc/xdr_intXX_t.c: Likewise.
80197         * sunrpc/xdr_mem.c: Likewise.
80198         * sunrpc/xdr_rec.c: Likewise.
80199         * sunrpc/xdr_ref.c: Likewise.
80200         * sunrpc/xdr_sizeof.c: Likewise.
80201         * sunrpc/xdr_stdio.c: Likewise.
80203 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
80205         [BZ #12650]
80206         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
80207         * sysdeps/ia64/dl-tls.h: Likewise.
80208         * sysdeps/powerpc/dl-tls.h: Likewise.
80209         * sysdeps/s390/dl-tls.h: Likewise.
80210         * sysdeps/sh/dl-tls.h: Likewise.
80211         * sysdeps/sparc/dl-tls.h: Likewise.
80212         * sysdeps/x86_64/dl-tls.h: Likewise.
80213         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
80215 2011-03-14  Andreas Schwab  <schwab@redhat.com>
80217         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
80218         rpath element also skip the following colon.
80219         (expand_dynamic_string_token): Add is_path parameter and pass
80220         down to DL_DST_REQUIRED and _dl_dst_substitute.
80221         (decompose_rpath): Call expand_dynamic_string_token with
80222         non-zero is_path.  Ignore empty rpaths.
80223         (_dl_map_object_from_fd): Call expand_dynamic_string_token
80224         with zero is_path.
80226 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
80228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
80229         Make cancelable.
80231 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
80233         [BZ #12655]
80234         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
80235         Patch by Filipe David Manana <fdmanana@apache.org>.
80237 2011-04-07  Andreas Schwab  <schwab@redhat.com>
80239         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
80240         Maintain aligned stack.
80241         (CHECK_RSP): Remove unused macro.
80243 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
80245         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
80246         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
80248 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
80250         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
80252         * include/features.h: Mention __USE_XOPEN2K8 in comment.
80254 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
80256         [BZ #12518]
80257         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
80258         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
80259         * sysdeps/x86_64/memmove.c: New file.
80260         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
80261         (memcpy): Renamed to ...
80262         (__new_memcpy): This.
80263         (memcpy): Provide GLIBC_2_14 memcpy.
80264         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
80265         (memcpy): Provide GLIBC_2_2_5 memcpy.
80267 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
80269         [BZ #12631]
80270         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
80272 2011-03-30  Andreas Schwab  <schwab@redhat.com>
80274         * misc/syncfs.c: New file.
80275         * misc/Makefile (routines): Add syncfs.
80276         * posix/unistd.h: Declare syncfs.
80277         * sysdeps/unix/syscalls.list: Add syncfs.
80279 2011-04-01  Andreas Schwab  <schwab@redhat.com>
80281         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
80282         open_by_handle_at.
80283         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80284         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80285         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80286         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80287         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80288         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
80289         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80291 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
80293         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
80294         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80295         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
80296         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80297         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80298         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80299         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80301         * io/Makefile: Compile fallocate.c, fallocate64.c, and
80302         sync_file_range.c with -fexceptions.
80303         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
80304         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
80305         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
80306         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
80307         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
80308         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
80309         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
80310         sync_file_range as cancellation point
80311         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
80312         now a wrapper around __call_sync_file_range with cancellation handling.
80313         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
80314         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
80315         function name to __call_sync_file_range.
80316         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
80317         Add call_sync_file_range.
80319 2011-04-01  Andreas Schwab  <schwab@redhat.com>
80321         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80322         bits/timex.h.
80324 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
80326         * iconv/iconv.h: Fix typo in comment.
80327         * io/fcntl.h: Likewise.
80328         * libio/stdio.h: Likewise.
80329         * posix/spawn.h: Likewise.
80330         * posix/unistd.h: Likewise.
80331         * stdlib/stdlib.h: Likewise.
80332         * time/time.h: Likewise.
80333         * wcsmbs/wchar.h: Likewise.
80335         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
80336         open_by_handle): Add.
80337         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
80338         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
80339         Augment a few comments.
80340         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80341         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80342         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80343         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80344         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80345         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
80346         open_by_handle.
80348         * io/fcntl.h (AT_EMPTY_PATH): Define.
80350 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
80352         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
80353         * sysdeps/unix/sysv/linux/bits/time.h: New file.
80354         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
80355         to...
80356         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
80357         * Versions.def: Add GLIBC_2.14.
80358         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
80359         Export.
80361 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
80363         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
80364         round counter.
80365         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
80367 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80369         [BZ #12597]
80370         * string/test-strncmp.c (do_page_test): New function.
80371         (check2): Likewise.
80372         (test_main): Call check2.
80373         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
80375 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
80377         [BZ #12587]
80378         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
80379         Handle cache information in CPU leaf 4.
80380         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
80382 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
80384         [BZ #12583]
80385         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
80386         character representation.
80387         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
80389 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
80391         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
80392         END(__isnan) to END(__isnanf) to match function entry point/label
80393         EALIGN(__isnanf,...).
80395 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
80397         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
80399 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
80401         [BZ #12510]
80402         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
80403         copy from the symbol referenced in the relocation to initialize the
80404         used variable.
80405         Patch by Piotr Bury <pbury@goahead.com>.
80406         * elf/Makefile: Add rules to build and tst-unique3.
80407         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
80408         * elf/tst-unique3.cc: New file.
80409         * elf/tst-unique3.h: New file.
80410         * elf/tst-unique3lib.cc: New file.
80411         * elf/tst-unique3lib2.cc: New file.
80413         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
80415 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
80417         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
80418         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
80419         to _start.
80421 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
80423         * elf/dl-load.c (_dl_map_object): If we are looking for the first
80424         to-be-loaded object along a path to loader is ld.so.
80426 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
80427             Ulrich Drepper  <drepper@gmail.com>
80429         * sysdeps/x86_64/memset.S: After aligning destination, code
80430         branches to different locations depending on the value of
80431         misalignment, when multiarch is enabled. Fix this.
80433 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
80435         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
80436         Set _x86_64_preferred_memory_instruction for AMD processsors.
80437         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80438         Set bit_Prefer_SSE_for_memop for AMD processors.
80440 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
80442         * libio/fmemopen.c (fmemopen): Optimize a bit.
80444 2011-03-03  Andreas Schwab  <schwab@redhat.com>
80446         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
80448 2011-03-03  Roland McGrath  <roland@redhat.com>
80450         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
80452 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
80454         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
80455         __bzero_ultra1 instead of __memset_ultra1.
80457 2011-02-23  Andreas Schwab  <schwab@redhat.com>
80458             Ulrich Drepper  <drepper@gmail.com>
80460         [BZ #12509]
80461         * include/link.h (struct link_map): Add l_orig_initfini.
80462         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
80463         returning unsuccessfully.
80464         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
80465         close of a file loaded at startup, restore the original l_initfini
80466         list.
80467         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
80468         list, store the pointer.
80469         * elf/Makefile ($(objpfx)noload-mem): New rule.
80470         (noload-ENV): Define.
80471         (tests): Add $(objpfx)noload-mem.
80472         * elf/noload.c: Include <memcheck.h>.
80473         (main): Call mtrace.  Close all opened handles.
80475 2011-02-17  Andreas Schwab  <schwab@redhat.com>
80477         [BZ #12454]
80478         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
80479         dependencies are missing.
80481 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80483         Fix __if_freereq crash: Unlike the generic version which uses free,
80484         Hurd needs munmap.
80485         * sysdeps/mach/hurd/ifreq.h: New file.
80487 2011-01-27  Petr Baudis  <pasky@suse.cz>
80488             Ulrich Drepper  <drepper@gmail.com>
80490         [BZ 12445]#
80491         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
80492         to extend_alloca().
80493         * stdio-common/bug23.c: New file.
80494         * stdio-common/Makefile (tests): Add bug23.
80496 2010-09-28  Andreas Schwab  <schwab@redhat.com>
80497             Ulrich Drepper  <drepper@gmail.com>
80499         [BZ #12489]
80500         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
80501         before performing relro protection.  At old place add assertion
80502         to make sure nothing changed.
80504 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
80505             Glauber de Oliveira Costa  <glommer@gmail.com>
80507         * elf/elf.h: Add new ARM TLS relocs.
80509 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
80511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
80512         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
80513         cast from r3.
80514         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
80515         'tests' variable.
80516         * sysdeps/wordsize-64/tst-writev.c: New file.
80518 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
80520         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
80521         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
80522         insns in _dl_start to prevent a TOC reference before relocs are
80523         resolved.
80525 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
80527         [BZ #12469]
80528         * Makeconfig: Remove RANLIB definition.
80529         * Makerules: Don't use RANLIB.
80530         * aclocal.m4: Remove ranlib test.
80531         * configure.in: No need to check for ranlib.
80532         * elf/rtld-Rules: Don't use RANLIB.
80534 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80536         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
80537         protection macro.
80538         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
80539         inclusion protection macro.
80541         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
80542         SIGRTMIN and SIGRTMAX and print information in that case only when
80543         SIGRTMIN is defined.
80545 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
80547         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
80548         arginfo fn returning -1.
80550         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
80551         and thousands string is zero terminated.
80553 2011-02-03  Andreas Schwab  <schwab@redhat.com>
80555         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
80556         sysdeps/unix/sysv/linux/bits/socket.h.
80558 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80560         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
80561         (__CPU_COUNT): Remove old macros.
80562         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
80563         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
80564         (__CPU_ALLOC, __CPU_FREE): Add macros.
80565         (__sched_cpualloc, __sched_cpufree): Add declarations.
80567 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
80569         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
80570         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
80571         * nscd/aicache.c (addhstaiX): Return timeout of added value.
80572         (readdhstai): Return value of addhstaiX call.
80573         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
80574         (addgrbyX): Return value returned by cache_addgr.
80575         (readdgrbyname): Return value returned by addgrbyX.
80576         (readdgrbygid): Likewise.
80577         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
80578         (addpwbyX): Return value returned by cache_addpw.
80579         (readdpwbyname): Return value returned by addhstbyX.
80580         (readdpwbyuid): Likewise.
80581         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
80582         (addservbyX): Return value returned by cache_addserv.
80583         (readdservbyname): Return value returned by addservbyX:
80584         (readdservbyport): Likewise.
80585         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
80586         (addhstbyX): Return value returned by cache_addhst.
80587         (readdhstbyname): Return value returned by addhstbyX.
80588         (readdhstbyaddr): Likewise.
80589         (readdhstbynamev6): Likewise.
80590         (readdhstbyaddrv6): Likewise.
80591         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
80592         (readdinitgroups): Return value returned by addinitgroupsX.
80593         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
80594         (prune_cache): Keep track of timeout value of re-added entries.
80595         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
80596         * nscd/nscd.h: Adjust prototypes of readd* functions.
80598 2011-02-04  Roland McGrath  <roland@redhat.com>
80600         * nis/nis_server.c (nis_servstate): Use the right name for 0.
80601         (nis_stats): Likewise.
80602         * nis/nis_modify.c (nis_modify): Likewise.
80603         * nis/nis_remove.c (nis_remove): Likewise.
80604         * nis/nis_add.c (nis_add): Likewise.
80606         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
80608         * posix/fnmatch_loop.c: Add some consts.
80610         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
80612 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
80614         [BZ #12460]
80615         * config.make.in (config-cflags-novzeroupper): Define.
80616         * configure.in: Substitute libc_cv_cc_novzeroupper.
80617         * elf/Makefile (AVX-CFLAGS): Define.
80618         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
80619         (CFLAGS-tst-auditmod4a.c): Likewise.
80620         (CFLAGS-tst-auditmod4b.c): Likewise.
80621         (CFLAGS-tst-auditmod6b.c): Likewise.
80622         (CFLAGS-tst-auditmod6c.c): Likewise.
80623         (CFLAGS-tst-auditmod7b.c): Likewise.
80624         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
80626 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
80628         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
80629         function to the callback.
80630         Patch partly by Jiri Olsa <jolsa@redhat.com>.
80632 2011-02-02  Andreas Schwab  <schwab@redhat.com>
80634         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
80635         of errno.
80637 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
80639         [BZ #11724]
80640         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
80641         of constructors.
80642         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
80643         of destructors.
80644         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
80646         [BZ #11724]
80647         * elf/Makefile: Add rules to build and run new test.
80648         * elf/tst-initorder.c: New file.
80649         * elf/tst-initorder.exp: New file.
80650         * elf/tst-initordera1.c: New file.
80651         * elf/tst-initordera2.c: New file.
80652         * elf/tst-initordera3.c: New file.
80653         * elf/tst-initordera4.c: New file.
80654         * elf/tst-initorderb1.c: New file.
80655         * elf/tst-initorderb2.c: New file.
80656         * elf/tst-order-a1.c: New file.
80657         * elf/tst-order-a2.c: New file.
80658         * elf/tst-order-a3.c: New file.
80659         * elf/tst-order-a4.c: New file.
80660         * elf/tst-order-b1.c: New file.
80661         * elf/tst-order-b2.c: New file.
80662         * elf/tst-order-main.c: New file.
80663         New test case by George Gensure <werkt0@gmail.com>.
80665 2010-10-01  Andreas Schwab  <schwab@redhat.com>
80667         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
80668         decoding ACE if AI_CANONIDN.
80670 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
80672         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
80674 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
80676         * version.h (RELEASE): Bump for 2.13 release.
80677         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
80679         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
80681         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
80682         MADV_NOHUGEPAGE.
80683         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
80684         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
80685         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
80686         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
80687         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
80688         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
80690         * posix/getconf.c: Update copyright year.
80691         * catgets/gencat.c: Likewise.
80692         * csu/version.c: Likewise.
80693         * debug/catchsegv.sh: Likewise.
80694         * debug/xtrace.sh: Likewise.
80695         * elf/ldconfig.c: Likewise.
80696         * elf/ldd.bash.in: Likewise.
80697         * elf/sprof.c (print_version): Likewise.
80698         * iconv/iconv_prog.c: Likewise.
80699         * iconv/iconvconfig.c: Likewise.
80700         * locale/programs/locale.c: Likewise.
80701         * locale/programs/localedef.c: Likewise.
80702         * malloc/memusage.sh: Likewise.
80703         * malloc/mtrace.pl: Likewise.
80704         * nscd/nscd.c (print_version): Likewise.
80705         * nss/getent.c: Likewise.
80707         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
80708         PF_CAIF, and PF_ALG.
80709         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80711 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
80713         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
80714         (modules-names): Use them.
80715         (ifunc-test-modules, ifunc-pie-tests): Define.
80716         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
80717         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
80718         (test-extras): Likewise.
80719         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
80720         $(compile-command.c).
80721         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
80722         (all-built-dso): Define.
80723         (check-textrel.out, check-execstack.out): Depend on it.
80725         * configure.in: Don't override --enable-multi-arch.
80727 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
80729         [BZ #6812]
80730         * nscd/hstcache.c (tryagain): Define.
80731         (cache_addhst): Return tryagain not notfound for temporary errors.
80732         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
80733         failed.
80735 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
80737         [BZ #10563]
80738         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
80739         to make the syscall.
80740         * sysdeps/unix/sysv/linux/setgroups.c: New file.
80742         [BZ #12378]
80743         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
80744         and fall back to matching as normal character if the string ends before
80745         the matching ']' is found.  This is what POSIX requires.
80746         * posix/testfnm.c: Adjust test result.
80747         * posix/globtest.sh: Adjust test result.  Add new test.
80748         * posix/tst-fnmatch.input: Likewise.
80749         * posix/tst-fnmatch2.c: Add new test.
80751 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
80753         * elf/Makefile (check-execstack): Revert last change.  Depend on
80754         check-execstack.h.
80755         (check-execstack.h): New target.
80756         (generated): Add check-execstack.h.
80757         * elf/check-execstack.c: Include "check-execstack.h".
80758         (main): Revert last change.
80759         (handle_file): Return zero if GNU_STACK is absent and
80760         DEFAULT_STACK_PERMS doesn't include PF_X.
80762 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
80764         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
80765         in child fails because the descriptor is already closed.
80766         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
80767         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
80768         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
80770         [BZ #12397]
80771         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
80772         syscall.
80774         [BZ #10484]
80775         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
80776         temporary buffer used to handle multi lookups locally.
80777         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
80779 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
80781         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
80782         loader is ld.so.
80784 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
80786         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
80787         alignment for SSE2.
80789 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
80791         [BZ #12394]
80792         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
80793         characters.  When rounding increased number of integer digits recompute
80794         number of groups.
80795         * stdio-common/tst-grouping.c: New file.
80796         * stdio-common/Makefile: Add rules to build and run tst-grouping.
80798 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
80800         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
80801         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
80803         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
80804         void.
80805         * bits/select.h: Likewise.
80807 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
80809         * po/ja.po: Update from translation team.
80811 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
80813         [BZ #11155]
80814         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
80815         implementation just like for lxstat, fxstatat, et al.
80817 2010-12-27  Jim Meyering  <meyering@redhat.com>
80819         [BZ #12348]
80820         * posix/regexec.c (build_trtable): Return failure indication upon
80821         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
80823 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
80825         [BZ #12201]
80826         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
80827         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
80828         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
80829         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
80831         [BZ #12207]
80832         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
80834         [BZ #12204]
80835         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
80836         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
80838 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
80840         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
80841         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
80842         script has SORT_BY_INIT_PRIORITY.
80843         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
80844         NO_CTORS_DTORS_SECTIONS is defined.
80845         * elf/soinit.c: Likewise.
80846         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
80847         NO_CTORS_DTORS_SECTIONS is defined.
80848         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
80849         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
80850         * sysdeps/sh/init-first.c: Likewise.
80851         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
80853 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
80855         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
80856         always use the slow path.
80858 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
80860         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
80861         similar rule which adds the sysdep directories to the header search in
80862         order to pick up the correct platform stackinfo.h.
80863         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
80864         perform test if it is, otherwise return successfully without testing.
80865         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
80866         DEFAULT_STACK_PERMS define in stackinfo.h.
80867         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
80868         defined in stackinfo.h.
80869         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
80870         DEFAULT_STACK_PERMS defined in stackinfo.h.
80871         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
80872         * sysdeps/ia64/stackinfo.h: Likewise.
80873         * sysdeps/s390/stackinfo.h: Likewise.
80874         * sysdeps/sh/stackinfo.h: Likewise.
80875         * sysdeps/sparc/stackinfo.h: Likewise.
80876         * sysdeps/x86_64/stackinfo.h: Likewise.
80877         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
80878         PF_X for powerpc64.  Retain PF_X for powerpc32.
80880 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
80882         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
80883         accurately.
80884         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
80885         GETDENTS_64BIT_ALIGNED.
80887 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
80889         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
80891 2010-12-10  Andreas Schwab  <schwab@redhat.com>
80893         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
80894         _GNU_SOURCE.
80896         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
80897         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
80898         Remove __restrict.
80899         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
80900         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
80902 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
80904         [BZ #11655]
80905         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
80906         are initialized.
80908 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
80910         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
80912 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
80914         * po/it.po: Update from translation team.
80916 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
80918         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
80919         unused codes.
80921 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
80923         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
80925 2010-11-24  Andreas Schwab  <schwab@redhat.com>
80927         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
80928         specially.
80929         (gaih_getanswer_slice): Likewise.
80931 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
80933         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
80935 2010-05-31  Petr Baudis  <pasky@suse.cz>
80937         [BZ #11149]
80938         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
80939         silently even in the chroot mode.
80941 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
80943         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
80944         last patch a bit.  Pretty printing
80946 2010-05-31  Petr Baudis <pasky@suse.cz>
80948         [BZ #10085]
80949         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
80950         initialization of skip_initgroups_dyn.
80952 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
80954         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
80955         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
80957 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
80959         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
80961 2010-11-11  Andreas Schwab  <schwab@redhat.com>
80963         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
80964         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
80965         (tst-fnmatch-ENV): Set MALLOC_TRACE.
80966         ($(objpfx)tst-fnmatch-mem): New rule.
80967         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
80968         * posix/tst-fnmatch.c (main): Call mtrace.
80970 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
80972         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80973         Support Intel processor model 6 and model 0x2c.
80975 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
80977         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
80978           signed comparison.
80980 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
80982         [BZ #12205]
80983         * string/test-strncasecmp.c (check_result): New function.
80984         (do_one_test): Use it.
80985         (check1): New function.
80986         (test_main): Use it.
80987         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
80988         Support strcasecmp and strncasecmp.
80990 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
80992         [BZ #12194]
80993         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
80994         * sysdeps/x86_64/bits/byteswap.h: Likewise.
80996 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
80998         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
80999         IFUNC support.
81000         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81001         memset-x86-64.
81002         * sysdeps/x86_64/multiarch/bzero.S: New file.
81003         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
81004         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
81005         * sysdeps/x86_64/multiarch/memset.S: New file.
81006         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
81007         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81008         Set bit_Prefer_SSE_for_memop for Intel processors.
81009         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
81010         Define.
81011         (index_Prefer_SSE_for_memop): Define.
81012         (HAS_PREFER_SSE_FOR_MEMOP): Define.
81014 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
81016         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
81017         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
81019 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
81021         [BZ #12191]
81022         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
81023         (__x86_64_raw_data_cache_size_half): Likewise.
81024         (__x86_64_raw_shared_cache_size): Likewise.
81025         (__x86_64_raw_shared_cache_size_half): Likewise.
81027         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
81028         (__x86_64_raw_data_cache_size_half): Likewise.
81029         (__x86_64_raw_shared_cache_size): Likewise.
81030         (__x86_64_raw_shared_cache_size_half): Likewise.
81031         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
81032         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
81033         and __x86_64_raw_shared_cache_size_half.  Round
81034         __x86_64_data_cache_size_half, __x86_64_data_cache_size
81035         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
81036         to multiple of 256 bytes.
81038 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
81040         [BZ #12167]
81041         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
81042         of inacessible symlinks.  Verify result of symlink before returning it.
81043         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
81044         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
81046 2010-10-28  Erich Ritz  <erichritz@gmail.com>
81048         * math/math.h (isinf): Fix typo in comment.
81050 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
81052         * po/da.po: Update from translation team.
81054 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
81056         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
81057         is added to the list.
81059 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81060             Ulrich Drepper  <drepper@gmail.com>
81062         * elf/dl-object.c (_dl_new_object): Don't append the new object to
81063         the global list here.  Move code to...
81064         (_dl_add_to_namespace_list): ...here.  New function.
81065         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
81066         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
81067         * elf/dl-load.c (lose): Don't remove the element from the list.
81068         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
81069         (_dl_map_object): Likewise.
81071 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
81073         [BZ #12159]
81074         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
81075         into all bytes of SSE register.
81076         Patch by Richard Li <richardpku@gmail.com>.
81078 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
81080         [BZ #12140]
81081         * malloc/malloc.c (_int_free): Fill correct number of bytes when
81082         perturbing.
81084 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
81086         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
81087         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
81088         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
81089         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
81090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
81091         submachine.
81092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
81094 2010-10-22  Andreas Schwab  <schwab@redhat.com>
81096         * include/dlfcn.h (__RTLD_SECURE): Define.
81097         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
81098         mode & __RTLD_SECURE instead.
81099         (open_path): Rename preloaded parameter to secure.
81100         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
81101         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
81102         * elf/dl-deps.c (openaux): Likewise.
81103         * elf/rtld.c (struct map_args): Remove is_preloaded.
81104         (map_doit): Don't use it.
81105         (dl_main): Likewise.
81106         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
81107         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
81109 2010-09-09  Andreas Schwab  <schwab@redhat.com>
81111         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
81112         (sysd-rules-targets): Remove duplicates.
81113         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
81114         rtld-%.$o dependency.
81116 2010-10-18  Andreas Schwab  <schwab@redhat.com>
81118         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
81119         _dl_map_object do it.
81121 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
81123         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
81124         fast fma builtins, define the macros in the C99 standard.
81125         (FP_FAST_FMAF): Likewise.
81126         (FP_FAST_FMAL): Likewise.
81127         * sysdeps/x86_64/bits/mathdef.h: Likewise.
81129         * bits/mathdef.h: Update copyright year.
81130         * sysdeps/powerpc/bits/mathdef.h: Likewise.
81132 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
81134         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
81135         builtins, define the macros in the C99 standard.
81136         (FP_FAST_FMAF): Likewise.
81137         (FP_FAST_FMAL): Likewise.
81138         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
81139         multiply/add.
81140         (FP_FAST_FMAF): Likewise.
81142 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
81144         [BZ #3268]
81145         * math/libm-test.inc (fma_test): Some new testcases.
81146         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
81147         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
81148         y and infinite z.  Do multiplication by C already in long double.
81149         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
81150         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
81151         y and infinite z.  Do bitwise or of inexact bit into u.d.
81152         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
81153         * sysdeps/i386/fpu/s_fmaf.S: Removed.
81154         * sysdeps/i386/fpu/s_fma.S: Removed.
81155         * sysdeps/i386/fpu/s_fmal.S: Removed.
81157 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
81159         [BZ #3268]
81160         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
81161         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
81162         computation is not scheduled after fetestexcept.  Fix value
81163         of minimum denormal long double.
81165 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
81167         [BZ #3268]
81168         * math/libm-test.inc (fma_test): Add some more tests.
81169         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
81170         correctly.
81172 2010-10-15  Andreas Schwab  <schwab@redhat.com>
81174         * scripts/data/localplt-s390-linux-gnu.data: New file.
81175         * scripts/data/localplt-s390x-linux-gnu.data: New file.
81177 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
81179         [BZ #3268]
81180         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
81181         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
81182         instead of dbl-64.
81183         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
81184         inlines.
81185         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
81186         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
81187         if one of x and y is very large and the other is subnormal.
81188         * sysdeps/s390/fpu/s_fmaf.c: New file.
81189         * sysdeps/s390/fpu/s_fma.c: New file.
81190         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
81191         * sysdeps/powerpc/fpu/s_fma.S: New file.
81192         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
81193         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
81194         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
81196 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
81198         [BZ #3268]
81199         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
81200         fma tests.
81201         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
81202         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
81203         * sysdeps/i386/i686/multiarch/s_fma.c: Include
81204         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
81205         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
81206         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
81207         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
81209 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
81211         [BZ #12078]
81212         * posix/regcomp.c (parse_branch): One more memory leak plugged.
81213         * posix/bug-regex31.input: Add test case.
81215 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
81217         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
81218         * posix/bug-regex31.input: New file.
81220         [BZ #12078]
81221         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
81222         (parse_sub_exp): Fix last change, use postorder.
81224         * posix/bug-regex31.c: New file.
81225         * posix/Makefile: Add rules to build and run bug-regex31.
81227         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
81229         [BZ #12078]
81230         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
81232         [BZ #12108]
81233         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
81234         to have entries in sys_siglist.
81236         [BZ #12093]
81237         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
81238         be NULL.
81240 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
81242         [BZ #3268]
81243         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
81244         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
81245         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
81246         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
81247         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
81248         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
81249         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
81250         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
81251         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
81252         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
81253         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
81254         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
81255         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
81256         * math/ftestexcept.c (fetestexcept): Likewise.
81257         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
81258         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
81259         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
81260         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
81261         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
81262         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
81263         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
81265 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
81267         [BZ #12107]
81268         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
81269         newline.
81271 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
81273         * string/bug-strstr1.c: New file.
81274         * string/Makefile: Add rules to build and run bug-strstr1.
81276 2010-10-05  Eric Blake  <eblake@redhat.com>
81278         [BZ #12092]
81279         * string/str-two-way.h (two_way_long_needle): Always clear memory
81280         when skipping input due to the shift table.
81282 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
81284         [BZ #12005]
81285         * malloc/mcheck.c: Handle large requests.
81287         [BZ #12077]
81288         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
81289         for strncmp and strncasecmp.
81290         * string/stratcliff.c: Add tests for strcmp and strncmp.
81291         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
81293 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81295         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
81296         __set_fpscr.
81298 2010-09-30  Andreas Jaeger  <aj@suse.de>
81300         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
81301         (CGROUP_SUPER_MAGIC): Define.
81302         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
81303         Handle btrfs and cgroup file systems.
81304         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
81305         Likewise.
81307 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
81309         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
81310         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
81312 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81314         [BZ #12067]
81315         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
81316         trying to locate the ELF header.
81318 2010-09-27  Andreas Schwab  <schwab@redhat.com>
81320         [BZ #11611]
81321         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
81322         Mask out sign-bit copies when constructing f_fsid.
81324 2010-09-24  Petr Baudis <pasky@suse.cz>
81326         * debug/stack_chk_fail_local.c: Add missing licence exception.
81327         * debug/warning-nop.c: Likewise.
81329 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
81331         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
81332         implementing getdents64 using getdents syscall, set d_type if
81333         __ASSUME_GETDENTS32_D_TYPE.
81335 2010-09-16  Andreas Schwab  <schwab@redhat.com>
81337         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
81338         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
81340 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
81342         [BZ #12037]
81343         * posix/unistd.h: Undo change of feature selection for ftruncate from
81344         2010-01-11.
81346 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
81348         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
81349         detection.
81351 2010-09-20  Andreas Schwab  <schwab@redhat.com>
81353         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
81354         fanotify_mark.
81355         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
81357 2010-09-14  Andreas Schwab  <schwab@redhat.com>
81359         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
81360         variables after CHECK_SP call.
81361         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
81363 2010-09-13  Andreas Schwab  <schwab@redhat.com>
81364             Ulrich Drepper  <drepper@redhat.com>
81366         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
81367         re-relocationg ld.so.
81368         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
81369         _dl_init_paths call.
81370         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
81371         here anymore.
81373 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
81375         * resolv/res_init.c (__res_vinit): Count the default server we added.
81377 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
81378             Ulrich Drepper  <drepper@redhat.com>
81380         [BZ #11968]
81381         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
81382         (____longjmp_chk): Use %ebx for saving value across system call.
81383         Add unwind info.
81385 2010-09-06  Andreas Schwab  <schwab@redhat.com>
81387         * manual/Makefile: Don't mix pattern rules with normal rules.
81389 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
81391         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
81392         operation.
81393         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
81394         * libio/iofopncook.c (_IO_cookie_init): Likewise.
81395         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
81396         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
81397         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81398         Likewise.
81400 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
81402         [BZ #11979]
81403         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
81404         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
81406 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
81408         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
81409         * sysdeps/x86_64/addmul_1.S: Likewise.
81410         * sysdeps/x86_64/lshift.S: Likewise.
81411         * sysdeps/x86_64/mul_1.S: Likewise.
81412         * sysdeps/x86_64/rshift.S: Likewise.
81413         * sysdeps/x86_64/sub_n.S: Likewise.
81414         * sysdeps/x86_64/submul_1.S: Likewise.
81416 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81418         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
81419         Define __sched_param instead of SCHED_* and sched_param when
81420         <bits/sched.h> is included with __need_schedparam defined.
81421         * bits/sched.h [__need_schedparam]
81422         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
81423         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
81424         (__defined_schedparam): Define to 1.
81425         (__sched_param): New structure, identical to sched_param.
81426         (__need_schedparam): Undefine.
81428 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
81430         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
81431         (epoll_create1): Declare.
81433         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
81435 2010-08-31  Andreas Schwab  <schwab@redhat.com>
81437         [BZ #7066]
81438         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
81439         shifting retval into place.
81441 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
81443         * nis/rpcsvc/nis.h: Update copyright notice.
81444         * nis/rpcsvc/nis.x: Likewise.
81445         * nis/rpcsvc/nis_callback.h: Likewise.
81446         * nis/rpcsvc/nis_callback.x: Likewise.
81447         * nis/rpcsvc/nis_object.x: Likewise.
81448         * nis/rpcsvc/nis_tags.h: Likewise.
81449         * nis/rpcsvc/yp.h: Likewise.
81450         * nis/rpcsvc/yp.x: Likewise.
81451         * nis/rpcsvc/ypupd.h: Likewise.
81452         * nis/yp_xdr.c: Likewise.
81453         * nis/ypupdate_xdr.c: Likewise.
81455         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
81456         mainly the body of pmap_getport.  Add parameters to specify timeouts.
81457         (pmap_getport): Use __libc_rpc_getport.
81458         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
81459         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
81460         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
81462 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
81464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
81465         fanotify_mark.
81467 2010-08-27  Roland McGrath  <roland@redhat.com>
81469         * sysdeps/i386/i686/multiarch/Makefile
81470         (CFLAGS-varshift.c): New variable.
81472 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
81474         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
81475         * sysdeps/i386/i686/multiarch/varshift.c: New file.
81477         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
81479         * sysdeps/x86_64/strlen.S: Minimal code improvement.
81481 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
81483         * sysdeps/x86_64/strlen.S: Unroll the loop.
81484         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81485         strlen-sse2 strlen-sse2-bsf.
81486         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
81487         __strlen_no_bsf if bit_Slow_BSF is set.
81488         (__strlen_sse42): Removed.
81489         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
81490         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
81492 2010-08-25  Roland McGrath  <roland@redhat.com>
81494         * sysdeps/x86_64/multiarch/varshift.S: File removed.
81495         * sysdeps/x86_64/multiarch/varshift.c: New file.
81496         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
81497         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
81498         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
81499         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
81501 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
81503         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81504         strlen-sse2 strlen-sse2-bsf.
81505         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
81506         __strlen_sse2_bsf if bit_Slow_BSF is unset.
81507         (__strlen_sse2): Removed.
81508         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
81509         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
81510         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
81511         bit_Slow_BSF for Atom.
81512         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
81513         (index_Slow_BSF): Define.
81514         (HAS_SLOW_BSF): Define.
81516 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
81518         [BZ #10851]
81519         * resolv/res_init.c (__res_vinit): When no server address at all
81520         is given default to loopback.
81522 2010-08-24  Roland McGrath  <roland@redhat.com>
81524         * configure.in: Remove config-name.h generation.
81525         * configure: Regenerated.
81526         * config-name.in: File removed.
81527         * scripts/config-uname.sh: New file.
81528         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
81529         ($(objdir)config-name.h): New target.
81531         * sunrpc/rpc_parse.h: Avoid nested comment.
81533 2010-08-24  Richard Henderson  <rth@redhat.com>
81534             Ulrich Drepper  <drepper@redhat.com>
81535             H.J. Lu  <hongjiu.lu@intel.com>
81537         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
81538         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
81539         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
81540         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
81541         _mm_alignr_epi8 with _mm_loadu_si128.
81542         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
81543         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
81544         (__m128i_shift_right): Removed.
81545         * sysdeps/i386/i686/multiarch/varshift.h: New file.
81546         * sysdeps/i386/i686/multiarch/varshift.S: New file.
81547         * sysdeps/x86_64/multiarch/varshift.h: New file.
81548         * sysdeps/x86_64/multiarch/varshift.S: New file.
81550 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
81552         * configure.in: Move assembler checks to before sysdep dir checking.
81554 2010-08-20  Petr Baudis  <pasky@suse.cz>
81556         * LICENSES: Sync the sunrpc license.
81558 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
81560         * sunrpc/auth_des.c: Update copyright notice once again.
81561         * sunrpc/auth_none.c: Likewise.
81562         * sunrpc/auth_unix.c: Likewise.
81563         * sunrpc/authdes_prot.c: Likewise.
81564         * sunrpc/authuxprot.c: Likewise.
81565         * sunrpc/bindrsvprt.c: Likewise.
81566         * sunrpc/clnt_gen.c: Likewise.
81567         * sunrpc/clnt_perr.c: Likewise.
81568         * sunrpc/clnt_raw.c: Likewise.
81569         * sunrpc/clnt_simp.c: Likewise.
81570         * sunrpc/clnt_tcp.c: Likewise.
81571         * sunrpc/clnt_udp.c: Likewise.
81572         * sunrpc/clnt_unix.c: Likewise.
81573         * sunrpc/des_crypt.c: Likewise.
81574         * sunrpc/des_soft.c: Likewise.
81575         * sunrpc/get_myaddr.c: Likewise.
81576         * sunrpc/getrpcport.c: Likewise.
81577         * sunrpc/key_call.c: Likewise.
81578         * sunrpc/key_prot.c: Likewise.
81579         * sunrpc/openchild.c: Likewise.
81580         * sunrpc/pm_getmaps.c: Likewise.
81581         * sunrpc/pm_getport.c: Likewise.
81582         * sunrpc/pmap_clnt.c: Likewise.
81583         * sunrpc/pmap_prot.c: Likewise.
81584         * sunrpc/pmap_prot2.c: Likewise.
81585         * sunrpc/pmap_rmt.c: Likewise.
81586         * sunrpc/rpc/auth.h: Likewise.
81587         * sunrpc/rpc/auth_unix.h: Likewise.
81588         * sunrpc/rpc/clnt.h: Likewise.
81589         * sunrpc/rpc/des_crypt.h: Likewise.
81590         * sunrpc/rpc/key_prot.h: Likewise.
81591         * sunrpc/rpc/netdb.h: Likewise.
81592         * sunrpc/rpc/pmap_clnt.h: Likewise.
81593         * sunrpc/rpc/pmap_prot.h: Likewise.
81594         * sunrpc/rpc/pmap_rmt.h: Likewise.
81595         * sunrpc/rpc/rpc.h: Likewise.
81596         * sunrpc/rpc/rpc_des.h: Likewise.
81597         * sunrpc/rpc/rpc_msg.h: Likewise.
81598         * sunrpc/rpc/svc.h: Likewise.
81599         * sunrpc/rpc/svc_auth.h: Likewise.
81600         * sunrpc/rpc/types.h: Likewise.
81601         * sunrpc/rpc/xdr.h: Likewise.
81602         * sunrpc/rpc_clntout.c: Likewise.
81603         * sunrpc/rpc_cmsg.c: Likewise.
81604         * sunrpc/rpc_common.c: Likewise.
81605         * sunrpc/rpc_cout.c: Likewise.
81606         * sunrpc/rpc_dtable.c: Likewise.
81607         * sunrpc/rpc_hout.c: Likewise.
81608         * sunrpc/rpc_main.c: Likewise.
81609         * sunrpc/rpc_parse.c: Likewise.
81610         * sunrpc/rpc_parse.h: Likewise.
81611         * sunrpc/rpc_prot.c: Likewise.
81612         * sunrpc/rpc_sample.c: Likewise.
81613         * sunrpc/rpc_scan.c: Likewise.
81614         * sunrpc/rpc_scan.h: Likewise.
81615         * sunrpc/rpc_svcout.c: Likewise.
81616         * sunrpc/rpc_tblout.c: Likewise.
81617         * sunrpc/rpc_util.c: Likewise.
81618         * sunrpc/rpc_util.h: Likewise.
81619         * sunrpc/rpcinfo.c: Likewise.
81620         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
81621         * sunrpc/rpcsvc/key_prot.x: Likewise.
81622         * sunrpc/rpcsvc/klm_prot.x: Likewise.
81623         * sunrpc/rpcsvc/mount.x: Likewise.
81624         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
81625         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
81626         * sunrpc/rpcsvc/rex.x: Likewise.
81627         * sunrpc/rpcsvc/rstat.x: Likewise.
81628         * sunrpc/rpcsvc/rusers.x: Likewise.
81629         * sunrpc/rpcsvc/sm_inter.x: Likewise.
81630         * sunrpc/rpcsvc/spray.x: Likewise.
81631         * sunrpc/rpcsvc/yppasswd.x: Likewise.
81632         * sunrpc/rtime.c: Likewise.
81633         * sunrpc/svc.c: Likewise.
81634         * sunrpc/svc_auth.c: Likewise.
81635         * sunrpc/svc_authux.c: Likewise.
81636         * sunrpc/svc_raw.c: Likewise.
81637         * sunrpc/svc_run.c: Likewise.
81638         * sunrpc/svc_simple.c: Likewise.
81639         * sunrpc/svc_tcp.c: Likewise.
81640         * sunrpc/svc_udp.c: Likewise.
81641         * sunrpc/svc_unix.c: Likewise.
81642         * sunrpc/svcauth_des.c: Likewise.
81643         * sunrpc/xcrypt.c: Likewise.
81644         * sunrpc/xdr.c: Likewise.
81645         * sunrpc/xdr_array.c: Likewise.
81646         * sunrpc/xdr_float.c: Likewise.
81647         * sunrpc/xdr_mem.c: Likewise.
81648         * sunrpc/xdr_rec.c: Likewise.
81649         * sunrpc/xdr_ref.c: Likewise.
81650         * sunrpc/xdr_sizeof.c: Likewise.
81651         * sunrpc/xdr_stdio.c: Likewise.
81653         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
81654         handling.
81656 2010-08-19  Andreas Schwab  <schwab@redhat.com>
81658         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
81660 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
81662         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
81663         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
81664         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
81665         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
81666         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
81667         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
81668         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
81669         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
81670         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
81671         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
81672         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
81673         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
81674         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
81675         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
81677 2010-07-26  Anton Blanchard  <anton@samba.org>
81679         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
81680         * malloc/arena.c (heap_trim): Likewise.
81682 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
81684         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
81685         here.  Not...
81686         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
81687         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
81689 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
81691         * sysdeps/i386/elf/Makefile: New file.
81693 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
81695         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
81696         from fanotify_init.
81697         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
81698         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
81700 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
81702         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
81703         of strncasecmp_l.
81704         * sysdeps/multiarch/strcmp.S: Likewise.
81706 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
81708         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
81709         strncase_l-nonascii.
81710         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
81711         Add strncase_l-ssse3.
81712         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
81713         * sysdeps/x86_64/strcmp.S: Likewise.
81714         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
81715         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
81716         * sysdeps/x86_64/strncase.S: New file.
81717         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
81718         * sysdeps/x86_64/strncase_l.S: New file.
81719         * string/Makefile (strop-tests): Add strncasecmp.
81720         * string/test-strncasecmp.c: New file.
81722         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
81723         warning.
81725         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
81726         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
81728 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
81730         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
81732 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
81734         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
81735         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
81736         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
81738 2010-05-01  Alan Modra  <amodra@gmail.com>
81740         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
81741         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
81742         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
81743         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
81744         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
81745         tidying.  Don't tail-call __sigjmp_save for static lib.
81746         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
81747         save location.
81748         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
81749         (CALL_MCOUNT): Add eh info, and nop after bl.
81750         (TAIL_CALL_SYSCALL_ERROR): New macro.
81751         (PSEUDO_RET): Use it.
81752         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
81753         Correct save location of integer regs and cr.
81754         (_dl_profile_resolve): Correct cr save location.  Delete nops
81755         after bl when SHARED.  Reduce cfi size a little by better
81756         placement of cfi directives.
81757         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
81758         make a stack frame.  Instead use parm save area as a temp.
81759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
81760         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
81761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
81762         Don't make a stack frame for parent, use parm save area.
81763         Increase child stack frame to 112 bytes.  Don't save unused reg,
81764         and adjust reg usage.  Set up cfi on error recovery and
81765         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
81766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
81767         (__makecontext): Add dummy nop after jump to exit.
81768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
81769         Use correct parm save area and cr save, reduce stack frame.
81770         Correct cfi for possible PSEUDO_RET frame setup.
81771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
81772         Branch to local label emitted by PSEUDO_RET rather than
81773         __syscall_error.
81775 2010-08-12  Andreas Schwab  <schwab@redhat.com>
81777         [BZ #11904]
81778         * locale/programs/locale.c (print_assignment): New function.
81779         (show_locale_vars): Use it.
81781 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
81783         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
81784         field.
81785         (struct statfs64): Likewise.
81786         (_STATFS_F_FLAGS): Define.
81787         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
81788         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
81789         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
81790         (ST_VALID): Define locally.
81791         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
81792         __statvfs_getflags, use the provided value.
81793         * sysdeps/unix/sysv/linux/kernel-features.h: Define
81794         __ASSUME_STATFS_F_FLAGS.
81796         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
81798         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
81799         Add sys/fanotify.h.
81800         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
81801         fanotify_mask for GLIBC_2.13.
81802         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
81803         fanotify_init and fanotify_mark.
81804         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
81805         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
81807         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
81808         Add prlimit.
81809         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
81810         prlimit64 for GLIBC_2.13.
81811         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
81812         prlimit64.
81813         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
81814         syscall.
81815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
81816         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
81817         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
81818         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
81819         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
81820         add prlimit alias.
81821         * sysdeps/unix/sysv/linux/prlimit.c: New file.
81823         [BZ #11903]
81824         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
81825         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
81827         * nss/Makefile: Add rules to build and run tst-nss-test1.
81828         * shlib-versions: Add entry for libnss_test1.
81829         * nss/nss_test1.c: New file.
81830         * nss/tst-nss-test1.c: New file.
81832         * nss/nsswitch.c (__nss_database_custom): Define new variable.
81833         (__nss_configure_lookup): Set appropriate entry in
81834         __nss_configure_lookup to true.
81835         * nss/nsswitch.h: Define enum with indeces of databases in
81836         databases and __nss_database_custom arrays.  Declare
81837         __nss_database_custom.
81838         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
81839         to avoid using nscd when custom rules are installed.
81840         * nss/getXXbyYY_r.c: Likewise.
81841         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
81843         * nss/nss_files/files-parse.c: Whitespace fixes.
81845 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
81847         [BZ #11883]
81848         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
81849         * posix/fnmatch_loop.c: Likewise.
81851 2010-07-17  Andi Kleen  <ak@linux.intel.com>
81853         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
81854         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
81855         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
81856         * Versions.def [GLIBC_2.13]: Add.
81858 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
81860         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
81861         Also fail if tpwd after pwuid call is NULL.
81863 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81865         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
81866         when converting to ms.
81868 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81870         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
81871         EOPNOTSUPP errors with ENOTTY.
81872         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
81873         EOPNOTSUPP errors with ENOTTY.
81875 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
81877         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
81878         Add strcasecmp_l-ssse3.
81879         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
81880         strcasecmp.
81881         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
81882         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
81883         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
81885 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
81887         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
81889         * string/Makefile (strop-tests): Add strcasecmp.
81890         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
81891         strcasecmp_l-nonascii.
81892         (gen-as-const-headers): Add locale-defines.sym.
81893         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
81894         * sysdeps/x86_64/strcasecmp.S: New file.
81895         * sysdeps/x86_64/strcasecmp_l.S: New file.
81896         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
81897         * sysdeps/x86_64/locale-defines.sym: New file.
81898         * string/test-strcasecmp.c: New file.
81900         * string/test-strcasestr.c: Test both ends of the range of characters.
81901         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
81903 2010-07-29  Roland McGrath  <roland@redhat.com>
81905         [BZ #11856]
81906         * manual/locale.texi (Yes-or-No Questions): Fix example code.
81908 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
81910         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
81911         for ld.so.
81913 2010-07-27  Andreas Schwab  <schwab@redhat.com>
81915         * manual/memory.texi (Malloc Tunable Parameters): Document
81916         M_PERTURB.
81918 2010-07-26  Roland McGrath  <roland@redhat.com>
81920         [BZ #11840]
81921         * configure.in (-fgnu89-inline check): Set and substitute
81922         gnu89_inline, not libc_cv_gnu89_inline.
81923         * configure: Regenerated.
81924         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
81926 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
81928         * string/test-strnlen.c: New file.
81929         * string/Makefile (strop-tests): Add strnlen.
81930         * string/tester.c (test_strnlen): Add a few more test cases.
81931         * string/tst-strlen.c: Better error reporting.
81933         * sysdeps/x86_64/strnlen.S: New file.
81935 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
81937         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
81938         lower-latency instructions.
81940 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
81942         * string/test-strcasestr.c: New file.
81943         * string/test-strstr.c: New file.
81944         * string/Makefile (strop-tests): Add strstr and strcasestr.
81945         * string/str-two-way.h: Don't undefine MAX.
81946         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
81948 2010-07-21  Andreas Schwab  <schwab@redhat.com>
81950         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81951         strcasestr-nonascii.
81952         (CFLAGS-strcasestr-nonascii.c): Define.
81953         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
81954         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
81955         Remove unused attribute.
81957 2010-07-20  Roland McGrath  <roland@redhat.com>
81959         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
81960         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
81961         ld.so.cache was broken.  With it, there is no way to disable dsocaps
81962         like LD_HWCAP_MASK can disable hwcaps.
81964 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
81966         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
81968 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
81970         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
81971         call in strcasestr.
81972         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
81973         __strcasestr_sse42_nonascii.
81974         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
81975         strcasestr-nonascii.c.
81976         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
81978 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
81980         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
81981         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
81982         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
81983         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
81985 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
81987         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
81988         fcntl.
81990 2010-07-06  Andreas Schwab  <schwab@redhat.com>
81992         [BZ #11577]
81993         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
81994         dl_signal_cerror.
81996 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
81998         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
81999         _PC_PIPE_BUF using F_GETPIPE_SZ.
82001 2010-07-05  Roland McGrath  <roland@redhat.com>
82003         * manual/arith.texi (Rounding Functions): Fix rint description
82004         implicit in round description.
82006 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
82008         * elf/Makefile: Fix linking for a few tests to make recent linker
82009         happy.
82011 2010-06-30  Andreas Schwab  <schwab@redhat.com>
82013         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
82014         $(common-objpfx)libc_nonshared.a.
82016 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
82018         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
82019         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
82020         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
82021         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
82022         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
82023         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
82024         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
82025         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
82026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
82027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
82028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
82029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
82030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
82031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
82032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
82033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
82034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
82035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
82036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
82037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
82038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
82039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
82040         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
82041         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
82042         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
82043         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
82044         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
82045         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
82046         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
82047         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
82048         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
82049         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
82050         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
82051         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
82052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
82053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
82054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
82055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
82056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
82057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
82058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
82059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
82060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
82061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
82062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
82063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
82064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
82065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
82067 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
82069         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
82070         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
82071         * string/memmove.c (memmove): Renamed to ...
82072         (MEMMOVE): ...this.  Default to memmove.
82073         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
82074         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
82075         (END_CHK): Define.
82076         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82077         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
82078         mempcpy-ssse3-back memmove-ssse3-back.
82079         * sysdeps/x86_64/multiarch/bcopy.S: New file .
82080         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
82081         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
82082         * sysdeps/x86_64/multiarch/memcpy.S: New file.
82083         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
82084         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
82085         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
82086         * sysdeps/x86_64/multiarch/memmove.c: New file.
82087         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
82088         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
82089         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
82090         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
82091         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
82092         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
82093         Define.
82094         (index_Fast_Copy_Backward): Define.
82095         (HAS_ARCH_FEATURE): Define.
82096         (HAS_FAST_REP_STRING): Define.
82097         (HAS_FAST_COPY_BACKWARD): Define.
82099 2010-06-21  Andreas Schwab  <schwab@redhat.com>
82101         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
82102         Restore proper fallback handling.
82104 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
82106         [BZ #11701]
82107         * posix/group_member.c (__group_member): Correct checking loop.
82109         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
82110         OOM in getpwuid_r correctly.  Return error number when the caller
82111         should return, otherwise -1.
82112         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
82113         call returning > 0 value.
82114         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
82116 2010-06-07  Andreas Schwab  <schwab@redhat.com>
82118         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
82119         libc_nonshared.a from targets in modules-names.
82121 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
82123         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
82124         requires it.
82126 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
82128         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
82129         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
82130         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
82131         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
82133 2010-06-02  Andreas Schwab  <schwab@redhat.com>
82135         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
82137 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
82139         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
82140         and F_GETPIPE_SZ.
82141         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
82142         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
82143         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
82144         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
82145         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
82146         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
82148 2010-06-14  Roland McGrath  <roland@redhat.com>
82150         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
82152 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
82154         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
82155         __REDIRECT followed by __THROW.
82156         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
82157         * posix/getopt.h (getopt): Likewise.
82159 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
82161         * hurd/lookup-at.c (__file_name_lookup_at): Accept
82162         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
82163         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
82164         in AT_FLAGS.
82165         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
82166         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
82168 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
82170         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
82172 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
82174         [BZ #11640]
82175         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82176         Properly check family and model.
82178 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
82180         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
82182 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
82184         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
82186 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
82188         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
82189         symbol reference.
82191 2010-05-19  Andreas Schwab  <schwab@redhat.com>
82193         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
82194         symbol reference.
82196 2010-05-21  Andreas Schwab  <schwab@redhat.com>
82198         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
82199         and internal_recvmmsg.
82200         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
82201         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
82202         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
82203         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
82205         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
82206         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
82207         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
82209 2010-05-20  Andreas Schwab  <schwab@redhat.com>
82211         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
82213 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
82215         POWER7 optimizations.
82216         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
82217         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
82219 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
82221         * version.h: Update for 2.13 development version.
82223 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
82225         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
82226         exceptions.  Return 0.
82228 2010-05-07  Roland McGrath  <roland@redhat.com>
82230         * elf/ldconfig.c (main): Add a const.
82232 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
82234         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
82235         (args_options): Add no-idn option.
82236         (ahosts_keys_int): Add idn_flags to ai_flags.
82237         (parse_option): Handle 'i' option to clear idn_flags.
82239         * malloc/malloc.c (_int_free): Possible race in the most recently
82240         added check.  Only act on the data if no current modification
82241         happened.
82243 See ChangeLog.17 for earlier changes.