Fix writes past the allocated array bounds in execvpe (BZ#20847)
[glibc.git] / ChangeLog
blob4bc963555c7b4d077366e6289a1122e2ec0cabb7
1 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
3         [BZ #20847]
4         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
5         array bounds.
6         (__execvpe): Likewise.
8 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
10         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
11         -fno-isolate-erroneous-paths options for tilepro.
13 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
15         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
16         to 0 when in 32 bit mode.
17         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
18         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
19         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
20         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
21         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
22         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
23         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
24         XSTAT_IS_XSTAT64 test.
25         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
26         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
27         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
28         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
29         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
30         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
31         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
32         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
33         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
34         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
35         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
37 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
39         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
40         (setpayload): New declaration.
41         * math/Versions (setpayload): New libm symbol at version
42         GLIBC_2.25.
43         (setpayloadf): Likewise.
44         (setpayloadl): Likewise.
45         * math/Makefile (libm-calls): Add s_setpayloadF.
46         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
47         test_Ff_b1_data.
48         (RUN_TEST_Ff_b1): New macro.
49         (RUN_TEST_LOOP_Ff_b1): Likewise.
50         (canonicalize_test_data): Update type.
51         (setpayload_test_data): New array.
52         (setpayload_test): New function.
53         (main): Call setpayload_test.
54         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
55         setpayloadf and setpayloadl.
56         * manual/libm-err-tab.pl: Update comment on interfaces without
57         ulps tabulated.
58         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
59         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
60         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
61         Likewise.
62         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
63         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
64         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
65         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
66         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
67         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
68         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
69         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
70         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
71         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
72         setpayload.
73         (CFLAGS-nldbl-setpayload.c): New variable.
74         * sysdeps/nacl/libm.abilist: Update.
75         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
76         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
77         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
78         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
79         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
80         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
81         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
82         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
83         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
84         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
85         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
86         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
87         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
88         Likewise.
89         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
90         Likewise.
91         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
92         Likewise.
93         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
94         Likewise.
95         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
96         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
97         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
98         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
99         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
101         Likewise.
102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
103         Likewise.
104         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
105         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
106         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
108 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
110         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
111         * include/unistd.h: Extend comment about __access_noerrno return
112         semantics.
113         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
114         (access_common): Correct typo for EACCES.
116 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
118         * sysdeps/tile/math-tests.h: New file.
120         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
121         (__old_set_dataplane): Rename from set_dataplane and make a
122         compatibility symbol.
123         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
124         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
125         sys/dataplane.h.
127 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
129         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
130         script quote words in command output to log suitably for input to
131         the shell.
133 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
134             Maciej W. Rozycki  <macro@imgtec.com>
136         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
137         `.Lno_weak_fn' label.
138         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
139         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
141 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
142             Yury Norov  <ynorov@caviumnetworks.com>
144         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
145         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
146         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
147         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
148         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
149         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
150         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
151         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
152         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
153         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
154         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
155         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
156         (sysdep_routines): Remove oldgetrlimit64.
157         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
158         (sysdep_routines): Likewise.
159         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
160         (sysdep_routines): Likewise.
161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
162         [$(subdir) = resource] (sysdep_routines): Likewise.
163         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
164         [$(subdir) = resource] (sysdep_routines): Likewise.
165         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
166         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
167         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
168         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
169         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
170         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
171         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
172         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
173         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
174         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
175         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
176         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
177         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
178         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
179         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
180         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
181         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
182         setrlimit and getrlimit.
183         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
184         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
185         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
188         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
189         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
190         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
191         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
192         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
193         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
194         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
195         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
196         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
197         (__old_getrlimit64): Add compatibility symbol.
198         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
200 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
202         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
203         newly built gmp, mpfr and mpc.
205         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
207 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
209         * conform/Makefile (linknamespace-libs): Rename to
210         linknamespace-libs-thr.
211         (linknamespace-libs-posix): New variable.
212         (linknamespace-libs-xsi): Likewise.
213         (linknamespace-libs-XPG3): Include libcrypt.a.
214         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
215         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
216         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
217         (linknamespace-libs-XOPEN2K): Likewise.
218         (linknamespace-libs-XOPEN2K8): Likewise.
219         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
221         [BZ #20829]
222         * stdio-common/Versions (__snprintf): Add to version
223         GLIBC_PRIVATE.
224         * include/stdio.h (__snprintf): Use libc_hidden_proto.
225         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
226         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
227         of snprintf.
228         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
230 2016-11-16  Zack Weinberg  <zackw@panix.com>
232         * string/string.h: Remove obsolete comment stating that
233         strcoll_l and strxfrm_l have not yet been standardized.
235 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
237         * hurd/hurd.h (__hurd_fail_noerrno): New function.
238         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
239         __access_noerrno.
240         * io/access.c (__access_noerrno): New function.
241         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
242         (hurd_fail_seterrno): Likewise.
243         (access_common): Likewise.
244         (__access_noerrno): Likewise.
245         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
246         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
247         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
248         macro.
250 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
252         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
253         Only declare fpregs if [__SH_FPU_ANY__].
255 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
257         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
258         Make code unconditional.
259         [!(__SH4__ || __SH4A__)]: Remove conditional code.
261 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
263         * manual/sysinfo.texi (S_APPEND): Delete.
264         (S_IMMUTABLE): Likewise.
266 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
267             Magnus Granberg  <zorry@gentoo.org>
268             Mike Frysinger  <vapier@gentoo.org>
270         [BZ #20662]
271         * configure.ac (libc_cv_predef_stack_protector): Also check for
272         __stack_chk_fail_local symbols.
273         * configure: Regenerated.
275 2016-11-15  Florian Weimer  <fweimer@redhat.com>
277         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
278         (libc_hidden_def): Remove redefinition.
279         (__sigsetjmp): Add hidden definition.
280         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
281         (libc_hidden_def): Remove redefinition.
282         (__sigsetjmp): Add hidden definition.
284 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
286         * scripts/build-many-glibcs.py (os.path): Do not import.
287         (Context): Inherit explicitly from object.  Remove blank line
288         between class and docstring.
289         (Config): Likewise.
290         (Glibc): Likewise.
291         (Command): Likewise.
292         (CommandList): Likewise.
293         (Context.write_files): Store chmod mode in a variable.
295         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
296         LIBC_SLIBDIR_RTLDDIR for tilegx32.
297         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
299 2016-11-14  Zack Weinberg  <zackw@panix.com>
301         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
302         creating or re-creating it.
304         * string/bits/string2.h: Fix typo in comment.
306 2016-11-14  Zack Weinberg  <zackw@panix.com>
308         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
309         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
310         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
311         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
312         of redirected function names.
314         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
315         as well.  Document that MESSAGE must be a single string literal.
317 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
319         * scripts/build-many-glibcs.py: New file.
321         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
322         (do_test): Disable -Wmaybe-uninitialized around uses of
323         except_mask.
325         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
327 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
329         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
330         (atomic_store_release): Provide tilepro-specific implementations.
332 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
334         * math/math.h (__MATH_TG): New macro.
335         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
336         [__USE_ISOC99] (signbit): Likewise.
337         [__USE_ISOC99] (isfinite): Likewise.
338         [__USE_ISOC99] (isnan): Likewise.
339         [__USE_ISOC99] (isinf): Likewise.
340         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
341         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
342         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
343         __MATH_TG and __MATH_EVAL_FMT2.
344         * sysdeps/generic/math_private.h (fabs_tg): Define using
345         __MATH_TG.
346         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
347         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
348         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
349         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
350         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
351         macro.
352         (__iscanonical): Likewise.
353         (iscanonical): Define using __MATH_TG.
355 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
357         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
358         guards.
360         * sysdeps/unix/sysv/linux/access.c: New file.
361         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
363 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
365         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
366         and __WORDSIZE32_PTRDIFF_LONG.
368 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
370         * sysdeps/aarch64/libm-test-ulps: Regenerated.
372 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
374         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
375         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
376         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
377         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
378         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
380         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
381         * sysdeps/unix/sysv/linux/truncate.c: New file.
382         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
383         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
384         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
385         Remove.
386         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
387         Likewise.
389         * posix/tst-truncate-common.c: New file.
390         * posix/tst-truncate.c: Use tst-truncate-common.c.
391         * posix/tst-truncate64.c: Likewise and add LFS tests.
392         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
393         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
394         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
395         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
396         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
398         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
399         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
400         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
401         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
402         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
403         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
404         Remove.
405         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
406         Likewise.
408 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
410         [BZ #20790]
411         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
412         to MAXLINESIZE.
413         * sunrpc/bug20790.x: New file.
414         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
415         variable.
416         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
417         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
419         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
421         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
423         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
424         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
425         calloc, realloc, free, memalign and __libc_memalign rather than
426         making them optional.
428         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
429         for libc.so.
431 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
433         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
434         ptw-lseek64.
435         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
436         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
437         Likewise.
438         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
439         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
440         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
441         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
442         * sysdeps/unix/sysv/linux/lseek.c: New file.
443         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
444         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
445         __libc_lseek64 from auto-generation.
446         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
447         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
449 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
451         * nptl/tst-basic1.c (tf, do_test): Use write_message.
452         * nptl/tst-cleanup1.c (do_test): Likewise.
453         * nptl/tst-cleanup3.c (do_test): Likewise.
454         * nptl/tst-key1.c (do_test): Likewise.
455         * nptl/tst-key2.c (tf, do_test): Likewise.
456         * nptl/tst-key3.c (tf, do_test): Likewise.
457         * nptl/tst-stdio1.c (do_test): Likewise.
458         * nptl/tst-stdio2.c (do_test): Likewise.
460         * nptl/tst-kill3.c (handler): Use write_message in place of write.
461         * nptl/tst-kill6.c (handler): Likewise.
462         * nptl/tst-tls2.c (CB): Likewise.
463         * nptl/tst-tls3.c (CB): Likewise.
465 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
467         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
469 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
470             Steve Ellcey  <sellcey@caviumnetworks.com>
472         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
473           __ASSUME_ST_INO_64_BIT as 0
474         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
475         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
476           over the code where __ASSUME_ST_INO_64_BIT is used.
477         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
478         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
479         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
481 2016-11-07  Florian Weimer  <fweimer@redhat.com>
483         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
484         Document ABI exposure of the __kind offset.
485         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
486         Mention reason for the __kind offset exposure in the ABI.
487         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
488         Likewise.
489         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
490         Likewise.
491         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
492         Likewise.
493         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
494         (struct __pthread_mutex_s): Likewise.
495         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
496         Likewise.
497         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
498         Likewise.
499         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
500         Likewise.
501         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
502         Likewise.
503         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
504         Likewise.
505         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
506         Likewise.
507         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
508         (struct __pthread_mutex_s): Likewise.
509         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
510         (struct __pthread_mutex_s): Likewise.
511         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
512         Likewise.
514 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
516         * test-skeleton.c: Document do_test usage.
518 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
520         * iconv/gconv.h (__gconv_info): Define __data element using a
521         zero-length array.
523 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
525         * math/test-tgmath2.c: Split up test function.
527 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
529         * Rules (tests-expected): New variable, depending on
530         $(run-built-tests).
531         (tests): Pass $(tests-expected) to merge-test-results.sh, not
532         $(tests).
534         * Rules [$(run-built-tests) = no] (tests): Do not depend on
535         $(tests-unsupported).
537 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
539         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
540         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
542 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
544         [BZ #20768]
545         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
546         __fegetenv instead of fegetenv.
548         [BZ #14139]
549         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
550         (find_files): Obtain platform name from libm-test-ulps-name and
551         store in %pplatforms.
552         (canonicalize_platform): Remove.
553         (print_platforms): Use $pplatforms directly.
554         (by_platforms): Do not allow for platforms missing from
555         %pplatforms.
556         * sysdeps/aarch64/libm-test-ulps-name: New file.
557         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
558         * sysdeps/arm/libm-test-ulps-name: Likewise.
559         * sysdeps/generic/libm-test-ulps-name: Likewise.
560         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
561         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
562         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
563         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
564         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
565         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
566         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
567         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
568         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
569         * sysdeps/nios2/libm-test-ulps-name: Likewise.
570         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
571         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
572         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
573         * sysdeps/sh/libm-test-ulps-name: Likewise.
574         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
575         * sysdeps/tile/libm-test-ulps-name: Likewise.
576         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
578         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
580         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
581         (test-xfail-check-execstack): New variable.
583         * sysdeps/mips/localplt.data: New file.
585 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
586             Steve Ellcey  <sellcey@caviumnetworks.com>
588         * bits/wordsize.h: Add documentation.
589         * sysdeps/aarch64/bits/wordsize.h : New file
590         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
591         definitions.
592         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
593         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
594         with #if instead of #ifdef.
595         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
596         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
597         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
598         Add or change defines.
599         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
600         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
601         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
602         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
603         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
604         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
605         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
606         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
607         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
608         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
609         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
610         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
611         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
612         * sysdeps/x86/bits/wordsize.h: Likewise.
614 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
615             Kevin Petit  <kevin.petit@arm.com>
617         * sysdeps/aarch64/memchr.S (__memchr): New file.
619 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
621         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
623 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
625         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
626         $(linknamespace-symlists-tests).
628 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
630         * time/tst-strptime2.c: Ignore -Wformat-length warning.
632 2016-11-02  Florian Weimer  <fweimer@redhat.com>
633             Carlos O'Donell  <carlos@redhat.com>
635         [Bug #20729]
636         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
637         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
638         for -Os related change.
640 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
642         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
644 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
646         [BZ #19673]
647         * manual/math.texi (Exponents and Logarithms): Correct description
648         of clog10.
650 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
652         [Bz #20729]
653         * locale/weight.h: Include libc-internal.h.
654         * locale/weightwc.h: Likewise.
655         * nptl/nptl_dbP.h: Likewise.
657 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
659         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
660         when it is MACH_PORT_NULL.
662 2016-10-31  Andreas Schwab  <schwab@suse.de>
664         [BZ #20707]
665         * posix/glob.c (glob): Initialize pglob before checking for
666         GLOB_BRACE.  Don't call glob recursively if pattern contains no
667         valid brace expression despite GLOB_BRACE.
668         * posix/globtest.sh: Test it.
670 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
672         [BZ #20729]
673         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
674         Define.
675         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
676         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
677         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
678         for seq2.back_us and seq1.back_us only for -Os compiles.
679         * locale/weightwc.h (findix): Likewise.
680         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
681         DB_GET_FIELD_ADDRESS only for -Os compiles.
682         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
683         for slen only for -Os compiles.
684         * string/strcoll_l.c (get_next_seq): Ignore
685         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
686         for -Os compiles.
688         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
689         * include/crypt.h: New file.
691 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
693         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
694         from test-skeleton.c.
695         (statclass): Replace calls to write with calls to write_message.
697 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
699         * math/math.h
700         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
701         New macro.
702         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
703         Likewise.
704         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
705         Likewise.
706         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
707         SNANL.
708         * math/test-double.h (snan_value_MACRO): New macro.
709         * math/test-float.h (snan_value_MACRO): Likewise.
710         * math/test-ldouble.h (snan_value_MACRO): Likewise.
711         * math/libm-test.inc (issignaling_test_data): Add tests of
712         snan_value_MACRO.
714 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
716         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
717         behavior when eliding a lock not held by the current thread.
718         * sysdeps/powerpc/nptl/elide.h: Likewise.
720 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
722         [BZ #20728]
723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
724         branch to _exit() by a function call.
726 2016-10-28  Florian Weimer  <fweimer@redhat.com>
728         * malloc/malloc.c: Update chunk layout comments.
729         (chunk_main_arena): Update comment.
731 2016-10-28  Florian Weimer  <fweimer@redhat.com>
733         * crypt/sha256.c, crypt/sha256-block.c,
734         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
735         sha256_process_block to __sha256_process_block.
736         * crypt/sha512.c, crypt/sha512-block.c,
737         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
738         sha512_process_block to __sha512_process_block.
740 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
742         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
744         * math/test-nan-overflow.c: Include stdlib.h for malloc.
746 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
748         [BZ #20019]
749         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
750         definition in unrelocated shared library.
751         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
753 2016-10-28  Florian Weimer  <fweimer@redhat.com>
755         [BZ #20729]
756         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
757         * sysdeps/unix/sysv/linux/i386/Makefile
758         (uses-6-syscall-arguments): Define.
759         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
760         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
761         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
762         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
763         Likewise.
764         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
765         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
766         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
767         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
768         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
769         (CFLAGS-fallocate64.os): Likewise.
770         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
771         (CFLAGS-pthread_rwlock_timedrdlock.os)
772         (CFLAGS-pthread_rwlock_timedwrlock.o)
773         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
774         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
775         (CFLAGS-sem_timedwait.os): Likewise.
777 2016-10-28  Florian Weimer  <fweimer@redhat.com>
779         * elf/tst-linkall-static.c: New file.
780         * elf/Makefile (tests-static): Add tst-linkall-static.
781         (tst-linkall-static): Link against static libraries.
783 2016-10-27  Florian Weimer  <fweimer@redhat.com>
785         * malloc/malloc.c (sysmalloc): Initialize previous size field of
786         mmaped chunks.
788 2016-10-28  Florian Weimer  <fweimer@redhat.com>
790         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
791         members to mchunk_prev_size, mchunk_size.
792         (chunk_main_arena): Reverse sense and rename from
793         chunk_non_main_arena.
794         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
795         mchunk_size instead of size.
796         (set_non_main_arena): Define.
797         (chunksize): Use chunksize_nomask instead of direct member access.
798         (chunksize_nomask): Define.
799         (next_chunk): Use chunksize instead of direct member access.
800         (prev_size, set_prev_size): Define.
801         (prev_chunk): Use prev_size instead of direct member access.
802         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
803         (inuse_bit_at_offset, set_inuse_bit_at_offset)
804         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
805         (mchunk_prev_size, mchunk_size): Poison tokens.
806         (unlink): Use chunksize_nomask, prev_size accessors.
807         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
808         (do_check_free_chunk): Use prev_size accessor.
809         (sysmalloc): Use set_prev_size, set_head accessors.
810         (munmap_chunk, mremap_chunk): Use prev_size accessor.
811         (__libc_free): Use chunksize_nomask accessor.
812         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
813         chunk_main_arena accessors.
814         (_int_free): Use chunksize_nomask, prev_size accessors.
815         (malloc_consolidate): Use chunksize, prev_size accessors.
816         (_int_realloc): Use chunksize_nomask accessor.
817         (_int_memalign): Use set_prev_size accessor.
818         (__malloc_info): Use chunksize_nomask accessor.
819         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
820         accessors.
821         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
822         (heap_trim): Use chunksize_nomask, prev_size accessors.
824 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
826         [BZ #19380]
827         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
828         for inexact results.
829         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
830         of inexact result where mpfr_subnormalize is the only inexact
831         step.
832         * stdlib/tst-strtod-round-data.h: Regenerated.
833         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
834         Define to 0.
835         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
837 2016-10-27  David S. Miller  <davem@davemloft.net>
839         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
841 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
843         * malloc/malloc.c (do_set_mallopt_check): New function.
844         (do_set_mmap_threshold): Likewise.
845         (do_set_mmaps_max): Likewise.
846         (do_set_top_pad): Likewise.
847         (do_set_perturb_byte): Likewise.
848         (do_set_trim_threshold): Likewise.
849         (do_set_arena_max): Likewise.
850         (do_set_arena_test): Likewise.
851         (__libc_mallopt): Use them.
853 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
855         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
856         (canonicalize): New declaration.
857         * math/Versions (canonicalize): New libm symbol at version
858         GLIBC_2.25.
859         (canonicalizef): Likewise.
860         (canonicalizel): Likewise.
861         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
862         * math/s_canonicalize_template.c: New file.
863         * math/libm-test.inc: Update comment on functions tested and
864         testing of NaN payloads.
865         (TEST_NAN_PAYLOAD): New macro.
866         (NO_TEST_INLINE): Update value.
867         (XFAIL_TEST): Likewise.
868         (ERRNO_UNCHANGED): Likewise.
869         (ERRNO_EDOM): Likewise.
870         (ERRNO_ERANGE): Likewise.
871         (IGNORE_RESULT): Likewise.
872         (NON_FINITE): Likewise.
873         (TEST_SNAN): Likewise.
874         (NO_TEST_MATHVEC): Likewise.
875         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
876         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
877         (struct test_Ffp_b1_data): New type.
878         (RUN_TEST_Ffp_b1): New macro.
879         (RUN_TEST_LOOP_Ffp_b1): Likewise.
880         (canonicalize_test_data): New array.
881         (canonicalize_test): New function.
882         (main): Call canonicalize_test.
883         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
884         canonicalizef and canonicalizel.
885         * manual/libm-err-tab.pl: Update comment on interfaces without
886         ulps tabulated.
887         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
888         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
889         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
890         canonicalize.
891         (CFLAGS-nldbl-canonicalize.c): New variable.
892         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
893         to ...
894         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
895         ... here.
896         (do_test): Also test canonicalizel.
897         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
898         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
899         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
900         file.
901         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
902         Use libm_hidden_def.
903         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
904         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
905         (do_test): Also test canonicalizel.
906         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
907         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
908         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
909         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
910         libm_hidden_def.
911         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
912         macro.
913         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
914         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
915         * sysdeps/nacl/libm.abilist: Update.
916         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
917         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
918         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
919         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
920         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
921         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
922         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
923         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
924         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
925         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
926         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
927         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
929         Likewise.
930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
931         Likewise.
932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
933         Likewise.
934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
935         Likewise.
936         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
937         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
938         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
939         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
940         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
942         Likewise.
943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
944         Likewise.
945         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
946         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
947         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
949         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
950         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
951         getpayload.
952         (CFLAGS-nldbl-getpayload.c): New variable.
954 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
956         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
957         integer from the format string.
959 2016-10-26  Florian Weimer  <fweimer@redhat.com>
961         [BZ #19473]
962         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
963         declarations.
964         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
965         weak aliases.
966         * malloc/hooks.c (__malloc_get_state): Remove definition.
967         (malloc_get_state): New stub implementation as
968         compatibility symbol.
969         (malloc_set_state): Rename from __malloc_set_state.  Turn into
970         compat symbol.
971         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
972         malloc_set_state.
973         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
975 2016-10-26  Florian Weimer  <fweimer@redhat.com>
977         * iconvdata/iso646.c (enum variant): Drop illegal_var.
978         (names): Turn into concatenation of strings.
979         (gconv_init): Adapt iteration over names.
981 2016-10-26  Florian Weimer  <fweimer@redhat.com>
983         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
984         make const.
985         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
986         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
987         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
988         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
989         character in sbconv.
990         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
991         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
992         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
994 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
996         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
998         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
999         (M_TRIM_THRESHOLD): Likewise.
1001         * manual/memory.texi (M_ARENA_TEST): Add documentation.
1002         (M_ARENA_MAX): Likewise.
1003         * malloc/malloc.c: Remove obsolete comment.
1005         * manual/memory.texi: Add environment variable alternatives to
1006         setting mallopt parameters.
1008 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
1010         * include/atomic.h
1011         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
1012         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
1014 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1016         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
1017         * stdlib/tst-strfrom.h: New file.
1018         * stdlib/tst-strfrom.c: New file.
1019         * stdlib/tst-strfrom-locale.c: New file.
1021         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
1022         * stdlib/bug-strtod2.c: Likewise.
1023         * stdlib/tst-strtod-round-skeleton.c: Likewise.
1024         * stdlib/tst-strtod6.c: Likewise.
1025         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
1027 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1029         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
1030         * manual/arith.texi: Document strfromd, strfromf, strfroml.
1031         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
1032         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
1033         * stdlib/stdlib.h (strfromd): New declaration.
1034         (strfromf): Likewise.
1035         (strfroml): Likewise.
1036         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
1037         strfrom.
1038         * stdlib/strfromd.c: New file.
1039         * stdlib/strfromf.c: Likewise.
1040         * stdlib/strfroml.c: Likewise.
1041         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
1042         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
1043         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
1044         * sysdeps/arm/nacl/libc.abilist: Update.
1045         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
1046         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1047         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1048         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1049         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1050         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1051         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1052         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1053         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1054         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1055         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1056         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1057         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1058         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
1060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
1061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1063         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1064         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1065         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1066         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1067         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1070         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1071         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1072         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1074 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
1076         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
1077         instead of cmpli.
1078         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
1079         instead of cmpli.
1081 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
1083         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
1084         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1085         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1086         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1087         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1088         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1090 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1092         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
1093         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1094         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
1095         SYSCALL_LL64_PRW.
1096         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1097         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
1098         __ASSUME_PRW_DUMMY_ARG.
1099         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
1100         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1101         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
1102         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1103         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
1104         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
1106 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
1108         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
1110 2016-10-22  Florian Weimer  <fweimer@redhat.com>
1112         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
1113         "C++", to override a potential extern "C" directive around the
1114         header file inclusion.
1116 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
1118         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
1120 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1122         * sysdeps/powerpc/fpu/fenv_private.h:
1123         (_FPU_MASK_ALL): Rename to...
1124         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
1125         XE FPSCR bits.
1127         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
1129         (_FPU_MASK_ROUNDING): Rename to...
1130         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
1131         NI bits.
1133         (_FPU_MASK_EXCEPT_ROUND): Rename to...
1134         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
1135         bits and rounding bits.
1137         (__libc_feholdbits_ppc): New inline function to mask, set,
1138         and pontentially clear FSPCR bits, and change MSR[FE] bits.
1139         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
1140         (libc_feholdexcept_setround_ppc): Likewise.
1142         (__libc_femergeenv_ppc): New function to dynamically mask both
1143         old and new FP environments and merge.
1144         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
1145         (libc_feresetround_ppc): Likewise.
1146         (libc_feupdateenv_test_ppc): Likewise.
1147         (libc_feupdateenv_ppc): Likewise.
1149         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
1150         of ISA RN bits, and update macro names.
1151         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
1152         effectively the same as the previously mentioned function.
1154         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
1155         usage with fe_resetround_ppc.
1157         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
1158         to be used.
1159         (libc_feholdexcept_setround_ctxf): Likewise.
1160         (libc_feholdexcept_setround_ctxl): Likewise.
1162 2016-10-21  Florian Weimer  <fweimer@redhat.com>
1164         [BZ #20715]
1165         * math/math.h [__cplusplus] (iszero): Define as function template.
1166         * math/Makefile [CXX] (tests): Add test-math-iszero.
1167         (CFLAGS-test-math-iszero.cc): Set.
1168         * math/test-math-iszero.cc: New file.
1170 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
1172         [BZ #20660]
1173         * sysdeps/arm/e_sqrt.c: New file.
1174         * sysdeps/arm/e_sqrtf.c: Likewise.
1176 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
1178         [BZ #20718]
1179         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
1180         not use floating-point comparisons to test sign.
1181         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
1182         Likewise.
1184         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1185         (getpayload): New declaration.
1186         * math/Versions (getpayload): New libm symbol at version
1187         GLIBC_2.25.
1188         (getpayloadf): Likewise.
1189         (getpayloadl): Likewise.
1190         * math/Makefile (libm-calls): Add s_getpayloadF.
1191         * math/libm-test.inc: Include <nan-high-order-bit.h>.
1192         (struct test_f_f_data): Add comment.
1193         (RUN_TEST_fp_f): New macro.
1194         (RUN_TEST_LOOP_fp_f): Likewise.
1195         (getpayload_test_data): New array.
1196         (getpayload_test): New function.
1197         (main): Call getpayload_test.
1198         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
1199         descriptor.
1200         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
1201         getpayloadf and getpayloadl.
1202         * manual/libm-err-tab.pl: Update comment on interfaces without
1203         ulps tabulated.
1204         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
1205         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
1206         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
1207         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
1208         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
1209         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
1210         * sysdeps/nacl/libm.abilist: Update.
1211         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1212         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1213         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1214         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1215         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1216         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1217         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1218         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1219         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1220         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1221         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1222         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1224         Likewise.
1225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1226         Likewise.
1227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1228         Likewise.
1229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1230         Likewise.
1231         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1232         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1233         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1234         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1235         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1237         Likewise.
1238         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1239         Likewise.
1240         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1241         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1242         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1244 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1246         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
1247         tst-fallocate{64}.
1248         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
1249         on syscall return.
1251 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
1253         [BZ #20689]
1254         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
1255         usable.
1257 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
1259         * sysdeps/generic/nan-high-order-bit.h: New file.
1260         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
1261         * sysdeps/mips/nan-high-order-bit.h: Likewise.
1262         * sysdeps/hppa/math_private.h: Remove file.
1263         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
1264         not define here.
1265         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
1266         <nan-high-order-bit.h>.
1267         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1268         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
1269         <nan-high-order-bit.h>.
1270         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1271         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
1272         <nan-high-order-bit.h>.
1273         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1274         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
1275         <nan-high-order-bit.h>.
1276         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1277         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
1278         <nan-high-order-bit.h>.
1279         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1280         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
1281         <nan-high-order-bit.h>.
1282         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1283         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
1284         <nan-high-order-bit.h>.
1285         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1286         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
1287         <nan-high-order-bit.h>.
1288         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1289         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
1290         <nan-high-order-bit.h>.
1291         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1292         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
1293         <nan-high-order-bit.h>.
1294         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1295         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
1296         <nan-high-order-bit.h>.
1297         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1298         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
1299         <nan-high-order-bit.h>.
1300         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1301         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
1302         <nan-high-order-bit.h>.
1303         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1304         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
1305         <nan-high-order-bit.h>.
1306         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1307         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
1308         <nan-high-order-bit.h>.
1309         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1310         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
1311         <nan-high-order-bit.h>.
1312         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1313         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
1314         <nan-high-order-bit.h>.
1315         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1316         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
1317         <nan-high-order-bit.h>.
1318         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
1320 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1322         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
1324 2016-09-22  John David Anglin  <dave.anglin@bell.net>
1326         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
1327         abort-instr.h.
1328         (EFAULT): Remove conditional define.
1329         (ENOSYS): Likewise.
1330         (atomic_compare_and_exchange_val_acq): Use instruction nullification
1331         instead of conditional branch instructions.
1333 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
1335         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1336         (totalordermag): New declaration.
1337         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
1338         New macro.
1339         * math/Versions (totalordermag): New libm symbol at version
1340         GLIBC_2.25.
1341         (totalordermagf): Likewise.
1342         (totalordermagl): Likewise.
1343         * math/Makefile (libm-calls): Add s_totalordermagF.
1344         * math/libm-test.inc (totalordermag_test_data): New array.
1345         (totalordermag_test): New function.
1346         (main): Call totalordermag_test.
1347         * math/test-tgmath.c (NCALLS): Increase to 125.
1348         (F(compile_test)): Call totalordermag.
1349         (F(totalordermag)): New function.
1350         * manual/arith.texi (FP Comparison Functions): Document
1351         totalordermag, totalordermagf and totalordermagl.
1352         * manual/libm-err-tab.pl: Update comment on interfaces without
1353         ulps tabulated.
1354         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
1355         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
1356         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
1357         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
1358         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
1359         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
1360         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
1361         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1362         totalordermag.
1363         (CFLAGS-nldbl-totalordermag.c): New variable.
1364         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
1365         (do_test): Also test totalordermagl.
1366         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
1367         Likewise.
1368         * sysdeps/nacl/libm.abilist: Update.
1369         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1370         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1371         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1372         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1373         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1374         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1375         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1376         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1377         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1378         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1379         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1380         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1382         Likewise.
1383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1384         Likewise.
1385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1386         Likewise.
1387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1388         Likewise.
1389         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1390         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1391         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1392         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1393         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1395         Likewise.
1396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1397         Likewise.
1398         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1399         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1400         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1402 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
1404         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
1405         boolean.
1407 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
1409         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
1410         raising FE_INVALID with feraisexcept in case where part of
1411         argument is infinite, subtract that part of argument from itself.
1412         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
1413         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
1414         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
1416 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
1418         * math/libm-test.inc (totalorder_test_data): Add more tests.
1420 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
1422         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
1423         Undefine weak_alias and add a comment why mips64 require
1424         versioning.
1426 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
1428         [BZ #20647]
1429         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
1430         maximum CPUID level is less than 2.
1432 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
1434         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1435         (totalorder): New declaration.
1436         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
1437         New macro.
1438         * math/Versions (totalorder): New libm symbol at version
1439         GLIBC_2.25.
1440         (totalorderf): Likewise.
1441         (totalorderl): Likewise.
1442         * math/Makefile (libm-calls): Add s_totalorderF.
1443         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
1444         string.
1445         * math/libm-test.inc (PAYLOAD_DIG): New macro.
1446         (qnan_value_pl): Likewise.
1447         (snan_value_pl): Likewise.
1448         (qnan_value): Define using qnan_value_pl.
1449         (snan_value): Define using snan_value_pl.
1450         (struct test_ff_i_data): Add comment about which tests use this
1451         structure.
1452         (RUN_TEST_ff_b): New macro.
1453         (RUN_TEST_LOOP_ff_b): Likewise.
1454         (totalorder_test_data): New array.
1455         (totalorder_test): New function.
1456         (main): Call totalorder_test.
1457         * math/test-tgmath.c (NCALLS): Increase to 122.
1458         (F(compile_test)): Call totalorder.
1459         (F(totalorder)): New function.
1460         * manual/arith.texi (FP Comparison Functions): Document
1461         totalorder, totalorderf and totalorderl.
1462         * manual/libm-err-tab.pl: Update comment on interfaces without
1463         ulps tabulated.
1464         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
1465         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
1466         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
1467         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
1468         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
1469         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
1470         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
1471         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1472         totalorder.
1473         (CFLAGS-nldbl-totalorder.c): New variable.
1474         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
1475         file.
1476         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
1477         Add test-totalorderl-ldbl-128ibm.
1478         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
1479         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
1480         test-totalorderl-ldbl-96.
1481         * sysdeps/nacl/libm.abilist: Update.
1482         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1483         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1484         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1485         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1486         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1487         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1488         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1489         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1490         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1491         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1492         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1493         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1495         Likewise.
1496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1497         Likewise.
1498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1499         Likewise.
1500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1501         Likewise.
1502         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1503         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1504         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1505         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1506         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1508         Likewise.
1509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1510         Likewise.
1511         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1512         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1513         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1515 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1517         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
1518         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
1519         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
1520         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
1521         remove ENOSYS implementation.
1522         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
1523         Consolidate all Linux implementations.
1525 2016-10-11  Florian Weimer  <fweimer@redhat.com>
1527         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
1528         * resolv/herror.c (herror): Cast away const-ness.
1529         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
1530         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
1532 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
1534         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
1535         instead of M_NAN + M_NAN.
1536         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
1538 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1540         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
1541         unused variable 'p'.
1543 2016-10-09  Alan Modra  <amodra@gmail.com>
1544             Andreas Schwab  <schwab@linux-m68k.org>
1546         [BZ #20554]
1547         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
1548         [PIC && !SHARED]: Set up PIC register for PLT call.
1550 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
1552         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
1553         conditional on value of [__FLT_EVAL_METHOD__].
1554         * math/test-iseqsig-excess-precision.c: New file.
1555         * math/Makefile (tests): Add test-iseqsig-excess-precision.
1557 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1559         * math/s_iseqsig_template.c: Include math-private.h.
1561         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
1562         * posix/tst-posix_fadvise.c: New file.
1563         * posix/tst-posix_fadvise64.c: Likewise.
1564         * posix/tst-posix_fadvise-common.c: Likewise.
1565         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1566         (__ASSUME_FADVISE64_64_6ARG): Define.
1567         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1568         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
1569         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1570         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
1571         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
1572         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
1573         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
1574         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
1575         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
1576         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
1577         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
1578         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
1579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
1580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
1581         Likewise.
1582         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
1583         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
1584         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
1585         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
1586         Alias to __posix_fadvise64_l32.
1587         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
1588         Add compat definition to posix_fadvise64.
1589         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
1590         Add versioned definition to posix_fadvise64.
1591         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
1592         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
1593         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
1594         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
1595         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
1597         * io/Makefile (tests): Add tst-posix_fallocate and
1598         tst-posix_fallocate64.
1599         * io/tst-posix_fallocate-common.c: New file.
1600         * io/tst-posix_fallocate.c: Likewise.
1601         * io/tst-posix_fallocate64.c: Likewise.
1602         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
1603         file.
1604         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
1605         Likewise.
1606         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
1607         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
1608         Likewise.
1609         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
1610         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
1611         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
1612         SYSCALL_LL to pass both offset and len arguments.
1613         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
1614         Likewise.
1615         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
1616         __libc_pwrite64 alias used by posix_fallocate64.
1618         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
1619         tst-fallocate64.
1620         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
1621         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
1622         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
1623         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
1624         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
1625         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
1626         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
1627         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
1628         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
1629         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
1630         macro on offset argument.
1631         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
1632         SYSCALL_LL64 on offset argument.
1634         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
1635         tst-fallocate64.
1636         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
1637         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
1638         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
1639         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
1640         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
1641         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
1642         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
1643         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
1644         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
1645         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
1646         macro on offset argument.
1647         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
1648         SYSCALL_LL64 on offset argument.
1649         * test-skeleton.c (FAIL_RET): Add macro.
1650         (FAIL_EXIT): Likewise.
1651         (FAIL_EXIT1): Likewise.
1652         (_FAIL): Likewise.
1654 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1656         [BZ #20629]
1657         resolv: Remove RES_USEBSTRING and its implementation.
1658         * resolv/resolv.h (RES_USEBSTRING): Remove.
1659         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
1660         (digitvalue, encode_bitstring, decode_bitstring): Remove.
1661         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
1662         (labellen): Remove extended label types support.
1663         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
1664         * resolv/res_init.c (res_setoptions): Likewise.
1665         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
1667 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1669         resolv: Remove RES_NOIP6DOTINT and its implementation.
1670         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
1671         (RES_NOIP6DOTINT): Remove.
1672         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
1673         handling.
1674         * resolv/res_debug.c (p_option): Likewise.
1675         * resolv/res_init.c (res_setoptions): Likewise.
1676         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
1678 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1680         resolv: Deprecate unimplemented flags.
1681         * misc/sys/cdefs.h (__glibc_macro_warning1)
1682         (__glibc_macro_warning): Define.
1683         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
1684         (RES_KEEPTSIG): Mark as deprecated.
1685         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
1686         RES_NOCHECKNAME, RES_KEEPTSIG.
1687         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
1689 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1691         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
1692         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
1693         Use strong_alias to create symbols for glibc verison 2.19.
1695 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1697         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
1699 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1701         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
1703 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1705         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
1707 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1709         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1710         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
1711         in header for using it as type for ifunc function because __GI_* symbols
1712         for ppc32 do not target the ifunc symbols.
1713         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1715 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1717         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
1718         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
1719         libc_ifunc_hidden_def.
1720         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
1721         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
1722         Redirect ifunced function in header for using it as type of ifunc'ed
1723         function. Redefine libc_hidden_def to use fallback non ifunc'ed
1724         function for __GI_* symbol.
1725         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
1726         * include/libc-symbols.h
1727         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
1729 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1731         [BZ #20478]
1732         * sysdeps/s390/multiarch/ifunc-resolve.h
1733         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
1734         to create ifunc symbols.
1735         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
1736         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
1737         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
1738         for using it as type for ifunc function.
1739         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
1740         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
1741         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1742         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1743         * sysdeps/s390/multiarch/strcat.c: Likewise.
1744         * sysdeps/s390/multiarch/strchr.c: Likewise.
1745         * sysdeps/s390/multiarch/strcmp.c: Likewise.
1746         * sysdeps/s390/multiarch/strcpy.c: Likewise.
1747         * sysdeps/s390/multiarch/strcspn.c: Likewise.
1748         * sysdeps/s390/multiarch/strlen.c: Likewise.
1749         * sysdeps/s390/multiarch/strncmp.c: Likewise.
1750         * sysdeps/s390/multiarch/strncpy.c: Likewise.
1751         * sysdeps/s390/multiarch/strnlen.c: Likewise.
1752         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
1753         * sysdeps/s390/multiarch/strrchr.c: Likewise.
1754         * sysdeps/s390/multiarch/strspn.c: Likewise.
1755         * sysdeps/s390/multiarch/wcschr.c: Likewise.
1756         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
1757         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
1758         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
1759         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
1760         * sysdeps/s390/multiarch/wmemset.c: Likewise.
1761         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
1762         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
1763         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
1764         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
1765         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
1766         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
1768 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1770         * include/libc-symbols.h (__ifunc_resolver):
1771         New macro is used by __ifunc* macros.
1772         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
1773         depending on HAVE_GCC_IFUNC.
1774         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
1775         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
1776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1777         Redirect ifunced function in header for using as type for ifunc function.
1778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
1779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
1780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
1781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
1782         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1783         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1784         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1785         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1786         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1787         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1788         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1789         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1790         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1791         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
1794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
1796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1797         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1798         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1799         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1800         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1801         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1802         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1803         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1804         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1805         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1806         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1807         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1808         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1809         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
1810         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
1812         Add libc_hidden_def() and use libc_ifunc_hidden() macro
1813         instead of libc_ifunc() macro.
1814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
1815         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1817 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1819         * config.h.in (HAVE_GCC_IFUNC): New undef.
1820         * configure.ac: Add check if gcc supports attribute ifunc feature.
1821         * configure: Regenerated.
1822         * manual/install.texi: Add recommendation for gcc with
1823         indirect-function support.
1824         * INSTALL: Regenerated.
1826 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
1828         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
1829         macro.
1830         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1831         (__iseqsig): New declaration.
1832         * math/s_iseqsig_template.c: New file.
1833         * math/Versions (__iseqsigf): New libm symbol at version
1834         GLIBC_2.25.
1835         (__iseqsig): Likewise.
1836         (__iseqsigl): Likewise.
1837         * math/libm-test.inc (iseqsig_test_data): New array.
1838         (iseqsig_test): New function.
1839         (main): Call iseqsig_test.
1840         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
1841         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
1842         * manual/libm-err-tab.pl: Update comment on interfaces without
1843         ulps tabulated.
1844         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
1845         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
1846         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
1847         * sysdeps/nacl/libm.abilist: Update.
1848         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1849         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1850         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1851         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1852         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1853         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1854         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1855         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1856         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1857         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1858         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1859         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1861         Likewise.
1862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1863         Likewise.
1864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1865         Likewise.
1866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1867         Likewise.
1868         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1869         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1870         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1871         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1872         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1874         Likewise.
1875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1876         Likewise.
1877         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1878         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1879         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1881 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1883         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
1884         do_sincos_2, sloww, sloww1): Update comments.
1886         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
1887         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
1889         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
1890         K boolean and rename it.
1891         (__sin): Adjust.
1892         (__cos): Adjust.
1894 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
1895             Siddhesh Poyarekar  <siddhesh@sourceware.org>
1897         * manual/nss.texi: Fix typos in the manual.
1899 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
1901         * manual/contrib.texi: Fix typos in the manual.
1903         * manual/maint.texi: Fix typos in the manual.
1905         * manual/install.texi: Fix typos in the manual.
1906         * INSTALL: Regenerated.
1908         * manual/lang.texi: Fix typos in the manual.
1910         * manual/probes.texi: Fix typos in the manual.
1912         * manual/threads.texi: Fix typos in the manual.
1914         * manual/debug.texi: Fix typos in the manual.
1916         * manual/crypt.texi: Fix typos in the manual.
1918         * manual/conf.texi: Fix typos in the manual.
1920         * manual/sysinfo.texi: Fix typos in the manual.
1922         * manual/users.texi: Fix typos in the manual.
1924         * manual/job.texi: Fix typos in the manual.
1926         * manual/process.texi: Fix typos in the manual.
1928         * manual/argp.texi: Fix typos in the manual.
1929         * manual/getopt.texi: Likewise.
1930         * manual/startup.texi: Likewise.
1932         * manual/signal.texi: Fix typos in the manual.
1934         * manual/setjmp.texi: Fix typos in the manual.
1936         * manual/resource.texi: Fix typos in the manual.
1938         * manual/time.texi: Fix typos in the manual.
1940         * manual/arith.texi: Fix typos in the manual.
1942         * manual/math.texi: Fix typos in the manual.
1944         * manual/syslog.texi: Fix typos in the manual.
1946         * manual/terminal.texi: Fix typos in the manual.
1948         * manual/socket.texi: Fix typos in the manual.
1950         * manual/filesys.texi: Fix typos in the manual.
1952         * manual/llio.texi: Fix typos in the manual.
1954         * manual/stdio.text: Fix typos in the manual.
1956 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1958         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
1959         instead of K1.
1961         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
1962         SHIFT_QUADRANT and make it bool.
1963         (do_sincos_2): Likewise.
1964         (sloww): Likewise.
1965         (sloww1): Likewise.
1966         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
1967         (__cos): Likewise.
1969 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1971         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1973 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
1975         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
1976         Define to __WORDSIZE, not conditional on [LONG_MAX ==
1977         0x7fffffffL].
1978         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1980 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1982         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
1983         inline by __inline__.
1984         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
1985         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
1986         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
1987         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
1988         sigset_t from signal.h.
1989         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
1990         which is already required.
1992 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
1994         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1996 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
1998         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
1999         (struct tcp_repair_window): New type.
2001 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2003         * libio/tst-memstream3.c: Include string.h.
2005 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2007         [BZ #18241]
2008         [BZ #20181]
2009         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
2010         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
2011         write position is at the end the buffer.
2012         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
2013         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
2014         (_IO_str_seekoff): Set correct offset from negative displacement and
2015         set EINVAL for invalid ones.
2016         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
2017         buffer length.
2018         (_IO_wstr_switch_to_get_mode): New function.
2019         (_IO_wstr_seekoff): Set correct offset from negative displacement and
2020         set EINVAL for invalid ones.
2021         * libio/tst-memstream3.c: New file.
2022         * libio/tst-wmemstream3.c: Likewise.
2023         * manual/examples/memstrm.c: Remove warning when priting size_t.
2025 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
2027         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
2028         macro to use __builtin_fma.
2029         * sysdeps/x86_64/fpu/dla.h: Remove file.
2031         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
2032         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
2033         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
2035 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
2037         [BZ #20292]
2038         * elf/Makefile (routines): Add dl-addr-obj.
2039         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
2040         tst-_dl_addr_inside_object.
2041         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
2042         [ifeq (yesyes,$(have-fpie)$(build-shared))]
2043         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
2044         [ifeq (yesyes,$(have-fpie)$(build-shared))]
2045         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
2046         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
2047         * elf/dl-open.c: Likewise.
2048         * elf/dl-addr-obj.c: New file.
2049         * elf/tst-_dl_addr_inside_object.c: New file.
2051 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
2053         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
2054         <bits/iscanonical.h>.
2055         * bits/iscanonical.h: New file.
2056         * math/s_iscanonicall.c: Likewise.
2057         * math/Versions (__iscanonicall): New libm symbol at version
2058         GLIBC_2.25.
2059         * math/libm-test.inc (iscanonical_test_data): New array.
2060         (iscanonical_test): New function.
2061         (main): Call iscanonical_test.
2062         * math/Makefile (headers): Add bits/iscanonical.h.
2063         (type-ldouble-routines): Add s_iscanonicall.
2064         * manual/arith.texi (Floating Point Classes): Document
2065         iscanonical.
2066         * manual/libm-err-tab.pl: Update comment on interfaces without
2067         ulps tabulated.
2068         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
2069         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
2070         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
2071         Likewise.
2072         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
2073         test-iscanonical-ldbl-128ibm.
2074         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
2075         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
2076         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
2077         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
2078         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
2079         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2080         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2082         Likewise.
2083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2084         Likewise.
2085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2086         Likewise.
2087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2088         Likewise.
2089         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2090         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2092 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2094         * string/bits/string3.h: Remove C++ style comments.
2096 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2098         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
2099         instead of ternary condition.
2100         (do_sincos_2): Likewise.
2101         (__sin): Likewise.
2102         (__cos): Likewise.
2103         (slow): Likewise.
2104         (sloww): Likewise.
2105         (sloww1): Likewise.
2106         (bsloww): Likewise.
2107         (bsloww1): Likewise.
2109         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
2110         instead of ternary condition.
2111         (do_sin_slow): Likewise.
2112         (do_sincos_1): Likewise.
2113         (do_sincos_2): Likewise.
2114         (__cos): Likewise.
2115         (sloww): Likewise.
2116         (sloww1): Likewise.
2117         (sloww2): Likewise.
2118         (bsloww): Likewise.
2119         (bsloww1): Likewise.
2120         (bsloww2): Likewise.
2122         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
2123         check from here...
2124         (slow2): ... and here...
2125         (__sin): ... to here.
2127 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
2129         * math/math.h
2130         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
2131         Cast argument to its own type.
2132         * math/test-iszero-excess-precision.c: New file.
2133         * math/Makefile (tests): Add test-iszero-excess-precision.
2134         (CFLAGS-test-iszero-excess-precision.c): New variable.
2136 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
2138         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
2139         field, add err field.
2140         (__spawni_child): Report error through err member instead of pipe.
2141         (__spawnix): Likewise.
2143 2016-09-28  Zack Weinberg  <zackw@panix.com>
2145         * scripts/check-installed-headers.sh: Generalize treatment of
2146         sys/elf.h to all target architectures.
2148         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
2149         deleted typedef ucontext_t.
2151 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2153         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
2154         (__INTERNAL_SYSCALL1): Likewise.
2155         (__INTERNAL_SYSCALL2): Likewise.
2156         (__INTERNAL_SYSCALL3): Likewise.
2157         (__INTERNAL_SYSCALL4): Likewise.
2158         (__INTERNAL_SYSCALL5): Likewise.
2159         (__INTERNAL_SYSCALL6): Likewise.
2160         (__INTERNAL_SYSCALL7): Likewise.
2161         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
2162         (__INTERNAL_SYSCALL_NARGS): Likewise.
2163         (__INTERNAL_SYSCALL_DISP): Likewise.
2164         (INTERNAL_SYSCALL_CALL): Likewise.
2165         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
2166         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
2167         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
2168         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
2169         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
2170         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
2171         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
2172         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
2173         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
2174         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
2175         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
2176         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
2177         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
2179 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
2181         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
2182         macro.
2183         * math/libm-test.inc (iszero_test_data): New array.
2184         (iszero_test): New function.
2185         (main): Call iszero_test.
2186         * manual/arith.texi (Floating Point Classes): Document iszero.
2187         * manual/libm-err-tab.pl: Update comment on interfaces without
2188         ulps tabulated.
2190 2016-09-23  Zack Weinberg  <zackw@panix.com>
2192         * scripts/check-installed-headers.sh: New script.
2193         * Rules: In each directory that defines header files to be installed,
2194         run check-installed-headers.sh on them as a special test.
2195         * Makefile: Likewise for the headers installed at top level.
2197         * include/aliases.h, include/alloca.h, include/argz.h
2198         * include/arpa/nameser.h, include/arpa/nameser_compat.h
2199         * include/elf.h, include/envz.h, include/err.h
2200         * include/execinfo.h, include/fpu_control.h, include/getopt.h
2201         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
2202         * include/link.h, include/malloc.h, include/mcheck.h
2203         * include/mntent.h, include/netinet/ether.h
2204         * include/nss.h, include/obstack.h, include/printf.h
2205         * include/pty.h, include/resolv.h, include/rpc/auth.h
2206         * include/rpc/auth_des.h, include/rpc/auth_unix.h
2207         * include/rpc/clnt.h, include/rpc/des_crypt.h
2208         * include/rpc/key_prot.h, include/rpc/netdb.h
2209         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
2210         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
2211         * include/rpc/rpc_msg.h, include/rpc/svc.h
2212         * include/rpc/svc_auth.h, include/rpc/xdr.h
2213         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
2214         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
2215         * include/rpcsvc/ypupd.h, include/shadow.h
2216         * include/stdio_ext.h, include/sys/epoll.h
2217         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
2218         * include/sys/prctl.h, include/sys/profil.h
2219         * include/sys/statfs.h, include/sys/sysctl.h
2220         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
2221         * sysdeps/arm/nacl/include/bits/setjmp.h
2222         * sysdeps/mips/include/sys/asm.h
2223         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
2224         * sysdeps/unix/sysv/linux/include/sys/timex.h
2225         * sysdeps/x86/fpu/include/bits/fenv.h:
2226         Add #ifndef _ISOMAC guard around internal declarations.
2227         Add multiple-inclusion guard if not already present.
2229 2016-09-23  Zack Weinberg  <zackw@panix.com>
2231         * sysdeps/generic/sys/ucontext.h
2232         * sysdeps/arm/sys/ucontext.h
2233         * sysdeps/i386/sys/ucontext.h
2234         * sysdeps/m68k/sys/ucontext.h
2235         * sysdeps/mips/sys/ucontext.h
2236         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
2237         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
2238         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
2239         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
2240         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
2241         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
2242         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
2243         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
2244         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
2245         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
2246         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
2247         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
2248         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
2249         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
2250         Include both bits/sigcontext.h and bits/sigstack.h.
2251         Fix grammar error in comment, if present.
2253         * bits/sigstack.h
2254         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
2255         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
2256         * sysdeps/unix/sysv/linux/bits/sigstack.h
2257         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
2258         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
2259         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
2260         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
2261         * bits/sigcontext.h
2262         * sysdeps/mach/hurd/i386/bits/sigcontext.h
2263         * sysdeps/unix/sysv/linux/bits/sigcontext.h
2264         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
2265         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
2266         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
2267         as well as signal.h, if this was not already allowed.  Request
2268         definition of size_t if necessary.  Minimize semantically-null
2269         differences across files.
2271 2016-09-23  Zack Weinberg  <zackw@panix.com>
2273         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
2274         Remove all logic conditional on __need macros.  Move all the
2275         conditionally defined types to their own headers...
2276         * time/bits/types/clock_t.h: Define clock_t here.
2277         * time/bits/types/clockid_t.h: Define clockid_t here.
2278         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
2279         * time/bits/types/struct_timespec.h: Define struct timespec here.
2280         * time/bits/types/struct_timeval.h: Define struct timeval here.
2281         * time/bits/types/struct_tm.h: Define struct tm here.
2282         * time/bits/types/time_t.h: Define time_t here.
2283         * time/bits/types/timer_t.h: Define timer_t here.
2284         * time/Makefile: Install the new headers.
2286         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
2287         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
2288         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
2289         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
2290         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
2291         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
2292         * sysdeps/unix/sysv/linux/bits/resource.h
2293         * sysdeps/unix/sysv/linux/bits/timex.h
2294         * sysdeps/unix/sysv/linux/mips/bits/resource.h
2295         * sysdeps/unix/sysv/linux/net/ppp_defs.h
2296         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
2297         * sysdeps/unix/sysv/linux/sys/acct.h
2298         * sysdeps/unix/sysv/linux/sys/timerfd.h
2299         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
2300         * time/sys/time.h, time/sys/timeb.h
2301         Use the new bits/types headers.
2303         * include/time.h: Remove __need logic.
2304         * include/bits/time.h
2305         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
2306         * include/bits/types/time_t.h, include/bits/types/timer_t.h
2307         * include/bits/types/struct_itimerspec.h
2308         * include/bits/types/struct_timespec.h
2309         * include/bits/types/struct_timeval.h
2310         * include/bits/types/struct_tm.h:
2311         New wrapper headers.
2313 2016-09-23  Zack Weinberg  <zackw@panix.com>
2315         * sysdeps/mach/hurd/net/if_ppp.h
2316         * sysdeps/unix/sysv/linux/net/if_ppp.h:
2317         Only define struct ifpppstatsreq and struct ifpppcstatsreq
2318         if __USE_MISC is defined, to ensure struct ifreq is declared.
2320         * inet/netinet/ether.h: Condition all function prototypes
2321         on __USE_MISC, to ensure struct ether_addr is declared.
2323         * socket/bits/types/struct_osockaddr.h: New header.
2324         * include/bits/types/struct_osockaddr.h: New wrapper.
2325         * socket/Makefile: Install the new header.
2326         * socket/sys/socket.h, inet/protocols/talkd.h:
2327         Refer to bits/types/struct_osockaddr.h for the definition of
2328         struct osockaddr.
2330 2016-09-23  Zack Weinberg  <zackw@panix.com>
2332         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
2333         * inet/protocols/routed.h, inet/protocols/talkd.h
2334         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
2335         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
2336         * sysdeps/generic/netinet/if_ether.h
2337         * sysdeps/generic/netinet/in_systm.h
2338         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
2339         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
2340         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
2341         * sysdeps/mach/hurd/net/if_arp.h
2342         * sysdeps/mach/hurd/net/if_ppp.h
2343         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
2344         * sysdeps/unix/sysv/linux/bits/in.h
2345         * sysdeps/unix/sysv/linux/net/ethernet.h
2346         * sysdeps/unix/sysv/linux/net/if_arp.h
2347         * sysdeps/unix/sysv/linux/net/if_ppp.h
2348         * sysdeps/unix/sysv/linux/net/if_shaper.h
2349         * sysdeps/unix/sysv/linux/net/route.h
2350         * sysdeps/unix/sysv/linux/netinet/if_ether.h
2351         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
2352         * sysdeps/unix/sysv/linux/netinet/if_tr.h
2353         * sysdeps/unix/sysv/linux/netipx/ipx.h
2354         * sysdeps/unix/sysv/linux/sys/acct.h
2355         * include/arpa/nameser.h, include/resolv.h:
2356         Change all uses of u_char to unsigned char,
2357         u_short and ushort to unsigned short, u_int and uint to unsigned int,
2358         u_long and ulong to unsigned long, u_int8_t to uint8_t,
2359         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
2360         and u_int64_t and u_quad_t to uint64_t.
2362         * mach/sys/reboot.h: Remove two casts of integer literals
2363         to the types they already have.
2365         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
2366         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
2367         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
2368         from referring to 'unsigned char' to 'uint8_t' for consistency with
2369         the macro definition below.
2371         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
2372         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
2373         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
2374         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
2375         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
2376         * sysdeps/unix/sysv/linux/sys/acct.h
2377         * include/arpa/nameser.h, include/resolv.h:
2378         Fix indentation disrupted by mechanical edits.
2380         * inet/protocols/talkd.h, resolv/arpa/nameser.h
2381         * sysdeps/generic/netinet/in_systm.h
2382         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
2383         * sysdeps/gnu/netinet/udp.h
2384         * sysdeps/unix/sysv/linux/net/ethernet.h
2385         * sysdeps/unix/sysv/linux/net/if_arp.h
2386         * sysdeps/unix/sysv/linux/net/if_ppp.h
2387         * sysdeps/unix/sysv/linux/net/if_shaper.h
2388         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
2389         * sysdeps/unix/sysv/linux/netinet/if_tr.h
2390         * sysdeps/unix/sysv/linux/netipx/ipx.h
2391         * sysdeps/unix/sysv/linux/sys/acct.h
2392         Include stdint.h for uintNN_t definitions.
2393         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
2395 2016-09-23  Zack Weinberg  <zackw@panix.com>
2397         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
2398         * sysdeps/unix/sysv/linux/netrose/rose.h:
2399         Include sys/socket.h and netax25/ax25.h.
2401         * inet/netinet/icmp6.h, inet/netinet/ip6.h
2402         * resolv/arpa/nameser_compat.h:
2403         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
2405         * sysdeps/unix/sysv/linux/sys/quota.h:
2406         Use __caddr_t instead of caddr_t.
2407         * sysdeps/unix/sysv/linux/sys/timerfd.h:
2408         Use __clockid_t instead of clockid_t.
2410         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
2412         * argp/argp.h: Check whether _LIBC is defined before expanding it.
2413         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
2414         expanding it.
2416         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
2417         Define __glibc_c99_flexarr_available to 1 when the compiler
2418         supports C99-compatible flexible array members, 0 otherwise.
2419         * sysdeps/unix/sysv/linux/bits/socket.h
2420         * sysdeps/mach/hurd/bits/socket.h
2421         * bits/socket.h: Use __glibc_c99_flexarr_available in
2422         definitions of struct cmsghdr and CMSG_DATA.
2424 2016-09-23  Florian Weimer  <fweimer@redhat.com>
2426         * manual/nss.texi (NSS Modules Interface): Adjust function return
2427         type to enum nss_status.  Document errnop argument.  Clarify
2428         h_errnop semantics.  Fix cross-reference formatting.
2429         (NSS Module Function Internals): Mention that *errnop needs to be
2430         set on failure, but not to zero.
2432 2016-09-23  Florian Weimer  <fweimer@redhat.com>
2434         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
2435         (get_random_name): New functions.
2436         (check_wrapper_flags_mode): Use linkat to give the new file a name
2437         determined by get_random_name.
2438         (do_test): Add calls to test open64 and openat64.
2440 2016-09-23  Florian Weimer  <fweimer@redhat.com>
2442         * test-skeleton.c: Remove #include <stdarg.h>.
2444 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
2446         [BZ #19826]
2447         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
2448         initialization of static TLS entries.
2449         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
2450         * nptl/allocatestack.c (init_one_static_tls): Likewise.
2452 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2454         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
2455         _hurd_malloc_fork_prepare.
2456         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
2457         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
2458         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
2459         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
2460         (_hurd_fork_child_hook): Drop malloc_fork_child.
2461         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
2462         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
2463         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
2464         after locking locks (notably hurd_dtable_lock). Call
2465         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
2466         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
2467         __malloc_fork_unlock_child.
2468         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
2470 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
2472         * soft-fp/extendhftf2.c: New.
2473         * soft-fp/fixhfti.c: Likewise.
2474         * soft-fp/fixunshfti.c: Likewise.
2475         * soft-fp/floattihf.c: Likewise.
2476         * soft-fp/floatuntihf.c: Likewise.
2477         * soft-fp/half.h: Likewise.
2478         * soft-fp/trunctfhf2.c: Likewise.
2480 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
2482         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
2483         macro.
2484         * math/libm-test.inc (issubnormal_test_data): New array.
2485         (issubnormal_test): New function.
2486         * manual/arith.texi (Floating Point Classes): Document
2487         issubnormal.
2488         * manual/libm-err-tab.pl: Update comment on interfaces without
2489         ulps tabulated.
2491         * sysdeps/generic/stdint.h: Define
2492         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2493         <bits/libc-header-start.h> instead of including <features.h>.
2494         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
2495         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
2496         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
2497         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
2498         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
2499         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
2500         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
2501         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
2502         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
2503         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
2504         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
2505         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
2506         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
2507         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
2508         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
2509         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
2510         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
2511         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
2512         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
2513         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
2514         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
2515         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
2516         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
2517         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
2518         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
2519         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
2520         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
2521         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
2522         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
2523         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
2524         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
2525         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
2526         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
2527         * manual/arith.texi (Integers): Document these macros for types
2528         specified by width properties.
2529         * manual/lang.texi (Width of Type): Document these macros for
2530         other standard typedefs.
2531         * stdlib/tst-width-stdint.c: New file.
2532         * stdlib/Makefile (tests): Add tst-width-stdint.
2534 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2536         [BZ #20016]
2537         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
2538         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
2539         Move ...
2540         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
2541         ... here, as compatibility symbols in a new file.
2542         * resolv/Makefile (libresolv-routines): Add compat-hooks.
2543         * resolv/res_init.c (__res_vinit): Adjust member names.
2544         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
2545         * resolv/resolv.h (res_sendhookact, res_send_qhook)
2546         (res_send_rhook): Remove.
2547         (struct __res_state): Rename qhook, rhook members.
2549 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2551         malloc: Use __libc_lock wrappers.
2552         * malloc/arena.c (list_lock, free_list_lock): Define using
2553         __libc_lock_define_initialized.
2554         (arena_lock): Adjust formatting.
2555         * malloc/malloc.c (struct malloc_state): Define mutex using
2556         __libc_lock_define.
2557         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
2558         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
2559         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
2560         (mutex_unlock, mutex_trylock): Remove.
2561         (__pthread_initialize): Remove unused macro.
2562         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
2563         (mutex_unlock, mutex_trylock): Remove.
2565 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2567         [BZ #20592]
2568         Remove RR type classification macros.
2569         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
2570         (ns_t_udp_p, ns_t_xfr_p): Remove.
2572 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2574         Remove misleading version information.
2575         * resolv/arpa/nameser.h (__NAMESER): Remove.
2576         * resolv/arpa/nameser_compat.h (__BIND): Remove.
2578 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2580         Remove the always-defined BIND_4_COMPAT macro.
2581         * resolv/arpa/nameser.h: Unconditionally include
2582         <arpa/nameser_compat.h>.
2583         (BIND_4_COMPAT): Remove.
2584         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
2586 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2588         [BZ #20591]
2589         Remove obsolete DNSSEC support.
2590         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
2591         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
2592         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
2593         (ns_verify_tcp, ns_verify_tcp_init): Remove.
2594         (ns_cert_types): Add comment.
2595         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
2596         separately.
2597         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
2598         (dst_s_dns_key_id): Remove.
2599         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
2600         variables.
2602 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2604         [BZ #20524]
2605         * manual/string.texi (String/Array Comparison): Clarify the
2606         strverscmp behavior.
2608 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2610         * test-skeleton.c (xasprintf): Add function.
2611         * io/tst-open-tmpfile.c: New test.
2612         * io/Makefile (tests): Add it.
2614 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2616         Avoid running $(CXX) during build to obtain header file paths.
2617         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
2618         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
2619         * Makerules (cstdlib, cmath): Remove variables.  Use
2620         $(c++-cstdlib-header), $(c++-cmath-header) instead.
2621         * configure: Regenerate.
2623 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2625         * Makeconfig (all-object-suffixes): Include .op only if
2626         $(build-profile).
2628 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2630         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
2631         conditionals.  Do not define PATH_MAX.
2633 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2635         * posix/Makefile (tests): Add tst-spawn3.
2636         * posix/tst-spawn3.c: New file.
2637         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
2638         if it is already opened for open action.
2640         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
2641         all signals when executing the clone vfork child.
2642         (SIGALL_SET): Remove macro.
2644         * nptl/Makefile (tests): Add tst-exec5.
2645         * nptl/tst-exec5.c: New file.
2646         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
2647         asynchronous cancellation.
2649 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2651         * hurd/exc2signal.c: #include <hurd/signal.h>
2652         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
2653         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
2654         accordingly.
2655         * mach/mach_error.c (mach_error): Fix old-style function definition.
2656         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
2658 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2660         * math/Makefile (libm-calls): Remove s_nanF.
2661         (gen-libm-calls): Add s_nanF.
2663         * math/s_nan.c: Refactor into ...
2664         * math/s_nan_template.c: New file.
2666         * math/s_nanf.c: Removed.
2667         * math/s_nanl.c: Removed.
2668         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
2669         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
2671         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2672         (LDOUBLE_nanl_libm_version): New macro.
2674         * sysdeps/generic/math-type-macros-double.h:
2675         (M_STRTO_NAN): New macro.
2676         * sysdeps/generic/math-type-macros-float.h: Likewise.
2677         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2679         * sysdeps/generic/math-type-macros.h: Document
2680         M_STRTO_NAN.
2682 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2684         * math/s_nanf.c: Remove __nanf undef.
2685         * math/s_nan.c: Remove __nan undef.
2686         * math/s_nanl.c: Remove __nanl undef.
2688         * sysdeps/generic/math_private.h (__nan): Remove macro
2689         override.
2690         (__nanf): Likewise.
2691         (__nanl): Likewise.
2693 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2695         * math/Makefile (gen-all-calls): New variable.
2696         (generated): Replace gen-libm-calls with gen-all-calls.
2697         (gen-libm-templates.stmp): Likewise.  Also, ensure
2698         the output directory exists or is created and add
2699         dependency on the Makefile.
2700         (calls): Move s_ldexpF into gen-calls.
2701         (gen-calls): New variable.
2703         * math/s_ldexpf.c: Removed.
2704         * math/s_ldexpl.c: Removed.
2705         * math/s_ldexp.c: Refactored into ...
2706         * math/s_ldexp_template.c: New file.
2708         * sysdeps/generic/math-type-macros-double.h: Remove
2709         redundant fall-through definition of declare_mgen_alias.
2710         (declare_mgen_alias_2): New macro.
2712         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
2713         New macro for function aliased to two exported symbols.
2715         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
2716         new template file.
2717         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2719 2016-09-20  Florian Weimer  <fweimer@redhat.com>
2721         * Makeconfig (all-object-suffixes): Remove .og.
2722         * Makerules (elide-routines.og): Remove.
2723         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
2724         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
2725         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
2727 2016-09-20  Florian Weimer  <fweimer@redhat.com>
2729         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
2730         .os objects.
2732 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2734         [BZ #20615]
2735         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
2736         fpu directory by non-fpu.
2737         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
2738         on non-fpu directory from a fpu directory.
2740 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
2742         * include/limits.h: Define
2743         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2744         <bits/libc-header-start.h> instead of including <features.h>.
2745         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
2746         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
2747         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
2748         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
2749         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
2750         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
2751         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
2752         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
2753         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
2754         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
2755         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
2756         * manual/lang.texi (Width of Type): Document these macros.
2757         * stdlib/tst-width.c: New file.
2758         * stdlib/Makefile (tests): Add tst-width.
2760 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2762         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
2763         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
2765 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2767         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
2768         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
2769         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
2771 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2773         [BZ #18243]
2774         * rt/Makefile (test): Add tst-shm-cancel.
2775         * rt/tst-shm-cancel.c: New file.
2776         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
2778         [BZ #18243]
2779         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
2780         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
2781         definition.
2782         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
2783         uncontended case.
2784         * nptl/sem_wait.c (__new_sem_wait): Likewise.
2785         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
2786         (tf): Fix check for uncontended case.
2787         (do_test): Likewise.
2788         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
2789         (tf): Fix check for uncontended case.
2790         (do_test): Likewise.
2791         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
2792         (tf): Fix check for uncontended case.
2793         (do_test): Likewise.
2794         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
2795         (tf): Fix check for uncontended case.
2796         (do_test): Likewise.
2798         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
2799         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
2801         [BZ #15765]
2802         * nptl/Makefile (tests): Add tst-sem16.
2803         * nptl/tst-sem16.c: New file.
2804         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
2806         * nptl/sem_open.c (sem_open): Init pad value to 0.
2807         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
2808         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
2810 2016-09-15  Florian Weimer  <fweimer@redhat.com>
2812         [BZ #20611]
2813         * inet/Makefile (routines): Add inet6_scopeid_pton.
2814         (tests): Add tst-inet6_scopeid_pton.
2815         * inet/inet6_scopeid_pton.c: New file.
2816         * inet/net-internal.h: Likewise.
2817         * inet/tst-inet6_scopeid_pton.c: New test.
2818         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
2819         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
2820         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2822 2016-09-14  Florian Weimer  <fweimer@redhat.com>
2824         Remove support for compiling wrappers with PTW.
2825         * sysdeps/nptl/Makeconfig: Drop ptw- support.
2826         * nptl/Makefile (pthread-compat-wrappers): Define.
2827         (libpthread-routines): Use pthread-compat-wrappers.
2828         * sysdeps/unix/sysv/linux/alpha/Makefile
2829         (libpthread-routines, libpthread-shared-only-routines): Remove
2830         ptw- prefix.
2831         * sysdeps/s390/nptl/Makefile
2832         (libpthread-routines, libpthread-shared-only-routines): Likewise.
2833         * sysdeps/ia64/nptl/Makefile
2834         (libpthread-routines, libpthread-shared-only-routines): Likewise.
2835         * sysdeps/nacl/Makefile (libpthread-routines): Use
2836         pthread-compat-wrappers to filter the routines list instead of the
2837         ptw- prefix.
2839 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2841         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
2842         with L() and remove explicit suffix, convert real literals
2843         which can be equivalentally substituted with integers, and
2844         transform -L(x) to L(-x).
2846         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2847         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2848         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2849         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2850         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2851         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2852         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2853         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2854         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2855         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2856         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2857         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2858         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2859         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2860         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2861         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2862         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2863         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2864         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2865         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2866         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2867         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2868         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2869         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2870         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
2871         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2872         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2873         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2874         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2875         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2876         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2877         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
2878         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2879         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2880         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2881         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2882         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2883         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2884         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2885         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2886         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2887         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2888         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2889         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2890         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2891         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2892         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2893         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
2894         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2895         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2897 2016-09-13  Florian Weimer  <fweimer@redhat.com>
2899         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
2901 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2903         * malloc/Makefile (tests): Remove individual static test names
2904         and just add all of tests-static.
2906         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
2908 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
2910         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
2911         file.
2913         * sysdeps/sparc/fpu/fegetmode.c: New file.
2914         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
2916         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
2917         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
2919         * sysdeps/s390/fpu/fegetmode.c: New file.
2920         * sysdeps/s390/fpu/fesetmode.c: Likewise.
2922         * sysdeps/powerpc/fpu/fegetmode.c: New file.
2923         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
2924         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
2925         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
2926         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
2927         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
2929         * sysdeps/mips/fpu/fegetmode.c: New file.
2930         * sysdeps/mips/fpu/fesetmode.c: Likewise.
2932         * sysdeps/m68k/fpu/fegetmode.c: New file.
2933         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
2935         * sysdeps/ia64/fpu/fegetmode.c: New file.
2936         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
2938         * sysdeps/hppa/fpu/fegetmode.c: New file.
2939         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
2941         * sysdeps/arm/fegetmode.c: New file.
2942         * sysdeps/arm/fesetmode.c: Likewise.
2944         * sysdeps/alpha/fpu/fegetmode.c: New file.
2945         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
2947         * sysdeps/aarch64/fpu/fegetmode.c: New file.
2948         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
2950         * math/fegetmode.c: New file.
2951         * math/fesetmode.c: Likewise.
2952         * sysdeps/i386/fpu/fegetmode.c: Likewise.
2953         * sysdeps/i386/fpu/fesetmode.c: Likewise.
2954         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
2955         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
2956         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
2957         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
2958         declaration.
2959         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
2960         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
2961         typedef.
2962         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2963         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2964         (femode_t): New typedef.
2965         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2966         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2967         (femode_t): New typedef.
2968         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2969         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2970         (femode_t): New typedef.
2971         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2972         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2973         (femode_t): New typedef.
2974         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2975         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2976         (femode_t): New typedef.
2977         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2978         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2979         (femode_t): New typedef.
2980         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2981         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2982         (femode_t): New typedef.
2983         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2984         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2985         (femode_t): New typedef.
2986         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2987         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2988         (femode_t): New typedef.
2989         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2990         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2991         (femode_t): New typedef.
2992         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
2993         declaration.
2994         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2995         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2996         (femode_t): New typedef.
2997         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2998         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2999         (femode_t): New typedef.
3000         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3001         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3002         (femode_t): New typedef.
3003         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3004         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3005         (femode_t): New typedef.
3006         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3007         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3008         (femode_t): New typedef.
3009         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3010         * manual/arith.texi (FE_DFL_MODE): Document macro.
3011         (fegetmode): Document function.
3012         (fesetmode): Likewise.
3013         * math/Versions (fegetmode): New libm symbol at version
3014         GLIBC_2.25.
3015         (fesetmode): Likewise.
3016         * math/Makefile (libm-support): Add fegetmode and fesetmode.
3017         (tests): Add test-femode and test-femode-traps.
3018         * math/test-femode-traps.c: New file.
3019         * math/test-femode.c: Likewise.
3020         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
3021         alias for __fe_dfl_env.
3022         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
3023         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
3024         (__fe_dfl_mode): Likewise.
3025         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
3026         version GLIBC_2.25.
3027         * sysdeps/nacl/libm.abilist: Update.
3028         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3029         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3030         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3031         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3032         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3033         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3034         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3035         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3036         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3037         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3038         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3039         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3041         Likewise.
3042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3043         Likewise.
3044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3045         Likewise.
3046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3047         Likewise.
3048         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3049         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3050         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3051         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3052         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3054         Likewise.
3055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3056         Likewise.
3057         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3058         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3059         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3061 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
3063         [BZ #20495]
3064         [BZ #20508]
3065         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
3066         processors, set Use_dl_runtime_resolve_slow and set
3067         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
3068         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
3069         New.
3070         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
3071         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
3072         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
3073         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
3074         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
3075         if Use_dl_runtime_resolve_opt is set.  Use
3076         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
3077         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
3078         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
3079         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
3080         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
3081         New.
3082         (_dl_runtime_resolve_opt): Likewise.
3083         (_dl_runtime_profile): Define only if _dl_runtime_profile is
3084         defined.
3086 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3088         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
3089         __libc_memalign with "+ RELA R_390_GLOB_DAT".
3091 2016-09-06  Florian Weimer  <fweimer@redhat.com>
3093         Convert malloc to __libc_lock.  Automated part, using this Perl
3094         s/// command:
3095           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
3096             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
3097         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
3098         conversion.
3100 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
3102         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
3103         (linknamespace-symlists-tests): Likewise.
3104         (linknamespace-header-tests): Likewise.
3106 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
3108         [BZ #19810]
3109         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
3110         * elf/tst-noload.c: New test case.
3111         * elf/Makefile (tests): Add tst-noload.
3113 2016-09-02  Roland McGrath  <roland@hack.frob.com>
3115         * sysdeps/nacl/dup.c: Add libc_hidden_def.
3117         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
3118         not any more.
3120         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
3122 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3124         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
3125         (do_cos_slow): Likewise.
3126         (do_sin): Likewise.
3127         (do_sin_slow): Likewise.
3128         (slow): Likewise.
3129         (slow1): Likewise.
3130         (slow2): Likewise.
3131         (sloww): Likewise.
3132         (sloww1): Likewise.
3133         (sloww2): Likewise.
3134         (bsloww): Likewise.
3135         (bsloww1): Likewise.
3136         (bsloww2): Likewise.
3137         (cslow2): Likewise.
3139         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
3141         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
3142         arguments.  Consolidate input partitioning from callers here.
3143         (do_cos_slow): Likewise.
3144         (do_sin): Likewise.
3145         (do_sin_slow): Likewise.
3146         (do_sincos_1): Remove the no longer necessary input partitioning.
3147         (do_sincos_2): Likewise.
3148         (__sin): Likewise.
3149         (__cos): Likewise.
3150         (slow1): Likewise.
3151         (slow2): Likewise.
3152         (sloww1): Likewise.
3153         (sloww2): Likewise.
3154         (bsloww1): Likewise.
3155         (bsloww2): Likewise.
3156         (cslow2): Likewise.
3158 2016-09-02  Florian Weimer  <fweimer@redhat.com>
3160         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
3161         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
3162         outside of allocated array.
3164 2016-09-02  Florian Weimer  <fweimer@redhat.com>
3166         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
3167         instead of MB_CUR_MAX to avoid variable-length array.
3169 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3171         * math/Makefile (libm-calls): Remove k_rem_pio2F.
3172         (type-double-routines): Add k_rem_pio2.
3173         (type-float-routines): Add k_rem_pio2f.
3175         * sysdeps/generic/math_private.h:
3176         (__kernel_rem_pio2l): Removed.
3178         * math/k_rem_pio2l.c: Removed.
3179         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
3180         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
3181         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
3182         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
3184 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3186         * math/Makefile (gen-libm-calls): Add s_fmin
3187         (libm-calls): Remove above.
3189         * math/s_fmin.c: Refactor into ...
3190         * math/s_fmin_template.c: New file.
3192         * math/s_fminf.c: Removed.
3193         * math/s_fminl.c: Removed.
3194         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3195         (LDOUBLE_fmin_libm_version): New macro.
3197         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
3198         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
3200 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3202         * math/Makefile: (gen-libm-calls): Add s_fmax.
3203         (libm-calls): Remove above.
3205         * math/s_fmax.c: Refactor into ...
3206         * math/s_fmax_template.c: New file.
3207         * math/s_fmaxf.c: Removed.
3208         * math/s_fmaxl.c: Removed.
3210         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3211         (LDOUBLE_fmaxl_libm_version): New macro.
3213         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
3214         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
3216         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
3217         s_fmin.c to pick the aarch64 version of the file.
3218         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
3219         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
3221 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3223         * math/Makefile: (gen-libm-calls): Add s_nextdown.
3224         (libm-calls): Remove above.
3226         * math/s_nextdown.c: Refactor into ...
3227         * math/s_nextdown_template.c: New file.
3228         * math/s_nextdownf.c: Removed.
3229         * math/s_nextdownl.c: Removed.
3231         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
3233 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3235         * math/Makefile (gen-libm-calls): Add s_fdim.
3236         (libm-calls): Move to above.
3238         * math/s_fdim.c: Renamed and refactored into to ...
3239         * math/s_fdim_template.c: New file.
3240         * math/s_fdiml.c: Removed.
3241         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
3242         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
3244         * sysdeps/generic/math-type-macros-double.h:
3245         (declare_mgen_alias): Don't declare if already declared.
3246         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
3247         Likewise.
3249         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3250         (declare_mgen_alias): Don't declare if already declared.
3251         (M_LIBM_NEED_COMPAT): Likewise.
3252         (declare_mgen_libm_compat): Likewise.
3253         (LDOUBLE_fdiml_libm_version): New macro.
3255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
3256         Include math/s_fdim.c now that ldbl-opt version is not needed.
3257         (declare_mgen_alias): New macro to disable aliasing.
3259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
3260         (declare_mgen_alias): Likewise.
3261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
3262         (declare_mgen_alias): Likewise.
3263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
3264         (declare_mgen_alias): Likewise.
3265         (M_LIBM_NEED_COMPAT): Likewise.
3267 2016-09-01  Florian Weimer  <fweimer@redhat.com>
3269         [BZ #20525]
3270         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
3271         Include <linux/quota.h>.
3272         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
3273         and btodb.
3274         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
3275         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
3276         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
3277         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
3278         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
3279         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
3280         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
3281         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
3282         types.
3283         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
3284         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
3286 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3288         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
3289         (gammal_positive): Fix spacing.
3290         (__ieee754_gammal_r): Likewise.
3292 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3294         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
3295         (_Float128): Define as long double, always.
3296         (L): Apply long double type suffix, always.
3298         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
3299         _Float128, excepting comments.
3301         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3302         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3303         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3304         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3305         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3306         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3307         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3308         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3309         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3310         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
3311         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3312         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3313         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3314         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3315         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3316         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3317         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3318         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3319         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3320         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3321         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3322         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3323         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3324         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3325         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3326         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3327         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
3328         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
3329         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3330         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3331         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3332         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3333         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3334         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3335         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3336         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3337         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3338         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3339         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3340         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
3341         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3342         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3343         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3344         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3345         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
3346         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3347         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3348         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3349         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3350         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3351         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3352         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3353         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3354         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3355         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
3356         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3357         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3358         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3359         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3360         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3361         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3362         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3363         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3364         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3365         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3366         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
3367         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3368         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3370         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
3371         _Float128, and include math_private.h.
3372         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3374         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
3375         long double semantics.
3376         (_Float128): Likewise.
3377         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
3378         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
3379         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
3380         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
3382 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3384         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
3385         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
3386         * sysdeps/s390/configure: Regenerated.
3387         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
3388         instruction for raising over-/underflow if z196 zarch is supported
3389         by default.
3390         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
3392 2016-08-30  Svante Signell  <svante.signell@gmail.com>
3394         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
3395         it point to a dumb buffer for RPC to fill it.
3397 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3399         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
3400         instead of if/else.
3401         (do_sin_slow): Likewise.
3402         (do_sincos_1): Use fabs instead of if/else.
3403         (do_sincos_2): Likewise.
3404         (__sin): Likewise.
3405         (__cos): Likewise.
3406         (slow2): Likewise.
3407         (sloww): Likewise.
3408         (sloww1): Likewise.  Drop argument M.
3409         (sloww2): Use fabs instead of if/else.
3410         (bsloww): Likewise.
3411         (bsloww1): Likewise.
3412         (bsloww2): Likewise.
3414         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
3415         fall through comment.
3416         (do_sincos_1): Likewise.
3418         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
3419         Consolidate switch cases 0 and 2.
3421 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3423         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
3424         (libm-calls): Remove the above.
3426         * math/s_cexp_template.c: Update using type-generic macros.
3427         * math/s_clog10_template.c: Likewise.
3428         * math/s_cpow_template.c: Likewise.
3429         * math/s_clog_template.c: Likewise.
3430         * math/s_cproj_template.c: Likewise.
3431         * math/s_csqrt_template.c: Likewise.
3433         * math/s_cexp.c: Removed.
3434         * math/s_cexpf.c: Removed.
3435         * math/s_cexpl.c: Removed.
3436         * math/s_clog10.c: Removed.
3437         * math/s_clog10f.c: Removed.
3438         * math/s_clog10l.c: Removed.
3439         * math/s_cpow.c: Removed.
3440         * math/s_cpowf.c: Removed.
3441         * math/s_cpowl.c: Removed.
3442         * math/s_clog.c: Removed.
3443         * math/s_clogf.c: Removed.
3444         * math/s_clogl.c: Removed.
3445         * math/s_cproj.c: Removed.
3446         * math/s_cprojf.c: Removed.
3447         * math/s_cprojl.c: Removed.
3448         * math/s_csqrt.c: Removed.
3449         * math/s_csqrtf.c: Removed.
3450         * math/s_csqrtl.c: Removed.
3452         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
3453         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
3454         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
3455         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
3456         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
3457         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
3459         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
3460         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
3461         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
3462         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
3463         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
3464         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
3465         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
3466         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
3467         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
3468         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
3469         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
3471         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
3472         version.
3474         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
3475         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
3476         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
3477         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
3479 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3481         * s_cexp_template.c: Copy of s_cexp.c.
3482         * s_clog_template.c: Copy of s_clog.c.
3483         * s_clog10_template.c: Copy of s_clog10.c.
3484         * s_cpow_template.c: Copy of s_cpow.c.
3485         * s_cproj_template.c: Copy of s_cproj.c.
3486         * s_csqrt_template.c: Copy of s_csqrt.c.
3488 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3490         [BZ #20517]
3491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
3492         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
3493         exported.
3495 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
3497         * math/fetestexceptflag.c: New file.
3498         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
3499         Stefan Liebler.
3500         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3501         (fetestexceptflag): New function declaration.
3502         * manual/arith.texi (fetestexceptflag): Document function.
3503         * math/Versions (fetestexceptflag): New libm symbol at version
3504         GLIBC_2.25.
3505         * math/Makefile (libm-support): Add fetestexceptflag.
3506         (tests): Add test-fetestexceptflag.
3507         * math/test-fetestexceptflag.c: New file.
3508         * sysdeps/nacl/libm.abilist: Update.
3509         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3510         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3511         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3512         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3513         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3514         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3515         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3516         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3517         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3518         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3519         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3520         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3522         Likewise.
3523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3524         Likewise.
3525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3526         Likewise.
3527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3528         Likewise.
3529         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3530         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3531         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3532         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3533         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3535         Likewise.
3536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3537         Likewise.
3538         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3539         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3540         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3542 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3544         [BZ #20432]
3545         Avoid strong references to malloc-internal symbols when linking
3546         statically, to support statically interposed mallocs.
3547         * include/libc-symbols.h (call_function_static_weak): New macro.
3548         * malloc/Makefile (tests): Add tst-interpose-nothread,
3549         tst-interpose-thread, tst-interpose-static-nothread,
3550         tst-interpose-static-thread.
3551         (tests-static): Add tst-interpose-static-nothread,
3552         tst-interpose-static-thread.
3553         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
3554         tst-interpose-aux-thread.o.
3555         (test-extras): Add tst-interpose-aux-nothread,
3556         tst-interpose-aux-thread.
3557         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
3558         tst-interpose-aux-nothread.o.
3559         (tst-interpose-thread, tst-interpose-static-thread): Link with
3560         tst-interpose-aux-thread.o and libthread.
3561         * malloc/tst-interpose-aux-nothread.c: New file.
3562         * malloc/tst-interpose-aux-thread.c: Likewise.
3563         * malloc/tst-interpose-aux.c: Likewise.
3564         * malloc/tst-interpose-aux.h: Likewise.
3565         * malloc/tst-interpose-nothread.c: Likewise.
3566         * malloc/tst-interpose-skeleton.c: Likewise.
3567         * malloc/tst-interpose-static-nothread.c: Likewise.
3568         * malloc/tst-interpose-static-thread.c: Likewise.
3569         * malloc/tst-interpose-thread.c: Likewise.
3570         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
3571         * sysdeps/mach/hurd/fork.c (__fork): Only call
3572         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
3573         __malloc_fork_unlock_child if defined.
3574         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3576 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3578         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
3579         timespec C99 designated initialization.
3581 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3583         [BZ #19946]
3584         Avoid expected SIGALRM signals.
3585         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
3586         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
3587         (xpthread_create, xpthread_detach, xpthread_join)
3588         (delayed_exit_thread, delayed_exit): New functions.
3589         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
3590         (tf): Use xpthread_cond_wait.
3591         (do_test): Likewise.  Replace alarm with delayed_exit.
3592         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3593         (do_test): Call delayed_exit.  Report failure.
3594         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3595         (do_test): Call delayed_exit.
3596         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3597         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
3598         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3599         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
3600         error.
3601         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3602         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
3603         error.
3604         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
3605         (do_test): Call delayed_exit.
3606         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
3607         (do_test): Call delayed_exit.
3608         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
3609         (do_test): Call delayed_exit instead of alarm.  Use
3610         xpthread_mutex_lock.
3611         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
3612         (do_test): Call delayed_exit instead of alarm.  Use
3613         xpthread_mutex_lock.
3614         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
3615         (do_test): Call delayed_exit instead of alarm.
3616         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
3617         (do_test): Call delayed_exit instead of alarm.  Use
3618         xpthread_spin_lock.
3619         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
3620         (do_test): Call delayed_exit instead of alarm.  Use
3621         xpthread_join.
3623 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
3625         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
3626         adjust CFA when allocating register save area on re-aligned
3627         stack.
3629 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3631         * string/tst-cmp.c: New test.
3632         * string/Makefile (tests): Add it.
3634 2016-08-25  Mark Wielaard  <mark@klomp.org>
3636         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
3637         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
3638         (check_tree_recurse): Use newly defined accessors.
3639         (check_tree): Likewise.
3640         (maybe_split_for_insert): Likewise.
3641         (__tfind): Likewise.
3642         (__tdelete): Likewise.
3643         (trecurse): Likewise.
3644         (tdestroy_recurse): Likewise.
3645         (__tsearch): Likewise. And add asserts for malloc alignment.
3646         (__twalk): Cast root to node in case CHECK_TREE is defined.
3648 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3650         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
3652 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3654         * math/Makefile (libm-gen-calls): Add
3655         catan, catanh, ctan, ctanh.
3656         (libm-calls): Remove the above.
3658         * math/s_catan_template.c: Update using type-generic macros.
3659         * math/s_catanh_template.c: Likewise.
3660         * math/s_ctan_template.c: Likewise.
3661         * math/s_ctanh_template.c: Likewise.
3663         * math/s_catanf.c: Removed.
3664         * math/s_catan.c: Removed.
3665         * math/s_catanl.c: Removed.
3666         * math/s_catanhf.c: Removed.
3667         * math/s_catanh.c: Removed.
3668         * math/s_catanhl.c: Removed.
3669         * math/s_ctanf.c: Removed.
3670         * math/s_ctan.c: Removed.
3671         * math/s_ctanl.c: Removed.
3672         * math/s_ctanhf.c: Removed.
3673         * math/s_ctanh.c: Removed.
3674         * math/s_ctanhl.c: Removed.
3676         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
3677         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
3678         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
3679         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
3680         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
3681         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
3683         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
3684         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
3685         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
3686         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
3688 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3690         * s_catan_template.c: Copy of s_catan.c.
3691         * s_catanh_template.c: Copy of s_catanh.c.
3692         * s_ctan_template.c: Copy of s_ctan.c.
3693         * s_ctanh_template.c: Copy of s_ctanh.c.
3695 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3697         * math/Makefile (gen-libm-calls): Move
3698         casin, casinh, csin, csinh here.
3699         (libm-calls): Remove the above.
3701         * math/s_casin_template.c: Update using type-generic macros.
3702         * math/s_casinh_template.c: Likewise.
3703         * math/s_csin_template.c: Likewise.
3704         * math/s_csinh_template.c: Likewise.
3705         * math/k_casinh_template.c: Likewise.
3707         * math/s_casinf.c: Removed.
3708         * math/s_casin.c: Removed.
3709         * math/s_casinl.c: Removed.
3710         * math/s_casinh.c: Removed.
3711         * math/s_casinhf.c: Removed.
3712         * math/s_casinhl.c: Removed.
3713         * math/s_csin.c: Removed.
3714         * math/s_csinf.c: Removed.
3715         * math/s_csinl.c: Removed.
3716         * math/s_csinh.c: Removed.
3717         * math/s_csinhf.c: Removed.
3718         * math/s_csinhl.c: Removed.
3719         * math/k_casinh.c: Removed.
3720         * math/k_casinhf.c: Removed.
3721         * math/k_casinhl.c: Removed.
3723         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
3724         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
3725         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
3726         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
3728         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
3729         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
3730         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
3731         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
3732         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
3733         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
3734         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
3735         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
3737         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
3738         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
3739         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
3740         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
3742         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
3743         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
3744         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
3745         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
3747 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3749         * s_casin_template.c: Copy of s_casin.c.
3750         * s_casinh_template.c: Copy of s_casinh.c.
3751         * s_csin_template.c: Copy of s_csin.c.
3752         * s_csinh_template.c: Copy of s_csinh.c.
3753         * k_casinh_template.c: Copy of k_casinh.c.
3755 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
3757         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
3759 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3761         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
3762         (mul_split) Remove, rename as mul_splitl, remove
3763         redundant float.h include, and include via mul_splitl.h
3765         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
3766         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3767         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3768         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
3769         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3771         * math/mul_splitl.h: New file.
3773         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
3774         Move into mul_split.h, and remove redundant float.h include.
3776         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
3777         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
3778         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3779         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
3781         * math/mul_split.h: New file.
3783 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3785         * math/Makefile (libm-gen-calls): Move
3786         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
3787         (libm-calls): Remove above.
3789         * math/s_cacos_template.c: Update using type-generic macros.
3790         * math/s_cacosh_template.c: Likewise.
3791         * math/s_ccos_template.c: Likewise.
3792         * math/s_ccosh_template.c: Likwise.
3794         * math/s_cacosf.c: Removed.
3795         * math/s_cacos.c: Removed.
3796         * math/s_cacosl.c: Removed.
3797         * math/s_cacoshf.c: Removed.
3798         * math/s_cacosh.c: Removed.
3799         * math/s_cacoshl.c: Removed.
3800         * math/s_ccosf.c: Removed.
3801         * math/s_ccos.c: Removed.
3802         * math/s_ccosl.c: Removed.
3803         * math/s_ccoshf.c: Removed.
3804         * math/s_ccosh.c: Removed.
3805         * math/s_ccoshl.c: Removed.
3807         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
3808         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
3809         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
3810         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
3811         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
3812         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
3814         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
3815         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
3816         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
3817         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
3819         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
3820         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
3821         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
3822         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
3824 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3826         * s_cacos_template.c: Copy of s_cacos.c.
3827         * s_cacosh_template.c: Copy of s_cacosh.c.
3828         * s_ccos_template.c: Copy of s_ccos.c.
3829         * s_ccosh_template.c: Copy of s_ccosh.c.
3831 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3833         * stdlib/tst-strtod-round-skeleton.c:
3834         Refactored from tst-strtod-round.c.
3836         (L_): New macro to apply literal modifier.
3837         (FNPFX): New macro to select str or wcs prefix.
3838         (CHAR): New macro to choose wchar_t or char.
3839         (STRM): New macro to choose printf for tested character type.
3841         (STRTO): New macro to choose appropriate string -> real function.
3842         (FNPFXS): Stringitized version of FNPFX.
3843         (STR): Support for above macro.
3844         (STRX): Likewise.
3846         (TEST): Update with above macros.
3847         (test): Likewise.
3848         (GEN_ONE_TEST): Likewise.
3849         (test_in_one_mode): Likewise.
3851         * stdlib/tst-strtod-round.c: New file.
3852         * wcsmbs/tst-wcstod-round.c: New file.
3854         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
3855         (tst-wcstod-round): Add libm depencency for fesetround.
3857 2016-08-19  Zack Weinberg  <zackw@panix.com>
3859         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
3861 2016-08-18  Torvald Riegel  <triegel@redhat.com>
3863         [BZ #20477]
3864         * resolv/res_hconf.c (do_init): Use atomic access.
3865         * resolv/res_hconf.h: Add comments.
3866         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
3867         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
3868         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3870 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
3872         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
3873         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
3874         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
3875         Likewise.
3877 2016-08-18  Florian Weimer  <fweimer@redhat.com>
3879         [BZ #16907]
3880         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
3881         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
3882         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
3883         (__attribute__): Remove definition.
3885 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3887         * sysdeps/ieee754/ldbl-128/e_asinl.c:
3888         Remove unused sqrtl declaration.
3890 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3892         * math/Makefile: (gen-libm-templates.stmp): New rule.
3893         (libm-calls): Move carg conj cimag and cabs into ...
3894         (gen-libm-calls): New variable.
3895         (generated): Inform Make objects from gen-libm-calls
3896         may be generated.
3898         * sysdeps/generic/math-type-macros.h: New file.
3899         * sysdeps/generic/math-type-macros-float.h: Likewise.
3900         * sysdeps/generic/math-type-macros-double.h: Likewise.
3901         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3902         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
3903         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
3905         * math/cabs.c: Refactor into
3906         * math/cabs_template.c: new file.
3907         * math/cabsf.c: Removed.
3908         * math/cabsl.c: Removed.
3909         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
3910         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
3912         * math/carg.c: Refactor into
3913         * math/carg_template.c: new file.
3914         * math/cargf.c: Removed.
3915         * math/cargl.c: Removed.
3916         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
3917         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
3919         * math/conj.c: Refactor into
3920         * math/conj_template.c: new file.
3921         * math/conjf.c: Removed.
3922         * math/conjl.c: Removed.
3923         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
3924         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
3926         * math/cimag.c: Refactor into
3927         * math/cimag_template.c: new file.
3928         * math/cimagf.c: Removed.
3929         * math/cimagl.c: Removed.
3930         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
3931         * sysdeps/ieee754/ldbl-opt/cimagl.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 2016-08-17  Florian Weimer  <fweimer@redhat.com>
3942         Reduce time to expected nptl/tst-once5 failure.
3943         * nptl/tst-once5.cc (TIMEOUT): Define.
3945 2016-08-17  Florian Weimer  <fweimer@redhat.com>
3947         [BZ #20452]
3948         Avoid additional copies of objects in libc.a in static libraries.
3949         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
3950         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
3951         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
3952         rt-sysdep.
3953         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
3954         Add nptl-sysdep.
3955         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
3956         Add ptw-sysdep.
3957         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
3958         rt-sysdep.
3959         * sysdeps/unix/sysv/linux/alpha/Makefile
3960         (libpthread-shared-only-routines): Add ptw-sysdep,
3961         ptw-sigprocmask, ptw-rt_sigaction.
3962         * sysdeps/unix/sysv/linux/ia64/Makefile
3963         (librt-shared-only-routines): Add rt-sysdep.
3964         * sysdeps/unix/sysv/linux/i386/Makefile
3965         (libpthread-shared-only-routines): Add libc-do-syscall.
3966         * sysdeps/unix/sysv/linux/microblaze/Makefile
3967         (libpthread-shared-only-routines): Add sysdep.
3968         * sysdeps/unix/sysv/linux/powerpc/Makefile
3969         (librt-shared-only-routines): Add rt-sysdep.
3970         (libpthread-shared-only-routines): Add sysdep.
3971         * sysdeps/unix/sysv/linux/s390/Makefile
3972         (librt-shared-only-routines): Add rt-sysdep.
3973         * sysdeps/unix/sysv/linux/sparc/Makefile
3974         (librt-shared-only-routines): Add rt-sysdep.
3975         (libpthread-shared-only-routines): Add sysdep.
3976         * sysdeps/unix/sysv/linux/tile/Makefile
3977         (libpthread-shared-only-routines): Likewise.
3979 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
3981         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
3982         Mask implicit bit out of unpacked value.
3983         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
3984         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
3985         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
3987         * sysdeps/sparc/fpu/fesetexcept.c: New file.
3989         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
3991         * sysdeps/s390/fpu/fesetexcept.c: New file.
3993         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
3994         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
3995         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
3997         * sysdeps/mips/fpu/fesetexcept.c: New file.
3999         * sysdeps/m68k/fpu/fesetexcept.c: New file.
4001         * sysdeps/ia64/fpu/fesetexcept.c: New file.
4003         * sysdeps/hppa/fpu/fesetexcept.c: New file.
4005         * sysdeps/arm/fesetexcept.c: New file.
4007         * sysdeps/alpha/fpu/fesetexcept.c: New file.
4009         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
4011         * math/fesetexcept.c: New file.
4012         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
4013         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
4014         * math/fenv.h: Define
4015         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4016         <bits/libc-header-start.h> instead of including <features.h>.
4017         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
4018         declaration.
4019         * manual/arith.texi (fesetexcept): Document function.
4020         * math/Versions (fesetexcept): New libm symbol at version
4021         GLIBC_2.25.
4022         * math/Makefile (libm-support): Add fesetexcept.
4023         (tests): Add test-fesetexcept and test-fesetexcept-traps.
4024         * math/test-fesetexcept.c: New file.
4025         * math/test-fesetexcept-traps.c: Likewise.
4026         * sysdeps/nacl/libm.abilist: Update.
4027         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4028         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4029         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4030         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4031         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4032         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4033         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4034         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4035         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4036         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4037         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4038         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4040         Likewise.
4041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4042         Likewise.
4043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4044         Likewise.
4045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4046         Likewise.
4047         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4048         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4049         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4050         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4051         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4053         Likewise.
4054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4055         Likewise.
4056         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4057         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4058         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4060 2016-08-16  Florian Weimer  <fweimer@redhat.com>
4062         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
4063         New.
4064         (do_test): Apply default_stack_size_in_mb if not set.
4065         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
4067 2016-08-15  Andreas Schwab  <schwab@suse.de>
4069         [BZ #20435]
4070         CVE-2016-6323
4071         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
4072         as .cantunwind.
4074 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
4076         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
4077         comment from fraiseexcpt.c.
4079         * math/test-fexcept.c (feraiseexcept_exact): New function.
4080         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
4081         (test_except): Likewise.
4083 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
4085         [BZ #20455]
4086         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
4087         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
4088         to be restored.
4090         * math/test-fexcept-traps.c: New file.
4091         * math/test-fexcept.c: Likewise.
4092         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
4093         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
4094         macro.
4095         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
4096         (EXCEPTION_SET_FORCES_TRAP): Likewise.
4098 2016-08-09  Torvald Riegel  <triegel@redhat.com>
4100         * include/atomic.h (atomic_fetch_and_relaxed,
4101         atomic_fetch_and_release, atomic_fetch_or_release,
4102         atomic_fetch_xor_release): New.
4104 2016-08-06  Christian Seiler  <christian@iwakd.de>
4106         [BZ #20444]
4107         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
4108         MACH_PORT_NULL.
4110 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
4112         * math/s_fdim.c: Avoid alias renamed.
4113         * math/s_fdimf.c: Likewise.
4114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4115         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4116         Add s_fdimf-vis3, s_fdim-vis3.
4117         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
4118         (CFLAGS-s_fdim-vis3.c): Likewise.
4119         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
4120         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
4122 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
4124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4125         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4126         Remove s_fdimf-vis3, s_fdim-vis3.
4127         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
4128         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
4129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
4130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
4131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
4132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
4133         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
4134         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
4135         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
4136         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
4138 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
4140         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
4141         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
4142         -Wa,-Av9a -mvis.
4144 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4146         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
4147         LIT() to individual constants in simple expressions
4148         after splitting on spaces.
4149         (_apply_lit): Rename replaced version, and use it to
4150         apply to what appears to be a token.
4152         * math/libm-test.inc: Fix many, many issues with
4153         spacing.
4155 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
4157         * math/math.h: Move comment about <bits/mathdef.h> definitions
4158         above inclusion of <bits/mathdef.h>.  Do not mention
4159         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
4161 2016-08-05  Torvald Riegel  <triegel@redhat.com>
4163         * include/atomic.h (atomic_exchange_relaxed): New.
4165 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
4167         * math/e_scalb.c: Do not include <fenv.h>.
4168         (invalid_fn): Do calculation resulting in NaN instead of raising
4169         FE_INVALID and returning a NaN explicitly.
4170         * math/e_scalbf.c: Do not include <fenv.h>.
4171         (invalid_fn): Do calculation resulting in NaN instead of raising
4172         FE_INVALID and returning a NaN explicitly.
4173         * math/e_scalbl.c: Do not include <fenv.h>.
4174         (invalid_fn): Do calculation resulting in NaN instead of raising
4175         FE_INVALID and returning a NaN explicitly.
4177 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
4179         * po/de.po: Updated from Translation Project.
4180         * po/fi.po: Likewise.
4181         * po/sv.po: Likewise.
4183 2016-08-04  Florian Weimer  <fweimer@redhat.com>
4185         [BZ #20452]
4186         Use sysdep.o from libc.a in static libraries.
4187         * sysdeps/unix/sysv/linux/i386/Makefile
4188         (libpthread-shared-only-routines): Add sysdep.
4189         (librt-shared-only-routines): Likewise.
4191 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
4193         * math/tgmath.h (nextdown): Define if
4194         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
4195         (nextup): Likewise.
4197         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
4198         macro.
4199         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
4200         Document.
4201         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
4202         Document macro.
4203         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
4204         (exp10f): Likewise.
4205         (exp10l): Likewise.
4206         * math/bits/mathcalls.h (exp10): Declare if
4207         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
4209         * manual/arith.texi (nextup): Fix typo in last change.
4211 2016-08-03  Zack Weinberg  <zackw@panix.com>
4213         [BZ #19239]
4214         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
4215         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
4216         define major, minor, and makedev to issue deprecation warnings on use.
4217         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
4218         previously-activated deprecation warnings for these macros and prevent
4219         subsequent inclusions of this header from having any effect.
4220         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
4221         including <sys/sysmacros.h>, and undefine it again afterward.
4223 2016-08-03  Zack Weinberg  <zackw@panix.com>
4225         * sysdeps/generic/sys/sysmacros.h: Delete file.
4226         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
4227         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
4228         * bits/sysmacros.h: ... here; this encoding is now the generic
4229         encoding.  Now defines only the following macros:
4230         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
4231         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
4232         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
4234         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
4235         bits/sysmacros.h and the above new macros to generate the
4236         public implementations of major, minor, and makedev.
4237         * misc/tst-makedev.c: New test.
4238         * include/sys/sysmacros.h: New wrapper.
4240         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
4241         (routines): Add makedev.
4242         (tests): Add tst-makedev.
4243         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
4244         gnu_dev_makedev.
4245         * posix/Makefile (headers): Remove sys/sysmacros.h.
4246         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
4248         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
4249         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
4250         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
4251         * sysdeps/unix/sysv/linux/alpha/libc.abilist
4252         * sysdeps/unix/sysv/linux/arm/libc.abilist
4253         * sysdeps/unix/sysv/linux/hppa/libc.abilist
4254         * sysdeps/unix/sysv/linux/i386/libc.abilist
4255         * sysdeps/unix/sysv/linux/ia64/libc.abilist
4256         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
4257         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
4258         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
4259         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
4260         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
4261         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
4262         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
4263         * sysdeps/unix/sysv/linux/nios2/libc.abilist
4264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
4268         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
4269         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
4270         * sysdeps/unix/sysv/linux/sh/libc.abilist
4271         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
4272         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
4273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
4274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
4275         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
4276         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
4277         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
4278         Add GLIBC_2.25.
4280         * include/features.h (__glibc_clang_prereq): New macro.
4281         * misc/sys/cdefs.h (__glibc_clang_has_extension)
4282         (__attribute_deprecated_msg__): New macros.
4284 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
4286         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
4287         macro.
4288         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
4289         * manual/arith.texi (issignaling): Document as ISO from TS
4290         18661-1:2014.
4291         (nextup): Likewise.
4292         (nextupf): Likewise.
4293         (nextupl): Likewise.
4294         (nextdown): Likewise.
4295         (nextdownf): Likewise.
4296         (nextdownl): Likewise.
4297         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
4298         macro.
4299         * math/math.h: Define
4300         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4301         <bits/libc-header-start.h> instead of including <features.h>.
4302         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
4303         [__USE_GNU].
4304         * math/bits/mathcalls.h (nextdown): Declare if
4305         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
4306         (nextup): Likewise.
4307         (__issignaling): Likewise.
4309 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4311         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
4312         check, and remove __glibc_likely hint
4313         from FP_INFINITE check.
4314         * s_csinhf.c (__csinhf): Likewise.
4316         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
4317         hint from FP_INFINITE check.
4318         * s_csinhl.c (__csinhl): Likewise.
4320 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4322         * math/Makefile (libm-calls): Insert F placeholder into
4323         object names.  Move w_lgamma_compat* routines into
4324         (libm-compat-calls): New variable.
4325         (libm-compat-calls-ldouble-yes): New variable.
4326         (calls): Insert F placeholder.
4327         (generated): Redefine using new type-foreach macro call.
4328         (routines): Likewise.
4330         (types): New variable to hold a list of symbolic names
4331         for each type supported by the target machine.
4332         (libm-routines): Redefine using new types variable.
4333         (type-foreach): macro to replace fooF with the
4334         appropriately suffixed foo for each types.
4336         (type-ldouble-suffix): New variable.
4337         (type-ldouble-routines): Likewise.
4338         (type-ldouble-yes): Likewise.
4339         (type-double-suffix): Likewise.
4340         (type-double-routines): Likewise.
4341         (type-float-suffix): Likewise.
4342         (type-float-routines): Likewise.
4344         (dbl-only-routines): Remove.
4345         (long-c-yes): Likewise.
4346         (long-m-routines): Likewise.
4347         (long-m-support): Likewise.
4348         (long-m-yes): Likewise.
4349         (test-longdouble-yes): Likewise.
4351         (test-float.o): Simplify by increasing the scope of the
4352         recipe which adds libm-test.stmp to the vector types.
4353         (test-ifloat.o): Likewise.
4354         (test-float-finite.o): Likewise.
4355         (test-double.o): Likewise
4356         (test-idouble.o): Likewise.
4357         (test-double-finite.o): Likewise.
4358         (test-ldouble.o): Likewise
4359         (test-ildoubl.o): Likewise.
4360         (test-ldouble-finite.o): Likewise.
4362         (libm-tests): Redefine type tests using foreach and the
4363         list of types in types.
4365         (CPPFLAGS-test-ildoubl.c): Rename to
4366         (CPPFLAGS-test-ildouble.c): New variable
4368         * math/test-ildoubl.c: Rename to
4369         * math/test-ildouble.c: New file.
4371 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4373         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
4374         Use fabsl instead of fabs.
4375         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
4376         Likewise.
4377         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
4378         Add long double suffix to constant to ensure proper
4379         promotion to long double.
4381 2016-08-03  Tom Tromey  <tom@tromey.com>
4383         [BZ #20311]
4384         * nptl_db/Makefile (headers): Add proc_service.h.
4385         * nptl_db/proc_service.h: Add include guard.  Use
4386         __BEGIN/__END_DECLS.
4387         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
4388         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
4389         arguments.
4392 2016-08-03  Florian Weimer  <fweimer@redhat.com>
4394         [BZ #17730]
4395         Avoid using memalign for TCB allocations.
4396         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
4397         (_dl_allocate_tls_storage): Use malloc and manual alignment.
4398         Avoid alignment gap in the TLS_DTV_AT_TP case.
4399         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
4400         determine the pointer to free.
4401         * nptl/tst-tls3-malloc.c: New test.
4402         * nptl/Makefile (tests): Add it.
4403         (tst-tls3-malloc): Link with libdl, libpthread.
4404         (LDFLAGS-tst-tls3-malloc): Set.
4405         (tst-tls3-malloc.out): Depend on DSO used in test.
4407 2016-08-03  Florian Weimer  <fweimer@redhat.com>
4409         [BZ #17730]
4410         Avoid using memalign for TLS allocations.
4411         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
4412         is_static member with to_free member.
4413         (union dtv): Use struct dtv_pointer.
4414         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
4415         dtv_pointer instead of is_static.
4416         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
4417         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
4418         instead of val.
4419         (allocate_dtv_entry): New function.
4420         (allocate_and_init): Return struct dtv_pointer.  Call
4421         allocate_dtv_entry instead of __libc_memalign.
4422         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
4423         instead of val.
4424         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
4425         instead of is_static.  Adjust call to allocate_and_init.
4426         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
4427         struct dtv_pointer instead of val.
4429 2016-08-03  Florian Weimer  <fweimer@redhat.com>
4431         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
4432         (MALLOC_ALIGN_MASK): Move ...
4433         * malloc/malloc-internal.h: ... to here.
4434         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
4436 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
4438         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
4439         (UDP_ENCAP_GTP1U): Likewise.
4441         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
4442         (PF_MAX): Update value.
4443         (AF_QIPCRTR): New macro.
4445 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
4447         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
4448         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4449         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4450         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4451         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4452         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
4453         s_truncf-vis3, s_trunc-vis3.
4454         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
4455         (CFLAGS-s_ceil-vis3.c): Likewise.
4456         (CFLAGS-s_floorf-vis3.c): Likewise.
4457         (CFLAGS-s_floor-vis3.c): Likewise.
4458         (CFLAGS-s_truncf-vis3.c): Likewise.
4459         (CFLAGS-s_trunc-vis3.c): Likewise.
4460         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
4461         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
4462         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
4463         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
4464         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
4465         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
4466         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
4467         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
4468         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
4469         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
4470         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
4471         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
4473 2016-08-02  David S. Miller  <davem@davemloft.net>
4475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
4476         (__nearbyint_vis3): Don't check for sNaN before float register is
4477         loaded with the incoming argument.
4478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
4479         (__nearbyintf_vis3): Likewise.
4480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
4481         Likewise.
4482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
4483         Likewise.
4485         * string/test-strncmp.c (do_test_limit): Make sure the test data
4486         stream is aligned as required for the type "CHAR".
4487         (do_test): Likewise.
4489 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
4491         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
4492         by beq instructions jumping to the end of the function.
4493         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
4494         clobber list. Use "i" constraint instead of "X".
4495         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
4496         of "X".
4498 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
4500         * bits/libc-header-start.h: New file.
4501         * Makefile (headers): Add bits/libc-header-start.h.
4502         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
4503         (__GLIBC_USE): New macro.
4504         * libio/stdio.h: Define
4505         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4506         <bits/libc-header-start.h> instead of including <features.h>.
4507         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
4508         (open_memstream): Likewise.
4509         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
4510         (__asprintf): Likewise.
4511         (asprintf): Likewise.
4512         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
4513         (getdelim): Likewise.
4514         (getline): Likewise.
4515         * string/string.h: Define
4516         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4517         <bits/libc-header-start.h> instead of including <features.h>.
4518         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
4519         (strndup): Likewise.
4520         * wcsmbs/wchar.h: Define
4521         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4522         <bits/libc-header-start.h> instead of including <features.h>.
4523         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
4524         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
4526 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4528         Support linking against compatibility symbols, for use in tests.
4529         * include/libc-symbols.h (symbol_version_reference): New macro.
4530         (symbol_version): Use it.
4531         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
4532         (compat_symbol): Use compat_symbol_reference.
4533         (compat_symbol_1, compat_symbol_2): Remove.
4534         (compat_symbol_reference, compat_symbol_reference_1)
4535         (compat_symbol_reference_2): New macro.  Use
4536         symbol_version_reference.
4538 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4540         [BZ #19469]
4541         * malloc/Makefile (CPPFLAGS): Compile tests with
4542         -DTEST_NO_MALLOPT.
4543         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
4545 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
4547         [BZ #20033]
4548         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
4549         finite version.
4550         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
4551         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
4552         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
4553         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
4554         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
4555         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
4556         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
4557         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
4558         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
4559         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
4560         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
4561         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
4562         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
4563         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
4564         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
4565         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
4566         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
4567         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
4568         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
4569         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
4570         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
4571         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
4572         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
4573         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
4574         in zero power.
4576 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4578         [BZ #20370]
4579         * malloc/arena.c (get_free_list): Update comment.  Assert that
4580         arenas on the free list have no attached threads.
4581         (remove_from_free_list): New function.
4582         (reused_arena): Call it.
4584 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
4586         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
4587         when it is a NaN.
4588         [_IEEE_FP_INEXACT] Remove.
4589         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
4590         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
4591         when it is a NaN.
4592         [_IEEE_FP_INEXACT] Remove.
4593         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
4594         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
4595         when it is a NaN.
4596         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
4597         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
4598         when its absolute value is greater than 0x1.0p52.
4599         [_IEEE_FP_INEXACT] Remove.
4600         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
4601         when its absolute value is greater than 0x1.0p23.
4602         [_IEEE_FP_INEXACT] Remove.
4604 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
4606         * version.h (RELEASE): Set to "development"
4607         (VERSION): Set to 2.24.90.
4608         * NEWS: Add 2.25 section.
4610         * version.h (RELEASE): Set to "stable"
4611         (VERSION): Set to 2.24.
4612         * include/features.h (__GLIBC_MINOR__): Set to 24.
4614         * NEWS: Add 2.24 fixed bugs.
4615         * po/libc.pot: Regenerate.
4617 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
4619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4620         [$(subdir) = math] (libm-sysdep_routines): Remove.
4621         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4622         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
4623         s_truncf-vis3, s_trunc-vis3.
4624         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
4626         file.
4627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
4628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
4629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
4630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
4633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
4634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
4636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
4637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
4638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
4639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
4640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
4641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
4642         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
4646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
4647         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
4648         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
4649         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4650         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4651         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
4652         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4653         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4654         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
4655         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4656         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4657         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
4658         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4659         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4660         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
4661         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
4662         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
4663         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
4664         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4665         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4666         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
4667         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
4668         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
4669         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
4671 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
4673         [BZ #20384]
4674         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
4675         test-double-libmvec-sincos-avx-main.o,
4676         test-double-libmvec-sincos-avx2-main.o,
4677         test-double-libmvec-sincos-main.o,
4678         test-float-libmvec-sincosf-avx-main.o,
4679         test-float-libmvec-sincosf-avx2-main.o and
4680         test-float-libmvec-sincosf-main.o.
4681         test-float-libmvec-sincosf-avx512-main.o.
4682         ($(objpfx)test-double-libmvec-sincos): Also link with
4683         $(objpfx)test-double-libmvec-sincos-main.o.
4684         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
4685         $(objpfx)test-double-libmvec-sincos-avx-main.o.
4686         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
4687         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
4688         ($(objpfx)test-float-libmvec-sincosf): Also link with
4689         $(objpfx)test-float-libmvec-sincosf-main.o.
4690         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
4691         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
4692         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
4693         test-double-libmvec-sincos-avx512-main.o and
4694         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
4695         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
4696         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
4697         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
4698         (CFLAGS-test-double-libmvec-sincos.c): Removed.
4699         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
4700         (CFLAGS-test-double-libmvec-sincos-main.c): New.
4701         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
4702         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
4703         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
4704         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
4705         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
4706         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
4707         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
4708         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
4709         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
4710         -DREQUIRE_AVX2.
4711         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
4712         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
4713         -DREQUIRE_AVX512F.
4714         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
4715         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
4716         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
4717         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
4718         file.
4719         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
4720         Likewise.
4721         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
4722         Likewise.
4723         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
4724         Likewise.
4725         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
4726         Likewise.
4727         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
4728         Likewise.
4729         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
4730         Likewise.
4731         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
4732         Likewise.
4734 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
4736         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
4738 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
4740         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
4741         and typo in a comment about AT_HWCAP entry.
4743 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4745         * sysdeps/aarch64/libm-test-ulps: Updated.
4747 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4749         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
4750         of r13 as it is not restored in mvcle case.
4752 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
4754         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
4755         Rename "ret" to "__ret".
4756         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
4757         inline_syscall5, inline_syscall6): Likewise.
4759 2016-07-19   Will Newton  <will.newton@gmail.com>
4761         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
4762         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
4763         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
4764         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
4765         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
4767 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
4769         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
4770         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
4771         -mfpmath=387 with $(rtld-CFLAGS).
4772         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
4773         $(rtld-CFLAGS).
4775 2016-07-18   Ross Burton  <ross.burton@intel.com>
4776              Khem Raj  <raj.khem@gmail.com>
4778         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
4779         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
4780         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
4781         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
4782         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
4783         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
4784         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
4785         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
4786         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
4787         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
4788         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
4789         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
4790         R_METAG_TLS_DTPOFF): New.
4792 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4793             Matt Clay  <mclay@lycos.com>
4795         [BZ #20357]
4796         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
4797         to call __mpsin/__mpcos and to negate values.
4798         * math/auto-libm-test-in: Add test.
4799         * math/auto-libm-test-out: Regenerate.
4801 2016-07-18  Zack Weinberg  <zackw@panix.com>
4803         * grp/Makefile: Don't install the internal header grp-merge.h.
4805 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4807         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4809 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4811         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
4813 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4815         [BZ #15368]
4816         * sysdeps/unix/sysv/linux/nptl-signals.h
4817         (__nptl_clear_internal_signals): New function.
4818         (__libc_signal_block_all): Likewise.
4819         (__libc_signal_block_app): Likewise.
4820         (__libc_signal_restore_set): Likewise.
4821         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
4822         implementation.
4823         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
4824         the cached pid/tid value in pthread structure.
4826 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
4828         [BZ #20347]
4829         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4831 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
4833         [BZ #20348]
4834         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
4835         preadv64, pwrite64 and pwritev64.
4837 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
4839         [BZ #20350]
4840         * posix/tst-preadwrite.c: Renamed to ...
4841         * posix/tst-preadwrite-common.c: This.
4842         (PREAD): Removed.
4843         (PWRITE): Likewise.
4844         (STRINGIFY): Likewise.
4845         (STRINGIFY2): Likewise.
4846         (do_prepare): Make it static and remove function arguments.
4847         (do_test): Likewise.
4848         (PREPARE): Updated.
4849         (TEST_FUNCTION): New.
4850         (name): Make it static.
4851         (fd): Likewise.
4852         (do_prepare): Use create_temp_file.
4853         (do_test): Renamed to ...
4854         (do_test_with_offset): This.  Make it static and accept offset.
4855         Properly check return value of PWRITE and PREAD.  Return bytes
4856         read.  Don't close fd nor unlink name.
4857         * posix/tst-preadwrite.c: Rewrite.
4858         * posix/tst-preadwrite64.c: Likewise.
4860 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
4862         [BZ #20309]
4863         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
4864         -mtls-dialect=gnu2 works.
4865         * configure: Regenerated.
4866         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
4867         (tests): Add tst-gnu2-tls1.
4868         (modules-names): Add tst-gnu2-tls1mod.
4869         ($(objpfx)tst-gnu2-tls1): New.
4870         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
4871         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
4872         * elf/tst-gnu2-tls1.c: New file.
4873         * elf/tst-gnu2-tls1mod.c: Likewise.
4874         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
4875         bytes for push in the PLT entry to align the stack.
4877 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
4879         [BZ #20349]
4880         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
4882 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4884         [BZ #18707]
4885         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
4886         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
4888 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4890         * sysdeps/unix/sysv/linux/sysdep.h
4891         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
4892         guards.
4893         * misc/tst-preadvwritev-common.c: New file.
4894         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
4895         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
4896         a check for files larger than 2GB.
4898         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4899         (__ASSUME_OFF_DIFF_OFF64): Remove define.
4900         * sysdeps/unix/sysv/linux/pread.c
4901         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
4902         __OFF_T_MATCHES_OFF64_T.
4903         * sysdeps/unix/sysv/linux/pread64.c
4904         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
4905         * sysdeps/unix/sysv/linux/preadv.c
4906         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
4907         * sysdeps/unix/sysv/linux/preadv64.c
4908         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
4909         * sysdeps/unix/sysv/linux/pwrite.c
4910         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
4911         * sysdeps/unix/sysv/linux/pwrite64.c
4912         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
4913         * sysdeps/unix/sysv/linux/pwritev.c
4914         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
4915         * sysdeps/unix/sysv/linux/pwritev64.c
4916         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
4918 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
4920         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4921         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
4923 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
4925         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
4927 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
4929         [BZ #20240]
4930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4931         (CFLAGS-s_modf-ppc32.c): New variable.
4932         (CFLAGS-s_modff-ppc32.c): Likewise.
4933         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4934         (CFLAGS-s_modf-ppc64.c): Likewise.
4935         (CFLAGS-s_modff-ppc64.c): Likewise.
4937 2016-07-07  Andreas Schwab  <schwab@suse.de>
4939         [BZ #20263]
4940         * nptl/tst-robust10.c: New test.
4941         * nptl/Makefile (tests): Add tst-robust10.
4943 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
4945         [BZ #20263]
4946         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
4948 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4950         * sysdeps/s390/linkmap.h (struct link_map_machine):
4951         Remove member gotplt and add member jmprel.
4952         * sysdeps/s390/s390-32/dl-machine.h
4953         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
4954         instead of gotplt with &got[3].
4955         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
4956         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4958 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
4960         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
4962 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4964         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
4965         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
4966         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
4967         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
4968         * libio/vtables.c (_IO_vtable_check)
4969         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
4970         * libio/libioP.h (IO_set_accept_foreign_vtables)
4971         [!PTR_MANGLE]: Do not call PTR_MANGLE.
4973 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
4975         [BZ #20314]
4976         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
4977         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
4978         $(common-objpfx)cmath.
4979         ($(common-objpfx)cstdlib): New target.
4980         ($(common-objpfx)cmath): Likewise.
4982 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
4984         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
4986 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4988         [BZ #20327]
4989         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
4990         are not part of the string.
4992 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4994         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
4995         * nptl/tst-cancel4-common.h (fifoname): New variable.
4996         (fifofd): Likewise.
4997         (cl_fifo): New function.
4998         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
4999         SIGINT.
5000         (tf_open): Add early cancel test.
5002 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
5004         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
5006 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
5008         * sysdeps/generic/ldsodefs.h
5009         (dl_symbol_visibility_binds_local_p): New inline function.
5010         * elf/dl-addr.c (determine_info): Treat hidden and internal
5011         symbols as local.
5012         * elf/dl-lookup.c (do_lookup_x): Likewise.
5013         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
5015 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
5017         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
5018         invalid exception for a sNaN input.
5019         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5020         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
5021         (__nearbyint_vis3): Likewise
5022         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
5023         (__nearbyintf_vis3): Likewise
5024         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
5025         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5026         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
5027         Likewise.
5028         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
5029         Likewise.
5031 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
5033         [BZ #20139]
5034         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
5035         (HAVE_AVX512DQ_ASM_SUPPORT): This.
5036         * sysdeps/x86_64/configure.ac: Require assembler from binutils
5037         2.24 or above.
5038         (HAVE_AVX512_ASM_SUPPORT): Removed.
5039         (HAVE_AVX512DQ_ASM_SUPPORT): New.
5040         * sysdeps/x86_64/configure: Regenerated.
5041         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
5042         check unconditional.
5043         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
5044         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5045         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5046         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
5047         Likewise.
5048         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5049         Likewise.
5050         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
5051         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
5052         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5053         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5054         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
5055         Likewise.
5056         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5057         Likewise.
5058         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5059         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5060         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
5061         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
5062         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
5063         Likewise.
5064         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
5065         Likewise.
5066         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
5067         Likewise.
5068         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
5069         Likewise.
5070         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
5071         Likewise.
5072         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
5073         Likewise.
5074         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
5075         Likewise.
5076         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
5077         Likewise.
5078         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
5079         Likewise.
5080         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
5081         Likewise.
5082         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
5083         Likewise.
5085 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
5087         [BZ #20024]
5088         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
5089         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
5090         of this implementation of vector function.
5091         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
5092         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
5093         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
5094         Likewise.
5095         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
5096         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
5097         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
5098         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
5099         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
5100         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
5101         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
5102         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
5103         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
5104         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
5105         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
5106         for testing vector sincos with fixed ABI.
5107         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5108         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5109         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5110         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5111         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5112         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5113         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5114         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
5115         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
5116         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
5117         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
5118         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
5119         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
5120         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
5121         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
5122         * sysdeps/x86_64/fpu/Makefile: Added new tests.
5124 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
5126         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
5128 2016-06-30  Anton Blanchard  <anton@samba.org>
5130         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5131         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
5132         s_sinf-ppc64.
5133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
5134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
5135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
5136         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
5138 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5141         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5142         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
5143         e_expf-ppc64.
5144         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
5145         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
5146         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
5147         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
5149 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
5151         [BZ #20277]
5152         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
5153         when SHARED is defined.
5155 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
5157         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
5158         (index_arch_Prefer_ERMS): Likewise.
5159         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
5160         __memcpy_erms for Prefer_ERMS.
5161         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5162         (__memmove_erms): Enabled for libc.a.
5163         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
5164         __memmove_erms or Prefer_ERMS.
5165         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
5166         __mempcpy_erms for Prefer_ERMS.
5167         * sysdeps/x86_64/multiarch/memset.S (memset): Return
5168         __memset_erms for Prefer_ERMS.
5170 2016-06-30  Andreas Schwab  <schwab@suse.de>
5172         [BZ #20262]
5173         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
5174         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
5175         of memory.
5177 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
5179         [BZ #18645]
5180         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
5181         (test-extras): Add tst-cleanupx4aux.
5182         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
5183         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
5184         tst-cleanupx4aux.o.
5185         * nptl/tst-cleanupx4aux.c: New file.
5187 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
5189         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
5191 2016-06-29  Andreas Schwab  <schwab@suse.de>
5193         [BZ #20260]
5194         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
5195         address before the beginning of the string as an integer to avoid
5196         array-bounds warning.
5198 2016-06-28  Richard Henderson  <rth@redhat.com>
5200         * elf/elf.h (EM_BPF): New.
5201         (EM_NUM): Update.
5202         (R_BPF_NONE, R_BPF_MAP_FD): New.
5204         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
5205         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
5206         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
5207         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
5208         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
5209         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
5210         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
5211         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
5212         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
5213         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
5214         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
5215         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
5216         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
5217         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
5218         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
5219         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
5220         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
5221         (EM_NUM): Update.
5223 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
5225         [BZ #18960]
5226         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
5227         Set _nl_current_LC_CATEGORY_used to two instead of one.
5229 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
5231         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
5232         (do_test): ... this.
5233         (TEST_FUNCTION): New macro.
5234          Include test-skeleton.c.
5235         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
5236         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
5238 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
5240         [BZ #15479]
5241         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
5242         floating-point environment rather than just control word.
5243         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
5244         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
5245         floating-point environment, with "invalid" exceptions merged in,
5246         rather than just control word.
5247         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
5248         * math/libm-test.inc (trunc_test_data): Do not allow spurious
5249         "inexact" exceptions.
5251         [BZ #15479]
5252         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
5253         floating-point environment rather than just control word.
5254         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
5255         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
5256         floating-point environment, with "invalid" exceptions merged in,
5257         rather than just control word.
5258         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
5259         * math/libm-test.inc (floor_test_data): Do not allow spurious
5260         "inexact" exceptions.
5262         [BZ #15479]
5263         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
5264         floating-point environment rather than just control word.
5265         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
5266         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
5267         floating-point environment, with "invalid" exceptions merged in,
5268         rather than just control word.
5269         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
5270         * math/libm-test.inc (ceil_test_data): Do not allow spurious
5271         "inexact" exceptions.
5273 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
5275         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
5276         __libc_vfork.
5277         (__vfork) [IS_IN (libc)]: Remove alias.
5278         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
5279         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
5280         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
5282 2016-06-24  Torvald Riegel  <triegel@redhat.com>
5284         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
5285         of atomic_compare_and_exchange_bool_rel.
5286         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5287         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
5288         catomic_compare_and_exchange_bool_rel): Remove.
5289         * sysdeps/aarch64/atomic-machine.h
5290         (atomic_compare_and_exchange_bool_rel): Likewise.
5291         * sysdeps/alpha/atomic-machine.h
5292         (atomic_compare_and_exchange_bool_rel): Likewise.
5293         * sysdeps/arm/atomic-machine.h
5294         (atomic_compare_and_exchange_bool_rel): Likewise.
5295         * sysdeps/mips/atomic-machine.h
5296         (atomic_compare_and_exchange_bool_rel): Likewise.
5297         * sysdeps/microblaze/atomic-machine.h
5298         ( __arch_compare_and_exchange_bool_8_rel,
5299         __arch_compare_and_exchange_bool_16_rel): Likewise.
5300         * sysdeps/powerpc/atomic-machine.h
5301         ( __arch_compare_and_exchange_bool_8_rel,
5302         __arch_compare_and_exchange_bool_16_rel): Likewise.
5303         * sysdeps/powerpc/powerpc32/atomic-machine.h
5304         ( __arch_compare_and_exchange_bool_32_rel,
5305         __arch_compare_and_exchange_bool_64_rel): Likewise.
5306         * sysdeps/powerpc/powerpc64/atomic-machine.h
5307         ( __arch_compare_and_exchange_bool_32_rel,
5308         __arch_compare_and_exchange_bool_64_rel): Likewise.
5309         * sysdeps/tile/atomic-machine.h
5310         (atomic_compare_and_exchange_bool_rel): Likewise.
5312 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
5314         [BZ #20296]
5315         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
5316         when either argument is a NaN.
5317         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
5318         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
5320         * math/libm-test.inc (snan_value_ld): New macro.
5321         (isgreater_test_data): Add sNaN tests.
5322         (isgreaterequal_test_data): Likewise.
5323         (isless_test_data): Likewise.
5324         (islessequal_test_data): Likewise.
5325         (islessgreater_test_data): Likewise.
5326         (isunordered_test_data): Likewise.
5327         (nextafter_test_data): Likewise.
5328         (nexttoward_test_data): Likewise.
5329         (remainder_test_data): Likewise.
5330         (remquo_test_data): Likewise.
5331         (significand_test_data): Likewise.
5332         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
5334 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5336         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
5337         environment macros are defined.
5338         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
5340 2016-06-23  Florian Weimer  <fweimer@redhat.com>
5342         [BZ #20191]
5343         Implement vtable verification in libio.
5344         * Makerules (shlib.lds): Place __libc_IO_vtables section.
5345         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
5346         * debug/vdprintf_chk.c (__vdprintf_chk): Call
5347         _IO_new_file_init_internal instead of _IO_file_init.
5348         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
5349         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
5350         * libio/Makefile (routines): Add vtables.
5351         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
5352         (_IO_init): Remove, not for internal use.
5353         (_IO_init_internal): Declare, internal replacement for _IO_init.
5354         (_IO_file_init): Remove, not for internal use.
5355         (_IO_new_file_init): Remove, not for internal use.
5356         (_IO_new_file_init_internal): Declare, internal replacement for
5357         _IO_new_file_init.
5358         (_IO_old_file_init): Remove, not for internal use.
5359         (_IO_old_file_init_internal): Declare, internal replacement for
5360         _IO_old_file_init.
5361         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
5362         internal use.
5363         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
5364         Declare.
5365         (libio_vtable): New macro.
5366         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
5367         functions.
5368         * libio/fileops.c (_IO_new_file_init_internal): Rename from
5369         _IO_new_file_init.
5370         (_IO_new_file_init): New externally visible wrapper which disables
5371         vtable verification.
5372         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
5373         Define as vtables.
5374         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
5375         (_IO_init): New externally visible wrapper which disables
5376         vtable verification.
5377         * libio/iofdopen.c (_IO_new_fdopen): Call
5378         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
5379         comment.
5380         * libio/iofopen.c (__fopen_internal): Call
5381         _IO_new_file_init_internal instead of _IO_file_init.
5382         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
5383         Define as vtables.
5384         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
5385         _IO_new_file_init_internal instead of _IO_file_init.
5386         * libio/iopopen.c (_IO_new_popen): Likewise.
5387         (_IO_proc_jumps): Define as vtable.
5388         * libio/iovdprintf.c (_IO_vdprintf): Call
5389         _IO_new_file_init_internal instead of _IO_file_init.
5390         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
5391         (__open_memstream): Call _IO_init_internal instead of _IO_init.
5392         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
5393         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
5394         _IO_old_file_init.
5395         (_IO_old_file_init): New externally visible wrapper which disables
5396         vtable verification.
5397         (_IO_old_file_jumps): Define as vtable.
5398         * libio/oldiofdopen.c (_IO_old_fdopen): Call
5399         _IO_old_file_init_internal instead of _IO_old_file_init.
5400         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5401         * libio/oldiopopen.c (_IO_old_popen): Likewise.
5402         (_IO_old_proc_jumps): Define as vtable.
5403         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
5404         Define as vtables.
5405         * libio/vtables.c: New file.
5406         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
5407         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
5408         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
5409         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
5410         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
5411         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
5412         instead of _IO_init.
5414 2016-06-23  Florian Weimer  <fweimer@redhat.com>
5416         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
5418 2016-06-23  Florian Weimer  <fweimer@redhat.com>
5420         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
5421         potentially unused.
5423 2016-06-22  Florian Weimer  <fweimer@redhat.com>
5425         * test-skeleton.c (write_message): New function.
5426         * malloc/tst-mallocfork2.c (write_message): Remove.
5427         * debug/tst-longjmp_chk2.c (write_indented): New function.
5428         (write_message): Remove.
5429         (stackoverflow_handler): Call write_indented.
5431 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
5433         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
5434         "inexact" exceptions after fnstenv.
5435         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5436         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
5437         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
5439 2015-06-22  Zack Weinberg  <zackw@panix.com>
5441         * sysdeps/generic/bits/hwcap.h: Moved to ...
5442         * bits/hwcap.h: Here.
5444 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
5446         * sysdeps/aarch64/memcpy.S (memcpy):
5447         Further tuning for performance.
5449 2016-06-21  Florian Weimer  <fweimer@redhat.com>
5451         [BZ #20284]
5452         * malloc/arena.c (reused_arena): Do not return NULL if we start
5453         out with a non-corrupted arena.
5455 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5457         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
5458         * misc/tst-preadvwritev.c: New file.
5459         * misc/tst-preadvwritev64.c: Likewise.
5460         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
5461         usage.
5462         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
5463         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
5464         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
5465         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
5467 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
5469         [BZ #19654]
5470         * sysdeps/x86_64/fpu/Makefile: Added new tests.
5471         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
5472         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
5473         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
5474         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
5475         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
5476         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
5477         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
5478         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
5479         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
5480         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
5481         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
5482         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
5483         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
5484         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
5485         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
5486         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
5487         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
5488         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
5489         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
5490         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
5491         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
5492         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
5493         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
5494         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
5495         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
5497 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
5499         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
5500         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
5502 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
5504         * sysdeps/aarch64/memcpy.S (memcpy):
5505         Rewrite of optimized memcpy and memmove.
5506         * sysdeps/aarch64/memmove.S (memmove): Remove
5507         memmove code (merged into memcpy.S).
5509 2016-06-20  Florian Weimer  <fweimer@redhat.com>
5511         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
5512         * sysdeps/generic/dl-dtv.h: New file.
5513         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5514         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
5515         (dtv_t): Remove.
5516         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5517         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
5518         (dtv_t): Remove.
5519         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5520         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
5521         (dtv_t): Remove.
5522         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5523         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
5524         (dtv_t): Remove.
5525         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5526         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
5527         (dtv_t): Remove.
5528         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5529         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
5530         (dtv_t): Remove.
5531         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5532         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
5533         (dtv_t): Remove.
5534         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
5535         (dtv_t): Remove.
5536         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5537         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
5538         (dtv_t): Remove.
5539         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5540         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
5541         (dtv_t): Remove.
5542         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5543         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
5544         (dtv_t): Remove.
5545         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5546         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
5547         (dtv_t): Remove.
5548         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5549         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
5550         (dtv_t): Remove.
5551         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5552         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
5553         (dtv_t): Remove.
5554         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5555         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
5556         (dtv_t): Remove.
5557         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5558         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
5559         (dtv_t): Remove.
5561 2016-06-20  Florian Weimer  <fweimer@redhat.com>
5563         Revert symbol poisoning of  __malloc_initialize_hook.
5564         * include/stdc-predef.h (__malloc_initialize_hook): Remove
5565         poisoning.
5566         * malloc/Makefile: Remove un-poisoning.
5567         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
5568         instead of old__malloc_initialize_hook.
5569         * malloc/malloc-hooks.h: Likewise.
5570         * malloc/malloc.c: Likewise.
5571         * malloc/mcheck-init.c: Likewise.
5573 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
5575         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
5577 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
5579         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
5580         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
5581         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
5582         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
5584 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5586         * NEWS: Mention addition of nextup and nextdown.
5587         * manual/arith.texi: Document nextup and nextdown.
5588         * manual/libm-err-tab.pl: Add nextup and nextdown.
5589         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
5590         * math/Versions (libm): Add GLIBC_2.24.
5591         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
5592         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
5593         Add new test.
5594         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
5595         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
5596         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
5597         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
5598         (nextup_test_data): Likewise.
5599         (nextdown_test_data): Likewise.
5600         * math/s_nextdown.c: New file.
5601         * math/s_nextdownf.c: Likewise.
5602         * math/s_nextdownl.c: Likewise.
5603         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
5604         F(nextup): New function.
5605         F(nextdown): Likewise.
5606         * math/tgmath.h: Add nextup and nextdown.
5607         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
5608         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
5609         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
5610         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
5611         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
5612         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
5613         Add nextup and nextdown.
5614         (CFLAGS-nldbl-nextup.c): New variable.
5615         (CFLAGS-nldbl-nextdown.c): Likewise.
5616         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
5617         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
5618         * sysdeps/nacl/libm.abilist: Update.
5619         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5620         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5621         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5622         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5623         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5624         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5625         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5626         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5627         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5628         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5629         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5630         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
5632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5633         Likewise.
5634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
5635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
5636         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5637         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5638         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5639         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5640         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
5642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
5643         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5644         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5645         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
5646         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5648 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5650         * manual/pattern.texi: Fix typos & grammar errors.
5652 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5654         * manual/search.texi: Fix typos & grammar errors.
5656 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5658         * manual/message.texi: Fix typos & grammar errors.
5660 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
5662         * manual/contrib.texi: Fix spelling typos.
5663         * manual/crypt.texi: Likewise.
5664         * manual/filesys.texi: Likewise.
5665         * manual/locale.texi: Likewise.
5666         * manual/message.texi: Likewise.
5667         * manual/nss.texi: Likewise.
5668         * manual/string.texi: Likewise.
5670 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5672         * manual/locale.texi: Fix typos & grammar errors.
5674 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5676         * manual/charset.texi: Fix typos & grammar errors.
5678 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5680         * manual/string.texi: Fix typos.
5682 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5684         * manual/ctype.texi: Fix typos.
5686 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5688         * manual/memory.texi: Fix various typos & grammar errors.
5690 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
5692         [BZ #20255]
5693         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
5694         * math/libm-test.inc (fdim_test_data): Add another test.
5696         [BZ #6796]
5697         [BZ #20255]
5698         [BZ #20256]
5699         * math/s_fdim.c: Include <math_private.h>.
5700         (__fdim): Use math_narrow_eval on result.
5701         * math/s_fdimf.c: Include <math_private.h>.
5702         (__fdimf): Use math_narrow_eval on result.
5703         * sysdeps/i386/fpu/s_fdim.S: Remove file.
5704         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
5705         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
5706         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
5707         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
5708         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
5709         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
5710         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
5711         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
5712         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
5713         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
5714         * math/libm-test.inc (fdim_test_data): Expect errno setting on
5715         overflow.  Add sNaN tests.
5717         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
5718         fpclassify.
5719         * math/s_fdimf.c (__fdimf): Likewise.
5720         * math/s_fdiml.c (__fdiml): Likewise.
5722 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5724         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5725         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
5726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5727         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
5728         ifunc'ed strcasecmp/strncasecmp.
5729         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
5730         [EALIGN]: Removed.
5731         [END]: Likewise.
5732         [__strcasecmp]: Define instead of the above to control symbol name.
5733         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
5734         for __strcasecmp_power8.
5735         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
5736         for __strncasecmp_power8.
5737         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
5738         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
5739         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
5740         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
5741         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
5742         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
5744 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
5746         [BZ #20252]
5747         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
5748         arguments when second argument is a NaN.
5749         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
5750         qNaN tests.
5752         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
5753         (conj_test_data): Likewise.
5754         (copysign_test_data): Likewise.
5755         (creal_test_data): Likewise.
5756         (fma_test_data): Likewise.
5757         (fmod_test_data): Likewise.
5759         [BZ #20250]
5760         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
5761         itself.
5762         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
5763         zero input to itself.
5764         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
5765         Likewise.
5766         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
5767         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
5768         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5769         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
5770         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
5772 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5774         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
5775         * nptl/tst-cancel4-common.c: New file.
5776         * nptl/tst-cancel4-common.h: Likewise.
5777         * nptl/tst-cancel4.c: Move common definitions to
5778         tst-cancel4-common.{c,h} file.
5779         * nptl/tst-cancel4_1.c: New test.
5780         * nptl/tst-cancel4_2.c: New test.
5782 2016-06-13  Florian Weimer  <fweimer@redhat.com>
5784         [BZ #20248]
5785         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
5786         (write_message): New function.
5787         (stackoverflow_handler): Call it instead of printf, to avoid
5788         excessive stack usage by printf.
5789         (do_test): Restore SIGSEGV, SIGBUS default handlers.
5791 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5793         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
5794         (prio_inherit_missing): Remove define.
5795         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5796         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5797         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
5798         Likewise.
5799         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5800         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5801         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5802         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5803         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5804         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5806 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5808         [BZ #19670]
5809         [BZ #19672]
5811         * io/test-lfs.c (do_prepare): Use xmalloc.
5812         * io/tst-fcntl.c (do_prepare): Likewise.
5813         * libio/tst-fopenloc.c (do_bz17916): Likewise.
5814         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
5815         * login/tst-utmp.c (do_prepare): Likewise.
5816         * posix/tst-exec.c (do_prepare): Likewise.
5817         * posix/tst-pathconf.c (prepare): Likewise.
5818         * posix/tst-spawn.c (do_prepare): Likewise.
5819         * posix/tst-truncate.c (do_prepare): Likewise.
5820         * rt/tst-aio.c (do_prepare): Likewise.
5821         * rt/tst-aio64.c (do_prepare): Likewise.
5823 2016-06-11  Florian Weimer  <fweimer@redhat.com>
5825         [BZ #20237]
5826         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
5827         (get*ent): Set entidx to NULL during initialization.  If entidx is
5828         NULL, start iteration from the beginning.
5830 2016-06-11  Florian Weimer  <fweimer@redhat.com>
5832         * malloc/malloc.c (musable): Return correct size for dumped fake
5833         mmapped chunk.
5835 2016-06-11  Florian Weimer  <fweimer@redhat.com>
5837         [BZ #20222]
5838         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
5839         (_IO_cookie_write): Likewise.
5840         (_IO_cookie_seek): Likewise.
5841         (_IO_cookie_close): Likewise.
5842         (_IO_old_cookie_seek): Likewise.
5843         (set_callbacks): New function.
5844         (_IO_cookie_init): Call set_callbacks to copy callbacks.
5846 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
5848         * locale/programs/localedef.c (oldstyle_tables): Remove.
5849         * locale/programs/localedef.h (oldstyle_tables): Likewise.
5851 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
5853         [BZ #20240]
5854         * math/Makefile (CFLAGS-s_modf.c): New variable.
5855         (CFLAGS-s_modff.c): Likewise.
5856         (CFLAGS-s_modfl.c): Likewise.
5857         * math/libm-test.inc (modf_test_data): Add sNaN tests.
5859 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
5861         [BZ #20215]
5862         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
5863         [!__GNUC_PREREQ (3,2)]: Likewise.
5865 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
5867         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
5868         (msghdr.msg_controllen): Likewise.
5869         (cmsghdr.cmsg_len): Likewise.
5870         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
5871         ptw-oldsendmsg.
5872         (CFLAGS-oldrecvmsg.c): Remove rule.
5873         (CFLAGS-oldsendmsg.c): Likewise.
5874         (CFLAGS-recvmsg.c): Add rule.
5875         (CFLAGS-sendmsg.c): Likewise.
5876         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
5877         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
5878         (CFLAGS-recvmsg.c): Remove rule.
5879         (CFLAGS-sendmsg.c): Likewise.
5880         (CFLAGS-oldrecvmsg.c): Likewise.
5881         (CFLAGS-oldsendmsg.c): Likewise.
5882         (CFLAGS-recvmmsg.c): Likewise.
5883         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
5884         to kernel defined interfaces.
5885         (msghdr.msg_controllen): Likewise.
5886         (cmsghdr.cmsg_len): Likewise.
5887         (msghdr.__glibc_reserved1): Remove member.
5888         (msghdr.__glibc_reserved2): Likewise.
5889         (cmsghdr.__glibc_reserved1): Likewise.
5890         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
5891         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
5892         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5893         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
5894         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
5895         version.
5896         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5897         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
5898         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5899         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
5900         Remove recvmsg and sendmsg.
5901         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
5902         Likewise.
5903         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5904         Likewise.
5905         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
5906         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
5907         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
5908         Likewise.
5909         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
5910         Likewise.
5911         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
5912         [libc] (GLIBC_2.24): Likewise.
5913         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
5914         Likewise.
5915         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
5916         Likewise.
5917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5918         [libc] (GLIBC_2.24): Likewise.
5919         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
5920         Likewise.
5921         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
5922         Likewise.
5923         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
5924         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
5925         Likewise.
5926         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
5927         Likewise.
5928         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
5929         Likewise.
5930         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
5931         Likewise.
5932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
5933         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
5934         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
5935         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
5936         version for {recv,send,recm,sendm}msg.
5937         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5938         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5939         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5940         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5941         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5942         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5943         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5944         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5945         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5946         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5947         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5948         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5950         Likewise.
5951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5952         Likewise.
5953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5955         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5956         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5957         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5958         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5959         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5960         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5963         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5964         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5965         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5967 2016-06-10  Florian Weimer  <fweimer@redhat.com>
5969         [BZ #19564]
5970         Remove __malloc_initialize_hook from the API.
5971         * malloc/malloc.h (__malloc_initialize_hook): Remove.
5972         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
5973         #pragma GCC poison.
5974         * malloc/malloc-hooks.h: New file.
5975         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
5976         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
5977         (old__malloc_initialize_hook): Rename from
5978         __malloc_initialize_hook to evade poisoning.  Turn into compat
5979         symbol.
5980         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
5981         __malloc_initialize_hook.
5982         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
5983         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
5984         * manual/memory.texi (Hooks for Malloc): Remove
5985         __malloc_initialize_hook.  Adjust hook example.
5987 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
5989         [BZ #20235]
5990         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
5991         itself.
5992         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5993         * math/libm-test.inc (log2_test_data): Add sNaN tests.
5995         [BZ #20234]
5996         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
5997         infinity or NaN input to itself.
5999         [BZ #20233]
6000         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
6001         to itself.
6003         [BZ #20232]
6004         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
6005         itself.
6007 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
6009         * sysdeps/x86_64/start.S (_start): Always indirect branch to
6010         __libc_start_main via GOT.
6012 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
6014         * sysdeps/x86_64/memcopy.h: New file.
6015         * sysdeps/x86_64/wordcopy.c: Likewise.
6017 2016-06-09  Florian Weimer  <fweimer@redhat.com>
6019         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
6020         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
6021         <cstdlib>.
6022         (optimization_barrier): New.
6023         (do_test): Use it.  Call quick_exit in the global namespace.
6024         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
6025         instead of <cstdlib>, <thread>.
6026         (optimization_barrier): New.
6027         (non_main_thread): Adjust declaration.  Call optimization_barrier.
6028         Call quick_exit in the global namespace.
6029         (do_test): Call optimization_barrier.  Use pthread_create,
6030         pthread_join instead of std::thread.
6032 2016-06-09  Andreas Schwab  <schwab@suse.de>
6034         [BZ #19755]
6035         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
6036         new entries in auto-propagate mode.
6037         * nscd/grpcache.c (cache_addgr): Likewise.
6039 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6041         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
6042         New functions.
6043         (add_temp_file): Use them.
6045 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
6047         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
6049 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
6051         [BZ #20229]
6052         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
6053         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
6054         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
6056         [BZ #20228]
6057         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
6058         itself.
6059         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6060         * math/libm-test.inc (log10_test_data): Add sNaN tests.
6062         [BZ #20227]
6063         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
6064         itself.
6065         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6066         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6067         * math/libm-test.inc (log_test_data): Add sNaN tests.
6069         [BZ #20226]
6070         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
6071         itself.
6072         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6073         * math/libm-test.inc (exp_test_data): Add sNaN tests.
6074         (exp10_test_data): Likewise.
6075         (expm1_test_data): Likewise.
6077         [BZ #20225]
6078         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
6079         itself.
6080         * math/s_ldexpf.c (__ldexpf): Likewise.
6081         * math/s_ldexpl.c (__ldexpl): Likewise.
6082         * math/w_scalbln.c (__w_scalbln): Likewise.
6083         * math/w_scalblnf.c (__w_scalblnf): Likewise.
6084         * math/w_scalblnl.c (__w_scalblnl): Likewise.
6085         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
6086         (scalbln_test_data): Likewise.
6088         [BZ #20224]
6089         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
6090         argument to itself.
6091         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
6093 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
6095         [BZ #19776]
6096         * sysdeps/x86_64/memcpy.S: Make it dummy.
6097         * sysdeps/x86_64/mempcpy.S: Likewise.
6098         * sysdeps/x86_64/memmove.S: New file.
6099         * sysdeps/x86_64/memmove_chk.S: Likewise.
6100         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
6101         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
6102         * sysdeps/x86_64/memmove.c: Removed.
6103         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
6104         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6105         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
6106         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
6107         Likewise.
6108         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6109         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6110         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6111         memcpy-sse2-unaligned, memmove-avx-unaligned,
6112         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
6113         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6114         (__libc_ifunc_impl_list): Replace
6115         __memmove_chk_avx512_unaligned_2 with
6116         __memmove_chk_avx512_unaligned.  Remove
6117         __memmove_chk_avx_unaligned_2.  Replace
6118         __memmove_chk_sse2_unaligned_2 with
6119         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
6120         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
6121         with __memmove_avx512_unaligned.  Replace
6122         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
6123         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
6124         with __memcpy_chk_avx512_unaligned.  Remove
6125         __memcpy_chk_avx_unaligned_2.  Replace
6126         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
6127         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
6128         Replace __memcpy_avx512_unaligned_2 with
6129         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
6130         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
6131         with __mempcpy_chk_avx512_unaligned.  Remove
6132         __mempcpy_chk_avx_unaligned_2.  Replace
6133         __mempcpy_chk_sse2_unaligned_2 with
6134         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
6135         Replace __mempcpy_avx512_unaligned_2 with
6136         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
6137         Replace __mempcpy_sse2_unaligned_2 with
6138         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
6139         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
6140         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
6141         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
6142         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
6143         (ENTRY): Removed.
6144         (END): Likewise.
6145         (ENTRY_CHK): Likewise.
6146         (libc_hidden_builtin_def): Likewise.
6147         Don't include ../memcpy.S.
6148         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
6149         __memcpy_chk_avx512_unaligned_erms and
6150         __memcpy_chk_avx512_unaligned.  Use
6151         __memcpy_chk_avx_unaligned_erms and
6152         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
6153         Default to __memcpy_chk_sse2_unaligned.
6154         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6155         Change function suffix from unaligned_2 to unaligned.
6156         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
6157         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
6158         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
6159         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
6160         (ENTRY): Removed.
6161         (END): Likewise.
6162         (ENTRY_CHK): Likewise.
6163         (libc_hidden_builtin_def): Likewise.
6164         Don't include ../mempcpy.S.
6165         (mempcpy): New.  Add a weak alias.
6166         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
6167         __mempcpy_chk_avx512_unaligned_erms and
6168         __mempcpy_chk_avx512_unaligned.  Use
6169         __mempcpy_chk_avx_unaligned_erms and
6170         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
6171         Default to __mempcpy_chk_sse2_unaligned.
6173 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
6175         [BZ #19881]
6176         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
6177         into ...
6178         * sysdeps/x86_64/memset.S: This.
6179         (__bzero): Removed.
6180         (__memset_tail): Likewise.
6181         (__memset_chk): Likewise.
6182         (memset): Likewise.
6183         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
6184         defined.
6185         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
6186         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
6187         (__memset_zero_constant_len_parameter): Check SHARED instead of
6188         PIC.
6189         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6190         memset-avx2 and memset-sse2-unaligned-erms.
6191         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6192         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
6193         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
6194         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6195         (__bzero): Enabled.
6196         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
6197         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
6198         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
6199         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
6200         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6201         (memset): Removed.
6202         (__memset_chk): Likewise.
6203         (MEMSET_SYMBOL): New.
6204         (libc_hidden_builtin_def): Replace __memset_sse2 with
6205         __memset_sse2_unaligned.
6206         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
6207         __memset_chk_sse2 and __memset_chk_avx2 with
6208         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
6209         Use __memset_chk_sse2_unaligned_erms or
6210         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
6211         __memset_chk_avx512_unaligned_erms and
6212         __memset_chk_avx512_unaligned.
6214 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6216         * math/gen-auto-libm-test.c (fp_format_desc): remove
6217         suffix member.
6218         (output_generic_value): Remove usage of suffix member,
6219         and the resulting unuse of the fp_format argument.
6220         (output_for_one_input_case): Remove unused fp_format
6221         parameter.
6223         * math/auto-libm-test-out: Regenerate.
6225         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
6226         usage with TEST_COND_ibm128.
6227         (TEST_COND_flt_32): Remove.
6228         (TEST_COND_dbl_64): Remove.
6229         (TEST_COND_ldbl_96_intel): Remove.
6230         (TEST_COND_ldbl_96_m68k): Remove.
6231         (TEST_COND_ldbl_128): Remove.
6233 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6235         * auto-libm-test-in:
6236         Replace flt-32 usage with binary32.
6237         Replace dbl-64 usage with binary64.
6238         Replace ldbl-intel-96 usage with intel96.
6239         Replace ldbl-m68k-96 usage with m68k96.
6240         Replace ldbl-128ibm usage with ibm128.
6241         Replace ldbl-128 usage with binary128.
6243         * auto-libm-test-out: Regenerate.
6245 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6247         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
6248         (parse_ulps): Dynamically generate type name matching
6249         string from all_floats.
6250         (get_ulps): Generate the ulps as an array instead.
6251         (output_ulps): Dynamically compose the type based
6252         on the number of supported formats, and print
6253         the indices as type specific helper macros.
6255         * math/libm-test.inc: Remove comment about CHOOSE.
6256         (ulp_data): Generate the type in libm-test-ulps.h.
6257         (ULP_IDX): New macro.
6258         (find_ulps): Update usage of max_ulp.
6260         * math/test-double-vlen2.h (CHOOSE): Remove.
6261         * math/test-double-vlen4.h (CHOOSE): Likewise.
6262         * math/test-double-vlen8.h (CHOOSE): Likewise.
6263         * math/test-float.c (CHOOSE): Likewise.
6264         * math/test-float-finite.c (CHOOSE): Likewise.
6265         * math/test-double.c (CHOOSE): Likewise.
6266         * math/test-double-finite.c (CHOOSE): Likewise.
6267         * math/test-idouble.c (CHOOSE): Likewise.
6268         * math/test-ifloat.c (CHOOSE): Likewise.
6269         * math/test-ildoubl.c (CHOOSE): Likewise.
6270         * math/test-ldouble-finite.c (CHOOSE): Likewise.
6271         * math/test-ldouble.c (CHOOSE): Likewise.
6273         * math/test-float.h (TEST_FLOAT): Remove.
6274         * math/test-double.h (TEST_DOUBLE): Likewise.
6275         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
6277 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6279         * math/gen-libm-test.pl: (apply_lit): New subroutine.
6280         (parse_args): Strip C suffix from floating point literals
6281         typed with 'f' and wrap them with LIT().
6283         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
6284         (test_ff_f_data_nexttoward): Rename to
6285         (test_fj_f_data): New struct.
6286         (nexttoward_test_data): Relabel tests as
6287         TEST_fj_f instead of TEST_ff_f.
6289 2016-06-08  Florian Weimer  <fweimer@redhat.com>
6291         Emacs bug 23726.
6292         * malloc/malloc.c (dumped_main_arena_start): Update comment.
6293         (__libc_realloc): Correct size computation for dumped fake mmapped
6294         chunks.
6296 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
6298         [BZ #20219]
6299         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
6300         to itself.
6301         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
6303         [BZ #20218]
6304         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
6305         to itself.
6306         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
6308 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
6310         [BZ #20195]
6311         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
6312         check to ...
6313         (init_cpu_features): Here.
6315 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
6317         [BZ #20214]
6318         * sysdeps/unix/sysv/linux/bits/in.h
6319         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
6320          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
6321         Define to 1.
6322         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
6323          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
6324         Define to 0.
6325         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
6326         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
6328 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
6330         [BZ #20198]
6331         * stdlib/Makefile (tests): Add tst-quick_exit, and
6332         tst-thread-quick_exit.
6333         [ifeq ($(have-cxx-thread_local),yes)]
6334         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
6335         (CFLAGS-tst-thread-quick_exit.o): Likewise.
6336         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
6337         (LDLIBS-tst-thread-quick_exit): Likewise.
6338         [ifneq ($(have-cxx-thread_local),yes)]
6339         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
6340         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
6341         If run_dtors is true call __call_tls_dtors.
6342         (exit): Call __run_exit_handlers with run_dtors set to true.
6343         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
6344         definition.
6345         * stdlib/quick_exit.c (quick_exit): Remove function.
6346         (__new_quick_exit): New function.
6347         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
6348         function.
6349         * stdlib/tst-quick_exit.cc: New file.
6350         * stdlib/tst-thread-quick_exit.cc: New file.
6351         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
6352         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
6353         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
6354         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
6355         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
6356         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
6357         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
6358         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
6359         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
6360         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
6361         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
6362         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
6363         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
6364         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
6365         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
6366         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
6367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
6368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
6369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
6370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
6371         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
6372         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
6373         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
6374         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
6375         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
6376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
6377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
6378         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
6379         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
6380         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
6382 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
6384         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
6385         a typo in comments.
6387 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
6389         [BZ #20213]
6390         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
6391         argument to itself.
6392         * math/libm-test.inc (asin_test_data): Add sNaN tests.
6394 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6396         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
6397         required flags.
6398         (CFLAGS-pwritev64.c): Likewise.
6399         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
6400         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6401         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
6402         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
6403         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
6404         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
6405         syscall from auto-generation.
6406         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
6407         [WORDSIZE == 64] (pwritev64): Remove macro.
6408         [!PWRITEV] (PWRITEV): Likewise.
6409         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
6410         [!PWRITEV] (PWRITE): Likewise.
6411         [!PWRITEV] (OFF_T): Likewise.
6412         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
6413         (LO_HI_LONG): Remove macro.
6414         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
6415         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
6416         (PWRITEV): Remove macro.
6417         (PWRITEV_REPLACEMENTE): Likewise.
6418         (PWRITE): Likewise.
6419         (OFF_T): Likewise.
6420         (pwritev64): New function.
6421         * nptl/tst-cancel4.c (tf_writev): Add test.
6423         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
6424         required flags.
6425         (CFLAGS-preadv64.c): Likewise.
6426         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
6427         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6428         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
6429         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
6430         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
6431         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
6432         syscall from auto-generation.
6433         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
6434         [WORDSIZE == 64] (preadv64): Remove macro.
6435         [!PREADV] (PREADV): Likewise.
6436         [!PREADV] (PREADV_REPLACEMENT): Likewise.
6437         [!PREADV] (PREAD): Likewise.
6438         [!PREADV] (OFF_T): Likewise.
6439         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
6440         (LO_HI_LONG): Remove macro.
6441         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
6442         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
6443         (PREADV): Remove macro.
6444         (PREADV_REPLACEMENTE): Likewise.
6445         (PREAD): Likewise.
6446         (OFF_T): Likewise.
6447         (preadv64): New function.
6448         * nptl/tst-cancel4.c (tf_preadv): Add test.
6450 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
6452         [BZ #20212]
6453         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
6454         argument to itself.
6455         * math/libm-test.inc (acos_test_data): Add sNaN tests.
6457 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6459         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
6460         New symbol defined as libc_hidden_def.
6461         (strcasestr): Became a weak alias to __strcasestr.
6462         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
6463         according to multi-arch support.  Move __stpncpy hidden
6464         definition from here to...
6465         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
6466         symbol stpncpy.
6467         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
6468         libc_hidden_builtin_def.
6469         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
6470         memset symbol to use when multi-arch support is available.
6472 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6474         * dlfcn/tst-rec-dlopen.c: Include string.h.
6476 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6478         * manual/install.texi: Remove mention of --without-tls
6479         * INSTALL: Regenerate.
6481 2016-06-05  Florian Weimer  <fweimer@redhat.com>
6483         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
6484         Remove.
6485         (call_function, interposed_malloc_called): New variables.
6486         (malloc): New function.
6487         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
6488         and clear call_function as needed.
6490 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
6492         * include/wchar.h (__wmemset): Use __typeof.
6494 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
6496         * include/wchar.h (__wmemset): Declare function without typeof.
6498 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
6500         [BZ #20205]
6501         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
6502         exponent when incrementing negative subnormal with low mantissa
6503         word zero.
6504         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
6505         Add another test.
6507 2016-06-03  Florian Weimer  <fweimer@redhat.com>
6509         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
6510         __wmemset instead of wmemset.
6512 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
6514         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
6515         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
6516         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
6517         __USE_KERNEL_IPV6_DEFS to 0.
6518         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
6519         Update comment.
6521 2016-06-01  Florian Weimer  <fweimer@redhat.com>
6523         [BZ #19861]
6524         Do not use IFUNC resolver with potentially unrelocated symbol.
6525         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
6526         (DEFINE_FORK): Remove macro and inline definition.
6527         (fork_alias): Renamed from fork_ifunc.
6528         (__fork_alias): Renamed from __fork_ifunc.
6530 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
6532         [BZ 19653]
6533         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
6534         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
6536 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6538         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
6539         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
6540         i386-linux-gnu).
6541         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
6542         Set to no.
6543         * sysdeps/mach/hurd/configure: Refresh.
6545 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6547         [BZ #20178]
6548         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
6549         on failure instead of exit.
6551 2016-05-30  Roland McGrath  <roland@hack.frob.com>
6553         [BZ #3629]
6554         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
6555         of POSIX.1-2008.
6557 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6559         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
6560           Use PLT entry for calling _hurd_self_sigstate.
6562 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
6564         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
6565         available logical processors with SMT level type sharing L2
6566         cache for Intel processors.
6568 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6570         [BZ #20160]
6571         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
6572         argument to itself before returning the result.
6573         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
6574         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
6575         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
6576         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
6577         Likewise.
6578         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
6579         Likewise.
6580         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
6581         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
6582         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
6583         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
6584         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
6585         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
6587         [BZ #20160]
6588         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
6589         argument to itself before returning the result.
6590         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
6591         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
6592         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
6593         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
6594         Likewise.
6595         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6596         Likewise.
6597         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
6598         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
6599         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
6600         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
6601         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
6602         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
6604 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6606         * libm-test.inc: Replace usage of M_El with
6607         (lit_e): New macro.
6609 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6611         * libm-test.inc: Replace usage of M_PI_4l with
6612         (lit_pi_4_d): New macro.
6614 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6616         * libm-test.inc: Replace usage of M_PIl with
6617         (lit_pi): New macro.
6619 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6621         * libm-test.inc: Replace usage of M_PI2l with
6622         (lit_pi_2_d): New macro.
6624         * math/test-double.h (LITM): New macro.
6625         * math/test-float.h (LITM): Likewise.
6626         * math/test-ldouble.h (LITM): Likewise.
6628 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6630         * libm-test.inc (M_PI_34l): Rename to
6631         (lit_pi_3_m_4_d): New Macro.
6632         (M_PI_34_LOG10El): Rename to
6633         (lit_pi_3_m_4_ln10_m_d): New Macro.
6634         (M_PI2_LOG10El): Rename to
6635         (lit_pi_2_ln10_m_d):  New Macro.
6636         (M_PI4_LOG10El): Rename to
6637         (lit_pi_4_ln10_m_d):  New Macro.
6638         (M_PI_LOG10El): Rename to
6639         (lit_pi_ln10_d):  New Macro.
6641 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6643         [BZ #20157]
6644         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
6645         determine whether to negate low half if [_ARCH_PPCGR], and integer
6646         comparison otherwise.
6647         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
6648         determine whether to negate low half.
6650         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
6651         (NO_TEST_INLINE_DOUBLE): Likewise.
6652         (TEST_COND_x86_64): Likewise.
6653         (TEST_COND_x86): Likewise.
6654         (M_PI_6l): Likewise.
6656 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6658         * math/libm-test.inc:
6659         (TEST_FLOAT): Change usage to TEST_COND_binary32.
6660         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
6661         (TEST_LDOUBLE): Update usage to evaluate as true if
6662         the guarded tests match the property being tested.
6663         (LDBL_MAX_EXP): Change to MAX_EXP.
6664         (LDBL_MIN_EXP): Change to MIN_EXP.
6665         (LDBL_MANT_DIG): Change to MANT_DIG, except for
6666         nexttoward tests.
6668 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6670         * math/libm-test.inc:
6671         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
6672         (TYPE_MIN): Likewise.
6673         (TYPE_TRUE_MIN): Likewise.
6674         (TYPE_MAX): Likewise.
6675         (MIN_EXP): Likewise.
6676         (MAX_EXP): Likewise.
6677         (MANT_DIG): Likewise.
6679         (FSTR_MAX): New macro.
6680         (__CONCATX): Likewise.
6681         (QTYPE_STR): Likewise.
6682         (TEST_COND_binary32): Likewise.
6683         (TEST_COND_binary64): Likewise.
6684         (TEST_COND_binary128): Likewise.
6685         (TEST_COND_ibm128): Likewise.
6686         (TEST_COND_intel96): Likewise.
6687         (TEST_COND_m68k96): Likewise.
6689         (TEST_COND_flt_32): Redefine as equivalent format test macro.
6690         (TEST_COND_dbl_64): Likewise.
6691         (TEST_COND_ldbl_96_intel): Likewise.
6692         (TEST_COND_ldbl_96_m68k): Likewise.
6693         (TEST_COND_ldbl_128): Likewise.
6694         (TEST_COND_ldbl_128ibm): Likewise.
6696         (plus_zero): Redefine using LIT macro.
6697         (minus_zero): Likewise.
6698         (plus_infty): Redefine as (INF).
6699         (minux_infty): Redefine as (-INF).
6700         (max_value): Redefine as TYPE_MAX.
6701         (min_value): Redefine as TYPE_MIN.
6702         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
6704         (print_float): Refactor to use snprintf to convert FLOAT values
6705         to string. This brings it closer to dropin replacement of strtof
6706         for the TS 18661 defined types.
6707         (update_stats): Likewise.
6708         (print_complex_function_ulps): Likewise.
6709         (print_max_error): Likewise.
6710         (print_complex_max_error): Likewise.
6711         (check_float_internal): Likewise.
6713         * math/test-float.h (PREFIX): New macro.
6714         (LIT): Likewise.
6715         (TYPE_STR): Likewise.
6716         (FTOSTR): Likewise.
6718         * math/test-double.h (PREFIX): New macro.
6719         (LIT): Likewise.
6720         (TYPE_STR): Likewise.
6721         (FTOSTR): Likewise.
6723         * math/test-ldouble.h (PREFIX): New macro.
6724         (LIT): Likewise.
6725         (TYPE_STR): Likewise.
6726         (FTOSTR): Likewise.
6728 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6730         [BZ #20156]
6731         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
6732         to itself when zero or not finite.
6733         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
6734         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
6735         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
6736         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6738 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
6740         [BZ #20153]
6741         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
6742         x * x + x for infinities and NaNs.
6744         [BZ #20151]
6745         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
6746         argument to itself before returning result.
6747         (__ieee754_y0l): Likewise.
6748         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6749         (__ieee754_y1l).
6751         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
6752         (atan_test_data): Likewise.
6753         (ceil_test_data): Likewise.
6754         (cos_test_data): Likewise.
6755         (cosh_test_data): Likewise.
6756         (erf_test_data): Likewise.
6757         (exp2_test_data): Likewise.
6758         (fabs_test_data): Likewise.
6759         (floor_test_data): Likewise.
6760         (ilogb_test_data): Likewise.
6761         (j0_test_data): Likewise.
6762         (j1_test_data): Likewise.
6763         (jn_test_data): Likewise.
6764         (lgamma_test_data): Likewise.
6765         (lrint_test_data): Likewise.
6766         (llrint_test_data): Likewise.
6767         (logb_test_data): Likewise.
6768         (lround_test_data): Likewise.
6769         (llround_test_data): Likewise.
6770         (nearbyint_test_data): Likewise.
6771         (rint_test_data): Likewise.
6772         (round_test_data): Likewise.
6773         (sin_test_data): Likewise.
6774         (sincos_test_data): Likewise.
6775         (sinh_test_data): Likewise.
6776         (sqrt_test_data): Likewise.
6777         (tan_test_data): Likewise.
6778         (tanh_test_data): Likewise.
6779         (tgamma_test_data): Likewise.
6780         (trunc_test_data): Likewise.
6781         (y0_test_data): Likewise.
6782         (y1_test_data): Likewise.
6783         (yn_test_data): Likewise.
6785         * math/libm-test.inc: Update comment about NaN testing.
6786         (TEST_SNAN): New macro.
6787         (snan_value): Likewise.
6788         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
6789         (fpclassify_test_data): Add sNaN tests.
6790         (isfinite_test_data): Likewise.
6791         (isinf_test_data): Likewise.
6792         (isnan_test_data): Likewise.
6793         (isnormal_test_data): Likewise.
6794         (issignaling_test_data): Likewise.
6795         (signbit_test_data): Likewise.
6796         * math/gen-libm-test.pl (%beautify): Add snan_value.
6797         (show_exceptions): Add argument $test_snan.
6798         (parse_args): Handle snan_value as non-finite.  Update call to
6799         show_exceptions.
6800         * math/Makefile (libm-test-no-inline-cflags): Add
6801         -fsignaling-nans.
6803 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6805         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
6806         (CFLAGS-oldsendmsg.c): Add rule.
6807         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
6808         Correct recvmsg symbol name.
6809         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
6810         Likewise.
6812 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6814         * sysdeps/unix/sysv/linux/Makefile
6815         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
6816         oldsendmmsg.
6817         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
6818         sendmmsg.
6819         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6820         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6821         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6822         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6824         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6825         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6827         Likewise.
6828         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6829         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
6830         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
6831         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
6832         iovlen and controllen fields to adjust to POSIX specification.
6833         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6835         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
6836         and change to correct expected type.
6837         (msghdr.msg_controllen): Likewise.
6838         (cmsghdr.cmsg_len): Likewise.
6839         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
6840         expected POSIX assumption about the size.
6841         (msghdr.msg_controllen): Likewise.
6842         (msghdr.__glibc_reserved1): Likewise.
6843         (msghdr.__glibc_reserved2): Likewise.
6844         (cmsghdr.cmsg_len): Likewise.
6845         (cmsghdr.__glibc_reserved1): Likewise.
6846         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
6847         Add ptw-oldrecvmsg and ptw-oldsendmsg.
6848         (CFLAGS-sendmsg.c): Remove rule.
6849         (CFLAGS-recvmsg.c): Likewise.
6850         (CFLAGS-oldsendmsg.c): Add rule.
6851         (CFLAGS-oldrecvmsg.c): Likewise.
6852         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
6853         recvmsg and sendmsg.
6854         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
6855         Likewise.
6856         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
6857         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
6858         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
6859         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
6860         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
6861         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
6862         Likewise.
6863         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
6864         Likewise.
6865         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
6866         Likewise.
6867         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
6868         Likewise.
6869         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
6870         Likewise.
6871         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
6872         Likewise.
6873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
6874         (GLIBC_2.24): Likewise.
6875         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
6876         Likewise.
6877         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
6878         Likewise.
6879         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
6880         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
6881         Likewise.
6882         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
6883         Likewise.
6884         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
6885         Likewise.
6886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
6887         (GLIBC_2.24): Likewise.
6888         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
6889         Likewise.
6890         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
6891         Likewise.
6892         * sysdeps/unix/sysv/linux/Makefile
6893         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
6894         (CFLAGS-sendmsg.c): Add rule.
6895         (CFLAGS-recvmsg.c): Likewise.
6896         (CFLAGS-oldsendmsg.c): Likewise.
6897         (CFLAGS-oldrecvmsg.c): Likewise.
6898         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
6899         initialization.
6900         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
6901         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
6902         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
6903         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
6904         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
6905         iovlen and controllen fields to adjust to POSIX specification.
6906         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
6907         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
6908         added recvmsg and sendmsg.
6909         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6910         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6911         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6912         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6913         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6914         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6915         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6916         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6917         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6918         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6919         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6920         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
6921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6922         Likewise.
6923         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
6924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6925         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6926         Likewise.
6927         Likewise.
6928         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6929         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6930         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6931         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6932         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6933         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6935         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6937         Likewise.
6938         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6939         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6941         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
6942         from auto-generation.
6943         (sendmsg): Likewise.
6944         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
6945         (sendmsg): Likewise.
6946         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
6947         (sendmsg): Likewise.
6948         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
6949         (sendmsg): Likewise.
6950         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
6951         (sendmsg): Likewise.
6952         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
6953         (sendmsg): Likewise.
6954         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
6955         Likewise.
6956         (sendmsg): Likewise.
6957         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
6958         (sendmsg): Likewise.
6959         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6960         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6961         Remove.
6962         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6963         Likewise.
6964         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6965         Undefine.
6966         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6967         Likewise.
6968         * sysdeps/unix/sysv/linux/kernel-features.h
6969         (__ASSUME_SENDMSG_SYSCALL): Define.
6970         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6971         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6972         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6973         Remove.
6974         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6975         Likewise.
6976         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6977         Undefine.
6978         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6979         Likewise.
6980         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6981         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6982         Remove.
6983         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6984         Likewise.
6985         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6986         Undefine.
6987         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6988         Likewise.
6989         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6990         (__ASSUME_SENDMSG_SYSCALL): Undefine.
6991         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6992         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6993         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6994         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6995         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6996         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6997         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6999 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7001         * stdlib/gen-tst-strtod-round.c: Add backslash to
7002         compile command in comment.
7003         (printfp): Remove the literal suffix, and define an infinite
7004         value as INF to avoid expansion clash with INFINITY.
7005         (round_str): Remove the literal suffix.
7006         (round_for_all): Likewise, remove the now duplicate ldbl-64
7007         entry, and remove some magic constants.
7009         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
7010         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
7011         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
7012         (_CONCAT): New macro.
7013         (CONCAT): Likewise.
7014         (CHOOSE_ld): Likewise.
7015         (CHOOSE_f): Likewise.
7016         (CHOOSE_d): Likewise.
7017         (FTYPE_MEMBER): Likewise.
7018         (BOOL_MEMBER): Likewise.
7019         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
7020         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
7021         (_XNTRY): Likewise.
7022         (XNTRY): Likewise.
7023         (_ENTRY): Likewise.
7024         (ENTRY): Likewise.
7025         (test_exactness): Generate members via macro.
7026         (test_results): Likewise.
7027         (test): Update members.
7028         (TEST): Redefine using new macros.
7029         (INF): New macro.
7030         (fetestmodes): New structure.
7031         (do_test): Refactor to be type generic.
7032         (test_in_one_mode): Refactor duplicate code into
7033         (GEN_ONE_TEST): New macro.
7035         * stdlib/tst-strtod-round-data.h: Regenerate.
7037         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
7038         Extend to pass additional arbitrary parameters to
7039         generators.
7041 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
7043         [BZ #15479]
7044         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
7045         floating-point state after first floating-point operation on
7046         input.  Restore full floating-point state instead of just rounding
7047         mode.
7048         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
7049         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
7050         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
7051         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
7052         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
7054         [BZ #15479]
7055         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
7056         floating-point state after first floating-point operation on
7057         input.  Restore full floating-point state instead of just rounding
7058         mode.
7059         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
7060         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
7061         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
7062         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
7063         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
7065 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7067         [BZ #19727]
7068         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
7069         valid high surrogate.
7070         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
7071         of an utf16 surrogate.
7072         * iconv/gconv_simple.c (BODY): Likewise.
7073         * iconvdata/bug-iconv12.c: New file.
7074         * iconvdata/Makefile (tests): Add bug-iconv12.
7076 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7078         [BZ #19726]
7079         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
7080         outptrp in case of an illegal input.
7081         * iconv/tst-iconv6.c: New file.
7082         * iconv/Makefile (tests): Add tst-iconv6.
7084 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7086         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
7087         an error in case of a value in range of an utf16 low surrogate.
7089 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7091         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
7092         an error in case of a value in range of an utf16 low surrogate.
7094 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7096         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
7097         Move to ...
7098         * sysdeps/s390/Makefile: ... here.
7099         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
7100         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
7101         (BRANCH_ON_COUNT): New define.
7102         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
7103         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
7104         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
7105         run on s390-32, too.
7106         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
7107         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
7108         run on s390-32, too.
7109         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
7110         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
7111         run on s390-32, too.
7113 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7115         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
7116         etf3eh or new vector loop-variant.
7118 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7120         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
7121         etf3eh or new vector loop-variant.
7123 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7125         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
7126         or new vector loop-variant.
7128 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7130         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
7131         Rename to TR_LOOP and usage of tr instead of troo instruction.
7133 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7135         * sysdeps/s390/multiarch/gconv_simple.c: New File.
7136         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
7138 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7140         * sysdeps/s390/multiarch/8bit-generic.c: New File.
7141         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
7142         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
7143         New override define.
7144         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
7146 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7148         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
7149         * sysdeps/s390/configure.ac: Add test for S390 vector register
7150         support in gcc.
7151         * sysdeps/s390/configure: Regenerated.
7153 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7155         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
7156         Install file from $(objpfx)gconv-modules.
7157         ($(objpfx)gconv-modules): Concatenate architecture specific file
7158         in variable sysdeps-gconv-modules and gconv-modules in src dir.
7159         * sysdeps/s390/gconv-modules: New file.
7160         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
7161         Deleted.
7162         ($(objpfx)gconv-modules-s390): Deleted.
7163         (sysdeps-gconv-modules): New variable.
7165 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
7167         [BZ #15479]
7168         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
7169         of immediate operand to rounding instruction.
7170         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
7171         Likewise.
7172         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
7173         Likewise.
7174         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
7175         Likewise.
7177 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7179         * math/libm-test.inc (MIN_EXP): Directly define as
7180         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
7182 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7184         * math/libm-test.inc (MANT_DIG): Directly define as
7185         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
7187 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7189         * stdlib/gen-tst-strtod-round.c (main):
7190           Change usage to more closely match the generated
7191           output.  Add usage and compilation instructions.
7192           (string_to_fp): Add and use FILE* parameter as
7193           output target.
7194           (print_fp): Likewise.
7195           (round_str): Likewise.
7196           (round_for_all): Likewise.
7197         * stdlib/tst-strtod-round.c (tests): Move into
7198         * stdlib/tst-strtod-round-data.h: New file.
7200 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
7202         [BZ #15479]
7203         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
7204         (__round): Do not force "inexact" exception.
7205         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
7206         variable.
7207         (__round): Do not force "inexact" exception.
7208         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
7209         (__roundf): Do not force "inexact" exception.
7210         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
7211         (__roundl): Do not force "inexact" exception.
7212         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
7213         (__roundl): Do not force "inexact" exception.
7214         * math/libm-test.inc (round_test_data): Do not allow spurious
7215         "inexact" exceptions.
7217         [BZ #15479]
7218         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
7219         exception in comment.
7220         (huge): Remove variable.
7221         (__floor): Do not force "inexact" exception.
7222         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
7223         "inexact" exception in comment.
7224         (huge): Remove variable.
7225         (__floor): Do not force "inexact" exception.
7226         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
7227         exception in comment.
7228         (huge): Remove variable.
7229         (__floorf): Do not force "inexact" exception.
7230         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
7231         exception in comment.
7232         (huge): Remove variable.
7233         (__floorl): Do not force "inexact" exception.
7235         [BZ #15479]
7236         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
7237         exception in comment.
7238         (huge): Remove variable.
7239         (__ceil): Do not force "inexact" exception.
7240         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
7241         "inexact" exception in comment.
7242         (huge): Remove variable.
7243         (__ceil): Do not force "inexact" exception.
7244         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
7245         (__ceilf): Do not force "inexact" exception.
7246         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
7247         exception in comment.
7248         (huge): Remove variable.
7249         (__ceill): Do not force "inexact" exception.
7251 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
7253         * config.h.in (BIND_NOW): New.
7254         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
7255         * configure: Regenerated.
7256         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
7257         indirect branch via the GOT slot.
7259 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7261         [BZ #19765]
7262         * sysdeps/s390/mempcpy.S: New File.
7263         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
7264         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
7265         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7266         Add mempcpy variants.
7267         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
7268         (memcpy): Adjust to be usable from mempcpy entry point.
7269         (__memcpy_mvcle): Likewise.
7270         * sysdeps/s390/s390-64/memcpy.S: Likewise.
7271         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
7272         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
7273         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
7274         (__memcpy_z10): Likewise.
7275         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
7277 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7279         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
7280         Remove __GI_ symbol.
7281         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
7282         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
7283         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
7284         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
7285         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
7286         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
7288 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7290         * sysdeps/s390/s390-64/memcpy.S (memcpy):
7291         Use cghi instead of chi to compare 64bit value.
7293 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7295         * sysdeps/s390/s390-32/memcpy.S (memcpy):
7296         Jump to 1MB check before executing mvc-loop.
7298 2016-05-24  Florian Weimer  <fweimer@redhat.com>
7300         [BZ #6527]
7301         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
7302         unconditionally.
7303         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
7305 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7307         * stdlib/tst-strtod6.c (do_test): Use new type generic
7308         invocation of the test function.
7309         (test): Refactor into ...
7310         (TEST_STRTOD): New macro base function.
7312 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7314         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
7315         (TEST_STRTOD): New macro.
7316         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
7318 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7320         * stdlib/tst-strtod6.c (do_test): Use new type generic
7321         invocation of the test function.
7322         (test): Refactor into ...
7323         (TEST_STRTOD): New macro base function.
7325 2016-05-23  Florian Weimer  <fweimer@redhat.com>
7327         CVE-2016-4429
7328         [BZ #20112]
7329         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
7330         payload.
7332 2016-05-23  Florian Weimer  <fweimer@redhat.com>
7334         [BZ #20111]
7335         * bits/sockaddr.h (_SS_SIZE): Define.
7336         * bits/socket.h (_SS_SIZE): Remove.
7337         (_SS_PADSIZE): Adjust to account for all padding.
7338         (struct sockaddr_storage): Update comment.  Avoid implicit
7339         padding.
7340         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
7341         (_SS_PADSIZE): Adjust to account for all padding.
7342         (struct sockaddr_storage): Update comment.  Avoid implicit
7343         padding.
7344         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
7345         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
7346         (_SS_PADSIZE): Adjust to account for all padding.
7347         (struct sockaddr_storage): Update comment.  Avoid implicit
7348         padding.
7349         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
7350         __SS_SIZE is 126 in this version.
7351         * inet/tst-sockaddr.c: New file.
7352         * inet/Makefile (tests): Add tst-sockaddr.c
7353         (tst-sockaddr.c): Compile with non-strict aliasing.
7355 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
7357         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
7358         [XPG3 || XPG4].
7359         (NL_ARGMAX): Also expect for [XPG3].
7360         (NL_LANGMAX): Likewise.
7361         (NL_MSGMAX): Likewise.
7362         (NL_NMAX): Likewise.
7363         (NL_SETMAX): Likewise.
7364         (NL_TEXTMAX): Likewise.
7365         (NZERO): Likewise.
7366         (TMP_MAX): Likewise.
7367         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
7368         variable.
7370         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
7371         (PF_MAX): Update value.
7372         (AF_KCM): New macro.
7373         (SOL_NETBEUI): Likewise.
7374         (SOL_LLC): Likewise.
7375         (SOL_DCCP): Likewise.
7376         (SOL_NETLINK): Likewise.
7377         (SOL_TIPC): Likewise.
7378         (SOL_RXRPC): Likewise.
7379         (SOL_PPPOL2TP): Likewise.
7380         (SOL_BLUETOOTH): Likewise.
7381         (SOL_PNPIPE): Likewise.
7382         (SOL_RDS): Likewise.
7383         (SOL_IUCV): Likewise.
7384         (SOL_CAIF): Likewise.
7385         (SOL_ALG): Likewise.
7386         (SOL_NFC): Likewise.
7387         (SOL_KCM): Likewise.
7388         (MSG_BATCH): New enum value and macro.
7390 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
7392         [BZ #18185]
7393         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
7394         sharing L2 cache to 2 for Knights Landing.
7396 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
7398         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
7399         (FTW_DP): Do not expect for [XPG3 || XPG4].
7400         (FTW_SL): Do not expect for [XPG3].
7401         (FTW_SLN): Likewise.
7402         (FTW_PHYS): Likewise.
7403         (FTW_MOUNT): Likewise.
7404         (FTW_DEPTH): Likewise.
7405         (FTW_CHDIR): Likewise.
7406         (nftw): Likewise.
7407         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
7408         variable.
7410 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
7412         * manual/errno.texi: Fix various typos & grammar errors.
7414 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
7416         * manual/intro.texi: Fix duplicated typo.
7418 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
7420         [BZ #13304]
7421         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
7422         <float.h>, <math_private.h> and <stdlib.h>.
7423         (add_split): New function.
7424         (mul_split): Likewise.
7425         (ext_val): New typedef.
7426         (store_ext_val): New function.
7427         (mul_ext_val): New function.
7428         (compare): New function.
7429         (add_split_ext): New function.
7430         (__fmal): After checking for Inf, NaN and zero, compute result as
7431         an exact sum of scaled double values in round-to-nearest before
7432         adding those up and adjusting for other rounding modes.
7433         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
7434         tests of fma.
7435         * math/auto-libm-test-out: Regenerated.
7437 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
7439         [BZ #20119]
7440         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
7441         processor level type mask for CPUID with EAX == 11.
7443 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
7445         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
7446         logical threads if the HTT bit is 0.
7447         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
7448         (index_cpu_HTT): Likewise.
7449         (reg_HTT): Likewise.
7451 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
7453         [BZ #20115]
7454         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
7455         Remove alignments on jump targets.
7457 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
7459         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
7460         (getpwent): Likewise.
7461         (setpwent): Likewise.
7462         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
7463         variable.
7465         * conform/data/search.h-data (insque): Do not expect for [XPG3].
7466         (remque): Likewise.
7467         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
7468         variable.
7470 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
7472         * math/libm-test.inc: Update comment not to refer to signs of NaNs
7473         not being tested.
7475 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7477         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
7478         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
7479         call.
7480         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
7481         (__condvar_cleanup1): Likewise.
7483 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7485         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
7486         New
7487         (__pthread_unwind): Renamed to ...
7488         (PTHREAD_UNWIND): This.
7489         (__pthread_enable_asynccancel): Replace
7490         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
7492 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
7494         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
7495         (CLONE_NEWCGROUP): New macro.
7497         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
7498         (Q_GETNEXTQUOTA): New macro.
7500 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
7502         [BZ #19907]
7503         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
7504         buffer updated by the previous run.
7505         * string/test-memcpy.c (do_one_test): Likewise.
7506         * benchtests/bench-memmove.c (do_one_test): Add a comment.
7507         * string/test-memmove.c (do_one_test): Likewise.
7509 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
7511         [BZ #20094]
7512         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
7513         not [__USE_XOPEN].
7514         (unlockpt): Likewise.
7515         (ptsname): Likewise.
7516         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
7517         variable.
7519         [BZ #20076]
7520         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
7521         instead of [__USE_UNIX98].
7522         (S_ISSOCK): Likewise.
7523         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
7524         variable.
7526         [BZ #20074]
7527         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
7528         [__USE_POSIX].
7529         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
7530         variable.
7532         [BZ #20051]
7533         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
7534         (ttyslot): Do not declare.
7535         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
7536         (ttyslot): New prototype.
7537         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
7538         variable.
7539         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7541 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7543         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
7545 2016-05-13  Florian Weimer  <fweimer@redhat.com>
7547         Fix race condition in tst-mallocfork2, use fewer resources.
7548         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
7549         to current process group.
7550         (signal_sender): Yield in the non-sleeping case.
7552 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
7554         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
7555         (ecvt): Likewise.
7556         (fcvt): Likewise.
7557         (gcvt): Likewise.
7558         (getsubopt): Likewise.
7559         (grantpt): Likewise.
7560         (initstate): Likewise.
7561         (l64a): Likewise.
7562         (mktemp): Likewise.
7563         (mkstemp): Likewise.
7564         (ptsname): Likewise.
7565         (random): Likewise.
7566         (realpath): Likewise.
7567         (setstate): Likewise.
7568         (srandom): Likewise.
7569         (ttyslot): Likewise.
7570         (unlockpt): Likewise.
7571         (valloc): Likewise.
7573         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
7574         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
7575         variable.
7577 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
7579         [BZ #20072]
7580         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
7581         init_cpu_features only if SHARED is defined.
7582         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
7584 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
7586         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
7587         non-inclusive caches on Intel processors.
7589 2016-05-13  Florian Weimer  <fweimer@redhat.com>
7591         * malloc/malloc.c (dumped_main_arena_start)
7592         (dumped_main_arena_end): New variables.
7593         (DUMPED_MAIN_ARENA_CHUNK): New macro.
7594         (do_check_chunk): Skip dumped fake mmapped chunks.
7595         (munmap_chunk): Likewise.
7596         (__libc_free): Do not adjust statistics for fake mmapped chunks.
7597         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
7598         mmapped chunks.
7599         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
7600         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
7601         and dumped_main_arena_end to cover the dumped heap.
7603 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
7605         * conform/data/time.h-data (getdate_err): Do not expect for
7606         [XPG3].
7607         (getdate): Likewise.
7608         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
7609         variable.
7611         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
7612         (F_ULOCK): Likewise.
7613         (F_TEST): Likewise.
7614         (F_TLOCK): Likewise.
7615         (useconds_t): Likewise.
7616         (intptr_t): Do not expect for [XPG3] or [XPG4].
7617         (brk): Do not expect for [XPG3]
7618         (fchown): Likewise.
7619         (fchdir): Likewise.
7620         (ftruncate): Likewise.
7621         (getdtablesize): Likewise.
7622         (gethostid): Likewise.
7623         (getpagesize): Likewise.
7624         (getpgid): Likewise.
7625         (getsid): Likewise.
7626         (getwd): Likewise.
7627         (lchown): Likewise.
7628         (lockf): Likewise.
7629         (readlink): Likewise.
7630         (sbrk): Likewise.
7631         (setpgrp): Likewise.
7632         (setregid): Likewise.
7633         (setreuid): Likewise.
7634         (symlink): Likewise.
7635         (sync): Likewise.
7636         (truncate): Likewise.
7637         (ualarm): Likewise.
7638         (usleep): Likewise.
7639         (vfork): Likewise.
7640         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
7641         variable.
7643         [BZ #20054]
7644         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
7645         not [__USE_UNIX98].
7646         * conform/data/unistd.h-data (gethostname): Do not expect for
7647         [XPG3].
7649         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
7650         [!POSIX] (S_IFBLK): Likewise.
7651         [!POSIX] (S_IFCHR): Likewise.
7652         [!POSIX] (S_IFIFO): Likewise.
7653         [!POSIX] (S_IFREG): Likewise.
7654         [!POSIX] (S_IFDIR): Likewise.
7655         [!POSIX] (S_IFLNK): Likewise.
7656         [!POSIX] (S_IFSOCK): Likewise.
7657         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
7658         variable.
7659         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7661 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
7663         * sysdeps/aarch64/memset.S (__memset):
7664         Rewrite of optimized memset.
7666 2016-05-12  Florian Weimer  <fweimer@redhat.com>
7668         [BZ #19703]
7669         Partially async-signal-safe fork for single-threaded processes.
7670         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
7671         variable.  Do not acquire and reset/release malloc and libio locks
7672         in single-threaded processes.
7673         * malloc/tst-mallocfork2.c: New file.
7674         * malloc/Makefile (tests): Add it.
7676 2016-05-12  Florian Weimer  <fweimer@redhat.com>
7678         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
7679         argument.  Use scratch buffer instead of extend_alloca.
7680         (gethosts): Use scratch buffer instead of extend_alloca.
7681         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
7682         extend_alloca.
7683         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
7685 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
7687         [BZ #20055]
7688         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
7689         instead of [__USE_UNIX98].
7690         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
7691         [__USE_UNIX98].
7692         * conform/data/termios.h-data (tcgetsid): Do not expect for
7693         [XPG3].
7694         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
7695         variable.
7696         (test-xfail-XPG4/termios.h/conform): Likewise.
7698 2016-05-11  Florian Weimer  <fweimer@redhat.com>
7700         Do not use mcheck in localedef.
7701         * locale/programs/localedef.c (turn_on_mcheck)
7702         (__malloc_initialize_hook): Remove.
7704 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7706         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
7707         * sysdeps/s390/s390-64/Makefile: Likewise.
7709 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
7711         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
7712         Remove ifunc-defines.sym.
7713         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
7714         Likewise.
7715         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
7716         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
7717         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
7718         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
7719         rtld-global-offsets.sym.
7720         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
7721         * sysdeps/x86/cpu-features-offsets.sym: This.
7722         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
7723         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
7725 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
7727         [BZ #20073]
7728         * io/sys/stat.h (fchmod): Declare for
7729         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
7730         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
7731         variable.
7733         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
7734         [XPG3] (S_IFSOCK): Likewise.
7735         [XPG3] (S_ISVTX): Likewise.
7736         [XPG3] (S_ISLNK): Likewise.
7737         [XPG3] (S_ISSOCK): Likewise.
7738         [XPG3] (fchmod): Likewise.
7739         [XPG3] (lstat): Likewise.
7740         [XPG3] (mknod): Likewise.
7742         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
7743         [XPG3].  Expect type long and XFAIL for [XPG4].
7744         (st_blocks): Likewise.
7746         [BZ #20044]
7747         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
7748         (pthread_atfork): New prototype.
7749         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
7750         variable.
7752         [BZ #20043]
7753         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
7754         prototype.
7756 2016-05-10  Florian Weimer  <fweimer@redhat.com>
7758         [BZ #20017]
7759         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
7760         gmtime.
7762 2016-05-10  Florian Weimer  <fweimer@redhat.com>
7764         [BZ #19994]
7765         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
7766         flag in _res.options.
7768 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
7770         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
7771         [XPG3 || XPG4].
7772         (blksize_t): Likewise.
7773         (clockid_t): Likewise.
7774         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
7775         variable.
7776         (test-xfail-XPG4/sys/types.h/conform): Likewise.
7778 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7780         * sysdeps/unix/sysv/linux/s390/init-first.c:
7781         Add VDSO_SYMBOL(getcpu).
7782         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
7783         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
7784         Add VDSO_SYMBOL(getcpu).
7785         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
7786         New define HAVE_GETCPU_VSYSCALL.
7787         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7789 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
7791         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
7792         instead of <sysdeps/x86_64/cacheinfo.c>.
7793         * sysdeps/x86_64/cacheinfo.c: Moved to ...
7794         * sysdeps/x86/cacheinfo.c: Here.
7796 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7798         * malloc/malloc-internal.h: Adjust header file guard.
7800 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7802         [BZ #19787]
7803         * inet/getnameinfo.c (check_sprintf_result): New function.
7804         (CHECKED_SNPRINTF): New macro.
7805         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
7806         to the host buffer.
7807         (gni_host_local): Use checked_copy to copy the host name.
7808         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
7809         (gni_serv_local): Use checked_copy to copy the service name.
7810         (getnameinfo): Remove unnecessary truncation of result buffers.
7812 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7814         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
7815         in case of inet_ntop failure.
7817 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7819         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
7820         avoid long lines.
7821         (gni_host_inet_numeric): Likewise.  Reduce scope of local
7822         variables.
7823         (gni_host_inet, gni_host_local): Add comment.
7824         (gni_host): Add comment.  Use temporary to avoid long lines.
7826 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7828         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
7829         registers specifiers where general purpose registers specifiers should
7830         have been used.
7832 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7834         [BZ #19779]
7835         CVE-2016-1234
7836         Avoid copying names of directory entries.
7837         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
7838         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
7839         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
7840         (struct readdir_result): New type.
7841         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
7842         (GL_READDIR): New macros.
7843         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
7844         (convert_dirent, convert_dirent64): New functions.
7845         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
7846         convert_dirent64.  Adjust references to the readdir result.
7847         * sysdeps/unix/sysv/linux/i386/glob64.c:
7848         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
7849         * posix/bug-glob2.c (LONG_NAME): Define.
7850         (filesystem): Add LONG_NAME.
7851         (my_DIR): Increase the size of room_for_dirent.
7853 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
7855         [BZ #20041]
7856         * misc/sys/select.h (__need_timespec): Only define if
7857         [__USE_XOPEN2K].
7858         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
7859         variable.
7860         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7861         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7862         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7864 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7865             Segher Boessenkool  <segher@gcc.gnu.org>
7867         [BZ #20004]
7868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
7869         (__novec_swapcontext): Add missing load.
7871 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
7873         [BZ #20023]
7874         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
7875         <time.h>.
7876         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
7877         variable.
7878         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7880 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
7883         flags CLONE_VM compare.
7885 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7887         [BZ #20031]
7888         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
7889         completely empty.
7891 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7893         [BZ #19573]
7894         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
7895         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
7896         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
7897         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
7898         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
7899         (hesiod_free_list): Mark as hidden.
7900         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
7901         res_set, res_get.
7902         * hesiod/hesiod.c: Remove unnecessary forward declarations.
7903         (init, __hesiod_res_get, __hesiod_res_set): Remove.
7904         (hesiod_init): Remove obsolete res_ninit call.
7905         (hesiod_end): Do not free resolver state.  Do not invoke callback.
7906         (hesiod_bind): Do not call init.
7907         (get_txt_records): Use res_mkquery, res_send instead of
7908         res_nmkquery, res_nsend.
7909         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
7910         instead of _nss_hesiod_init.
7911         (_nss_hesiod_initgroups_dyn): Likewise.
7912         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
7913         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
7914         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
7916 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7918         * hesiod/hesiod_p.h (DEF_RHS): Remove.
7919         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
7921 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7923         * hesiod/hesiod.h: Remove RCS keyword.
7924         * hesiod/hesiod_p.h: Likewise.
7926         * hesiod/hesiod.c: Likewise.
7928 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
7930         [BZ #12450]
7931         * locale/iso-639.def: Add Samogitian/sgs.
7933 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
7935         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
7937         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
7939 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
7940             Carlos O'Donell  <carlos@redhat.com>
7942         [BZ #19072]
7943         * grp/Makefile (headers): Add grp-merge.h
7944         (routines): Add grp-merge.
7945         * grp/getgrgid_r.c: Include grp-merge.h.
7946         (DEEPCOPY_FN): Define.
7947         (MERGE_FN): Define.
7948         * grp/getgrname_r.c: Include grp-merge.h.
7949         (DEEPCOPY_FN): Define.
7950         (MERGE_FN): Define.
7951         * grp/grp-merge.c: New file.
7952         * grp/grp-merge.h: New file.
7953         * include/grp-merge.h: New file.
7954         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
7955         __copy_grp@GLIBC_PRIVATE.
7956         * manual/nss.texi (Actions in the NSS configuration): Describe
7957         return, continue, and merge.
7958         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
7959         (DEEPCOPY_FN): Define.
7960         (MERGE_FN): Define.
7961         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
7962         (DEEPCOPY_FN): Define.
7963         (MERGE_FN): Define.
7964         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
7965         [!MERGE_FN]: Define __merge_einval.
7966         (CHECK_MERGE): Define.
7967         (REENTRANT_NAME): Process merge if do_merge is true.
7968         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
7969         (__nss_getent_r): Likewise.
7970         * nss/nsswitch.c (nss_parse_service_list): Likewise.
7971         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
7973 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7975         [BZ #20012]
7976         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
7977         length to calculate the buffer to read.
7978         (fmemopen_write): Set the buffer position based on bytes written.
7979         (fmemopen_seek): Return EINVAL for invalid whence modes.
7981         [BZ #19957]
7982         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
7983         tst-getpid2.
7984         (test): Add tst-clone2.
7985         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
7986         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
7987         pid/tid fields for CLONE_VM.
7988         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7989         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7990         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7991         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
7992         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7993         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7994         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7995         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7997         Likewise.
7998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7999         Likewise.
8000         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8001         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8002         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8003         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8004         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8005         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8006         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8007         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
8009 2016-04-29  Florian Weimer  <fweimer@redhat.com>
8011         [BZ #19642]
8012         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
8013         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
8014         (gni_serv_local, gni_serv): New functions extracted from
8015         getnameinfo.
8016         (getnameinfo): Call gni_host and gni_serv to perform the
8017         processing.  Always free scratch buffer.
8019 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8021         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
8022         remaining bytes in the dest string, with zeros.
8024 2016-04-29  Florian Weimer  <fweimer@redhat.com>
8026         [BZ #20010]
8027         CVE-2016-3706
8028         * sysdeps/posix/getaddrinfo.c
8029         (convert_hostent_to_gaih_addrtuple): New function.
8030         (gethosts): Call convert_hostent_to_gaih_addrtuple.
8031         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
8032         AF_INET data.
8034 2016-04-29  Florian Weimer  <fweimer@redhat.com>
8036         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
8037         callback function gl_readdir.
8038         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
8039         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
8040         (glob_in_dir): Remove len.  Use strdup instead of malloc and
8041         memcpy to copy the name.
8042         * manual/pattern.texi (Calling Glob): Document requirements for
8043         implementations of the gl_readdir callback function.
8044         * manual/examples/mkdirent.c: New example.
8045         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
8046         per the manual guidance.
8047         * posix/tst-gnuglob.c (my_readdir): Likewise.
8049 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
8051         [BZ #20014]
8052         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
8053         not [__USE_POSIX].
8054         (getchar_unlocked): Likewise.
8055         (putc_unlocked): Likewise.
8056         (putchar_unlocked): Likewise.
8057         (flockfile): Likewise.
8058         (ftrylockfile): Likewise.
8059         (funlockfile): Likewise.
8060         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
8061         variable.
8062         (test-xfail-XPG4/stdio.h/conform): Likewise.
8064         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
8065         Expect constant.
8066         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
8067         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
8068         variable.
8069         (test-xfail-XPG4/langinfo.h/conform): Likewise.
8070         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8072         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
8073         [__USE_LARGEFILE64] (off64_t): Likewise.
8074         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
8075         variable.
8077 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8079         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
8081 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8083         * resolv/inet_addr.c: Reindent preprocessor conditionals.
8084         * resolv/res_init.c: Likewise.
8085         * resolv/res_mkquery.c: Likewise.
8087 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8089         * resolv/res_init.c (isascii): Do not define.  Use definition in
8090         <ctype.h>.
8091         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
8092         (LOG_AUTH): Remove.
8093         (SPRINTF): Remove, adjust caller.
8094         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
8096 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8098         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
8099         SUNSECURITY conditional.
8100         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
8102 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8104         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
8105         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
8106         Remove BSD-related preprocessor conditionals.
8107         * conf/portability.h: Remove.
8109 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8111         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
8112         * resolv/res_data.c: Likewise.
8114 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8116         * resolv/res_comp.c: Remove code conditional on __ultrix__.
8117         * resolv/res_data.c: Remove code conditional on ultrix.
8119 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8121         * resolv/res_init.c (RFC1535): Do not define.  Remove
8122         RFC1535 preprocessor conditionals.
8123         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
8124         because there configuration options which make the resolver
8125         behavior different.
8127 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8129         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
8130         RESOLVSORT preprocessor conditionals.
8131         * resolv/nss_dns/dns-host.c: Likewise.
8132         * resolv/res_init.c: Likewise.
8134 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8136         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
8137         is never defined.
8139 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8141         * inet/inet_lnaof.c: Remove SCSS keyword.
8142         * inet/inet_mkadr.c: Likewise.
8143         * inet/inet_net.c: Likewise.
8144         * inet/inet_netof.c: Likewise.
8145         * inet/rcmd.c: Likewise.
8146         * inet/rexec.c: Likewise.
8147         * inet/ruserpass.c: Likewise.
8149 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8151         * resolv/inet_addr.c: Remove _LIBC conditionals.
8152         * resolv/res_data.c: Likewise.
8153         * resolv/res_init.c: Likewise.
8154         * resolv/res_mkquery.c: Likewise.
8155         * resolv/res_libc.c: Update comment.
8156         * resolv/README: Update.
8158 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8160         * resolv/gethnamaddr.c: Remove SCSS keyword.
8161         * resolv/herror.c: Likewise.
8162         * resolv/inet_addr.c: Likewise.
8163         * resolv/inet_net_ntop.c: Likewise.
8164         * resolv/inet_net_pton.c: Likewise.
8165         * resolv/inet_neta.c: Likewise.
8166         * resolv/inet_ntop.c: Likewise.
8167         * resolv/inet_pton.c: Likewise.
8168         * resolv/ns_date.c: Remove RCS keyword.
8169         * resolv/ns_name.c: Likewise.
8170         * resolv/ns_netint.c: Likewise.
8171         * resolv/ns_parse.c: Likewise.
8172         * resolv/ns_print.c: Likewise.
8173         * resolv/ns_samedomain.c: Likewise.
8174         * resolv/ns_ttl.c: Likewise.
8175         * resolv/nsap_addr.c: Likewise.
8176         * resolv/res_comp.c: Remove SCSS and RCS keyword.
8177         * resolv/res_data.c: Remove RCS keyword.
8178         * resolv/res_debug.c: Remove SCSS and RCS keyword.
8179         * resolv/res_init.c: Likewise.
8180         * resolv/res_mkquery.c: Likewise.
8181         * resolv/res_query.c: Likewise.
8182         * resolv/res_send.c: Likewise.
8184 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
8186         * conform/data/stdio.h-data (fdopen): Expect also for
8187         [XPG3 || XPG4].
8189         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
8190         (fseeko): Likewise.
8191         (ftello): Likewise.
8192         (ftrylockfile): Likewise.
8193         (funlockfile): Likewise.
8194         (getc_unlocked): Likewise.
8195         (getchar_unlocked): Likewise.
8196         (putc_unlocked): Likewise.
8197         (putchar_unlocked): Likewise.
8199 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8201         [BZ #19868]
8202         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
8203         DNS packet syntax checks (which were not needed before).  Skip
8204         over non-PTR records.
8206 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8208         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
8209         definition.  Include <stddef.h> instead.
8211 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8213         [BZ #19831]
8214         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
8215         function.
8216         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
8217         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
8219 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8221         [BZ #19862]
8222         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
8223         (getanswer_r): Do not call syslog.
8224         (gaih_getanswer_slice): Likewise.
8225         * resolv/gethnamaddr.c (AskedForGot): Remove.
8226         (getanswer): Do not call syslog.
8227         (gethostbyaddr): Likewise.
8229 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
8231         * conform/data/signal.h-data (union sigval): Expect also if
8232         [XOPEN2K].
8233         (struct sigevent): Likewise.
8234         (SIGEV_NONE): Likewise.
8235         (SIGEV_SIGNAL): Likewise.
8236         (SIGEV_THREAD): Likewise.
8237         (SIGRTMIN): Likewise.
8238         (SIGRTMAX): Likewise.
8239         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
8240         variable.
8241         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8243 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8245         [BZ #19830]
8246         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
8247         (gaih_getanswer_slice): Likewise.
8248         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
8249         Also check for availability of RR metadata.
8251 2016-04-27  Florian Weimer  <fweimer@redhat.com>
8253         [BZ #19825]
8254         * resolv/res_send.c (send_vc): Remove early *resplen2
8255         initialization.  Set *resplen2 on socket error.  Call
8256         close_and_return_error for other errors.
8258 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
8260         * sysdeps/unix/sysv/linux/netiucv/iucv.h
8261         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
8262         (SCM_IUCV_TRGCLS): New define.
8264 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8266         [BZ #20005]
8267         * libio/fmemopen.c (fmemopen_write): Update internal position after
8268         write.
8269         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
8270         * stdio-common/tst-fmemopen4.c: New file..
8272 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
8274         [BZ #19996]
8275         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
8276         not [__USE_XOPEN2K].
8277         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
8278         variable.
8280         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
8281         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
8282         variable.
8284         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
8285         [__USE_XOPEN2K8].
8286         [__USE_LARGEFILE64] (off64_t): Likewise.
8287         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
8288         variable.
8290 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
8292         [BZ #19989]
8293         * libio/stdio.h (cuserid): Do not declare if
8294         [__USE_XOPEN2K && !__USE_GNU].
8295         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
8296         variable.
8298 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8300         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8301         (sysdep_routines): Add P8 and PPC64 strcspn targets.
8302         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8303         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
8304         ifunc'ed strcspn.
8305         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
8306         [EALIGN]: Removed.
8307         [END]: Likewise
8308         [STRSPN]: Define instead of the above to control symbol name.
8309         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
8310         New file.
8311         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
8312         Likewise.
8313         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
8314         Likewise.
8315         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
8316         Likewise.
8317         * sysdeps/powerpc/powerpc64/power8/strspn.S:
8318         [INITIAL_MASK]: New macro.
8319         [STRCSPN]: Likewise.
8320         [UPDATE_MASK]: Likewise.
8321         [USE_AS_STRCSPN]: Lisewise.
8323 2016-04-25  Florian Weimer  <fweimer@redhat.com>
8325         [BZ #19931]
8326         * stdio-common/tst-vfprintf-width-prec.c: New file.
8327         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
8328         (tests-special): Add tst-vfprintf-width-prec-mem.out.
8329         (generated): Add mtrace-related files.
8330         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
8331         (tst-%-mem.out): New pattern rule, replaces
8332         tst-printf-bz18872-mem.out.
8333         * stdio-common/vfprintf.c (vfprintf): When handling a precision
8334         specifier, deallocate any previously allocated work buffer.
8336 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
8338         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
8339         Add nop before __startcontext, add explaining comments.
8341 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
8343         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
8344         any more. Notably since IPV6_PKTINFO has been reintroduced with a
8345         completely different API.
8347         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
8348         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
8349         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
8350         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
8351         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
8352         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
8353         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
8354         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
8355         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
8356         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
8358 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
8360         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
8362 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
8364         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
8365         when it is the default of 0.
8367 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8369         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
8370         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8371         (sysdep_routines): Add new strcasestr targets.
8372         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8373         (__libc_ifunc_impl_list): Likewise.
8374         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
8375         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
8376         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
8377         * sysdeps/powerpc/powerpc64/power8/Makefile:
8378         New file to add strcasestr-ppc64 to sysdep_routines.
8379         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
8380         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
8382 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
8384         * benchtests/Makefile (wcsmbs-benchset): Include only for
8385         native builds and runs.
8386         (LOCALES): Likewise.
8387         (bench-build): Build timing-type here instead of the bench
8388         target.  Generate locale only for native builds.
8389         * benchtests/README: Add note for cross-building.
8391         * benchtests/Makefile (bench-clean): Clean up extra-objs.
8393         * benchtests/README: Update README to include instructions on
8394         using bench-build.
8396         * Makefile.in (bench-build): New target.
8397         * Rules (PHONY): Add bench-build target.
8398         * benchtests/Makefile (bench): Depend on bench-build.
8399         (bench-build): New target.
8401 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8403         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
8404         profil_reply_port.
8405         (profile_waiter): Do not initialize profil_reply_port.
8406         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
8407         frequency instead of tick length in us.
8409 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
8411         [BZ #18712]
8412         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
8413         (__old_mempcpy_small): Likewise.
8414         (__old_strcpy_small): Likewise.
8415         (__old_stpcpy_small): Likewise.
8416         (__old_strpbrk_c2): Fix compat symbol name.
8417         (__old_strpbrk_c3): Likewise.
8418         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
8419         (__mempcpy_small): Remove.
8420         (__strcpy_small): Remove.
8421         (__stpcpy_small): Remove.
8423 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
8425         [BZ #19400]
8426         * locale/iso-639.def: Add the Talossan/tzl language.
8428 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
8430         [BZ #16983]
8431         * locale/programs/ld-address.c (address_finish): Update postal_fmt
8432         comment.  Add "ln" to strchr check on postal_fmt.
8434 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
8436         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
8437         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
8438         tel_dom_fmt.
8440 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8442         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8443         (sysdep_routines): Added __strlen_power8.
8444         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
8445         __strlen_power8 entry.
8446         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
8447         Implementation for POWER8.
8448         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
8449         for __strlen_power8.
8450         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
8451         Implementation for POWER8.
8453 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
8455         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
8457 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
8459         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
8460         Goldmont and Airmont processors.
8462 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
8464         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
8465         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
8466         (__STRING2_SMALL_GET32): Remove.
8467         (memset): Remove.
8468         (__memset_1): Remove.
8469         (__memset_gc): Remove.
8470         (__mempcpy): Remove.
8471         (mempcpy): Remove.
8472         (__mempcpy_args): Remove.
8473         (strchr): Remove.
8474         (strcpy): Remove.
8475         (strcpy_args): Remove.
8476         (__stpcpy_args): Remove.
8477         (__strcmp_cc): Remove.
8478         (__strcmp_gc): Remove.
8479         (strstr): Remove.
8481 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
8483         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
8484         * nis/nis_call.c (nis_server_cache_add): Likewise.
8486 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8488         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
8490 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8492         * malloc/arena.c (__malloc_fork_lock_parent)
8493         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
8494         internal_function attribute.
8496 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
8498         * stdio-common/printf_fp.c (__printf_fp_l):
8499         Rename ___printf_fp_l to __printf_fp_l and
8500         remove strong alias. Use libc_hidden_def instead
8501         of ldbl_hidden_def macro.
8503 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8505         Remove malloc hooks from fork handler.  They are no longer needed
8506         because malloc runs right before fork, and no malloc calls from
8507         other fork handlers are not possible anymore.
8508         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
8509         declarations.
8510         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
8511         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
8512         (atfork_recursive_cntr): Remove.
8513         (__malloc_fork_lock_parent): Do not override malloc hooks and
8514         thread_arena.
8515         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
8516         thread_arena.
8517         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
8518         thread_arena instead of save_arena.
8520 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8522         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
8523         (thread_atfork, thread_atfork_static): Remove.
8524         * sysdeps/mach/hurd/malloc-machine.h:
8525         (thread_atfork, thread_atfork_static): Remove.
8527 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8529         [BZ #19431]
8530         Run the malloc fork handler as late as possible to avoid deadlocks.
8531         * malloc/malloc-internal.h: New file.
8532         * malloc/malloc.c: Include it.
8533         * malloc/arena.c (ATFORK_MEM): Remove.
8534         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
8535         Update comment.
8536         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
8537         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
8538         Remove outdated comment.
8539         (ptmalloc_init): Do not call thread_atfork.  Remove
8540         thread_atfork_static.
8541         * malloc/tst-malloc-fork-deadlock.c: New file.
8542         * Makefile (tests): Add tst-malloc-fork-deadlock.
8543         (tst-malloc-fork-deadlock): Link against libpthread.
8544         * manual/memory.texi (Aligned Memory Blocks): Update safety
8545         annotation comments.
8546         * sysdeps/nptl/fork.c (__libc_fork): Call
8547         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
8548         __malloc_fork_unlock_child.
8549         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
8551 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8553         [BZ #19613]
8554         Remove union wait.
8555         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
8556         (w_stopsig, w_stopval): Remove.
8557         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
8558         stat_loc argument.
8559         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
8560         (__WAIT_STATUS_DEFN): Remove.
8561         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
8562         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
8563         (wait, wait3, wait4): Use int * for the stat_loc argument.
8564         * posix/wait.c (__wait): Likewise.
8565         * posix/wait3.c (__wait3): Likewise.
8566         * posix/wait4.c (__wait4): Likewise.
8567         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
8568         (__WAIT_STATUS_DEFN): Remove.
8569         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
8570         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
8571         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
8572         argument.
8573         * sysdeps/posix/wait.c (__libc_wait): Likewise.
8574         * sysdeps/posix/wait3.c (__wait3): Likewise.
8575         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
8576         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
8577         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
8578         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
8579         stat_loc argument.
8580         * manual/process.texi (BSD Wait Functions): Remove union wait.
8582 2016-04-13  Andreas Schwab  <schwab@suse.de>
8584         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
8585         (test-extras): Add tst-tlsalign-vars.
8586         * math/Makefile: Wrap long lines.
8587         (libm-vec-test-wrappers): Define.
8588         (test-extras): Add $(libm-vec-test-wrappers).
8589         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
8590         * nss/Makefile (extra-test-objs): Add nss_test1.os.
8591         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
8592         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
8593         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
8594         (extra-test-objs): Add corresponding objects.
8596 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
8598         [BZ #19928]
8599         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
8600         New.
8601         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
8602         times of shared cache size.
8603         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
8604         (VMOVNT): New.
8605         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
8606         (VMOVNT): Likewise.
8607         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
8608         (VMOVNT): Likewise.
8609         (VMOVU): Changed to movups for smaller code sizes.
8610         (VMOVA): Changed to movaps for smaller code sizes.
8611         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
8612         comments.
8613         (PREFETCH): New.
8614         (PREFETCH_SIZE): Likewise.
8615         (PREFETCHED_LOAD_SIZE): Likewise.
8616         (PREFETCH_ONE_SET): Likewise.
8617         Rewrite to use forward and backward loops, which move 4 vector
8618         registers at a time, to support overlapping addresses and use
8619         non temporal store if size is above the threshold and there is
8620         no overlap between destination and source.
8622 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
8624         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
8625         Include dl-vdso.
8626         * sysdeps/unix/sysv/linux/mips/Versions: Add
8627         __vdso_clock_gettime.
8628         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
8629         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
8630         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
8631         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
8632         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
8633         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8634         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8635         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
8636         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
8638 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8640         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
8641         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
8642         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8643         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8644         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8645         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8648         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
8649         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
8650         syscalls generation.
8651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8652         [__NR_pwrite64] (__NR_write): Remove define.
8653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8654         [__NR_pwrite64] (__NR_write): Remove define.
8655         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
8656         Remove define.
8657         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
8658         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
8659         Remove define.
8660         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
8661         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
8662         Linux implementation as base.
8663         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8665         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
8666         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
8667         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8668         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
8670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8671         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
8672         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
8673         syscall generation.
8674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8675         [__NR_pread64] (__NR_pread): Remove define.
8676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8677         [__NR_pread64] (__NR_pread): Likewise.
8678         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
8679         define.
8680         (__libc_pread): Use SYSCALL_LL macro on offset argument.
8681         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
8682         Remove define.
8683         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
8684         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
8685         Linux implementation as base.
8686         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8687         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8688         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8690         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
8691         definition.
8692         (__ALIGNMENT_COUNT): Likewise.
8693         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
8694         (__ALIGNMENT_COUNT): Likewise.
8695         (SYSCALL_LL): New define.
8696         (SYSCALL_LL64): Likewise.
8697         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
8698         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
8699         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
8700         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
8702         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8703         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
8704         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8705         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
8706         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8707         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
8709 2016-04-11  Florian Weimer  <fweimer@redhat.com>
8711         [BZ #19865]
8712         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
8713         original buffer before retry.
8715 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8717         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
8718         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
8719         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
8720         GLRO(dl_auxv) list.
8721         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
8722         including <ldsodefs.h>.
8723         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
8725 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
8727         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
8728         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
8729         $(CPPFLAGS).
8731 2016-04-09  Khem Raj  <raj.khem@gmail.com>
8733         [BZ #17950]
8734         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
8735         Add -mfpmath=387.
8737 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
8739         * sysdeps/i386/configure.ac: Change == to = when calling test.
8740         * sysdeps/x86_64/configure.ac: Likewise.
8741         * sysdeps/i386/configure: Regenerated.
8742         * sysdeps/x86_64/configure: Likewise.
8744 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
8746         [BZ #16137]
8747         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
8748         * benchtests/bench-strcoll.c (input_files): Likewise.
8749         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
8750         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
8751         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
8753 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
8755         [BZ #19929]
8756         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
8757         [__USE_XOPEN2K8 && !__USE_GNU].
8758         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
8759         variable.
8761         [BZ #19925]
8762         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
8763         define if [!__USE_MISC && __USE_XOPEN2K].
8764         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
8765         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
8766         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
8767         Likewise.
8768         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
8769         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
8770         variable.
8771         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8773 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8775         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8776         (sysdep_routines): Add new strspn targets.
8777         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8778         (__libc_ifunc_impl_list): Add strspn.
8779         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
8780         New file.
8781         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
8782         Likewise.
8783         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
8784         Likewise.
8785         * sysdeps/powerpc/powerpc64/power8/strspn.S:
8786         Likewise.
8788 2016-04-07  Florian Weimer  <fweimer@redhat.com>
8790         * misc/hsearch_r.c: Include <limits.h>.
8792 2016-04-07  Florian Weimer  <fweimer@redhat.com>
8794         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
8796 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
8798         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8799         (MEMCPY_SYMBOL): New.
8800         (MEMPCPY_SYMBOL): Likewise.
8801         (MEMMOVE_CHK_SYMBOL): Likewise.
8802         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
8803         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
8804         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
8805         Provide alias for memcpy in libc.a and ld.so.
8807 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
8809         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8810         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
8811         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
8812         Disabled fro now.
8813         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
8814         symbols.  Properly check USE_MULTIARCH on __memset symbols.
8816 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
8818         * benchtests/Makefile (string-benchset): Add memcpy-large,
8819         memmove-large and memset-large.
8820         * benchtests/bench-memcpy-large.c: New file.
8821         * benchtests/bench-memmove-large.c: Likewise.
8822         * benchtests/bench-memmove-large.c: Likewise.
8823         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
8825 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
8827         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
8828         32-bit displacement to avoid long nop between instructions.
8830 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
8832         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
8833         a comment on VMOVU and VMOVA.
8835 2016-04-04  Florian Weimer  <fweimer@redhat.com>
8837         [BZ #19633]
8838         Use specified locale for number formatting in strfmon_l.
8839         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
8840         (__nl_lookup_word): New inline functions.
8841         * include/printf.h (__print_fp_l): Declare.
8842         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
8843         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
8844         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
8845         (___printf_fp): New function.
8846         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
8847         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
8848         * stdlib/tst-strfmon_l.c (do_test): New test.
8849         * stdlib/Makefile (tests): Add kt.
8850         (LOCALES): Build additional locales.
8851         (tst-strfmon_l.out): Require locales.
8853 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
8855         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
8856         if not in libc.
8857         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8858         Likewise.
8859         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
8860         Likewise.
8861         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8862         Likewise.
8864 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
8866         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
8867         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
8868         with unaligned_erms.
8869         (__memmove_erms): Skip if source == destination.
8870         (__memmove_unaligned_erms): Don't check source == destination
8871         first.
8873 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8875         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
8876         bit_arch_Fast_Copy_Backward for Intel Core proessors.
8878 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8880         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
8881         * string/strspn.c (strspn): Likewise.
8883 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8885         * benchtests/bench-memset.c (do_test): Support 64-byte
8886         alignment.
8887         (test_main): Test 64-byte alignment.
8889 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8891         * benchtests/bench-memmove.c (test_main): Test 64-byte
8892         alignment.
8894 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8896         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
8898 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8900         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
8901         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
8902         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
8904         * string/strpbrk.c (strpbrk): Rewrite function.
8905         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
8906         (__strpbrk_c2): Likewise.
8907         (__strpbrk_c3): Likewise.
8908         * string/string-inlines.c
8909         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
8910         Likewise.
8911         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
8912         Likewise.
8914         * string/strspn.c (strcspn): Rewrite function.
8915         * string/bits/string2.h (strspn): Use __builtin_strcspn.
8916         (__strspn_c1): Remove inline function.
8917         (__strspn_c2): Likewise.
8918         (__strspn_c3): Likewise.
8919         * string/string-inlines.c
8920         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
8921         compatibility symbol.
8922         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
8923         Likewise.
8924         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
8925         Likewise.
8926         * string/string-inlines.c: Include generic version.
8928 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
8929             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8931         * string/Version (libc): Add GLIBC_2.24.
8932         * string/strcspn.c (strcspn): Rewrite function.
8933         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
8934         (__strcspn_c1): Remove inline function.
8935         (__strcspn_c2): Likewise.
8936         (__strcspn_c3): Likewise.
8937         * string/string-inline.c
8938         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
8939         compatibility symbol.
8940         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
8941         Likewise.
8942         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
8943         Likewise.
8944         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
8946 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8948         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8949         Use ahi instead of aghi to adjust stack pointer.
8951 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8953         [BZ #19853]
8954         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
8955         TEST to take significant digits as second parameter.
8956         [TEST]: Redefine in terms of TEST_N taking 30
8957         significant digits.
8958         (do_test): Add test case to demonstrate precision
8959         failure in the ldbl-128ibm printf.
8960         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
8961         (__mpn_extract_long_double): Carry 7 extra intermediate
8962         bits of precision to aide computing difference when
8963         signs differ.
8965 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
8967         [BZ #19881]
8968         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8969         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
8970         memset-avx512-unaligned-erms.
8971         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8972         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
8973         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
8974         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
8975         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
8976         __memset_sse2_unaligned_erms, __memset_erms,
8977         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
8978         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
8979         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
8980         file.
8981         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8982         Likewise.
8983         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
8984         Likewise.
8985         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
8986         Likewise.
8988 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
8990         [BZ #19776]
8991         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8992         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
8993         memmove-avx512-unaligned-erms.
8994         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8995         (__libc_ifunc_impl_list): Test
8996         __memmove_chk_avx512_unaligned_2,
8997         __memmove_chk_avx512_unaligned_erms,
8998         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
8999         __memmove_chk_sse2_unaligned_2,
9000         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
9001         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
9002         __memmove_avx512_unaligned_erms, __memmove_erms,
9003         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
9004         __memcpy_chk_avx512_unaligned_2,
9005         __memcpy_chk_avx512_unaligned_erms,
9006         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
9007         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
9008         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
9009         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
9010         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
9011         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
9012         __mempcpy_chk_avx512_unaligned_erms,
9013         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
9014         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
9015         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
9016         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
9017         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
9018         __mempcpy_erms.
9019         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
9020         file.
9021         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
9022         Likwise.
9023         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9024         Likwise.
9025         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
9026         Likwise.
9028 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9030         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
9031         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
9032         (La_s390_64_regs): Likewise.
9033         (La_s390_32_retval): Append vector register lrv_v24.
9034         (La_s390_64_retval): Likeweise.
9035         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9036         Handle extended structs La_s390_32_regs and La_s390_32_retval.
9037         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9038         Handle extended structs La_s390_64_regs and La_s390_64_retval.
9040 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9042         [BZ #19916]
9043         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
9044         to create a non-vector/vector version for _dl_runtime_resolve and
9045         _dl_runtime_profile. Move implementation to ...
9046         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
9047         (_dl_runtime_resolve) Save and restore fpr/vrs.
9048         (_dl_runtime_profile) Save and restore vrs and fix some issues
9049         if _dl_call_pltexit is called.
9050         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
9051         Choose the correct resolver function if running on a machine with vx.
9052         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
9053         to create a non-vector/vector version for _dl_runtime_resolve and
9054         _dl_runtime_profile. Move implementation to ...
9055         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
9056         (_dl_runtime_resolve) Save and restore fpr/vrs.
9057         (_dl_runtime_profile) Save and restore vrs and fix some issues
9058         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
9059         Choose the correct resolver function if running on a machine with vx.
9061 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9063         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
9065 2016-03-31  Florian Weimer  <fweimer@redhat.com>
9067         [BZ #19509]
9068         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
9069         skip_map != NULL.
9070         * elf/tst-dlsym-error.c: New file.
9071         * elf/Makefile (tests): Add tst-dlsym-error.
9072         (tst-dlsym-error): Link against libdl.
9074 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
9076         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9077         (__ASSUME_FUTIMESAT): Remove macro.
9078         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
9080 2016-03-29  Florian Weimer  <fweimer@redhat.com>
9082         [BZ #19879]
9083         CVE-2016-3075
9084         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
9085         copy name.
9087 2016-03-29  Florian Weimer  <fweimer@redhat.com>
9089         [BZ #19837]
9090         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
9091         error if parse_line fails.
9093 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9095         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
9096         (index_cpu_ERMS): Likewise.
9097         (reg_ERMS): Likewise.
9099 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
9101         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
9102         PER_LINUX_FDPIC): Add.
9104 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9106         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9107         memcpy-avx512-no-vzeroupper.
9108         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
9109         to ...
9110         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
9111         (MEMCPY): Don't define.
9112         (MEMCPY_CHK): Likewise.
9113         (MEMPCPY): Likewise.
9114         (MEMPCPY_CHK): Likewise.
9115         (MEMPCPY_CHK): Renamed to ...
9116         (__mempcpy_chk_avx512_no_vzeroupper): This.
9117         (MEMPCPY_CHK): Renamed to ...
9118         (__mempcpy_chk_avx512_no_vzeroupper): This.
9119         (MEMCPY_CHK): Renamed to ...
9120         (__memmove_chk_avx512_no_vzeroupper): This.
9121         (MEMCPY): Renamed to ...
9122         (__memmove_avx512_no_vzeroupper): This.
9123         (__memcpy_avx512_no_vzeroupper): New alias.
9124         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
9126 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9128         [BZ #18858]
9129         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9130         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
9131         and mempcpy-avx512-no-vzeroupper.
9132         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
9133         New.
9134         (MEMPCPY): Likewise.
9135         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
9136         (MEMPCPY_CHK): New.
9137         (MEMPCPY): Likewise.
9138         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
9139         (MEMPCPY): Likewise.
9140         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
9141         (MEMPCPY): Likewise.
9142         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
9143         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
9144         Likewise.
9145         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
9146         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
9148 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9149              Amit Pawar  <Amit.Pawar@amd.com>
9151         [BZ #19583]
9152         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
9153         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
9154         processors.  Set Fast_Copy_Backward for AMD Excavator
9155         processors.
9156         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
9157         New.
9158         (index_arch_Fast_Unaligned_Copy): Likewise.
9159         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
9160         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
9162 2016-03-25  Florian Weimer  <fweimer@redhat.com>
9164         [BZ #19791]
9165         * resolv/res_send.c (close_and_return_error): New function.
9166         (send_dg): Initialize *resplen2 after reopen failure.  Call
9167         close_and_return_error for error returns.  On error paths without
9168         __res_iclose, initialze *resplen2 explicitly.  Update comment for
9169         successful return.
9171 2016-03-25  Florian Weimer  <fweimer@redhat.com>
9173         [BZ# 19860]
9174         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
9175         zero if the compiler does not provide the AVX512F bit.
9177 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
9179         [BZ #19848]
9180         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
9181         from 8 to 4.
9182         (__ieee754_powl): Compare integer exponent against 4 not 8.
9183         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
9184         from 8 to 4.
9185         (__ieee754_powl): Compare integer exponent against 4 not 8.
9186         * math/auto-libm-test-in: Add more tests of pow.
9187         * math/auto-libm-test-out: Regenerated.
9188         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
9189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9191 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
9193         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
9194         Make code unconditional.
9195         [!__NR_utimensat]: Remove conditional code.
9196         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
9197         Make code unconditional.
9198         [!__NR_utimensat]: Remove conditional code.
9199         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
9200         Make code unconditional.
9201         [!__NR_utimensat]: Remove conditional code.
9203 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
9205         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
9206         Make code unconditional.
9208 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
9210         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
9211         call-clobbered %eax on retry path.
9212         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
9214 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
9216         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
9217         Don't set %rcx twice before "rep movsb".
9219 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
9221         [BZ #19583]
9222         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
9223         inline.  Check family before setting family, model and
9224         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
9225         bits here.
9226         (init_cpu_features): Replace HAS_CPU_FEATURE and
9227         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
9228         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
9229         for Intel processors with usable AVX2.  Call get_common_indeces
9230         for other processors with family == NULL.
9231         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
9232         (CPU_FEATURES_ARCH_P): Likewise.
9233         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
9234         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
9236 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9238         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
9239         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
9240         $(shared-thread-library) instead of hardcoding the path to libpthread.
9242 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
9244         * sysdeps/unix/sysv/linux/kernel-features.h
9245         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
9246         * sysdeps/unix/sysv/linux/getdents.c
9247         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
9248         [!have_no_getdents64_defined]: Likewise.
9249         (__GETDENTS): Remove __have_no_getdents64 conditional.
9251 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
9253         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
9254         Remove macro.
9255         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
9256         <kernel-features.h>.
9257         (signalfd) [__NR_signalfd4]: Make code unconditional.
9258         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
9260 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9262         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
9263         style.
9265 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
9267         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
9268         (__pthread_enable_asynccancel): Use JUMPTARGET to call
9269         __pthread_unwind.
9270         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
9271         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
9272         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
9273         (__condvar_cleanup1): Likewise.
9275 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
9277         [BZ #19822]
9278         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
9279         move it to the final $@ location.
9281 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9283         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
9284         access where posix_spawn success and pid argument is null.
9285         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
9286         success case.
9288 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
9290         * sysdeps/mach/hurd/i386/c++-types.data: New file.
9292         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
9294         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
9295         and __fcntl.
9296         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
9297         __fcntl only.
9298         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
9299         adding attribute_hidden to __open and __fcntl.
9301         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
9302         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
9303         depend on libc-modules.h,
9304         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
9306 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
9308         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
9309         Remove macro.
9310         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
9311         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
9312         entry.
9314         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
9315         Remove macro.
9316         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
9317         include <kernel-features.h>.
9318         [!__ASSUME_FALLOCATE]: Remove conditional code.
9319         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
9321 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
9323         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
9324         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
9325         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
9326         (_ZGVdN4v_cos_avx2): Likewise.
9327         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
9328         (_ZGVdN4v_cos): Likewise.
9329         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
9330         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
9331         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
9332         (_ZGVdN4v_exp_avx2): Likewise.
9333         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
9334         (_ZGVdN4v_exp): Likewise.
9335         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
9336         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
9337         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
9338         (_ZGVdN4v_log_avx2): Likewise.
9339         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
9340         (_ZGVdN4v_log): Likewise.
9341         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
9342         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
9343         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
9344         (_ZGVdN4vv_pow_avx2): Likewise.
9345         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
9346         (_ZGVdN4vv_pow): Likewise.
9347         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
9348         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
9349         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
9350         (_ZGVdN4v_sin_avx2): Likewise.
9351         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
9352         (_ZGVdN4v_sin): Likewise.
9353         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
9354         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
9355         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
9356         (_ZGVdN4vvv_sincos_avx2): Likewise.
9357         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
9358         (_ZGVdN4vvv_sincos): Likewise.
9359         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
9360         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
9361         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
9362         (_ZGVbN4v_cosf_sse4): Likewise.
9363         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
9364         (_ZGVdN8v_cosf_avx2): Likewise.
9365         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
9366         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
9367         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
9368         (_ZGVbN4v_expf_sse4): Likewise.
9369         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
9370         (_ZGVdN8v_expf_avx2): Likewise.
9371         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
9372         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
9373         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
9374         (_ZGVbN4v_logf_sse4): Likewise.
9375         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
9376         (_ZGVdN8v_logf_avx2): Likewise.
9377         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
9378         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
9379         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
9380         (_ZGVbN4vv_powf_sse4): Likewise.
9381         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
9382         (_ZGVdN8vv_powf_avx2): Likewise.
9383         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
9384         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
9385         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
9386         (_ZGVbN4vvv_sincosf_sse4): Likewise.
9387         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
9388         (_ZGVdN8vvv_sincosf_avx2): Likewise.
9389         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
9390         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
9391         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
9392         (_ZGVbN4v_sinf_sse4): Likewise.
9393         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
9394         (_ZGVdN8v_sinf_avx2): Likewise.
9395         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
9396         Use JUMPTARGET to call callee.
9397         (WRAPPER_IMPL_SSE2_ff): Likewise.
9398         (WRAPPER_IMPL_SSE2_fFF): Likewise.
9399         (WRAPPER_IMPL_AVX): Likewise.
9400         (WRAPPER_IMPL_AVX_ff): Likewise.
9401         (WRAPPER_IMPL_AVX_fFF): Likewise.
9402         (WRAPPER_IMPL_AVX512): Likewise.
9403         (WRAPPER_IMPL_AVX512_ff): Likewise.
9404         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
9405         Likewise.
9406         (WRAPPER_IMPL_SSE2_ff): Likewise.
9407         (WRAPPER_IMPL_SSE2_fFF): Likewise.
9408         (WRAPPER_IMPL_AVX): Likewise.
9409         (WRAPPER_IMPL_AVX_ff): Likewise.
9410         (WRAPPER_IMPL_AVX_fFF): Likewise.
9411         (WRAPPER_IMPL_AVX512): Likewise.
9412         (WRAPPER_IMPL_AVX512_ff): Likewise.
9413         (WRAPPER_IMPL_AVX512_fFF): Likewise.
9415 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9417         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
9418         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
9419         qualifier.
9420         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
9421         internal_function qualifiers.
9423 2016-03-15  Carlos O'Donell <carlos@redhat.com>
9425         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
9426         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
9427         * math/atest-exp.c (exp_mpn): Mark chk unused.
9428         * math/atest-exp2.c (exp_mpn): Likwise.
9429         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
9430         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
9432 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
9434         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
9435         Remove macro.
9436         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
9437         <kernel-features.h>.
9438         [__NR_ppoll]: Make code unconditional.
9439         [!__ASSUME_PPOLL]: Remove conditional code.
9441         * sysdeps/unix/sysv/linux/kernel-features.h
9442         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
9443         (__ASSUME_ACCEPT4): Likewise.
9444         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9445         Define.
9446         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
9447         Likewise.
9448         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9449         Likewise.
9450         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
9451         Likewise.
9452         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
9453         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
9454         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9455         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9456         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9457         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9458         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9459         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9460         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9461         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9462         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9463         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9464         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9465         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9466         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9467         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9468         Likewise.
9469         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9470         Likewise.
9471         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9472         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9473         0x040300].
9474         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9475         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9476         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9477         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9478         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
9479         0x030300].
9480         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
9481         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9482         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9483         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9484         0x040300].
9485         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9486         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9487         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9488         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9489         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9490         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9491         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
9492         0x030300].
9493         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9494         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9495         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9496         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9497         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9498         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9499         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9500         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9501         * sysdeps/unix/sysv/linux/s390/kernel-features.h
9502         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
9503         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
9504         0x040300].
9505         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9506         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9507         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9508         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9509         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9510         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9511         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9512         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9513         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9514         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9515         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9516         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9517         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9518         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9519         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
9520         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9521         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9522         Likewise.
9523         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9524         Likewise.
9526 2016-03-15  Andreas Schwab  <schwab@suse.de>
9528         [BZ #19257]
9529         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
9530         statp->_u._ext.nscount as loop count.
9532 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
9534         * math/test-signgam-finite-c99.c: Also #undef
9535         __LIBC_INTERNAL_MATH_INLINES.
9536         * math/test-signgam-main.c: Likewise.
9538 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
9540         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
9541         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9542         (MADV_FREE): Likewise.
9543         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
9544         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
9545         EPOLLEXCLUSIVE.
9547 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
9549         * timezone/README: Remove mention of checktab.awk. Mention wiki
9550         SharedSourceFiles.
9552 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
9554         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
9555         WUNTRACED.
9557 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9559         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
9560         order to match the type of p when calling atomic_exchange_acq().
9562 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9564         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
9565         cfi_offset calls.
9566         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
9567         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
9568         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
9569         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
9570         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
9572 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
9574         * timezone/checktab.awk: Removed.
9576 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
9578         * manual/math.texi (Errors in Math Functions): Document relaxed
9579         accuracy goals for IBM long double.
9580         * math/libm-test.inc (test_exceptions): Always allow spurious
9581         "underflow" and "inexact" exceptions for IBM long double.
9583 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
9585         [BZ #19762]
9586         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
9587         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
9588         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
9589         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
9590         (bit_arch_*): This for feature array.
9591         (bit_*): Renamed to ...
9592         (bit_cpu_*): This for cpu array.
9593         (index_*): Renamed to ...
9594         (index_arch_*): This for feature array.
9595         (index_*): Renamed to ...
9596         (index_cpu_*): This for cpu array.
9597         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
9598         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
9599         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
9600         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
9601         bit_##name with index_cpu_##name and bit_cpu_##name.
9602         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
9603         bit_##name with index_arch_##name and bit_arch_##name.
9605 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
9607         [BZ #19792]
9608         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
9609         Terminate FDE before return label.
9611 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
9613         [BZ #19790]
9614         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
9615         (rintl): Define as macro.
9616         [USE_AS_NEARBYINTL] (__rintl): Likewise.
9617         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
9618         of fesetround.  Ensure results are evaluated before end of scope.
9619         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
9620         USE_AS_NEARBYINTL and include s_rintl.c.
9621         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
9622         Disable exception traps in new environment.
9623         (libc_feholdsetround_ppc_ctx): Likewise.
9625 2016-03-08  Roland McGrath  <roland@hack.frob.com>
9627         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
9628         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
9629         (tst_audit10_aux) [__AVX512F__]: ... here.
9631 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
9633         * include/sys/auxv.h: New file.
9635 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
9637         [BZ #19759]
9638         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
9640 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9642         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
9643         operand modifier.
9644         (feclearexcept): Likewise.
9646 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9648         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
9649         to reflect the entire 32-bit HWCAP.
9650         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
9651         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
9653 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
9655         [BZ #19783]
9656         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
9657         $(test-via-rtld-prefix).
9658         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
9660 2016-03-08  Florian Weimer  <fweimer@redhat.com>
9662         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
9663         union wait.  Report any non-zero exit status as error.
9665 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9667         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
9668         configured with --enable-hardcoded-path-in-tests.
9670 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
9672         [BZ #19677]
9673         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
9674         (__ieee754_remainderl): Put zero low parts in canonical form.
9675         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
9676         file.  Based on
9677         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
9678         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
9679         with wrapper round test-fmodrem-ldbl-128ibm.c.
9680         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
9681         file.
9682         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
9683         Likewise.
9684         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
9685         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
9687 2016-03-07  Florian Weimer  <fweimer@redhat.com>
9689         [BZ #19610]
9690         * elf/ldconfig.c (opt_link): Update comment.
9691         (options): Update help string for option -X.
9692         (search_dir): Unlink stale symbolic link only if updating symbolic
9693         links.
9694         * elf/tst-ldconfig-X.sh: New file.
9695         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
9696         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
9698 2016-03-07  Andreas Schwab  <schwab@suse.de>
9700         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
9701         needed arguments.
9703 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
9705         [BZ #15333]
9706         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
9707         to lstat64.
9709 2016-03-07  Florian Weimer  <fweimer@redhat.com>
9711         * libio/filedoalloc.c (isatty): Remove.
9712         (local_isatty): Add comment.  Call __isatty directly.
9713         (_IO_file_doallocate): Update comment.  Assume _LIBC.
9714         * libio/wfiledoalloc.c (isatty): Remove.
9715         (_IO_wfile_doallocate): Update comment.
9717 2016-03-07  Florian Weimer  <fweimer@redhat.com>
9719         [BZ #19269]
9720         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
9721         tst-audit4-aux.o.
9722         (tst-audit10): Depend on tst-audit10-aux.o.
9723         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
9724         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
9725         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
9726         instead of inline AVX code.
9727         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
9728         instead of inline AVX512 code.
9729         * sysdeps/x86_64/tst-audit4-aux.c: New file
9730         * sysdeps/x86_64/tst-audit10-aux.c: New file
9732         [BZ #19648]
9733         * test-skeleton.c (main): Do not set RLIMIT_DATA.
9735 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9737         [BZ #14750]
9738         [BZ #10354]
9739         [BZ #18433]
9740         * include/sched.h (__clone): Add hidden prototype.
9741         (__clone2): Likewise.
9742         * include/unistd.h (__dup): Likewise.
9743         * posix/Makefile (tests): Add tst-spawn2.
9744         * posix/tst-spawn2.c: New file.
9745         * sysdeps/posix/dup.c (__dup): Add hidden definition.
9746         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
9747         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
9748         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
9749         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
9750         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
9751         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
9752         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
9753         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
9754         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
9755         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
9756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
9757         Likewise.
9758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9759         Likewise.
9760         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
9761         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
9762         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
9763         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9764         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
9765         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
9766         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
9767         * sysdeps/unix/sysv/linux/nptl-signals.h
9768         (____nptl_is_internal_signal): New function.
9769         * sysdeps/unix/sysv/linux/spawni.c: New file.
9771         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
9772         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
9773         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
9774         * posix/tst-execvp2.c (do_test): Likewise.
9775         * posix/tst-execvp3.c (do_test): Likewise.
9776         * posix/tst-execvp4.c (do_test): Likewise.
9777         * posix/tst-execvpe1.c: New file.
9778         * posix/tst-execvpe2.c: Likewise.
9779         * posix/tst-execvpe3.c: Likewise.
9780         * posix/tst-execvpe4.c: Likewise.
9781         * posix/tst-execvpe5.c: Likewise.
9782         * posix/tst-execvpe6.c: Likewise.
9784         [BZ #19534]
9785         * posix/execl.c (execl): Remove dynamic memory allocation.
9786         * posix/execle.c (execle): Likewise.
9787         * posix/execlp.c (execlp): Likewise.
9789 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
9791         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
9792         Replace .text with .text.avx512.
9793         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
9794         Likewise.
9796 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
9798         * sysdeps/generic/libnsl.abilist: New file.
9799         * sysdeps/generic/libutil.abilist: New file.
9801 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
9803         [BZ #19762]
9804         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
9805         HAS_ARCH_FEATURE with Fast_Rep_String.
9806         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
9807         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
9808         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
9809         Likewise.
9810         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
9811         Likewise.
9812         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
9813         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
9814         Likewise.
9815         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
9816         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
9817         Likewise.
9819 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
9821         [BZ #19745]
9822         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
9823         with *%rax in call.
9825 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
9827         [BZ #19745]
9828         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
9829         with *__libc_start_main@GOTPCREL(%rip) in call.
9831 2016-03-04  Roland McGrath  <roland@hack.frob.com>
9833         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
9834         inside conditional for nonempty $(CXX).
9836         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
9837         nonempty.
9839         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
9840         to test for empty $(CXX) rather than $(CXX) of "no".
9842 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
9844         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
9846 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
9847             H.J. Lu  <hongjiu.lu@intel.com>
9849         [BZ #18880]
9850         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
9851         instead of Slow_BSF, and also check for Fast_Copy_Backward to
9852         enable __memcpy_ssse3_back.
9854 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
9856         [BZ #19758]
9857         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
9858         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
9860 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
9862         [BZ #19490]
9863         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
9864         (__fentry__): Likewise.
9866 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
9868         * gmon/Makefile (noprof): Add $(sysdep_noprof).
9869         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
9871 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
9873         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
9874         __mcount_internal directly.
9875         (C_LABEL(__fentry__)): Likewise.
9876         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
9877         directly.
9879 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
9881         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9882         (__start_context): Call __setcontext directly.
9884 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
9886         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9887         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9888         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
9889         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
9890         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9891         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9892         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
9893         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9894         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9895         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
9896         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
9897         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
9898         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9899         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9900         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9901         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9902         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
9903         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9904         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9905         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
9906         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
9907         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9908         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9909         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
9910         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
9911         Remove conditional code.
9912         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9913         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
9914         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9915         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9916         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
9917         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9918         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
9919         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9920         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9921         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9922         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9923         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9925 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
9927         * NEWS (2.23): Fix typo in bug 19048 text.
9929 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
9931         [BZ #14259]
9932         * Makeconfig: Rename msgcatdir to localedir.
9933         Rename inst_msgcatdir to inst_localedir.
9934         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
9935         * config.make.in: Add localedir.
9936         * elf/Makefile ($(objpfx)sotruss): Use localedir.
9937         (ldd-rewrite): Likewise.
9938         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
9939         (install-others): Use inst_localedir.
9940         (CPPFLAGS): Use localedir.
9941         * locale/Makefile (locale-CPPFLAGS): Likewise.
9942         * po/Makefile (mo-installed): Use inst_localedir.
9944         [BZ #19575]
9945         * localedata/charmaps/GB18030: Update comments regarding PAU to
9946         non-PUA mappings.
9948 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
9950         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
9951         test for header.
9952         * sysdeps/unix/sysv/linux/configure: Regenerated.
9953         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
9954         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
9955         Remove conditional code.
9956         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
9958         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9959         Define to 3.2.0.
9960         (arch_minimum_kernel): Likewise.
9961         * sysdeps/unix/sysv/linux/configure: Regenerated.
9962         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
9963         Define to 2.6.32.
9964         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
9965         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
9966         (arch_minimum_kernel): Define to 2.6.32.
9967         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
9968         * README: Document Linux 3.2 requirement.
9969         * manual/install.texi (Linux): Document Linux 3.2 headers
9970         requirement.
9971         * INSTALL: Regenerated.
9973 2016-02-24  Andreas Schwab  <schwab@suse.de>
9975         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
9976         if !NO_LONG_DOUBLE.
9978 2016-02-22  Roland McGrath  <roland@hack.frob.com>
9980         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
9981         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
9983 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
9985         [BZ #19512]
9986         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
9988 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
9990         * posix/tst-dir.c: Include libc-internal.h.
9992 2016-02-20  Florian Weimer  <fweimer@redhat.com>
9994         [BZ #19056]
9995         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
9996         * manual/filesys.texi (Reading/Closing Directory): Mention
9997         deprecaion.
9998         * posix/tst-dir.c (main): Disable deprecation warning in test.
10000 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
10002         [BZ #19679]
10003         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
10004         Renamed to ...
10005         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
10006         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10007         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
10008         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10009         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
10010         * sysdeps/x86_64/dl-trampoline.h
10011         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10012         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
10014 2016-02-19  Mark Wielaard  <mjw@redhat.com>
10016         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
10018 2016-02-19  Mark Wielaard  <mjw@redhat.com>
10020         * elf/elf.h (R_386_GOT32X): New.
10021         (R_386_NUM): Update.
10022         (R_X86_64_GOTPCRELX: New.
10023         (R_X86_64_REX_GOTPCRELX): New.
10024         (R_X86_64_NUM): Update.
10026 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
10028         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
10030 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
10032         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
10033         assign attr->stackaddr to it, and adjust it down when
10034         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
10035         [_STACK_GROWS_UP]: Delete assert.
10036         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
10037         Implement stack grows up logic.
10038         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
10039         stack grows up logic.
10041 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10043         * NEWS: Update with 2.24 template.
10045 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
10047         [BZ #19678]
10048         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10049         Ensure +0.0 is returned when taking the next value below the least
10050         positive value.
10052 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10054         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
10055         available.  Do not define NO_THREADS.
10056         * malloc/malloc.c: Do not check NO_THREADS.
10057         * malloc/arena.c: Likewise.
10059 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10061         * malloc/malloc.c (__libc_mallinfo): Update comment.
10062         (struct malloc_par): Remove max_total_mem member, it was always 0.
10063         (int_mallinfo): Store 0 into usmblks (no functional change).
10064         * malloc/hooks.c (struct malloc_state): Document that
10065         max_total_mem is always 0.
10066         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
10067         always 0.
10068         * manual/memory.texi (Statistics of Malloc): Likewise.
10070 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10072         * malloc/malloc.c (sysmalloc): Do not update arena_max.
10073         * malloc/arena.c (arena_max): Remove.
10074         (heap_trim, _int_new_arena): Do not update arena_max.
10076 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10078         * resolv/res_init.c (res_ninit): Update comment.
10080 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10082         [BZ #19505]
10083         * posix/spawn_int.h: Add headers and include guard.
10084         (__spawn_valid_fd): New function.
10085         * posix/spawn_faction_addopen.c
10086         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
10087         * posix/spawn_faction_addclose.c
10088         (posix_spawn_file_actions_addclose): Likewise.
10089         * posix/spawn_faction_adddup2.c
10090         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
10091         second file descriptor.
10092         * posix/spawn_valid_fd.c: New file.
10093         * posix/tst-posix_spawn-fd.c: New file.
10094         * posix/Makefile (routines): Add spawn_valid_fd.
10095         (tests): Add tst-posix_spawn-fd.
10097 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10099         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
10100         (do_test): Limit the number of arenas, so that we can use fewer
10101         outer threads.  Limit timeout to 3 seconds, in preparation for a
10102         larger TIMEOUT value.
10104 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
10106         [BZ #19674]
10107         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
10108         sign in overflowing and underflowing results when overflow or
10109         underflow is detected early.  Include sign in result before rather
10110         than after scaling.
10112         [BZ #19603]
10113         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
10114         (__ieee754_remainderl): Adjust sign of integer version of low part
10115         when taking absolute value of high part.
10116         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10117         * math/libm-test.inc (remainder_test_data): Add another test.
10118         (remquo_test_data): Likewise.
10120 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
10122         [BZ #19602]
10123         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
10124         equal high parts and both low parts zero specially.
10125         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
10126         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
10127         Add test-fmodl-ldbl-128ibm.
10129         [BZ #19595]
10130         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
10131         common logic for all cases of shifting subnormal results.  Do not
10132         insert sign bit in shifted mantissa.  Always pass -1023 as biased
10133         exponent to ldbl_insert_mantissa in subnormal case.
10135         [BZ #19594]
10136         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
10137         on high and low parts then adjust result and use
10138         ldbl_canonicalize_int if needed.
10140         [BZ #19593]
10141         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
10142         on high part and __floor or __ceil on low part then use
10143         ldbl_canonicalize_int if needed.
10145         [BZ #19592]
10146         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
10147         high and low parts then use ldbl_canonicalize_int if needed.
10149         [BZ #17899]
10150         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
10151         New function.
10152         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
10153         on high and low parts then use ldbl_canonicalize_int if needed.
10155 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10157         * configure: Regenerated.
10159         * po/libc.pot: Regenerated.
10161         * po/be.po: Updated translation.
10162         * po/bg.po: Likewise.
10163         * po/ca.po: Likewise.
10164         * po/cs.po: Likewise.
10165         * po/da.po: Likewise.
10166         * po/el.po: Likewise.
10167         * po/eo.po: Likewise.
10168         * po/es.po: Likewise.
10169         * po/fi.po: Likewise.
10170         * po/fr.po: Likewise.
10171         * po/gl.po: Likewise.
10172         * po/hr.po: Likewise.
10173         * po/hu.po: Likewise.
10174         * po/ia.po: Likewise.
10175         * po/id.po: Likewise.
10176         * po/it.po: Likewise.
10177         * po/ja.po: Likewise.
10178         * po/lt.po: Likewise.
10179         * po/nb.po: Likewise.
10180         * po/nl.po: Likewise.
10181         * po/pt_BR.po: Likewise.
10182         * po/rw.po: Likewise.
10183         * po/sk.po: Likewise.
10184         * po/sl.po: Likewise.
10185         * po/sv.po: Likewise.
10186         * po/tr.po: Likewise.
10187         * po/zh_CN.po: Likewise.
10188         * po/zh_TW.po: Likewise.
10190         * version.h (RELEAES): Set to "development".
10191         (VERSION): Set to 2.23.90.
10193         * version.h (RELEASE): Set to "stable".
10194         (VERSION): Set to 2.23.
10195         * include/feature.h (__GLIBC_MINOR__): Set to 23.
10197         * NEWS: Updated fixed bugs.
10199 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
10200             Wilco Dijkstra  <wdijkstr@arm.com>
10202         [BZ #19462]
10203         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
10204         (_STRING_INLINE_unaligned): This.
10205         * include/string.h: Include <string_private.h>.
10206         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
10207         _STRING_INLINE_unaligned.
10208         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
10209         (_STRING_INLINE_unaligned): New.
10210         * sysdeps/aarch64/string_private.h: New file.
10211         * sysdeps/generic/string_private.h: Likewise.
10212         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
10213         * sysdeps/s390/string_private.h: Likewise.
10214         * sysdeps/x86/string_private.h: Likewise.
10215         * sysdeps/m68k/m680x0/m68020/bits/string.h
10216         (_STRING_ARCH_unaligned): Renamed to ...
10217         (_STRING_INLINE_unaligned): This.
10218         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
10219         to ...
10220         (_STRING_INLINE_unaligned): This.
10221         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
10222         to ...
10223         (_STRING_INLINE_unaligned): This.
10224         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
10225         to ...
10226         (_STRING_INLINE_unaligned): This.
10228 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
10229             H.J. Lu  <hongjiu.lu@intel.com>
10231         [BZ #19590]
10232         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
10233         relocation.
10235 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
10237         [BZ #18665]
10238         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
10239         *herrno_p.
10240         (gaih_getanswer): Document functional behviour. Return tryagain
10241         if any result is tryagain.
10242         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
10243         when freed.
10244         * resolv/res_send.c: Add copyright text.
10245         (__libc_res_nsend): Document that MAXPACKET is expected.
10246         (send_vc): Document. Remove buffer reuse.
10247         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
10248         size of the buffer. Add Dprint for truncated UDP buffer.
10250 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
10252         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
10253         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
10254         * INSTALL: Regenerate.
10256 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
10257             Jonathan Wakely  <jwakely@redhat.com>
10258             Carlos O'Donell  <carlos@redhat.com>
10260         [BZ 19439]
10261         * math/Makefile (tests): Add test-math-isinff.
10262         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
10263         * math/bits/mathcalls.h [__USE_MISC]: Use
10264         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
10265         functions not in C++11 and which don't conflict e.g. isinff,
10266         isinfl etc.
10267         * math/test-math-isinff.cc: New file.
10269 2016-02-12  Florian Weimer  <fweimer@redhat.com>
10271         * misc/bug18240.c (do_test): Set RLIMIT_AS.
10273 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10275         [BZ #19529]
10276         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
10278 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10280         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10282 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
10284         [BZ #19550]
10285         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
10286         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
10287         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
10288         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
10289         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
10290         New syscall entry.
10291         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
10292         New syscall entry.
10293         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
10294         syscall entry.
10296 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
10298         [BZ #18240]
10299         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
10300         unsigned int wraparound.
10302 2016-01-27  Florian Weimer  <fweimer@redhat.com>
10304         [BZ #18240]
10305         * misc/bug18240.c: New test.
10306         * misc/Makefile (tests): Add it.
10308 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
10309             Joseph Myers  <joseph@codesourcery.com>
10311         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
10312         load in branch delay slot when less than a word of input left.
10314 2016-01-27  Andreas Schwab  <schwab@suse.de>
10316         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
10317         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
10318         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
10319         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
10321 2016-01-26  David S. Miller  <davem@davemloft.net>
10323         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
10325 2016-01-25  David S. Miller  <davem@davemloft.net>
10327         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
10328         __sqrtl_finite.
10329         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
10330         instead using versioned_symbol.
10331         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
10332         of entries.
10334         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
10335         __sqrtl_finite to GLIBC_2.23
10337 2016-01-25  Ricchard Henderson  <rth@redhat.com>
10339         * sysdeps/alpha/fpu/libm-test-ulps: Update.
10341 2016-01-25  Andreas Schwab  <schwab@suse.de>
10343         [BZ #17514]
10344         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
10345         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
10346         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
10347         * nptl/tst-mutex-errorcheck.c: New file.
10349 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10351         [BZ #18560]
10352         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
10353         (IPCOP_semop): Likewise.
10354         (IPCOP_semget): Likewise.
10355         (IPCOP_semctl): Likewise.
10356         (IPCOP_msgsnd): Likewise.
10357         (IPCOP_msgrcv): Likewise.
10358         (IPCOP_msgget): Likewise.
10359         (IPCOP_msgctl): Likewise.
10360         (IPCOP_shmat): Likewise.
10361         (IPCOP_shmdt): Likewise.
10362         (IPCOP_shmget): Likewise.
10363         (IPCOP_shmctl): Likewise.
10365 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
10367         * string/tst-endian.c: Include <libc-internal.h>.
10368         (do_test): Ignore tautological-compare warnings around
10369         "htobeXX (beXXtoh (i)) != i" and
10370         "htoleXX (leXXtoh (i)) != i" if-statements.
10372 2016-01-24  David S. Miller  <davem@davemloft.net>
10374         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
10375         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
10376         alias.
10377         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
10378         __sqrtl_finite.
10380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10382 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
10384         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
10385         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
10386         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10388 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10390         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
10391         (thread_func): Use new function to simplify barrier check.
10392         (do_test): Use new function to simplify checking barrier exit
10393         code, and actually join the child thread.
10395 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10397         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
10398         semicolon.
10399         (__libc_tend): Likewise.
10400         (__libc_tabort): Likewise.
10402 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
10404         * sysdeps/nios2/libm-test-ulps: Update.
10405         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
10406         (__gtsf2): Likewise.
10407         (__unorddf2): Likewise.
10408         (__unordsf2): Likewise.
10409         (__ledf2): Likewise.
10411 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
10413         * nis/nis_table.c (__follow_path): Disable diagnostic for
10414         uninitialized variable that is a false positive for gcc 4.7.
10415         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
10417 2016-01-20  Roland McGrath  <roland@hack.frob.com>
10419         * sysdeps/nacl/lowlevellock-futex.h
10420         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
10421         Always evaluate PRIVATE argument.
10423 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
10425         [BZ #19490]
10426         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
10427         (pthread_cond_broadcast): Use ENTRY/END
10428         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
10429         (pthread_cond_signal): Likewise.
10430         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
10431         Likewise.
10432         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
10433         Likewise.
10434         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
10435         Likewise.
10437 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
10439         * sysdeps/ieee754/dbl-64/s_finite.c
10440         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
10441         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
10442         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
10443         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
10444         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
10446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10447         (__gtsf2): Add as optional for libc.so.
10448         (__unordsf2): Likewise.
10449         (__signbit): Remove for libc.so.
10450         (__signbitl): Likewise.
10452 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
10454         * iconvdata/bug-iconv11.c (test_ibm93x):
10455         Use %zu printf format specifier for size_t argument.
10457 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
10459         * math/gen-libm-test.pl (parse_ulps): Do not reduce
10460         already-recorded ulps.
10461         * sysdeps/arm/libm-test-ulps: Regenerated.
10462         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10463         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10464         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
10466 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10467             Paul Pluzhnikov  <ppluzhnikov@google.com>
10469         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
10470         assembler not supporting AVX-512.
10472 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
10474         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10476 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
10478         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10479         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10481         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10483         * sysdeps/arm/libm-test-ulps: Regenerated.
10485 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
10487         [BZ #19451]
10488         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
10490 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
10492         [BZ #19486]
10493         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
10494         * sysdeps/generic/fix-fp-int-convert-overflow.h
10495         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
10496         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
10497         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
10498         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
10499         Likewise.
10500         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
10501         Avoid conversions to long int where inexact exceptions
10502         could be raised.
10503         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
10504         Likewise.
10505         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
10506         Avoid conversions to long long int where inexact exceptions
10507         could be raised.
10508         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
10509         Likewise.
10511 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
10513         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
10514         * configure: Regenerated.
10516 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
10518         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
10520 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
10522         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
10523         outside of comment.
10525 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10527         * nptl/tst-barrier1.c: Add description on first line.
10528         * nptl/tst-barrier2.c: Likewise.
10529         * nptl/tst-barrier3.c: Likewise.
10530         * nptl/tst-barrier4.c: Likewise.
10531         * nptl/tst-barrier5.c: Likewise.
10533 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10535         [BZ #18868]
10536         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
10538 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
10540         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
10541         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
10542         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
10543         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
10544         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
10545         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
10546         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10547         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10548         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10549         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10550         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10552 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10554         [BZ #13065]
10555         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
10556         new implementation.
10557         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
10558         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
10559         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
10560         (BARRIER_IN_THRESHOLD): New macro.
10561         * nptl/pthread_barrierattr_setpshared.c
10562         (pthread_barrierattr_setpshared): Clean up.
10563         * nptl/tst-barrier4.c: Correct comment.
10564         * nptl/tst-barrier5.c: New file.
10565         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
10566         (gen-as-const-headers): Remove lowlevelbarrier.sym.
10567         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
10568         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
10569         * nptl/lowlevelbarrier.sym: Remove.
10570         * nptl/DESIGN-barrier.txt: Remove.
10571         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
10572         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
10573         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
10574         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
10575         error.
10576         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
10577         implementation.
10579 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10581         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
10582         (do_child): Mask SIGRTMIN while thr is running.
10584 2016-01-15  Martin Sebor  <msebor@redhat.com>
10586         [BZ #19432]
10587         * iconvdata/Makefile: Add bug-iconv11.
10588         * iconvdata/bug-iconv11.c: New test.
10589         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
10590         * iconvdata/ibm933.c: Same.
10591         * iconvdata/ibm935.c: Same.
10592         * iconvdata/ibm937.c: Same.
10593         * iconvdata/ibm939.c: Same.
10595 2016-01-15  Martin Sebor  <msebor@redhat.com>
10597         [BZ #19443]
10598         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
10599         [DEBUG] (_ufc_set_bits): Declare used.
10600         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
10601         [DEBUG] (print_all): Declare used.
10602         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
10603         operands of the ternary ?: expression to target type.
10604         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
10605         calling the undeclared abort.
10606         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
10608 2016-01-15  Martin Sebor  <msebor@redhat.com>
10610         [BZ #18755]
10611         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
10612         warnings.
10613         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
10614         (__gai_create_helper_thread): Same.
10615         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
10616         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
10617         to suppress -Wmaybe-uninitialized warnings.
10619 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
10621         [BZ #19465]
10622         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
10623         inside if.
10624         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10625         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10626         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10628 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
10630         [BZ #19466]
10631         * time/tst-mktime2.c (time_t_max): Removed.
10632         (time_t_min): Likewise.
10633         (TYPE_SIGNED): New.
10634         (TYPE_MINIMUM): Likewise.
10635         (TYPE_MAXIMUM): Likewise.
10636         (TIME_T_MIN): Likewise.
10637         (TIME_T_MAX): Likewise.
10638         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
10639         and TIME_T_MIN.
10640         (do_test): Likewise.
10642 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
10644         [BZ #19467]
10645         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10646         index_Fast_Unaligned_Load flag for Excavator family CPUs.
10648 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
10650         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
10652 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
10654         * benchtests/Makefile (PYTHON): Define.
10655         (bench-func): Use $(PYTHON) to run python scripts.
10656         ($(objpfx)bench-%.c): Likewise.
10658 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
10660         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
10661         leading slash when `file_name' is "/".
10663 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
10665         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
10666         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
10667         Likewise.
10668         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
10669         Likewise.
10670         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
10671         Likewise.
10672         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
10673         enum constant and macro.
10674         (PTRACE_SETSIGMASK): Likewise.
10675         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10676         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10677         (PTRACE_GETSIGMASK): Likewise.
10678         (PTRACE_SETSIGMASK): Likewise.
10679         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10680         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
10681         Likewise.
10682         (PTRACE_SETSIGMASK): Likewise.
10683         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10684         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10685         (PTRACE_GETSIGMASK): Likewise.
10686         (PTRACE_SETSIGMASK): Likewise.
10687         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10688         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
10689         Likewise.
10690         (PTRACE_SETSIGMASK): Likewise.
10691         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10692         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
10693         Likewise.
10694         (PTRACE_SETSIGMASK): Likewise.
10695         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10696         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
10697         Likewise.
10698         (PTRACE_SETSIGMASK): Likewise.
10699         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10701 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
10702             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10704         [BZ #19439]
10705         * math/bits/mathcalls.h
10706         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
10707         prototype.
10708         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
10710 2016-01-11  Andreas Schwab  <schwab@suse.de>
10712         [BZ #19253]
10713         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
10714         cache when TZDEFRULES was used.
10715         * time/tst-tzname.c: New file.
10716         * time/Makefile (test): Add tst-tzname.
10717         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
10718         * timezone/Makefile (test-zones): Add $(posixrules-file).
10719         ($(testdata)/$(posixrules-file)): New rule.
10721 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
10723         Fix doc quoting problems with Texinfo 5
10724         Without this change, in the info file output, Texinfo 5 quotes code
10725         in text with undirected single quotes 'like this' and generates
10726         code examples that with many PDF readers cannot be cut out of PDFs
10727         and pasted into code.
10728         * manual/libc.texinfo: Configure the libc manual like the GNU
10729         Emacs manual, by using @documentencoding and setting
10730         txicodequoteundirected and txicodequotebacktick.  This way,
10731         Texinfo 5 quotes code in text with directed single quotes ‘like
10732         this’ and produces examples that can be cut out of PDFs.  This
10733         change causes Texinfo 5 to generate info files that contain UTF-8
10734         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
10735         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
10737 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10739         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
10740         __libc_tabort, __libc_tend): New wrappers that enforce compiler
10741         barriers to their respective compiler built-ins.
10742         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
10743         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
10744         * sysdeps/powerpc/sysdep.h: Likewise.
10745         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
10746         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
10747         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
10749 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
10751         * scripts/config.guess: Revert previous shebang change.
10752         * scripts/config.sub: Likewise.
10753         * scripts/mkinstalldirs: Likewise.
10755 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10757         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
10758         PPC_FEATURE2_HAS_IEEE128.
10759         * sysdeps/powerpc/dl-procinfo.c:
10760         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
10762 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
10764         [BZ #19415]
10765         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
10766         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
10767         (_dl_lookup_address): Rewrite using function resolver trampoline.
10768         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
10769         two bits in address.
10771 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
10773         * longlong.h: Change !__SHMEDIA__ to
10774         (!defined (__SHMEDIA__) || !__SHMEDIA__).
10775         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
10777 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
10778             Joseph Myers  <joseph@codesourcery.com>
10779             Mark Shinwell  <shinwell@codesourcery.com>
10780             Andrew Stubbs  <ams@codesourcery.com>
10781             Rich Felker <dalias@libc.org>
10783         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
10785 2016-01-07  Richard Henderson  <rth@redhat.com>
10787         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
10789 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
10791         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
10792         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
10793         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10794         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10795         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
10797 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
10798             Joseph Myers  <joseph@codesourcery.com>
10800         * timezone/private.h: Update from tzcode 2015g.
10801         * timezone/tzfile.h: Likewise.
10802         * timezone/tzselect.ksh: Likewise.
10803         * timezone/zdump.c: Likewise.
10804         * timezone/zic.c: Likewise.
10805         * timezone/ialloc.c: Remove file.
10806         * timezone/scheck.c: Likewise.
10807         * timezone/Makefile (extra-objs): Remove variable.
10808         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
10809         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
10810         -Wno-maybe-uninitialized.
10811         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
10812         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
10813         (CFLAGS-ialloc.c): Remove variable.
10814         (CFLAGS-scheck.c): Likewise.
10815         * timezone/README: Update list of files from tzcode.
10817 2016-01-07  Khem Raj  <raj.khem@gmail.com>
10819         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
10820         instead of __fxprintf when _LIBC is undefined.
10822 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
10824         * catgets/test-gencat.sh: Remove space after shebang.
10825         * conform/GlibcConform.pm: Likewise.
10826         * conform/check-header-lists.sh: Likewise.
10827         * conform/conformtest.pl: Likewise.
10828         * conform/linknamespace.pl: Likewise.
10829         * conform/list-header-symbols.pl: Likewise.
10830         * debug/catchsegv.sh: Likewise.
10831         * elf/genrtldtbl.awk: Likewise.
10832         * elf/tst-pathopt.sh: Likewise.
10833         * elf/tst-rtld-load-self.sh: Likewise.
10834         * grp/tst_fgetgrent.sh: Likewise.
10835         * iconvdata/gen-8bit-gap-1.sh: Likewise.
10836         * iconvdata/gen-8bit-gap.sh: Likewise.
10837         * iconvdata/gen-8bit.sh: Likewise.
10838         * iconvdata/run-iconv-test.sh: Likewise.
10839         * intl/tst-gettext.sh: Likewise.
10840         * intl/tst-gettext2.sh: Likewise.
10841         * intl/tst-gettext4.sh: Likewise.
10842         * intl/tst-gettext6.sh: Likewise.
10843         * intl/tst-translit.sh: Likewise.
10844         * io/ftwtest-sh: Likewise.
10845         * libio/test-freopen.sh: Likewise.
10846         * locale/gen-translit.pl: Likewise.
10847         * malloc/tst-mtrace.sh: Likewise.
10848         * manual/check-safety.sh: Likewise.
10849         * manual/libc-texinfo.sh: Likewise.
10850         * manual/tsort.awk: Likewise.
10851         * manual/xtract-typefun.awk: Likewise.
10852         * nptl/tst-cancel-wrappers.sh: Likewise.
10853         * nptl/tst-tls6.sh: Likewise.
10854         * posix/globtest.sh: Likewise.
10855         * posix/tst-getconf.sh: Likewise.
10856         * posix/wordexp-tst.sh: Likewise.
10857         * scripts/check-c++-types.sh: Likewise.
10858         * scripts/check-local-headers.sh: Likewise.
10859         * scripts/config.guess: Likewise.
10860         * scripts/config.sub: Likewise.
10861         * scripts/cpp: Likewise.
10862         * scripts/cross-test-ssh.sh: Likewise.
10863         * scripts/documented.sh: Likewise.
10864         * scripts/evaluate-test.sh: Likewise.
10865         * scripts/gen-libc-abis: Likewise.
10866         * scripts/gen-sorted.awk: Likewise.
10867         * scripts/list-fixed-bugs.py: Likewise.
10868         * scripts/merge-test-results.sh: Likewise.
10869         * scripts/mkinstalldirs: Likewise.
10870         * scripts/rellns-sh: Likewise.
10871         * scripts/test-installation.pl: Likewise.
10872         * scripts/update-copyrights: Likewise.
10873         * stdio-common/tst-printf.sh: Likewise.
10874         * stdio-common/tst-unbputc.sh: Likewise.
10875         * stdlib/tst-fmtmsg.sh: Likewise.
10876         * stdlib/tst-setcontext3.sh: Likewise.
10877         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
10878         * sysdeps/unix/make-syscalls.sh: Likewise.
10880 2016-01-06  John David Anglin  <dave.anglin@bell.net>
10882         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
10883         asm stw with atomic_exchange_rel.  Add explanatory comment.
10884         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
10885         Likewise.
10887 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
10889         [BZ #19122]
10890         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
10891         * sysdeps/generic/dl-unistd.h: New file.
10892         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
10894 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
10896          [BZ #19122]
10897          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
10898          * sysdeps/generic/dl-mman.h: New file.
10899          * sysdeps/mach/hurd/dl-mman.h: Likewise.
10901 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
10903         * manual/texinfo.tex: Update to version 2016-01-04.21 with
10904         trailing whitespace removed.
10905         * scripts/config.guess: Update to version 2016-01-01.
10906         * scripts/config.sub: Update to version 2016-01-01.
10907         * scripts/move-if-change: Update from gnulib.
10909 2016-01-04  Anton Blanchard  <anton@samba.org>
10911         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
10912         for array indices.
10913         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
10915 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
10917         * NEWS: Update copyright dates.
10918         * catgets/gencat.c (print_version): Likewise.
10919         * csu/version.c (banner): Likewise.
10920         * debug/catchsegv.sh: Likewise.
10921         * debug/pcprofiledump.c (print_version): Likewise.
10922         * debug/xtrace.sh (do_version): Likewise.
10923         * elf/ldconfig.c (print_version): Likewise.
10924         * elf/ldd.bash.in: Likewise.
10925         * elf/pldd.c (print_version): Likewise.
10926         * elf/sotruss.sh: Likewise.
10927         * elf/sprof.c (print_version): Likewise.
10928         * iconv/iconv_prog.c (print_version): Likewise.
10929         * iconv/iconvconfig.c (print_version): Likewise.
10930         * locale/programs/locale.c (print_version): Likewise.
10931         * locale/programs/localedef.c (print_version): Likewise.
10932         * login/programs/pt_chown.c (print_version): Likewise.
10933         * malloc/memusage.sh (do_version): Likewise.
10934         * malloc/memusagestat.c (print_version): Likewise.
10935         * malloc/mtrace.pl: Likewise.
10936         * manual/libc.texinfo: Likewise.
10937         * nptl/version.c (banner): Likewise.
10938         * nscd/nscd.c (print_version): Likewise.
10939         * nss/getent.c (print_version): Likewise.
10940         * nss/makedb.c (print_version): Likewise.
10941         * posix/getconf.c (main): Likewise.
10942         * scripts/test-installation.pl: Likewise.
10943         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10945         * All files with FSF copyright notices: Update copyright dates
10946         using scripts/update-copyrights.
10947         * intl/plural.c: Regenerated.
10948         * locale/programs/charmap-kw.h: Likewise.
10949         * locale/programs/locfile-kw.h: Likewise.
10951 2016-01-02  Helge Deller  <deller@gmx.de>
10953         [BZ #19285]
10954         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
10955         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
10956         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
10957         (MADV_xxK_PAGES): Remove.
10959 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
10961         [BZ #15421]
10962         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
10963         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
10964         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
10965         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
10967 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
10969         [BZ #19408]
10970         * sysdeps/unix/sysv/linux/personality.c: New file.
10971         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
10972         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
10973         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
10974         (sysdep_routines): Add personality.
10975         (tests): Add tst-personality.
10976         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
10977         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
10978         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
10979         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
10980         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
10981         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
10982         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
10983         Likewise.
10984         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
10985         Likewise.
10986         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
10987         Likewise.
10988         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
10989         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
10990         Likewise.
10992 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
10994         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
10995         (PATH_ARM_SYSTYPE): Remove.
10996         (PATH_CPUINFO): Likewise.
10997         (IO_BASE_FOOTBRIDGE): Likewise.
10998         (IO_SHIFT_FOOTBRIDGE): Likewise.
10999         (struct platform): Likewise.
11000         (init_iosys): Remove compatibility code for 2.4 kernels.
11001         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
11003 2015-12-29  Florian Weimer  <fweimer@redhat.com>
11005         * malloc/tst-malloc-thread-fail.c: New file.
11006         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
11007         (tst-malloc-thread-fail): Link against libpthread.
11009 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
11011         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
11012         (get_parser): New function.
11013         (main): New function.
11015 2015-12-29  Rob Wu  <rob@robwu.nl>
11017         [BZ #19369]
11018         * resolv/res_init.c (__res_vinit): Reset defdname before use.
11020 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
11022         [BZ #19270]
11023         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
11025 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
11027         [BZ #15421]
11028         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
11030 2015-12-23  Torvald Riegel  <triegel@redhat.com>
11032         [BZ #13690]
11033         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
11034         after releasing it.
11035         (__lll_robust_unlock): Likewise.
11036         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11037         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
11038         (lll_robust_unlock): Likewise.
11039         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
11040         Prevent warnings in callers.
11042 2015-12-23  Florian Weimer  <fweimer@redhat.com>
11044         * malloc/arena.c (list_lock): Update comment.
11046 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11048         * sysdeps/powerpc/hwcapinfo.c: Export symbol
11049         __parse_hwcap_and_convert_at_platform to libc.a.
11051 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11053         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
11054         platform and feature support for POWER9.
11055         * sysdeps/powerpc/dl-procinfo.h: Likewise.
11056         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
11057         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
11058         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
11059         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
11060         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11061         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11062         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11064 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11066         Harmonize generic stdio-lock support with nptl
11068         This fixes build when _IO_funlockfile is a macro, fixes build where
11069         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
11070         stack unwind.
11072         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
11073         _IO_release_lock ): Use cleanup attribute on new
11074         _IO_acquire_lock_file variable instead of assuming that
11075         _IO_release_lock will be called.
11076         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
11077         _IO_acquire_lock_needs_exceptions_enabled.
11078         (_IO_acquire_lock_clear_flags2): New macro.
11080 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11082         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11084 2015-12-21  Florian Weimer  <fweimer@redhat.com>
11086         [BZ #19182]
11087         * malloc/arena.c (list_lock): Document lock ordering requirements.
11088         (free_list_lock): New lock.
11089         (ptmalloc_lock_all): Comment on free_list_lock.
11090         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
11091         (detach_arena): Update comment.  free_list_lock is now needed.
11092         (_int_new_arena): Use free_list_lock around detach_arena call.
11093         Acquire arena lock after list_lock.  Add comment, including FIXME
11094         about incorrect synchronization.
11095         (get_free_list): Switch to free_list_lock.
11096         (reused_arena): Acquire free_list_lock around detach_arena call
11097         and attached threads counter update.  Add two FIXMEs about
11098         incorrect synchronization.
11099         (arena_thread_freeres): Switch to free_list_lock.
11100         * malloc/malloc.c (struct malloc_state): Update comments to
11101         mention free_list_lock.
11103 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
11105         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
11106         Remove functions.
11107         (sloww, sloww1): Accept argument to offset quadrant.
11108         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
11109         quadrant.
11110         (__sin, __cos): Consolidate common code into new functions.
11111         (reduce_sincos_1, do_sincos_1): New functions.
11112         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
11114         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
11115         code to new functions.
11116         (reduce_sincos_2, do_sincos_2): New functions.
11117         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
11119         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
11120         common code for sincos.
11121         (__cos) [!IN_SINCOS]: Likewise.
11122         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
11123         New function.
11124         (__sincos): Use it.
11126 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
11128         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
11129         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
11130         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
11132 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11134         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
11135         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
11136         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
11137         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
11138         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11139         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
11140         index_Prefer_No_VZEROUPPER): New feature.
11141         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
11142         Prefer_No_VZEROUPPER for Knights Landing.
11144 015-12-18  Torvald Riegel  <triegel@redhat.com>
11146         * math/atest-exp2.c (mp_exp_m1): Remove.
11148 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11150         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
11151         syscalls.
11152         (__SYSCALL0): New macro.
11153         (__SYSCALL1): Likewise.
11154         (__SYSCALL2): Likewise.
11155         (__SYSCALL3): Likewise.
11156         (__SYSCALL4): Likewise.
11157         (__SYSCALL5): Likewise.
11158         (__SYSCALL6): Likewise.
11159         (__SYSCALL_CONCAT_X): Likewise.
11160         (__SYSCALL_CONCAT): Likewise.
11161         (__SYSCALL_DIST): Likewise.
11162         (__SYSCALL_CALL): Likewise.
11164 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
11166         [BZ #19363]
11167         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
11169 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11171         [BZ #19375]
11172         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
11173         negative subnormals.
11175 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
11177         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11178         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
11179         (INTERNAL_SYSCALL_NCS): Use it.
11180         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11182 2015-12-16  Florian Weimer  <fweimer@redhat.com>
11184         [BZ #19243]
11185         * malloc/arena.c (get_free_list): Remove assert and adjust
11186         reference count handling.  Add comment about reused_arena
11187         interaction.
11188         (reused_arena): Add comments abount get_free_list interaction.
11189         * malloc/tst-malloc-thread-exit.c: New file.
11190         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
11191         (tst-malloc-thread-exit): Link against libpthread.
11193 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
11195         [BZ #19367]
11196         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
11197         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
11198         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
11199         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
11200         (index_Prefer_MAP_32BIT_EXEC): Likewise.
11202 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
11204         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
11205         Silvermont optimizations for Knights Landing.
11207 2015-12-15  Andreas Schwab  <schwab@suse.de>
11209         [BZ #17197]
11210         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
11211         immediately after emitting SI.
11212         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
11213         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
11214         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
11215         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
11216         * iconvdata/bug-iconv10.c: New file.
11217         * iconvdata/Makefile (tests): Add bug-iconv10.
11218         ($(objpfx)bug-iconv10.out): New rule.
11220 2015-12-15  Florian Weimer  <fweimer@redhat.com>
11222         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
11223         aliasing violation.
11225 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
11227         [BZ #18472]
11228         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
11229         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
11230         conditionals for them.
11231         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
11232         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
11233         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
11234         sys/kdaemon.h.
11235         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
11236         compat-only syscall, obsoleted in glibc 2.23.
11237         (create_module): Likewise.
11238         (get_kernel_syms): Likewise.
11239         (query_module): Likewise.
11240         (uselib): Likewise.
11241         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
11243 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
11245         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
11246         <linux/version.h>.
11247         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
11248         conditional code.
11249         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
11250         and ioshift_name initialization.
11252 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
11254         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11255         Fix indentation.
11257 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
11259         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
11261 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
11263         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
11265 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
11266             Jakub Wilk  <jwilk@debian.org>
11268         [BZ #19347]
11269         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
11270         to change the group of the device to the tty group.
11272 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
11274         Split large string section; add truncation advice
11275         * manual/examples/strncat.c: Remove.
11276         This example was misleading, as the code would have undefined
11277         behavior if "hello" was longer than SIZE.  Anyway, the manual
11278         shouldn't encourage strncpy+strncat for this sort of thing.
11279         * manual/string.texi (Copying Strings and Arrays): Split into
11280         three sections Copying Strings and Arrays, Concatenating Strings,
11281         and Truncating Strings, as this section was way too long.  All
11282         cross-referenced changed.  Add advice about string-truncation
11283         functions.  Remove misleading strncat example.
11285 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
11287         * manual/nss.texi (NSS Modules Interface): Document
11288         NSS_STATUS_NOTFOUND and SUCCESS.
11290 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
11292         [BZ 18568]
11293         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
11294         201505L, for Unicode 8.
11296 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
11298         * locale/C-translit.h: Regenerate.
11300 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
11302         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
11303         and U+0153.
11305 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
11307         [BZ #19351]
11308         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
11309         expanding log(1+z), compare z rather than its square with epsilon
11310         to determine when to avoid evaluating the expansion.
11312         [BZ #19350]
11313         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
11314         Increase overflow threshold.
11316         [BZ #19349]
11317         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
11318         when small.
11320         * sysdeps/unix/sysv/linux/i386/kernel-features.h
11321         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
11322         New macro.
11323         [__LINUX_KERNEL_VERSION >= 0x040300]
11324         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11325         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
11326         Likewise.
11327         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
11328         Likewise.
11329         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
11330         Likewise.
11331         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
11332         Likewise.
11333         [__LINUX_KERNEL_VERSION >= 0x040300]
11334         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
11335         [__LINUX_KERNEL_VERSION >= 0x040300]
11336         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11337         [__LINUX_KERNEL_VERSION >= 0x040300]
11338         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11339         [__LINUX_KERNEL_VERSION >= 0x040300]
11340         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11341         [__LINUX_KERNEL_VERSION >= 0x040300]
11342         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11343         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
11344         Likewise.
11345         [__LINUX_KERNEL_VERSION >= 0x040300]
11346         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
11347         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11348         Likewise.
11349         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
11350         Likewise.
11351         [__LINUX_KERNEL_VERSION >= 0x040300]
11352         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
11353         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11354         Likewise.
11355         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
11356         Likewise.
11357         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11358         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
11359         Likewise.
11360         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
11361         Likewise.
11362         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
11363         Likewise.
11364         [__LINUX_KERNEL_VERSION >= 0x040300]
11365         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11366         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
11367         Likewise.
11368         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
11369         Likewise.
11370         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
11371         Likewise.
11372         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
11373         Likewise.
11374         [__LINUX_KERNEL_VERSION >= 0x040300]
11375         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
11376         [__LINUX_KERNEL_VERSION >= 0x040300]
11377         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11378         [__LINUX_KERNEL_VERSION >= 0x040300]
11379         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11380         [__LINUX_KERNEL_VERSION >= 0x040300]
11381         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11382         [__LINUX_KERNEL_VERSION >= 0x040300]
11383         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11384         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
11385         Likewise.
11386         [__LINUX_KERNEL_VERSION >= 0x040300]
11387         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
11388         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11389         Likewise.
11390         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
11391         Likewise.
11392         [__LINUX_KERNEL_VERSION >= 0x040300]
11393         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
11394         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11395         Likewise.
11396         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
11397         Likewise.
11398         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11399         (__ASSUME_SOCKET_SYSCALL): Likewise.
11400         (__ASSUME_BIND_SYSCALL): Likewise.
11401         (__ASSUME_CONNECT_SYSCALL): Likewise.
11402         (__ASSUME_LISTEN_SYSCALL): Likewise.
11403         (__ASSUME_ACCEPT_SYSCALL): Likewise.
11404         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11405         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11406         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11407         (__ASSUME_SEND_SYSCALL): Likewise.
11408         (__ASSUME_SENDTO_SYSCALL): Likewise.
11409         (__ASSUME_RECV_SYSCALL): Likewise.
11410         (__ASSUME_RECVFROM_SYSCALL): Likewise.
11411         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
11412         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11413         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11414         (__ASSUME_SENDMSG_SYSCALL): Likewise.
11415         (__ASSUME_RECVMSG_SYSCALL): Likewise.
11416         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11417         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
11418         Likewise.
11419         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
11420         Likewise.
11421         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
11422         Likewise.
11423         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
11424         Likewise.
11425         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
11426         Likewise.
11427         [__LINUX_KERNEL_VERSION >= 0x020625]
11428         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
11429         [__LINUX_KERNEL_VERSION >= 0x020625]
11430         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
11431         [__LINUX_KERNEL_VERSION >= 0x020625]
11432         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
11433         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
11434         Likewise.
11435         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
11436         Likewise.
11437         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
11438         Likewise.
11439         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
11440         Likewise.
11441         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
11442         Likewise.
11443         [__LINUX_KERNEL_VERSION >= 0x020625]
11444         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
11445         [__LINUX_KERNEL_VERSION >= 0x020625]
11446         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
11447         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
11448         Likewise.
11449         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
11450         Likewise.
11452 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
11454         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
11455         record the current if the current ABI and CPU support the FP64
11456         extension.
11457         (has-modd-spreg): Define to record the current if the current ABI and
11458         CPU support 32-bit floating point values in odd FPU registers.
11459         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11460         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
11461         $(has-modd-spreg) equals yes.
11462         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
11463         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
11464         $(has-modd-spreg) equal yes.
11466 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
11468         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
11469         basename.
11471 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
11473         * benchtests/Makefile (bench-math): Move ffs and ffsll...
11474         (bench-string): ... here.
11475         (bench): Add bench-string.
11476         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
11477         to *-benchset to reflect what they are.
11478         (benchset): Adjust.
11480         * benchtests/sincos-inputs: Add inputs from sin-inputs and
11481         cos-inputs.
11483 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
11485         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
11486         __attribute__ ((__simd__)) for vector math function declarations.
11488 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11490         Fix typo in strncat, wcsncat manual entries
11491         * manual/string.texi (Copying and Concatenation): Fix typos in
11492         sample implementations of strncat and wcsncat, by having them use
11493         the old value of the destination length, not the new one.
11495 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
11497         [BZ #16961]
11498         [BZ #16962]
11499         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
11500         string on the stack for strtod.
11501         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
11502         a string on the stack for strtof.
11503         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
11504         constructing a string on the stack for strtold.
11505         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
11506         __strtold_nan to GLIBC_PRIVATE.
11507         * math/test-nan-overflow.c: New file.
11508         * math/test-nan-payload.c: Likewise.
11509         * math/Makefile (tests): Add test-nan-overflow and
11510         test-nan-payload.
11512 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
11514         Consistency about byte vs character in string.texi
11515         * manual/string.texi (String and Array Utilities):
11516         Distinguish more carefully among bytes, multibyte characters,
11517         and wide characters.  Use "byte" when talking about C 'char',
11518         to distinguish it more clearly from multibyte characters.
11519         Say "wide character" or "multibyte character" instead of
11520         "character", when a wide or multibyte character is intended.
11521         Similarly for "multibyte string" versus "string".
11522         Define these terms more carefully.
11524 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
11526         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
11527         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
11528         Likewise.
11529         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
11530         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
11531         * sysdeps/sh/math_private.h: New file.
11532         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
11533         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
11534         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
11535         long double function name.
11536         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11537         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11538         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11539         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11540         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
11542         Remove __finitel, __isinfl, and __isnanl.
11543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
11544         Likewise.
11545         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11547         Remove __finitel.
11548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11549         Likewise.
11550         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11552 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
11554         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
11555         installed libmvec_nonshared.a.
11557 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11559         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
11560         (sysdep_routines): Likewise.
11561         (sysdep-rtld-routines): Likewise.
11562         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
11563         [$(subdir) = nptl](tests-static): test-get_hwcap-static
11564         * sysdeps/powerpc/Versions: Added new
11565         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
11566         * sysdeps/powerpc/hwcapinfo.c: New file.
11567         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
11568         and parse hwcap, hwcap2 and platform number information.
11569         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
11570         to store HWCAP+HWCAP2 and platform number.
11571         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
11572         for HWCAP+HWCAP2 and platform number in the TCB.
11573         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
11574         the HWCAP, HWCAP2 and platform number in the TCB.
11575         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
11576         (TLS_INIT_TP): Included calls to add the hwcap and
11577         at_platform values in the TCB in TP initialization.
11578         (TLS_DEFINE_INIT_TP): Likewise.
11579         (THREAD_GET_HWCAP): New macro.
11580         (THREAD_SET_HWCAP): Likewise.
11581         (THREAD_GET_AT_PLATFORM): Likewise.
11582         (THREAD_SET_AT_PLATFORM): Likewise.
11583         * sysdeps/powerpc/powerpc32/dl-machine.h:
11584         (dl_platform_init): New function that calls
11585         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
11586         powerpc32.
11587         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
11588         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
11589         this functionality, static linking case.
11590         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
11591         linking case.
11592         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
11593         __parse_hwcap_and_convert_at_platform for the static linking case.
11594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
11595         Included the new __parse_hwcap_and_convert_at_platform symbol in the
11596         ABI list for GLIBC 2.23.
11597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
11598         Likewise.
11599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
11600         Likewise.
11602 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
11604         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
11605         * configure: Regenerate.
11606         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
11607         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
11609 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
11611         * iconvdata/ibm930.c: Add comment explaining encoding uses.
11612         * iconvdata/ibm933.c: Likewise.
11613         * iconvdata/ibm935.c: Likewise.
11614         * iconvdata/ibm937.c: Likewise.
11615         * iconvdata/ibm939.c: Likewise.
11617 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11619         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
11620         pthread_join.
11621         * nptl/tst-cancel21.c (tf): Likewise.
11623 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
11625         [BZ #19313]
11626         * bits/typesizes.h (__CPU_MASK_TYPE): New.
11627         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
11628         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
11629         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
11630         Likewise.
11631         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
11632         Likewise.
11633         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
11634         Likewise.
11635         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
11636         Likewise.
11637         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
11638         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
11639         unsigned long int with __CPU_MASK_TYPE.
11641 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11643         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11645 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
11647         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
11648         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
11649         t512.x.
11650         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
11652 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
11654         [BZ #19214]
11655         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
11656         argument to return extended model.  Update family and model
11657         with extended family and model when family == 0x0f.
11658         (init_cpu_features): Updated.
11660 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11662         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
11663         signed off_t, so 32bit bigger than 2GiB values are fine actually.
11665         * sysdeps/mach/hurd/mmap64.c: New file.
11667 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
11669         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
11670         rights for its main user thread in NEWTASK.
11672 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
11674         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
11675         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
11677 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
11679         [BZ #14259]
11680         * Makeconfig: Rename localedir to complocaledir.
11681         Rename inst_localedir to inst_complocaledir.
11682         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
11683         * config.make.in: Use complocaledir and libc_cv_complocaledir.
11684         * configure.ac: Use libc_cv_complocaledir.
11685         * configure: Regenerate.
11686         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
11687         -DCOMPLOCALEDIR.
11688         * locale/findlocale.c: Use COMPLOCALEDIR.
11689         * locale/loadarchive.c: Likewise.
11690         * locale/programs/locale.c: Likewise.
11691         * locale/programs/localedef.c: Likewise.
11692         * locale/programs/locarchive.c: Likewise.
11693         * localedata/Makefile: Use inst_complocaledir.
11694         * sysdeps/gnu/configure: Regenerate.
11695         * sysdeps/hppa/configure: Regenerate.
11696         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
11697         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11699         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
11700         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
11701         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
11702         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
11704 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
11706         [BZ #19058]
11707         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
11708         AS_NEEDED.
11709         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
11710         workaround.
11711         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
11712         libmvec-static-only-routines): Added new file.
11713         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
11715 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11717         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
11718         of interrupted RPC instead of restoring it.
11720         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
11721         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
11722         libc_hidden_def.
11723         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
11724         into initialized data instead of common. Define rtld_hidden_data_def.
11725         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
11726         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
11727         libc_hidden_def.
11728         (if_freenameindex): Add libc_hidden_weak.
11729         (if_nameindex): Add libc_hidden_weak.
11730         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
11731         __open64.
11732         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
11733         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
11734         * sysdeps/mach/nanosleep.c: Include <time.h>
11735         (__nanosleep): Rename to __libc_nanosleep.
11736         (__nanosleep): Add weak_alias.
11737         (nanosleep): Update alias.
11739 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
11741         * stdlib/strtod_nan.c: New file.
11742         * stdlib/strtod_nan_double.h: Likewise.
11743         * stdlib/strtod_nan_float.h: Likewise.
11744         * stdlib/strtod_nan_main.c: Likewise.
11745         * stdlib/strtod_nan_narrow.h: Likewise.
11746         * stdlib/strtod_nan_wide.h: Likewise.
11747         * stdlib/strtof_nan.c: Likewise.
11748         * stdlib/strtold_nan.c: Likewise.
11749         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
11750         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
11751         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
11752         * wcsmbs/wcstod_nan.c: Likewise.
11753         * wcsmbs/wcstof_nan.c: Likewise.
11754         * wcsmbs/wcstold_nan.c: Likewise.
11755         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
11756         strtold_nan.
11757         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
11758         wcstof_nan.
11759         * include/stdlib.h (__strtof_nan): Declare and use
11760         libc_hidden_proto.
11761         (__strtod_nan): Likewise.
11762         (__strtold_nan): Likewise.
11763         (__wcstof_nan): Likewise.
11764         (__wcstod_nan): Likewise.
11765         (__wcstold_nan): Likewise.
11766         * include/wchar.h (____wcstoull_l_internal): Declare.
11767         * stdlib/strtod_l.c: Do not include <ieee754.h>.
11768         (____strtoull_l_internal): Remove declaration.
11769         (STRTOF_NAN): Define macro.
11770         (SET_MANTISSA): Remove macro.
11771         (STRTOULL): Likewise.
11772         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
11773         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
11774         (STRTOF_NAN): Define macro.
11775         (SET_MANTISSA): Remove macro.
11776         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
11777         (SET_MANTISSA): Remove macro.
11778         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
11779         macro.
11780         (SET_MANTISSA): Remove macro.
11781         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
11782         macro.
11783         (SET_MANTISSA): Remove macro.
11784         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
11785         (SET_MANTISSA): Remove macro.
11786         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
11787         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
11788         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
11790         [BZ #19266]
11791         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
11792         upper case and lower case letters inside NAN(), not using TOLOWER.
11793         * stdlib/tst-strtod-nan-locale-main.c: New file.
11794         * stdlib/tst-strtod-nan-locale.c: Likewise.
11795         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
11796         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
11797         Depend on $(gen-locales).
11798         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
11799         * wcsmbs/tst-wcstod-nan-locale.c: New file.
11800         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
11801         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
11802         Depend on $(gen-locales).
11803         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
11805 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
11807         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
11809         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
11810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
11811         __finitel, __isinfl, and __isnanl.
11812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
11813         Likewise.
11814         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
11816         __finitel.
11817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11818         Likewise.
11819         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11821 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11823         * malloc/memusage.c (me): Remove redundant getenv call.
11825 2015-10-24  Florian Weimer  <fweimer@redhat.com>
11827         [BZ #19143]
11828         [BZ #19164]
11829         * nptl/check-cpuset.h: Remove.
11830         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
11831         Remove CPU set size check.
11832         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
11833         Likewise.
11834         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
11835         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
11836         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
11837         (__pthread_setaffinity_new): Remove CPU set size check.
11838         * sysdeps/unix/sysv/linux/sched_setaffinity.c
11839         (__kernel_cpumask_size): Remove.
11840         (__sched_setaffinity_new): Remove CPU set size check.
11841         * manual/threads.texi (Default Thread Attributes): Remove stale
11842         reference to check_cpuset_attr, determine_cpumask_size in comment.
11843         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
11844         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
11845         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
11846         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
11847         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
11848         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
11849         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
11850         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
11851         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
11852         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
11853         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
11854         skeleton test file.
11855         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
11856         tst-affinity-pid.
11858 2015-11-24  Florian Weimer  <fweimer@redhat.com>
11860         * scripts/update-abilist.sh: New file.
11861         * Makefile (+subdir_targets): Add subdir_update-all-abi.
11862         * Makerules (update-all-abi-%, update-all-abi)
11863         (subdir_update-all-abi): New targets.
11864         * elf/Makefile (update-all-abi): New target.
11866 2015-11-24  Florian Weimer  <fweimer@redhat.com>
11868         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
11869         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
11870         (__libc_lock_define_initialized): Use it.
11871         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
11872         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
11873         * malloc/malloc.c (main_arena): Likewise.
11874         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
11875         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
11877 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
11879         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11880         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
11881         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11882         (PTRACE_O_MASK): Update value.
11883         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
11884         New value in enum __ptrace_setoptions.
11885         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11886         (PTRACE_O_MASK): Update value.
11887         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11888         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11889         (PTRACE_O_MASK): Update value.
11890         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
11891         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11892         (PTRACE_O_MASK): Update value.
11893         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
11894         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11895         (PTRACE_O_MASK): Update value.
11896         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
11897         New value in enum __ptrace_setoptions.
11898         (PTRACE_O_MASK): Update value.
11899         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
11900         New value in enum __ptrace_setoptions.
11901         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11902         (PTRACE_O_MASK): Update value.
11904         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
11905         New macro.
11906         (PACKET_AUXDATA): Likewise.
11907         (PACKET_ORIGDEV): Likewise.
11908         (PACKET_VERSION): Likewise.
11909         (PACKET_HDRLEN): Likewise.
11910         (PACKET_RESERVE): Likewise.
11911         (PACKET_TX_RING): Likewise.
11912         (PACKET_LOSS): Likewise.
11913         (PACKET_VNET_HDR): Likewise.
11914         (PACKET_TX_TIMESTAMP): Likewise.
11915         (PACKET_TIMESTAMP): Likewise.
11916         (PACKET_FANOUT): Likewise.
11917         (PACKET_TX_HAS_OFF): Likewise.
11918         (PACKET_QDISC_BYPASS): Likewise.
11919         (PACKET_ROLLOVER_STATS): Likewise.
11920         (PACKET_FANOUT_DATA): Likewise.
11921         (PACKET_MR_UNICAST): Likewise.
11923         [BZ #19242]
11924         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
11925         (TOUPPER): Likewise.
11926         * stdlib/tst-strtol-locale-main.c: New file.
11927         * stdlib/tst-strtol-locale.c: Likewise.
11928         * stdlib/Makefile (tests): Add tst-strtol-locale.
11929         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
11930         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
11931         Depend on $(gen-locales).
11932         * wcsmbs/tst-wcstol-locale.c: New file.
11933         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
11934         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
11935         tr_TR.ISO-8859-9.
11936         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
11937         Depend on $(gen-locales).
11939 2015-11-20  Roland McGrath  <roland@hack.frob.com>
11941         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
11942         __glibc_likely instead of __builtin_expect.  After falling back to
11943         dyncode_create in a non-ET_DYN case, use the allocate_code_data
11944         system interface to register the code pages as occupied.
11946 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
11948         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11949         [!ARM_MATH_PRIVATE_H].
11950         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
11951         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11952         [!HPPA_MATH_PRIVATE_H].
11953         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
11954         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
11955         to [!I386_MATH_PRIVATE_H].
11956         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
11957         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
11958         Change guard to [!M68K_MATH_PRIVATE_H].
11959         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
11960         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
11961         guard to [!MICROBLAZE_MATH_PRIVATE_H].
11962         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
11963         macro.
11964         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11965         [!MIPS_MATH_PRIVATE_H].
11966         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
11967         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11968         [!NIO2_MATH_PRIVATE_H].
11969         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
11970         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11971         [!TILE_MATH_PRIVATE_H].
11972         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
11974         [BZ #15421]
11975         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
11976         initialize with 0 and define as weak alias of __signgam.
11977         * include/math.h [!_ISOMAC] (__signgam): Declare.
11978         * math/Makefile (libm-calls): Add w_lgamma_compat.
11979         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
11980         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
11981         test-signgam-ullong-init.
11982         (tests-static): Add test-signgam-uchar-static,
11983         test-signgam-uchar-init-static, test-signgam-uint-static,
11984         test-signgam-uint-init-static, test-signgam-ullong-static and
11985         test-signgam-ullong-init-static.
11986         (CFLAGS-test-signgam-uchar.c): New variable.
11987         (CFLAGS-test-signgam-uchar-init.c): Likewise.
11988         (CFLAGS-test-signgam-uchar-static.c): Likewise.
11989         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
11990         (CFLAGS-test-signgam-uint.c): Likewise.
11991         (CFLAGS-test-signgam-uint-init.c): Likewise.
11992         (CFLAGS-test-signgam-uint-static.c): Likewise.
11993         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
11994         (CFLAGS-test-signgam-ullong.c): Likewise.
11995         (CFLAGS-test-signgam-ullong-init.c): Likewise.
11996         (CFLAGS-test-signgam-ullong-static.c): Likewise.
11997         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
11998         * math/Versions (libm): Add GLIBC_2.23.
11999         * math/lgamma-compat.h: New file.
12000         * math/test-signgam-main.c: Likewise.
12001         * math/test-signgam-uchar-init-static.c: Likewise.
12002         * math/test-signgam-uchar-init.c: Likewise.
12003         * math/test-signgam-uchar-static.c: Likewise.
12004         * math/test-signgam-uchar.c: Likewise.
12005         * math/test-signgam-uint-init-static.c: Likewise.
12006         * math/test-signgam-uint-init.c: Likewise.
12007         * math/test-signgam-uint-static.c: Likewise.
12008         * math/test-signgam-uint.c: Likewise.
12009         * math/test-signgam-ullong-init-static.c: Likewise.
12010         * math/test-signgam-ullong-init.c: Likewise.
12011         * math/test-signgam-ullong-static.c: Likewise.
12012         * math/test-signgam-ullong.c: Likewise.
12013         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
12014         wrapper of w_lgamma_main.c.
12015         * math/w_lgamma_compat.c: New file.
12016         * math/w_lgamma_compatf.c: Likewise.
12017         * math/w_lgamma_compatl.c: Likewise.
12018         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
12019         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
12020         defining compatibility symbols.
12021         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
12022         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
12023         wrapper of w_lgammaf_main.c.
12024         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
12025         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
12026         defining compatibility symbols.
12027         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
12028         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
12029         wrapper of w_lgammal_main.c.
12030         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
12031         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
12032         defining compatibility symbols.
12033         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
12034         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
12035         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
12036         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
12037         <lgamma-compat.h>.
12038         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
12039         (__ieee754_gamma): Define as alias.
12040         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
12041         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
12042         <lgamma-compat.h>.
12043         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
12044         (__ieee754_gammaf): Define as alias.
12045         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
12046         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
12047         <lgamma-compat.h>.
12048         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
12049         (__ieee754_gammal): Define as alias.
12050         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
12051         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
12052         <math/w_lgamma_compat.c>.
12053         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
12054         Define as alias of __lgamma_compat and use in defining lgammal.
12055         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
12056         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
12057         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
12058         (USE_AS_COMPAT): New macro.
12059         (LGAMMA_OLD_VER): Undefine and redefine.
12060         (lgammal): Do not define here.
12061         (gammal): Only define here if [GAMMA_ALIAS].
12062         * conform/linknamespace.pl (@whitelist): Remove signgam.
12063         * sysdeps/nacl/libm.abilist: Update.
12064         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12065         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12066         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12067         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12068         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12069         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12070         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12071         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12072         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12073         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12074         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12075         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12077         Likewise.
12078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12079         Likewise.
12080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12081         Likewise.
12082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12083         Likewise.
12084         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12085         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12086         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12087         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12088         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12090         Likewise.
12091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12092         Likewise.
12093         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12094         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12095         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12097 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12099         [BZ #16364]
12100         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
12101         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
12103 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12105         * sysdeps/s390/fpu/bits/mathinline.h:
12106         Use __asm__ [__volatile__] instead of asm [volatile].
12107         * sysdeps/s390/abort-instr.h: Likewise.
12108         * sysdeps/s390/atomic-machine.h: Likewise.
12109         * sysdeps/s390/bits/string.h: Likewise.
12110         * sysdeps/s390/dl-tls.h: Likewise.
12111         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12112         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12113         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12114         * sysdeps/s390/fpu/fesetround.c: Likewise.
12115         * sysdeps/s390/fpu/fpu_control.h: Likewise.
12116         * sysdeps/s390/fpu/s_fma.c: Likewise.
12117         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
12118         * sysdeps/s390/memusage.h: Likewise.
12119         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
12120         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
12121         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
12122         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
12123         * sysdeps/s390/nptl/tls.h: Likewise.
12124         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
12125         * sysdeps/s390/s390-32/backtrace.c: Likewise.
12126         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12127         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
12128         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12129         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
12130         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
12131         * sysdeps/s390/s390-64/backtrace.c: Likewise.
12132         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12133         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
12134         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
12135         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12136         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
12137         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
12138         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12139         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12140         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
12141         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12142         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
12143         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12144         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
12145         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12146         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
12148 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12149             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12151         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
12152         Add lwarx hint, and use macro for acquire instruction.
12153         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12154         Likewise.
12155         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
12156         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
12157         update to use new atomic macros.
12159 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12161         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12162         (__lll_trylock_elision): Fix setting of adapt_count.
12163         * sysdeps/unix/sysv/linux/powerpc/htm.h
12164         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
12165         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
12166         (_ABORT_SYSCALL): Renumber, and clarify definition.
12167         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
12169 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12171         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
12172         after system headers to prevent MIN/MAX redefinition.  Define
12173         HAVE_ALLOCA to preserve builtin alloca usage.
12175 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
12177         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
12178         static and don't set or restore rounding.
12179         (__cos)[IN_SINCOS]: Likewise.
12180         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
12181         (__sincos): Set and restore rounding mode.  Remove check for infinite
12182         or NaN input.
12184         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
12186         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
12187         as used.
12189 2015-11-16  Florian Weimer  <fweimer@redhat.com>
12191         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
12193 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
12195         * config.make.in (have-glob-dat-reloc): New.
12196         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
12197         target supports GLOB_DAT relocaton. AC_SUBST.
12198         * configure: Regenerated.
12199         * elf/Makefile (tests): Add tst-prelink.
12200         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
12201         (tst-prelink-ENV): New.
12202         ($(objpfx)tst-prelink-conflict.out): Likewise.
12203         ($(objpfx)tst-prelink-cmp.out): Likewise.
12204         * sysdeps/x86/tst-prelink.c: Moved to ...
12205         * elf/tst-prelink.c: Here.
12206         * sysdeps/x86/tst-prelink.exp: Moved to ...
12207         * elf/tst-prelink.exp: Here.
12208         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
12209         (tst-prelink-ENV): Removed.
12210         ($(objpfx)tst-prelink-conflict.out): Likewise.
12211         ($(objpfx)tst-prelink-cmp.out): Likewise.
12212         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
12214 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
12216         [BZ #14551]
12217         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
12218         (__mpn_construct_long_double): If high part overflows to infinity,
12219         set errno and recompute overflowed result of the correct sign.
12220         * sysdeps/ieee754/ldbl-128ibm/Makefile
12221         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
12222         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
12223         $(libm).
12224         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
12226 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
12228         [BZ #15479]
12229         [BZ #19238]
12230         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
12231         floating-point state after first operation on input.  Restore full
12232         state rather than just rounding mode.
12233         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
12234         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
12235         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
12237         [BZ #19235]
12238         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
12239         add 0.5 to integer arguments.
12240         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
12241         Likewise.
12242         (.LC2): New object.
12244 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
12246         * scripts/pylintrc (reports): Set to no.
12248 2015-11-10  Roland McGrath  <roland@hack.frob.com>
12250         * elf/dl-load.c (open_verify): Take new argument FD.
12251         Skip __open call if passed FD is not -1.
12252         (_dl_map_object, open_path): Update callers.
12253         * elf/dl-sysdep-open.h: New file.
12254         * elf/dl-load.c: Include it.
12255         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
12256         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
12257         * sysdeps/nacl/dl-sysdep-open.h: New file.
12258         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
12259         from libc to rtld.
12261 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
12263         [BZ #19228]
12264         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
12265         and restore full floating-point state.
12266         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12267         Likewise.
12268         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
12269         Likewise.
12270         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
12271         Likewise.
12272         * math/test-nearbyint-except-2.c: New file.
12273         * math/Makefile (tests): Add test-nearbyint-except-2.
12275 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
12277         [BZ #19178]
12278         * sysdeps/x86/Makefile (tests): Add tst-prelink.
12279         (tst-prelink-ENV): New.
12280         ($(objpfx)tst-prelink-conflict.out): Likewise.
12281         ($(objpfx)tst-prelink-cmp.out): Likewise.
12282         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
12283         * sysdeps/x86/tst-prelink.c: New file.
12284         * sysdeps/x86/tst-prelink.exp: Likewise.
12286 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
12288         * math/auto-libm-test-in: Add another test of pow.
12289         * math/auto-libm-test-out: Regenerated.
12290         * math/libm-test.inc (pow_test_data): Add another test.
12292 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12294         [BZ #19219]
12295         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
12296         weak_alias to nearbyintl.
12298 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
12300         * sysdeps/aarch64/bits/string.h: New file.
12301         (_STRING_ARCH_unaligned): Define.
12303 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
12305         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
12306         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
12307         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
12308         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
12309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
12311 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
12313         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
12314         for original name of the DSO.  Add it to the name list of the DSO
12315         if it is actually given.
12316         (_dl_map_object): Keep track of whether an audit module rewrote
12317         the file name.  If yes, pass the original name to
12318         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
12319         debugging is enabled, log the change of the file name.
12320         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
12321         _dl_map_object_from_fd.
12322         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
12323         * elf/tst-audit11.c: New file
12324         * elf/tst-auditmod11.c: New file.
12325         * elf/tst-audit11mod1.c: New file.
12326         * elf/tst-audit11mod2.c: New file.
12327         * elf/tst-audit11mod2.map: New file.
12328         * elf/tst-audit12.c: New file
12329         * elf/tst-auditmod12.c: New file.
12330         * elf/tst-audit12mod1.c: New file.
12331         * elf/tst-audit12mod2.c: New file.
12332         * elf/tst-audit12mod2.map: New file.
12333         * elf/tst-audit12mod3.c: New file.
12335 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
12337         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
12338         Don't create weak aliases,
12339         because versioned symbols are created later.
12340         * sysdeps/s390/s390-32/setjmp.S
12341         (setjmp, _setjmp): Remove weak and rename to an unique name
12342         in SHARED case due to existing versioned symbols.
12343         * sysdeps/s390/s390-64/setjmp.S: Likewise.
12344         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
12345         (getcontext): Create weak alias only in non SHARED case.
12346         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12348 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
12350         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
12351         (__ASSUME_*_SYSCALL) Define new macros.
12352         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
12353         Remove socketcall syscalls.
12354         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
12355         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
12356         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
12357         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
12358         * sysdeps/unix/sysv/linux/send.c (__libc_send):
12359         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
12361 2015-11-09  Florian Weimer  <fweimer@redhat.com>
12363         [BZ #12926]
12364         Terminate process on invalid netlink response.
12365         * sysdeps/unix/sysv/linux/netlinkaccess.h
12366         (__netlink_assert_response): Declare.
12367         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
12368         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
12369         (sysdep_routines): Add netlink_assert_response.
12370         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
12371         __netlink_assert_response.
12372         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
12373         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
12374         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
12375         __netlink_assert_response.
12377 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
12379         [BZ #19178]
12380         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
12381         (RTYPE_CLASS_PLT): Likewise.
12382         (RTYPE_CLASS_COPY): Likewise.
12383         (RTYPE_CLASS_TLS): Likewise.
12384         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
12385         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
12386         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
12387         DL_DEBUG_PRELINK.
12389 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
12391         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
12392         calls with argument -0.5.
12393         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
12395         * configure.ac (libc_cv_z_nodelete): Remove configure test.
12396         (libc_cv_z_nodlopen): Likewise.
12397         (libc_cv_z_initfirst): Likewise.
12398         * configure: Regenerated.
12400 2015-11-06  Florian Weimer  <fweimer@redhat.com>
12402         Simplify abilist format to be line-based.
12403         * scripts/abilist.awk: Collect descriptors in the descs variable.
12404         (emit): Write descs variable and sort it
12405         externally, with sort.
12406         * sysdeps/**/*.abilist: Convert to new format.
12408 2015-11-06  Mark Wielaard  <mjw@redhat.com>
12410         [BZ #11460]
12411         * io/Makefile (routines): Add fts64.
12412         (tests): Add tst-fts and tst-fts-lfs.
12413         (CFLAGS-fts64.c): New.
12414         * io/Versions (GLIBC_2.23): New.
12415         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
12416         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
12417         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
12418         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
12419         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
12420         (FTSENT64): Likewise.
12421         (fts64_children): Likewise.
12422         (fts64_close): Likewise.
12423         (fts64_open): Likewise.
12424         (fts64_read): Likewise.
12425         (fts64_set): Likewise.
12426         * io/fts64.c: New file.
12427         * io/tst-fts.c: New test.
12428         * io/tst-fts-lfs.c: Likewise.
12429         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
12430         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
12431         fts64_set.
12432         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12433         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12434         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12435         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12436         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12437         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12438         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12439         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12440         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12441         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12442         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12443         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12444         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12446         Likewise.
12447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12448         Likewise.
12449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12451         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12452         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12453         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12454         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12455         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12458         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12459         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12460         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12461         * sysdeps/wordsize-64/fts.c: New file.
12462         * sysdeps/wordsize-64/fts64.c: Likewise.
12463         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
12464         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
12465         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
12466         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
12468 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
12470         * math/libm-test.inc (NON_FINITE): New macro.
12471         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
12472         * math/gen-libm-test.pl (show_exceptions): Add argument
12473         $non_finite.
12474         (parse_args): Update call to show_exceptions.
12475         * math/test-math-finite.h: New file.
12476         * math/test-math-no-finite.h: Likewise.
12477         * math/test-double-finite.c: Likewise.
12478         * math/test-float-finite.c: Likewise.
12479         * math/test-ldouble-finite.c: Likewise.
12480         * math/test-double.c: Include "test-math-no-finite.h".
12481         * math/test-float.c: Include "test-math-no-finite.h".
12482         * math/test-ldouble.c: Include "test-math-no-finite.h".
12483         * math/test-math-inline.h (TEST_FINITE): New macro.
12484         * math/test-math-vector.h (TEST_FINITE): Likewise.
12485         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
12486         (libm-tests): Add test-float-finite and test-double-finite.
12487         ($(objpfx)test-float-finite.o): New dependency on
12488         $(objpfx)libm-test.stmp.
12489         ($(objpfx)test-double-finite.o): Likewise.
12490         ($(objpfx)test-ldouble-finite.o): Likewise.
12491         (libm-test-no-inline-cflags): New variable.
12492         (libm-test-finite-cflags): Likewise.
12493         (CFLAGS-test-float-finite.c): Likewise.
12494         (CFLAGS-test-double-finite.c): Likewise.
12495         (CFLAGS-test-ldouble-finite.c): Likewise.
12496         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
12497         (CFLAGS-test-double.c): Likewise.
12498         (CFLAGS-test-ldouble.c): Likewise.
12500 2015-11-05  Roland McGrath  <roland@hack.frob.com>
12502         * io/fcntl.c (__fcntl): Add ... to prototype.
12503         * misc/ioctl.c (__ioctl): Likewise.
12504         * misc/syscall.c (syscall): Likewise.
12506 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
12508         * scripts/list-fixed-bugs.py: New file.
12510         [BZ #19213]
12511         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
12512         returned for argument 1.
12513         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
12514         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
12515         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
12516         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
12517         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
12518         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
12520         [BZ #19211]
12521         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
12522         __USE_XOPEN], not if [!__USE_ISOC99].
12523         (lgammaf): Likewise.
12524         (lgammal): Likewise.
12525         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
12526         (gammaf): Likewise.
12527         (gammal): Likewise.
12528         * math/test-signgam-finite-c11.c: New file.
12529         * math/test-signgam-finite-c99.c: Likewise.
12530         * math/test-signgam-finite.c: Likewise.
12531         * math/Makefile (tests): Add test-signgam-finite,
12532         test-signgam-finite-c99 and test-signgam-finite-c11.
12533         (CFLAGS-test-signgam-finite.c): New variable.
12534         (CFLAGS-test-signgam-finite-c99.c): Likewise.
12535         (CFLAGS-test-signgam-finite-c11.c): Likewise.
12537         [BZ #19212]
12538         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
12539         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
12540         500].
12541         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
12542         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
12543         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
12544         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
12545         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
12546         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
12547         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
12548         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
12549         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
12550         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
12552         [BZ #19209]
12553         * math/bits/math-finite.h (ldexp): Remove declaration.
12554         (ldexpf): Likewise.
12555         (ldexpl): Likewise.
12557         [BZ #19205]
12558         * math/bits/math-finite.h (acosf): Condition declaration on
12559         [__USE_ISOC99].
12560         (acosl): Likewise.
12561         (acoshf): Likewise.
12562         (acoshl): Likewise.
12563         (asinf): Likewise.
12564         (asinl): Likewise.
12565         (atan2f): Likewise.
12566         (atan2l): Likewise.
12567         (atanhf): Likewise.
12568         (atanhl): Likewise.
12569         (coshf): Likewise.
12570         (coshl): Likewise.
12571         (expf): Likewise.
12572         (expl): Likewise.
12573         (fmodf): Likewise.
12574         (fmodl): Likewise.
12575         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
12576         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
12577         (j0l): Likewise.
12578         (y0f): Likewise.
12579         (y0l): Likewise.
12580         (j1f): Likewise.
12581         (j1l): Likewise.
12582         (y1f): Likewise.
12583         (y1l): Likewise.
12584         (jnf): Likewise.
12585         (jnl): Likewise.
12586         (ynf): Likewise.
12587         (ynl): Likewise.
12588         (lgammaf_r): Condition declaration on [__USE_ISOC99].
12589         (lgammal_r): Likewise.
12590         (__lgamma_r_finite): New declaration.
12591         (__lgammaf_r_finite): Likewise.
12592         (__lgammal_r_finite): Likewise.
12593         (lgamma): Use __lgamma_r_finite.
12594         (lgammaf): Condition definition on [__USE_ISOC99].  Use
12595         __lgammaf_r_finite.
12596         (lgammal): Condition definition on [__USE_ISOC99].  Use
12597         __lgammal_r_finite.
12598         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
12599         __lgamma_r_finite.
12600         (gammaf): Condition definition on [__USE_ISOC99].  Use
12601         __lgammaf_r_finite.
12602         (gammal): Condition definition on [__USE_ISOC99].  Use
12603         __lgammal_r_finite.
12604         (logf): Condition declaration on [__USE_ISOC99].
12605         (logl): Likewise.
12606         (log10f): Likewise.
12607         (log10l): Likewise.
12608         (ldexpf): Likewise.
12609         (ldexpl): Likewise.
12610         (powf): Likewise.
12611         (powl): Likewise.
12612         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
12613         __USE_ISOC99].
12614         (remainderf): Condition declaration on [__USE_ISOC99].
12615         (remainderl): Likewise.
12616         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
12617         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
12618         (scalbl): Likewise.
12619         (sinhf): Condition declaration on [__USE_ISOC99].
12620         (sinhl): Likewise.
12621         (sqrtf): Likewise.
12622         (sqrtl): Likewise.
12624 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
12626         * sysdeps/arm/atomic-machine.h
12627         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
12628         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
12629         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
12630         Remove conditional code.
12631         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
12632         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
12633         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
12634         Change conditional to [__ASSEMBLER__].
12635         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
12636         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
12637         [!__ASSEMBLER__].
12638         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
12639         code.
12640         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
12641         conditional macro definitions.
12642         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
12643         (__arch_compare_and_exchange_val_16_acq): Likewise.
12644         (__arch_compare_and_exchange_val_32_acq): Likewise.
12645         (atomic_exchange_and_add): Likewise.
12646         (atomic_add): Likewise.
12647         (atomic_add_negative): Likewise.
12648         (atomic_add_zero): Likewise.
12649         (atomic_bit_set): Likewise.
12650         (atomic_bit_test_set): Likewise.
12651         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
12652         code unconditional.
12653         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12655         * math/test-math-errno.h: New file.
12656         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
12657         empty.
12658         (TEST_ERRNO): New macro.
12659         (TEST_EXCEPTIONS): Likewise.
12660         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
12661         (TEST_EXCEPTIONS): Likewise.
12662         * math/test-math-vector.h (TEST_ERRNO): Likewise.
12663         * math/test-double.c: Include "test-math-errno.h".
12664         * math/test-float.c: Likewise.
12665         * math/test-ldouble.c: Likewise.
12666         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
12667         code unconditional.
12668         (test_exceptions): Only run code if TEST_EXCEPTIONS.
12669         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
12670         unconditional.
12671         (test_errno): Only run code if TEST_ERRNO.
12672         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
12674 2015-11-04  Florian Weimer  <fweimer@redhat.com>
12676         * nptl/tst-once5.cc: Remove attribution.
12678 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
12680         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
12681         sqrt, tan, tanh, y0, y1 and yn.
12682         * math/auto-libm-test-out: Regenerated.
12683         * math/libm-test.inc (scalb_test_data): Add more tests.
12684         (scalbn_test_data): Likewise.
12685         (scalbln_test_data): Likewise.
12686         (signbit_test_data): Likewise.
12687         (sin_test_data): Likewise.
12688         (sincos_test_data): Likewise.
12689         (sinh_test_data): Likewise.
12690         (sqrt_test_data): Likewise.
12691         (tan_test_data): Likewise.
12692         (tanh_test_data): Likewise.
12693         (tgamma_test_data): Likewise.
12694         (y0_test_data): Likewise.
12695         (y1_test_data): Likewise.
12696         (yn_test_data): Likewise.
12697         (significand_test_data): Likewise.
12698         * sysdeps/i386/fpu/libm-test-ulps: Update.
12700 2015-11-03  David Kastrup  <dak@gnu.org>
12702         [BZ #18604]
12703         * assert/assert.h (assert): Don't macro-expand failed assertion
12704         expression in error message.
12705         * malloc/malloc.c (assert): Likewise.
12707 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
12709         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
12710         test.
12711         * configure: Regenerated.
12713 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
12715         * math/libm-test.inc (modf_test_data): Add more tests.
12716         (nearbyint_test_data): Likewise.
12717         (nextafter_test_data): Likewise.
12718         (nexttoward_test_data): Likewise.
12719         (pow_test_data): Likewise.
12720         (remainder_test_data): Likewise.
12721         (remquo_test_data): Likewise.
12722         (rint_test_data): Likewise.
12724         [BZ #19201]
12725         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12726         Check for zero remainder in case of large exponents and ensure
12727         correct sign of result in that case.
12728         * math/libm-test.inc (remainder_test_data): Add more tests.
12730         [BZ #6799]
12731         * math/s_nextafter.c: Include <errno.h>.
12732         (__nextafter): Set errno on overflow and underflow.
12733         * math/s_nexttowardf.c: Include <errno.h>.
12734         (__nexttowardf): Set errno on overflow and underflow.
12735         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
12736         (__nextafterl): Set errno on overflow and underflow.
12737         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
12738         (__nexttoward): Set errno on overflow and underflow.
12739         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
12740         (__nexttowardf): Set errno on overflow and underflow.
12741         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
12742         (__nextafterf): Set errno on overflow and underflow.
12743         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
12744         (__nextafterl): Set errno on overflow and underflow.
12745         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
12746         (__nexttoward): Set errno on overflow and underflow.
12747         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
12748         (__nexttowardf): Set errno on overflow and underflow.
12749         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
12750         (__nextafterl): Set errno on overflow and underflow.
12751         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
12752         (__nexttoward): Set errno on overflow and underflow.
12753         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
12754         (__nexttowardf): Set errno on overflow and underflow.
12755         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
12756         (__nexttoward): Set errno on overflow and underflow.
12757         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
12758         (__nexttowardf): Set errno on overflow and underflow.
12759         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
12760         (__nldbl_nexttowardf): Set errno on overflow and underflow.
12761         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
12762         (__nextafterl): Set errno on overflow and underflow.
12763         * math/libm-test.inc (nextafter_test_data): Do not allow errno
12764         setting to be missing on overflow.  Add more tests.
12765         (nexttoward_test_data): Likewise.
12767         * configure.ac (libc_cv_initfini_array): Remove configure test.
12768         * configure: Regenerated.
12770 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
12772         [BZ #19189]
12773         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
12774         non-finite argument handle arguments with negative sign.
12776         * math/libm-test.inc (j0_test_data): Do not test sign of zero
12777         result from infinite argument.
12778         (j1_test_data): Likewise.
12779         (jn_test_data): Likewise.
12780         (y0_test_data): Likewise.
12781         (y1_test_data): Likewise.
12782         (yn_test_data): Likewise.
12784         [BZ #16171]
12785         * math/w_remainder.c (drem): Define as weak alias of __remainder.
12786         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
12787         * math/w_remainderf.c (dremf): Define as weak alias of
12788         __remainderf.
12789         * math/w_remainderl.c (dreml): Define as weak alias of
12790         __remainderl.
12791         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
12792         __remainder.
12793         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
12794         __remainderf.
12795         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
12796         __remainderl.
12797         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
12798         weak alias of remainderl.
12799         * sysdeps/ieee754/ldbl-opt/w_remainder.c
12800         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
12801         alias of __remainder.
12802         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
12803         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
12804         strong alias of __remainderl.
12805         (dreml): Use long_double_symbol.
12806         * math/Makefile (libm-calls): Remove w_drem.
12807         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
12808         (CFLAGS-nldbl-drem.c): Remove variable.
12809         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
12810         * math/w_drem.c: Remove file.
12811         * math/w_dremf.c: Likewise.
12812         * math/w_dreml.c: Likewise.
12813         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
12814         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
12815         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
12817         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
12818         * sysdeps/i386/configure: Regenerated.
12819         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
12820         * sysdeps/x86_64/configure: Regenerated.
12822         * configure.ac (libc_cv_asm_protected_directive): Remove configure
12823         test.
12824         (libc_cv_visibility_attribute): Likewise.
12825         (libc_cv_protected_data): Test unconditionally.
12826         (libc_cv_broken_visibility_attribute): Remove configure test.
12827         (libc_cv_have_sdata_section): Test unconditionally.
12828         * configure: Regenerated.
12830         * include/libc-internal.h (libc_max_align_t): Remove typedef.
12831         * include/scratch_buffer.h: Include <stddef.h> instead of
12832         <libc-internal.h>.
12833         (struct scratch_buffer): Use max_align_t instead of
12834         libc_max_align_t.
12836 2015-10-29  Florian Weimer  <fweimer@redhat.com>
12838         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
12839         instead of extend_alloca.  Change control flow to avoid a goto.
12840         Remove assert which is trivially always true.
12842 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
12844         [BZ #16068]
12845         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
12846         (FE_ALL_EXCEPT_X86): New macro.
12847         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
12848         FE_ALL_EXCEPT.  Ensure precision control is included in
12849         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
12850         handle "denormal operand exception" and clear FZ and DAZ bits.
12851         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
12852         (FE_ALL_EXCEPT_X86): New macro.
12853         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
12854         FE_ALL_EXCEPT.  Ensure precision control is included in
12855         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
12856         handle "denormal operand exception" and clear FZ and DAZ bits.
12857         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
12858         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
12859         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12860         test-fenv-x87 and test-fenv-sse-2.
12861         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
12863         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
12864         * math/test-double.h (BUILD_COMPLEX): New macro.
12865         * math/test-float.h (BUILD_COMPLEX): Likewise.
12866         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
12868         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
12869         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
12870         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
12871         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
12872         instead of DBL_DENORM_MIN in comment.
12873         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
12874         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
12875         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
12876         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
12877         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
12878         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
12880 2015-10-28  Florian Weimer  <fweimer@redhat.com>
12882         [BZ# 19048]
12883         * malloc/malloc.c (struct malloc_state): Update comment.  Add
12884         attached_threads member.
12885         (main_arena): Initialize attached_threads.
12886         * malloc/arena.c (list_lock): Update comment.
12887         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
12888         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
12889         (deattach_arena): New function.
12890         (_int_new_arena): Initialize arena reference count and deattach
12891         replaced arena.
12892         (get_free_list, reused_arena): Update reference count and deattach
12893         replaced arena.
12894         (arena_thread_freeres): Update arena reference count and only put
12895         unreferenced arenas on the free list.
12897 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
12899         [BZ #19181]
12900         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
12901         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
12902         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
12903         * math/test-fenv-clear-main.c: New file.
12904         * math/test-fenv-clear.c: Likewise.
12905         * math/Makefile (tests): Add test-fenv-clear.
12906         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
12907         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12908         test-fenv-clear-sse.
12909         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
12911         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
12912         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
12913         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
12915 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12917         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
12918         static libc.
12920 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
12922         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
12923         test.
12924         * sysdeps/i386/configure: Regenerated.
12925         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
12926         test.
12927         * sysdeps/x86_64/configure: Regenerated.
12928         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
12929         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12930         memset-avx2 unconditionally instead of conditionally on
12931         [$(config-cflags-avx2) = yes].
12932         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12933         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
12934         unconditional.
12935         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
12936         * sysdeps/x86_64/multiarch/memset_chk.S
12937         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
12938         to [IS_IN (libc) && SHARED].
12940 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12942         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
12943         configure test.
12944         * sysdeps/arm/configure: Regenerated.
12945         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
12946         Define variable if not already defined.
12948         [BZ #17404]
12949         * sysdeps/mips/atomic-machine.h
12950         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
12951         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
12952         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
12954         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
12955         unconditional.
12956         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
12957         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12958         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
12959         unconditional.
12960         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12961         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
12962         unconditional.
12963         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12964         * stdlib/setenv.c
12965         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
12966         code unconditional.
12967         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
12968         Remove conditional code.
12969         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
12970         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
12971         unconditional.
12972         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12973         code.
12974         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
12975         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
12976         unconditional.
12977         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12978         code.
12979         * sysdeps/ieee754/ldbl-128/k_tanl.c
12980         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12981         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12982         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
12983         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12984         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12985         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
12986         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
12987         unconditional.
12988         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12989         code.
12990         * sysdeps/ieee754/ldbl-96/k_tanl.c
12991         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12992         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12994         * nptl/tst-initializers1-c11.c: New file.
12995         * nptl/tst-initializers1-gnu11.c: Likewise.
12996         * nptl/Makefile (tests): Add these new tests.
12997         (CFLAGS-tst-initializers1-c11.c): New variable.
12998         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
13000         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
13001         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
13002         instead of -std=gnu99.
13003         * configure.ac (systemtap): Test with -std=gnu11 instead of
13004         -std=gnu99.
13005         * configure: Regenerated.
13006         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
13007         in compilation command in comment.
13009         * sysdeps/nptl/configure.ac: Remove file.
13010         * sysdeps/nptl/configure: Remove generated file.
13011         * configure.ac (libc_cv_forced_unwind): Do not substitute.
13012         * configure: Regenerated.
13013         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
13014         * config.make.in (have-forced-unwind): Remove variable.
13015         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
13016         unconditional.
13017         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
13018         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
13019         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
13020         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
13021         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
13022         unconditional.
13024 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13026         [BZ #19174]
13027         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
13028         .skip_lock_out_of_tbegin_retries.
13029         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13030         (__lll_lock_elision): Likewise, and respect a value of
13031         try_tbegin <= 0.
13033 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13035         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
13036         statement.
13038 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
13040         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
13041         variable.
13042         (test-xfail-ISO11/stdalign.h/conform): Likewise.
13043         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13045         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
13046         of -std=c1x -D_ISOC11_SOURCE.
13048         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
13049         * configure: Regenerated.
13050         * manual/install.texi (Tools for Compilation): Document
13051         requirement for GCC 4.7 or later.
13052         * INSTALL: Regenerated.
13054 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
13056         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
13057         on CNT to a conditional jump to 'puntdata'.
13059 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
13061         * configure.ac (libc_cv_gcc___thread): Remove configure test.
13062         (libc_cv_gcc_tls_model_attr): Likewise.
13063         * configure: Regenerated.
13065         * configure.ac (libc_cv_need_minus_P): Remove configure test.
13066         * configure: Regenerated.
13067         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
13069 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
13071         * configure.ac (old_glibc_headers): Remove configure test.
13072         * configure: Regenerated.
13073         * config.make.in (old-glibc-headers): Remove variable.
13074         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
13075         (install): Remove dependency on remove-old-headers.
13076         (headers2_0): Remove variable.
13077         (remove-old-headers): Remove rule.
13079         * configure.ac (libc_cv_dot_text): Remove configure test.
13080         (libc_cv_asm_set_directive): Use .text instead of
13081         ${libc_cv_dot_text} in configure test.
13082         * configure: Regenerated.
13084 2015-10-26  Florian Weimer  <fweimer@redhat.com>
13086         [BZ #19168]
13087         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13089 2015-10-26  Florian Weimer  <fweimer@redhat.com>
13091         * configure.ac (CXX): Clear the variable if the C++ toolchain does
13092         not support static linking.
13093         * configure: Regenerate.
13095 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
13097         * math/libm-test.inc (check_float_internal): Do not special-case
13098         errors up to 0.5 ulp.
13100         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
13101         log2.
13102         * math/auto-libm-test-out: Regenerated.
13103         * math/libm-test.inc (MAX_EXP): New macro.
13104         (ilogb_test_data): Add more tests.
13105         (isfinite_test_data): Likewise.
13106         (isgreater_test_data): Likewise.
13107         (isgreaterequal_test_data): Likewise.
13108         (isinf_test_data): Likewise.
13109         (isless_test_data): Likewise.
13110         (islessequal_test_data): Likewise.
13111         (islessgreater_test_data): Likewise.
13112         (isnan_test_data): Likewise.
13113         (isnormal_test_data): Likewise.
13114         (issignaling_test_data): Likewise.
13115         (isunordered_test_data): Likewise.
13116         (j0_test_data): Likewise.
13117         (j1_test_data): Likewise.
13118         (jn_test_data): Likewise.
13119         (lgamma_test_data): Likewise.
13120         (log_test_data): Likewise.
13121         (log10_test_data): Likewise.
13122         (log1p_test_data): Likewise.
13123         (log2_test_data): Likewise.
13124         (logb_test_data): Likewise.
13125         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13127         [BZ #18611]
13128         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
13129         avoid excess range and precision on underflow.
13130         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13131         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
13132         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13133         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
13134         underflow.
13135         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13136         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13137         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
13138         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13139         * math/auto-libm-test-in: Do not allow missing errno setting for
13140         tests of j1 and jn.
13141         * math/auto-libm-test-out: Regenerated.
13143 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
13145         [BZ #15491]
13146         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
13147         floating-point environment instead of clearing all exceptions.
13148         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13149         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
13150         merging in "invalid" exceptions from frndint.
13151         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13152         * math/test-nearbyint-except.c: New file.
13153         * math/Makefile (tests): Add test-nearbyint-except.
13155 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
13157         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
13159         * sysdeps/tile/libm-test-ulps: Regenerated.
13161 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
13164         (__NR_sync_file_range2): Assume it is always defined.
13165         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
13166         (__NR_sync_file_range): Assume it is always defined.
13168 2015-10-22  Andreas Schwab  <schwab@suse.de>
13170         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
13171         INTERNAL_SYSCALL_ERRNO.
13172         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13173         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
13174         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13175         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
13176         Likewise.
13177         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13179 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
13181         * io/tst-fcntl.c (fd): New static variable.
13182         (do_prepare): Open temporary file here....
13183         (do_test): ...not here.
13185         * io/ftwtest-sh: Also trap on exit to remove temporary files.
13187 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
13189         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
13190         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
13191         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
13192         Moved before "#ifdef __ASSEMBLER__".
13194 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
13196         [BZ #19156]
13197         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
13198         arguments very close to 0.
13200 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
13202         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
13203         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
13205 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
13207         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
13208         New.  Defined for GCC 5 and above when not compiling for
13209         profiling.
13210         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
13212         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
13213         Renamed to ...
13214         (CFLAGS-epoll_pwait.o): This.
13215         (CFLAGS-mmap.c): Renamed to ...
13216         (CFLAGS-mmap.o): This.
13217         (CFLAGS-mmap64.c): Renamed to ...
13218         (CFLAGS-mmap64.o): This.
13219         (CFLAGS-epoll_pwait.os): New.
13220         (CFLAGS-mmap.os): Likewise.
13221         (CFLAGS-mmap64.os): Likewise.
13222         (CFLAGS-semtimedop.os): Likewise.
13223         (CFLAGS-semtimedop.c): Renamed to ...
13224         (CFLAGS-semtimedop.o): This.
13226 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13228         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
13229         warning message.
13231 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
13233         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
13234         * Makefile ($(objpfx)c++-types-check.out): Filter out
13235         $(+gccwarn-c) instead of -Wstrict-prototypes.
13237         * io/fts.c (fts_open): Convert to prototype-style function
13238         definition.
13239         * malloc/mcheck.c (mcheck): Likewise.
13240         (mcheck_pedantic): Likewise.
13241         * posix/regexec.c (re_search_2_stub): Likewise.  Use
13242         internal_function.
13243         (re_search_internal): Likewise.
13244         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
13245         prototype-style function definition.
13246         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
13247         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
13248         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
13249         (xdr_utmpptr): Likewise.
13250         (xdr_utmparr): Likewise.
13251         (xdr_utmpidle): Likewise.
13252         (xdr_utmpidleptr): Likewise.
13253         (xdr_utmpidlearr): Likewise.
13255         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
13256         log, log10 and log2.
13257         * math/auto-libm-test-out: Regenerated.
13258         * math/libm-test.inc (fmod_test_data): Add more tests.
13259         (fpclassify_test_data): Likewise.
13260         (frexp_test_data): Likewise.
13261         (hypot_test_data): Likewise.
13262         (ilogb_test_data): Likewise.
13264 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
13266         * debug/fortify_fail.c (__fortify_fail): Convert to
13267         prototype-style function definition.  Use internal_function.
13268         * libio/genops.c (save_for_backup): Convert to prototype-style
13269         function definition.
13270         * libio/wgenops.c (save_for_wbackup): Likewise.
13271         * login/grantpt.c (grantpt): Likewise.
13272         * login/ptsname.c (ptsname): Likewise.
13273         (__ptsname_r): Likewise.
13274         * login/unlockpt.c (unlockpt): Likewise.
13275         * mach/msgserver.c (__mach_msg_server): Likewise.
13276         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
13277         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
13278         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
13279         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
13280         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
13281         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
13282         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
13283         Likewise.
13284         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
13285         internal_function.
13286         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
13287         prototype-style function definition.
13288         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
13289         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
13290         (__pthread_create_2_0): Likewise.
13291         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
13292         * nptl/register-atfork.c (__register_atfork): Likewise.
13293         * posix/glob.c (glob): Likewise.
13294         * posix/regcomp.c (re_comp): Likewise.
13295         * posix/regexec.c (re_exec): Likewise.
13296         * stdlib/add_n.c [__STDC__]: Make code unconditional.
13297         [!__STDC__]: Remove conditional code.
13298         * stdlib/cmp.c [__STDC__]: Make code unconditional.
13299         [!__STDC__]: Remove conditional code.
13300         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
13301         [!__STDC__]: Remove conditional code.
13302         * stdlib/divrem.c [__STDC__]: Make code unconditional.
13303         [!__STDC__]: Remove conditional code.
13304         * stdlib/lshift.c [__STDC__]: Make code unconditional.
13305         [!__STDC__]: Remove conditional code.
13306         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
13307         [!__STDC__]: Remove conditional code.
13308         * stdlib/mul.c [__STDC__]: Make code unconditional.
13309         [!__STDC__]: Remove conditional code.
13310         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
13311         [!__STDC__]: Remove conditional code.
13312         * stdlib/rshift.c [__STDC__]: Make code unconditional.
13313         [!__STDC__]: Remove conditional code.
13314         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
13315         function definition.
13316         (STRTOF): Likewise.
13317         * stdlib/strtod_l.c (__STRTOF): Likewise.
13318         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
13319         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
13320         (__strtol_l): Likewise.
13321         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
13322         [!__STDC__]: Remove conditional code.
13323         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
13324         definition.
13325         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
13326         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13327         type.
13328         (__strcasecmp): Convert to prototype-style function definition.
13329         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
13330         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13331         type.
13332         (__strncasecmp): Convert to prototype-style function definition.
13333         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
13334         * sunrpc/xdr.c (xdr_union): Likewise.
13335         * sunrpc/xdr_array.c (xdr_array): Likewise.
13336         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
13337         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
13338         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
13339         Likewise.
13340         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
13341         Likewise.
13342         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
13343         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13344         Likewise.
13345         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
13346         (LOCALE_PARAM_PROTO): Likewise.
13347         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
13348         argument type.
13349         (ut_argument_spec): Remove macro.
13350         (ut_argument_spec_iso): Rename to ut_argument_spec.
13351         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
13352         prototype-style function definition.
13353         (memcpy_uppcase): Likewise.
13354         (__strftime_internal): Likewise.
13355         (my_strftime): Likewise.
13356         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
13357         (LOCALE_PARAM_DECL): Likewise.
13358         [_LIBC] (LOCALE_PARAM): Include argument type.
13359         (__strptime_internal): Convert to prototype-style function
13360         definition.
13361         (strptime): Likewise.
13362         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
13363         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13364         type.
13365         (__wcscasecmp): Convert to prototype-style function definition.
13366         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
13367         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
13368         type.
13369         (__wcsncasecmp): Convert to prototype-style function definition.
13371         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
13372         function definition.
13373         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13374         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13375         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
13376         * elf/dl-minimal.c (_itoa): Likewise.
13377         * hurd/hurdmalloc.c (malloc): Likewise.
13378         (free): Likewise.
13379         (realloc): Likewise.
13380         * inet/inet6_option.c (inet6_option_space): Likewise.
13381         (inet6_option_init): Likewise.
13382         (inet6_option_append): Likewise.
13383         (inet6_option_alloc): Likewise.
13384         (inet6_option_next): Likewise.
13385         (inet6_option_find): Likewise.
13386         * io/ftw.c (FTW_NAME): Likewise.
13387         (NFTW_NAME): Likewise.
13388         (NFTW_NEW_NAME): Likewise.
13389         (NFTW_OLD_NAME): Likewise.
13390         * libio/iofwide.c (_IO_fwide): Likewise.
13391         * libio/strops.c (_IO_str_init_static_internal): Likewise.
13392         (_IO_str_init_static): Likewise.
13393         (_IO_str_init_readonly): Likewise.
13394         (_IO_str_overflow): Likewise.
13395         (_IO_str_underflow): Likewise.
13396         (_IO_str_count): Likewise.
13397         (_IO_str_seekoff): Likewise.
13398         (_IO_str_pbackfail): Likewise.
13399         (_IO_str_finish): Likewise.
13400         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
13401         (_IO_wstr_overflow): Likewise.
13402         (_IO_wstr_underflow): Likewise.
13403         (_IO_wstr_count): Likewise.
13404         (_IO_wstr_seekoff): Likewise.
13405         (_IO_wstr_pbackfail): Likewise.
13406         (_IO_wstr_finish): Likewise.
13407         * locale/programs/localedef.c (normalize_codeset): Likewise.
13408         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13409         (add_locales_to_archive): Likewise.
13410         (delete_locales_from_archive): Likewise.
13411         * malloc/malloc.c (__libc_mallinfo): Likewise.
13412         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
13413         * misc/tsearch.c (__tfind): Likewise.
13414         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
13415         * nptl/pthread_attr_getdetachstate.c
13416         (__pthread_attr_getdetachstate): Likewise.
13417         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
13418         Likewise.
13419         * nptl/pthread_attr_getinheritsched.c
13420         (__pthread_attr_getinheritsched): Likewise.
13421         * nptl/pthread_attr_getschedparam.c
13422         (__pthread_attr_getschedparam): Likewise.
13423         * nptl/pthread_attr_getschedpolicy.c
13424         (__pthread_attr_getschedpolicy): Likewise.
13425         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
13426         Likewise.
13427         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
13428         Likewise.
13429         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
13430         Likewise.
13431         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
13432         Likewise.
13433         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
13434         (__pthread_attr_init_2_0): Likewise.
13435         * nptl/pthread_attr_setdetachstate.c
13436         (__pthread_attr_setdetachstate): Likewise.
13437         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
13438         Likewise.
13439         * nptl/pthread_attr_setinheritsched.c
13440         (__pthread_attr_setinheritsched): Likewise.
13441         * nptl/pthread_attr_setschedparam.c
13442         (__pthread_attr_setschedparam): Likewise.
13443         * nptl/pthread_attr_setschedpolicy.c
13444         (__pthread_attr_setschedpolicy): Likewise.
13445         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
13446         Likewise.
13447         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
13448         Likewise.
13449         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
13450         Likewise.
13451         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
13452         Likewise.
13453         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
13454         Likewise.
13455         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
13456         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
13457         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
13458         use internal_function.
13459         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
13460         prototype-style function definition.
13461         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
13462         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
13463         internal_function.
13464         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
13465         Convert to prototype-style function definition.
13466         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
13467         Likewise.
13468         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
13469         Likewise.
13470         (__pthread_mutex_unlock): Likewise.
13471         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
13472         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
13473         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
13474         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
13475         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
13476         * nss/makedb.c (process_input): Likewise.
13477         * posix/fnmatch.c (__strchrnul): Likewise.
13478         (__wcschrnul): Likewise.
13479         (fnmatch): Likewise.
13480         * posix/fnmatch_loop.c (FCT): Likewise.
13481         * posix/glob.c (globfree): Likewise.
13482         (__glob_pattern_type): Likewise.
13483         (__glob_pattern_p): Likewise.
13484         * posix/regcomp.c (re_compile_pattern): Likewise.
13485         (re_set_syntax): Likewise.
13486         (re_compile_fastmap): Likewise.
13487         (regcomp): Likewise.
13488         (regerror): Likewise.
13489         (regfree): Likewise.
13490         * posix/regexec.c (regexec): Likewise.
13491         (re_match): Likewise.
13492         (re_search): Likewise.
13493         (re_match_2): Likewise.
13494         (re_search_2): Likewise.
13495         (re_search_stub): Likewise.  Use internal_function
13496         (re_copy_regs): Likewise.
13497         (re_set_registers): Convert to prototype-style function
13498         definition.
13499         (prune_impossible_nodes): Likewise.  Use internal_function.
13500         * resolv/inet_net_pton.c (inet_net_pton): Convert to
13501         prototype-style function definition.
13502         (inet_net_pton_ipv4): Likewise.
13503         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13504         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
13505         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
13506         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
13507         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
13508         Make variadic.
13509         * time/strptime_l.c (localtime_r): Convert to prototype-style
13510         function definition.
13511         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
13512         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
13513         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
13514         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
13516         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
13517         definition.
13518         (_ufc_doit_r): Likewise.
13519         * crypt/crypt_util.c (_ufc_copymem): Likewise.
13520         (_ufc_output_conversion_r): Likewise.
13521         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
13522         * inet/rcmd.c (rcmd_af): Likewise.
13523         (rcmd): Likewise.
13524         (ruserok_af): Likewise.
13525         (ruserok): Likewise.
13526         (ruserok2_sa): Likewise.
13527         (ruserok_sa): Likewise.
13528         (iruserok_af): Likewise.
13529         (iruserok): Likewise.
13530         (__ivaliduser): Likewise.
13531         (__validuser2_sa): Likewise.
13532         * inet/rexec.c (rexec_af): Likewise.
13533         (rexec): Likewise.
13534         * inet/ruserpass.c (ruserpass): Likewise.
13535         * locale/programs/xmalloc.c (xcalloc): Likewise.
13536         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
13537         * math/w_drem.c (__drem): Likewise.
13538         * math/w_dremf.c (__dremf): Likewise.
13539         * math/w_dreml.c (__dreml): Likewise.
13540         * misc/daemon.c (daemon): Likewise.
13541         * resolv/res_debug.c (p_fqnname): Likewise.
13542         * stdlib/div.c (div): Likewise.
13543         * string/memcmp.c (memcmp_bytes): Likewise.
13544         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
13545         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
13547         * crypt/cert.c (main): Convert to prototype-style function
13548         definition.
13549         * io/pipe.c (__pipe): Likewise.
13550         * io/pipe2.c (__pipe2): Likewise.
13551         * misc/futimesat.c (futimesat): Likewise.
13552         * misc/utimes.c (__utimes): Likewise.
13553         * posix/execve.c (__execve): Likewise.
13554         * posix/execvp.c (execvp): Likewise.
13555         * posix/execvpe.c (__execvpe): Likewise.
13556         * posix/fexecve.c (fexecve): Likewise.
13557         * socket/socketpair.c (socketpair): Likewise.
13558         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13559         * stdlib/erand48.c (erand48): Likewise.
13560         * stdlib/erand48_r.c (__erand48_r): Likewise.
13561         * stdlib/jrand48.c (jrand48): Likewise.
13562         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
13563         * stdlib/lcong48.c (lcong48): Likewise.
13564         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
13565         * stdlib/nrand48.c (nrand48): Likewise.
13566         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
13567         * stdlib/seed48.c (seed48): Likewise.
13568         * stdlib/seed48_r.c (__seed48_r): Likewise.
13569         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
13570         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
13571         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
13573 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
13575         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
13576         * configure: Regenerated.
13577         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
13578         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
13579         unconditional.
13580         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13581         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13582         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13583         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
13584         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
13585         unconditional.
13586         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13588         * posix/Makefile (CFLAGS-regex.c): Remove variable.
13589         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
13591         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
13592         function definition.
13593         * crypt/crypt_util.c (__encrypt_r): Likewise.
13594         * libio/genops.c (_IO_no_init): Likewise.
13595         * libio/iofopncook.c (_IO_fopencookie): Likewise.
13596         (_IO_old_fopencookie): Likewise.
13597         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13598         * libio/iogetline.c (_IO_getline): Likewise.
13599         (_IO_getline_info): Likewise.
13600         * libio/iogetwline.c (_IO_getwline): Likewise.
13601         (_IO_getwline_info): Likewise.
13602         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
13603         * libio/vswprintf.c (_IO_vswprintf): Likewise.
13604         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
13605         (find_entry): Likewise.
13606         (iterate_table): Likewise.
13607         (lookup): Likewise.
13608         * login/forkpty.c (forkpty): Likewise.
13609         * misc/hsearch_r.c (__hsearch_r): Likewise.
13610         * misc/select.c (__select): Likewise.
13611         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
13612         Likewise.
13613         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
13614         Likewise.
13615         * nptl/old_pthread_cond_timedwait.c
13616         (__pthread_cond_timedwait_2_0): Likewise.
13617         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
13618         * nptl/pthread_barrierattr_getpshared.c
13619         (pthread_barrierattr_getpshared): Likewise.
13620         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
13621         Likewise.
13622         * nptl/pthread_mutex_setprioceiling.c
13623         (pthread_mutex_setprioceiling): Likewise.
13624         * nptl/pthread_mutexattr_getprioceiling.c
13625         (pthread_mutexattr_getprioceiling): Likewise.
13626         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
13627         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13628         Likewise.
13629         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
13630         Likewise.
13631         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
13632         Likewise.
13633         * socket/recvfrom.c (__recvfrom): Likewise.
13634         * socket/sendto.c (__sendto): Likewise.
13635         * socket/setsockopt.c (__setsockopt): Likewise.
13636         * stdio-common/_itoa.c (_itoa): Likewise.
13637         * stdio-common/_itowa.c (_itowa): Likewise.
13638         * stdio-common/reg-printf.c (__register_printf_specifier):
13639         Likewise.
13640         (__register_printf_function): Likewise.
13641         * stdio-common/tempname.c (__path_search): Likewise.
13642         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
13643         * stdlib/mul_1.c (mpn_mul_1): Likewise.
13644         * stdlib/random_r.c (__initstate_r): Likewise.
13645         * stdlib/setenv.c (__add_to_environ): Likewise.
13646         * stdlib/submul_1.c (mpn_submul_1): Likewise.
13647         * streams/getpmsg.c (getpmsg): Likewise.
13648         * streams/putmsg.c (putmsg): Likewise.
13649         * streams/putpmsg.c (putpmsg): Likewise.
13650         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
13651         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
13652         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
13653         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
13654         * sunrpc/pm_getport.c (pmap_getport): Likewise.
13655         * sunrpc/svc_udp.c (cache_get): Likewise.
13656         * sunrpc/xdr_array.c (xdr_vector): Likewise.
13657         * sysdeps/mach/hurd/getcwd.c
13658         (__canonicalize_directory_name_internal): Likewise.
13659         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
13660         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
13661         * sysdeps/mach/hurd/select.c (__select): Likewise.
13662         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
13663         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
13664         * sysdeps/sparc/nptl/pthread_barrier_init.c
13665         (__pthread_barrier_init): Likewise.
13666         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
13667         (__pthread_cond_timedwait): Likewise.
13668         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
13669         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
13670         Likewise.
13671         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
13672         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
13673         Likewise.
13674         * sysvipc/semtimedop.c (semtimedop): Likewise.
13675         * time/setitimer.c (__setitimer): Likewise.
13676         * time/strftime_l.c (emacs_strftime): Likewise.
13678 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
13680         * config.make.in (have-ssp): Delete.
13681         (stack-protector): New variable.
13682         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
13683         cache test for -fstack-protector-strong.  Export stack_protector to
13684         the best ssp flag.
13685         * configure: Regenerated.
13686         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
13687         * nscd/Makefile (CFLAGS-nscd): Likewise.
13688         * resolv/Makefile (CFLAGS-libresolv): Likewise.
13690 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
13692         [BZ #19122]
13693         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
13694         attribute_hidden.
13696 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13698         [BZ #18743]
13699         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
13700         code to...
13701         (ELIDE_LOCK): ...here.
13702         (__get_new_count): New function with part of the code from
13703         __elide_lock that updates the value of adapt_count after a
13704         transaction abort.
13705         (__elided_trylock): Moved this code to...
13706         (ELIDE_TRYLOCK): ...here.
13708 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
13710         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
13711         * configure: Regenerate.
13712         * INSTALL: Regenerate.
13713         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
13714         and tweak grammar.
13716 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
13718         * login/programs/pt_chown.c: Include signal.h
13719         (main): Clear any signal mask from the parent process.
13721 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
13723         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
13724         * configure: Regenerated.
13725         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
13726         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
13727         $(gnu89-inline-CFLAGS).
13729         * configure.ac (libc_cv_asm_weak_directive): Remove configure
13730         test.
13731         (libc_cv_asm_weakext_directive): Likewise.
13732         * configure: Regenerated.
13733         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
13734         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
13735         * include/libc-symbols.h
13736         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
13737         #error.
13738         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
13739         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
13741         * sysdeps/arm/backtrace.c (__backtrace): Convert to
13742         prototype-style function definition.
13743         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
13744         * sysdeps/i386/ffs.c (__ffs): Likewise.
13745         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13746         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
13747         Likewise.
13748         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13749         Likewise.
13750         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
13751         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
13752         Likewise.
13753         * sysdeps/m68k/ffs.c (__ffs): Likewise.
13754         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
13755         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
13756         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
13757         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
13758         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
13759         * sysdeps/mach/hurd/access.c (__access): Likewise.
13760         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
13761         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
13762         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
13763         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
13764         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
13765         (cthread_getspecific): Likewise.
13766         (cthread_setspecific): Likewise.
13767         (__libc_getspecific): Likewise.
13768         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
13769         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
13770         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
13771         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
13772         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
13773         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
13774         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
13775         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
13776         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
13777         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
13778         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
13779         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
13780         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
13781         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
13782         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
13783         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
13784         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
13785         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
13786         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
13787         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
13788         * sysdeps/mach/hurd/link.c (__link): Likewise.
13789         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
13790         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
13791         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
13792         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
13793         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
13794         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
13795         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
13796         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
13797         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
13798         * sysdeps/mach/hurd/rename.c (rename): Likewise.
13799         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
13800         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
13801         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
13802         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
13803         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
13804         * sysdeps/mach/hurd/send.c (__send): Likewise.
13805         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
13806         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
13807         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
13808         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
13809         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
13810         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
13811         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
13812         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
13813         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
13814         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
13815         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
13816         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
13817         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
13818         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
13819         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
13820         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
13821         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
13822         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
13823         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
13824         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
13825         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
13826         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
13827         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
13828         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
13829         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
13830         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
13831         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
13832         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
13833         * sysdeps/posix/alarm.c (alarm): Likewise.
13834         * sysdeps/posix/cuserid.c (cuserid): Likewise.
13835         * sysdeps/posix/dirfd.c (dirfd): Likewise.
13836         * sysdeps/posix/dup.c (__dup): Likewise.
13837         * sysdeps/posix/dup2.c (__dup2): Likewise.
13838         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
13839         (main): Likewise.
13840         * sysdeps/posix/flock.c (__flock): Likewise.
13841         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
13842         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
13843         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
13844         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
13845         * sysdeps/posix/isatty.c (__isatty): Likewise.
13846         * sysdeps/posix/killpg.c (killpg): Likewise.
13847         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
13848         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
13849         * sysdeps/posix/raise.c (raise): Likewise.
13850         * sysdeps/posix/remove.c (remove): Likewise.
13851         * sysdeps/posix/rename.c (rename): Likewise.
13852         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
13853         * sysdeps/posix/seekdir.c (seekdir): Likewise.
13854         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
13855         * sysdeps/posix/sigignore.c (sigignore): Likewise.
13856         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
13857         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13858         * sysdeps/posix/sigset.c (sigset): Likewise.
13859         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
13860         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
13861         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
13862         * sysdeps/posix/time.c (time): Likewise.
13863         * sysdeps/posix/ttyname.c (getttyname): Likewise.
13864         (ttyname): Likewise.
13865         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
13866         * sysdeps/posix/utime.c (utime): Likewise.
13867         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
13868         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
13869         Likewise.
13870         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
13871         (pthread_spin_trylock): Likewise.
13872         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
13873         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
13874         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
13875         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
13876         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
13877         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
13878         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
13879         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
13880         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
13881         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
13882         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
13883         * sysdeps/s390/ffs.c (__ffs): Likewise.
13884         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
13885         Likewise.
13886         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13887         Likewise.
13888         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
13889         Likewise.
13890         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
13891         (pthread_barrier_destroy): Likewise.
13892         * sysdeps/sparc/nptl/pthread_barrier_wait.c
13893         (__pthread_barrier_wait): Likewise.
13894         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
13895         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
13896         (__pthread_barrier_wait): Likewise.
13897         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
13898         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
13899         (memcmp_not_common_alignment): Likewise.
13900         (MEMCMP): Likewise.
13901         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
13902         (_wordcopy_fwd_dest_aligned): Likewise.
13903         (_wordcopy_bwd_aligned): Likewise.
13904         (_wordcopy_bwd_dest_aligned): Likewise.
13905         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
13906         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
13907         * sysdeps/unix/bsd/stty.c (stty): Likewise.
13908         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
13909         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
13910         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
13911         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
13912         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
13913         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
13914         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
13915         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
13916         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
13917         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
13918         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
13919         * sysdeps/unix/stime.c (stime): Likewise.
13920         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
13921         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
13922         Likewise.  Use internal_function.
13923         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
13924         Convert to prototype-style function definition.
13925         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13926         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13927         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
13928         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13929         Likewise.  Use internal_function.
13930         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
13931         prototype-style function definition
13932         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13933         Likewise.
13934         (__getlogin_r): Likewise.
13935         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
13936         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
13937         (__pthread_cond_broadcast): Likewise.
13938         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
13939         (__pthread_cond_destroy): Likewise.
13940         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
13941         (__pthread_cond_init): Likewise.
13942         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
13943         (__pthread_cond_signal): Likewise.
13944         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
13945         (__pthread_cond_wait): Likewise.
13946         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
13947         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13948         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
13949         Likewise.
13950         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
13951         Likewise.
13952         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
13953         Likewise.
13954         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
13955         Likewise.
13956         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
13957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
13958         (__ftruncate64): Likewise.
13959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
13960         (truncate64): Likewise.
13961         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
13962         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
13963         (pthread_getcpuclockid): Likewise.
13964         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
13965         Likewise.
13966         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
13967         Likewise.
13968         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
13969         Likewise.
13970         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
13971         Likewise.
13972         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
13973         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
13974         (__libc_sigaction): Likewise.
13975         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
13976         Likewise.
13977         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
13978         (__sigprocmask): Likewise.
13979         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
13980         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
13981         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
13982         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13983         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13984         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
13985         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13986         Likewise.
13987         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
13988         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
13989         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13990         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
13991         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
13992         Likewise.
13993         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
13994         (__sigprocmask): Likewise.
13995         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
13996         (cfgetispeed): Likewise.
13997         (cfsetospeed): Likewise.
13998         (cfsetispeed): Likewise.
13999         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
14000         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
14001         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14002         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
14003         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
14004         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
14005         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
14006         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
14007         Likewise.
14008         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
14009         Likewise.
14010         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
14011         Likewise.
14012         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
14013         Likewise.
14014         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
14016 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14018         sunrpc: Rewrite with explicit TLS access using __thread.
14019         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
14020         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
14021         directly.
14022         (__rpc_thread_variables): Access thread_rpc_vars directly.
14023         Eliminate redundant assignment of the tvp variable.
14025 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14027         malloc: Rewrite with explicit TLS access using __thread.
14028         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
14029         (tsd_setspecific, tsd_getspecific): Remove.
14030         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
14031         (tsd_setspecific, tsd_getspecific): Likewise.
14032         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
14033         (tsd_setspecific, tsd_getspecific): Likewise.
14034         * malloc/arena.c (thread_arena): New TLS variable.
14035         (arena_key): Remove variable.
14036         (arena_get): Use thread_arena.
14037         (arena_lookup): Remove macro.
14038         (malloc_atfork, free_atfork, ptmalloc_lock_all)
14039         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
14040         (_int_new_arena, get_free_list, reused_arena)
14041         (arena_thread_freeres): Use thread_arena.
14042         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
14043         tsd_getspecific, tsd_setspecific from safety annotations.
14044         (Allocating Cleared Space): Remove arena_lookup from safety
14045         annotations.
14047 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14049         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
14050         struct scratch_buffer instead of extend_alloca.
14052 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14054         * sysdeps/unix/sysv/linux/kernel-features.h
14055         (__ASSUME_SOCK_CLOEXEC): Remove.
14056         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
14057         (__have_paccept): Remove unused macro.
14058         * include/unistd.h (__have_sock_cloexec): Remove declaration.
14059         * misc/syslog.c (openlog_internal): Remove fallback code for
14060         !__ASSUME_SOCK_CLOEXEC.
14061         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
14062         missing SOCK_CLOEXEC.
14063         * nscd/connections.c (have_sock_cloexec): Remove definition.
14064         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
14065         * nscd/nscd_helper.c (open_socket): Remove fallback code for
14066         !__ASSUME_SOCK_CLOEXEC.
14067         * resolv/res_send.c (__have_o_nonblock): Remove definition.
14068         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
14069         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
14070         definition.
14071         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
14072         code for !__ASSUME_SOCK_CLOEXEC.
14074 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14076         [BZ #18982]
14077         * manual/stdio.texi (Variable Arguments Output): Add portability
14078         note, explaining that vfprintf clobbers the va_list pointer.
14080 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
14082         * math/libm-test.inc (fabs_test_data): Add more tests.
14083         (fdim_test_data): Likewise.
14084         (fma_test_data): Likewise.
14085         (fmax_test_data): Likewise.
14086         (fmin_test_data): Likewise.
14087         (fmod_test_data): Likewise.
14089 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
14091         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
14092         data.
14094 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
14096         * math/libm-test.inc (ceil_test_data): Add more tests and more
14097         expectations for "inexact".
14098         (floor_test_data): Add more tests.
14099         (round_test_data): Likewise.
14100         (trunc_test_data): Likewise.
14102         * crypt/cert.c (good_bye): Convert to prototype-style function
14103         definition.
14104         (get8): Likewise.
14105         (put8): Likewise.
14106         * crypt/crypt-entry.c (crypt): Likewise.
14107         (__fcrypt): Likewise.
14108         * crypt/crypt_util.c (_ufc_prbits): Likewise.
14109         (_ufc_set_bits): Likewise.
14110         (_ufc_clearmem): Likewise.
14111         (__init_des_r): Likewise.
14112         (shuffle_sb): Likewise.
14113         (shuffle_sb): Likewise.
14114         (_ufc_setup_salt_r): Likewise.
14115         (_ufc_mk_keytab_r): Likewise.
14116         (_ufc_dofinalperm_r): Likewise.
14117         (encrypt): Likewise.
14118         (__setkey_r): Likewise.
14119         (setkey): Likewise.
14120         * crypt/md5.c (md5_init_ctx): Likewise.
14121         (md5_read_ctx): Likewise.
14122         (md5_finish_ctx): Likewise.
14123         (md5_stream): Likewise.
14124         (md5_buffer): Likewise.
14125         (md5_process_bytes): Likewise.
14126         * crypt/sha256.c (__sha256_init_ctx): Likewise.
14127         (__sha256_finish_ctx): Likewise.
14128         (__sha256_process_bytes): Likewise.
14129         * crypt/sha512.c (__sha512_init_ctx): Likewise.
14130         (__sha512_finish_ctx): Likewise.
14131         (__sha512_process_bytes): Likewise.
14132         * ctype/isctype.c (__isctype): Likewise.
14133         * debug/backtrace.c (__backtrace): Likewise.
14134         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
14135         * debug/fgets_chk.c (__fgets_chk): Likewise.
14136         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
14137         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
14138         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14139         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14140         * debug/memset_chk.c (__memset_chk): Likewise.
14141         * debug/strcat_chk.c (__strcat_chk): Likewise.
14142         * debug/strncat_chk.c (__strncat_chk): Likewise.
14143         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
14144         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
14145         * dirent/dirfd.c (dirfd): Likewise.
14146         * dirent/getdents.c (__getdirentries): Likewise.
14147         * dirent/getdents64.c (getdirentries64): Likewise.
14148         * dirent/rewinddir.c (__rewinddir): Likewise.
14149         * dirent/seekdir.c (seekdir): Likewise.
14150         * dirent/telldir.c (telldir): Likewise.
14151         * elf/sln.c (makesymlinks): Likewise.
14152         (makesymlink): Likewise.
14153         * gmon/gmon.c (__moncontrol): Likewise.
14154         (__monstartup): Likewise.
14155         (write_hist): Likewise.
14156         (write_call_graph): Likewise.
14157         (write_bb_counts): Likewise.
14158         * grp/setgroups.c (setgroups): Likewise.
14159         * inet/inet_lnaof.c (inet_lnaof): Likewise.
14160         * inet/inet_net.c (inet_network): Likewise.
14161         * inet/inet_netof.c (inet_netof): Likewise.
14162         * inet/rcmd.c (rresvport_af): Likewise.
14163         (rresvport): Likewise.
14164         * io/access.c (__access): Likewise.
14165         * io/chdir.c (__chdir): Likewise.
14166         * io/chmod.c (__chmod): Likewise.
14167         * io/chown.c (__chown): Likewise.
14168         * io/close.c (__close): Likewise.
14169         * io/creat.c (creat): Likewise.
14170         * io/creat64.c (creat64): Likewise.
14171         * io/dup.c (__dup): Likewise.
14172         * io/dup2.c (__dup2): Likewise.
14173         * io/dup3.c (__dup3): Likewise.
14174         * io/euidaccess.c (__euidaccess): Likewise.
14175         * io/faccessat.c (faccessat): Likewise.
14176         * io/fchmod.c (__fchmod): Likewise.
14177         * io/fchmodat.c (fchmodat): Likewise.
14178         * io/fchown.c (__fchown): Likewise.
14179         * io/fchownat.c (fchownat): Likewise.
14180         * io/fcntl.c (__fcntl): Likewise.
14181         * io/flock.c (__flock): Likewise.
14182         * io/fts.c (fts_load): Likewise.
14183         (fts_close): Likewise.
14184         (fts_read): Likewise.
14185         (fts_set): Likewise.
14186         (fts_children): Likewise.
14187         (fts_build): Likewise.
14188         (fts_stat): Likewise.
14189         (fts_sort): Likewise.
14190         (fts_alloc): Likewise.
14191         (fts_lfree): Likewise.
14192         (fts_palloc): Likewise.
14193         (fts_padjust): Likewise.
14194         (fts_maxarglen): Likewise.
14195         (fts_safe_changedir): Likewise.
14196         * io/getwd.c (getwd): Likewise.
14197         * io/isatty.c (__isatty): Likewise.
14198         * io/lchown.c (__lchown): Likewise.
14199         * io/link.c (__link): Likewise.
14200         * io/linkat.c (linkat): Likewise.
14201         * io/lseek.c (__libc_lseek): Likewise.
14202         * io/mkdir.c (__mkdir): Likewise.
14203         * io/mkdirat.c (mkdirat): Likewise.
14204         * io/mkfifo.c (mkfifo): Likewise.
14205         * io/mkfifoat.c (mkfifoat): Likewise.
14206         * io/open.c (__libc_open): Likewise.
14207         * io/open64.c (__libc_open64): Likewise.
14208         * io/readlink.c (__readlink): Likewise.
14209         * io/readlinkat.c (readlinkat): Likewise.
14210         * io/rmdir.c (__rmdir): Likewise.
14211         * io/symlink.c (__symlink): Likewise.
14212         * io/symlinkat.c (symlinkat): Likewise.
14213         * io/ttyname.c (ttyname): Likewise.
14214         * io/ttyname_r.c (__ttyname_r): Likewise.
14215         * io/umask.c (__umask): Likewise.
14216         * io/unlink.c (__unlink): Likewise.
14217         * io/unlinkat.c (unlinkat): Likewise.
14218         * io/utime.c (utime): Likewise.
14219         * libio/clearerr.c (clearerr): Likewise.
14220         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
14221         * libio/feof.c (_IO_feof): Likewise.
14222         * libio/feof_u.c (feof_unlocked): Likewise.
14223         * libio/ferror.c (_IO_ferror): Likewise.
14224         * libio/ferror_u.c (ferror_unlocked): Likewise.
14225         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14226         * libio/fileno.c (__fileno): Likewise.
14227         * libio/fputc.c (fputc): Likewise.
14228         * libio/fputc_u.c (fputc_unlocked): Likewise.
14229         * libio/fputwc.c (fputwc): Likewise.
14230         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
14231         * libio/freopen.c (freopen): Likewise.
14232         * libio/freopen64.c (freopen64): Likewise.
14233         * libio/fseek.c (fseek): Likewise.
14234         * libio/fseeko.c (fseeko): Likewise.
14235         * libio/fseeko64.c (fseeko64): Likewise.
14236         * libio/ftello.c (__ftello): Likewise.
14237         * libio/ftello64.c (ftello64): Likewise.
14238         * libio/fwide.c (fwide): Likewise.
14239         * libio/genops.c (_IO_un_link): Likewise.
14240         (_IO_link_in): Likewise.
14241         (_IO_least_marker): Likewise.
14242         (_IO_switch_to_main_get_area): Likewise.
14243         (_IO_switch_to_backup_area): Likewise.
14244         (_IO_switch_to_get_mode): Likewise.
14245         (_IO_free_backup_area): Likewise.
14246         (_IO_switch_to_put_mode): Likewise.
14247         (__overflow): Likewise.
14248         (__underflow): Likewise.
14249         (__uflow): Likewise.
14250         (_IO_setb): Likewise.
14251         (_IO_doallocbuf): Likewise.
14252         (_IO_default_underflow): Likewise.
14253         (_IO_default_uflow): Likewise.
14254         (_IO_default_xsputn): Likewise.
14255         (_IO_sgetn): Likewise.
14256         (_IO_default_xsgetn): Likewise.
14257         (_IO_sync): Likewise.
14258         (_IO_default_setbuf): Likewise.
14259         (_IO_default_seekpos): Likewise.
14260         (_IO_default_doallocate): Likewise.
14261         (_IO_init): Likewise.
14262         (_IO_old_init): Likewise.
14263         (_IO_default_sync): Likewise.
14264         (_IO_default_finish): Likewise.
14265         (_IO_default_seekoff): Likewise.
14266         (_IO_sputbackc): Likewise.
14267         (_IO_sungetc): Likewise.
14268         (_IO_set_column): Likewise.
14269         (_IO_set_column): Likewise.
14270         (_IO_adjust_column): Likewise.
14271         (_IO_get_column): Likewise.
14272         (_IO_init_marker): Likewise.
14273         (_IO_remove_marker): Likewise.
14274         (_IO_marker_difference): Likewise.
14275         (_IO_marker_delta): Likewise.
14276         (_IO_seekmark): Likewise.
14277         (_IO_unsave_markers): Likewise.
14278         (_IO_nobackup_pbackfail): Likewise.
14279         (_IO_default_pbackfail): Likewise.
14280         (_IO_default_seek): Likewise.
14281         (_IO_default_stat): Likewise.
14282         (_IO_default_read): Likewise.
14283         (_IO_default_write): Likewise.
14284         (_IO_default_showmanyc): Likewise.
14285         (_IO_default_imbue): Likewise.
14286         (_IO_iter_next): Likewise.
14287         (_IO_iter_file): Likewise.
14288         * libio/getc.c (_IO_getc): Likewise.
14289         * libio/getwc.c (_IO_getwc): Likewise.
14290         * libio/iofclose.c (_IO_new_fclose): Likewise.
14291         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14292         * libio/iofflush.c (_IO_fflush): Likewise.
14293         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
14294         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
14295         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
14296         * libio/iofgets.c (_IO_fgets): Likewise.
14297         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
14298         * libio/iofgetws.c (fgetws): Likewise.
14299         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14300         * libio/iofopen64.c (_IO_fopen64): Likewise.
14301         * libio/iofopncook.c (_IO_cookie_read): Likewise.
14302         (_IO_cookie_write): Likewise.
14303         (_IO_cookie_seek): Likewise.
14304         (_IO_cookie_close): Likewise.
14305         (_IO_cookie_seekoff): Likewise.
14306         (_IO_old_cookie_seek): Likewise.
14307         * libio/iofputs.c (_IO_fputs): Likewise.
14308         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
14309         * libio/iofputws.c (fputws): Likewise.
14310         * libio/iofputws_u.c (fputws_unlocked): Likewise.
14311         * libio/iofread.c (_IO_fread): Likewise.
14312         * libio/iofread_u.c (__fread_unlocked): Likewise.
14313         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
14314         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
14315         * libio/ioftell.c (_IO_ftell): Likewise.
14316         * libio/iofwrite.c (_IO_fwrite): Likewise.
14317         * libio/iogetdelim.c (_IO_getdelim): Likewise.
14318         * libio/iogets.c (_IO_gets): Likewise.
14319         * libio/iopadn.c (_IO_padn): Likewise.
14320         * libio/iopopen.c (_IO_new_proc_open): Likewise.
14321         (_IO_new_popen): Likewise.
14322         (_IO_new_proc_close): Likewise.
14323         * libio/ioputs.c (_IO_puts): Likewise.
14324         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
14325         (_IO_seekoff): Likewise.
14326         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
14327         (_IO_seekpos): Likewise.
14328         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
14329         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
14330         * libio/ioungetc.c (_IO_ungetc): Likewise.
14331         * libio/ioungetwc.c (ungetwc): Likewise.
14332         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14333         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
14334         * libio/iowpadn.c (_IO_wpadn): Likewise.
14335         * libio/libc_fatal.c (__libc_fatal): Likewise.
14336         * libio/memstream.c (__open_memstream): Likewise.
14337         (_IO_mem_sync): Likewise.
14338         (_IO_mem_finish): Likewise.
14339         * libio/oldfileops.c (_IO_old_file_init): Likewise.
14340         (_IO_old_file_close_it): Likewise.
14341         (_IO_old_file_finish): Likewise.
14342         (_IO_old_file_fopen): Likewise.
14343         (_IO_old_file_attach): Likewise.
14344         (_IO_old_file_setbuf): Likewise.
14345         (_IO_old_do_write): Likewise.
14346         (old_do_write): Likewise.
14347         (_IO_old_file_underflow): Likewise.
14348         (_IO_old_file_overflow): Likewise.
14349         (_IO_old_file_sync): Likewise.
14350         (_IO_old_file_seekoff): Likewise.
14351         (_IO_old_file_write): Likewise.
14352         (_IO_old_file_xsputn): Likewise.
14353         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
14354         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14355         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
14356         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
14357         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
14358         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
14359         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
14360         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
14361         (_IO_old_popen): Likewise.
14362         (_IO_old_proc_close): Likewise.
14363         * libio/oldpclose.c (__old_pclose): Likewise.
14364         * libio/pclose.c (__new_pclose): Likewise.
14365         * libio/peekc.c (_IO_peekc_locked): Likewise.
14366         * libio/putc.c (_IO_putc): Likewise.
14367         * libio/putc_u.c (putc_unlocked): Likewise.
14368         * libio/putchar.c (putchar): Likewise.
14369         * libio/putchar_u.c (putchar_unlocked): Likewise.
14370         * libio/putwc.c (putwc): Likewise.
14371         * libio/putwc_u.c (putwc_unlocked): Likewise.
14372         * libio/putwchar.c (putwchar): Likewise.
14373         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
14374         * libio/rewind.c (rewind): Likewise.
14375         * libio/setbuf.c (setbuf): Likewise.
14376         * libio/setlinebuf.c (setlinebuf): Likewise.
14377         * libio/vasprintf.c (_IO_vasprintf): Likewise.
14378         * libio/vscanf.c (_IO_vscanf): Likewise.
14379         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
14380         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
14381         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
14382         * libio/wgenops.c (_IO_least_wmarker): Likewise.
14383         (_IO_switch_to_main_wget_area): Likewise.
14384         (_IO_switch_to_wbackup_area): Likewise.
14385         (_IO_wsetb): Likewise.
14386         (_IO_wdefault_pbackfail): Likewise.
14387         (_IO_wdefault_finish): Likewise.
14388         (_IO_wdefault_uflow): Likewise.
14389         (__woverflow): Likewise.
14390         (__wuflow): Likewise.
14391         (__wunderflow): Likewise.
14392         (_IO_wdefault_xsputn): Likewise.
14393         (_IO_wdefault_xsgetn): Likewise.
14394         (_IO_wdoallocbuf): Likewise.
14395         (_IO_wdefault_doallocate): Likewise.
14396         (_IO_switch_to_wget_mode): Likewise.
14397         (_IO_free_wbackup_area): Likewise.
14398         (_IO_switch_to_wput_mode): Likewise.
14399         (_IO_sputbackwc): Likewise.
14400         (_IO_sungetwc): Likewise.
14401         (_IO_adjust_wcolumn): Likewise.
14402         (_IO_init_wmarker): Likewise.
14403         (_IO_wmarker_delta): Likewise.
14404         (_IO_seekwmark): Likewise.
14405         (_IO_unsave_wmarkers): Likewise.
14406         * libio/wmemstream.c (open_wmemstream): Likewise.
14407         (_IO_wmem_sync): Likewise.
14408         (_IO_wmem_finish): Likewise.
14409         * locale/nl_langinfo.c (nl_langinfo): Likewise.
14410         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
14411         * locale/programs/simple-hash.c (init_hash): Likewise.
14412         (delete_hash): Likewise.
14413         (insert_entry): Likewise.
14414         (set_entry): Likewise.
14415         (next_prime): Likewise.
14416         (is_prime): Likewise.
14417         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
14418         (xmalloc): Likewise.
14419         (xrealloc): Likewise.
14420         * locale/programs/xstrdup.c (xstrdup): Likewise.
14421         * localedata/collate-test.c (xstrcoll): Likewise.
14422         * localedata/xfrm-test.c (xstrcmp): Likewise.
14423         * login/getlogin_r.c (__getlogin_r): Likewise.
14424         * login/getpt.c (__posix_openpt): Likewise.
14425         * login/login_tty.c (login_tty): Likewise.
14426         * login/setlogin.c (setlogin): Likewise.
14427         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
14428         (mach_msg_destroy_port): Likewise.
14429         (mach_msg_destroy_memory): Likewise.
14430         * malloc/mcheck.c (flood): Likewise.
14431         * misc/acct.c (acct): Likewise.
14432         * misc/brk.c (__brk): Likewise.
14433         * misc/chflags.c (chflags): Likewise.
14434         * misc/chroot.c (chroot): Likewise.
14435         * misc/fchflags.c (fchflags): Likewise.
14436         * misc/fstab.c (getfsspec): Likewise.
14437         (getfsfile): Likewise.
14438         * misc/fsync.c (fsync): Likewise.
14439         * misc/ftruncate.c (__ftruncate): Likewise.
14440         * misc/ftruncate64.c (__ftruncate64): Likewise.
14441         * misc/getdomain.c (getdomainname): Likewise.
14442         (getdomainname): Likewise.
14443         * misc/gethostname.c (__gethostname): Likewise.
14444         * misc/getpass.c (getpass): Likewise.
14445         * misc/getttyent.c (skip): Likewise.
14446         (value): Likewise.
14447         * misc/gtty.c (gtty): Likewise.
14448         * misc/hsearch.c (hsearch): Likewise.
14449         (hcreate): Likewise.
14450         * misc/hsearch_r.c (__hcreate_r): Likewise.
14451         (__hdestroy_r): Likewise.
14452         * misc/ioctl.c (__ioctl): Likewise.
14453         * misc/mkdtemp.c (mkdtemp): Likewise.
14454         * misc/mkostemp.c (mkostemp): Likewise.
14455         * misc/mkostemp64.c (mkostemp64): Likewise.
14456         * misc/mkostemps.c (mkostemps): Likewise.
14457         * misc/mkostemps64.c (mkostemps64): Likewise.
14458         * misc/mkstemp.c (mkstemp): Likewise.
14459         * misc/mkstemp64.c (mkstemp64): Likewise.
14460         * misc/mkstemps.c (mkstemps): Likewise.
14461         * misc/mkstemps64.c (mkstemps64): Likewise.
14462         * misc/mktemp.c (__mktemp): Likewise.
14463         * misc/preadv.c (preadv): Likewise.
14464         * misc/preadv64.c (preadv64): Likewise.
14465         * misc/pwritev.c (pwritev): Likewise.
14466         * misc/pwritev64.c (pwritev64): Likewise.
14467         * misc/readv.c (__readv): Likewise.
14468         * misc/revoke.c (revoke): Likewise.
14469         * misc/setdomain.c (setdomainname): Likewise.
14470         * misc/setegid.c (setegid): Likewise.
14471         * misc/seteuid.c (seteuid): Likewise.
14472         * misc/sethostid.c (sethostid): Likewise.
14473         * misc/sethostname.c (sethostname): Likewise.
14474         * misc/setregid.c (__setregid): Likewise.
14475         * misc/setreuid.c (__setreuid): Likewise.
14476         * misc/sstk.c (sstk): Likewise.
14477         * misc/stty.c (stty): Likewise.
14478         * misc/syscall.c (syscall): Likewise.
14479         * misc/syslog.c (setlogmask): Likewise.
14480         * misc/truncate.c (__truncate): Likewise.
14481         * misc/truncate64.c (truncate64): Likewise.
14482         * misc/ualarm.c (ualarm): Likewise.
14483         * misc/usleep.c (usleep): Likewise.
14484         * misc/ustat.c (ustat): Likewise.
14485         * misc/writev.c (__writev): Likewise.
14486         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
14487         * nptl/old_pthread_cond_broadcast.c
14488         (__pthread_cond_broadcast_2_0): Likewise.
14489         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
14490         Likewise.
14491         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
14492         Likewise.
14493         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
14494         Likewise.
14495         * nptl/pt-raise.c (raise): Likewise.
14496         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
14497         Likewise.
14498         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
14499         * nptl/pthread_barrierattr_destroy.c
14500         (pthread_barrierattr_destroy): Likewise.
14501         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
14502         Likewise.
14503         * nptl/pthread_barrierattr_setpshared.c
14504         (pthread_barrierattr_setpshared): Likewise.
14505         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14506         Likewise.
14507         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
14508         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
14509         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
14510         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
14511         Likewise.
14512         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
14513         Likewise.
14514         * nptl/pthread_condattr_getpshared.c
14515         (pthread_condattr_getpshared): Likewise.
14516         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
14517         Likewise.
14518         * nptl/pthread_condattr_setpshared.c
14519         (pthread_condattr_setpshared): Likewise.
14520         * nptl/pthread_detach.c (pthread_detach): Likewise.
14521         * nptl/pthread_equal.c (__pthread_equal): Likewise.
14522         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
14523         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
14524         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
14525         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
14526         Likewise.
14527         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
14528         Likewise.
14529         * nptl/pthread_mutex_getprioceiling.c
14530         (pthread_mutex_getprioceiling): Likewise.
14531         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
14532         Likewise.
14533         * nptl/pthread_mutexattr_getprotocol.c
14534         (pthread_mutexattr_getprotocol): Likewise.
14535         * nptl/pthread_mutexattr_getpshared.c
14536         (pthread_mutexattr_getpshared): Likewise.
14537         * nptl/pthread_mutexattr_getrobust.c
14538         (pthread_mutexattr_getrobust): Likewise.
14539         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
14540         Likewise.
14541         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
14542         Likewise.
14543         * nptl/pthread_mutexattr_setprioceiling.c
14544         (pthread_mutexattr_setprioceiling): Likewise.
14545         * nptl/pthread_mutexattr_setprotocol.c
14546         (pthread_mutexattr_setprotocol): Likewise.
14547         * nptl/pthread_mutexattr_setpshared.c
14548         (pthread_mutexattr_setpshared): Likewise.
14549         * nptl/pthread_mutexattr_setrobust.c
14550         (pthread_mutexattr_setrobust): Likewise.
14551         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
14552         Likewise.
14553         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
14554         Likewise.
14555         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
14556         Likewise.
14557         * nptl/pthread_rwlockattr_getkind_np.c
14558         (pthread_rwlockattr_getkind_np): Likewise.
14559         * nptl/pthread_rwlockattr_getpshared.c
14560         (pthread_rwlockattr_getpshared): Likewise.
14561         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
14562         Likewise.
14563         * nptl/pthread_rwlockattr_setkind_np.c
14564         (pthread_rwlockattr_setkind_np): Likewise.
14565         * nptl/pthread_rwlockattr_setpshared.c
14566         (pthread_rwlockattr_setpshared): Likewise.
14567         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
14568         Likewise.
14569         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
14570         Likewise.
14571         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
14572         Likewise.
14573         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
14574         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
14575         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
14576         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
14577         * nptl/sem_close.c (sem_close): Likewise.
14578         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
14579         * nptl/sem_init.c (__old_sem_init): Likewise.
14580         * nptl/sigaction.c (__sigaction): Likewise.
14581         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
14582         * posix/_exit.c (_exit): Likewise.
14583         * posix/alarm.c (alarm): Likewise.
14584         * posix/confstr.c (confstr): Likewise.
14585         * posix/fpathconf.c (__fpathconf): Likewise.
14586         * posix/getgroups.c (__getgroups): Likewise.
14587         * posix/getpgid.c (__getpgid): Likewise.
14588         * posix/group_member.c (__group_member): Likewise.
14589         * posix/pathconf.c (__pathconf): Likewise.
14590         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
14591         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
14592         * posix/setgid.c (__setgid): Likewise.
14593         * posix/setpgid.c (__setpgid): Likewise.
14594         * posix/setuid.c (__setuid): Likewise.
14595         * posix/sleep.c (__sleep): Likewise.
14596         * posix/sysconf.c (__sysconf): Likewise.
14597         * posix/times.c (__times): Likewise.
14598         * posix/uname.c (__uname): Likewise.
14599         * posix/waitid.c (__waitid): Likewise.
14600         * pwd/getpw.c (__getpw): Likewise.
14601         * resolv/base64.c (b64_pton): Likewise.
14602         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
14603         * resolv/gethnamaddr.c (Dprintf): Likewise.
14604         (gethostbyname): Likewise.
14605         (gethostbyname2): Likewise.
14606         (gethostbyaddr): Likewise.
14607         (_sethtent): Likewise.
14608         (_gethtbyname): Likewise.
14609         (_gethtbyname2): Likewise.
14610         (_gethtbyaddr): Likewise.
14611         (map_v4v6_address): Likewise.
14612         (map_v4v6_hostent): Likewise.
14613         (addrsort): Likewise.
14614         (ht_sethostent): Likewise.
14615         (ht_gethostbyname): Likewise.
14616         (ht_gethostbyaddr): Likewise.
14617         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
14618         (inet_net_ntop_ipv4): Likewise.
14619         * resolv/inet_neta.c (inet_neta): Likewise.
14620         * resolv/inet_ntop.c (inet_ntop): Likewise.
14621         (inet_ntop4): Likewise.
14622         (inet_ntop6): Likewise.
14623         * resolv/inet_pton.c (__inet_pton): Likewise.
14624         (inet_pton4): Likewise.
14625         (inet_pton6): Likewise.
14626         * resolv/res_debug.c (loc_aton): Likewise.
14627         (loc_ntoa): Likewise.
14628         * resource/getpriority.c (__getpriority): Likewise.
14629         * resource/getrusage.c (__getrusage): Likewise.
14630         * resource/nice.c (nice): Likewise.
14631         * resource/setpriority.c (__setpriority): Likewise.
14632         * resource/setrlimit64.c (setrlimit64): Likewise.
14633         * resource/vlimit.c (vlimit): Likewise.
14634         * resource/vtimes.c (vtimes): Likewise.
14635         * rt/aio_error.c (aio_error): Likewise.
14636         * rt/aio_return.c (aio_return): Likewise.
14637         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
14638         * signal/kill.c (__kill): Likewise.
14639         * signal/killpg.c (killpg): Likewise.
14640         * signal/raise.c (raise): Likewise.
14641         * signal/sigaction.c (__sigaction): Likewise.
14642         * signal/sigaddset.c (sigaddset): Likewise.
14643         * signal/sigaltstack.c (sigaltstack): Likewise.
14644         * signal/sigandset.c (sigandset): Likewise.
14645         * signal/sigblock.c (__sigblock): Likewise.
14646         * signal/sigdelset.c (sigdelset): Likewise.
14647         * signal/sigempty.c (sigemptyset): Likewise.
14648         * signal/sigfillset.c (sigfillset): Likewise.
14649         * signal/sighold.c (sighold): Likewise.
14650         * signal/sigignore.c (sigignore): Likewise.
14651         * signal/sigintr.c (siginterrupt): Likewise.
14652         * signal/sigisempty.c (sigisemptyset): Likewise.
14653         * signal/sigismem.c (sigismember): Likewise.
14654         * signal/signal.c (signal): Likewise.
14655         * signal/sigorset.c (sigorset): Likewise.
14656         * signal/sigpause.c (__sigpause): Likewise.
14657         * signal/sigpending.c (sigpending): Likewise.
14658         * signal/sigprocmask.c (__sigprocmask): Likewise.
14659         * signal/sigrelse.c (sigrelse): Likewise.
14660         * signal/sigreturn.c (__sigreturn): Likewise.
14661         * signal/sigset.c (sigset): Likewise.
14662         * signal/sigsetmask.c (__sigsetmask): Likewise.
14663         * signal/sigstack.c (sigstack): Likewise.
14664         * signal/sigsuspend.c (__sigsuspend): Likewise.
14665         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
14666         * signal/sysv_signal.c (__sysv_signal): Likewise.
14667         * socket/accept.c (accept): Likewise.
14668         * socket/accept4.c (__libc_accept4): Likewise.
14669         * socket/bind.c (__bind): Likewise.
14670         * socket/connect.c (__connect): Likewise.
14671         * socket/getpeername.c (getpeername): Likewise.
14672         * socket/getsockname.c (__getsockname): Likewise.
14673         * socket/getsockopt.c (getsockopt): Likewise.
14674         * socket/listen.c (__listen): Likewise.
14675         * socket/recv.c (__recv): Likewise.
14676         * socket/recvmsg.c (__recvmsg): Likewise.
14677         * socket/send.c (__send): Likewise.
14678         * socket/sendmsg.c (__sendmsg): Likewise.
14679         * socket/shutdown.c (shutdown): Likewise.
14680         * socket/sockatmark.c (sockatmark): Likewise.
14681         * socket/socket.c (__socket): Likewise.
14682         * stdio-common/ctermid.c (ctermid): Likewise.
14683         * stdio-common/cuserid.c (cuserid): Likewise.
14684         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
14685         * stdio-common/remove.c (remove): Likewise.
14686         * stdio-common/rename.c (rename): Likewise.
14687         * stdio-common/renameat.c (renameat): Likewise.
14688         * stdio-common/tempname.c (__gen_tempname): Likewise.
14689         * stdio-common/xbug.c (InitBuffer): Likewise.
14690         (AppendToBuffer): Likewise.
14691         (ReadFile): Likewise.
14692         * stdlib/a64l.c (a64l): Likewise.
14693         * stdlib/drand48_r.c (drand48_r): Likewise.
14694         * stdlib/getcontext.c (getcontext): Likewise.
14695         * stdlib/getenv.c (getenv): Likewise.
14696         * stdlib/l64a.c (l64a): Likewise.
14697         * stdlib/llabs.c (llabs): Likewise.
14698         * stdlib/lldiv.c (lldiv): Likewise.
14699         * stdlib/lrand48_r.c (lrand48_r): Likewise.
14700         * stdlib/mrand48_r.c (mrand48_r): Likewise.
14701         * stdlib/putenv.c (putenv): Likewise.
14702         * stdlib/random.c (__srandom): Likewise.
14703         (__initstate): Likewise.
14704         (__setstate): Likewise.
14705         * stdlib/random_r.c (__srandom_r): Likewise.
14706         (__setstate_r): Likewise.
14707         (__random_r): Likewise.
14708         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
14709         * stdlib/setcontext.c (setcontext): Likewise.
14710         * stdlib/setenv.c (setenv): Likewise.
14711         (unsetenv): Likewise.
14712         * stdlib/srand48.c (srand48): Likewise.
14713         * stdlib/srand48_r.c (__srand48_r): Likewise.
14714         * stdlib/swapcontext.c (swapcontext): Likewise.
14715         * stdlib/system.c (__libc_system): Likewise.
14716         * stdlib/tst-strtod.c (expand): Likewise.
14717         * stdlib/tst-strtol.c (expand): Likewise.
14718         * stdlib/tst-strtoll.c (expand): Likewise.
14719         * streams/fattach.c (fattach): Likewise.
14720         * streams/fdetach.c (fdetach): Likewise.
14721         * streams/getmsg.c (getmsg): Likewise.
14722         * streams/isastream.c (isastream): Likewise.
14723         * string/ffs.c (__ffs): Likewise.
14724         * string/ffsll.c (ffsll): Likewise.
14725         * string/memcmp.c (memcmp_common_alignment): Likewise.
14726         (memcmp_not_common_alignment): Likewise.
14727         (MEMCMP): Likewise.
14728         * string/memcpy.c (memcpy): Likewise.
14729         * string/memmove.c (MEMMOVE): Likewise.
14730         * string/memset.c (memset): Likewise.
14731         * string/rawmemchr.c (RAWMEMCHR): Likewise.
14732         * string/strchrnul.c (STRCHRNUL): Likewise.
14733         * string/strerror.c (strerror): Likewise.
14734         * string/strndup.c (__strndup): Likewise.
14735         * string/strverscmp.c (__strverscmp): Likewise.
14736         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
14737         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
14738         (clnttcp_freeres): Likewise.
14739         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
14740         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
14741         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
14742         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
14743         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
14744         (xdr_callhdr): Likewise.
14745         * sunrpc/rpcinfo.c (udpping): Likewise.
14746         (tcpping): Likewise.
14747         (pstatus): Likewise.
14748         (pmapdump): Likewise.
14749         (brdcst): Likewise.
14750         (deletereg): Likewise.
14751         (getprognum): Likewise.
14752         (getvers): Likewise.
14753         (get_inet_address): Likewise.
14754         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
14755         * sunrpc/svc_udp.c (svcudp_create): Likewise.
14756         (svcudp_stat): Likewise.
14757         (svcudp_recv): Likewise.
14758         (svcudp_reply): Likewise.
14759         (svcudp_getargs): Likewise.
14760         (svcudp_freeargs): Likewise.
14761         (svcudp_destroy): Likewise.
14762         * sunrpc/xdr.c (xdr_bytes): Likewise.
14763         (xdr_netobj): Likewise.
14764         (xdr_string): Likewise.
14765         (xdr_wrapstring): Likewise.
14766         * sunrpc/xdr_float.c (xdr_float): Likewise.
14767         (xdr_double): Likewise.
14768         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
14769         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
14770         * sysvipc/ftok.c (ftok): Likewise.
14771         * sysvipc/msgctl.c (msgctl): Likewise.
14772         * sysvipc/msgget.c (msgget): Likewise.
14773         * sysvipc/msgrcv.c (msgrcv): Likewise.
14774         * sysvipc/msgsnd.c (msgsnd): Likewise.
14775         * sysvipc/semget.c (semget): Likewise.
14776         * sysvipc/semop.c (semop): Likewise.
14777         * sysvipc/shmat.c (shmat): Likewise.
14778         * sysvipc/shmctl.c (shmctl): Likewise.
14779         * sysvipc/shmdt.c (shmdt): Likewise.
14780         * sysvipc/shmget.c (shmget): Likewise.
14781         * termios/cfmakeraw.c (cfmakeraw): Likewise.
14782         * termios/speed.c (cfgetospeed): Likewise.
14783         (cfgetispeed): Likewise.
14784         (cfsetospeed): Likewise.
14785         (cfsetispeed): Likewise.
14786         * termios/tcflow.c (tcflow): Likewise.
14787         * termios/tcflush.c (tcflush): Likewise.
14788         * termios/tcgetattr.c (__tcgetattr): Likewise.
14789         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
14790         * termios/tcgetsid.c (tcgetsid): Likewise.
14791         * termios/tcsendbrk.c (tcsendbreak): Likewise.
14792         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
14793         * time/adjtime.c (__adjtime): Likewise.
14794         * time/dysize.c (dysize): Likewise.
14795         * time/ftime.c (ftime): Likewise.
14796         * time/getitimer.c (__getitimer): Likewise.
14797         * time/gettimeofday.c (__gettimeofday): Likewise.
14798         * time/gmtime.c (__gmtime_r): Likewise.
14799         (gmtime): Likewise.
14800         * time/localtime.c (__localtime_r): Likewise.
14801         (localtime): Likewise.
14802         * time/offtime.c (__offtime): Likewise.
14803         * time/settimeofday.c (__settimeofday): Likewise.
14804         * time/stime.c (stime): Likewise.
14805         * time/strftime_l.c (tm_diff): Likewise.
14806         (iso_week_days): Likewise.
14807         * time/strptime.c (strptime): Likewise.
14808         * time/time.c (time): Likewise.
14809         * time/timespec_get.c (timespec_get): Likewise.
14810         * time/tzset.c (tzset_internal): Likewise.
14811         (compute_change): Likewise.
14812         (__tz_compute): Likewise.
14813         * wcsmbs/btowc.c (__btowc): Likewise.
14814         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
14815         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
14816         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
14817         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
14818         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
14819         * wcsmbs/wcscat.c (__wcscat): Likewise.
14820         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14821         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
14822         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
14823         * wcsmbs/wcscspn.c (wcscspn): Likewise.
14824         * wcsmbs/wcsdup.c (wcsdup): Likewise.
14825         * wcsmbs/wcslen.c (__wcslen): Likewise.
14826         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
14827         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
14828         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
14829         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
14830         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14831         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
14832         * wcsmbs/wcsspn.c (wcsspn): Likewise.
14833         * wcsmbs/wcsstr.c (wcsstr): Likewise.
14834         * wcsmbs/wcstok.c (wcstok): Likewise.
14835         * wcsmbs/wctob.c (wctob): Likewise.
14836         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
14837         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14838         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
14839         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
14840         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
14841         * wcsmbs/wmemset.c (__wmemset): Likewise.
14842         * wctype/wcfuncs.c (__towlower): Likewise.
14843         (__towupper): Likewise.
14845         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
14846         (lll_unlock_elision): Add adapt_count parameter.
14848 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
14850         * sysdeps/nptl/configure.ac: Do not give errors based on the
14851         results of top-level configure tests.
14852         * sysdeps/nptl/configure: Regenerated.
14854         * configure.ac (libc_cv_Bgroup): Remove configure test.
14855         * configure: Regenerated.
14856         * config.make.in (have-Bgroup): Remove variable.
14858         * configure.ac (sizeof_long_double): Remove configure test.
14859         * configure: Regenerated.
14860         * config.make.in (sizeof-long-double): Remove variable.
14862         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
14863         * configure: Regenerated.
14864         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
14865         variable.
14866         (exceptions): Likewise.
14867         * sysdeps/arm/configure: Regenerated.
14868         * config.make.in (exceptions): Remove variable.
14869         * Makeconfig (uses-callbacks): Use -fexceptions instead of
14870         $(exceptions).
14871         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
14872         (CFLAGS-vdprintf_chk.c): Likewise.
14873         (CFLAGS-printf_chk.c): Likewise.
14874         (CFLAGS-fprintf_chk.c): Likewise.
14875         (CFLAGS-vprintf_chk.c): Likewise.
14876         (CFLAGS-vfprintf_chk.c): Likewise.
14877         (CFLAGS-gets_chk.c): Likewise.
14878         (CFLAGS-fgets_chk.c): Likewise.
14879         (CFLAGS-fgets_u_chk.c): Likewise.
14880         (CFLAGS-fread_chk.c): Likewise.
14881         (CFLAGS-fread_u_chk.c): Likewise.
14882         (CFLAGS-wprintf_chk.c): Likewise.
14883         (CFLAGS-fwprintf_chk.c): Likewise.
14884         (CFLAGS-vwprintf_chk.c): Likewise.
14885         (CFLAGS-vfwprintf_chk.c): Likewise.
14886         (CFLAGS-fgetws_chk.c): Likewise.
14887         (CFLAGS-fgetws_u_chk.c): Likewise.
14888         * libio/Makefile (CFLAGS-fileops.c): Likewise.
14889         (CFLAGS-fputc.c): Likewise.
14890         (CFLAGS-fputwc.c): Likewise.
14891         (CFLAGS-freopen64.c): Likewise.
14892         (CFLAGS-freopen.c): Likewise.
14893         (CFLAGS-fseek.c): Likewise.
14894         (CFLAGS-fseeko64.c): Likewise.
14895         (CFLAGS-fseeko.c): Likewise.
14896         (CFLAGS-ftello64.c): Likewise.
14897         (CFLAGS-ftello.c): Likewise.
14898         (CFLAGS-fwide.c): Likewise.
14899         (CFLAGS-genops.c): Likewise.
14900         (CFLAGS-getc.c): Likewise.
14901         (CFLAGS-getchar.c): Likewise.
14902         (CFLAGS-getwc.c): Likewise.
14903         (CFLAGS-getwchar.c): Likewise.
14904         (CFLAGS-iofclose.c): Likewise.
14905         (CFLAGS-iofflush.c): Likewise.
14906         (CFLAGS-iofgetpos64.c): Likewise.
14907         (CFLAGS-iofgetpos.c): Likewise.
14908         (CFLAGS-iofgets.c): Likewise.
14909         (CFLAGS-iofgetws.c): Likewise.
14910         (CFLAGS-iofputs.c): Likewise.
14911         (CFLAGS-iofputws.c): Likewise.
14912         (CFLAGS-iofread.c): Likewise.
14913         (CFLAGS-iofsetpos64.c): Likewise.
14914         (CFLAGS-iofsetpos.c): Likewise.
14915         (CFLAGS-ioftell.c): Likewise.
14916         (CFLAGS-iofwrite.c): Likewise.
14917         (CFLAGS-iogetdelim.c): Likewise.
14918         (CFLAGS-iogetline.c): Likewise.
14919         (CFLAGS-iogets.c): Likewise.
14920         (CFLAGS-iogetwline.c): Likewise.
14921         (CFLAGS-ioputs.c): Likewise.
14922         (CFLAGS-ioseekoff.c): Likewise.
14923         (CFLAGS-ioseekpos.c): Likewise.
14924         (CFLAGS-iosetbuffer.c): Likewise.
14925         (CFLAGS-iosetvbuf.c): Likewise.
14926         (CFLAGS-ioungetc.c): Likewise.
14927         (CFLAGS-ioungetwc.c): Likewise.
14928         (CFLAGS-oldfileops.c): Likewise.
14929         (CFLAGS-oldiofclose.c): Likewise.
14930         (CFLAGS-oldiofgetpos64.c): Likewise.
14931         (CFLAGS-oldiofgetpos.c): Likewise.
14932         (CFLAGS-oldiofsetpos64.c): Likewise.
14933         (CFLAGS-oldiofsetpos.c): Likewise.
14934         (CFLAGS-peekc.c): Likewise.
14935         (CFLAGS-putc.c): Likewise.
14936         (CFLAGS-putchar.c): Likewise.
14937         (CFLAGS-putwc.c): Likewise.
14938         (CFLAGS-putwchar.c): Likewise.
14939         (CFLAGS-rewind.c): Likewise.
14940         (CFLAGS-wfileops.c): Likewise.
14941         (CFLAGS-wgenops.c): Likewise.
14942         (CFLAGS-oldiofopen.c): Likewise.
14943         (CFLAGS-iofopen.c): Likewise.
14944         (CFLAGS-iofopen64.c): Likewise.
14945         (CFLAGS-oldtmpfile.c): Likewise.
14946         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
14947         (CFLAGS-fprintf.c): Likewise.
14948         (CFLAGS-printf.c): Likewise.
14949         (CFLAGS-vfwprintf.c): Likewise.
14950         (CFLAGS-vfscanf.c): Likewise.
14951         (CFLAGS-vfwscanf.c): Likewise.
14952         (CFLAGS-fscanf.c): Likewise.
14953         (CFLAGS-scanf.c): Likewise.
14954         (CFLAGS-isoc99_vfscanf.c): Likewise.
14955         (CFLAGS-isoc99_vscanf.c): Likewise.
14956         (CFLAGS-isoc99_fscanf.c): Likewise.
14957         (CFLAGS-isoc99_scanf.c): Likewise.
14958         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
14959         (CFLAGS-isoc99_fwscanf.c): Likewise.
14960         (CFLAGS-isoc99_vwscanf.c): Likewise.
14961         (CFLAGS-isoc99_vfwscanf.c): Likewise.
14963         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
14964         after mkstemp64.
14965         * login/tst-utmp.c (do_prepare): Likewise.
14966         * rt/tst-aio.c (do_prepare): Likewise.
14967         * rt/tst-aio64.c (do_prepare): Likewise.
14969 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14971         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14972         (__lll_lock_elision): Remove adapt_count decrement...
14973         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14974         (__lll_trylock_elision): Likewise.
14975         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14976         (__lll_unlock_elision): ... to here. And utilize
14977         new adapt_count parameter.
14978         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
14979         (__lll_unlock_elision): Update to include adapt_count
14980         parameter.
14981         (lll_unlock_elision): Pass pointer to adapt_count
14982         variable.
14984 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14986         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
14987         Add elision adapt_count parameter to list of arguments.
14988         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
14989         (lll_unlock_elision): Update with new parameter list
14990         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
14991         (lll_unlock_elision): Likewise.
14992         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
14993         (lll_unlock_elision): Likewise.
14995 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14997         [BZ #19122]
14998         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
14999         attribute_hidden.
15001         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
15002         attribute_hidden.
15003         [IS_IN (rtld)] (__strdup): Likewise.
15004         [IS_IN (rtld)] (__strerror_r): Likewise.
15005         [IS_IN (rtld)] (__strsep_g): Likewise.
15006         [IS_IN (rtld)] (memchr): Likewise.
15007         [IS_IN (rtld)] (memcmp): Likewise.
15008         [IS_IN (rtld)] (memcpy): Likewise.
15009         [IS_IN (rtld)] (memmove): Likewise.
15010         [IS_IN (rtld)] (memset): Likewise.
15011         [IS_IN (rtld)] (rawmemchr): Likewise.
15012         [IS_IN (rtld)] (stpcpy): Likewise.
15013         [IS_IN (rtld)] (strchr): Likewise.
15014         [IS_IN (rtld)] (strcmp): Likewise.
15015         [IS_IN (rtld)] (strlen): Likewise.
15016         [IS_IN (rtld)] (strnlen): Likewise.
15017         [IS_IN (rtld)] (strsep): Likewise.
15019         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
15020         attribute_hidden.
15021         [IS_IN (rtld)] (__strtoul_internal): Likewise.
15023         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
15024         attribute_hidden.
15025         [IS_IN (rtld)] (__libc_sigaction): Likewise.
15027         * include/setjmp.h (__longjmp): Add attribute_hidden.
15028         [IS_IN (rtld)] (__sigsetjmp): Likewise.
15030         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
15031         Add attribute_hidden.
15033         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
15034         [IS_IN (rtld)] (__open): Likewise.
15035         [IS_IN (rtld)] (__fcntl): Likewise.
15037         * include/dirent.h (__opendirat): Add attribute_hidden.
15038         (__getdents): Likewise.
15039         (__getdents64): Likewise.
15040         (__alloc_dir): Likewise.
15041         [IS_IN (rtld)] (__closedir): Likewise.
15042         [IS_IN (rtld)] (__fdopendir): Likewise.
15043         [IS_IN (rtld)] (__readdir): Likewise.
15044         [IS_IN (rtld)] (__readdir64): Likewise.
15045         [IS_IN (rtld)] (__rewinddir): Likewise.
15047         * include/dlfcn.h (_dl_catch_error): Moved to ...
15048         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
15049         attribute_hidden.
15051         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
15052         (_itoa_word): Likewise.
15054         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
15055         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
15056         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
15057         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
15058         (_dl_higher_prime_number): Likewise.
15059         (_dl_debug_printf_c): Likewise.
15060         (_dl_signal_cerror): Likewise.
15061         (_dl_receive_error): Likewise.
15062         (_dl_reloc_bad_type): Likewise.
15063         (_dl_resolve_conflicts): Likewise.
15064         (_dl_check_all_versions): Likewise.
15065         (_dl_check_map_versions): Likewise.
15066         (_dl_sort_fini): Likewise.
15067         (_dl_debug_initialize): Likewise.
15068         (_dl_init_paths): Likewise.
15069         (_dl_show_auxv): Likewise.
15070         (_dl_next_ld_env_entry): Likewise.
15071         (_dl_important_hwcaps): Likewise.
15072         (_dl_load_cache_lookup): Likewise.
15073         (_dl_update_slotinfo): Likewise.
15074         (_dl_show_scope): Likewise.
15076         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
15077         attribute_hidden.
15078         (_wordcopy_fwd_dest_aligned): Likewise.
15079         (_wordcopy_bwd_aligned): Likewise.
15080         (_wordcopy_bwd_dest_aligned): Likewise.
15082         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15083         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
15084         Likewise.
15085         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
15086         Likewise.
15087         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
15089 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15091         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
15092         GCC 5 requirement.
15094 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
15096         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
15097         test.
15098         * sysdeps/i386/configure: Regenerated.
15099         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
15100         code unconditional.
15102         * configure.ac (libc_cv_asm_previous_directive): Remove configure
15103         test.
15104         (libc_cv_asm_popsection_directive): Likewise.
15105         * configure: Regenerated.
15106         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
15107         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
15108         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
15109         (__make_section_unallocated): Make definition unconditional.
15110         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
15111         Remove conditional definition.
15112         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
15113         (__make_section_unallocated): Likewise.
15115         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
15116         * configure: Regenerated.
15117         * config.make.in (static-libgcc): Remove variable.
15118         * Makerules (build-shlib-helper): Use -static-libgcc instead of
15119         $(static-libgcc).
15120         (build-module-helper): Likewise.
15122         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
15123         * configure: Regenerated.
15125 2015-10-15  Florian Weimer  <fweimer@redhat.com>
15127         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
15128         (struct char_buffer): New type.
15129         (char_buffer_start, char_buffer_size, char_buffer_error)
15130         (char_buffer_rewind, char_buffer_add): New functions.
15131         (ADDW): Remove macro, replaced by the char_buffer_add function.
15132         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
15133         of extend_alloca.  Make control flow more explicit.
15135 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15137         [BZ #19137]
15138         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
15139         Add -fomit-frame-pointer.
15140         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
15142 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15144         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
15145         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
15146         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
15147         only if !__GNUC_PREREQ (5,0).
15148         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
15149         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
15150         (INTERNAL_SYSCALL_NCS): Likewise.
15151         (LOADREGS_0): New macro for GCC 5.
15152         (ASMARGS_0): Likewise.
15153         (LOADREGS_1): Likewise.
15154         (ASMARGS_1): Likewise.
15155         (LOADREGS_2): Likewise.
15156         (ASMARGS_2): Likewise.
15157         (LOADREGS_3): Likewise.
15158         (ASMARGS_3): Likewise.
15159         (LOADREGS_4): Likewise.
15160         (ASMARGS_4): Likewise.
15161         (LOADREGS_5): Likewise.
15162         (ASMARGS_5): Likewise.
15163         (LOADREGS_6): Likewise.
15164         (ASMARGS_6): Likewise.
15166 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15168         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
15169         -fomit-frame-pointer.
15170         (CFLAGS-mmap64.c): Likewise.
15171         (CFLAGS-semtimedop.c): Likewise.
15172         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
15173         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
15174         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
15175         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
15177 2015-10-15  Florian Weimer  <fweimer@redhat.com>
15179         [BZ #18928]
15180         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
15181         _dl_pointer_guard member.
15182         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
15183         initializer.
15184         (security_init): Always set up pointer guard.
15185         (process_envvars): Do not process LD_POINTER_GUARD.
15187 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
15189         [BZ #19134]
15190         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
15191         (.LC2): Likewise.
15192         (.LC3): Likewise.
15193         (__lround): Do not add 0.5 to integer or out-of-range arguments.
15195 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15197         [BZ #19129]
15198         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
15199         r0 and r1.
15201 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
15203         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
15205 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
15207         * include/stap-probe.h: Fix macro definition formatting.
15209 2015-10-14  Florian Weimer  <fweimer@redhat.com>
15211         [BZ #19074]
15212         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
15213         load and store num_ifs.
15215 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
15217         [BZ #18822]
15218         * sysdeps/unix/sysv/linux/sched_getaffinity.c
15219         (__sched_getaffinity_new): Add libc_hidden_proto and
15220         libc_hidden_def.
15222 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
15224         [BZ #19007]
15225         * scripts/localplt.awk: Also allow GOT references.
15226         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
15227         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
15228         with "+ REL R_386_GLOB_DAT".
15229         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
15230         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
15232 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
15234         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
15235         INLINE_SYSCALL_ERROR_RETURN_VALUE.
15236         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
15237         Likewise.
15238         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
15239         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
15240         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
15241         INTERNAL_SYSCALLINTERNAL_SYSCALL and
15242         INLINE_SYSCALL_ERROR_RETURN_VALUE.
15243         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
15244         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15245         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
15246         Likewise.
15247         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15249 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
15251         [BZ #19125]
15252         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
15253         <math_private.h> and <stdint.h>.
15254         (__llround): Avoid conversions to and from long long int, and
15255         subtractions, where those might raise spurious exceptions.
15256         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
15257         <math_private.h> and <stdint.h>.
15258         (__llroundf): Avoid conversions to and from long long int, and
15259         subtractions, where those might raise spurious exceptions.
15261 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
15263         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
15264         INLINE_SYSCALL_ERROR_RETURN_VALUE.
15265         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
15266         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
15267         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15268         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15269         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
15270         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
15271         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
15272         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
15273         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15274         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15275         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
15276         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15277         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15278         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
15279         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
15280         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15281         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
15282         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
15283         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
15284         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
15285         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
15286         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
15287         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
15288         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
15289         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
15290         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15291         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15292         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
15293         (__xstat64_conv): Likewise.
15294         (__xstat32_conv): Likewise.
15296 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
15298         * sysdeps/unix/sysv/linux/sysdep.h: New file.
15299         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
15300         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
15301         <sysdeps/unix/sysv/linux/sysdep.h>.
15302         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
15303         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
15304         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
15305         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15306         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
15307         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
15308         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
15309         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
15310         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
15311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15313         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15314         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15315         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15316         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
15317         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15318         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
15319         (sysdep-dl-routines): Add sysdep.
15320         [$(subdir) == nptl] (libpthread-routines): Likewise.
15321         [$(subdir) == rt] (librt-routines): Likewise.
15322         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
15323         PIC when branching to SYSCALL_ERROR_LABEL.
15324         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
15325         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
15326         <sysdeps/unix/sysv/linux/sysdep.h>.
15327         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
15328         (SYSCALL_ERROR_ERRNO): Removed.
15329         (SYSCALL_ERROR_HANDLER): Changed to empty.
15330         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
15331         (__syscall_error): New prototype.
15332         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
15333         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
15335 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
15337         [BZ #19124]
15338         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
15339         (_dl_runtime_resolve_avx512): Make it a hidden alias of
15340         _dl_runtime_resolve_avx.
15341         (_dl_runtime_profile_avx512): Make it a hidden alias of
15342         _dl_runtime_profile_avx.
15344 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
15346         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
15347         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
15348         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
15349         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
15351         [BZ #16422]
15352         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
15353         New configure test.
15354         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
15355         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
15356         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
15357         <math_private.h> and <stdint.h>.
15358         (__llrint): Avoid conversions to long long int where those might
15359         raise spurious exceptions.
15360         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
15361         <math_private.h> and <stdint.h>.
15362         (__llrintf): Avoid conversions to long long int where those might
15363         raise spurious exceptions.
15365 2015-10-12  Andreas Schwab  <schwab@suse.de>
15367         [BZ #18969]
15368         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
15369         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
15370         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
15371         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
15372         $(gen-locales).
15373         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
15374         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
15375         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
15376         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
15377         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
15378         $(gen-locales).
15379         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
15380         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
15381         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
15382         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
15383         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
15384         ($(objpfx)tst-ftell-active-handler.out)
15385         ($(objpfx)tst-ftell-append.out)
15386         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
15387         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
15388         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
15389         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
15390         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
15391         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
15392         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
15393         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
15394         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
15395         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
15396         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
15397         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
15398         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
15399         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
15400         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
15401         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
15402         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
15403         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
15404         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
15405         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
15406         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
15407         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
15408         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
15409         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
15410         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
15411         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
15412         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
15413         $(gen-locales).
15414         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
15415         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
15416         $(gen-locales).
15417         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
15418         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
15419         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
15420         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
15421         $(gen-locales).
15422         * libio/tst_wprintf2.c (main): Use explicit locale.
15423         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
15425 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15427         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
15428         __msg_sig_post.
15429         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
15431 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
15433         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
15434         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15436         * sysdeps/arm/libm-test-ulps: Regenerated.
15438         [BZ #15470]
15439         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
15441         [BZ #16399]
15442         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
15443         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
15444         and <fix-fp-int-convert-overflow.h>.
15445         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
15446         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15447         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
15448         and <fix-fp-int-convert-overflow.h>.
15449         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
15450         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15451         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
15452         <fix-fp-int-convert-overflow.h>.
15453         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
15454         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15455         * sysdeps/ieee754/dbl-64/s_lround.c: Include
15456         <fix-fp-int-convert-overflow.h>.
15457         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
15458         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15459         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
15460         and <fix-fp-int-convert-overflow.h>.
15461         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
15462         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15463         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
15464         <limits.h> and <fix-fp-int-convert-overflow.h>.
15465         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
15466         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15467         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
15468         and <fix-fp-int-convert-overflow.h>.
15469         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
15470         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15471         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
15472         and <fix-fp-int-convert-overflow.h>.
15473         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
15474         FIX_DBL_LLONG_CONVERT_OVERFLOW.
15475         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
15477 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
15479         [BZ #18589]
15480         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
15481         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
15482         $(gen-locales).
15484 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15485             Phil Blundell <pb@pbcl.net>
15487         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
15488         * nptl/tst-cancel26.c: New file.
15489         * nptl/tst-cancel27.c: Likewise.
15491 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
15493         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
15494         __ILP32__ isn't defined.
15495         (lrint): Likewise.
15496         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
15497         (lrintf): Likewise.
15498         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
15499         (lrintl): Likewise.
15500         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
15501         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
15502         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
15504 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15506         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
15507         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
15509         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
15510         file.
15511         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
15512         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
15514 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
15516         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
15517         configure test.
15518         * sysdeps/i386/configure: Regenerated.
15519         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
15520         configure test.
15521         * sysdeps/x86_64/configure: Regenerated.
15522         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
15523         Make code unconditional.
15525         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
15526         test.
15527         * sysdeps/i386/configure: Regenerated.
15528         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
15529         test.
15530         * sysdeps/x86_64/configure: Regenerated.
15531         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
15532         Make code unconditional.
15533         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
15534         Likewise.
15535         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
15536         Likewise.
15537         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15538         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
15539         code unconditional.
15540         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15541         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
15542         code unconditional.
15543         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15544         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
15545         code unconditional.
15546         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
15547         code unconditional.
15548         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15549         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
15550         code unconditional.
15551         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15552         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
15553         code unconditional.
15554         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15555         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
15556         code unconditional.
15557         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15558         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
15559         code unconditional.
15560         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15561         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
15563         [BZ #19095]
15564         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
15565         mantissa to long int before shifting left.
15567 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
15569         [BZ #19094]
15570         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
15571         <limits.h>.
15572         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15573         when result overflows but exception would not result from cast.
15574         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
15575         <limits.h>.
15576         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15577         when result overflows but exception would not result from cast.
15578         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
15579         <limits.h>.
15580         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15581         when result overflows but exception would not result from cast.
15582         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
15583         <limits.h>.
15584         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15585         when result overflows but exception would not result from cast.
15586         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
15587         <limits.h>.
15588         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15589         when result overflows but exception would not result from cast.
15590         * math/libm-test.inc (lrint_test_data): Add more tests.
15591         (llrint_test_data): Likewise.
15593 2015-10-08  Roland McGrath  <roland@hack.frob.com>
15595         [BZ #18872]
15596         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
15597         Move out from under [$(run-built-tests) = yes] conditional.
15598         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
15599         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
15601 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
15603         [BZ #18589]
15604         * string/Makefile (tests): Add bug-strcoll2.
15605         (LOCALES): Add cs_CZ.UTF-8.
15606         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
15608         [BZ #18589]
15609         * string/bug-strcoll2.c: New file.
15610         * locale/categories.def: Revert commit
15611         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
15612         * locale/langinfo.h: Likewise.
15613         * locale/localeinfo.h: Likewise.
15614         * locale/C-collate.c: Likewise.
15615         * locale/programs/ld-collate.c (collate_output): Likewise.
15616         * string/strcoll_l.c (STRDIFF): Likewise.
15617         (STRCOLL): Likewise.
15618         * wcsmbs/wcscoll_l.c: Likewise.
15620 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
15622         * math/libm-test.inc (lround_test_data): Do not expect the absence
15623         of "inexact" for some tests with non-integer arguments.
15624         (llround_test_data): Likewise.
15626         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
15627         test.
15628         (libc_cv_cc_sse2avx): Likewise.
15629         * sysdeps/i386/configure: Regenerated.
15630         * sysdeps/i386/i686/multiarch/Makefile
15631         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
15632         [$(subdir) = math].
15633         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
15634         code unconditional.
15635         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
15636         Likewise.
15637         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
15638         Likewise.
15639         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
15640         Likewise.
15641         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
15642         test.
15643         (libc_cv_cc_sse2avx): Likewise.
15644         * sysdeps/x86_64/configure: Regenerated.
15645         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
15646         unconditional.
15647         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
15648         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
15649         unconditional.
15650         (_dl_runtime_profile)
15651         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
15652         conditional code.
15653         * sysdeps/x86_64/fpu/multiarch/Makefile
15654         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
15655         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
15656         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15657         * sysdeps/x86_64/fpu/multiarch/e_exp.c
15658         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15659         * sysdeps/x86_64/fpu/multiarch/e_log.c
15660         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15661         * sysdeps/x86_64/fpu/multiarch/s_atan.c
15662         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15663         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
15664         Likewise.
15665         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
15666         Likewise.
15667         * sysdeps/x86_64/fpu/multiarch/s_sin.c
15668         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15669         * sysdeps/x86_64/fpu/multiarch/s_tan.c
15670         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15671         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
15672         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
15673         (HAVE_SSE2AVX_SUPPORT): Likewise.
15675 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
15677         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
15678         instead of #pragma optimize.
15680 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
15682         [BZ #17195]
15683         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
15684         as is similarly done in systrim and _int_free already.
15686 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15688         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
15690 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
15692         [BZ #19088]
15693         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
15694         <limits.h>.
15695         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
15696         overflows but exception would not result from cast.
15697         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
15698         and <limits.h>.
15699         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
15700         overflows but exception would not result from cast.
15701         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
15702         <limits.h>.
15703         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
15704         overflows but exception would not result from cast.
15705         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
15706         <limits.h>.
15707         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
15708         overflows but exception would not result from cast.
15709         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
15710         <limits.h>.
15711         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
15712         overflows but exception would not result from cast.
15713         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
15714         <limits.h>.
15715         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
15716         overflows but exception would not result from cast.
15717         * math/libm-test.inc (lround_test_data): Add more tests.
15718         (llround_test_data): Likewise.
15720 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
15722         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
15723         (CFLAGS-ialloc.c): Ditto.
15724         (CFLAGS-scheck.c): Ditto.
15726 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
15728         [BZ #19086]
15729         * manual/filesys.texi (Storage Allocation): Fix argument order for
15730         posix_fallocate64.
15732 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
15734         [BZ #19085]
15735         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
15736         exponent below 48 inside case for non-overflowing exponent.
15737         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
15739 2015-10-07  Florian Weimer  <fweimer@redhat.com>
15741         * iconvdata/cp737.h (from_idx): Add const.
15742         * iconvdata/cp775.h (from_idx): Likewise.
15744 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
15746         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
15747         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
15748         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
15750         [BZ #19079]
15751         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
15752         file, conditioned on [!_LP64].
15753         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
15754         [!_LP64] (__lround): Do not define as function or alias.
15755         [!_LP64] (lround): Likewise.
15756         [!_LP64] (__lroundl): Likewise.
15757         [!_LP64] (lroundl): Likewise.
15758         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
15759         macro.
15760         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
15761         Likewise.
15763 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
15765         * math/libm-test.inc (lrint_test_data): Add more tests.
15766         (llrint_test_data): Likewise.
15767         (lround_test_data): Likewise.
15768         (llround_test_data): Likewise.
15770         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
15771         (llrint_test_data): Add tests used for lrint.
15773         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
15774         test.
15775         * sysdeps/i386/configure: Regenerated.
15776         * sysdeps/i386/i686/multiarch/Makefile
15777         [$(config-cflags-sse4) = yes]: Make code unconditional.
15778         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
15779         Likewise.
15780         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
15781         Likewise.
15782         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
15783         test.
15784         * sysdeps/x86_64/configure: Regenerated.
15785         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
15786         Make code unconditional.
15787         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
15788         Likewise.
15789         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
15790         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
15792         * scripts/rpm2dynsym.sh: Remove file.
15794 2015-10-06  Florian Weimer  <fweimer@redhat.com>
15796         * configure.ac (libc_cv_cxx_thread_local): Define.
15797         * configure: Regenerate.
15798         * config.make.in (have-cxx-thread_local): Define.
15799         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
15800         (LDLIBS-tst-thread_local1): Define.
15801         (tests): Add tst-thread_local1.
15802         [have-cxx-thread_local != yes] (tests-unsupported): Add
15803         tst-thread_local1.
15804         * nptl/tst-thread_local1.cc: New file.
15806 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
15808         [BZ #19078]
15809         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
15810         (u_thres): Likewise.
15811         (__expl): Determine whether to call __kernel_standard_l based on
15812         value of result, not argument.
15814         * math/libm-test.inc (scalb_test_data): Add more expectations for
15815         the "inexact" exception.
15817         [BZ #19077]
15818         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
15819         0.0L for argument 1.0L.
15821         [BZ #19076]
15822         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
15823         constant 0.0L when computing infinite result.
15825 2015-10-06  Florian Weimer  <fweimer@redhat.com>
15827         [BZ #10432]
15828         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
15829         malloc_usable_size.
15831 2015-10-06  Florian Weimer  <fweimer@redhat.com>
15833         [BZ #19018]
15834         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15835         Mangle function pointer before storing it.
15836         (__call_tls_dtors): Demangle function pointer before calling it.
15838 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15840         [BZ #19012]
15841         * iconv/gconv_db.c (gen_steps): Check for additional errors.
15842         Clean up on failure.
15844 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
15846         [BZ #19071]
15847         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
15848         long int variable to store possibly incremented high part of
15849         mantissa.
15850         * math/libm-test.inc (lround_test_data): Add tests used for
15851         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
15852         for tests requiring 64-bit long.  Do not condition tests on
15853         [TEST_FLOAT] unnecessarily.
15854         (llround_test_data): Add tests used for lround.  Add another
15855         expectation for the "inexact" exception.  Do not condition tests
15856         on [TEST_FLOAT] unnecessarily.
15858         [BZ #887]
15859         [BZ #19049]
15860         [BZ #19050]
15861         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
15862         * sysdeps/ieee754/dbl-64/e_log10.c: Include
15863         <fix-int-fp-convert-zero.h>.
15864         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15865         * sysdeps/ieee754/dbl-64/e_log2.c: Include
15866         <fix-int-fp-convert-zero.h>.
15867         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15868         * sysdeps/ieee754/dbl-64/s_erf.c: Include
15869         <fix-int-fp-convert-zero.h>.
15870         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15871         * sysdeps/ieee754/dbl-64/s_logb.c: Include
15872         <fix-int-fp-convert-zero.h>.
15873         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15874         * sysdeps/ieee754/flt-32/e_log10f.c: Include
15875         <fix-int-fp-convert-zero.h>.
15876         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15877         * sysdeps/ieee754/flt-32/e_log2f.c: Include
15878         <fix-int-fp-convert-zero.h>.
15879         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15880         * sysdeps/ieee754/flt-32/s_erff.c: Include
15881         <fix-int-fp-convert-zero.h>.
15882         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15883         * sysdeps/ieee754/flt-32/s_logbf.c: Include
15884         <fix-int-fp-convert-zero.h>.
15885         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15886         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
15887         <fix-int-fp-convert-zero.h>.
15888         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15889         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
15890         <fix-int-fp-convert-zero.h>.
15891         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15892         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
15893         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
15894         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
15895         file.
15896         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
15898 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
15900         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15902 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
15904         [BZ #19059]
15905         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
15906         overflowing computation.
15907         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15908         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15909         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15910         Likewise.
15911         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15912         Likewise.
15913         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
15914         Likewise.
15915         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15916         Likewise.
15917         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15918         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15919         Likewise.
15920         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15921         Likewise.
15922         * math/libm-test.inc (nexttoward_test_data): Add more tests.
15924         * nss/rewrite_field.c (__nss_rewrite_field): Use
15925         internal_function.
15926         * nss/valid_field.c (__nss_valid_field): Likewise.
15927         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
15929 2015-10-02  Florian Weimer  <fweimer@redhat.com>
15931         [BZ #18724]
15932         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
15933         (__nss_invalid_field_characters, __nss_valid_field)
15934         (__nss_valid_list_field, __nss_rewrite_field): Declare.
15935         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
15936         tst-field.c: New file.
15937         * nss/Makefile (routines): Add valid_field, rewrite_field.
15938         (tests-static): Define unconditionally.
15939         (tests): Include tests-static.
15940         [build-static-nss] (tests-static): Use append.
15941         [build-static-nss] (tests): Remove modification.
15942         * nss/getent.c (print_group): Call putgrent.  Report error.
15943         (print_gshadow): Call putsgent.  Report error.
15944         (print_passwd): Call putpwent.  Report error.
15945         (print_shadow): Call putspent.  Report error.
15946         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
15947         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
15948         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
15949         name, password, directory, shell fields for valid syntax.  Rewrite
15950         GECOS field to match syntax.
15951         * pwd/Makefile (tests): Add tst-putpwent.
15952         * pwd/tst-putpwent.c: New file.
15953         * grp/putgrent.c (putgrent): Convert to ISO function definition.
15954         Check grName, grpasswd, gr_mem fields for valid syntax.
15955         Change loop variable i to size_t.
15956         * grp/Makefile (tests): Add tst-putgrent.
15957         * grp/tst-putgrent.c: New file.
15958         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
15959         valid syntax.
15960         * shadow/Makefile (tests): Add tst-putspent.
15961         * shadow/tst-putspent.c: New file.
15962         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
15963         sg_mem fields for valid syntax.
15964         * gshadow/Makefile (tests): Add tst-putsgent.
15965         * gshadow/tst-putsgent.c: New file.
15967 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15969         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
15970         assembly instructions.
15972 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15974         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
15975         prefix from operands.
15977 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
15979         [BZ #16347]
15980         [BZ #19046]
15981         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
15982         <libc-internal.h>.
15983         (MAXLGM): Do not use diagnostic control macros.
15984         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
15985         threshold for ldbl-128ibm.
15986         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
15987         instead of multiplying by log then subtracting.
15988         * math/auto-libm-test-in: Add more tests of lgamma.
15989         * math/auto-libm-test-out: Regenerated.
15991         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
15992         (TYPE_HEX_DIG): Likewise.
15993         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
15994         precisions when printing floating-point numbers.
15995         (check_float_internal): Likewise.
15997 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
15999         [BZ #16620]
16000         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
16001         of log (10) rounded downward to 48 bits.
16002         (log10_low): Use corresponding low part of log (10).
16004         [BZ #19032]
16005         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
16006         compute result as (x - x) / (x - x) not as 0 / 0.
16007         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16008         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
16010         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16011         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
16012         and expm1.
16013         * math/auto-libm-test-out: Regenerated.
16014         * math/libm-test.inc (acos_test_data): Add more tests.
16015         (asin_test_data): Likewise.
16016         (asinh_test_data): Likewise.
16017         (atan_test_data): Likewise.
16018         (atanh_test_data): Likewise.
16019         (atan2_test_data): Likewise.
16020         (cbrt_test_data): Likewise.
16021         (ceil_test_data): Likewise.
16022         (copysign_test_data): Likewise.
16023         (cos_test_data): Likewise.
16024         (cosh_test_data): Likewise.
16025         (erf_test_data): Likewise.
16026         (erfc_test_data): Likewise.
16027         (exp_test_data): Likewise.
16028         (exp10_test_data): Likewise.
16029         (exp2_test_data): Likewise.
16030         (expm1_test_data): Likewise.
16031         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16033 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
16035         [BZ #19006]
16036         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
16037         to ...
16038         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
16039         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
16040         to ...
16041         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
16042         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
16043         to ...
16044         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
16045         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
16046         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
16047         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
16048         to ...
16049         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
16050         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16051         Moved to ...
16052         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
16053         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16054         Moved to ...
16055         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
16056         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
16057         to ...
16058         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
16059         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16060         Moved to ...
16061         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
16062         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
16063         to ...
16064         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
16065         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
16066         Removed.
16067         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
16068         Likewise.
16069         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
16070         Likewise.
16071         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
16072         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
16073         Likewise.
16074         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16075         Likewise.
16076         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16077         Likewise.
16078         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16079         Likewise.
16080         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16081         Likewise.
16082         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
16083         Likewise.
16084         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
16085         Likewise.
16086         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
16087         Likewise.
16088         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
16089         Likewise.
16090         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
16091         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
16092         Likewise.
16093         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16094         Likewise.
16095         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16096         Likewise.
16097         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16098         Likewise.
16099         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
16100         Likewise.
16101         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16102         Replace ../i486/pthread_cond_timedwait.S with
16103         ../pthread_cond_timedwait.S.
16105 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
16107         * math/libm-test.inc (acos_test_data): Refine expectations for
16108         errno and "inexact" exceptions.
16109         (acosh_test_data): Likewise.
16110         (asin_test_data): Likewise.
16111         (asinh_test_data): Likewise.
16112         (atan_test_data): Likewise.
16113         (atanh_test_data): Likewise.
16114         (atan2_test_data): Likewise.
16115         (cbrt_test_data): Likewise.
16116         (ceil_test_data): Likewise.
16117         (copysign_test_data): Likewise.
16118         (cosh_test_data): Likewise.
16119         (erf_test_data): Likewise.
16120         (erfc_test_data): Likewise.
16121         (exp_test_data): Likewise.
16122         (exp10_test_data): Likewise.
16123         (exp2_test_data): Likewise.
16124         (expm1_test_data): Likewise.
16125         (fabs_test_data): Likewise.
16126         (floor_test_data): Likewise.
16127         (fma_test_data): Likewise.
16128         (fmax_test_data): Likewise.
16129         (fmin_test_data): Likewise.
16130         (fmod_test_data): Likewise.
16131         (fpclassify_test_data): Likewise.
16132         (frexp_test_data): Likewise.
16133         (hypot_test_data): Likewise.
16134         (ilogb_test_data): Likewise.
16135         (isgreater_test_data): Likewise.
16136         (isgreaterequal_test_data): Likewise.
16137         (isinf_test_data): Likewise.
16138         (isless_test_data): Likewise.
16139         (islessequal_test_data): Likewise.
16140         (islessgreater_test_data): Likewise.
16141         (isnan_test_data): Likewise.
16142         (isnormal_test_data): Likewise.
16143         (issignaling_test_data): Likewise.
16144         (isunordered_test_data): Likewise.
16145         (j0_test_data): Likewise.
16146         (j1_test_data): Likewise.
16147         (jn_test_data): Likewise.
16148         (lgamma_test_data): Likewise.
16149         (lrint_test_data): Likewise.
16150         (llrint_test_data): Likewise.
16151         (log_test_data): Likewise.
16152         (log10_test_data): Likewise.
16153         (log1p_test_data): Likewise.
16154         (log2_test_data): Likewise.
16155         (logb_test_data): Likewise.
16156         (lround_test_data): Likewise.
16157         (llround_test_data): Likewise.
16158         (modf_test_data): Likewise.
16159         (nearbyint_test_data): Likewise.
16160         (nextafter_test_data): Likewise.
16161         (nexttoward_test_data): Likewise.
16162         (pow_test_data): Likewise.
16163         (remainder_test_data): Likewise.
16164         (remquo_test_data): Likewise.
16165         (rint_test_data): Likewise.
16166         (round_test_data): Likewise.
16167         (signbit_test_data): Likewise.
16168         (sinh_test_data): Likewise.
16169         (sqrt_test_data): Likewise.
16170         (tanh_test_data): Likewise.
16171         (tgamma_test_data): Likewise.
16172         (trunc_test_data): Likewise.
16173         (y0_test_data): Likewise.
16174         (y1_test_data): Likewise.
16175         (yn_test_data): Likewise.
16176         (significand_test_data): Likewise.
16178 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
16180         * manual/filesys.texi (Storage Allocation): Document that
16181         posix_fallocate emulation fails when fd is open with O_WRONLY.
16183 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
16185         [BZ #19016]
16186         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
16187         allow more cases with X^2 + Y^2 >= 0.5.
16188         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
16189         normal element in sum instead of special-casing based on values of
16190         arguments.
16191         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
16192         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
16193         -1 as normal element in sum instead of special-casing based on
16194         values of arguments.
16195         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
16196         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
16197         (__x2y2m1): Update comment.
16198         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
16199         as normal element in sum instead of special-casing based on values
16200         of arguments.
16201         * math/s_clog.c (__clog): Handle more cases using log1p without
16202         hypot.
16203         * math/s_clog10.c (__clog10): Likewise.
16204         * math/s_clog10f.c (__clog10f): Likewise.
16205         * math/s_clog10l.c (__clog10l): Likewise.
16206         * math/s_clogf.c (__clogf): Likewise.
16207         * math/s_clogl.c (__clogl): Likewise.
16208         * math/auto-libm-test-in: Add more tests of clog and clog10.
16209         * math/auto-libm-test-out: Regenerated.
16210         * sysdeps/i386/fpu/libm-test-ulps: Update.
16211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16213 2015-09-28  Martin Sebor  <msebor@redhat.com>
16215         [BZ #18969]
16216         * string/Makefile (LOCALES): Define.
16217         (gen-locales.mk): Include.
16218         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
16219         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
16220         * string/tst-strxfrm2.c (do_test): Print the name of the locale
16221         on setlocale failure.
16223 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
16225         [BZ #18985]
16226         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
16227         (__strftime_internal): Likewise.
16228         * time/tst-strftime.c (do_bz18985): New test.
16229         (do_test): Call it.
16231 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
16233         [BZ #18956]
16234         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
16235         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
16236         extracting high part.
16237         * math/auto-libm-test-in: Add another test of pow.
16238         * math/auto-libm-test-out: Regenerated.
16239         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16241 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
16243         [BZ #18825]
16244         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
16245         New macro.
16246         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
16247         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
16248         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
16249         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
16250         DBL_NARROW_EVAL, reloading the PIC register as needed.
16251         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
16252         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
16253         FLT_NARROW_EVAL.  Use separate return path for case when first
16254         argument is NaN.
16255         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
16256         DEFINE_LDBL_MIN.
16257         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
16258         PIC register.
16259         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
16260         math_check_force_underflow_nonneg.
16261         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
16262         underflow for subnormal result.
16263         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16264         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
16265         math_check_force_underflow_nonneg.
16266         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
16267         math_check_force_underflow.
16268         * sysdeps/x86_64/fpu/x86_64-math-asm.h
16269         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
16270         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
16271         DEFINE_LDBL_MIN.
16272         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
16273         * math/auto-libm-test-in: Add more tests of pow.
16274         * math/auto-libm-test-out: Regenerated.
16276 2015-09-25  Florian Weimer  <fweimer@redhat.com>
16278         * nss/bug17079.c (init_test_items): Add diagnostic for
16279         inconsistent entries.
16280         (test_buffer_size): Skip inconsistent entries.
16282 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
16284         [BZ #13304]
16285         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
16286         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
16287         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
16289         [BZ #13304]
16290         * sysdeps/microblaze/s_fma.c: New file.
16291         * sysdeps/microblaze/s_fmaf.c: Likewise.
16292         * sysdeps/microblaze/sfp-machine.h: Likewise.
16294 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
16296         [BZ #17250]
16297         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
16298         member.
16300 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
16302         [BZ #18803]
16303         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
16304         (MO): New macro.
16305         (__ieee754_hypot) [PIC]: Load PIC register.
16306         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
16307         DBL_NARROW_EVAL.
16308         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
16309         math_check_force_underflow_nonneg in case where result might be
16310         tiny.
16311         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16312         Likewise.
16313         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
16314         Likewise.
16315         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16316         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16317         * math/auto-libm-test-in: Add more tests of hypot.
16318         * math/auto-libm-test-out: Regenerated.
16320 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
16322         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
16324 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
16326         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
16327         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
16328         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
16329         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
16330         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
16331         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
16332         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
16334         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
16335         LOAD_PIC_REG.
16337         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
16338         (FLT_CHECK_FORCE_UFLOW): Likewise.
16339         (DBL_CHECK_FORCE_UFLOW): Likewise.
16340         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
16341         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
16342         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
16343         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
16344         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
16345         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
16346         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
16347         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
16348         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
16349         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16350         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
16351         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
16352         (flt_min): Replace with use of DEFINE_FLT_MIN.
16353         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
16354         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
16355         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16356         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
16357         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
16358         (flt_min): Replace with use of DEFINE_FLT_MIN.
16359         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
16360         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
16361         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16362         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
16363         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
16364         (flt_min): Replace with use of DEFINE_FLT_MIN.
16365         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
16366         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
16367         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
16368         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
16369         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
16370         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
16371         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
16372         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
16373         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16374         (__atan): Use DBL_CHECK_FORCE_UFLOW.
16375         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
16376         (flt_min): Replace with use of DEFINE_FLT_MIN.
16377         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
16378         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
16379         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16380         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
16381         main computation.
16382         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
16383         (flt_min): Replace with use of DEFINE_FLT_MIN.
16384         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
16385         main computation.
16386         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
16387         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16388         (MO): New macro.
16389         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
16390         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
16391         (flt_min): Replace with use of DEFINE_FLT_MIN.
16392         (MO): New macro.
16393         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
16394         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
16395         (__log1pl): Use MO.
16397         [BZ #19003]
16398         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
16399         $(config-cflags-nofma).
16401 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16403         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16405 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
16407         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
16408         (TWO127): Likewise.
16410         * sysdeps/generic/math_private.h (fabs_tg): New macro.
16411         (min_of_type): Likewise.
16412         (math_check_force_underflow): Likewise.
16413         (math_check_force_underflow_nonneg): Likewise.
16414         (math_check_force_underflow_complex): Likewise.
16415         * math/e_exp2l.c (__ieee754_exp2l): Use
16416         math_check_force_underflow_nonneg.
16417         * math/k_casinh.c (__kernel_casinh): Likewise.
16418         * math/k_casinhf.c (__kernel_casinhf): Likewise.
16419         * math/k_casinhl.c (__kernel_casinhl): Likewise.
16420         * math/s_catan.c (__catan): Use
16421         math_check_force_underflow_complex.
16422         * math/s_catanf.c (__catanf): Likewise.
16423         * math/s_catanh.c (__catanh): Likewise.
16424         * math/s_catanhf.c (__catanhf): Likewise.
16425         * math/s_catanhl.c (__catanhl): Likewise.
16426         * math/s_catanl.c (__catanl): Likewise.
16427         * math/s_ccosh.c (__ccosh): Likewise.
16428         * math/s_ccoshf.c (__ccoshf): Likewise.
16429         * math/s_ccoshl.c (__ccoshl): Likewise.
16430         * math/s_cexp.c (__cexp): Likewise.
16431         * math/s_cexpf.c (__cexpf): Likewise.
16432         * math/s_cexpl.c (__cexpl): Likewise.
16433         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
16434         * math/s_clog10.c (__clog10): Likewise.
16435         * math/s_clog10f.c (__clog10f): Likewise.
16436         * math/s_clog10l.c (__clog10l): Likewise.
16437         * math/s_clogf.c (__clogf): Likewise.
16438         * math/s_clogl.c (__clogl): Likewise.
16439         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
16440         * math/s_csinf.c (__csinf): Likewise.
16441         * math/s_csinh.c (__csinh): Likewise.
16442         * math/s_csinhf.c (__csinhf): Likewise.
16443         * math/s_csinhl.c (__csinhl): Likewise.
16444         * math/s_csinl.c (__csinl): Likewise.
16445         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
16446         * math/s_csqrtf.c (__csqrtf): Likewise.
16447         * math/s_csqrtl.c (__csqrtl): Likewise.
16448         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
16449         * math/s_ctanf.c (__ctanf): Likewise.
16450         * math/s_ctanh.c (__ctanh): Likewise.
16451         * math/s_ctanhf.c (__ctanhf): Likewise.
16452         * math/s_ctanhl.c (__ctanhl): Likewise.
16453         * math/s_ctanl.c (__ctanl): Likewise.
16454         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
16455         instead of volatile.
16456         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
16457         math_check_force_underflow.
16458         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16459         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
16460         volatile when forcing underflow.
16461         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16462         math_check_force_underflow_nonneg.
16463         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
16464         Likewise.
16465         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
16466         math_check_force_underflow.
16467         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16468         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16469         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16470         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
16471         math_check_force_underflow_nonneg.
16472         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
16473         math_check_force_underflow.
16474         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
16475         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
16476         instead of volatile.
16477         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
16478         math_check_force_underflow.
16479         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16480         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16481         math_check_force_underflow_nonneg.
16482         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
16483         math_check_force_underflow.
16484         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16485         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16486         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
16487         math_check_force_underflow_nonneg.
16488         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
16489         Likewise.
16490         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
16491         math_check_force_underflow.
16492         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16493         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
16494         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
16495         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
16496         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16497         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
16498         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
16499         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
16500         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
16501         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
16502         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16503         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
16504         Likewise.
16505         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
16506         math_check_force_underflow_nonneg.
16507         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
16508         Likewise.
16509         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
16510         math_check_force_underflow.
16511         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16512         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
16513         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16514         Likewise.
16515         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
16516         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
16517         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
16518         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
16519         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
16520         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
16521         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
16522         instead of volatile.
16523         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
16524         math_check_force_underflow.
16525         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
16526         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
16527         math_check_force_underflow.
16528         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
16529         Likewise.
16530         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16531         Use math_check_force_underflow_nonneg.
16532         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
16533         math_check_force_underflow.
16534         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
16535         Likewise.
16536         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16537         Likewise.
16538         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16539         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16540         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16541         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16542         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
16543         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16544         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16545         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
16546         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
16547         math_check_force_underflow_nonneg.
16548         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
16549         math_check_force_underflow.
16550         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16551         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
16552         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
16553         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
16554         math_check_force_underflow_nonneg.
16555         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
16556         math_check_force_underflow.
16557         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
16558         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
16559         instead of volatile.
16560         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
16561         math_check_force_underflow.
16563         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
16564         * stdlib/strtod_l.c: Include <math_private.h>.
16565         (overflow_value): Use math_narrow_eval.
16566         (underflow_value): Likewise.
16567         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16568         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
16569         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16570         (__ieee754_gamma_r): Likewise.
16571         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
16572         Likewise.
16573         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
16574         Likewise.
16575         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
16576         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
16577         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
16578         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
16579         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16580         (__ieee754_gammaf_r): Likewise.
16581         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16582         Likewise.
16583         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
16584         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
16585         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
16586         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
16587         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
16588         volatile.
16589         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
16590         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
16591         math_narrow_eval.
16592         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
16593         Likewise.
16594         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16595         Likewise.
16596         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
16597         Likewise.
16598         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
16599         volatile.
16600         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
16601         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
16602         math_narrow_eval.
16603         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16604         Likewise.
16605         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16606         Likewise.
16608 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
16610         * nptl/Versions: Remove ignored symbols.
16612 2015-09-22  Florian Weimer  <fweimer@redhat.com>
16614         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
16615         * nss/Makefile (tests): Update.
16617 2015-09-22  Florian Weimer  <fweimer@redhat.com>
16619         * nss/bug18287.c: New file.
16620         * nss/Makefile (tests): Add bug18287.
16622 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16624         * mach/Versions (__mach_host_self_): Add symbol.
16626 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16628         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
16629         vm_page_size.
16631 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16633         Really fix sysdeps/i386/fpu/s_scalbn.S build
16635         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
16636         (libc: GLIBC_2_22): Remove unused version set.
16638 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
16640         * config.make.in (enable-timezone-tools): New variable.
16641         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
16642         (enable_timezone_tools): Export to generated files.
16643         * configure: Regenerate.
16644         * INSTALL: Regenerate.
16645         * manual/install.texi (--disable-timezone-tools): Document new flag.
16646         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
16647         ifeq ($(enable-timezone-tools),yes) check.
16649 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
16651         * timezone/Makefile: Revert previous change.
16653         [BZ #18980]
16654         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
16655         (DEFINE_DBL_MIN): Likewise.
16656         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
16657         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
16658         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
16659         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
16660         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
16661         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16662         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16663         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
16664         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
16665         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16666         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16667         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
16668         (flt_min): Replace with use of DEFINE_FLT_MIN.
16669         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16670         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
16671         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16672         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16673         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
16674         (flt_min): Replace with use of DEFINE_FLT_MIN.
16675         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16676         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
16677         (flt_min): Replace with use of DEFINE_FLT_MIN.
16678         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16679         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
16680         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
16681         (__ieee754_hypot): Use DBL_NARROW_EVAL.
16682         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
16683         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
16684         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
16685         (__ieee754_pow): Use DBL_NARROW_EVAL.
16686         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
16687         (__ieee754_powf): Use FLT_NARROW_EVAL.
16688         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
16689         (__ieee754_expf_sse2): Convert double-precision result to single
16690         precision.
16691         * sysdeps/i386/fpu/libm-test-ulps: Update.
16693 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16695         * timezone/Makefile: Ignore unused variable errors due to private.h
16696         (time_t_min) and (time_t_max).
16697         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
16698         Likewise.
16700 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
16702         [BZ #18981]
16703         * sysdeps/i386/fpu/i386-math-asm.h: New file.
16704         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
16705         (__ieee754_scalb): Use DBL_NARROW_EVAL.
16706         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
16707         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
16708         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
16709         (__scalbn): Use DBL_NARROW_EVAL.
16710         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
16711         (__scalbnf): Use FLT_NARROW_EVAL.
16713 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16715         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
16716         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
16717         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
16718         * stdio-common/printf_fp.c (___printf_fp):
16719         Use signbit to get the sign. Use isinf macro to allow inlining.
16720         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
16721         * stdio-common/printf_size.c (__printf_size): Likewise.
16723 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
16725         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
16727 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
16729         [BZ #18980]
16730         * sysdeps/generic/math_private.h: Include <float.h>.
16731         (math_narrow_eval): New macro.
16732         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
16733         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
16734         math_narrow_eval on overflowing return value.
16735         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
16736         Likewise.
16737         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16738         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
16739         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
16740         Likewise.
16741         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
16743 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16745         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
16746         * math/Makefile: Remove isinf_ns.c.
16747         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
16748         * math/multc3.c (__multc3): Likewise.
16749         * math/s_casin.c (__casin): Likewise.
16750         * math/s_casinf.c (__casinf): Likewise.
16751         * math/s_casinl.c (__casinl): Likewise.
16752         * math/s_cproj.c (__cproj): Likewise.
16753         * math/s_cprojf.c (__cprojf): Likewise.
16754         * math/s_cprojl.c (__cprofl): Likewise.
16755         * math/s_ctan.c (__ctan): Likewise.
16756         * math/s_ctanf.c (__ctanf): Likewise.
16757         * math/s_ctanh.c (__ctanh): Likewise.
16758         * math/s_ctanhf.c (__ctanhf): Likewise.
16759         * math/s_ctanhl.c (__ctanhl): Likewise.
16760         * math/s_ctanl.c (__ctanl): Likewise.
16761         * math/w_fmod.c (__fmod): Likewise.
16762         * math/w_fmodf.c (__fmodf): Likewise.
16763         * math/w_fmodl.c (_fmodl): Likewise.
16764         * math/w_remainder.c (__remainder): Likewise.
16765         * math/w_remainderf.c (__remainderf): Likewise.
16766         * math/w_remainderl.c (__remainderl): Likewise.
16767         * math/w_scalb.c (__scalb): Likewise.
16768         * math/w_scalbf.c (__scalbf): Likewise.
16769         * math/w_scalbl.c (__scalbl): Likewise.
16770         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
16771         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
16772         with isinf.
16773         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
16774         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
16775         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
16776         __isinf_nsf with isinf.
16777         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
16778         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
16779         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
16780         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
16781         with isinf.
16782         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
16783         __isinf_nsl with isinf.
16784         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
16785         with isinf.
16786         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
16787         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
16788         __isinf_nsl with isinf.
16789         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
16790         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
16791         with isinf.
16793 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16795         * resolv/base64.c (rcsid): Remove unused static.
16796         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
16797         static.  (tqpi1): Likewise.
16798         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
16799         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
16800         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
16801         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
16802         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
16803         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
16804         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
16805         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
16806         Likewise.
16808 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
16810         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
16811         <nptl/pthreadP.h>.
16812         (_longjmp_unwind): Use __libc_ptf_call.
16813         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
16815 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
16817         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
16818         * sysdeps/arm/__longjmp.S: Likewise.
16820 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16822         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
16823         Use __builtin_signbit.
16824         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
16825         Use __builtin_signbitf.
16826         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
16827         Use __builtin_signbitl.
16828         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16829         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
16831 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16833         [BZ #15367]
16834         [BZ #17441]
16836         * math/Makefile: Build test-snan.c with -fsignaling-nans.
16837         * math/math.h (fpclassify): Use __builtin_fpclassify when
16838         available.  (signbit): Use __builtin_signbit(f/l).
16839         (isfinite): Use__builtin_isfinite.  (isnormal): Use
16840         __builtin_isnormal.  (isnan): Use __builtin_isnan.
16841         (isinf): Use __builtin_isinf_sign.
16843 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16845         * benchtests/Makefile: Add bench-math-inlines, link with libm.
16846         * benchtests/bench-math-inlines.c: New benchmark.
16847         * benchtests/bench-util.h: New file.
16848         * benchtests/bench-util.c: New file.
16849         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
16851 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
16853         * elf/tst-dlmopen1.c: Define TEST_SO.
16854         (do_test): Use TEST_SO.
16856         * elf/dl-load.c: Include libc-internal.h.
16857         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
16859 2015-09-18  Vincent Bernat  <vincent@bernat.im>
16861         [BZ #17887]
16862         * time/strptime_l.c (__strptime_internal): Make %z accept
16863         [+-]HH:MM time zones.
16865 2015-09-18  Vincent Bernat  <vincent@bernat.im>
16867         [BZ #17886]
16868         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
16869         valid time zone.
16871 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
16873         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
16874         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
16875         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16876         (__ASSUME_FDATASYNC): Delete.
16878 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16880         * conform/linknamespace.pl: Require weak undefined symbols to be
16881         in the standard namespace.
16882         (%strong_syms): Rename to %seen_syms.
16883         (%strong_seen): Rename to %seen_where.
16885 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
16887         [BZ #18970]
16888         * misc/error.c (error): Replace pthread_setcancelstate with
16889         __pthread_setcancelstate.
16890         (error_at_line): Likewise.
16891         * posix/wordexp.c (parse_comm): Likewise.
16892         * stdlib/fmtmsg.c (fmtmsg): Likewise.
16893         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
16894         (__pthread_setcancelstate): This.
16895         (pthread_setcancelstate): Add an alias.
16896         * nptl/nptl-init.c (pthread_functions): Replace
16897         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
16898         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
16899         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
16900         hidden_proto.
16901         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
16902         it with hidden_def.
16903         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
16904         (pthread_setcancelstate): Renamed to ...
16905         (__pthread_setcancelstate): This.
16906         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
16907         __libc_ptf_call with __pthread_setcancelstate.
16909 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16910             Andreas Schwab  <schwab@suse.de>
16912         [BZ #17118]
16913         * math/s_ctan.c (__ctan): Determine sign of zero real part of
16914         result when imaginary part of argument is infinite using sine and
16915         cosine.
16916         * math/s_ctanf.c (__ctanf): Likewise.
16917         * math/s_ctanl.c (__ctanl): Likewise.
16918         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
16919         of result when real part of argument is infinite using sine and
16920         cosine.
16921         * math/s_ctanhf.c (__ctanhf): Likewise.
16922         * math/s_ctanhl.c (__ctanhl): Likewise.
16923         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
16924         (ctanh_test_data): Add more tests of ctanh.
16926 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16928         [BZ #15384]
16929         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
16930         bit-mask as in subtraction.
16931         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
16932         Likewise.
16933         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
16934         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
16935         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
16937         [BZ #18951]
16938         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
16939         underflow exception for small results.
16940         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
16941         Likewise.
16942         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
16943         Likewise.
16944         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16945         Likewise.
16946         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16947         Likewise.
16948         * math/auto-libm-test-in: Add more tests of tgamma.
16949         * math/auto-libm-test-out: Regenerated.
16951 2015-09-17  Andreas Schwab  <schwab@suse.de>
16953         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
16955 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
16957         [BZ #18977]
16958         * math/bits/mathcalls.h
16959         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
16960         not declare.
16961         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
16962         Likewise.
16963         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
16964         Likewise.
16965         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
16966         Likewise.
16967         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
16968         Likewise.
16969         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
16970         Likewise.
16971         * conform/data/math.h-data
16972         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
16973         function.
16974         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
16975         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
16976         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
16977         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
16978         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
16979         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
16980         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
16981         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
16982         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
16983         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
16984         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
16986         [BZ #6803]
16987         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
16988         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
16989         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
16990         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
16991         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
16992         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
16993         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
16994         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
16995         [NO_LONG_DOUBLE] (scalbnl): Likewise.
16996         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
16997         Likewise.
16998         [NO_LONG_DOUBLE] (scalbnl): Likewise.
16999         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
17000         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
17001         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
17002         long_double_symbol calls.
17003         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
17004         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
17005         strong alias of __ldexpl.
17006         (scalbnl): Define using long_double_symbol.
17007         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
17008         Remove alias.
17009         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
17010         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
17011         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
17012         (scalbln_test_data): Add more errno expectations.
17014 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
17016         Cache the host port like we cache the task port.  This way we do not
17017         need to call the kernel just to get the port.  Furthermore, we no
17018         longer increase the reference count on every invocation of
17019         `mach_host_self'.
17021         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
17022         Protect declarations against the macro expansion.
17023         * mach/mach_init.c (__mach_host_self_): New variable.
17024         (mach_init): Initialize `__mach_host_self_'.
17025         * mach/mach_init.h (__mach_host_self_): New declaration.
17026         (__mach_host_self, mach_host_self): New macros.
17027         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
17028         Release reference.
17030 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
17032         [BZ #4404]
17033         * po/de.po: Update from Translation Project.
17035         [BZ #16415]
17036         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
17037         (__expm1l): Remove code to handle positive infinity and overflow.
17038         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
17039         variable.
17040         (__expm1l): Remove code to handle positive infinity and overflow.
17042 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
17043             Paul Pluzhnikov  <ppluzhnikov@google.com>
17045         [BZ #18872]
17046         * stdio-common/Makefile (tst-printf-bz18872): New test.
17047         (tst-printf-bz18872-mem.out): Likewise.
17048         * stdio-common/tst-printf-bz18872.sh: Generate new test.
17049         * stdio-common/vfprintf.c: Fix memory leaks.
17051 2015-09-16  Andreas Schwab  <schwab@suse.de>
17053         [BZ #17244]
17054         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
17055         Remove extra va_start/va_end calls.
17057         [BZ #17243]
17058         * posix/execl.c (execl): Add missing va_end.
17059         * posix/execle.c (execle): Likewise.
17060         * posix/execlp.c (execlp): Likewise.
17062 2015-09-15  Roland McGrath  <roland@hack.frob.com>
17064         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
17065         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
17067 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
17069         [BZ #18967]
17070         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
17071         undefine around includes of <bits/mathcalls.h>.
17072         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
17073         not declare function.
17074         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
17075         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
17076         (scalb): Likewise.
17077         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
17078         not define macro.
17079         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
17080         variable.
17081         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17082         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17083         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17085         [BZ #18857]
17086         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
17087         return non-finite argument without doing ordered comparisons on
17088         it.
17090         [BZ #16296]
17091         * math/fenv.h (fegetround): Use __attribute_pure__.
17092         * include/fenv.h (__fegetround): Likewise.
17094         [BZ #18595]
17095         * math/s_ctan.c (__ctan): Force underflow exception for results
17096         whose real or imaginary part has small absolute value.
17097         * math/s_ctanf.c (__ctanf): Likewise.
17098         * math/s_ctanh.c (__ctanh): Likewise.
17099         * math/s_ctanhf.c (__ctanhf): Likewise.
17100         * math/s_ctanhl.c (__ctanhl): Likewise.
17101         * math/s_ctanl.c (__ctanl): Likewise.
17102         * math/auto-libm-test-in: Do not allow missing underflow for ctan
17103         and ctanh.  Add more tests of ctan and ctanh.
17105         [BZ #15918]
17106         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
17107         handling of cases where one argument is an infinity.
17109         [BZ #18875]
17110         [BZ #18966]
17111         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
17112         (MO): New macro.
17113         (__ieee754_exp10): For small results, force underflow exception
17114         and remove excess range and precision from return value.
17115         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
17116         (MO): New macro.
17117         (__ieee754_exp10f): For small results, force underflow exception
17118         and remove excess range and precision from return value.
17119         * math/auto-libm-test-in: Add more tests of exp10.
17120         * math/auto-libm-test-out: Regenerated.
17122 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
17124         [BZ #18875]
17125         [BZ #18961]
17126         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
17127         (MO): New macro.
17128         (__ieee754_exp): For small results, force underflow exception and
17129         remove excess range and precision from return value.
17130         (__exp_finite): Likewise.
17131         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
17132         (MO): New macro.
17133         (__ieee754_expf): For small results, force underflow exception and
17134         remove excess range and precision from return value.
17135         (__expf_finite): Likewise.
17136         * math/auto-libm-test-in: Add more tests of exp.
17137         * math/auto-libm-test-out: Regenerated.
17139         [BZ #16521]
17140         [BZ #18875]
17141         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
17142         small results.
17143         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
17144         (MO): New macro.
17145         (__ieee754_exp2): For small results, force underflow exception and
17146         remove excess range and precision from return value.
17147         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
17148         (MO): New macro.
17149         (__ieee754_exp2f): For small results, force underflow exception
17150         and remove excess range and precision from return value.
17151         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
17152         (MO): New macro.
17153         (__ieee754_exp2l): Force underflow exception for small results.
17154         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17155         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
17156         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
17157         (MO): New macro.
17158         (__ieee754_exp2l): Force underflow exception for small results.
17159         * math/auto-libm-test-in: Add more tests or exp2.
17160         * math/auto-libm-test-out: Regenerated.
17162 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
17164         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
17166         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
17167         /dev/null.
17169 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17171         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17172         io fs process)): Drop spurious backslash.
17174 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
17176         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
17177         Use sysinfo system call instead of parsing /proc/meminfo.
17178         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
17179         Likewise.
17181 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
17183         [BZ #16985]
17184         * programs/localedef.c (main): Display argv[remaining] when
17185         output_path is NULL.
17187 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
17189         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17190         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
17191         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
17192         tanh.
17193         * math/auto-libm-test-out: Regenerated.
17194         * sysdeps/i386/fpu/libm-test-ulps: Update.
17195         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17196         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17199 2015-09-11  Roland McGrath  <roland@hack.frob.com>
17201         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
17202         Use 'override' keyword to freeze the value here, preventing
17203         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
17205 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
17207         [BZ #14912]
17208         * sysdeps/aarch64/bits/atomic.h: Move to ...
17209         * sysdeps/aarch64/atomic-machine.h: ...here.
17210         (_AARCH64_BITS_ATOMIC_H): Rename macro to
17211         _AARCH64_ATOMIC_MACHINE_H.
17212         * sysdeps/alpha/bits/atomic.h: Move to ...
17213         * sysdeps/alpha/atomic-machine.h: ...here.
17214         * sysdeps/arm/bits/atomic.h: Move to ...
17215         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
17216         * bits/atomic.h: Move to ...
17217         * sysdeps/generic/atomic-machine.h: ...here.
17218         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17219         * sysdeps/i386/bits/atomic.h: Move to ...
17220         * sysdeps/i386/atomic-machine.h: ...here.
17221         * sysdeps/ia64/bits/atomic.h: Move to ...
17222         * sysdeps/ia64/atomic-machine.h: ...here.
17223         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
17224         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
17225         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17226         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
17227         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
17228         * sysdeps/microblaze/bits/atomic.h: Move to ...
17229         * sysdeps/microblaze/atomic-machine.h: ...here.
17230         * sysdeps/mips/bits/atomic.h: Move to ...
17231         * sysdeps/mips/atomic-machine.h: ...here.
17232         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
17233         * sysdeps/powerpc/bits/atomic.h: Move to ...
17234         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
17235         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
17236         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
17237         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
17238         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
17239         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
17240         <atomic-machine.h> instead of <bits/atomic.h>.
17241         * sysdeps/s390/bits/atomic.h: Move to ...
17242         * sysdeps/s390/atomic-machine.h: ...here.
17243         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
17244         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
17245         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17246         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
17247         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
17248         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
17249         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
17250         * sysdeps/tile/bits/atomic.h: Move to ...
17251         * sysdeps/tile/atomic-machine.h: ...here.
17252         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
17253         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
17254         <sysdeps/tile/atomic-machine.h> instead of
17255         <sysdeps/tile/bits/atomic.h>.
17256         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17257         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
17258         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
17259         <sysdeps/tile/atomic-machine.h> instead of
17260         <sysdeps/tile/bits/atomic.h>.
17261         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17262         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
17263         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
17264         <sysdeps/arm/atomic-machine.h> instead of
17265         <sysdeps/arm/bits/atomic.h>.
17266         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
17267         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
17268         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17269         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
17270         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
17271         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
17272         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
17273         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
17274         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
17275         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
17276         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
17277         * sysdeps/x86_64/bits/atomic.h: Move to ...
17278         * sysdeps/x86_64/atomic-machine.h: ...here.
17279         * include/atomic.h: Include <atomic-machine.h> instead of
17280         <bits/atomic.h>.
17282         * sysdeps/mips/mips32/libm-test-ulps: Update.
17283         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17285         [BZ #18952]
17286         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
17287         not convert non-integer negative arguments to int to determine the
17288         value of signgam.
17289         * math/auto-libm-test-in: Add more tests of lgamma.
17290         * math/auto-libm-test-out: Regenerated.
17292         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
17293         cosh, csqrt, erfc, expm1 and lgamma.
17294         * math/auto-libm-test-out: Regenerated.
17295         * sysdeps/i386/fpu/libm-test-ulps: Update.
17296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17298 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
17300         [BZ #2542]
17301         [BZ #2543]
17302         [BZ #2558]
17303         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
17304         __lgamma_neg for arguments from -28.0 to -2.0.
17305         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
17306         __lgamma_negf for arguments from -15.0 to -2.0.
17307         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17308         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
17309         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
17310         Call __lgamma_negl for arguments from -33.0 to -2.0.
17311         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
17312         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
17313         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
17314         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
17315         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17316         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17317         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
17318         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
17319         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
17320         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
17321         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
17322         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
17323         (__lgamma_neg): Likewise.
17324         (__lgamma_negl): Likewise.
17325         (__lgamma_product): Likewise.
17326         (__lgamma_productl): Likewise.
17327         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
17328         * math/auto-libm-test-in: Add more tests of lgamma.
17329         * math/auto-libm-test-out: Regenerated.
17330         * sysdeps/i386/fpu/libm-test-ulps: Update.
17331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17333 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
17335         [BZ #18675]
17336         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
17338 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
17340         [BZ #14912]
17341         * bits/libc-lock.h: Move to ...
17342         * sysdeps/generic/libc-lock.h: ...here.
17343         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
17344         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
17345         * sysdeps/mach/hurd/libc-lock.h: ...here.
17346         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
17347         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
17348         * sysdeps/mach/bits/libc-lock.h: Move to ...
17349         * sysdeps/mach/libc-lock.h: ...here.
17350         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
17351         * sysdeps/nptl/bits/libc-lock.h: Move to ...
17352         * sysdeps/nptl/libc-lock.h: ...here.
17353         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
17354         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
17355         * sysdeps/nptl/libc-lockP.h: ...here.
17356         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
17357         * crypt/crypt_util.c: Include <libc-lock.h> instead of
17358         <bits/libc-lock.h>.
17359         * dirent/scandir-tail.c: Likewise.
17360         * dlfcn/dlerror.c: Likewise.
17361         * elf/dl-close.c: Likewise.
17362         * elf/dl-iteratephdr.c: Likewise.
17363         * elf/dl-lookup.c: Likewise.
17364         * elf/dl-open.c: Likewise.
17365         * elf/dl-support.c: Likewise.
17366         * elf/dl-writev.h: Likewise.
17367         * elf/rtld.c: Likewise.
17368         * grp/fgetgrent.c: Likewise.
17369         * gshadow/fgetsgent.c: Likewise.
17370         * gshadow/sgetsgent.c: Likewise.
17371         * iconv/gconv_conf.c: Likewise.
17372         * iconv/gconv_db.c: Likewise.
17373         * iconv/gconv_dl.c: Likewise.
17374         * iconv/gconv_int.h: Likewise.
17375         * iconv/gconv_trans.c: Likewise.
17376         * include/link.h: Likewise.
17377         * inet/getnameinfo.c: Likewise.
17378         * inet/getnetgrent.c: Likewise.
17379         * inet/getnetgrent_r.c: Likewise.
17380         * intl/bindtextdom.c: Likewise.
17381         * intl/dcigettext.c: Likewise.
17382         * intl/finddomain.c: Likewise.
17383         * intl/gettextP.h: Likewise.
17384         * intl/loadmsgcat.c: Likewise.
17385         * intl/localealias.c: Likewise.
17386         * intl/textdomain.c: Likewise.
17387         * libidn/idn-stub.c: Likewise.
17388         * libio/libioP.h: Likewise.
17389         * locale/duplocale.c: Likewise.
17390         * locale/freelocale.c: Likewise.
17391         * locale/newlocale.c: Likewise.
17392         * locale/setlocale.c: Likewise.
17393         * login/getutent_r.c: Likewise.
17394         * login/getutid_r.c: Likewise.
17395         * login/getutline_r.c: Likewise.
17396         * login/utmp-private.h: Likewise.
17397         * login/utmpname.c: Likewise.
17398         * malloc/mtrace.c: Likewise.
17399         * misc/efgcvt.c: Likewise.
17400         * misc/error.c: Likewise.
17401         * misc/fstab.c: Likewise.
17402         * misc/getpass.c: Likewise.
17403         * misc/mntent.c: Likewise.
17404         * misc/syslog.c: Likewise.
17405         * nis/nis_call.c: Likewise.
17406         * nis/nis_callback.c: Likewise.
17407         * nis/nss-default.c: Likewise.
17408         * nis/nss_compat/compat-grp.c: Likewise.
17409         * nis/nss_compat/compat-initgroups.c: Likewise.
17410         * nis/nss_compat/compat-pwd.c: Likewise.
17411         * nis/nss_compat/compat-spwd.c: Likewise.
17412         * nis/nss_nis/nis-alias.c: Likewise.
17413         * nis/nss_nis/nis-ethers.c: Likewise.
17414         * nis/nss_nis/nis-grp.c: Likewise.
17415         * nis/nss_nis/nis-hosts.c: Likewise.
17416         * nis/nss_nis/nis-network.c: Likewise.
17417         * nis/nss_nis/nis-proto.c: Likewise.
17418         * nis/nss_nis/nis-pwd.c: Likewise.
17419         * nis/nss_nis/nis-rpc.c: Likewise.
17420         * nis/nss_nis/nis-service.c: Likewise.
17421         * nis/nss_nis/nis-spwd.c: Likewise.
17422         * nis/nss_nisplus/nisplus-alias.c: Likewise.
17423         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
17424         * nis/nss_nisplus/nisplus-grp.c: Likewise.
17425         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
17426         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
17427         * nis/nss_nisplus/nisplus-network.c: Likewise.
17428         * nis/nss_nisplus/nisplus-proto.c: Likewise.
17429         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
17430         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
17431         * nis/nss_nisplus/nisplus-service.c: Likewise.
17432         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
17433         * nis/ypclnt.c: Likewise.
17434         * nptl/libc_pthread_init.c: Likewise.
17435         * nss/getXXbyYY.c: Likewise.
17436         * nss/getXXent.c: Likewise.
17437         * nss/getXXent_r.c: Likewise.
17438         * nss/nss_db/db-XXX.c: Likewise.
17439         * nss/nss_db/db-netgrp.c: Likewise.
17440         * nss/nss_db/nss_db.h: Likewise.
17441         * nss/nss_files/files-XXX.c: Likewise.
17442         * nss/nss_files/files-alias.c: Likewise.
17443         * nss/nsswitch.c: Likewise.
17444         * posix/regex_internal.h: Likewise.
17445         * posix/wordexp.c: Likewise.
17446         * pwd/fgetpwent.c: Likewise.
17447         * resolv/res_hconf.c: Likewise.
17448         * resolv/res_libc.c: Likewise.
17449         * shadow/fgetspent.c: Likewise.
17450         * shadow/lckpwdf.c: Likewise.
17451         * shadow/sgetspent.c: Likewise.
17452         * socket/opensock.c: Likewise.
17453         * stdio-common/reg-modifier.c: Likewise.
17454         * stdio-common/reg-printf.c: Likewise.
17455         * stdio-common/reg-type.c: Likewise.
17456         * stdio-common/vfprintf.c: Likewise.
17457         * stdio-common/vfscanf.c: Likewise.
17458         * stdlib/abort.c: Likewise.
17459         * stdlib/cxa_atexit.c: Likewise.
17460         * stdlib/fmtmsg.c: Likewise.
17461         * stdlib/random.c: Likewise.
17462         * stdlib/setenv.c: Likewise.
17463         * string/strsignal.c: Likewise.
17464         * sunrpc/auth_none.c: Likewise.
17465         * sunrpc/bindrsvprt.c: Likewise.
17466         * sunrpc/create_xid.c: Likewise.
17467         * sunrpc/key_call.c: Likewise.
17468         * sunrpc/rpc_thread.c: Likewise.
17469         * sysdeps/arm/backtrace.c: Likewise.
17470         * sysdeps/generic/ldsodefs.h: Likewise.
17471         * sysdeps/generic/stdio-lock.h: Likewise.
17472         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
17473         * sysdeps/i386/backtrace.c: Likewise.
17474         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
17475         * sysdeps/m68k/backtrace.c: Likewise.
17476         * sysdeps/mach/hurd/cthreads.c: Likewise.
17477         * sysdeps/mach/hurd/dirstream.h: Likewise.
17478         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
17479         * sysdeps/nptl/malloc-machine.h: Likewise.
17480         * sysdeps/nptl/stdio-lock.h: Likewise.
17481         * sysdeps/posix/dirstream.h: Likewise.
17482         * sysdeps/posix/getaddrinfo.c: Likewise.
17483         * sysdeps/posix/system.c: Likewise.
17484         * sysdeps/pthread/aio_suspend.c: Likewise.
17485         * sysdeps/s390/s390-32/backtrace.c: Likewise.
17486         * sysdeps/s390/s390-64/backtrace.c: Likewise.
17487         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17488         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17489         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
17490         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
17491         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
17492         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
17493         * sysdeps/unix/sysv/linux/system.c: Likewise.
17494         * sysdeps/x86_64/backtrace.c: Likewise.
17495         * time/alt_digit.c: Likewise.
17496         * time/era.c: Likewise.
17497         * time/tzset.c: Likewise.
17498         * wcsmbs/wcsmbsload.c: Likewise.
17499         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
17500         instead of <bits/libc-lock.h> in comment.
17502 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
17504         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
17505         Only use .set mips2 if the current ISA is below mips2.
17506         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
17507         Likewise.
17508         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
17509         mips32r2 if the current ISA is below mips32r2.
17510         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
17511         (TLS_IE): Updated to use the TLD_RDHWR macro.
17512         (TLS_LE): Likewise.
17513         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
17514         __ASSEMBLER__ condition.
17516 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17518         Fix parallel build of before-compile targets.
17520         * sysdeps/mach/Makefile ($(patsubst
17521         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
17522         mach-before-compile target.
17523         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17524         io fs process)): Move rule to dedicated hurd-before-compile target.
17526 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17528         Fix rules generating headers in hurd/ and mach/ when initial make call
17529         has subdir= explicitly set.
17531         * sysdeps/mach/Makefile ($(patsubst
17532         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
17533         calling $(MAKE).
17534         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17535         io fs process)): Force subdir to hurd when calling $(MAKE).
17536         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
17537         subdir to mach when calling $(MAKE).
17539 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
17541         Check sysheaders when looking for Mach and Hurd headers
17543         * sysdeps/mach/configure.ac: Add sysheaders check.
17544         * sysdeps/mach/configure: Regenerate.
17545         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
17546         * sysdeps/mach/hurd/configure: Regenerate.
17548 2015-09-04  Roland McGrath  <roland@hack.frob.com>
17550         [BZ #18921]
17551         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
17552         Fix inverted sense of test of 'o_directory_works' value.
17553         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
17554         Bernhard Voelker <mail@bernhard-voelker.de>.
17556 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
17558         [BZ #14912]
17559         * bits/linkmap.h: Move to ...
17560         * sysdeps/generic/linkmap.h: ...here.
17561         * sysdeps/aarch64/bits/linkmap.h: Move to ...
17562         * sysdeps/aarch64/linkmap.h: ...here.
17563         * sysdeps/arm/bits/linkmap.h: Move to ...
17564         * sysdeps/arm/linkmap.h: ...here.
17565         * sysdeps/hppa/bits/linkmap.h: Move to ...
17566         * sysdeps/hppa/linkmap.h: ...here.
17567         * sysdeps/ia64/bits/linkmap.h: Move to ...
17568         * sysdeps/ia64/linkmap.h: ...here.
17569         * sysdeps/mips/bits/linkmap.h: Move to ...
17570         * sysdeps/mips/linkmap.h: ...here.
17571         * sysdeps/s390/bits/linkmap.h: Move to ...
17572         * sysdeps/s390/linkmap.h: ...here.
17573         * sysdeps/sh/bits/linkmap.h: Move to ...
17574         * sysdeps/sh/linkmap.h: ...here.
17575         * sysdeps/x86/bits/linkmap.h: Move to ...
17576         * sysdeps/x86/linkmap.h: ...here.
17577         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
17579 2015-09-04  Andreas Schwab  <schwab@suse.de>
17581         [BZ #18635]
17582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
17583         (__makecontext): Terminate FDE before return label.
17584         (__novec_makecontext): Likewise.
17586 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17588         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
17589         first member of struct sv in syscall macro.
17591 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
17593         [BZ #14912]
17594         * bits/stdio-lock.h: Move to ...
17595         * sysdeps/generic/stdio-lock.h: ...here.
17596         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
17597         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
17598         * sysdeps/nptl/stdio-lock.h: ...here.
17599         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
17600         * include/libio.h: Include <stdio-lock.h> instead of
17601         <bits/stdio-lock.h>.
17602         * sysdeps/nptl/fork.c: Likewise.
17603         * sysdeps/pthread/flockfile.c: Likewise.
17604         * sysdeps/pthread/ftrylockfile.c: Likewise.
17605         * sysdeps/pthread/funlockfile.c: Likewise.
17607         [BZ #14912]
17608         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
17609         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
17610         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
17611         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
17612         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
17613         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
17614         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
17616 2015-09-03  Roland McGrath  <roland@hack.frob.com>
17618         * elf/Makefile (test-xfail-tst-protected1a): New variable.
17619         (test-xfail-tst-protected1b): New variable.
17621 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
17623         [BZ #14912]
17624         * bits/libc-tsd.h: Move to ...
17625         * sysdeps/generic/libc-tsd.h: ...here.
17626         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
17627         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
17628         * sysdeps/mach/hurd/libc-tsd.h: ...here.
17629         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
17630         * include/ctype.h: Include <libc-tsd.h> instead of
17631         <bits/libc-tsd.h>.
17632         * include/rpc/rpc.h: Likewise.
17633         * locale/localeinfo.h: Likewise.
17634         * sunrpc/rpc_thread.c: Likewise.
17635         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
17636         * sysdeps/nptl/malloc-machine.h: Likewise.
17638         * Makefile (headers): Remove bits/libc-lock.h.
17639         * libio/Makefile (headers): Remove bits/stdio-lock.h.
17641         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
17642         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
17643         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
17644         <bits/stdio-lock.h>.
17645         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
17646         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
17648 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
17650         [BZ #18757]
17651         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
17652         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
17653         BZ #18757.
17655 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
17657         * malloc/mtrace.pl: Filter out NULL entries.
17659 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
17661         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
17662         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
17663         macro.
17665         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
17666         (TCP_CC_INFO): Likewise.
17667         (TCP_SAVE_SYN): Likewise.
17668         (TCP_SAVED_SYN): Likewise.
17670 2015-08-31  Brett Neumeier <brett@neumeier.us>
17672         [BZ #18870]
17673         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
17675 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
17677         [BZ #18873]
17678         Fix broken overflow check in posix_fallocate
17679         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
17680         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17681         Fix parenthesization typo.
17683 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
17685         [BZ #18887]
17686         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
17687         tst-mntent-blank-passno.
17688         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
17689         * misc/tst-mntent-blank-corrupt.c: New test.
17690         * misc/tst-mntent-blank-passno.c: New test ripped from ...
17691         * misc/tst-mntent.c (do_test): ... here.
17693 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
17695         [BZ #4404]
17696         * po/de.po: Fix SIGALRM typo.
17698 2015-08-28  James Perkins  <james@loowit.net>
17700         * time/tst-strptime2.c (tests): Replace short list of test
17701         strings for strptime %z specifier with code which exhaustively
17702         tests every combination of sign and 0 to 5 digits. Tests for
17703         rejection of invalid strings.
17705 2015-08-28  James Perkins  <james@loowit.net>
17707         [BZ #16141]
17708         * time/strptime_l.c (__strptime_internal): Fix %z minutes
17709         calculation, removing incorrect decimal time rounding, so that
17710         all minute values result in a valid seconds value.
17711         * time/strptime_l.c (__strptime_internal): Extend %z time zone
17712         offset range limits to UTC-99:59 through UTC+99:59 to parse
17713         current and historical use cases.
17714         * time/tst-strptime2.c (tests): Modify and add tests for the
17715         strptime %z input field descriptor, specifically conversion of
17716         minutes to seconds and validating an offset range of -9959 to
17717         +9959.
17719 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17720             Dmitry V. Levin  <ldv@altlinux.org>
17722         [BZ #18877]
17723         * posix/Makefile (tests): Add tst-mmap-offset.
17724         * posix/tst-mmap.c: New file.
17725         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
17726         offset calculation for negative values.
17728 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17730         * sysdeps/i386/init-arch.h: New file.
17731         * sysdeps/i386/i586/init-arch.h: Likewise.
17732         * sysdeps/i386/i686/init-arch.h: Likewise.
17733         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
17734         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
17735         * sysdeps/x86/cpu-features.h (bit_I586): New.
17736         (bit_I686): Likewise.
17737         (bit_CX8): Likewise.
17738         (bit_CMOV): Likewise.
17739         (index_CX8): Likewise.
17740         (index_CMOV): Likewise.
17741         (index_I586): Likewise.
17742         (index_I686): Likewise.
17743         (reg_CX8): Likewise.
17744         (reg_CMOV): Likewise.
17745         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
17746         available at compile-time.
17747         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
17748         available at compile-time.
17749         * sysdeps/x86/init-arch.h (USE_I586): New macro.
17750         (USE_I686): Likewise.
17752 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17754         * sysdeps/i386/bcopy.S: New file.
17755         * sysdeps/i386/bzero.S: Likewise.
17756         * sysdeps/i386/memcpy.S: Likewise.
17757         * sysdeps/i386/memmove.S: Likewise.
17758         * sysdeps/i386/mempcpy.S: Likewise.
17759         * sysdeps/i386/memset.S: Likewise.
17760         * sysdeps/i386/bzero.c: Removed.
17761         * sysdeps/i386/memset.c: Likewise.
17762         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
17763         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
17764         * sysdeps/i386/i586/memset_chk.S: Likewise.
17765         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
17766         * sysdeps/i386/memcpy_chk.S: Here.
17767         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
17768         * sysdeps/i386/memmove_chk.S: Here.
17769         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
17770         * sysdeps/i386/mempcpy_chk.S: Likewise.
17771         * sysdeps/i386/i686/memset_chk.S: Moved to ...
17772         * sysdeps/i386/memset_chk.S: Likewise.
17774 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
17776         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
17777         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
17778         file, move DIAG_POP_NEEDS_COMMENT to end of file.
17779         * soft-fp/fmadf4.c: Ditto.
17780         * soft-fp/fmatf4.c: Ditto.
17782 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17784         * sysdeps/i386/i586/Implies: Removed.
17785         * sysdeps/i386/i686/Implies: Likewise.
17787 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17789         * sysdeps/i386/i486/strlen.S: Moved to ...
17790         * sysdeps/i386/strlen.S: Here.
17792 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17794         * sysdeps/i386/i486/strcat.S: Moved to ...
17795         * sysdeps/i386/strcat.S: Here.
17797 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17799         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
17800         * sysdeps/i386/pthread_spin_trylock.S: Here.
17801         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
17802         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
17804 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17806         * sysdeps/i386/i486/string-inlines.c: Moved to ...
17807         * sysdeps/i386/string-inlines.c: Here.
17809 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17811         * sysdeps/i386/i486/htonl.S: Moved ...
17812         * sysdeps/i386/htonl.S: here.
17814 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17816         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
17817         * sysdeps/i386/bits/atomic.h: Here.
17819 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17821         * sysdeps/i386/i486/Versions: Removed.
17823 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17825         [BZ #2898]
17826         * misc/mktemp.c: Add mkdtemp to the link_warning message.
17827         Based on patch by Aurelien Jarno.
17829 2015-08-26  Stan Shebs  <stanshebs@google.com>
17831         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
17832         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17834 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17836         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
17837         * sysdeps/powerpc/dl-procinfo.c:
17838         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
17839         feature so it shows when LD_SHOW_AUXV=1.
17841 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17843         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
17844         (__arch_compare_and_exchange_val_32_acq): Remove and use common
17845         definition.  ISA 2.07B no longer requires full sync.
17847 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
17849         [BZ #18863]
17850         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
17851         (si_call_addr): Define.
17852         (si_syscall): Define.
17853         (si_arch): Define.
17855 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
17857         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
17858         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
17859         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
17860         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
17861         (__memset_zero_constant_len_parameter): New.
17862         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
17863         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
17864         (__memset_zero_constant_len_parameter): Don't define if
17865         __memset_chk or USE_AS_BZERO are defined.
17867         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
17868         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
17869         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
17871         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
17872         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
17873         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
17874         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
17875         comments.
17876         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
17877         -mno-mmx for $(all-rtld-routines).
17878         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
17879         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
17880         i386.
17882 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17884         * sysdeps/generic/unwind.h
17885         (_Unwind_Word): Use __mode__(__unwind_word__)
17886         instead of __mode__(__word__).
17887         (_Unwind_Sword): Likewise.
17889         * sysdeps/s390/s390-64/utf8-utf16-z9.c
17890         (MAX_NEEDED_INPUT): New define.
17891         (MAX_NEEDED_OUTPUT): New define.
17893         * NEWS: New item for IBM z13 string optimizations.
17895         * sysdeps/s390/multiarch/memrchr-c.c: New File.
17896         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
17897         * sysdeps/s390/multiarch/memrchr.c: Likewise.
17898         * sysdeps/s390/multiarch/Makefile
17899         (sysdep_routines): Add memrchr functions.
17900         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17901         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
17903         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
17904         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
17905         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
17906         * sysdeps/s390/multiarch/Makefile
17907         (sysdep_routines): Add wmemcmp functions.
17908         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17909         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
17910         * benchtests/bench-wmemcmp.c: New File.
17911         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
17913         * sysdeps/s390/multiarch/wmemset-c.c: New File.
17914         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
17915         * sysdeps/s390/multiarch/wmemset.c: Likewise.
17916         * sysdeps/s390/multiarch/Makefile
17917         (sysdep_routines): Add wmemset functions.
17918         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17919         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
17920         * wcsmbs/wmemset.c: Use WMEMSET if defined.
17921         * string/test-memset.c: Add wmemset support.
17922         * wcsmbs/test-wmemset.c: New File.
17923         * wcsmbs/Makefile (strop-tests): Add wmemset.
17924         * benchtests/bench-memset.c: Add wmemset support.
17925         * benchtests/bench-wmemset.c: New File.
17926         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
17928         * sysdeps/s390/multiarch/memccpy-c.c: New File.
17929         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
17930         * sysdeps/s390/multiarch/memccpy.c: Likewise.
17931         * sysdeps/s390/multiarch/Makefile
17932         (sysdep_routines): Add memccpy functions.
17933         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17934         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
17935         * string/memccpy.c: Use MEMCCPY if defined.
17937         * sysdeps/s390/multiarch/memchr-vx.S: New File.
17938         * sysdeps/s390/multiarch/memchr.c: Likewise.
17939         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
17940         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
17941         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
17942         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
17943         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
17944         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
17945         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
17946         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
17947         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
17948         and rawmemchr functions.
17949         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17950         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
17951         and wmemchr.
17952         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
17953         * string/test-memchr.c: Add wmemchr support.
17954         * wcsmbs/test-wmemchr.c: New File.
17955         * wcsmbs/Makefile (strop-tests): Add wmemchr.
17956         * benchtests/bench-memchr.c: Add wmemchr support.
17957         * benchtests/bench-wmemchr.c: New File.
17958         * benchtests/Makefile (wcsmbs-bench): wmemchr.
17960         * sysdeps/s390/multiarch/strcspn-c.c: New File.
17961         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
17962         * sysdeps/s390/multiarch/strcspn.c: Likewise.
17963         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
17964         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
17965         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
17966         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
17967         wcscspn functions.
17968         * sysdeps/s390/multiarch/ifunc-impl-list.c
17969         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
17970         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
17971         * string/test-strcspn.c: Add wcscspn support.
17972         * wcsmbs/test-wcscspn.c: New File.
17973         * wcsmbs/Makefile (strop-tests): Add wcscspn.
17974         * benchtests/bench-strcspn.c: Add wcscspn support.
17975         * benchtests/bench-wcscspn.c: New File.
17976         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
17978         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
17979         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
17980         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
17981         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
17982         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
17983         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
17984         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
17985         wcspbrk functions.
17986         * sysdeps/s390/multiarch/ifunc-impl-list.c
17987         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
17988         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
17989         * string/test-strpbrk.c: Add wcspbrk support.
17990         * wcsmbs/test-wcspbrk.c: New File.
17991         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
17992         * benchtests/bench-strpbrk.c: Add wcspbrk support.
17993         * benchtests/bench-wcspbrk.c: New File.
17994         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
17996         * sysdeps/s390/multiarch/strspn-c.c: New File.
17997         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
17998         * sysdeps/s390/multiarch/strspn.c: Likewise.
17999         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
18000         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
18001         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
18002         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
18003         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
18004         wcsspn functions.
18005         * sysdeps/s390/multiarch/ifunc-impl-list.c
18006         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
18007         * string/test-strspn.c: Add wcsspn support.
18008         * wcsmbs/test-wcsspn.c: New File.
18009         * wcsmbs/Makefile (strop-tests): Add wcsspn.
18010         * benchtests/bench-strspn.c: Add wcsspn support.
18011         * benchtests/bench-wcsspn.c: New File.
18012         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
18014         * sysdeps/s390/multiarch/strrchr-c.c: New File.
18015         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
18016         * sysdeps/s390/multiarch/strrchr.c: Likewise.
18017         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
18018         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
18019         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
18020         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
18021         wcsrchr functions.
18022         * sysdeps/s390/multiarch/ifunc-impl-list.c
18023         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
18024         * benchtests/bench-wcsrchr.c: New File.
18025         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
18027         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
18028         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
18029         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
18030         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
18031         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
18032         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
18033         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
18034         wcschrnul functions.
18035         * sysdeps/s390/multiarch/ifunc-impl-list.c
18036         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
18037         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
18038         * string/test-strchr.c: Add wcschrnul support.
18039         * wcsmbs/test-wcschrnul.c: New File.
18040         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
18041         * benchtests/bench-strchr.c: Add wcschrnul support.
18042         * benchtests/bench-wcschrnul.c: New File.
18043         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
18045         * sysdeps/s390/multiarch/strchr-c.c: New File.
18046         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
18047         * sysdeps/s390/multiarch/strchr.c: Likewise.
18048         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
18049         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
18050         * sysdeps/s390/multiarch/wcschr.c: Likewise.
18051         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
18052         wcschr functions.
18053         * sysdeps/s390/multiarch/ifunc-impl-list.c
18054         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
18055         * string/strchr.c (STRCHR): Define and use macro.
18056         * benchtests/bench-wcschr.c: New File.
18057         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
18059         * sysdeps/s390/multiarch/strncmp-c.c: New File.
18060         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
18061         * sysdeps/s390/multiarch/strncmp.c: Likewise.
18062         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
18063         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
18064         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
18065         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
18066         wcsncmp functions.
18067         * sysdeps/s390/multiarch/ifunc-impl-list.c
18068         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
18069         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
18070         * benchtests/bench-strncmp.c: Add wcsncmp support.
18071         * benchtests/bench-wcsncmp.c: New File.
18072         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
18074         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
18075         * sysdeps/s390/multiarch/strcmp.c: Likewise.
18076         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
18077         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
18078         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
18079         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
18080         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
18081         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
18082         wcscmp functions.
18083         * sysdeps/s390/multiarch/ifunc-impl-list.c
18084         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
18085         * string/strcmp.c (STRCMP): Define and use macro.
18086         * benchtests/bench-wcscmp.c: New File.
18087         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
18088         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
18089         instead of _HAVE_STRING_ARCH_memchr.
18091         * sysdeps/s390/multiarch/strncat-c.c: New File.
18092         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
18093         * sysdeps/s390/multiarch/strncat.c: Likewise.
18094         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
18095         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
18096         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
18097         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
18098         wcsncat functions.
18099         * sysdeps/s390/multiarch/ifunc-impl-list.c
18100         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
18101         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
18102         * string/test-strncat.c: Add wcsncat support.
18103         * wcsmbs/test-wcsncat.c: New File.
18104         * wcsmbs/Makefile (strop-tests): Add wcsncat.
18105         * benchtests/bench-strncat.c: Add wcsncat support.
18106         * benchtests/bench-wcsncat.c: New File.
18107         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
18109         * sysdeps/s390/multiarch/strcat-c.c: New File.
18110         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
18111         * sysdeps/s390/multiarch/strcat.c: Likewise.
18112         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
18113         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
18114         * sysdeps/s390/multiarch/wcscat.c: Likewise.
18115         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
18116         wcscat functions.
18117         * sysdeps/s390/multiarch/ifunc-impl-list.c
18118         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
18119         * string/strcat.c (STRCAT): Define and use macro.
18120         * wcsmbs/wcscat.c: Use WCSCAT if defined.
18121         * string/test-strcat.c: Add wcscat support.
18122         * wcsmbs/test-wcscat.c: New File.
18123         * wcsmbs/Makefile (strop-tests): Add wcscat.
18124         * benchtests/bench-strcat.c: Add wcscat support.
18125         * benchtests/bench-wcscat.c: New File.
18126         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
18128         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
18129         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
18130         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
18131         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
18132         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
18133         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
18134         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
18135         wcpncpy functions.
18136         * sysdeps/s390/multiarch/ifunc-impl-list.c
18137         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
18138         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
18139         * string/test-stpncpy.c: Add wcpncpy support.
18140         * wcsmbs/test-wcpncpy.c: New File.
18141         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
18142         * benchtests/bench-stpncpy.c: Add wcpncpy support.
18143         * benchtests/bench-wcpncpy.c: New File.
18144         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
18146         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
18147         * sysdeps/s390/multiarch/strncpy.c: Likewise.
18148         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
18149         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
18150         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
18151         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
18152         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
18153         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
18154         wcsncpy functions.
18155         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
18156         * sysdeps/s390/multiarch/ifunc-impl-list.c
18157         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
18158         * string/test-strncpy.c: Add wcsncpy support.
18159         * wcsmbs/test-wcsncpy.c: New File.
18160         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
18161         * benchtests/bench-strncpy.c: Add wcsncpy support.
18162         * benchtests/bench-wcsncpy.c: New File.
18163         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
18165         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
18166         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
18167         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
18168         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
18169         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
18170         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
18171         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
18172         wcpcpy functions.
18173         * string/stpcpy.c: Use STPCPY if defined.
18174         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
18175         * sysdeps/s390/multiarch/ifunc-impl-list.c
18176         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
18177         * string/test-stpcpy.c: Add wcpcpy support.
18178         * wcsmbs/test-wcpcpy.c: New File.
18179         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
18180         * benchtests/bench-stpcpy.c: Add wcpcpy support.
18181         * benchtests/bench-wcpcpy.c: New File.
18182         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
18184         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
18185         * sysdeps/s390/multiarch/strcpy.c: Likewise.
18186         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
18187         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
18188         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
18189         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
18190         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
18191         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
18192         wcscpy functions.
18193         * sysdeps/s390/multiarch/ifunc-impl-list.c
18194         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
18195         * benchtests/bench-wcscpy.c: New File.
18196         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
18198         * sysdeps/s390/multiarch/strnlen-c.c: New File.
18199         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
18200         * sysdeps/s390/multiarch/strnlen.c: Likewise.
18201         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
18202         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
18203         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
18204         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
18205         wcsnlen functions.
18206         * sysdeps/s390/multiarch/ifunc-impl-list.c
18207         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
18208         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
18209         * string/test-strnlen.c: Add wcsnlen support.
18210         * wcsmbs/test-wcsnlen.c: New File.
18211         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
18212         * benchtests/bench-strnlen.c: Add wcsnlen support.
18213         * benchtests/bench-wcsnlen.c: New File.
18214         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
18216         * sysdeps/s390/multiarch/Makefile: New File.
18217         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
18218         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
18219         * sysdeps/s390/multiarch/strlen.c: Likewise.
18220         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
18221         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
18222         * sysdeps/s390/multiarch/wcslen.c: Likewise.
18223         * string/strlen.c (STRLEN): Define and use macro.
18224         * sysdeps/s390/multiarch/ifunc-impl-list.c
18225         (IFUNC_VX_IMPL): New macro function.
18226         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
18227         * benchtests/Makefile (wcsmbs-bench): New variable.
18228         (string-bench-all): Added wcsmbs-bench.
18229         * benchtests/bench-wcslen.c: New File.
18231         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
18232         s390_vx_libc_ifunc2): New macro function.
18234         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
18235         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
18236         assembler support.
18237         * sysdeps/s390/configure: Regenerated.
18239         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
18240         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
18242         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
18243         * sysdeps/s390/dl-procinfo.h: Add vector capability.
18244         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
18246         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
18247         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
18248         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
18249         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
18250         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
18251         (memcmp, bcmp): Use __memcmp_default as alias source.
18252         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
18253         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
18254         Rename to __memcmp_default.
18255         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
18256         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
18257         (memcpy): Use __memcpy_default as alias source.
18258         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
18259         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
18260         Rename to __memcpy_default.
18261         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
18262         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
18263         (memset): Use __memset_default as alias source.
18264         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
18265         * sysdeps/s390/s390-32/memset.S (__memset_g5):
18266         Rename to __memset_default.
18267         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
18268         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
18269         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
18270         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
18271         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
18272         (memcmp, bcmp): Use __memcmp_default as alias source.
18273         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
18274         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
18275         Rename to __memcmp_default.
18276         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
18277         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
18278         (memcpy): Use __memcpy_default as alias source.
18279         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
18280         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
18281         Rename to __memcpy_default.
18282         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
18283         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
18284         (memset): Use __memset_default as alias source.
18285         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
18286         * sysdeps/s390/s390-64/memset.S (__memset_z900):
18287         Rename to __memset_default.
18288         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
18289         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
18291         [BZ #18610]
18292         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
18293         __ieee_instruction_pointer to __unused.
18294         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
18295         __ieee_instruction_pointer.
18296         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
18297         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
18298         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18299         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18300         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
18301         Mark dxc-field as reserved.
18303 2015-08-25  Roland McGrath  <roland@hack.frob.com>
18305         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
18306         if the weak reference is not null.
18308 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
18310         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
18312         [BZ #11214]
18313         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
18315 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18317         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
18318         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
18319         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
18320         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
18321         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
18322         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
18323         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
18324         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
18325         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
18326         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
18327         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
18328         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
18329         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
18330         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
18331         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
18332         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
18333         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
18334         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
18336 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18338         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
18339         register other than r0 for tabort, it has special meaning.
18340         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
18341         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
18342         transaction before starting syscall.
18344 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18346         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
18348 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
18350         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
18352         * sysdeps/x86_64/rtld-memcmp.c: Removed.
18353         * sysdeps/x86_64/rtld-memset.S: Likewise.
18354         * sysdeps/x86_64/rtld-strchr.S: Likewise.
18355         * sysdeps/x86_64/rtld-strlen.S: Likewise.
18356         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
18357         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18359         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
18361 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
18363         * debug/strcpy_chk.c: Improve performance.
18364         * debug/stpcpy_chk.c: Likewise.
18365         * sysdeps/x86_64/strcpy_chk.S: Remove.
18366         * sysdeps/x86_64/stpcpy_chk.S: Remove.
18368         [BZ #18240]
18369         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
18371 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
18373         [BZ #15128]
18374         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
18375         ifuncmain8.
18376         (modules-names): Add ifuncmod8.
18377         ($(objpfx)ifuncmain8): New rule.
18378         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
18379         <cpuid.h>.
18380         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
18381         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
18382         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
18383         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
18384         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
18385         * sysdeps/x86_64/dl-trampoline.h: Likewise.
18386         * sysdeps/x86_64/ifuncmain8.c: New file.
18387         * sysdeps/x86_64/ifuncmod8.c: Likewise.
18388         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
18389         Removed.
18390         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
18391         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
18392         Change rtld_savespace_sse to __glibc_unused2.
18393         (RTLD_CHECK_FOREIGN_CALL): Removed.
18394         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
18395         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
18396         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
18398 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
18400         * sysdeps/aarch64/bzero.S (__bzero): Remove.
18402 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
18404         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
18405         Unconditionally set __fpcr to avoid uninialized warning.
18406         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
18408 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18410         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
18411         is corrupt.
18413         * malloc/arena.c (arena_get2): Drop unused argument.
18414         (arena_lock): Adjust.
18415         (arena_get_retry): Likewise.
18417 2015-08-24  Andreas Schwab  <schwab@suse.de>
18419         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
18420         Don't define.
18421         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18422         (__ASSUME_IPC64): Don't undef.
18423         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
18424         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
18425         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
18426         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
18427         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
18428         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
18429         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
18430         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
18431         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
18432         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
18433         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
18434         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
18435         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
18436         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
18437         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
18438         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
18439         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
18440         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
18441         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
18442         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
18443         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
18445 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
18447         * manual/Makefile (install): Only build manual when perl is available.
18449 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18451         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
18452         '#undef memcpy' by '#undef memchr'.
18454 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18456         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
18457         memchr not point to the internal __GI_memchr implementation.
18459 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
18461         * timezone/Makefile (CFLAGS-zdump.c): Remove
18462         -Wno-strict-prototypes.
18463         (CFLAGS-zic.c): Likewise.
18464         (CFLAGS-ialloc.c): Likewise.
18465         (CFLAGS-scheck.c): Likewise.
18467         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
18468         -Wno-error=undef.
18470 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18472         * i386/i686/multiarch/strcasestr-c.c: Removed.
18473         * x86_64/multiarch/strcasestr.c: Likewise.
18474         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18475         Remove strcasestr.
18477 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
18479         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
18481         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
18482         variables for high and low parts before possibly modifying them.
18484 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18486         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
18487         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
18488         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
18489         of "multiarch/init-arch.h".
18490         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
18491         * sysdeps/x86/init-arch.h: This.
18493 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
18495         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
18496         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
18498 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
18500         [BZ #17787]
18501         * manual/macros.texi: Add twoexp macro.
18502         * manual/filesys.texi: Fix exponents.
18503         * manual/llio.texi: Likewise.
18504         * manual/stdio.texi: Likewise.
18506 2015-08-20  Florian Weimer  <fweimer@redhat.com>
18508         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
18509         incorrect use.
18511 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
18513         [BZ #18370]
18514         * math/s_csqrt.c (__csqrt): Force underflow exception for results
18515         whose real or imaginary part has small absolute value.
18516         * math/s_csqrtf.c (__csqrtf): Likewise.
18517         * math/s_csqrtl.c (__csqrtl): Likewise.
18518         * math/auto-libm-test-in: Add more tests of csqrt.
18519         * math/auto-libm-test-out: Regenerated.
18520         * sysdeps/i386/fpu/libm-test-ulps: Update.
18522 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18524         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
18525         __ppc_set_ppr_very_low): New functions.
18526         * manual/platform.texi: Add documentation about
18527         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
18529 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
18531         * string/stpncpy.c (stpncpy): Improve performance using
18532         __strnlen/memcpy/memset.
18534 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18536         [BZ #18796]
18537         * scripts/test-installation.pl: Don't add -lmvec to build options if
18538         libmvec wasn't built.
18540 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
18542         [BZ #14341]
18543         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
18544         case when there is a gap between DT_REL and DT_JMPREL sections.
18545         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
18546         (LDFLAGS-tst-split-dynreloc): New.
18547         (tst-split-dynreloc-ENV): Likewise.
18548         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
18549         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
18551 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18553         [BZ #18822]
18554         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
18555         attribute_hidden.
18556         (__xstat64_conv): Likewise.
18557         (__xstat32_conv): Likewise.
18559 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18561         [BZ #18822]
18562         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18563         Don't load %ebx when calling __setcontext.  Call __setcontext
18564         with HIDDEN_JUMPTARGET.
18565         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
18566         libc_hidden_def.
18568 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18570         * sysdeps/i386/i686/Makefile
18571         [$(subdir) == string] (sysdep_routines): Moved to ...
18572         * sysdeps/i386/Makefile: Here.
18573         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
18574         * sysdeps/i386/cacheinfo.c: Here.
18575         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
18576         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
18577         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
18578         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
18580 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18582         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
18583         __i586__ is defined.
18584         (HAS_I686): Defined to 1 if __i686__ is defined.
18586 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
18588         * elf/Makefile [$(have-z-execstack) = yes]
18589         (CPPFLAGS-tst-execstack.c): New variable.
18591         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
18592         conditional to [defined UTMPX || _HAVE_UT_TYPE].
18593         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
18594         UTMPX || _HAVE_UT_TV].
18595         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
18596         UTMPX || _HAVE_UT_TV - 0].
18598 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
18600         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
18601         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
18602         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
18604 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18606         * sysdeps/powerpc/dl-procinfo.c:
18607         (_dl_powerpc_cap_flags): Added missing strings for some
18608         hwcap features.
18609         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
18611 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
18613         Port the 0x7efe...feff pattern to GCC 6.
18614         See Steve Ellcey's bug report in:
18615         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
18616         * string/memrchr.c (MEMRCHR):
18617         * string/rawmemchr.c (RAWMEMCHR):
18618         * string/strchr.c (strchr):
18619         * string/strchrnul.c (STRCHRNUL):
18620         Rewrite code to avoid issues with signed shift overflow.
18622 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
18624         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
18625         whether cpuid is available only if HAS_CPUID is 0.
18626         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
18627         (HAS_I586): Likewise.
18628         (HAS_I686): Likewise.
18630 2015-08-18  Zack Weinberg  <zackw@panix.com>
18632         * misc/Versions (libc): Add GLIBC_2.23.
18634 2015-08-18  Alan Modra  <amodra@gmail.com>
18636         [BZ #18421]
18637         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
18638         .Lp__global.
18639         (_start): Load %dp via .Lp__global.
18640         [!SHARED]: Use .section .rodata.
18642 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18644         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
18645         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
18647 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18649         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
18650         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
18652 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18654         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
18655         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
18657 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18659         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
18660         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
18662 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18664         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
18665         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
18667 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18669         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
18670         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
18672 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18674         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
18676 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18678         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
18679         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
18680         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18681         (__ASSUME_LWS_CAS): Delete.
18683 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18685         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
18686         * sysdeps/hppa/configure: Regenerated.
18687         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
18688         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
18689         * sysdeps/hppa/nptl/tls.h: Likewise.
18691 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
18693         [BZ #18823]
18694         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
18695         for scaling up small arguments.
18696         * math/s_csqrtf.c (__csqrtf): Likewise.
18697         * math/s_csqrtl.c (__csqrtl): Likewise.
18698         * math/auto-libm-test-in: Add more tests of csqrt.
18699         * math/auto-libm-test-out: Regenerated.
18701 2015-08-17  Andreas Schwab  <schwab@suse.de>
18703         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
18704         version set GLIBC_2.19.
18706 2015-08-16  Zack Weinberg  <zackw@panix.com>
18708         [BZ #18681]
18709         * misc/regexp.h: This interface is no longer supported.
18710         Remove all contents, leaving only an #error directive.
18711         * misc/regexp.c (loc1, loc2, locs, step, advance):
18712         Demote to compatibility symbols.
18714 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
18716         [BZ #18084]
18717         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
18718         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
18719         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
18720         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
18721         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
18722         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
18723         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
18724         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
18725         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
18727 2015-08-15  Zack Weinberg  <zackw@panix.com>
18729         [BZ #18795]
18730         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
18731         buffer length is known to be too large, not if it's known to be
18732         small enough.
18733         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
18734         overflow at runtime, involving a length parameter, twice: once
18735         with a compile-time constant length parameter, once without.
18737 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
18739         [BZ #18824]
18740         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
18741         scaling x * y up instead of down.
18742         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18743         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18744         * math/auto-libm-test-in: Add more tests of fma.
18745         * math/auto-libm-test-out: Regenerated.
18747 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
18749         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18751 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18753         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
18754         unnecessary movq.
18755         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
18756         Likewise.
18758 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
18760         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18761         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
18762         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
18763         and tgamma.
18764         * math/auto-libm-test-out: Regenerated.
18765         * sysdeps/i386/fpu/libm-test-ulps: Update.
18766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18768         [BZ #16520]
18769         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
18770         (__tanh): Force underflow exception for arguments with small
18771         absolute value.
18772         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
18773         (__tanhf): Force underflow exception for arguments with small
18774         absolute value.
18775         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
18776         (__tanhl): Force underflow exception for arguments with small
18777         absolute value.
18778         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
18779         (__tanhl): Force underflow exception for arguments with small
18780         absolute value.
18781         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
18782         (__tanhl): Force underflow exception for arguments with small
18783         absolute value.
18784         * math/auto-libm-test-in: Add more tests of tanh.
18785         * math/auto-libm-test-out: Regenerated.
18786         * sysdeps/i386/fpu/libm-test-ulps: Update.
18788 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18790         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
18791         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
18793 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18795         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
18796         <cpuid.h>.
18798 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18800         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
18801         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
18803 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18805         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
18806         Remove $(objpfx)init-arch.o.
18807         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
18808         init-arch.
18809         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
18810         (INIT_ARCH_EXT): Defined as empty.
18811         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
18812         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
18813         __init_cpu_features call.  Replace HAS_XXX with
18814         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18815         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
18816         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
18817         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
18818         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
18819         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
18820         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
18821         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
18822         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
18823         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
18824         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
18825         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
18826         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
18827         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
18828         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
18829         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
18830         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
18831         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
18832         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
18833         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
18834         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
18835         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
18836         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
18837         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
18838         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
18839         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
18840         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
18841         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
18842         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
18843         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
18844         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
18845         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
18846         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
18847         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
18848         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
18849         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
18851 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18853         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
18854         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18855         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
18856         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
18857         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
18858         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
18859         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
18860         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
18861         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
18862         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
18863         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
18864         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
18865         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18866         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18867         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18868         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18869         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18870         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18871         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18872         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18873         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18874         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18875         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18876         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18877         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18878         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18879         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18880         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18881         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18882         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18883         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18884         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18885         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18886         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18887         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18888         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18889         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18890         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18891         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18892         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18893         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18894         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18895         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18897 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18899         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
18900         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18901         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18902         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18903         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18904         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
18905         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18906         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
18907         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18908         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18909         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18910         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
18911         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
18912         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
18913         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
18914         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
18915         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
18916         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
18917         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
18918         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
18919         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
18920         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
18921         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
18922         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18923         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18924         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
18925         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
18926         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
18927         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18928         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18929         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18930         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18931         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18932         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18933         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18934         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18935         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18936         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18937         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18938         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18939         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18940         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18941         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18943 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18945         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
18946         (dl_platform_init): Call init_cpu_features.
18947         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
18948         * sysdeps/i386/i686/cacheinfo.c
18949         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
18950         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
18951         * sysdeps/i386/i686/multiarch/Versions: Removed.
18952         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
18953         Removed.
18954         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
18955         * sysdeps/unix/sysv/linux/x86/Makefile
18956         (libpthread-sysdep_routines): Remove init-arch.
18957         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
18958         <sysdeps/x86_64/dl-procinfo.c> instead of
18959         sysdeps/generic/dl-procinfo.c>.
18960         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
18961         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
18962         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
18963         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
18964         [$(subdir) == elf] (tests-static): Add
18965         tst-get-cpu-features-static.
18966         * sysdeps/x86/Versions: New file.
18967         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
18968         * sysdeps/x86/cpu-features.c: Likewise.
18969         * sysdeps/x86/cpu-features.h: Likewise.
18970         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
18971         * sysdeps/x86/libc-start.c: Likewise.
18972         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
18973         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
18974         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
18975         * sysdeps/x86_64/dl-procinfo.c: Likewise.
18976         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
18977         Assume USE_MULTIARCH is defined and don't check it.
18978         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
18979         (is_amd): Likewise.
18980         (max_cpuid): Likewise.
18981         (intel_check_word): Likewise.
18982         (__cache_sysconf): Don't call __init_cpu_features.
18983         (__x86_preferred_memory_instruction): Removed.
18984         (init_cacheinfo): Don't call __init_cpu_features. Replace
18985         __cpu_features with GLRO(dl_x86_cpu_features).
18986         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
18987         (dl_platform_init): Call init_cpu_features.
18988         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
18989         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
18990         * sysdeps/x86_64/multiarch/Versions: Removed.
18991         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
18992         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
18993         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
18994         Removed.
18995         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
18997 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
18999         [BZ #18820]
19000         * libio/Makefile (test-fmemopen-mem): New test.
19001         * libio/test-fmemopen.c (do_bz18820): New test.
19002         * libio/fmemopen.c (__fmemopen): Fix memory leak.
19003         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
19005 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19007         [BZ #16734]
19008         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
19009         (FREE_BUF): Delete.
19010         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
19011         * libio/genops.c (_IO_setb): Use malloc and free directly.
19012         (_IO_default_doallocate, _IO_default_finish): Likewise.
19013         ( _IO_unbuffer_all): Likewise.
19014         ( libc_freeres_fn): Likewise.
19015         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19016         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
19017         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
19018         (_IO_wdefault_doallocate): Likewise.
19020 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19022         [BZ #18086]
19023         * sysdeps/posix/nice.c (nice): Restore old errno.
19024         * posix/tst-nice.c (do_test): Add test for BZ #18086.
19026 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
19028         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
19030 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19032         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
19033         __bcopy and add a weak_alias to bcopy.
19034         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
19035         for static build.
19037         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
19038         cleanup macro usage.
19039         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
19040         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
19041         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
19042         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
19043         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
19044         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
19045         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
19046         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
19047         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19048         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
19049         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19050         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
19051         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19052         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
19053         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19054         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
19055         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
19056         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
19057         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
19059         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
19060         libc_hidden_def.
19061         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
19063         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
19064         (sysdep_routines): Add strstr-ppc64.
19065         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
19067 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
19069         [BZ #18778]
19070         * elf/Makefile (tests): Add Add tst-nodelete2.
19071         (modules-names): Add tst-nodelete2mod.
19072         (tst-nodelete2mod.so-no-z-defs): New.
19073         ($(objpfx)tst-nodelete2): Likewise.
19074         ($(objpfx)tst-nodelete2.out): Likewise.
19075         (LDFLAGS-tst-nodelete2): Likewise.
19076         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
19077         out of loop through all loaded libraries.
19078         * elf/tst-nodelete2.c: New file.
19079         * elf/tst-nodelete2mod.c: Likewise.
19080         * elf/tst-znodelete-zlib.cc: Delete.
19082 2015-08-11  Andreas Schwab  <schwab@suse.de>
19084         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
19085         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
19086         (__openat64_nocancel): Likewise.
19088 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
19090         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
19091         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
19092         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
19093         * math/auto-libm-test-out: Regenerated.
19094         * sysdeps/i386/fpu/libm-test-ulps: Update.
19095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19097 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
19099         [BZ #18790]
19100         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
19101         threshold for returning +/- 1.
19102         * math/auto-libm-test-in: Add more tests of tanh.
19103         * math/auto-libm-test-out: Regenerated.
19104         * sysdeps/i386/fpu/libm-test-ulps: Update.
19106 2015-08-10  Andreas Schwab  <schwab@suse.de>
19108         [BZ #18781]
19109         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
19110         MORE_OFLAGS to oflag.
19111         * io/test-lfs.c (do_test): Test openat64.
19113 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
19115         [BZ #18789]
19116         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
19117         smaller threshold for returning the argument.
19118         * math/auto-libm-test-in: Add more tests of sinh.
19119         * math/auto-libm-test-out: Regenerated.
19120         * sysdeps/i386/fpu/libm-test-ulps: Update.
19122 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
19124         [BZ #18674]
19125         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
19126         break.
19128 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
19130         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
19131         (generated): Don't add $(addprefix z.,$(tzfiles)).
19133 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
19135         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
19136         * scripts/sysd-rules.awk: Likewise.
19138 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
19140         * iconvdata/tst-tables.sh: Change echo -n to printf.
19141         * nss/db-Makefile: Likewise.
19142         * posix/tst-getconf.sh: Likewise.
19143         * stdio-common/tst-unbputc.sh: Likewise.
19145 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
19147         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
19148         MADV_*_PAGES defines behind this feature check.
19150 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
19152         [BZ #18480]
19153         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
19154         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
19155         Define.
19156         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
19157         LOAD_REGS_5, LOAD_REGS_6): Update.
19158         (INTERNAL_SYSCALL): Update using new LOAD defines.
19159         (INTERNAL_SYSCALL_NCS): Likewise.
19160         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
19162 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19164         [BZ #16734]
19165         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
19167 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19169         [BZ #17905]
19170         * catgets/Makefile (tst-catgets-mem): New test.
19171         * catgets/catgets.c (catopen): Don't use unbounded alloca.
19172         * catgets/open_catalog.c (__open_catalog): Likewise.
19173         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
19175 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
19177         [BZ #18787]
19178         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
19179         clobber registers.
19180         (atomic_compare_and_exchange_val_acq): Use register asms to assign
19181         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
19182         Cast return to __typeof (oldval).
19184 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
19186         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
19187         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
19188         and delete sys/syscall.h include.
19190 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
19192         [BZ #16517]
19193         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
19194         (tan): Force underflow exception for arguments with small absolute
19195         value.
19196         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
19197         (__kernel_tanf): Force underflow exception for arguments with
19198         small absolute value.
19199         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
19200         (__kernel_tanl): Force underflow exception for arguments with
19201         small absolute value.
19202         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
19203         (__kernel_tanl): Force underflow exception for arguments with
19204         small absolute value.
19205         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
19206         (__kernel_tanl): Force underflow exception for arguments with
19207         small absolute value.
19208         * math/auto-libm-test-in: Add more tests of tan.
19209         * math/auto-libm-test-out: Regenerated.
19211 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19213         Fix sysdeps/i386/fpu/s_scalbn.S build
19215         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
19217 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
19219         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
19221 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19223         Fix gcrt0.o compilation
19225         When static-start-installed-name is different from
19226         start-installed-name, we must not use the shared objects.
19228         * csu/Makefile
19229         (extra-objs): Add gmon-start.o when building shared library and
19230         $(static-start-installed-name) is different from
19231         $(start-installed-name).
19232         $(objpfx)g$(static-start-installed-name): When building shared
19233         library and $(static-start-installed-name) is different from
19234         $(static-start-installed-name), revert to non-shared rule,
19235         i.e. using $(objpfx)% and gmon-start.o.
19237 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
19239         [BZ #16519]
19240         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
19241         (__ieee754_sinh): Force underflow exception for arguments with
19242         small absolute value.
19243         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
19244         (__ieee754_sinhf): Force underflow exception for arguments with
19245         small absolute value.
19246         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
19247         (__ieee754_sinhl): Force underflow exception for arguments with
19248         small absolute value.
19249         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
19250         (__ieee754_sinhl): Force underflow exception for arguments with
19251         small absolute value.
19252         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
19253         (__ieee754_sinhl): Force underflow exception for arguments with
19254         small absolute value.
19255         * math/auto-libm-test-in: Add more tests of sinh.
19256         * math/auto-libm-test-out: Regenerated.
19257         * sysdeps/i386/fpu/libm-test-ulps: Update.
19259 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
19261         * libio/oldfileops.c: Include unistd.h.
19263 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
19265         * stdlib/isomac.c: Include ctype.h.
19267 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
19269         * dirent/tst-seekdir.c (main): Converted to ...
19270         (do_test): ... this.
19271         (TEST_FUNCTION): New macro.
19272         Include test-skeleton.c.
19273         * elf/tst-dlmodcount.c (main): Converted to ...
19274         (do_test): ... this.
19275         (TEST_FUNCTION): New macro.
19276         Include test-skeleton.c.
19277         * elf/tst-order-main.c (main): Converted to ...
19278         (do_test): ... this.
19279         (TEST_FUNCTION): New macro.
19280         Include test-skeleton.c.
19281         * elf/tst-pie2.c (main): Converted to ...
19282         (do_test): ... this.
19283         (TEST_FUNCTION): New macro.
19284         Include test-skeleton.c.
19285         * inet/tst-ether_aton.c (main): Converted to ...
19286         (do_test): ... this.
19287         (TEST_FUNCTION): New macro.
19288         Include test-skeleton.c.
19289         * misc/tst-mntent.c (main): Converted to ...
19290         (do_test): ... this.
19291         (TEST_FUNCTION): New macro.
19292         Include test-skeleton.c.
19293         * misc/tst-tsearch.c (main): Converted to ...
19294         (do_test): ... this.
19295         (TEST_FUNCTION): New macro.
19296         Include test-skeleton.c.
19297         * posix/tst-regexloc.c (main): Converted to ...
19298         (do_test): ... this.
19299         (TEST_FUNCTION): New macro.
19300         Include test-skeleton.c.
19301         * resolv/tst-aton.c (main): Converted to ...
19302         (do_test): ... this.
19303         (TEST_FUNCTION): New macro.
19304         Include test-skeleton.c.
19305         * stdio-common/test-fwrite.c (main): Converted to ...
19306         (do_test): ... this.
19307         (TEST_FUNCTION): New macro.
19308         Include test-skeleton.c.
19309         * stdio-common/tst-ferror.c (main): Converted to ...
19310         (do_test): ... this.
19311         (TEST_FUNCTION): New macro.
19312         Include test-skeleton.c.
19313         * stdio-common/tst-printf.c (main): Converted to ...
19314         (do_test): ... this.
19315         (TEST_FUNCTION): New macro.
19316         Include test-skeleton.c.
19317         * stdio-common/tst-printfsz.c (main): Converted to ...
19318         (do_test): ... this.
19319         (TEST_FUNCTION): New macro.
19320         Include test-skeleton.c.
19321         * stdlib/tst-strtod.c (main): Converted to ...
19322         (do_test): ... this.
19323         (TEST_FUNCTION): New macro.
19324         Include test-skeleton.c.
19325         * string/tst-strlen.c (main): Converted to ...
19326         (do_test): ... this.
19327         (TEST_FUNCTION): New macro.
19328         Include test-skeleton.c.
19329         * string/tst-svc.c (main): Converted to ...
19330         (do_test): ... this.
19331         (TEST_FUNCTION): New macro.
19332         Include test-skeleton.c.
19333         * time/tst-strptime.c (main): Converted to ...
19334         (do_test): ... this.
19335         (TEST_FUNCTION): New macro.
19336         Include test-skeleton.c.
19337         * timezone/tst-timezone.c (main): Converted to ...
19338         (do_test): ... this.
19339         (TEST_FUNCTION): New macro.
19340         Include test-skeleton.c.
19342 2015-08-05  Zack Weinberg  <zackw@panix.com>
19344         * misc/regexp.h: Update comments.
19346 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
19348         [BZ #18635]
19349         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
19350         before return label.
19352 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19354         [BZ #18661]
19355         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
19356         when calling __errno_location.
19357         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
19358         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
19360 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19362         [BZ #18661]
19363         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
19364         (__lll_timedwait_tid): Align stack to 16 bytes when calling
19365         __gettimeofday.
19367 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19369         [BZ #18661]
19370         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19371         (__start_context): Don't use pop to restore %rdi so that stack
19372         is aligned to 16 bytes when calling __setcontext.
19374 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19376         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
19377         only for libc.
19378         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19380 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19382         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
19383         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
19384         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
19386 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19388         * string/memccpy.c (memccpy):
19389         Improve performance by using memchr/memcpy/__mempcpy.
19391 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19393         * string/strncpy.c (strncpy):
19394         Improve performance by using __strnlen/memcpy.
19396 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19398         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
19399         Optimize to avoid an unnecessary FPCR read.
19401 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
19403         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
19404         Optimize to reduce FPCR/FPSR accesses.
19406 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
19408         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
19409         dead->data[category] != NULL.
19411 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
19413         [BZ #18647]
19414         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
19415         and |x| close to 1, use absolute value of x when computing log.
19416         * math/auto-libm-test-in: Add more tests of pow.
19417         * math/auto-libm-test-out: Regenerated.
19419 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19421         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
19422         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
19423         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
19425 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
19427         [BZ #18525]
19428         * locales/km_KH: Remove timezone definition.
19429         * locales/lo_LA: Likewise.
19430         * locales/my_MM: Likewise.
19431         * locales/nan_TW@latin: Likewise.
19432         * locales/th_TH: Likewise.
19433         * locales/uk_UA: Likewise.
19435 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
19437         [BZ #18265]
19438         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
19439         (wcsncat): Likewise.
19440         (wcscmp): Likewise.
19441         (wcsncmp): Likewise.
19443 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
19445         * test-skeleton.c (usage): New function.
19446         (main): Call usage when opt is '?'.
19448 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
19450         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
19451         before first use.
19453 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
19455         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
19456         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
19457         in there too.
19459 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
19461         * version.h (RELEASE): Set to "development".
19462         (VERSION): Set to "2.22.90"
19464         * version.h (RELEASE): Set to "stable".
19465         (VERSION): Set to "2.22"
19466         * include/features.h (__GLIBC_MINOR__): Set to 22.
19468 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
19470         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
19471         Restructure macro to avoid "value computed is not used" warning.
19472         (atomic_compare_and_exchange_val_acq): Likewise.
19474 2015-08-04  Andreas Schwab  <schwab@suse.de>
19476         [BZ #18635]
19477         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
19478         ret.
19479         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
19481 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
19483         * po/pl.po: Updated translation.
19484         * po/uk.po: Likewise.
19485         * po/fi.po: Likewise.
19486         * po/ko.po: Likewise.
19487         * po/ru.po: Likewise.
19488         * po/vi.po: Likewise.
19490 2015-07-31  Zack Weinberg  <zackw@panix.com>
19492         [BZ #18681]
19493         * regexp.h: Add unconditional #warning stating that this header
19494         will be removed soon.  Revise banner comment to match.
19495         (compile): Consistently use ERROR instead of RETURN to report
19496         errors (partial fix for bz#18681).
19497         * regexp.c: Don't include regexp.h. Remove some unnecessary
19498         declarations.
19500 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
19502         * po/libc.pot: Regenerated.
19504 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
19506         [BZ #18740]
19507         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
19508         float-vlen4-arch-ext-cflags): Removed.
19509         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
19510         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
19512 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19514         [BZ #14113]
19515         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
19516         aligned to __aligned__.
19517         (pthread_cond_t, pthread_rwlock_t): Likewise.
19519 2015-07-30  Torvald Riegel  <triegel@redhat.com>
19521         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
19523 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19525         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
19526         (struct sigaction): Change sa_flags from a long to an int, and add
19527         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
19529 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19531         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
19532         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
19533         sysdeps/generic/sysdep.h include.
19534         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
19535         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
19536         sysdeps/hppa/sysdep.h.
19537         (ENTRY, PSEUDO): Undefine before defining.
19539 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19541         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
19542         from scratch to use INTERNAL_SYSCALL.
19544 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
19546         [BZ #18078]
19547         * scripts/check-localplt.awk: Support alternate relocations.
19548         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
19549         sections.
19550         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
19551         malloc entries with + REL R_386_GLOB_DAT.
19552         * sysdeps/x86_64/localplt.data: New file.
19554 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
19556         [BZ #18731]
19557         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
19558         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19559         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19561 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19563         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
19565 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19567         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
19568         directly in terms of __sync_fetch_and_add and delete (int) cast.
19570 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19572         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
19573         the -D_ASM_IA64_CURRENT_H flag.
19575 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19577         [BZ #18641]
19578         * pwd/pwd.h (putpwent): Delete __nonnull markings.
19580 2015-07-27  Andreas Schwab  <schwab@suse.de>
19582         * conform/conformtest.pl (checknamespace): Filter out string
19583         literals while tokenizing.
19585 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
19587         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19588         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
19589         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19591 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
19593         * nptl/tst-join7mod.c: Add #include <string.h>.
19595 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
19597         * sysdeps/nios2/libm-test-ulps: Update.
19599 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
19601         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
19602         Fix order of arguments to the rt_sigprocmask syscall.
19603         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
19604         Likewise.
19606 2015-07-24  Roland McGrath  <roland@hack.frob.com>
19608         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
19610 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19612         [BZ #18457]
19613         * nptl/Makefile (tests): New test case tst-join7.
19614         (modules-names): New test case module tst-join7mod.
19615         * nptl/tst-join7.c: New file.
19616         * nptl/tst-join7mod.c: New file.
19617         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
19618         all translation units in libc.so, libpthread.so and rtld.
19620 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19624 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
19626         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
19627         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
19628         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
19629         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
19630         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
19631         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
19632         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
19633         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
19634         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
19635         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
19636         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
19637         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
19638         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
19639         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
19640         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
19641         implementation.
19643 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19645         [BZ #17711]
19646         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19647         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
19648         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19649         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19650         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
19651         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19653 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19655         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
19656         instead of just saying load lock in the comments.
19658 2015-07-23  Roland McGrath  <roland@hack.frob.com>
19660         * sysdeps/unix/Subdirs: Moved ...
19661         * sysdeps/posix/Subdirs: ... here.
19662         * login/pty.h (struct termios, struct winsize): Add forward decls.
19663         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
19664         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
19665         * sysdeps/arm/nacl/libc.abilist: Updated.
19666         * sysdeps/nacl/libutil.abilist: New file.
19668         * bits/signum.h: Update comments to mention 1003.1-2013 too.
19669         (SIGWINCH): New macro.
19671         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
19672         * sysdeps/arm/nacl/libc.abilist: Add it.
19674 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
19676         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
19678 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
19680         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
19681         Swap __glibc_reserved0 and sa_flags order.
19683 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19685         [BZ #18657]
19686         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
19687         are pending TLS destructor calls.
19688         * include/link.h (struct link_map): Add concurrency note for
19689         L_TLS_DTOR_COUNT.
19690         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19691         Don't touch the link map flag.  Atomically increment
19692         l_tls_dtor_count.
19693         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
19694         Avoid taking the load lock and don't touch the link map flag.
19695         * stdlib/tst-tls-atexit-nodelete.c: New test case.
19696         * stdlib/Makefile (tests): Use it.
19697         * stdlib/tst-tls-atexit.c (do_test): dlopen
19698         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
19699         to allow tst-tls-atexit-nodelete test case to use it.
19701 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19703         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
19704         to bits/types.h.
19705         (msgqnum_t): New typedef.
19706         (msglen_t): Likewise.
19707         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
19708         and msg_qbytes type to msglen_t.
19710 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19712         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
19713         pad0 to __glibc_reserved0.
19714         (struct stat64): Likewise.
19716 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19718         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
19719         Change sa_flags from a long to an int and add __glibc_reserved0 before
19720         it for padding.
19722 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19724         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
19725         anonymous by deleting "siginfo" name.
19727 2015-07-21  Roland McGrath  <roland@hack.frob.com>
19729         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
19730         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
19731         rather than __nacl_irt_filename.
19732         * sysdeps/nacl/xstat.c (__xstat): Likewise.
19734         * NEWS: New item for arm-nacl port.
19735         * sysdeps/arm/nacl/libc.abilist: New file.
19736         * sysdeps/nacl/ld.abilist: New file.
19737         * sysdeps/nacl/libBrokenLocale.abilist: New file.
19738         * sysdeps/nacl/libanl.abilist: New file.
19739         * sysdeps/nacl/libcrypt.abilist: New file.
19740         * sysdeps/nacl/libdl.abilist: New file.
19741         * sysdeps/nacl/libm.abilist: New file.
19742         * sysdeps/nacl/libpthread.abilist: New file.
19743         * sysdeps/nacl/libresolv.abilist: New file.
19744         * sysdeps/nacl/librt.abilist: New file.
19746 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
19748         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
19749         __startcontext to initialize the new context.
19750         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
19751         up CFI directive to forbid further backtracing.
19753 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
19755         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
19756         reference.
19757         * charmaps/ANSI_X3.4-1968: Likewise.
19758         * charmaps/BS_4730: Likewise.
19759         * charmaps/BS_VIEWDATA: Likewise.
19760         * charmaps/CP1250: Likewise.
19761         * charmaps/CP1251: Likewise.
19762         * charmaps/CP1252: Likewise.
19763         * charmaps/CP1253: Likewise.
19764         * charmaps/CP1254: Likewise.
19765         * charmaps/CP1255: Likewise.
19766         * charmaps/CP1256: Likewise.
19767         * charmaps/CSN_369103: Likewise.
19768         * charmaps/EBCDIC-DK-NO: Likewise.
19769         * charmaps/GB_1988-80: Likewise.
19770         * charmaps/GREEK-CCITT: Likewise.
19771         * charmaps/GREEK7: Likewise.
19772         * charmaps/INIS-8: Likewise.
19773         * charmaps/ISIRI-3342: Likewise.
19774         * charmaps/ISO_2033-1983: Likewise.
19775         * charmaps/ISO_5427-EXT: Likewise.
19776         * locales/POSIX: Likewise.
19777         * locales/ar_SA: Likewise.
19778         * locales/be_BY: Likewise.
19779         * locales/be_BY@latin: Likewise.
19780         * locales/ca_ES: Likewise.
19781         * locales/cs_CZ: Likewise.
19782         * locales/da_DK: Likewise.
19783         * locales/de_BE: Likewise.
19784         * locales/de_CH: Likewise.
19785         * locales/de_LU: Likewise.
19786         * locales/en_AU: Likewise.
19787         * locales/en_BW: Likewise.
19788         * locales/en_CA: Likewise.
19789         * locales/en_DK: Likewise.
19790         * locales/en_GB: Likewise.
19791         * locales/en_IE: Likewise.
19792         * locales/en_NZ: Likewise.
19793         * locales/en_ZA: Likewise.
19794         * locales/en_ZW: Likewise.
19795         * locales/es_AR: Likewise.
19796         * locales/es_BO: Likewise.
19797         * locales/es_CL: Likewise.
19798         * locales/es_CO: Likewise.
19799         * locales/es_DO: Likewise.
19800         * locales/es_EC: Likewise.
19801         * locales/es_ES: Likewise.
19802         * locales/es_HN: Likewise.
19803         * locales/es_MX: Likewise.
19804         * locales/es_PA: Likewise.
19805         * locales/es_PE: Likewise.
19806         * locales/es_PY: Likewise.
19807         * locales/es_SV: Likewise.
19808         * locales/es_US: Likewise.
19809         * locales/es_UY: Likewise.
19810         * locales/es_VE: Likewise.
19811         * locales/et_EE: Likewise.
19812         * locales/fa_IR: Likewise.
19813         * locales/fo_FO: Likewise.
19814         * locales/fr_CA: Likewise.
19815         * locales/fr_CH: Likewise.
19816         * locales/gv_GB: Likewise.
19817         * locales/he_IL: Likewise.
19818         * locales/hr_HR: Likewise.
19819         * locales/id_ID: Likewise.
19820         * locales/is_IS: Likewise.
19821         * locales/it_CH: Likewise.
19822         * locales/iw_IL: Likewise.
19823         * locales/kl_GL: Likewise.
19824         * locales/ko_KR: Likewise.
19825         * locales/kw_GB: Likewise.
19826         * locales/lg_UG: Likewise.
19827         * locales/lt_LT: Likewise.
19828         * locales/lv_LV: Likewise.
19829         * locales/mi_NZ: Likewise.
19830         * locales/nhn_MX: Likewise.
19831         * locales/nl_BE: Likewise.
19832         * locales/pl_PL: Likewise.
19833         * locales/sk_SK: Likewise.
19834         * locales/sl_SI: Likewise.
19835         * locales/sv_FI: Likewise.
19836         * locales/tl_PH: Likewise.
19837         * locales/tr_TR: Likewise.
19838         * locales/vi_VN: Likewise.
19840 2015-07-21  Khem Raj  <raj.khem@gmail.com>
19842         [BZ #17475]
19843         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
19844         of tu_IN and bh_IN.
19846 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
19848         [BZ #18694]
19849         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
19850         bits/wordsize.h.
19851         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
19853 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19855         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
19856         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
19857         (spawn_thread): New function.
19858         (load): Rename to reg_dtor_and_close.  Move dlopen to...
19859         (do_test): ... here.  Use IS_LOADED to test for its
19860         availability.
19862 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
19864         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19866 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
19868         [BZ #18696]
19869         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
19870         si_addr_bnd.
19871         (si_lower): New.
19872         (si_upper): Likewise.
19874 2015-07-16  David S. Miller  <davem@davemloft.net>
19876         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
19878 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19880         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
19881         buffer.
19882         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
19883         fail output information.
19885 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19887         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
19888         and strstr-ppc64..
19889         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19890         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
19891         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
19892         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
19893         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
19895 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
19897         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
19898         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
19899         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
19900         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
19902 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
19904         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
19905         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
19906         rtld_hidden_proto.
19907         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
19909 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19911         * tst-nodelete-opened.c (do_test): Add comment to clarify how
19912         the test can fail.
19914         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
19916         [BZ #18676]
19917         * elf/tst-nodelete-opened.c: New test case.
19918         * elf/tst-nodelete-opened-lib.c: New test case module.
19919         * elf/Makefile (tests, modules-names): Use them.
19920         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
19921         early.
19923 2015-07-15  David S. Miller  <davem@davemloft.net>
19925         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
19926         futex-intenal.h
19927         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
19928         * sysdeps/sparc/sparc64/Makefile: Likewise.
19929         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
19930         Remove space from macro define.
19931         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
19933 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
19935         [BZ #17475]
19936         * locale/iso-639.def: Update Bhili and Tulu language codes as
19937         per iso639-3.
19939 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
19941         * elf/tst-leaks1.c (main): Converted to ...
19942         (do_test): ... this.
19943         (TEST_FUNCTION): New macro.
19944         Include test-skeleton.c.
19945         * localedata/tst-langinfo.c (main): Converted to ...
19946         (do_test): ... this.
19947         (TEST_FUNCTION): New macro.
19948         Include test-skeleton.c.
19949         * math/test-fpucw.c (main): Converted to ...
19950         (do_test): ... this.
19951         (TEST_FUNCTION): New macro.
19952         Include test-skeleton.c.
19953         * math/test-tgmath.c (main): Converted to ...
19954         (do_test): ... this.
19955         (TEST_FUNCTION): New macro.
19956         Include test-skeleton.c.
19957         * math/test-tgmath2.c (main): Converted to ...
19958         (do_test): ... this.
19959         (TEST_FUNCTION): New macro.
19960         Include test-skeleton.c.
19961         * setjmp/tst-setjmp.c (main): Converted to ...
19962         (do_test): ... this.
19963         (TEST_FUNCTION): New macro.
19964         Include test-skeleton.c.
19965         * stdio-common/tst-sscanf.c (main): Converted to ...
19966         (do_test): ... this.
19967         (TEST_FUNCTION): New macro.
19968         Include test-skeleton.c.
19969         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
19970         (do_test): ... this.
19971         (TEST_FUNCTION): New macro.
19972         Include test-skeleton.c.
19974         * elf/tst-audit9.c (main): Converted to ...
19975         (do_test): ... this.
19976         (TEST_FUNCTION): New macro.
19977         Include test-skeleton.c.
19979 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
19981         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
19983 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
19985         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
19986         New variable.
19988 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
19990         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19992 2015-07-14  Roland McGrath  <roland@hack.frob.com>
19994         * sysdeps/generic/dl-fileid.h: New file.
19995         * sysdeps/posix/dl-fileid.h: New file.
19996         * sysdeps/nacl/dl-fileid.h: New file.
19997         * include/link.h: Include <dl-fileid.h>.
19998         (struct link_map): Replace l_dev and l_ino with l_file_id.
19999         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
20000         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
20001         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
20003 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20005         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
20007 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20009         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
20010         Add iff $CXX is set.
20011         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
20012         Likewise.
20013         (tst-nodelete-zmodiff): Likewise.
20014         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
20016 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20018         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
20020 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
20022         * sysdeps/aarch64/fpu/math_private.h
20023         (define math_opt_barrier): Add AArch64 version.
20024         (math_force_eval): Likewise.
20026 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
20028         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
20030 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
20032         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
20033         %ld with %jd and cast to intmax_t.
20034         (do_test_length_zero): Likewise.
20036 2015-07-10  Roland McGrath  <roland@hack.frob.com>
20038         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
20040 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
20042         * sysdeps/tile/libm-test-ulps: Regenerated.
20044         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
20045         Comment out the whole function, not just its body.
20047 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20049         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
20050         locks.
20052         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
20054 2015-07-10  Torvald Riegel  <triegel@redhat.com>
20056         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
20057         (sem_assume_only_signals_cause_futex_EINTR): Remove.
20059 2015-07-10  Torvald Riegel  <triegel@redhat.com>
20061         * sysdeps/nptl/futex-internal.h: New file.
20062         * sysdeps/nacl/futex-internal.h: New file.
20063         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
20064         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
20065         error checking.
20066         (setxid_unmark_thread): Likewise.
20067         (__nptl_setxid): Likewise.
20068         (__wait_lookup_done): Likewise.
20069         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
20070         * nptl/nptl-init.c (sighandler_setxid): Likewise.
20071         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
20072         * nptl/pthread_once.c (clear_once_control): Likewise.
20073         (__pthread_once_slow): Likewise.
20074         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
20075         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
20076         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
20077         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20078         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
20079         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
20080         Likewise.
20081         (__pthread_rwlock_rdlock): Likewise.
20082         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20083         Likewise.
20084         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
20085         Likewise.
20086         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20087         Likewise.
20088         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
20089         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
20090         Likewise.
20091         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
20092         __ASSUME_PRIVATE_FUTEX check.
20093         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
20094         Check that shared futexes are supported.
20095         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
20096         wrappers with error checking.
20097         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
20098         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
20099         * nptl/pthread_barrierattr_setpshared.c
20100         (pthread_barrierattr_setpshared): Check that shared futexes are
20101         supported.
20102         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
20103         Likewise.
20104         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
20105         Likewise.
20106         * nptl/sem_init.c (futex_private_if_supported): Remove.
20107         (__new_sem_init): Adapt and check that shared futexes are supported.
20108         * nptl/sem_open.c (sem_open): Likewise.
20109         * nptl/sem_post.c (futex_wake): Remove.
20110         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
20111         (do_futex_wait): Use futex wrappers with error checking.
20112         * nptl/sem_wait.c: Include lowlevellock.h.
20113         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
20114         Use futex_supports_pshared.
20115         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
20116         Use futex wrappers with error checking.
20117         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
20118         Likewise.
20119         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
20120         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
20121         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
20122         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
20123         (futex_wake): Likewise.
20124         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
20125         (do_futex_wait): Use futex wrappers with error checking.
20126         (__new_sem_wait_slow): Update EINTR handling.
20127         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
20129 2015-07-09  Martin Sebor  <msebor@redhat.com>
20131         [BZ #18435]
20132         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
20133         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
20134         * nptl/Makefile (test-xfail-tst-once5): Define.
20136 2015-07-09  Roland McGrath  <roland@hack.frob.com>
20138         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
20139         * elf/dl-minimal.c: For readability, reorder some definitions and
20140         introduce more page breaks.  Include <stdio.h>.
20141         (__libc_fatal): New function.
20143         * include/unistd.h: Add rtld_hidden_proto for _exit.
20144         * posix/_exit.c: Add rtld_hidden_def.
20145         * sysdeps/mach/hurd/_exit.c: Likewise.
20146         * sysdeps/nacl/_exit.c: Likewise.
20147         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
20148         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
20150 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
20152         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
20153         bndmov encoding with zero displacement.
20155 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
20156             H.J. Lu  <hongjiu.lu@intel.com>
20158         [BZ #18134]
20159         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
20160         * sysdeps/i386/configure: Regenerated.
20161         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
20162         (_dl_runtime_profile): Save and restore Intel MPX return bound
20163         registers when calling _dl_call_pltexit.  Add
20164         PRESERVE_BND_REGS_PREFIX before return.
20165         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
20166         (LRV_BND1_OFFSET): Likewise.
20167         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
20168         lrv_bnd1.
20169         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
20170         typo in bndmov encoding.
20171         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
20172         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
20173         branch instructions to preserve bounds.
20175 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
20178         [GLIBC_2.22]: Add fmemopen.
20180 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20182         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
20183         returns an error, also try to use host port from __mach_host_self for
20184         the __vm_wire call.
20185         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
20187 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20189         [BZ #18400]
20190         [BZ #18648]
20191         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
20192         Fix pr_uid and pr_gid members.
20193         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
20194         definition to elf_greg_t.
20196 2015-07-08  Roland McGrath  <roland@hack.frob.com>
20198         [BZ #18383]
20199         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
20200         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
20201         * sysdeps/arm/configure: Regenerated.
20202         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
20203         (test-xfail-tst-tlsalign-static): Variable removed.
20205         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
20206         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
20207         rather than explicit 'ln -s'.
20209         * resolv/rpc/netdb.h: New file.
20210         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
20212 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20214         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
20215         length buffers.
20216         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
20217         test-skeleton.c.
20219         [BZ #6544]
20220         [BZ #11216]
20221         [BZ #12836]
20222         [BZ #13151]
20223         [BZ #13152]
20224         [BZ #14292]
20225         * include/stdio.h (fmemopen): Remove hidden prototype.
20226         (__fmemopen): Add new hidden prototype.
20227         * libio/Makefile: Add oldfmemopen object.
20228         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
20229         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
20230         compliance.
20231         * libio/oldfmemopen.c: New file: old fmemopen implementation for
20232         symbol compatibility.
20233         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
20234         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
20235         fmemopen.
20236         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
20237         on append and read mode.
20238         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
20239         fmemopen.
20240         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
20241         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
20242         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
20243         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
20244         Likewise.
20245         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
20246         [GLIBC_2.22]: Likewise.
20247         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
20248         Likewise.
20249         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
20250         Likewise.
20251         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
20252         [GLIBC_2.22]: Likewise.
20253         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
20254         [GLIBC_2.22]: Likewise.
20255         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
20256         [GLIBC_2.22]: Likewise.
20257         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
20258         [GLIBC_2.22]: Likewise.
20259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
20260         [GLIBC_2.22]: Likewise.
20261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
20262         [GLIBC_2.22]: Likewise.
20263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
20264         [GLIBC_2.22]: Likewise.
20265         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
20266         Likewise.
20267         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
20268         Likewise.
20269         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
20270         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
20271         [GLIBC_2.22]: Likewise.
20272         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
20273         [GLIBC_2.22]: Likewise.
20274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
20275         [GLIBC_2.22]: Likewise.
20276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
20277         [GLIBC_2.22]: Likewise.
20278         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
20279         Likewise.
20280         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
20281         Likewise.
20282         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
20283         Likewise.
20284         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
20285         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
20287 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
20289         [BZ #18643]
20290         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
20291         IPV6_PATHMTU, and IPV6_DONTFRAG.
20293 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
20295         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
20296         and _IO_UNBUFFERED.
20297         * libio/oldfileops.c: Likewise.
20298         * libio/wfileops.c: Likewise.
20300 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
20302         * nscd/selinux.c: Delete selinux/flask.h include.
20304 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
20306         [BZ #18641]
20307         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
20308         (putpwent): Likewise.
20309         (getpwnam): Likewise.
20310         (getpwent_r): Likewise.
20311         (getpwuid_r): Likewise.
20312         (getpwnam_r): Likewise.
20313         (fgetpwent_r): Likewise.
20315 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
20317         [BZ #18557]
20318         * inet/rcmd.c (__validuser2_sa): Check user first to
20319         short-circuit host check.
20321 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
20322             Mikhail Ilin  <m.ilin@samsung.com>
20324         [BZ #17833]
20325         * elf/Makefile (tests): Add tst-nodelete.
20326         (modules-names): Add tst-nodelete-uniquemod.
20327         (tst-nodelete-uniquemod.so-no-z-defs): New.
20328         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
20329         (tst-nodelete-zmod.so-no-z-defs): Likewise.
20330         ($(objpfx)tst-nodelete): Likewise.
20331         ($(objpfx)tst-nodelete.out): Likewise.
20332         (LDFLAGS-tst-nodelete): Likewise.
20333         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
20334         * elf/dl-close.c (_dl_close_worker): Add a parameter to
20335         implement forced object deletion.
20336         (_dl_close): Pass false to _dl_close_worker.
20337         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
20338         * elf/tst-nodelete.cc: New file.
20339         * elf/tst-nodeletelib.cc: Likewise.
20340         * elf/tst-znodeletelib.cc: Likewise.
20341         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
20343 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
20345         [BZ #18508]
20346         * stdlib/Makefile ($(objpfx)tst-makecontext3):
20347         Depend on $(libdl).
20348         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
20349         is not called infinitely times.
20350         (backtrace_helper): New function.
20351         (trace_arg): New struct.
20352         (st1): Enlarge stack size.
20353         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20354         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
20355         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20356         Likewise.
20358 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
20360         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20362 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
20364         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
20365         Include sys/types.h instead of bits/types.h.
20366         Remove inclusion of bits/wordsize.h.
20368 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
20370         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
20371         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
20372         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
20373         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
20374         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
20375         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
20377 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
20379         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
20380         link-defines.sym.
20381         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
20382         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
20383         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
20384         and LR_SIZE.
20385         * sysdeps/i386/link-defines.sym: New file.
20387 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
20389         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
20390         (modules-names): Add tst-auditmod3a tst-auditmod3b.
20391         ($(objpfx)tst-audit3): New rule.
20392         ($(objpfx)tst-audit3.out): Likewise.
20393         * sysdeps/i386/tst-audit3.c: New file.
20394         * sysdeps/i386/tst-audit3.h: Likewise.
20395         * sysdeps/i386/tst-auditmod3a.c: Likewise.
20396         * sysdeps/i386/tst-auditmod3b.c: Likewise.
20398 2015-07-07  Torvald Riegel  <triegel@redhat.com>
20400         [BZ #18633]
20401         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
20402         pointer in C code.
20403         (__strcat_c): Likewise.
20404         (__strcat_g): Likewise.
20406 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
20408         [BZ #18592]
20409         * misc/sbrk.c: Set errno to ENOMEM on overflow.
20411 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
20413         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
20414         New function.  (__ieee754_sqrtf): New function.
20415         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
20416         New function.
20417         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
20418         New function.
20420 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
20422         * sysdeps/ieee754/support.c: Remove unused file.
20424 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20426         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
20427         registers instead of d ones so the layout is kernel abi compatible.
20428         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
20429         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
20430         Likewise.
20432 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20434         * sysdeps/aarch64/libm-test-ulps: Regenerated.
20436 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
20438         [BZ #18619]
20439         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
20440         and return argument in case of subnormal argument.
20442 2015-07-01  Martin Sebor  <msebor@redhat.com>
20444         [BZ #18435]
20445         * nptl/Makefile: Add tst-once5.cc.
20446         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
20447         Remove macro redefinitions.
20448         * nptl/tst-once5.cc: New test.
20450 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
20452         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20454         * sysdeps/arm/libm-test-ulps: Regenerated.
20456         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
20457         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20459 2015-06-30  Torvald Riegel  <triegel@redhat.com>
20461         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
20462         lll_lock_wait_private and lll_futex_wake probes.
20464         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
20465         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
20466         Likewise.
20467         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
20468         atomic_spin_nop.
20469         * sysdeps/x86_64/bits/atomic.h: Likewise.
20470         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
20471         to atomic_spin_nop and move ...
20472         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
20473         ... here and ...
20474         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
20475         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
20476         atomic_spin_nop instead of BUSY_WAIT_NOP.
20477         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
20478         Likewise.
20479         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
20480         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
20481         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
20482         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
20483         instead of atomic_delay.
20485 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
20487         [BZ #18613]
20488         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
20489         X_ADJ not X when adjusting exponent.
20490         (__ieee754_gamma_r): Do intermediate computations in
20491         round-to-nearest then adjust overflowing and underflowing results
20492         as needed.
20493         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
20494         of X_ADJ not X when adjusting exponent.
20495         (__ieee754_gammaf_r): Do intermediate computations in
20496         round-to-nearest then adjust overflowing and underflowing results
20497         as needed.
20498         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
20499         log of X_ADJ not X when adjusting exponent.
20500         (__ieee754_gammal_r): Do intermediate computations in
20501         round-to-nearest then adjust overflowing and underflowing results
20502         as needed.  Use 1.0L not 1.0f as numerator of division.
20503         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
20504         log of X_ADJ not X when adjusting exponent.
20505         (__ieee754_gammal_r): Do intermediate computations in
20506         round-to-nearest then adjust overflowing and underflowing results
20507         as needed.  Use 1.0L not 1.0f as numerator of division.
20508         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
20509         of X_ADJ not X when adjusting exponent.
20510         (__ieee754_gammal_r): Do intermediate computations in
20511         round-to-nearest then adjust overflowing and underflowing results
20512         as needed.  Use 1.0L not 1.0f as numerator of division.
20513         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
20514         to auto-libm-test-in.
20515         (tgamma_test): Use ALL_RM_TEST.
20516         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
20517         tests of tgamma with spurious-overflow.
20518         * math/auto-libm-test-out: Regenerated.
20519         * math/gen-libm-have-vector-test.sh: Do not check for START.
20520         * sysdeps/i386/fpu/libm-test-ulps: Update.
20521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20523         [BZ #18612]
20524         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
20525         arguments, just return 0.5 times the argument, with underflow
20526         forced as needed.
20527         * math/auto-libm-test-in: Add more tests of j1.
20528         * math/auto-libm-test-out: Regenerated.
20530         [BZ #16559]
20531         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
20532         (__ieee754_j1): Force underflow exception for small results.
20533         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20534         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
20535         (__ieee754_j1f): Force underflow exception for small results.
20536         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20537         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20538         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20539         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
20540         (__ieee754_j1l): Force underflow exception for small results.
20541         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20542         * math/auto-libm-test-in: Add more tests of j1 and jn.
20543         * math/auto-libm-test-out: Regenerated.
20545         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
20546         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
20547         (PF_MPLS): Likewise.
20548         (AF_IB): Likewise.
20549         (AF_MPLS): Likewise.
20550         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
20551         value and macro.
20552         (MS_RMT_MASK): Include MS_LAZYTIME.
20554 2015-06-26  Mel Gorman  <mgorman@suse.de>
20556         [BZ #18502]
20557         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
20558         already minimal.
20560 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
20562         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
20563         (DT_MIPS_NUM): Update.
20564         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
20565         DT_MIPS_RLD_MAP_REL.
20567 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
20569         [BZ #16559]
20570         [BZ #18602]
20571         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
20572         round-to-nearest internally then recompute results that
20573         underflowed to zero in the original rounding mode.
20574         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20575         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20576         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20577         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20578         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
20579         * sysdeps/i386/fpu/libm-test-ulps: Update.
20580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20582 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20584         * NEWS: Fixed description of link with vector math library.
20586 2015-06-25  Andreas Schwab  <schwab@suse.de>
20588         [BZ #18549]
20589         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
20590         * libio/test-fmemopen.c (do_test): Add test for it.
20592 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
20594         [BZ #17841]
20595         * Makeconfig (no-pie-ldflag): New.
20596         (+link): Set to $(+link-pie) if default to PIE.
20597         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
20598         * config.make.in (build-pie-default): New.
20599         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
20600         is default.  AC_SUBST.
20601         * configure: Regenerated.
20602         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
20604 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20606         * nptl/descr.h (struct pthread): Change type of field setxid_futex
20607         to 'unsigned int'.
20609         * resolv/gai_misc.h (struct waitlist): Change type of field
20610         counterp to 'volatile unsigned int *'.
20611         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
20612         FUTEXADDR and OLDVAL.
20613         * resolv/getaddrinfo_a.c (getaddrinfo_a):
20614         Give local variable TOTAL type 'volatile unsigned int'.
20615         (struct async_waitlist): Change type of field counter to 'unsigned int'.
20616         * resolv/gai_suspend.c (gai_suspend):
20617         Give local variable CNTR type 'unsigned int'.
20619         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
20620         counterp to 'volatile unsigned int *'.
20621         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
20622         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
20623         (aio_suspend): Give local variable CNTR type 'unsigned int'.
20624         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
20625         Give local variable TOTAL type 'volatile unsigned int'.
20626         (struct async_waitlist): Change type of field counter to 'unsigned int'.
20628 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20630         [BZ #18383]
20631         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
20632         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
20633         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
20634         comment for i386/x86-64.
20635         (test-xfail-tst-tlsalign-extern-static): Removed.
20637 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20639         * math/test-double.h: New file.
20640         * math/test-float.h: Likewise.
20641         * math/test-ldouble.h: Likewise.
20642         * math/test-math-inline.h: Likewise.
20643         * math/test-math-no-inline.h: Likewise.
20644         * math/test-math-scalar.h: Likewise.
20645         * math/test-math-vector.h: Likewise.
20646         * math/test-vec-loop.h: Remove file.  Contents moved into
20647         test-math-vector.h.
20648         * math/libm-test.inc (MATHCONST): Do not document macro.
20649         * math/test-double.c: Include test-double.h, test-math-no-inline.h
20650         and test-math-scalar.h.
20651         (FUNC): Remove macro.
20652         (FUNC_TEST): Likewise.
20653         (FLOAT): Likewise.
20654         (MATHCONST): Likewise.
20655         (PRINTF_EXPR): Likewise.
20656         (PRINTF_XEXPR): Likewise.
20657         (PRINTF_NEXPR): Likewise.
20658         (TEST_DOUBLE): Likewise.
20659         (TEST_MATHVEC): Likewise.
20660         (__NO_MATH_INLINES): Likewise.
20661         * math/test-float.c: Include test-float.h, test-math-no-inline.h
20662         and test-math-scalar.h.
20663         (FUNC): Remove macro.
20664         (FUNC_TEST): Likewise.
20665         (FLOAT): Likewise.
20666         (MATHCONST): Likewise.
20667         (PRINTF_EXPR): Likewise.
20668         (PRINTF_XEXPR): Likewise.
20669         (PRINTF_NEXPR): Likewise.
20670         (TEST_FLOAT): Likewise.
20671         (TEST_MATHVEC): Likewise.
20672         (__NO_MATH_INLINES): Likewise.
20673         * math/test-idouble.c: Include test-double.h, test-math-inline.h
20674         and test-math-scalar.h.
20675         (FUNC): Remove macro.
20676         (FUNC_TEST): Likewise.
20677         (FLOAT): Likewise.
20678         (MATHCONST): Likewise.
20679         (PRINTF_EXPR): Likewise.
20680         (PRINTF_XEXPR): Likewise.
20681         (PRINTF_NEXPR): Likewise.
20682         (TEST_DOUBLE): Likewise.
20683         (TEST_MATHVEC): Likewise.
20684         (TEST_INLINE): Likewise.
20685         (__NO_MATH_INLINES): Likewise.
20686         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
20687         test-math-scalar.h.
20688         (FUNC): Remove macro.
20689         (FUNC_TEST): Likewise.
20690         (FLOAT): Likewise.
20691         (MATHCONST): Likewise.
20692         (PRINTF_EXPR): Likewise.
20693         (PRINTF_XEXPR): Likewise.
20694         (PRINTF_NEXPR): Likewise.
20695         (TEST_FLOAT): Likewise.
20696         (TEST_MATHVEC): Likewise.
20697         (TEST_INLINE): Likewise.
20698         (__NO_MATH_INLINES): Likewise.
20699         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
20700         and test-math-scalar.h.
20701         (FUNC): Remove macro.
20702         (FUNC_TEST): Likewise.
20703         (FLOAT): Likewise.
20704         (MATHCONST): Likewise.
20705         (PRINTF_EXPR): Likewise.
20706         (PRINTF_XEXPR): Likewise.
20707         (PRINTF_NEXPR): Likewise.
20708         (TEST_LDOUBLE): Likewise.
20709         (TEST_MATHVEC): Likewise.
20710         (TEST_INLINE): Likewise.
20711         (__NO_MATH_INLINES): Likewise.
20712         * math/test-ldouble.c: Include test-ldouble.h,
20713         test-math-no-inline.h and test-math-scalar.h.
20714         (FUNC): Remove macro.
20715         (FUNC_TEST): Likewise.
20716         (FLOAT): Likewise.
20717         (MATHCONST): Likewise.
20718         (PRINTF_EXPR): Likewise.
20719         (PRINTF_XEXPR): Likewise.
20720         (PRINTF_NEXPR): Likewise.
20721         (TEST_LDOUBLE): Likewise.
20722         (TEST_MATHVEC): Likewise.
20723         (__NO_MATH_INLINES): Likewise.
20724         * math/test-double-vlen2.h: Include test-double.h,
20725         test-math-no-inline.h and test-math-vector.h.
20726         (FLOAT): Remove macro.
20727         (FUNC): Likewise.
20728         (MATHCONST): Likewise.
20729         (PRINTF_EXPR): Likewise.
20730         (PRINTF_XEXPR): Likewise.
20731         (PRINTF_NEXPR): Likewise.
20732         (TEST_DOUBLE): Likewise.
20733         (TEST_MATHVEC): Likewise.
20734         (__NO_MATH_INLINES): Likewise.
20735         (CNCT): Likewise.
20736         (CONCAT): Likewise.
20737         (WRAPPER_NAME): Likewise.
20738         (WRAPPER_DECL): Likewise.
20739         (WRAPPER_DECL_ff): Likewise.
20740         (WRAPPER_DECL_fFF): Likewise.
20741         (VECTOR_WRAPPER): Likewise.
20742         (VECTOR_WRAPPER_ff): Likewise.
20743         (VECTOR_WRAPPER_fFF): Likewise.
20744         (VEC_LEN): New macro.
20745         * math/test-double-vlen4.h: Include test-double.h,
20746         test-math-no-inline.h and test-math-vector.h.
20747         (FLOAT): Remove macro.
20748         (FUNC): Likewise.
20749         (MATHCONST): Likewise.
20750         (PRINTF_EXPR): Likewise.
20751         (PRINTF_XEXPR): Likewise.
20752         (PRINTF_NEXPR): Likewise.
20753         (TEST_DOUBLE): Likewise.
20754         (TEST_MATHVEC): Likewise.
20755         (__NO_MATH_INLINES): Likewise.
20756         (CNCT): Likewise.
20757         (CONCAT): Likewise.
20758         (WRAPPER_NAME): Likewise.
20759         (WRAPPER_DECL): Likewise.
20760         (WRAPPER_DECL_ff): Likewise.
20761         (WRAPPER_DECL_fFF): Likewise.
20762         (VECTOR_WRAPPER): Likewise.
20763         (VECTOR_WRAPPER_ff): Likewise.
20764         (VECTOR_WRAPPER_fFF): Likewise.
20765         (VEC_LEN): New macro.
20766         * math/test-double-vlen8.h: Include test-double.h,
20767         test-math-no-inline.h and test-math-vector.h.
20768         (FLOAT): Remove macro.
20769         (FUNC): Likewise.
20770         (MATHCONST): Likewise.
20771         (PRINTF_EXPR): Likewise.
20772         (PRINTF_XEXPR): Likewise.
20773         (PRINTF_NEXPR): Likewise.
20774         (TEST_DOUBLE): Likewise.
20775         (TEST_MATHVEC): Likewise.
20776         (__NO_MATH_INLINES): Likewise.
20777         (CNCT): Likewise.
20778         (CONCAT): Likewise.
20779         (WRAPPER_NAME): Likewise.
20780         (WRAPPER_DECL): Likewise.
20781         (WRAPPER_DECL_ff): Likewise.
20782         (WRAPPER_DECL_fFF): Likewise.
20783         (VECTOR_WRAPPER): Likewise.
20784         (VECTOR_WRAPPER_ff): Likewise.
20785         (VECTOR_WRAPPER_fFF): Likewise.
20786         (VEC_LEN): New macro.
20787         * math/test-float-vlen4.h: Include test-float.h,
20788         test-math-no-inline.h and test-math-vector.h.
20789         (FLOAT): Remove macro.
20790         (FUNC): Likewise.
20791         (MATHCONST): Likewise.
20792         (PRINTF_EXPR): Likewise.
20793         (PRINTF_XEXPR): Likewise.
20794         (PRINTF_NEXPR): Likewise.
20795         (TEST_FLOAT): Likewise.
20796         (TEST_MATHVEC): Likewise.
20797         (__NO_MATH_INLINES): Likewise.
20798         (CNCT): Likewise.
20799         (CONCAT): Likewise.
20800         (WRAPPER_NAME): Likewise.
20801         (WRAPPER_DECL): Likewise.
20802         (WRAPPER_DECL_ff): Likewise.
20803         (WRAPPER_DECL_fFF): Likewise.
20804         (VECTOR_WRAPPER): Likewise.
20805         (VECTOR_WRAPPER_ff): Likewise.
20806         (VECTOR_WRAPPER_fFF): Likewise.
20807         (VEC_LEN): New macro.
20808         * math/test-float-vlen8.h: Include test-float.h,
20809         test-math-no-inline.h and test-math-vector.h.
20810         (FLOAT): Remove macro.
20811         (FUNC): Likewise.
20812         (MATHCONST): Likewise.
20813         (PRINTF_EXPR): Likewise.
20814         (PRINTF_XEXPR): Likewise.
20815         (PRINTF_NEXPR): Likewise.
20816         (TEST_FLOAT): Likewise.
20817         (TEST_MATHVEC): Likewise.
20818         (__NO_MATH_INLINES): Likewise.
20819         (CNCT): Likewise.
20820         (CONCAT): Likewise.
20821         (WRAPPER_NAME): Likewise.
20822         (WRAPPER_DECL): Likewise.
20823         (WRAPPER_DECL_ff): Likewise.
20824         (WRAPPER_DECL_fFF): Likewise.
20825         (VECTOR_WRAPPER): Likewise.
20826         (VECTOR_WRAPPER_ff): Likewise.
20827         (VECTOR_WRAPPER_fFF): Likewise.
20828         (VEC_LEN): New macro.
20829         * math/test-float-vlen16.h: Include test-float.h,
20830         test-math-no-inline.h and test-math-vector.h.
20831         (FLOAT): Remove macro.
20832         (FUNC): Likewise.
20833         (MATHCONST): Likewise.
20834         (PRINTF_EXPR): Likewise.
20835         (PRINTF_XEXPR): Likewise.
20836         (PRINTF_NEXPR): Likewise.
20837         (TEST_FLOAT): Likewise.
20838         (TEST_MATHVEC): Likewise.
20839         (__NO_MATH_INLINES): Likewise.
20840         (CNCT): Likewise.
20841         (CONCAT): Likewise.
20842         (WRAPPER_NAME): Likewise.
20843         (WRAPPER_DECL): Likewise.
20844         (WRAPPER_DECL_ff): Likewise.
20845         (WRAPPER_DECL_fFF): Likewise.
20846         (VECTOR_WRAPPER): Likewise.
20847         (VECTOR_WRAPPER_ff): Likewise.
20848         (VECTOR_WRAPPER_fFF): Likewise.
20849         (VEC_LEN): New macro.
20850         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
20851         test-vec-loop.h.
20852         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20853         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20854         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20855         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20856         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20857         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20858         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
20860 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20862         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
20863         (__getlogin_r): ... this.
20865 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20867         [BZ #18594]
20868         * math/s_ccosh.c (__ccosh): Compare with least normal value
20869         instead of comparing class with FP_SUBNORMAL.
20870         * math/s_ccoshf.c (__ccoshf): Likewise.
20871         * math/s_ccoshl.c (__ccoshl): Likewise.
20872         * math/s_cexp.c (__cexp): Likewise.
20873         * math/s_cexpf.c (__cexpf): Likewise.
20874         * math/s_cexpl.c (__cexpl): Likewise.
20875         * math/s_csin.c (__csin): Likewise.
20876         * math/s_csinf.c (__csinf): Likewise.
20877         * math/s_csinh.c (__csinh): Likewise.
20878         * math/s_csinhf.c (__csinhf): Likewise.
20879         * math/s_csinhl.c (__csinhl): Likewise.
20880         * math/s_csinl.c (__csinl): Likewise.
20881         * math/s_ctan.c (__ctan): Likewise.
20882         * math/s_ctanf.c (__ctanf): Likewise.
20883         * math/s_ctanh.c (__ctanh): Likewise.
20884         * math/s_ctanhf.c (__ctanhf): Likewise.
20885         * math/s_ctanhl.c (__ctanhl): Likewise.
20886         * math/s_ctanl.c (__ctanl): Likewise.
20887         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
20888         csin, csinh, ctan and ctanh.
20889         * math/auto-libm-test-out: Regenerated.
20890         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
20891         * sysdeps/i386/fpu/libm-test-ulps: Update.
20892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20894 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20896         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
20897         return value is wrong, print the expected value too.
20899 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20901         [BZ #18585]
20902         * elf/readlib.c (is_gdb_python_file): New.
20903         (process_file): Don't issue errors on filenames with -gdb.py
20904         suffix.
20906 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20908         * math/auto-libm-test-in: Add more tests of csin and csinh.
20909         * math/auto-libm-test-out: Regenerated.
20910         * math/libm-test.inc (csin_test_data): Remove tests moved to
20911         auto-libm-test-in.
20912         (csinh_test_data): Likewise.
20914         [BZ #18593]
20915         * math/s_csin.c (__csin): Negate before rather than after possibly
20916         overflowing multiplication.
20917         * math/s_csinf.c (__csinf): Likewise.
20918         * math/s_csinh.c (__csinh): Likewise.
20919         * math/s_csinhf.c (__csinhf): Likewise.
20920         * math/s_csinhl.c (__csinhl): Likewise.
20921         * math/s_csinl.c (__csinl): Likewise.
20922         * math/auto-libm-test-in: Add some tests of csin and csinh.
20923         * math/auto-libm-test-out: Regenerated.
20924         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
20925         (csinh_test_data): Likewise.
20926         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20928         [BZ #18586]
20929         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
20930         underflow exception for small results.
20932 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
20934         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
20935         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
20936         variable and included header.
20937         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
20938         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
20939         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
20940         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
20941         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
20942         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
20943         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
20944         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
20945         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
20946         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
20947         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
20948         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
20949         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
20950         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
20951         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
20952         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
20954 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20956         [BZ #16526]
20957         [BZ #16538]
20958         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
20959         (__sin): Force underflow exception for arguments with small
20960         absolute value.
20961         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
20962         (__kernel_sinf): Force underflow exception for arguments with
20963         small absolute value.
20964         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
20965         (__kernel_sincosl): Force underflow exception for arguments with
20966         small absolute value.
20967         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
20968         (__kernel_sinl): Force underflow exception for arguments with
20969         small absolute value.
20970         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
20971         (__kernel_sincosl): Force underflow exception for arguments with
20972         small absolute value.
20973         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
20974         (__kernel_sinl): Force underflow exception for arguments with
20975         small absolute value.
20976         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
20977         (__kernel_sinl): Force underflow exception for arguments with
20978         small absolute value.
20979         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
20980         (__kernel_sinf): Force underflow exception for arguments with
20981         small absolute value.
20982         * math/auto-libm-test-in: Add more tests of sin and sincos.
20983         * math/auto-libm-test-out: Regenerated.
20985         [BZ #18245]
20986         [BZ #18583]
20987         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
20988         (__kernel_standard_l): Use feholdexcept and fesetenv around
20989         conversion to double instead of special-casing overflow and
20990         underflow.
20991         * math/libm-test.inc (fmod_test_data): Add more tests.
20992         (remainder_test_data): Likewise.
20993         (sqrt_test_data): Likewise.
20995 2015-06-23  Torvald Riegel  <triegel@redhat.com>
20997         [BZ #17403]
20998         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
20999         atomic_read_barrier, atomic_write_barrier): Define.
21000         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
21001         atomic_read_barrier, atomic_write_barrier): Define.
21003 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
21005         * math/Makefile [$(PERL) != no]
21006         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
21007         dependency on libm-test.stmp below the inclusion of Rules.
21009 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
21011         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
21012         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
21013         and included header.
21014         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
21015         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
21016         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
21017         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
21018         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
21019         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
21020         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
21021         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
21022         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
21023         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
21024         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
21025         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
21026         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
21027         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
21028         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
21029         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
21030         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
21031         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
21032         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
21034 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
21036         [BZ #18371]
21037         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
21038         intermediate but not final result might underflow.
21039         * math/s_csqrtf.c (__csqrtf): Likewise.
21040         * math/s_csqrtl.c (__csqrtl): Likewise.
21041         * math/auto-libm-test-in: Add more tests of csqrt.
21042         * math/auto-libm-test-out: Regenerated.
21043         * sysdeps/i386/fpu/libm-test-ulps: Update.
21045         [BZ #18219]
21046         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
21047         threshold on absolute value of exponent for which scaling is used.
21048         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21049         * math/auto-libm-test-in: Add more tests of exp2.
21050         * math/auto-libm-test-out: Regenerated.
21052 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
21054         [BZ #17977]
21055         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
21056         when initializing interface list, based on the bug analysis
21057         and the patch proposed by Eric Newton.
21058         * resolv/tst-res_hconf_reorder.c: New test.
21059         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
21060         tst-res_hconf_reorder.
21061         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
21062         and $(shared-thread-library).
21063         (tst-res_hconf_reorder-ENV): New variable.
21065         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
21066         in comment.
21068 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
21070         [BZ #16353]
21071         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
21072         (__expm1): Force underflow exception for arguments with small
21073         absolute value.
21074         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
21075         (__expm1f): Force underflow exception for arguments with small
21076         absolute value.
21077         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
21078         (__expm1): Force underflow exception for arguments with small
21079         absolute value.
21080         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
21081         (__expm1f): Force underflow exception for arguments with small
21082         absolute value.
21083         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21084         Check for small arguments before calling __expm1.
21085         * math/auto-libm-test-in: Do not mark underflow exceptions as
21086         possibly missing for bug 16353.
21087         * math/auto-libm-test-out: Regenerated.
21089 2015-06-22  Andreas Schwab  <schwab@suse.de>
21091         [BZ #18513]
21092         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
21093         PTR queries.
21095 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
21097         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
21099         * string/strcoll_l.c: Remove unused struct element idxnow.
21101 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
21103         [BZ #18569]
21104         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
21105         underflow and return argument in case of subnormal argument.
21106         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
21107         Likewise.
21108         * math/auto-libm-test-in: Add more tests of expm1.
21109         * math/auto-libm-test-out: Regenerated.
21111         [BZ #16361]
21112         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
21113         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
21114         tiny results.
21115         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
21116         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
21117         tiny results.
21118         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
21119         mark underflow exceptions as possibly missing for bug 16361.
21120         * math/auto-libm-test-out: Regenerated.
21122 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
21124         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
21125         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
21126         Remove variable.
21127         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21128         (test-xfail-XOPEN2K8/utmpx.h/conform).
21130         * conform/conformtest.pl ($xerrors): New variable.
21131         (note_error): New function.
21132         (compiletest): New argument $xfail.  Use not_error.
21133         (runtest): Likewise.
21134         (top level): Handle xfail- lines.  Update calls to compiletest and
21135         runtest.  Handle xfail- and optional- in headers listed with
21136         allow-header.
21137         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
21138         (O_EXEC): Likewise.
21139         (O_SEARCH): Likewise.
21140         * conform/data/stropts.h-data (ioctl): Likewise.
21141         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
21142         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
21143         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
21144         (msghdr.msg_controllen): Likewise.
21145         (cmsghdr.cmsg_len): Likewise.
21146         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
21147         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
21148         variable.
21149         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
21150         (test-xfail-XPG4/stropts.h/conform): Likewise.
21151         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
21152         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
21153         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
21154         (test-xfail-UNIX98/stropts.h/conform): Likewise.
21155         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21156         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21157         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21158         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21159         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21160         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21161         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21162         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21163         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21164         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21165         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21166         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21167         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21168         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21169         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21171 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21173         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
21174         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
21175         definitions for proper unfolding of __MATHDECL_VEC.
21177 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21179         * benchtests/bench-strcoll.c:
21180         Include string.h.
21181         (main): Remove unused variable res.
21183 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21185         * timezone/Makefile (%/UTC %/Universal):
21186         Generate test-result files for UTC and Universal.
21188 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21190         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21192 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
21194         [BZ #16350]
21195         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
21196         for arguments with small absolute value.
21197         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
21198         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
21199         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
21200         (__asinh): Force underflow exception for arguments with small
21201         absolute value.
21202         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
21203         (__asinhf): Force underflow exception for arguments with small
21204         absolute value.
21205         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
21206         (__asinhl): Force underflow exception for arguments with small
21207         absolute value.
21208         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
21209         (__asinhl): Force underflow exception for arguments with small
21210         absolute value.
21211         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
21212         (__asinhl): Force underflow exception for arguments with small
21213         absolute value.
21214         * math/auto-libm-test-in: Do not mark underflow exceptions as
21215         possibly missing for bug 16350.
21216         * math/auto-libm-test-out: Regenerated.
21218         * include/bits/ipc.h: Remove file.
21219         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
21220         variable.
21221         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
21222         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
21223         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
21224         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21225         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21226         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21227         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21228         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21229         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21231         * math/auto-libm-test-in: Remove spurious underflow allowance for
21232         tests of cexp.
21233         * math/auto-libm-test-out: Regenerated.
21235         [BZ #18558]
21236         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
21237         unconditional definition.
21238         (MCAST_BLOCK_SOURCE): Likewise.
21239         (MCAST_UNBLOCK_SOURCE): Likewise.
21240         (MCAST_LEAVE_GROUP): Likewise.
21241         (MCAST_JOIN_SOURCE_GROUP): Likewise.
21242         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
21243         (MCAST_MSFILTER): Likewise.
21244         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
21245         Remove variable.
21246         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21247         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21248         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21249         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21250         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21252 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
21254         * NEWS: Mention addition of x86_64 vector sincosf.
21255         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
21256         * math/test-float-vlen4.h: Likewise.
21257         * math/test-float-vlen8.h: Likewise.
21258         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21259         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
21260         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21261         * sysdeps/x86_64/fpu/Versions: New versions added.
21262         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21263         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21264         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21265         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
21266         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
21267         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
21268         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
21269         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
21270         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
21271         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
21272         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
21273         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
21274         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
21275         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
21276         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
21277         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
21278         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
21279         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
21280         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21281         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21282         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21283         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21284         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21285         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21287         * NEWS: Mention addition of x86_64 vector sincos.
21288         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
21289         * math/math.h (__MATHDECL_VEC): New macro.
21290         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
21291         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
21292         declaration under condition.
21293         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
21294         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
21295         TEST_VEC_LOOP change.
21296         * math/test-double-vlen4.h: Likewise.
21297         * math/test-double-vlen8.h: Likewise.
21298         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
21299         * math/test-float-vlen4.h: Likewise.
21300         * math/test-float-vlen8.h: Likewise.
21301         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21302         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
21303         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21304         * sysdeps/x86_64/fpu/Versions: New versions added.
21305         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21306         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21307         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21308         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
21309         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
21310         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
21311         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
21312         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
21313         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
21314         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
21315         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
21316         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
21317         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
21318         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
21319         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
21320         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
21321         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
21322         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21323         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21324         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21325         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21326         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21327         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21328         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21330         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21331         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21332         redirections for powf.
21333         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21334         * sysdeps/x86_64/fpu/Versions: New versions added.
21335         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21336         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21337         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21338         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
21339         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
21340         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
21341         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
21342         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
21343         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
21344         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
21345         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
21346         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
21347         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
21348         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
21349         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
21350         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
21351         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
21352         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21353         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21354         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21355         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21356         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21357         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21358         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21359         * math/test-float-vlen16.h: Fixed 2 argument macro.
21360         * math/test-float-vlen4.h: Likewise.
21361         * math/test-float-vlen8.h: Likewise.
21362         * NEWS: Mention addition of x86_64 vector powf.
21364 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
21366         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21367         and redefine.
21368         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21369         and redefine.
21370         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
21371         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21372         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21374         [BZ #18553]
21375         * resource/getpriority.c (getpriority): Rename to __getpriority
21376         and define as weak alias of __getpriority.
21377         * resource/setpriority.c (setpriority): Rename to __setpriority
21378         and define as weak alias of __setpriority.
21379         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
21380         __getpriority and define as weak alias of __getpriority.
21381         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
21382         __setpriority and define as weak alias of __setpriority.
21383         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
21384         strong name.
21385         (setpriority): Use __setpriority as strong name.
21386         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
21387         __getpriority and define as weak alias of __getpriority.
21388         * include/sys/resource.h (__getpriority): Declare.  Use
21389         libc_hidden_proto.
21390         (__setpriority): Likewise.
21391         (getpriority): Don't use libc_hidden_proto.
21392         (setpriority): Likewise.
21393         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
21394         getpriority.  Call __setpriority instead of setpriority.
21395         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
21396         Remove variable.
21398         [BZ #18547]
21399         * misc/getttyent.c (getttynam): Rename to __getttynam and define
21400         as weak alias of __getttynam.  Use prototype function definition.
21401         Call __setttyent, __getttyent and __endttyent instead of
21402         setttyent, getttyent and endttyent.
21403         (getttyent): Rename to __getttyent and define as weak alias of
21404         __getttyent.  Call __setttyent instead of setttyent.  Call
21405         __fgets_unlocked instead of fgets_unlocked.
21406         (setttyent): Rename to __setttyent and define as weak alias of
21407         __setttyent.
21408         (endttyent): Rename to __endttyent and define as weak alias of
21409         __endttyent.
21410         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
21411         (__setttyent): Likewise.
21412         (__endttyent): Likewise.
21413         (getttyent): Don't use libc_hidden_proto.
21414         (setttyent): Likewise.
21415         (endttyent): Likewise.
21416         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
21417         __endttyent instead of setttyent, getttyent and endttyent.
21418         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
21419         Remove variable.
21421         [BZ #18546]
21422         * socket/recv.c (__recv): Use libc_hidden_def.
21423         * socket/socket.c (__socket): Likewise.
21424         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
21425         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
21426         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
21427         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
21428         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
21429         libc_hidden_def.
21430         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
21431         libc_hidden_weak.
21432         * include/sys/socket.h (__socket): Do not use attribute_hidden.
21433         Use libc_hidden_proto.
21434         (__recv): Likewise.
21435         * socket/Versions (libc): Export __recv and __socket at version
21436         GLIBC_PRIVATE.
21437         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
21438         instead of recv.
21439         (init_mq_netlink): Call __socket instead of socket.
21440         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
21441         Remove variable.
21443         [BZ #18545]
21444         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
21445         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
21446         hidden_weak.
21447         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
21448         define as alias of __mq_timedsend.  Use hidden_weak.
21449         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
21450         __mq_timedsend as strong name.
21451         (mq_timedreceive): Use __mq_timedreceive as strong name.
21452         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
21453         (__mq_timedreceive): Likewise.
21454         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
21455         __mq_timedreceive instead of mq_timedreceive.
21456         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
21457         instead of mq_timedsend.
21458         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
21459         Remove variable.
21461         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
21462         hidden_def and hidden_weak instead of libc_hidden_def and
21463         libc_hidden_weak.
21464         (top level): Refer to hidden_def in comment.
21465         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
21466         macro.  Use it instead of libc_hidden_def.
21467         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
21468         specify __GI_* name explicitly.
21469         (mq_timedreceive): Likewise.
21470         (mq_setattr): Likewise.
21472         [BZ #18544]
21473         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
21474         __pthread_barrier_init and define as weak alias of
21475         __pthread_barrier_init.
21476         * sysdeps/sparc/nptl/pthread_barrier_init.c
21477         (pthread_barrier_init): Likewise.
21478         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
21479         __pthread_barrier_wait and define as weak alias of
21480         __pthread_barrier_wait.
21481         * sysdeps/sparc/nptl/pthread_barrier_wait.c
21482         (pthread_barrier_wait): Likewise.
21483         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
21484         (pthread_barrier_wait): Likewise.
21485         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
21486         (pthread_barrier_wait): Likewise.
21487         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
21488         (pthread_barrier_wait): Likewise.
21489         * nptl/Versions (libpthread): Export __pthread_barrier_init and
21490         __pthread_barrier_wait at version GLIBC_PRIVATE.
21491         * include/pthread.h (__pthread_barrier_init): Declare.
21492         (__pthread_barrier_wait): Likewise.
21493         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
21494         Call __pthread_barrier_wait instead of pthread_barrier_wait.
21495         (helper_thread): Likewise.
21496         (init_mq_netlink): Call __pthread_barrier_init instead of
21497         pthread_barrier_init.
21499         [BZ #18542]
21500         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
21501         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
21502         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
21503         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
21504         vswscanf.
21505         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
21506         Remove variable.
21508         [BZ #18540]
21509         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
21510         strong alias of _IO_fflush.  Use libc_hidden_def.
21511         * libio/iofflush_u.c (fflush_unlocked): Rename to
21512         __fflush_unlocked and define as weak alias of __fflush_unlocked.
21513         Use libc_hidden_weak.
21514         * include/stdio.h (__fflush_unlocked): Declare.  Use
21515         libc_hidden_proto.
21516         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
21517         fflush_unlocked.
21518         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
21519         Remove variable.
21521         [BZ #18539]
21522         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
21523         define as weak alias of __addseverity.
21524         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
21525         Remove variable.
21526         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
21527         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
21528         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
21530         [BZ #18536]
21531         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
21532         (__tfind): Likewise.
21533         (__tdelete): Likewise.
21534         (__twalk): Likewise.
21535         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
21536         __twalk to GLIBC_PRIVATE.
21537         * include/search.h (__tsearch): Use libc_hidden_proto.
21538         (__tfind): Likewise.
21539         (__tdelete): Likewise.
21540         (__twalk): Likewise.
21541         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
21542         Call __tdelete instead of tdelete.
21543         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
21544         tfind.  Call __tsearch instead of tsearch.
21545         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
21546         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
21547         Remove variable.
21548         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
21550         [BZ #18534]
21551         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
21552         (dprintf): Define as a weak alias of __dprintf, not a strong
21553         alias.
21554         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
21555         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
21556         dprintf.
21557         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
21558         Remove variable.
21559         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
21560         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
21562         [BZ #18533]
21563         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
21564         not a strong alias.
21565         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
21566         Remove variable.
21568         [BZ #18532]
21569         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
21570         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
21571         (in6addr_loopback): Rename to __in6addr_loopback and define as
21572         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
21573         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
21574         libc_hidden_proto.
21575         (__in6addr_any): Likewise.
21576         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
21577         in6addr_any.
21578         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
21579         variable.
21580         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
21582 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
21584         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
21585         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
21586         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21587         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21588         redirections for pow.
21589         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21590         * sysdeps/x86_64/fpu/Versions: New versions added.
21591         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21592         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21593         build of SSE, AVX2 and AVX512 IFUNC versions.
21594         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
21595         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
21596         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
21597         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
21598         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
21599         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
21600         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
21601         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
21602         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
21603         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
21604         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
21605         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
21606         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
21607         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
21608         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21609         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21610         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21611         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21612         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21613         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21614         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21615         * NEWS: Mention addition of x86_64 vector pow.
21617         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21618         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21619         redirections for expf.
21620         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21621         * sysdeps/x86_64/fpu/Versions: New versions added.
21622         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21623         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21624         build of SSE, AVX2 and AVX512 IFUNC versions.
21625         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
21626         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
21627         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
21628         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
21629         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
21630         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
21631         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
21632         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
21633         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
21634         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
21635         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
21636         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
21637         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
21638         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21639         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21640         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21641         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21642         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21643         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21644         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21645         * NEWS: Mention addition of x86_64 vector expf.
21647         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
21648         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
21649         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21650         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21651         redirections for exp.
21652         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21653         * sysdeps/x86_64/fpu/Versions: New versions added.
21654         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21655         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21656         build of SSE, AVX2 and AVX512 IFUNC versions.
21657         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
21658         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
21659         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
21660         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
21661         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
21662         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
21663         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
21664         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
21665         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
21666         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
21667         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
21668         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
21669         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
21670         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21671         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21672         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21673         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21674         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21675         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21676         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21677         * NEWS: Mention addition of x86_64 vector exp.
21679         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21680         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21681         redirections for logf.
21682         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21683         * sysdeps/x86_64/fpu/Versions: New versions added.
21684         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21685         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21686         build of SSE, AVX2 and AVX512 IFUNC versions.
21687         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
21688         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
21689         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
21690         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
21691         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
21692         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
21693         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
21694         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
21695         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
21696         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
21697         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
21698         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
21699         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
21700         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21701         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21702         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21703         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21704         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21705         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21706         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21707         * NEWS: Mention addition of x86_64 vector logf.
21709         * bits/libm-simd-decl-stubs.h: Added stubs for log.
21710         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
21711         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21712         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21713         redirections for log.
21714         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21715         * sysdeps/x86_64/fpu/Versions: New versions added.
21716         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21717         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21718         build of SSE, AVX2 and AVX512 IFUNC versions.
21719         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
21720         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
21721         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
21722         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
21723         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
21724         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
21725         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
21726         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
21727         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
21728         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
21729         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
21730         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
21731         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
21732         test.
21733         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21734         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21735         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21736         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21737         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21738         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21739         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21740         * NEWS: Mention addition of x86_64 vector log.
21742 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21744         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
21745         cfi_adjust_cfa_offset argument.
21746         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
21747         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
21749         [BZ #18034]
21750         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
21751         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
21752         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
21753         ordering using ldar.
21754         (_dl_tlsdesc_dynamic): Likewise.
21755         (_dl_tlsdesc_return_lazy): Likewise.
21756         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
21757         relaxed atomics instead of volatile and synchronize with release store.
21758         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
21759         volatile.
21760         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21762 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
21764         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21765         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
21766         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21767         * sysdeps/x86_64/fpu/Versions: New versions added.
21768         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21769         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21770         build of SSE, AVX2 and AVX512 IFUNC versions.
21771         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
21772         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
21773         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
21774         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
21775         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
21776         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
21777         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
21778         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
21779         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
21780         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
21781         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
21782         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
21783         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
21784         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21785         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21786         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21787         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21788         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21789         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21790         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21791         * NEWS: Mention addition of x86_64 vector sinf.
21793 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
21795         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
21796         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
21797         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
21798         Remove variable.
21799         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
21800         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
21802 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
21804         [BZ #18530]
21805         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
21806         strong alias of _IO_fputs.  Use libc_hidden_def.
21807         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
21808         and define as weak alias of __fputs_unlocked.  Use
21809         libc_hidden_weak.
21810         * include/stdio.h (__fputs_unlocked): Declare.  Use
21811         libc_hidden_proto.
21812         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
21813         fputs_unlocked.
21815         [BZ #18529]
21816         * resolv/netdb.h [__USE_POSIX]: Change condition to
21817         [__USE_XOPEN2K].
21818         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
21819         not expect.
21820         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
21821         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
21822         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
21823         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
21824         [XPG4 || UNIX98] (AI_ALL): Likewise.
21825         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
21826         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
21827         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
21828         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
21829         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
21830         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
21831         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
21832         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
21833         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
21834         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
21835         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
21836         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
21837         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
21838         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
21839         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
21840         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
21841         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
21842         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
21843         [XPG4 || UNIX98] (gai_strerror): Likewise.
21844         [XPG4 || UNIX98] (getaddrinfo): Likewise.
21845         [XPG4 || UNIX98] (getnameinfo): Likewise.
21847         [BZ #18528]
21848         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
21849         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
21850         __USE_XOPEN2K8].
21851         (getgrent): Likewise.
21852         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
21853         expect.
21854         [XPG3 || POSIX2008] (endgrent): Likewise.
21855         [XPG3] (setgrent): Likewise.
21856         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
21857         variable.
21858         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
21860         [BZ #18527]
21861         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
21862         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
21863         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
21864         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
21865         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
21866         * include/unistd.h (__getlogin_r): Declare.  Use
21867         libc_hidden_proto.
21868         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
21869         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
21870         variable.
21871         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
21872         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
21873         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
21875 2015-06-12  Martin Sebor  <msebor@redhat.com>
21877         [BZ #18512]
21878         * Makerules (check-install-supported): New target.
21879         (install): Add check-install-supported as a dependency.
21880         * manual/install.texi (Installing the C Library): Document
21881         that overriding prefix and exec_prefix is not supported.
21882         Mention DESTDIR.
21883         * INSTALL: Regenerate from the above.
21885 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
21887         [BZ #18519]
21888         * posix/Versions (libc): Export __libc_pread at version
21889         GLIBC_PRIVATE.
21890         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
21891         instead of pread.
21892         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
21893         variable.
21895         [BZ #18522]
21896         * misc/efgcvt_r.c
21897         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
21898         (cvt_symbol): Use weak_alias instead of strong_alias.
21899         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
21900         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
21901         Remove variable.
21902         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
21903         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
21905         [BZ #18520]
21906         * inet/herrno.c (h_errno): Rename to __h_errno.
21907         (__libc_h_errno): Define as alias of __h_errno not h_errno.
21908         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
21909         to __h_errno instead of h_errno.
21910         * nptl/herrno.c (h_errno): Rename to __h_errno.
21911         (__h_errno_location): Refer to __h_errno not h_errno.
21912         * resolv/Versions (h_errno): Rename to __h_errno.
21913         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
21914         Remove variable.
21915         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
21917 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
21919         * configure.ac: More strict check for AVX512 assembler support.
21920         * configure: Regenerated.
21922         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
21923         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
21924         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21925         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
21926         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21927         * sysdeps/x86_64/fpu/Versions: New versions added.
21928         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21929         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21930         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21931         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
21932         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
21933         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
21934         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
21935         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
21936         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
21937         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
21938         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
21939         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
21940         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
21941         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
21942         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
21943         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
21944         test.
21945         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21946         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21947         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21948         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21949         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21950         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21951         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21952         * NEWS: Mention addition of x86_64 vector sin.
21954 2015-06-11  Florian Weimer  <fweimer@redhat.com>
21956         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
21957         comment.
21959 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
21961         [BZ #18479]
21962         * nptl/pt-interp.c: New file.
21963         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
21964         Add pt-interp.
21965         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
21966         $(common-objpfx)runtime-linker.h.
21968 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
21970         * Makeconfig (+interp): Remove unused variable.
21971         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
21972         only.  Depend on $(common-objpfx)runtime-linker.h instead of
21973         $(elf-objpfx)runtime-linker.h.
21974         ($(elf-objpfx)runtime-linker.h): Rename to
21975         $(common-objpfx)runtime-linker.h and move ...
21976         * Makerules [$(build-shared) = yes]: ... here.
21977         * elf/interp.c: Include <runtime-linker.h> instead of
21978         <elf/runtime-linker.h>.
21980 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21982         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
21983         (__gettimeofday_syscall): Remove vsyscall fallback.
21984         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
21985         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
21986         Add syscall fallback function.
21987         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
21988         if vDSO is not present.
21989         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
21990         fallback function.
21991         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
21992         present.
21993         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
21994         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21996 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
21998         [BZ #18497]
21999         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
22000         of wcscmp.
22001         (wcscmp): Define as weak alias of WCSCMP.
22002         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
22003         wcscoll.
22004         (USE_HIDDEN_DEF): Define.
22005         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
22006         __wcscoll.  Don't use libc_hidden_weak.
22007         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
22008         wcscmp.
22009         * sysdeps/i386/i686/multiarch/wcscmp-c.c
22010         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
22011         __GI_wcscmp.
22012         (weak_alias): Undefine and redefine.
22013         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
22014         __wcscmp and define as weak alias of __wcscmp.
22015         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
22016         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
22017         (__wcscoll): Likewise.
22018         (wcscmp): Don't use libc_hidden_proto.
22019         (wcscoll): Likewise.
22020         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
22021         wcscoll.
22022         * posix/regexec.c (check_node_accept_bytes): Likewise.
22023         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
22024         variable.
22025         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
22026         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
22028         [BZ #18507]
22029         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
22030         __fstatvfs and define as weak alias of __fstatvfs.  Use
22031         libc_hidden_weak.
22032         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
22033         and define as weak alias of __statvfs.  Use libc_hidden_weak.
22034         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
22035         Define as alias of __fstatvfs, not fstatvfs.
22036         (fstatvfs64): Likewise.
22037         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
22038         Define as alias of __statvfs, not statvfs.
22039         (statvfs64): Likewise.
22040         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
22041         Remove variable.
22043 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22046         (HAVE_GETCPU_VSYSCALL): Define.
22047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22048         (HAVE_GETCPU_VSYSCALL): Likewise.
22049         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
22050         * sysdeps/unix/sysv/linux/sched_getcpu.c
22051         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
22052         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
22053         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
22054         prototype.
22055         * sysdeps/unix/sysv/linux/x86_64/init-first.c
22056         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
22057         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
22058         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
22059         Define.
22060         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
22061         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22062         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
22063         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22065 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
22067         * sysdeps/x86_64/fpu/Makefile: New file.
22068         * sysdeps/x86_64/fpu/Versions: New file.
22069         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
22070         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
22071         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
22072         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
22073         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
22074         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
22075         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
22076         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
22077         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
22078         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
22079         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
22080         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
22081         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
22082         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22083         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22084         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
22085         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
22086         * sysdeps/x86_64/configure.ac: Options for libmvec build.
22087         * sysdeps/x86_64/configure: Regenerated.
22088         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
22089         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
22090         * manual/install.texi (Configuring and compiling): Document
22091         --disable-mathvec.
22092         * INSTALL: Regenerated.
22093         * NEWS: Mention addition of libmvec and x86_64 vector cos.
22095         * math/Makefile: Added rules for vector tests.
22096         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
22097         declaration under condition.
22098         * math/test-double-vlen2.h: New file.
22099         * math/test-double-vlen4.h: New file.
22100         * math/test-double-vlen8.h: New file.
22101         * math/test-vec-loop.h: Added initialization macro.
22102         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
22103         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
22104         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
22105         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
22106         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
22107         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
22108         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
22109         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
22110         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
22111         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
22112         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
22114         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22115         * sysdeps/x86_64/fpu/Versions: New versions added.
22116         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
22117         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
22118         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
22119         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
22120         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
22121         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
22122         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
22123         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
22124         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
22125         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
22126         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
22127         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
22128         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
22129         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22130         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22131         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22132         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
22133         * NEWS: Mention addition of x86_64 vector cosf.
22135         * math/Makefile: Added CFLAGS for new tests.
22136         * math/test-float-vlen16.h: New file.
22137         * math/test-float-vlen4.h: New file.
22138         * math/test-float-vlen8.h: New file.
22139         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
22140         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
22141         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22142         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
22143         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
22144         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
22145         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
22146         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
22147         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
22148         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
22149         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
22151 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
22153         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
22154         * locale/programs/ld-ctype.c: Likewise.
22156 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
22158         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
22159         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
22160         bit_ZMM16_31_state): New macro.
22161         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22162         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
22164 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
22166         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
22168 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
22170         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
22172 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
22174         [BZ #18498]
22175         * libio/memstream.c (open_memstream): Rename to __open_memstream
22176         and define as weak alias of __open_memstream.
22177         * include/stdio.h (__open_memstream): Declare.  Use
22178         libc_hidden_proto.
22179         (open_memstream): Don't use libc_hidden_proto.
22180         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
22181         open_memstream.
22182         * posix/getopt.c (_getopt_internal_r): Likewise.
22183         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
22184         variable.
22185         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
22186         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
22187         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
22189         [BZ #18496]
22190         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
22191         instead of wcrtomb.
22193         [BZ #18483]
22194         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
22195         [__USE_XOPEN2K8].  Remove redundant #endif.
22196         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
22197         Remove redundant #if.
22198         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
22199         Remove variable.
22200         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
22201         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
22203         [BZ #18495]
22204         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
22205         (__iswlower): Likewise.
22206         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
22207         (__iswlower): Likewise.
22208         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
22209         instead of towlower.
22210         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
22211         instead of iswlower.  Call __towupper instead of towupper.
22212         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
22213         instead of iswalnum.
22215 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22217         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
22218         errors to stderr.
22220 2015-06-05  Florian Weimer  <fweimer@redhat.com>
22222         [BZ #15661]
22223         [BZ #17322]
22224         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
22225         Check for overflow properly.  Check for O_APPEND.  Ignore large
22226         file system block sizes.  Add comments about problems.
22227         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
22228         * manual/filesys.texi (Storage Allocation): New node.
22230 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22232         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
22233         cancellable syscalls.
22234         (SYS_ify): Add guard to no redefine it.
22235         (INLINE_SYSCALL): Likewise.
22236         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
22237         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
22238         SYSCALL_CANCEL instead.
22239         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
22240         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
22241         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
22242         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
22243         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
22244         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
22245         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
22246         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
22247         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
22248         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
22249         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
22250         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
22251         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
22252         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
22253         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
22254         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
22255         Likewise.
22256         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
22257         (__libc_pread64): Likewise.
22258         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
22259         (__libc_preadv): Likewise.
22260         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
22261         (__libc_readv64): Likewise.
22262         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
22263         (__libc_pwrite): Likewise.
22264         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
22265         (__libc_pwrite64): Likewise.
22266         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
22267         (__libc_pwritev): Likewise.
22268         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
22269         (__libc_pwritev64): Likewise.
22270         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
22271         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
22272         (sync_file_range): Likewise.
22273         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
22274         Likewise.
22275         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
22276         Likewise.
22277         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
22278         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
22279         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
22280         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
22281         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
22282         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
22283         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
22284         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
22285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
22286         Likewise.
22287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22288         (__libc_read64): Likewise.
22289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
22290         Likewise.
22291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
22292         Likewise.
22293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
22294         Likewise.
22295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
22296         Likewise.
22297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22298         (__libc_pread64): Likewise.
22299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
22300         Likewise.
22301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22302         (__libc_pwrite64): Likewise.
22303         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
22304         (sync_file_range): Likewise.
22305         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
22306         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
22307         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
22308         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
22309         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
22310         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
22311         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
22312         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
22313         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
22314         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22315         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22316         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
22317         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
22318         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
22319         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
22320         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
22321         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
22322         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
22323         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
22324         Likewise.
22325         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
22326         Likewise.
22327         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
22328         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
22329         Likewise.
22330         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
22331         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
22332         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
22333         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
22334         Likewise.
22335         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
22336         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
22337         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
22338         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
22339         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
22341 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
22343         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
22344         Include dl-vdso.
22345         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
22346         Use VDSO routines for gettimeofday, clock_gettime if
22347         available.
22348         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
22349         Declare VDSO symbols.
22350         * sysdeps/unix/sysv/linux/arm/sysdep.h:
22351         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
22352         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
22353         * sysdeps/unix/sysv/linux/arm/Versions: Add
22354         __vdso_clock_gettime.
22356 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22358         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
22359         be an inline implementation regardless of library is built within.
22360         (open_not_cancel_2): Likewise.
22361         (__read_nocancel): Likewise.
22362         (__write_nocancel): Likewise.
22363         (openat_not_cancel): Likewise.
22364         (openat_not_cancel_3): Likewise.
22365         (openat64_not_cancel): Likewise.
22366         (openat64_not_cancel_3): Likewise.
22367         (__close_nocancel): Likewise.
22368         (pause_not_cancel): Likewise.
22369         (nanosleep_not_cancel): Likewise.
22370         (sigsuspend_not_cancel): Likewise.
22372 2015-06-04  Torvald Riegel  <triegel@redhat.com>
22374         [BZ #14958]
22375         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
22376         wake-up.
22377         (__pthread_rwlock_rdlock_slow): Likewise.
22378         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22379         Likewise.
22380         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
22381         Likewise.
22382         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
22383         * nptl/tst-rwlock16.c: New file.
22384         * nptl/Makefile (tests): Add new test.
22386 2015-06-04  Torvald Riegel  <triegel@redhat.com>
22388         [BZ #18324]
22389         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
22390         missing wake-up of readers.
22391         * nptl/tst-rwlock15.c: New file.
22392         * nptl/Makefile (tests): Add new test.
22394 2015-06-03  Roland McGrath  <roland@hack.frob.com>
22396         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
22397         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
22398         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
22399         and __nacl_supply_interface_rtld.
22400         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
22401         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
22402         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
22403         Add __nacl_supply_interface_rtld.
22404         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
22406 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
22408         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
22409         isfinite.
22410         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22411         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
22413 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
22415         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
22416         __signbit* with standard C99 macros.
22417         * math/e_exp10l.c: Likewise.
22418         * math/e_exp2l.c: Likewise.
22419         * math/e_scalb.c: Likewise.
22420         * math/e_scalbf.c: Likewise.
22421         * math/e_scalbl.c: Likewise.
22422         * math/s_ldexp.c: Likewise.
22423         * math/s_ldexpf.c: Likewise.
22424         * math/s_ldexpl.c: Likewise.
22425         * math/w_atan2.c: Likewise.
22426         * math/w_atan2f.c: Likewise.
22427         * math/w_atan2l.c: Likewise.
22428         * math/w_cosh.c: Likewise.
22429         * math/w_coshf.c: Likewise.
22430         * math/w_coshl.c: Likewise.
22431         * math/w_exp10.c: Likewise.
22432         * math/w_exp10f.c: Likewise.
22433         * math/w_exp10l.c: Likewise.
22434         * math/w_exp2.c: Likewise.
22435         * math/w_exp2f.c: Likewise.
22436         * math/w_exp2l.c: Likewise.
22437         * math/w_fmod.c: Likewise.
22438         * math/w_fmodf.c: Likewise.
22439         * math/w_fmodl.c: Likewise.
22440         * math/w_hypot.c: Likewise.
22441         * math/w_hypotf.c: Likewise.
22442         * math/w_hypotl.c: Likewise.
22443         * math/w_jnl.c: Likewise.
22444         * math/w_lgamma.c: Likewise.
22445         * math/w_lgamma_r.c: Likewise.
22446         * math/w_lgammaf.c: Likewise.
22447         * math/w_lgammaf_r.c: Likewise.
22448         * math/w_lgammal.c: Likewise.
22449         * math/w_lgammal_r.c: Likewise.
22450         * math/w_pow.c: Likewise.
22451         * math/w_powf.c: Likewise.
22452         * math/w_powl.c: Likewise.
22453         * math/w_remainder.c: Likewise.
22454         * math/w_remainderf.c: Likewise.
22455         * math/w_remainderl.c: Likewise.
22456         * math/w_scalb.c: Likewise.
22457         * math/w_scalbf.c: Likewise.
22458         * math/w_scalbl.c: Likewise.
22459         * math/w_scalbln.c: Likewise.
22460         * math/w_scalblnf.c: Likewise.
22461         * math/w_scalblnl.c: Likewise.
22462         * math/w_sinh.c: Likewise.
22463         * math/w_sinhf.c: Likewise.
22464         * math/w_sinhl.c: Likewise.
22465         * math/w_tgamma.c: Likewise.
22466         * math/w_tgammaf.c: Likewise.
22467         * math/w_tgammal.c: Likewise.
22468         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22469         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
22470         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22471         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22472         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22473         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22474         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
22475         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22476         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22477         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22478         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22479         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22480         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22481         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22482         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22483         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22484         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22485         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22486         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22487         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22488         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22489         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22490         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22491         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22492         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22493         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22494         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
22495         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22496         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22497         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22498         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
22499         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
22500         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
22501         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
22502         * stdio-common/printf_fp.c: Likewise.
22503         * stdio-common/printf_fphex.c: Likewise.
22504         * stdio-common/printf_size.c: Likewise.
22506 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
22508         [BZ #18470]
22509         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
22510         strnlen.
22511         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
22512         Remove variable.
22513         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
22514         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
22515         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
22516         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
22517         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
22518         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
22519         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
22520         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
22521         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
22522         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
22524         [BZ #18468]
22525         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
22526         weak alias of __wmemchr.  Use libc_hidden_weak.
22527         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
22528         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
22529         instead of wmemchr.
22531 2015-06-02  Roland McGrath  <roland@hack.frob.com>
22533         [BZ #18383]
22534         * elf/tst-tlsalign-extern.c: New file.
22535         * elf/tst-tlsalign-extern-static.c: New file.
22536         * elf/tst-tlsalign-vars.c: New file.
22537         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
22538         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
22539         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
22540         ($(objpfx)tst-tlsalign-extern-static): Likewise.
22541         (test-xfail-tst-tlsalign-extern-static): New variable.
22543 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
22545         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
22546         Use variable name _sc_err instead of err.
22547         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
22548         instead of ret.
22549         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
22550         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
22551         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
22552         (INLINE_SYSCALL): Likewise.
22554         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
22555         * include/string.h (__strnlen): Use libc_hidden_proto.
22556         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
22557         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
22558         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
22559         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
22560         (libc_hidden_def): Undefine and redefine.
22561         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
22562         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
22563         __GI_strnlen.
22564         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
22565         libc_hidden_def.
22566         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
22568         [BZ #18469]
22569         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
22570         weak alias of __towlower.  Use libc_hidden_weak.
22571         (towupper): Rename to __towupper and define as weak alias of
22572         __towupper.  Use libc_hidden_weak.
22573         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
22574         (__towupper): Likewise.
22575         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
22576         __towlower instead of towlower.
22578 2015-06-02  Roland McGrath  <roland@hack.frob.com>
22580         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
22581         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
22583 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22585         * sysdeps/aarch64/libm-test-ulps: Update.
22587 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22589         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
22590         Define.
22591         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22592         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
22593         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
22594         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22595         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
22596         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
22597         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
22599 2015-06-01  Martin Sebor  <msebor@redhat.com>
22601         [BZ #18116]
22602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22603         (__setcontext): Use extended four-operand version of mtsf whenever
22604         possible.
22605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22606         (__novec_swapcontext): Likewise.
22608 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22610         * benchtests/scripts/compare_bench.py: New file.
22611         * benchtests/scripts/import_bench.py (mean): New function.
22612         (split_list): Likewise.
22613         (do_for_all_timings): Likewise.
22614         (compress_timings): Likewise.
22616         * benchtests/scripts/import_bench.py: New file.
22617         * benchtests/scripts/validate_benchout.py: Import import_bench
22618         instead of jsonschema.
22619         (validate_bench): Remove function.
22620         (main): Use import_bench.
22622 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
22624         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
22625         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
22627 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22629         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22631 2015-05-28  Roland McGrath  <roland@hack.frob.com>
22633         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
22634         set THREAD_SELF->tid to a magic value and futex-wake it.
22635         Pass its address to the thread_exit system call.
22636         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
22637         bit is clear.
22638         * sysdeps/nacl/lowlevellock.h: New file.
22639         * sysdeps/nacl/lll_timedwait_tid.c: New file.
22641         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
22642         Add TIMEOUT to current time, don't subtract it.
22644 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
22646         [BZ #2981]
22647         [BZ #18422]
22648         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
22649         ($(objpfx)tst-audit2.out): Also depend on
22650         $(objpfx)tst-auditmod9b.so.
22651         * elf/tst-audit2.c: Include <dlfcn.h>.
22652         (calloc_called): New.
22653         (calloc): Allow to be called more than once.
22654         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
22656 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
22658         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
22659         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
22661 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
22663         * stdlib/monetary.h: Fix comment.
22665 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
22667         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
22668         Avoid using variables in #defines that might cause shadowing.
22669         (INTERNAL_VSYSCALL_CALL): Likewise.
22671 2015-05-26  Roland McGrath  <roland@hack.frob.com>
22673         * sysdeps/nacl/lll_timedlock_wait.c: New file.
22675         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
22676         * nptl/lll_timedlock_wait.c: ... to this new file.
22677         * nptl/Makefile (libpthread-routines): Add it.
22678         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
22679         * nptl/lll_timedwait_tid.c: ... to this new file.
22680         * nptl/Makefile (libpthread-routines): Add it.
22681         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
22682         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
22683         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
22684         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
22685         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
22686         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
22687         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
22688         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
22689         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
22690         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
22692 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22694         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
22695         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22696         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
22697         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
22698         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
22699         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22700         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22701         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22702         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22703         * sysdeps/unix/sysv/linux/tile/sysdep.h
22704         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22705         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
22706         using vDSO syscall macro.
22708 2015-05-26  Andriy Rysin  <arysin@gmail.com>
22710         [BZ #17293]
22711         * uk_UA: Fix sorting order for Ukrainian locale
22713 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
22715         * stdlib/monetary.h: Fix comment.
22717 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22719         [BZ #18234]
22720         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
22721         st_mtim and st_ctim members.
22722         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
22723         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
22724         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
22725         (struct stat64): Likewise.
22726         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
22727         (struct stat64): Likewise.
22728         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
22729         (struct stat64): Likewise.
22731 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22733         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
22734         Define and include sysdep-vdso.h.
22735         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
22736         Likewise.
22737         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
22738         Likewise.
22739         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
22740         Define with VDSO_SYMBOL and use PTR_MANGLE.
22741         (__vdso_clock_gettime): Likewise.
22742         (__vdso_clock_getres): Likewise.
22743         (_libc_vdso_platform_setup): Likewise.
22744         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
22745         Likewise.
22746         (_libc_vdso_platform_setup): Likewise.
22747         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
22748         Likewise.
22749         (__vdso_clock_gettime): Likewise.
22750         (__vdso_clock_getres): Likewise.
22751         (__vdso_get_tbfreq): Likewise.
22752         (__vdso_getcpu): Likewise.
22753         (__vdso_time): Likewise.
22754         (__vdso_sigtramp_rt64): Likewise.
22755         (__vdso_signtramp32): Likewise.
22756         (__vdso_sigtramp_rt32): Likewise.
22757         (_libc_vdso_platform_setup): Likewise.
22758         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
22759         Likewise.
22760         (__vdso_clock_gettime): Likewise.
22761         (__vdso_clock_getres): Likewise.
22762         (_libc_vdso_platform_setup): Likewise.
22763         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
22764         Likewise.
22765         (__vdso_clock_gettime): Likewise.
22766         (_libc_vdso_platform_setup): Likewise.
22767         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
22768         Likewise.
22769         (__vdso_getcpu): Likewise.
22770         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
22771         Use VDSO_SYMBOL macro to define.
22772         (__vdso_clock_gettime): Likewise.
22773         (__vdso_clock_getres): Likewise.
22774         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
22775         Likewise.
22776         (__vdso_clock_gettime): Likewise.
22777         (__vdso_clock_getres): Likewise.
22778         (__vdso_get_tbfreq): Likewise.
22779         (__vdso_getcpu): Likewise.
22780         (__vdso_time): Likewise.
22781         (__vdso_sigtramp_rt64): Likewise.
22782         (__vdso_signtramp32): Likewise.
22783         (__vdso_sigtramp_rt32): Likewise.
22784         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
22785         Likewise.
22786         (__vdso_clock_gettime): Likewise.
22787         (__vdso_clock_getres): Likewise.
22788         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
22789         Likewise.
22790         (__vdso_clock_gettime): Likewise.
22791         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
22792         Likewise.
22793         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
22794         macro.
22795         (INTERNAL_VSYSCALL): Likewise.
22796         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
22797         Remove macro.
22798         (INTERNAL_VSYSCALL): Likewise.
22799         (INTERNAL_VSYSCALL_NCS): Likewise.
22800         (INTERNAL_VSYSCALL_CALL): New macro.
22801         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
22802         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
22803         Likewise.
22804         (INTERNAL_VSYSCALL): Likewise.
22805         (INTERNAL_VSYSCALL_NCS): Likewise.
22806         (INTERNAL_VSYSCALL_CALL): New macro.
22807         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
22808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22809         (INLINE_VSYSCALL): Remove macro.
22810         (INTERNAL_VSYSCALL): Remove macro.
22811         (INTERNAL_VSYSCALL_NCS): Remove macro.
22812         (INTERNAL_VSYSCALL_CALL): New macro.
22813         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
22814         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
22815         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
22816         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
22817         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
22818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22819         (INLINE_VSYSCALL): Remove macro.
22820         (INTERNAL_VSYSCALL): Likewise.
22821         (INTERNAL_VSYSCALL_NCS): Likewise.
22822         (INTERNAL_VSYSCALL_CALL): New macro.
22823         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
22824         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
22825         PTR_DEMANGLE on vDSO pointer.
22826         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
22827         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
22828         macro.
22829         (INTERNAL_SYSCALL): Likewise.
22830         (INTERNAL_VSYSCALL_NCS): Remove macro.
22831         (INTERNAL_VSYSCALL_CALL): New macro.
22832         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
22833         Remove macro.
22834         (INTERNAL_VSYSCALL): Likewise.
22835         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
22836         sysdep-vdso.h instead of libc-vdso.h.
22837         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
22838         definition.
22839         (INLINE_VSYSCALL): Likewise.
22840         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
22841         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
22842         definition.
22843         (INLINE_VSYSCALL): Likewise.
22844         (INTERNAL_VSYSCALL): Likewise.
22845         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
22846         * sysdeps/unix/sysv/linux/timespec_get.c
22847         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
22848         (timespec_get): Use ANSI prototype.
22849         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
22850         and definition for Linux.
22852 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
22854         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
22855         * include/libc-symbols.h: libmvec_hidden_* macro series added.
22857 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22859         [BZ #2981]
22860         [BZ #18410]
22861         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
22862         for missing DT_PLTRELSZ.
22864 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
22866         Remove obsolete aliases that broke 'locale -a'
22867         [BZ #18412]
22868         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
22869         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
22870         breaking some applications that use 'locale -a' output.
22871         Change the encoding of this file from Latin-1 to ASCII to avoid
22872         other potential problems with people grepping this file.
22874 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22876         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
22877         -fasynchronous-unwind-tables.
22878         (CFLAGS-sendto.c): Likewise.
22879         (CFLAGS-sendmsg.c): Likewise.
22880         (CFLAGS-connect.c): Likewise.
22881         (CFLAGS-recvmsg.c): Likewise.
22882         (CFLAGS-recvfrom.c): Likewise.
22883         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
22884         (SOCKETCALL): New macro: non-cancellable socketcall.
22885         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
22886         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
22887         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
22888         * sysdeps/unix/sysv/linux/accept.c: New file.
22889         * sysdeps/unix/sysv/linux/bind.c: Likewise.
22890         * sysdeps/unix/sysv/linux/connect.c: Likewise.
22891         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
22892         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
22893         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
22894         * sysdeps/unix/sysv/linux/listen.c: Likewise.
22895         * sysdeps/unix/sysv/linux/recv.c: Likewise.
22896         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
22897         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
22898         * sysdeps/unix/sysv/linux/send.c: Likewise.
22899         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
22900         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
22901         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
22902         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
22903         * sysdeps/unix/sysv/linux/socket.c: Likewise.
22904         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
22905         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
22906         prototype.
22907         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
22908         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22909         instead of __internal_xxx function.
22910         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
22911         prototype.
22912         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
22913         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22914         instead of __internal_xxx function.
22915         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
22916         prototype.
22917         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
22918         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22919         instead of __internal_xxx function.
22920         * sysdeps/unix/sysv/linux/accept.S: Remove file.
22921         * sysdeps/unix/sysv/linux/bind.S: Likewise.
22922         * sysdeps/unix/sysv/linux/connect.S: Likewise.
22923         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
22924         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
22925         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
22926         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
22927         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
22928         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
22929         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
22930         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
22931         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22932         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
22933         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
22934         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
22935         * sysdeps/unix/sysv/linux/listen.S: Likewise.
22936         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
22937         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
22938         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
22939         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
22940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
22941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
22942         * sysdeps/unix/sysv/linux/recv.S: Likewise.
22943         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
22944         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
22945         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
22946         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22947         * sysdeps/unix/sysv/linux/send.S: Likewise.
22948         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
22949         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
22950         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
22951         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
22952         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
22953         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
22954         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
22955         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
22956         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
22957         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
22958         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
22959         socketcall is implemented in GLIBC.
22961 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
22963         * soft-fp/fmadf4.c: Include <libc-internal.h>.
22964         (__fma): Ignore uninitialized warnings around packing.
22965         * soft-fp/fmasf4.c: Include <libc-internal.h>.
22966         (__fmaf): Ignore uninitialized warnings around packing.
22967         * soft-fp/fmatf4.c: Include <libc-internal.h>.
22968         (__fmal): Ignore uninitialized warnings around packing.
22970         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
22971         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
22972         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
22973         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
22975         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
22976         switch statement into default case.
22977         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
22979         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
22980         a conditional in forcing "inexact".
22981         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22982         Likewise.
22984 2015-05-22  Roland McGrath  <roland@hack.frob.com>
22986         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22987         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
22988         for each INTERNAL_SYSCALL use.
22990 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
22992         [BZ #438]
22993         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
22994         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
22995         variable.
22997         [BZ #18444]
22998         * string/basename.c (basename): Rename to __basename and define as
22999         weak alias of __basename.  Use libc_hidden_weak.
23000         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
23001         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
23002         __basename instead of basename.
23003         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
23004         Remove variable.
23005         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
23007 2015-05-18  Florian Weimer  <fweimer@redhat.com>
23009         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
23010         (_IO_JUMPS_FILE_plus): New.
23011         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
23012         _IO_CAST_FIELD_ACCESS.
23013         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
23014         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
23015         * libio/freopen.c (freopen): Likewise.
23016         * libio/freopen64.c (freopen64): Likewise.
23017         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
23018         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
23019         * libio/iofwide.c (_IO_fwide): Likewise.
23020         * libio/memstream.c (open_memstream): Likewise.
23021         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23022         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
23023         * libio/oldiopopen.c (_IO_old_popen): Likewise.
23025 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
23027         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
23028         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
23029         NADJ.
23030         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
23031         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
23032         NADJ.
23033         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
23034         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
23035         NADJ.
23037         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
23038         (p == 4) case.
23040         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
23041         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
23042         Remove variable.
23043         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
23044         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
23045         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
23047 2015-05-21  Florian Weimer  <fweimer@redhat.com>
23049         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
23050         Adjust jump table label generation macros.
23052 2015-05-21  Florian Weimer  <fweimer@redhat.com>
23054         * stdio-common/vfprintf.c (vfprintf): Move local variables
23055         args_malloced, specs, specs_malloced, and the code after
23056         do_positional to the printf_positional function.
23057         (printf_positional): New function.
23059 2015-05-21  Florian Weimer  <fweimer@redhat.com>
23061         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
23062         function.
23063         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
23064         STEP4_TABLE, process_arg): Move macro definitions
23065         out of the vfprintf function.  (Cosmetic change only.)
23067 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
23069         * benchtests/Makefile (stdio-common-bench): Define.
23070         (benchset): Add stdio-common-bench.
23071         * sprintf-inputs: New file.
23072         * sprintf-source.c: New file.
23074 2015-05-21  Andreas Schwab  <schwab@suse.de>
23076         [BZ #13028]
23077         [BZ #17053]
23078         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
23079         of struct __res_state.
23080         * resolv/res_send.c (__libc_res_nsend): Likewise.
23081         (get_nsaddr): New function.
23082         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
23083         statp directly.
23085 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
23087         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
23088         -D_POSIX_C_SOURCE=199506L.
23090         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
23092         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
23093         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
23094         Do not mention otherwise.
23095         [POSIX] (_XOPEN_VERSION): Do not expect.
23096         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
23097         [POSIX] (_POSIX2_C_BIND): Likewise.
23098         [POSIX] (_POSIX2_VERSION): Likewise.
23099         [POSIX] (_XOPEN_XPG2): Likewise.
23100         [POSIX] (_XOPEN_XPG3): Likewise.
23101         [POSIX] (_XOPEN_XPG4): Likewise.
23102         [POSIX] (_XOPEN_UNIX): Likewise.
23103         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
23104         [POSIX] (_POSIX_BARRIERS): Likewise.
23105         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
23106         [POSIX] (_POSIX_CPUTIME): Likewise.
23107         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
23108         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
23109         [POSIX] (_POSIX_SHELL): Likewise.
23110         [POSIX] (_POSIX_SPAWN): Likewise.
23111         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
23112         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
23113         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
23114         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
23115         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
23116         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
23117         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
23118         [POSIX] (_XBS5_LP64_OFF64): Likewise.
23119         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
23120         [POSIX] (_POSIX_TIMEOUTS): Likewise.
23121         [POSIX] (_POSIX2_PBS): Likewise.
23122         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
23123         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
23124         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
23125         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
23126         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
23127         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
23128         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
23129         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
23130         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
23131         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
23132         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
23133         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
23134         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
23135         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
23136         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
23137         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
23138         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
23139         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
23140         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
23141         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
23142         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
23143         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
23144         [POSIX] (_SC_2_C_BIND): Likewise.
23145         [POSIX] (_SC_2_C_VERSION): Likewise.
23146         [POSIX] (_SC_2_PBS): Likewise.
23147         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
23148         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
23149         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
23150         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
23151         [POSIX] (_SC_2_PBS_TRACK): Likewise.
23152         [POSIX] (_SC_ATEXIT_MAX): Likewise.
23153         [POSIX] (_SC_BARRIERS): Likewise.
23154         [POSIX] (_SC_BASE): Likewise.
23155         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
23156         [POSIX] (_SC_DEVICE_IO): Likewise.
23157         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
23158         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
23159         [POSIX] (_SC_FD_MGMT): Likewise.
23160         [POSIX] (_SC_FIFO): Likewise.
23161         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
23162         [POSIX] (_SC_FILE_LOCKING): Likewise.
23163         [POSIX] (_SC_FILE_SYSTEM): Likewise.
23164         [POSIX] (_SC_IOV_MAX): Likewise.
23165         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
23166         [POSIX] (_SC_NETWORKING): Likewise.
23167         [POSIX] (_SC_PAGE_SIZE): Likewise.
23168         [POSIX] (_SC_PASS_MAX): Likewise.
23169         [POSIX] (_SC_PIPE): Likewise.
23170         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
23171         [POSIX] (_SC_REGEXP): Likewise.
23172         [POSIX] (_SC_SHELL): Likewise.
23173         [POSIX] (_SC_SIGNALS): Likewise.
23174         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
23175         [POSIX] (_SC_SPIN_LOCKS): Likewise.
23176         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
23177         [POSIX] (_SC_USER_GROUPS): Likewise.
23178         [POSIX] (_SC_USER_GROUPS_R): Likewise.
23179         [POSIX] (_SC_STREAMS): Likewise.
23180         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
23181         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
23182         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
23183         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
23184         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
23185         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
23186         [POSIX] (_PC_FILESIZEBITS): Likewise.
23187         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
23188         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
23189         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
23190         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
23191         [POSIX] (uid_t): Likewise.
23192         [POSIX] (gid_t): Likewise.
23193         [POSIX] (off_t): Likewise.
23194         [POSIX] (pid_t): Likewise.
23195         [POSIX] (cuserid): Allow.
23196         (_SC_2_CHAR_TERM): Require constant.
23197         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
23198         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
23199         variable.
23201 2015-05-20  Roland McGrath  <roland@hack.frob.com>
23203         * sysdeps/nacl/pthread-pids.h: New file.
23204         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
23205         (create_thread): Use __nacl_get_tid to initialize PD->tid.
23207         * nptl/pthread-pids.h: New file.
23208         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
23209         * nptl/nptl-init.c: Include <pthread-pids.h>.
23210         (__pthread_initialize_minimal_internal):
23211         Call __pthread_initialize_pids instead of set_tid_address syscall.
23213         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
23214         * sysdeps/posix/usleep.c: ... here.
23216 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23218         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
23219         call_pselect6 object.
23220         [$(subdir) = io]: Remove call_sync_file_range object.
23221         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
23222         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
23223         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
23224         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
23226 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
23228         * math/s_cproj.c: Add include "math_private.h".
23229         * math/s_cprojf.c: Likewise.
23230         * math/s_cprojl.c: Likewise.
23232 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
23234         [BZ #18244]
23235         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
23236         high mantissa bit when testing whether P is a NaN.
23237         * math/libm-test.inc (remainder_test_data): Add more tests.
23238         (remquo_test_data): Likewise.
23240         [BZ #18049]
23241         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
23242         below -32, return the argument, with underflow if subnormal.
23243         * math/auto-libm-test-in: Add more tests of atanh.
23244         * math/auto-libm-test-out: Regenerated.
23246 2015-05-19  Roland McGrath  <roland@hack.frob.com>
23248         [BZ #18434]
23249         * nptl/tst-sem15.c: New file.
23250         * nptl/Makefile (tests): Add it.
23251         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
23252         s/<</>>/ to fix typo in EOVERFLOW check.
23253         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
23255 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23257         * manual/strings.texi (envz_remove): Fix typo in safety
23258         annotations.
23260 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
23261             Steve Ellcey  <sellcey@imgtec.com>
23263         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
23264         in order to avoid strict alias warnings.
23265         (iruserok_af): Ditto for ra.
23267 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
23269         [BZ #17581]
23270         * malloc/hooks.c
23271         (magicbyte): Convert to a function and avoid returning 0x01.
23272         (mem2mem_check): Avoid using a length byte equal to the magic byte.
23273         (mem2chunk_check): Fix unsigned comparisons to zero.
23274         Hoist defs of sz and magic.
23276 2015-05-19  Richard Henderson  <rth@redhat.com>
23278         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
23280         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23282 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23284         [BZ #16159]
23285         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
23286         * malloc/arena.c (arena_lock): Check if arena is corrupt.
23287         (reused_arena): Find a non-corrupt arena.
23288         (heap_trim): Pass arena to unlink.
23289         * malloc/hooks.c (malloc_check_get_size): Pass arena to
23290         malloc_printerr.
23291         (top_check): Likewise.
23292         (free_check): Likewise.
23293         (realloc_check): Likewise.
23294         * malloc/malloc.c (malloc_printerr): Add arena argument.
23295         (unlink): Likewise.
23296         (munmap_chunk): Adjust.
23297         (ARENA_CORRUPTION_BIT): New macro.
23298         (arena_is_corrupt): Likewise.
23299         (set_arena_corrupt): Likewise.
23300         (sysmalloc): Use mmap if there are no usable arenas.
23301         (_int_malloc): Likewise.
23302         (__libc_malloc): Don't fail if arena_get returns NULL.
23303         (_mid_memalign): Likewise.
23304         (__libc_calloc): Likewise.
23305         (__libc_realloc): Adjust for additional argument to
23306         malloc_printerr.
23307         (_int_free): Likewise.
23308         (malloc_consolidate): Likewise.
23309         (_int_realloc): Likewise.
23310         (_int_memalign): Don't touch corrupt arenas.
23311         * malloc/tst-malloc-backtrace.c: New test case.
23313         * Makefile (summarize-tests): Fix return value on success.
23315         * manual/string.texi (Envz Functions): Add envz_remove.
23317 2015-05-18  Roland McGrath  <roland@hack.frob.com>
23319         * sysdeps/posix/opendir.c: Include <stdbool.h>.
23320         (invalid_name): New function, broken out of ...
23321         (__opendirat): ... here.  Call it.
23322         (need_isdir_precheck): New function, broken out of ...
23323         (__opendirat): ... here.  Call it.
23324         Use __fxstatat64, not __xstatat64.
23325         (opendir_oflags): New function, broken out of ...
23326         (__opendirat): ... here.  Call it.
23327         (opendir_tail): New function, broken out of ...
23328         (__opendirat): ... here.  Call it.
23329         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
23330         opendir_tail, rather than punting to __opendirat.
23331         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
23333 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23335         * .gitignore: Ignore generated *.pyc.
23337 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
23339         * include/stdio.h: Define __need_wint_t.
23340         * test-skeleton.c: Avoid `for' loop initial declaration.
23341         * nptl/tst-initializers1.c: Use test-skeleton.c.
23343 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23345         [BZ #18418]
23346         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
23348 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
23350         [BZ #16352]
23351         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
23352         (__ieee754_atanh): Force underflow exception for results with
23353         small absolute value.
23354         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
23355         (__ieee754_atanhf): Force underflow exception for results with
23356         small absolute value.
23357         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
23358         (__ieee754_atanh): Force underflow exception for results with
23359         small absolute value.
23360         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
23361         (__ieee754_atanhf): Force underflow exception for results with
23362         small absolute value.
23363         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
23364         (__ieee754_atanhl): Force underflow exception for results with
23365         small absolute value.
23366         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
23367         (__ieee754_atanhl): Force underflow exception for results with
23368         small absolute value.
23369         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
23370         (__ieee754_atanhl): Force underflow exception for results with
23371         small absolute value.
23372         * math/auto-libm-test-in: Do not allow missing underflow
23373         exceptions from atanh.
23374         * math/auto-libm-test-out: Regenerated.
23376         [BZ #18221]
23377         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
23378         2**-28 as threshold for returning x or +/- 1/x.
23379         * math/auto-libm-test-in: Add more tests of tan.
23380         * math/auto-libm-test-out: Regenerated.
23382         [BZ #18220]
23383         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23384         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
23385         * math/auto-libm-test-in: Add another test of lgamma.
23386         * math/auto-libm-test-out: Regenerated.
23388 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
23390         * stdio-common/printf_fp.c (___printf_fp): Use abs.
23391         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
23392         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
23393         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
23394         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
23395         (ADD2A): Use fabs.  (SUB2A): Use fabs.
23396         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
23397         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
23398         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
23399         (log1): Use fabs.  (my_log2): Use fabs.
23400         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
23401         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
23402         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
23403         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
23404         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
23405         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
23406         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
23407         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
23408         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
23409         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
23410         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
23412 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
23414         [BZ #18217]
23415         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
23416         as threshold for returning 1 - x.
23417         * math/auto-libm-test-in: Add more tests of erfc.
23418         * math/auto-libm-test-out: Regenerated.
23420 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
23422         [BZ #18196]
23423         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
23424         threshold for large arguments.
23425         * math/auto-libm-test-in: Add another test of atan.
23426         * math/auto-libm-test-out: Regenerated.
23428         [BZ #16339]
23429         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
23430         (__log1p): Force underflow exception for results with small
23431         absolute value.
23432         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
23433         (__log1pf): Force underflow exception for results with small
23434         absolute value.
23435         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
23436         (__log1p): Force underflow exception for results with small
23437         absolute value.
23438         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
23439         (__log1pf): Force underflow exception for results with small
23440         absolute value.
23441         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
23442         (__log1pl): Force underflow exception for results with small
23443         absolute value.
23444         * math/auto-libm-test-in: Do not allow missing underflow
23445         exceptions from log1p.
23446         * math/auto-libm-test-out: Regenerated.
23448 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
23449             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23451         [BZ #16704]
23452         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
23454 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
23456         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
23457         (libmvec): New variable.
23458         * configure.ac: Added option for mathvec build.
23459         * configure: Regenerated.
23460         * mathvec/Depend: New file.
23461         * mathvec/Makefile: New file.
23462         * shlib-versions: Added libmvec.
23463         * math/Makefile: Added rule for libm.so installation.
23465         * bits/math-vector.h: New file.
23466         * bits/libm-simd-decl-stubs.h: New header.
23467         * math/Makefile (headers): Added new header
23468         libm-simd-decl-stubs.h.
23469         * math/math.h (__MATHCALL_VEC): New macro.
23471         * math/gen-libm-have-vector-test.sh: Script generates series of macros
23472         for conditions in testing functions.
23473         * math/Makefile: Added call of libm-have-vector-test.sh.
23474         * math/libm-test.inc (HAVE_VECTOR): New macros.
23476         * math/libm-test.inc: START refactored.
23477         * math/test-double.c (TEST_MATHVEC): Add define.
23478         * math/test-float.c: Likewise.
23479         * math/test-idouble.c: Likewise.
23480         * math/test-ifloat.c: Likewise.
23481         * math/test-ildoubl.c: Likewise.
23482         * math/test-ldouble.c: Likewise.
23483         * sysdeps/generic/math-tests-arch.h
23484         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
23485         architecture check.
23487         * math/test-double.c (FUNC_TEST): New macro.
23488         * math/test-float.c: Likewise.
23489         * math/test-idouble.c: Likewise.
23490         * math/test-ifloat.c: Likewise.
23491         * math/test-ildoubl.c: Likewise.
23492         * math/test-ldouble.c: Likewise.
23493         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
23495 2015-05-13  Roland McGrath  <roland@hack.frob.com>
23497         * sysdeps/nacl/fdopendir.c: New file.
23499         * dirent/scandir-tail.c: New file.
23500         * dirent/scandir64-tail.c: New file.
23501         * dirent/Makefile (routines): Add them.
23502         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
23503         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
23504         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
23505         [!SCANDIR] (SCANDIR_TAIL): New macro.
23506         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
23507         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
23508         (SCANDIRAT): Macro removed.
23509         (SCANDIR_TAIL): New macro.
23510         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
23511         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
23512         (SCANDIRAT): Just call __opendirat and __scandir_tail.
23513         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
23514         (READDIR): Macro removed.
23515         (SCANDIR_TAIL): New macro.
23516         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
23517         (SCANDIR_TAIL): New macro.
23519         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
23520         * dirent/scandir-cancel.c: ... to this new file.
23521         * dirent/Makefile (routines): Add it.
23522         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
23523         * sysdeps/unix/sysv/linux/i386/scandir64.c
23524         (SKIP_SCANDIR_CANCEL): Macro removed.
23525         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
23527         * dirent/tst-scandir.c: New file.
23528         * dirent/tst-scandir64.c: New file.
23529         * dirent/Makefile (tests): Add them.
23531 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
23533         [BZ #18409]
23534         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
23536 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23538         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
23539         list.
23541 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
23543         * benchtests/bench-strcoll.c: New benchmark.
23544         * benchtests/Makefile: Generate locales and run benchmark.
23545         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
23546         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
23547         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
23548         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
23549         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
23550         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
23551         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
23552         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
23553         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
23554         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
23555         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
23556         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
23557         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
23558         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
23559         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
23560         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
23561         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
23562         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
23563         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
23564         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
23565         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
23566         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
23567         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
23568         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
23570 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
23572         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
23573         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23575 2015-05-12  Roland McGrath  <roland@hack.frob.com>
23577         * posix/uname-values.h: New file.
23578         * posix/uname.c: Include that instead of <config-name.h>.
23579         * sysdeps/nacl/uname-values.h: New file.
23580         * sysdeps/arm/nacl/uname-values.h: New file.
23582 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
23584         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
23585         splitting into fields.
23587 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
23589         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
23590         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
23591         * locale/localeinfo.h: Add enum collation_encoding_type.
23592         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
23593         * programs/ld-collate.c (collate_output): Add encoding type info.
23594         * string/strcoll_l.c (STRDIFF): New function.
23595         * (STRCOLL): Use STRDIFF to skip over equal prefix.
23596         * wcsmbs/wcscoll_l.c: Define STRDIFF.
23598 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
23600         [BZ #18397]
23601         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
23602         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
23603         <fpu_control.h> instead of <math/fpu_control.c>.
23604         * sysdeps/mips/mips32/fpu/Makefile: New file.
23606 2015-05-11  Andreas Schwab  <schwab@suse.de>
23608         [BZ #18007]
23609         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
23610         nss_endgrent.
23611         (_nss_compat_endgrent): Call nss_endgrent.
23612         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
23613         nss_endpwent.
23614         (_nss_compat_endpwent): Call nss_endpwent.
23615         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
23616         needent, call nss_setspent only if non-zero.
23617         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
23618         (internal_endspent): Don't call nss_endspent.
23619         (_nss_compat_endspent): Call nss_endspent.
23620         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
23621         Remove.  All uses removed.
23622         (internal_setent): Remove parameter stayopen, add parameter
23623         stream.  Use it instead of global variable.
23624         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
23625         (internal_endent, internal_getent): Add parameter stream.  Use it
23626         instead of global variable.
23627         (CONCAT(_nss_files_end,ENTNAME))
23628         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
23629         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
23630         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
23631         uses removed.
23632         (internal_setent, internal_endent): Add parameter stream.  Use it
23633         instead of global variable.
23634         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
23635         stream.
23636         (get_next_alias): Add parameter stream.
23637         (_nss_files_getaliasent_r): Pass global stream.
23638         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
23639         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
23640         (_nss_files_gethostbyname4_r): Pass local stream to
23641         internal_setent, internal_getent and internal_endent.  Remove
23642         locking.
23644 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23646         * tst-strfmon1.c (tests): Update expected currency symbol.
23648 2015-05-08  Roland McGrath  <roland@hack.frob.com>
23650         * sysdeps/nacl/gethostname.c: New file.
23652 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
23654         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
23655         and sinh.
23656         * math/auto-libm-test-out: Regenerated.
23657         * sysdeps/i386/fpu/libm-test-ulps: Update.
23658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23660 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
23662         [BZ #18125]
23663         * stdlib/tst-setcontext3.c: New file.
23664         * stdlib/tst-setcontext3.sh: New file.
23665         * stdlib/Makefile (tests): Add tst-setcontext3.
23666         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
23667         to verify test program created output file.
23668         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
23669         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
23670         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
23671         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
23673 2015-05-06  Roland McGrath  <roland@hack.frob.com>
23675         [BZ #18383]
23676         * elf/tst-tlsalign.c: New file.
23677         * elf/tst-tlsalign-static.c: New file.
23678         * elf/tst-tlsalign-lib.c: New file.
23679         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
23680         (tests-static): Add tst-tlsalign-static.
23681         (modules-names): Add tst-tlsalign-lib.
23682         (test-xfail-tst-tlsalign): New variable.
23683         (test-xfail-tst-tlsalign-static): New variable.
23685         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
23686         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
23688 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
23690         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
23691         csqrt, erfc, sin and sincos.
23692         * math/auto-libm-test-out: Regenerated.
23693         * sysdeps/i386/fpu/libm-test-ulps: Update.
23694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23696 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23698         * sysdeps/aarch64/libm-test-ulps: Update.
23700 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
23702         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
23703         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
23704         * math/auto-libm-test-out: Regenerated.
23705         * sysdeps/i386/fpu/libm-test-ulps: Update.
23706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23708 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
23710         [BZ #18265]
23711         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
23712         (wcsncpy): Likewise.
23714 2015-05-05  Florian Weimer  <fweimer@redhat.com>
23716         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23717         Assume __ASSUME_FALLOCATE is always true.
23718         * sysdeps/unix/sysv/linux/posix_fallocate64.c
23719         (__posix_fallocate64_l64): Likweise.
23720         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
23721         (posix_fallocate): Likewise.
23722         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
23723         (__posix_fallocate64_l64): Likewise.
23724         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23725         [!__ASSUME_FALLOCATE]: Add comment.
23727 2015-05-05  Florian Weimer  <fweimer@redhat.com>
23729         * sysdeps/unix/sysv/linux/i386/Makefile
23730         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
23731         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
23732         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
23733         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23734         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23735         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
23736         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
23738 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
23740         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
23741         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
23742         tgamma.
23743         * math/auto-libm-test-out: Regenerated.
23744         * sysdeps/i386/fpu/libm-test-ulps: Update.
23745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23747 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
23749         * math/auto-libm-test-in: Add more tests of 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         * math/auto-libm-test-in: Add more tests of tanh.
23755         * math/auto-libm-test-out: Regenerated.
23756         * sysdeps/i386/fpu/libm-test-ulps: Update.
23757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23759         * math/auto-libm-test-in: Add more tests of tan.
23760         * math/auto-libm-test-out: Regenerated.
23761         * sysdeps/i386/fpu/libm-test-ulps: Update.
23762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23764         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
23765         * math/auto-libm-test-out: Regenerated.
23766         * sysdeps/i386/fpu/libm-test-ulps: Update.
23767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23769         * math/auto-libm-test-in: Add another test of pow.
23770         * math/auto-libm-test-out: Regenerated.
23771         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23773         * math/auto-libm-test-in: Add more tests of lgamma.
23774         * math/auto-libm-test-out: Regenerated.
23775         * sysdeps/i386/fpu/libm-test-ulps: Update.
23776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23778         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
23779         log1p.
23780         * math/auto-libm-test-out: Regenerated.
23781         * sysdeps/i386/fpu/libm-test-ulps: Update.
23782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23784 2015-05-01  Mark Wielaard  <mjw@redhat.com>
23786         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
23787         Elf64_Chdr structs and ELFCOMPRESS constants.
23789 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
23791         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
23792         expm1.
23793         * math/auto-libm-test-out: Regenerated.
23794         * sysdeps/i386/fpu/libm-test-ulps: Update.
23795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23797         * math/auto-libm-test-in: Add more tests of erf and erfc.
23798         * math/auto-libm-test-out: Regenerated.
23799         * sysdeps/i386/fpu/libm-test-ulps: Update.
23800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23802 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23804         * config.h.in (HAVE_AARCH64_BE): Add.
23806 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
23808         * math/auto-libm-test-in: Add more tests of csqrt.
23809         * math/auto-libm-test-out: Regenerated.
23810         * sysdeps/i386/fpu/libm-test-ulps: Update.
23811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23813         * math/auto-libm-test-in: Add more tests of cosh and sinh.
23814         * math/auto-libm-test-out: Regenerated.
23815         * sysdeps/i386/fpu/libm-test-ulps: Update.
23816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23818         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
23820 2015-04-29  Roland McGrath  <roland@hack.frob.com>
23822         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
23823         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
23825         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
23826         (euidaccess, eaccess): Define as weak aliases.
23828         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
23829         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
23830         but __suseconds_t is often 'long int' so some sources assume that
23831         type is being used (e.g. they use %ld to print tv_usec).
23833 2015-04-29  Florian Weimer  <fweimer@redhat.com>
23835         [BZ #18007]
23836         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
23837         (CVE-2014-8121)
23838         * nss/tst-nss-getpwent.c: New file.
23839         * nss/Makefile (tests): Add new test.
23841 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
23843         [BZ #18346]
23844         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
23845         exponents less than 48 as cases where high part of mantissa needs
23846         examining to determine whether argument is integral.
23847         * math/libm-test.inc (round_test_data): Add more tests.
23849 2015-04-28  Mark Wielaard  <mjw@redhat.com>
23851         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
23853 2015-04-27  David S. Miller  <davem@davemloft.net>
23855         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
23856         __tls_get_addr.
23857         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
23859 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
23861         [BZ#18333]
23862         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
23864 2015-04-27  Florian Weimer  <fweimer@redhat.com>
23866         [BZ#18333]
23867         * time/tzset.c (parse_tzname): Return error on memory allocation
23868         failure.
23869         * test-skeleton.c (struct temp_name_list): Change type of name
23870         member to non-const.
23871         (add_temp_file): Create a copy of the file name.
23872         (delete_temp_files): Deallocate memory.
23873         (create_temp_file): Add comment.
23875 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23877         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
23878         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
23880 2015-04-24  Roland McGrath  <roland@hack.frob.com>
23882         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
23883         * sysdeps/arm/configure: Regenerated.
23885 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23887         [BZ #17715]
23888         * time/tzfile.c (__tzfile_read): Check for large values of
23889         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
23890         * time/tzset.c (__tzstring_len): New function, based on the old
23891         __tzstring function.
23892         (__tzstring): Call __tzstring_len.
23893         (parse_tzname): New helper function extracted from
23894         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
23895         the input string.
23896         (parse_offset): New helper function extracted from
23897         __tzset_parse_tz.  Replace switch with fallthrough with
23898         initialization before sscanf.
23899         (parse_rule): Likewise.
23900         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
23901         new-style function definition.
23902         * timezone/Makefile (tests): Add tst-tzset.
23903         (tst-tzset.out): Dependencies on time zone files.
23904         (tst-tzset-ENV): Set TZDIR.
23905         (testdata/XT%): Copy crafted time zone files.
23906         * timezone/README: Mention crafted time zone files.
23907         * timezone/testdata/XT1, timezone/testdata/XT2,
23908         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
23909         files.
23910         * timezone/tst-tzset.c: New test.
23912 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23914         * Makeconfig (+gccwarn): Remove -Winline.
23916 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23918         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
23920 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23922         * NEWS: Mention sysconf() cache information support for s390.
23923         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
23925 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
23927         * math/k_casinh.c (__kernel_casinh): Use __copysign.
23928         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
23929         (__nearbyint): Likewise.
23930         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
23931         (copysignl): Likewise.
23933 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
23935         [BZ #18287]
23936         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
23937         based on padding.  (CVE-2015-1781)
23939 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23941         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
23942         libc-vdso.h.
23943         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
23944         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
23945         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
23946         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
23947         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
23948         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
23949         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
23950         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23951         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23952         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
23953         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23954         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23955         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
23956         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
23957         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
23958         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
23959         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
23960         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
23961         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
23962         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
23963         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
23964         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
23965         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
23967 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
23969         * stdlib/setenv.c (__add_to_environ):
23970         Dump core quickly if setenv (..., NULL, ...) is called.
23971         This time, do it the right way, and pacify GCC with a pragma.
23973 2015-04-17  Roland McGrath  <roland@hack.frob.com>
23975         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
23976         IMAP->l_prev cannot be null, and #if out the code for the contrary
23977         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
23978         believe that NS (&_dl_ns[NSID]) could point outside the array.
23980         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
23981         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
23982         before using NSID as an index.
23984 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
23986         [BZ #17825]
23987         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
23988         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
23989         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23991 2015-04-17  Roland McGrath  <roland@hack.frob.com>
23993         Add preliminary port to Google Native Client on ARM.
23994         * abi-tags (.*-.*-nacl.*): New entry.
23995         * sysdeps/arm/nacl: New directory.
23996         * sysdeps/nacl: New directory.
23998 2015-04-16  David S. Miller  <davem@davemloft.net>
24000         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
24001         lowlevellock-futex.h
24003 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
24005         * sysdeps/tile/configure.ac: New file.
24006         * sysdeps/tile/configure: Regenerated.
24008 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24010         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
24011         conditionals for weak_alias and libc_hidden_weak.
24012         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
24013         libc_hidden_weak and weak_alias.
24014         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
24015         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
24016         and weak_alias for static one.
24018 2015-04-15  David S. Miller  <davem@davemloft.net>
24020         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24022 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24024         [BZ #18206]
24025         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
24026           Use signed comparision instead of substraction to avoid
24027           overflow bug.
24028         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
24029           Take the sign of ret.
24030         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
24031           Do not expect precise return values. Only the sign matters.
24032         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
24033         * wcsmbs/test-wcsncmp.c: New File.
24034         * string/test-strncmp.c: Add wcsncmp support.
24036 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24038         [BZ #6792]
24039         * math/w_log1p.c: New file.
24040         * math/w_log1pf.c: Likewise.
24041         * math/w_log1pl.c: Likewise.
24042         * math/Makefile (libm-calls): Add w_log1p.
24043         * math/s_log1pl.c (log1pl): Remove weak_alias.
24044         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
24045         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
24046         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
24047         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
24048         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
24049         [NO_LONG_DOUBLE] (log1pl): Likewise.
24050         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
24051         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
24052         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
24053         (log1p): Remove long_double_symbol.
24054         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
24055         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
24056         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
24057         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
24058         remove weak_alias for corresponding log1p function.
24059         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
24060         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
24061         * sysdeps/ia64/fpu/w_log1p.c: New file.
24062         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
24063         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
24064         * math/libm-test.inc (log1p_test_data): Add errno expectations.
24066 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
24068         [BZ #18247]
24069         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
24070         decimal exponent by 1.
24071         * stdlib/tst-strtod-round-data: Add more tests.
24072         * stdlib/tst-strtod-round.c (tests): Regenerated.
24074 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
24076         * math/auto-libm-test-in: Add more tests of clog and clog10.
24077         * math/auto-libm-test-out: Regenerated.
24078         * sysdeps/i386/fpu/libm-test-ulps: Update.
24079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24081 2015-04-09  Roland McGrath  <roland@hack.frob.com>
24083         * Makeconfig (module-cppflags): Exclude all .v.i files.
24084         (skip-module-cppflags): Variable removed.
24086         * configure.ac (libc_config_ok): Initialize before reading
24087         preconfigure scripts, not after.
24088         * configure: Regenerated.
24090         * test-skeleton.c (TIMEOUT): Move #define to top level.
24091         (main): Grok environment variable TEST_DIRECT.  If set, print
24092         test expectation details into that file and then behave as if
24093         given --direct.
24095 2015-04-09  Florian Weimer  <fweimer@redhat.com>
24097         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
24098         warning on 32-bit.
24100 2015-04-08  David S. Miller  <davem@davemloft.net>
24102         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24104 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
24106         * math/auto-libm-test-in: Add more tests of atanh.
24107         * math/auto-libm-test-out: Regenerated.
24108         * sysdeps/i386/fpu/libm-test-ulps: Update.
24109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24111         * math/auto-libm-test-in: Add more tests of atan.
24112         * math/auto-libm-test-out: Regenerated.
24113         * sysdeps/i386/fpu/libm-test-ulps: Update.
24114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24116 2015-04-08  Florian Weimer  <fweimer@redhat.com>
24118         * elf/pldd.c (main): Rewrite to use struct
24119         scratch_buffer instead of extend_alloca.
24120         * elf/pldd-xx.c (find_maps): Likewise.
24121         * grp/initgroups.c: Include <scratch_buffer.h> instead of
24122         <alloca.h>.
24123         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
24124         scratch_buffer instead of extend_alloca.
24125         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
24126         grp/compat-initgroups.c.
24127         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
24128         Rewrite to use struct scratch_buffer instead of extend_alloca.
24129         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
24130         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24132 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
24134         * math/auto-libm-test-in: Add more tests of cbrt.
24135         * math/auto-libm-test-out: Regenerated.
24136         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24138         * math/auto-libm-test-in: Add more tests of cabs.
24139         * math/auto-libm-test-out: Regenerated.
24140         * sysdeps/i386/fpu/libm-test-ulps: Update.
24141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24143         [BZ #18210]
24144         [BZ #18211]
24145         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
24146         (__ieee754_atan2): Set FE_TONEAREST mode for internal
24147         computations.
24148         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
24149         clog10.
24150         * math/auto-libm-test-out: Regenerated.
24151         * sysdeps/i386/fpu/libm-test-ulps: Update.
24152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24154         [BZ #18197]
24155         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
24156         (atan): Set FE_TONEAREST mode for internal computations.
24157         * math/auto-libm-test-in: Add more tests of atan.
24158         * math/auto-libm-test-out: Regenerated.
24160 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
24162         [BZ #17930]
24163         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
24165 2015-04-07  Florian Weimer  <fweimer@redhat.com>
24167         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
24169 2015-04-07  Florian Weimer  <fweimer@redhat.com>
24171         * include/scratch_buffer.h: New file.
24172         * malloc/scratch_buffer_grow.c: Likewise.
24173         * malloc/scratch_buffer_grow_preserve.c: Likewise.
24174         * malloc/scratch_buffer_set_array_size.c: Likewise.
24175         * malloc/tst-scratch_buffer.c: Likewise.
24176         * malloc/Makefile (routines): Add scratch_buffer_grow.
24177         (tests): Add test case.
24178         * malloc/Versions (GLIBC_PRIVATE): Export
24179         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
24180         __libc_scratch_buffer_set_array_size.
24182 2015-04-06  Richard Henderson  <rth@redhat.com>
24184         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
24185         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24187         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
24188         unsigned int before printing.
24190 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24192         [BZ #17596]
24193         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
24194         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
24196 2015-04-02  Florian Weimer  <fweimer@redhat.com>
24198         * include/libc-internal.h (libc_max_align_t): Define.
24200 2015-04-02  Andreas Schwab  <schwab@suse.de>
24202         [BZ #16850]
24203         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
24205 2015-04-02  Mel Gorman  <mgorman@suse.de>
24207         [BZ #17195]
24208         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
24209         as well as the main arena.
24211 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
24213         [BZ #18185]
24214         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
24215         sharing L2 cache to 2 for Silvermont/Knights Landing.
24217 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
24219         [BZ #17711]
24220         * config.make.in (have-protected-data): New.
24221         * configure.ac: Check linker support for protected data symbol.
24222         * configure: Regenerated.
24223         * elf/Makefile (modules-names): Add tst-protected1moda and
24224         tst-protected1modb if $(have-protected-data) is yes.
24225         (tests): Add tst-protected1a and tst-protected1b if
24226         $(have-protected-data) is yes.
24227         ($(objpfx)tst-protected1a): New.
24228         ($(objpfx)tst-protected1b): Likewise.
24229         (tst-protected1modb.so-no-z-defs): Likewise.
24230         * elf/tst-protected1a.c: New file.
24231         * elf/tst-protected1b.c: Likewise.
24232         * elf/tst-protected1mod.h: Likewise.
24233         * elf/tst-protected1moda.c: Likewise.
24234         * elf/tst-protected1modb.c: Likewise.
24236 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
24238         [BZ #17711]
24239         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
24240         indicates it is called from do_lookup_x on relocation against
24241         protected data, skip the data definion in the executable from
24242         copy reloc.
24243         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
24244         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
24245         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
24246         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
24247         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
24248         otherwise to 0.
24249         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
24250         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
24251         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
24252         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
24253         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
24254         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
24256 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
24258         * sysdeps/nptl/pthread.h: Remove duplicate definition of
24259         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
24261 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
24263         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
24264         THREAD_SETMEM_NC.
24265         * sysdeps/x86_64/nptl/tls.h: Ditto.
24267 2015-03-27  Roland McGrath  <roland@hack.frob.com>
24269         * dlfcn/tststatic.c (main): Converted to ...
24270         (do_test): ... this.
24271         (TEST_FUNCTION): New macro.
24272         Include test-skeleton.c.
24274 2015-03-26  Alan Modra  <amodra@gmail.com>
24276         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
24277         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
24278         zero for undefined weak.
24279         (elf_machine_plt_conflict): Similarly.
24281 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
24283         * math/auto-libm-test-in: Add more tests of acosh, asinh and
24284         atanh.
24285         * math/auto-libm-test-out: Regenerated.
24286         * sysdeps/i386/fpu/libm-test-ulps: Update.
24287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24289         * math/auto-libm-test-in: Add another test of asin.
24290         * math/auto-libm-test-out: Regenerated.
24291         * sysdeps/i386/fpu/libm-test-ulps: Update.
24292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24294         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
24295         Remove macro.
24296         (LLL_EBX_REG): Likewise.
24297         (LLL_ENTER_KERNEL): Likewise.
24299         * math/auto-libm-test-in: Add more tests of asin.
24300         * math/auto-libm-test-out: Regenerated.
24301         * sysdeps/i386/fpu/libm-test-ulps: Update.
24302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24304         [BZ #18138]
24305         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
24306         libc_do_syscall_args): New structure.
24307         (INTERNAL_SYSCALL_MAIN_0): New macro.
24308         (INTERNAL_SYSCALL_MAIN_1): Likewise.
24309         (INTERNAL_SYSCALL_MAIN_2): Likewise.
24310         (INTERNAL_SYSCALL_MAIN_3): Likewise.
24311         (INTERNAL_SYSCALL_MAIN_4): Likewise.
24312         (INTERNAL_SYSCALL_MAIN_5): Likewise.
24313         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
24314         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
24315         Replace conditional definitions by conditional definitions of ....
24316         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
24317         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
24318         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
24319         (libpthread-sysdep_routines): Add libc-do-syscall.
24320         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
24321         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
24322         to __NR_futex not 240.
24324 2015-03-25  Alan Modra  <amodra@gmail.com>
24326         * NEWS: Advertise TLS optimization.
24327         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
24328         (DT_PPC_NUM): Increment.
24329         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
24330         (CHECK_STATIC_TLS): Use here.
24331         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
24332         TLS descriptors.
24333         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24334         * sysdeps/powerpc/dl-tls.c: New file.
24335         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
24336         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
24337         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
24338         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
24339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
24340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
24341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
24343 2015-03-25  Alan Modra  <amodra@gmail.com>
24345         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
24346         for overlapping .opd entries" to "support...".
24347         * sysdeps/powerpc/powerpc64/configure: Regenerate
24349 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
24351         * math/auto-libm-test-in: Add more tests of acos.
24352         * math/auto-libm-test-out: Regenerated.
24353         * sysdeps/i386/fpu/libm-test-ulps: Update.
24354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24356         * math/auto-libm-test-in: Add more tests of expm1.
24357         * math/auto-libm-test-out: Regenerated.
24358         * sysdeps/i386/fpu/libm-test-ulps: Update.
24359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24361 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
24363         * math/auto-libm-test-in: Add more tests of cosh and sinh.
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         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24371         * math/auto-libm-test-in: Add more tests of log2.
24372         * math/auto-libm-test-out: Regenerated.
24373         * sysdeps/i386/fpu/libm-test-ulps: Update.
24374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24376 2015-03-23  Roland McGrath  <roland@hack.frob.com>
24378         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
24379         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
24380         _IO_IS_APPENDING bit in READ_WRITE instead.
24382 2015-03-23  Florian Weimer  <fweimer@redhat.com>
24384         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
24385         (__determine_cpumask_size): Replace extend_alloca with a
24386         variable-length array.  Do not treat res == 0 as an error.
24388 2015-03-23  Florian Weimer  <fweimer@redhat.com>
24390         [BZ #18100]
24391         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
24392         and integer overflow.
24393         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
24394         (main): Add integer overflow tests.
24395         * manual/pattern.texi (Calling Wordexp): Document additional use
24396         for WRDE_SYNTAX.
24398 2015-03-23  Alan Modra  <amodra@gmail.com>
24400         * config.h.in: Remove HAVE_ASM_PPC_REL16.
24401         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
24402         and false branch of conditional.
24403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24404         Likewise.
24406 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
24408         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
24409         libc-modules.h
24410         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
24411         unused declaration of _hurd_intr_rpc_msg_in_trap.
24412         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
24413         defined instead of whether it is non-zero.
24414         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
24415         input constraint instead of both input and output constraint.  Use ecx
24416         clobber instead of %ecx.
24417         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
24418         mutex_unlock): Use a statement expression instead of an expression list.
24419         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
24420         type to vm_size_t instead of vm_address_t.
24421         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
24422         defined instead of whether it is non-zero.
24423         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
24424         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
24425         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
24426         comparisons with mapaddr.
24427         * nscd/nscd-client.h: Include <time.h>.
24428         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
24429         9th parameter to __vm_region instead of int.
24430         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
24431         * scripts/check-local-headers.sh (exclude): Add device/,
24432         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
24433         cthreads.h.
24435 2015-03-19  Roland McGrath  <roland@hack.frob.com>
24437         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
24438         to account for alignment padding.
24439         * sysdeps/arm/memmove.S: Likewise.
24441 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
24443         * sysdeps/unix/sysv/linux/generic/README: New file.
24445 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
24447         [BZ #18138]
24448         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
24449         (futex_abstimed_wait)
24450         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
24451         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
24452         of lll_futex_timed_wait.
24454 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
24456         [BZ #17542]
24457         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
24459 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
24461         [BZ #17090]
24462         [BZ #17620]
24463         [BZ #17621]
24464         [BZ #17628]
24465         * NEWS: Update.
24466         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
24467         entries with Static TLS too.  Skip entries past the end of the
24468         allocated DTV, from Alan Modra.
24469         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
24470         Static TLS DTV entry set up from...
24471         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
24472         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
24473         * nptl/allocatestack.c (init_one_static_tls): ... and here...
24474         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
24475         for Static TLS.
24476         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
24477         that the slot we find is associated with the given map before
24478         using its generation count.
24479         * nptl_db/db_info.c: Include ldsodefs.h.
24480         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
24481         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
24482         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
24483         (link_map::l_tls_offset): New struct field.
24484         (dtv_t::counter): Likewise.
24485         (rtld_global): New struct.
24486         (_rtld_global): New rtld variable.
24487         (dl_tls_dtv_slotinfo_list): New rtld global field.
24488         (dtv_slotinfo_list): New struct.
24489         (dtv_slotinfo): Likewise.
24490         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
24491         (td_lookup): Rename to...
24492         (td_mod_lookup): ... this.  Use new mod parameter instead of
24493         LIBPTHREAD_SO.
24494         * nptl_db/td_thr_tlsbase.c: Include link.h.
24495         (dtv_slotinfo_list, dtv_slotinfo): New functions.
24496         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
24497         addresses even if the DTV is out of date or missing them.
24498         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
24499         index zero-length arrays.
24500         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
24501         (td_lookup): Make it a macro implemented in terms of...
24502         (td_mod_lookup): ... this declaration.
24503         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
24504         (DB_MAIN_VARIABLE): Likewise.
24506 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
24508         [BZ #18134]
24509         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
24511 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
24513         * stdlib/setenv.c (__add_to_environ): Revert previous change.
24515 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
24517         [BZ #18128]
24518         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
24519         (atomic_add, atomic_increment_and_test)
24520         (atomic_decrement_and_test): Fix 64-bit arithmetic.
24522 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
24524         * stdlib/setenv.c (__add_to_environ):
24525         Dump core quickly if setenv (..., NULL, ...) is called.
24527 2015-03-13  Roland McGrath  <roland@hack.frob.com>
24529         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
24530         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
24531         all the necessary asm magic in one place.
24532         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
24533         using those.
24535 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
24537         [BZ #14906]
24538         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
24539         traced file mtime. Use consistent log message.
24540         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
24541         (register_traced_file): Call install_watches. Always set mtime.
24542         (invalidate_cache): Iterate over all trace files. Call install_watches.
24543         (inotify_check_files): Don't inline. Handle watching parent
24544         directories and configuration file movement in and out.
24545         (handle_inotify_events): New function.
24546         (main_loop_poll): Call handle_inotify_events.
24547         (main_loop_epoll): Likewise.
24548         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
24549         (struct traced_file): Use array of inotify fds. Add parent directory,
24550         and basename.
24551         (struct database_dyn): Remove unused file_mtime.
24552         (init_traced_file): New inline function.
24553         (define_traced_file): New macro.
24554         * nss/nss_db/db-init.c: Use define_traced_file.
24555         (_nss_db_init): Use init_traced_file.
24556         * nss/nss_files/files-init.c: Use define_traced_file.
24557         (_nss_files_init): Use init_traced_file.
24559 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
24561         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
24562         [_LIBC]: Do not include <stdlib.h>.
24563         [!_LIBC] (abort): Remove declaration.
24564         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
24565         _FP_STATIC_ASSERT instead of conditionally calling abort.
24566         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
24567         (_FP_EXTEND_CNAN): Likewise.
24568         (FP_TRUNC): Likewise.
24569         (__FP_CLZ): Likewise.
24570         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
24572 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
24574         * manual/string.texi (XPG basename): Fix prototype.
24576 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24578         [BZ #18080]
24579         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
24580         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
24581         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
24582         (__setcontext): Likewise.
24583         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
24584         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
24585         Call rt_sigprocmask syscall one time to set new signal mask
24586         and retrieve the current signal mask instead of two calls.
24587         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
24588         (__swapcontext): Likewise.
24589         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
24590         * stdlib/tst-setcontext2.c: New file.
24592 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24594         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24596 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
24598         [BZ #18093]
24599         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
24600         the wrong size.
24602 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
24604         [BZ #18043]
24605         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
24607 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24609         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
24610         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
24611         Remove define.
24612         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
24613         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
24614         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
24615         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
24616         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
24617         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
24618         define.
24619         * nptl_db/td_symbol_list.c (td_lookup): Remove
24620         HAVE_ASM_GLOBAL_DOT_NAME code.
24621         * sysdeps/powerpc/powerpc64/configure.ac: Remove
24622         HAVE_ASM_GLOBAL_DOT_NAME check.
24623         * sysdeps/powerpc/powerpc64/configure: Regenerate.
24624         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
24625         (DOT_LABEL): Remove define.
24626         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
24627         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
24628         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
24629         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
24630         (__TLS_GET_ADDR): Likewise.
24631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
24632         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
24634 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
24636         [BZ #18111]
24637         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
24638         (_FPU_SETCW): Initialize cw from fpsr before storing.
24639         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
24640         (fesetexceptflag): Rewrite using fpu_control.h.
24641         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
24643 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
24645         [BZ #18110]
24646         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
24647         asms.
24648         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24650 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
24652         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
24653         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
24654         abort.
24655         (_FP_FMA): Likewise.
24656         (_FP_DIV): Likewise.
24658 2015-03-10  Roland McGrath  <roland@hack.frob.com>
24660         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
24661         with 0 in that case.
24662         * Makefile (summarize-tests): New canned sequence, factored out of
24663         commands for targets tests and xtests.  Display summary lines that
24664         don't start with PASS: or XFAIL: rather than ones that do start with
24665         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
24666         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
24667         do start with ERROR: or FAIL:.
24668         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
24669         (except for [$(build-shared) = yes]).
24670         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
24671         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
24672         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
24673         * nptl/Makefile: Revert 2015-03-04 changes.
24674         [$(CXX) empty] (tests-unsupported): New variable.
24675         * debug/Makefile: Likewise.
24677         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
24678         gnulib file.  Replace __attribute with __attribute__ throughout.
24680 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
24682         * sysdeps/hppa/fpu/libm-test-ulps: Update.
24684 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
24686         [BZ #18104]
24687         * math/auto-libm-test-in: Add another test of pow.
24688         * math/auto-libm-test-out: Regenerated.
24690 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24692         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
24693         $(config-cflags-nofma).
24695 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
24697         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
24698         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
24699         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
24700         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
24701         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
24702         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
24703         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
24704         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
24705         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
24706         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
24707         Add comment on closing #endif.
24709 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24711         * posix/wordexp.c (CHAR_IN_SET): New macro.
24712         (parse_param): Use it.
24714 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24716         * sysdeps/powerpc/fpu/libm-test-ulps: update.
24718 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24720         [BZ #18043]
24721         * posix/wordexp.c (parse_param): Fix buffer overflow.
24722         * posix/wordexp-test.c (test_case): Add test case.
24724 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24726         [BZ #18042]
24727         * posix/wordexp.c (parse_backtick): Fix off-by-one.
24728         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
24730 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24732         [BZ #18043]
24733         * posix/wordexp-test.c (test_case): Add test for BZ #18043
24734         (do_bz18043): Delete.
24735         (at_page_end): New.
24736         (testit): Refactor to have words at the edge of unreadable page.
24738 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24740         [BZ #16734]
24741         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
24742         Cleanup read-only streams as well.
24743         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
24745 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24747         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
24748         <bits/libc-lockP.h>
24750 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
24752         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
24753         on [__KERNEL__].
24754         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
24755         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
24756         * soft-fp/op-common.h (_FP_DECL): Likewise.
24758 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
24760         * elf/ifuncdep2.c (global): Replace
24761         __attribute__((visibility("protected"))) with
24762         asm (".protected global").
24763         * elf/ifuncmod1.c (global): Likewise.
24764         * elf/ifuncmod5.c (global): Likewise.
24766 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
24768         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
24769         <asm/sfp-machine.h> instead of <sfp-machine.h>.
24771 2015-03-06  Roland McGrath  <roland@hack.frob.com>
24773         * manual/install.texi (Configuring and compiling):
24774         Document test-wrapper-env-only.
24775         * INSTALL: Regenerated.
24777 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24779         [BZ #18043]
24780         * posix/wordexp.c (parse_param): Fix buffer overflow.
24781         * posix/wordexp-test.c (do_bz18043): Add test case.
24783 2015-03-06  Vincent Bernat  <vincent@bernat.im>
24785         * time/tst-strptime2.c (do_test): Ensure failing tests are
24786         reported correctly.
24787         * time/tst-strptime3.c (do_test): Likewise.
24789 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
24791         Fix aio_error thread-safety.
24792         * sysdeps/pthread/aio_error.c: New file
24793         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
24794         synchronization.
24796 2015-03-06  Florian Weimer  <fweimer@redhat.com>
24798         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
24799         (group_number, vfprintf): Use it.
24800         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
24801         (JUMP, REF): Use it.
24802         (WORK_BUFFER_SIZE): New enum constant.
24803         (process_arg, vfprintf): Use it.
24805 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
24807         * manual/errno.texi (Error Messages): Complete example function
24808         by adding missing #define.
24809         (program_invocation_name): Add statement indicating GNU
24810         extension and reference which header file declares the variable.
24811         (program_invocation_short_name): Likewise.
24813 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
24815         * manual/errno.texi (Error Messages): Delete strerror ISO C89
24816         compatibility note.
24818 2015-03-05  Roland McGrath  <roland@hack.frob.com>
24820         * Makeconfig (test-wrapper-env-only): New variable.
24821         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
24822         then use that with $(test-wrapper-env-only) rather than using
24823         $(test-wrapper-env) $(run-program-env) $($*-ENV).
24825 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
24827         [BZ #18082]
24828         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
24829         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
24830         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
24831         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
24832         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
24833         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
24834         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
24835         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
24836         Likewise.
24837         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
24838         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
24839         Likewise.
24840         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
24841         Likewise.
24842         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
24843         Likewise.
24844         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
24845         Likewise.
24846         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
24847         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
24848         Likewise.
24849         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
24850         Likewise.
24851         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
24852         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
24854 2015-03-04  Roland McGrath  <roland@hack.frob.com>
24856         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
24857         (ETH_ALEN): New macro.
24858         (struct ether_addr): Use it for length of ether_addr_octet.
24860         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
24861         (setdb): Don't call __nss_configure_lookup for "rpc".
24862         (do_test): Don't call test_rpc.
24863         (output_rpcent, test_rpc): Functions moved ...
24864         * sunrpc/test-rpcent.c: ... to this new file.
24865         * sunrpc/Makefile (tests): Add it.
24867         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
24868         __xpg_sigpause.
24869         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
24870         * nptl/tst-signal6.c: Likewise.
24871         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
24872         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
24874         * configure.ac (libc_cv_cxx_link_ok): New check.
24875         Reset CXX to empty if it fails to link.
24876         * configure: Regenerated.
24877         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
24878         bug-atexit3-lib only if $(CXX) is nonempty.
24879         * nptl/Makefile (tests): Likewise for tst-cancel24.
24880         (tests, tests-static): Likewise for tst-cancel24-static.
24881         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
24882         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
24883         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
24884         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
24886 2015-03-04  Andreas Schwab  <schwab@suse.de>
24888         [BZ #17631]
24889         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
24890         for non-GCC compilers.
24891         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24892         Likewise.
24894 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24896         [BZ #17776]
24897         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
24898         integer before bitwise and assembly operations.
24899         (feclearexcept): Likewise.
24900         * math/test-fenvinline.c: New file.
24901         * math/Makefile: Add test-fenvinline test.
24903 2015-03-03  Alan Modra  <amodra@gmail.com>
24905         [BZ #16512]
24906         * scripts/localplt.awk: Strip off symbol version.
24907         * NEWS: Mention bug fix.
24909 2015-03-02  Roland McGrath  <roland@hack.frob.com>
24911         * sysdeps/pthread/timer_routines.c
24912         (timer_free_list, thread_free_list, thread_active_list): Make static.
24914 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
24916         [BZ #17779]
24917         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24918         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
24919         Undefine.
24920         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24921         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
24922         Likewise.
24923         * sysdeps/unix/sysv/linux/sh/kernel-features.h
24924         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
24925         Likewise.
24927 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
24929         [BZ #18036]
24930         * posix/fnmatch_loop.c (END): Detect invalid pattern.
24931         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
24933 2015-03-02  Andreas Schwab  <schwab@suse.de>
24935         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
24936         variable name.
24938 2015-03-02  Florian Weimer  <fweimer@redhat.com>
24940         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
24941         Return error status.
24943 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
24945         [BZ #15969]
24946         * locale/findlocale.c (_nl_find_locale): Introduce const
24947         version of loc_name and drop unsafe type casts.
24949 2015-02-27  Roland McGrath  <roland@hack.frob.com>
24951         * dlfcn/tststatic2.c (main): Converted to ...
24952         (do_test): ... this.
24953         (TEST_FUNCTION): New macro.
24954         Include test-skeleton.c.
24956 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
24958         [BZ #17711]
24959         * elf/Makefile (tests): Add vismain only if PIE is enabled.
24960         (tests-pie): Add vismain.
24961         (CFLAGS-vismain.c): New.
24962         * elf/vismain.c: Add comments for PIE requirement.
24964 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
24966         [BZ #18046]
24967         [BZ #18047]
24968         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
24969         0x1p-56L as threshold for just returning the argument.
24970         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
24971         0x1p-32L as threshold for just returning the argument.
24972         * math/auto-libm-test-in: Add more tests of atanh.
24973         * math/auto-libm-test-out: Regenerated.
24974         * sysdeps/i386/fpu/libm-test-ulps: Update.
24975         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
24977 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
24979         * string/bcopy.c (bcopy): Call memmove for performance.
24981 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
24983         * string/bzero.c (__bzero): Call memset for performance.
24985 2015-02-27  John David Anglin  <dave.anglin@bell.net>
24987         [BZ #18068]
24988         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
24989         to 00100000.
24991 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
24993         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
24995 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
24997         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
24998         (__kernel_standard): Use CSTR macro when setting exc.name.
24999         * sysdeps/ieee754/Makefile [$(subdir) = math]
25000         (CFLAGS-k_standard.c): Remove variable.
25002         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
25003         setting p and q from "else if" to "else".
25004         (qzero): Likewise.
25005         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
25006         (qone): Likewise.
25007         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
25008         (qzerof): Likewise.
25009         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
25010         (qonef): Likewise.
25011         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
25012         (qzero): Likewise.
25013         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
25014         (qone): Likewise.
25016         [BZ #18038]
25017         [BZ #18039]
25018         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
25019         return pi/2 for arguments below 0x1p-113L.
25020         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
25021         return pi/2 for arguments below 0x1p-106L.
25022         * math/auto-libm-test-in: Add more tests of acos.
25023         * math/auto-libm-test-out: Regenerated.
25025         [BZ #16351]
25026         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
25027         (MO): New macro.
25028         (__ieee754_asin): Force underflow exception for results with small
25029         absolute value.
25030         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
25031         (MO): New macro.
25032         (__ieee754_asinf): Force underflow exception for results with
25033         small absolute value.
25034         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
25035         (__ieee754_asin): Force underflow exception for results with small
25036         absolute value.
25037         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
25038         (__ieee754_asinf): Force underflow exception for results with
25039         small absolute value.
25040         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
25041         (__ieee754_asinl): Force underflow exception for results with
25042         small absolute value.
25043         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
25044         (__ieee754_asinl): Force underflow exception for results with
25045         small absolute value.
25046         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
25047         (__ieee754_asinl): Force underflow exception for results with
25048         small absolute value.
25049         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
25050         Include <math.h>.
25051         * math/auto-libm-test-in: Do not mark underflow exceptions as
25052         possibly missing for bug 16351.
25053         * math/auto-libm-test-out: Regenerated.
25055         [BZ #18030]
25056         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
25057         of power of 2 down when low part has opposite sign.
25058         * math/libm-test.inc (logb_test_data): Add more tests.
25060 2015-02-26  Andreas Schwab  <schwab@suse.de>
25062         [BZ #18032]
25063         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
25064         over collating symbol inside a bracket expression.  Minor cleanup.
25065         * posix/tst-fnmatch3.c (do_test): Add test case.
25067 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
25069         [BZ #18029]
25070         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
25071         Adjust exponent of power of 2 down when low part has opposite
25072         sign.
25073         * math/libm-test.inc (ilogb_test_data): Add more tests.
25075 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
25077         [BZ #15969]
25078         * locale/findlocale.c (_nl_find_locale): Fix constness error in
25079         the previous change.
25081         [BZ #15969]
25082         * locale/findlocale.c (_nl_find_locale): Retry archive search
25083         after alias expansion.
25085 2015-02-25  Roland McGrath  <roland@hack.frob.com>
25087         * iconv/tst-iconv3.c (main): Converted to ...
25088         (do_test): ... this.
25089         (TEST_FUNCTION): New macro.
25090         Include test-skeleton.c.
25092         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
25093         (convert): Make function static.
25094         (test_unalign): Likewise.  Add const to argument pointee types.
25095         (main): Replace with static function do_test.
25096         Print "Succeeded." only if RET is zero.
25097         (TEST_FUNCTION): New macro.
25098         Include test-skeleton.c.
25100         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
25101         returns a null pointer.
25103 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25105         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
25106         to __memcpy_ppc only for static builds.
25108 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
25110         [BZ #18020]
25111         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
25112         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
25113         * math/auto-libm-test-in: Add more tests of asinh.
25114         * math/auto-libm-test-out: Regenerated.
25115         * sysdeps/i386/fpu/libm-test-ulps: Update.
25116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25118 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
25120         [BZ #15850]
25121         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
25122         and ip6_mtuinfo definitions here.
25123         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
25124         in this define too.  Update comment.
25126 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
25128         * elf/sprof.c (load_shobj): Tweak error message to match others.
25130 2015-02-24  Kevin Easton  <kevin@guarana.org>
25132         [BZ #16145] (partial fix)
25133         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
25134         to reduce lock contention.
25136 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
25138         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
25139         (struct timex): Update time comment.
25140         (ADJ_SETOFFSET): Define.
25142 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
25144         [BZ #18019]
25145         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
25146         2**56 not 2**28 as threshold for log (2x) formula.
25147         * math/auto-libm-test-in: Add more tests of acosh.
25148         * math/auto-libm-test-out: Regenerated.
25149         * sysdeps/i386/fpu/libm-test-ulps: Update.
25150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25152 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
25154         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
25155         parenthesis around the buf assignment.
25156         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
25158 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
25160         [BZ #16783]
25161         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
25162         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
25163         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
25164         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
25165         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
25166         * math/libm-test.inc (scalb_test_data): Add more tests.
25168 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
25170         [BZ #17916]
25171         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
25172         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
25174 2015-02-24  Eric Rannaud  <e@nanocritical.com>
25176         [BZ #17523]
25177         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
25178         * io/bits/fcntl2.h (open): Use it.
25179         (openat): Likewise.
25180         * io/open.c (__libc_open): Likewise.
25181         * io/open64.c (__libc_open64): Likewise.
25182         * io/open64_2.c (__open64_2): Likewise.
25183         * io/open_2.c (__open_2): Likewise.
25184         * io/openat.c (__openat): Likewise.
25185         * io/openat64.c (__openat64): Likewise.
25186         * io/openat64_2.c (__openat64_2): Likewise.
25187         * io/openat_2.c (__openat_2): Likewise.
25188         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
25189         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
25190         * sysdeps/posix/open64.c (__libc_open64): Likewise.
25191         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
25192         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
25193         (__open_nocancel): Likewise.
25194         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
25195         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
25196         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
25198 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25200         [BZ #14841]
25201         * resolv/gethnamaddr.c (getanswer): Skip logging if
25202         RES_USE_DNSSEC is set.
25203         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25205 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
25207         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
25209 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
25211         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25212         201304L, for Unicode 7.
25214 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
25216         [BZ #17836]
25217         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
25218         shared library.  Add gmon-start.os otherwise.
25219         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
25220         $(objpfx)gmon-start.os if builing shared library.
25221         ($(objpfx)g$(static-start-installed-name)): Likewise.
25223 2015-02-23  Andreas Schwab  <schwab@suse.de>
25225         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
25227 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
25229         [BZ #17269]
25230         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
25231         (enlarge_userbuf): Likewise.
25233 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
25235         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
25236         * math/atest-exp.c (TIMEOUT): Adjust to 200.
25237         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
25238         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
25240 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
25242         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
25243         expression inside statement expression.
25245 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
25247         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
25248         <sysdeps/nptl/lowlevellock.h> and remove macros and
25249         functions that are now defined there.
25250         (SYS_futex): Remove.
25251         (lll_compare_and_swap): Remove.
25252         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
25254 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
25256         [BZ #17999]
25257         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
25258         instead of scandirat.
25259         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
25260         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
25261         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
25262         __scandirat.
25263         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
25264         (__scandirat): Declare.  Use libc_hidden_proto.
25265         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
25266         Remove variable.
25267         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
25269 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
25271         [BZ #15319]
25272         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
25273         (MO): New macro.
25274         (__ieee754_atan2): For results with small absolute value, force
25275         underflow exception and remove excess range and precision from
25276         return value.
25277         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
25278         (MO): New macro.
25279         (__ieee754_atan2f): For results with small absolute value, force
25280         underflow exception and remove excess range and precision from
25281         return value.
25282         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
25283         (MO): New macro.
25284         (__atan): For results with small absolute value, force underflow
25285         exception and remove excess range and precision from return value.
25286         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
25287         (MO): New macro.
25288         (__atanf): For results with small absolute value, force underflow
25289         exception and remove excess range and precision from return value.
25290         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
25291         <math.h>.
25292         (__ieee754_atan2): Force underflow exception for results with
25293         small absolute value.
25294         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
25295         <math_private.h>.
25296         (atan): Force underflow exception for results with small absolute
25297         value.
25298         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
25299         (__atanf): Force underflow exception for results with small
25300         absolute value.
25301         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
25302         <math.h>.
25303         (__atanl): Force underflow exception for results with small
25304         absolute value.
25305         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
25306         (__atanl): Force underflow exception for results with small
25307         absolute value.
25308         * sysdeps/x86/fpu/bits/mathinline.h
25309         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
25310         (__ieee754_atan2): Only define inline for long double.
25311         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
25312         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
25313         * math/auto-libm-test-in: Do not mark underflow exceptions as
25314         possibly missing for bug 15319.  Add more tests of atan2.
25315         * math/auto-libm-test-out: Regenerated.
25316         * math/libm-test.inc (casin_test_data): Do not mark underflow
25317         exceptions as possibly missing for bug 15319.
25318         (casinh_test_data): Likewise.
25319         * sysdeps/i386/fpu/libm-test-ulps: Update.
25321 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
25323         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
25324         * sysdeps/mips/bits/endian.h: Fix comments.
25326 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
25328         [BZ #17996]
25329         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
25330         (hdestroy_r): Likewise.
25331         (hsearch_r): Likewise.
25332         (__hcreate_r): Declare and use libc_hidden_proto.
25333         (__hdestroy_r): Likewise.
25334         (__hsearch_r): Likewise.
25335         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
25336         (hcreate): Call __hcreate_r instead of hcreate_r.
25337         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
25338         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
25339         as weak alias of __hcreate_r.
25340         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
25341         __hdestroy_r.
25342         (hsearch_r): Rename to __hsearch_r and define as weak alias of
25343         __hsearch_r.
25344         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
25345         Remove variable.
25346         (test-xfail-XPG4/search.h/linknamespace): Likewise.
25347         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
25348         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
25349         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
25351 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25353         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
25354         arena_lock into a single arena_get.
25356 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
25358         * dl-reloc.c: Inlucde libc-internal.h.
25359         (_dl_try_allocate_static_tls): Call ALIGN_UP.
25360         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
25361         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
25362         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
25363         (grow_heap): Likewise.
25364         * malloc/malloc.c: Include libc-internal.h.
25365         (do_check_malloc): Call powerof2.
25366         (sysmalloc): Use pagesize. Call ALIGN_UP.
25367         (systrim): Use pagesize.
25368         (mremap_chunk): Use pagesize. Call ALIGN_UP.
25369         (__libc_valloc): Use pagesize.
25370         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
25372 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
25374         [BZ #17991]
25375         * include/sys/resource.h (__getrlimit64): Declare.  Use
25376         libc_hidden_proto.
25377         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
25378         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
25379         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
25380         getrlimit64.
25381         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
25382         __getrlimit64.
25383         [!getrlimit64] (getrlimit64): Define as weak alias of
25384         __getrlimit64.  Use libc_hidden_weak.
25385         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
25386         using __getrlimit64 not __new_getrlimit64.
25387         (__GI_getrlimit64): Likewise.
25388         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
25389         Likewise.
25390         (__GI_getrlimit64): Likewise.
25391         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
25392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
25393         (getrlimit): Add __getrlimit64 alias.
25394         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
25395         Likewise.
25396         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
25397         Remove variable.
25398         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
25399         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
25401 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
25403         * libio/fileops.c: Add missing sys/mman.h
25404         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
25406 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
25408         * manual/math.texi (Errors in Math Functions): Clarify goals
25409         regarding inexact and underflow exceptions.
25411 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
25413         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
25414         * sysdeps/mips/memset.S: Ditto.
25416 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
25418         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
25420 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25422         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
25423         (__v1longjmp): Remove versioned symbol.
25424         (__v1siglongjmp): Remove alias and versioned symbol.
25425         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
25426         (__v2siglongjmp): Likewise.
25428 2015-02-16  Torvald Riegel  <triegel@redhat.com>
25430         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
25432 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
25434         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
25436 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
25438         [BZ #17987]
25439         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
25440         zero result does not depend on the sign resulting from
25441         subtraction.
25442         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25443         Likewise.
25444         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
25445         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
25446         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25447         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
25448         * math/libm-test.inc (remquo_test_data): Add more tests.
25450 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
25452         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
25453         Problem reported by J William Piggott.
25455 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
25457         [BZ #17978]
25458         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
25459         products 4 * y and 2 * y where those would overflow.
25460         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25461         Likewise.
25462         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
25463         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
25464         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25465         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
25466         * math/libm-test.inc (remquo_test_data): Add more tests.
25468         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
25470         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
25471         [defined _COMPILING_NEWLIB].
25472         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
25473         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
25475         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
25476         [!defined __mips_isa_rev || __mips_isa_rev < 6].
25478 2015-02-16  Torvald Riegel  <triegel@redhat.com>
25480         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
25481         acquired.
25483 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
25485         [BZ #17792]
25486         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
25487         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
25488         HOST_STACK_END_ADDR): Likewise.
25490 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
25492         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
25493         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
25494         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
25496 2015-02-13  Roland McGrath  <roland@hack.frob.com>
25498         * sysdeps/generic/c++-types.data: New file.
25499         * sysdeps/generic/ld.abilist: New file.
25500         * sysdeps/generic/libBrokenLocale.abilist: New file.
25501         * sysdeps/generic/libanl.abilist: New file.
25502         * sysdeps/generic/libc.abilist: New file.
25503         * sysdeps/generic/libcrypt.abilist: New file.
25504         * sysdeps/generic/libdl.abilist: New file.
25505         * sysdeps/generic/libm.abilist: New file.
25506         * sysdeps/generic/libpthread.abilist: New file.
25507         * sysdeps/generic/libresolv.abilist: New file.
25508         * sysdeps/generic/librt.abilist: New file.
25510 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
25512         [BZ #17569]
25513         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
25514         Compute absolute value of x as modified by fmod, not original
25515         value of x.
25516         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
25517         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
25518         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
25519         RUN_TEST_ffI_f1_mod8.
25520         (remquo_test_data): Add more tests.
25522 2015-02-13  Roland McGrath  <roland@hack.frob.com>
25524         * sysdeps/init_array/pt-crti.S: New file.
25526 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
25528         [BZ #17967]
25529         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
25530         __builtin_fmaf instead of relying on contraction of a * b + c.
25532 2015-02-12  J William Piggott  <elseifthen@gmx.com>
25534         [BZ #17969]
25535         * manual/time.texi: correct the zoneinfo path in the TZ Variable
25536         node.
25538 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
25540         [BZ #17964]
25541         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
25542         __builtin_fma instead of relying on contraction of a * b + c.
25544 2015-02-12  Roland McGrath  <roland@hack.frob.com>
25546         * Makeconfig (ASFLAGS): Add -Werror=undef.
25547         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
25548         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
25549         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
25551         * Makeconfig (after-link): New variable.
25552         (+link-pie, +link-pie-tests): Use it.
25553         (+link-static, +link-static-tests): Likewise.
25554         (+link, +link-tests): Likewise.
25555         * Makerules (build-module, build-module-asneeded): Likewise.
25556         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
25557         Likewise.
25558         * elf/Makefile ($(objpfx)ld.so): Likewise.
25560 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
25562         [BZ #17965]
25563         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
25564         both struct timeval and struct timespec.
25566 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
25568         [BZ #16560]
25569         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25570         and redefine.
25571         (__ieee754_exp2l): Do not multiply small fractional parts by
25572         M_LN2l.
25573         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
25574         small argument.
25575         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25576         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
25577         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
25578         * math/auto-libm-test-in: Add more tests of exp2.
25579         * math/auto-libm-test-out: Regenerated.
25581 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25583         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
25584         unaligned path.
25586 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25588         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
25589         little endian.
25591 2015-02-12  Andreas Schwab  <schwab@suse.de>
25593         [BZ #15790]
25594         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
25595         Filter out elision flags from value returned in kind.
25596         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
25597         * nptl/tst-pthread-mutexattr.c: New file.
25599 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25601         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
25602         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
25603         into gnu-gnu, and update comment to refer to abi-tags.
25605 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
25607         [BZ #15467]
25608         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
25609         (__sincos): Set errno to EDOM for infinite argument.
25610         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
25611         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
25612         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
25613         (__sincosl): Set errno to EDOM for infinite argument.
25614         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
25615         (__sincosl): Set errno to EDOM for infinite argument.
25616         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
25617         (__sincosl): Set errno to EDOM for infinite argument.
25618         * math/libm-test.inc (sincos_test_data): Test errno setting.
25620 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
25622         * string/strxfrm_l.c: Remove #define STRCMP.
25623         * string/strcoll_l.c: Remove #define STRLEN.
25624         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
25625         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
25627 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
25629         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
25630         * sysdeps/mips/mips32/sfp-machine.h: ... here.
25631         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
25632         * sysdeps/mips/mips64/Makefile: ... here.
25633         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
25634         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
25635         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
25636         * sysdeps/mips/mips64/sfp-machine.h: ... here.
25637         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
25638         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
25639         * sysdeps/mips/mips64/n64/Implies: Likewise.
25641 2015-02-10  Roland McGrath  <roland@hack.frob.com>
25643         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
25644         <sys/time.h>, <string.h>, and <errno.h>.
25645         (dest_offset, dest_address, value, zero): Remove unused variables.
25646         (ldouble): Remove typedef.
25647         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
25648         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
25649         1).  Fix code style.
25650         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
25651         (check): Function removed.
25652         (CHECK): New macro.
25653         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
25654         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
25655         Don't call set_sigaction_FP and remove_sigaction_FP here.
25656         (ldouble_test): Just use 'long double' as macro argument, no need for
25657         the 'ldouble' typedef.
25658         (do_test): Set up SIGFPE handler at start, using plain signal rather
25659         than sigaction.  Fix code style.
25661 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
25663         [BZ #17949]
25664         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
25665         jump label.
25667 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25669         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
25670         * sysdeps/powerpc/powerpc32/configure: Regenerated.
25672         * sysdeps/powerpc/configure.ac: Remove file.
25673         * sysdeps/powerpc/configure: Likewise.
25675         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
25676         [sysdep_routines]: Remove wordcopy-power6 object.
25677         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
25678         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
25679         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
25680         (__memmove_ppc32): Likewise.
25681         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
25682         file.
25683         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
25684         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
25685         Remove preprocessor.
25687         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
25688         [sysdep_routines]: Remove wide chars objects.
25689         [wcsmbs]: New rule for wide char objects.
25691         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25692         Remove wordcopy-power6 obejct.
25693         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
25694         Use local call for wordcopy and memcpy symbols.
25695         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
25696         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
25697         implementation for loader.
25698         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
25700         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25701         Remove wordcopy-power7 object.
25702         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
25703         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
25704         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
25705         (_wordcopy_fwd_dest_aligned): Likewise.
25706         (_wordcopy_bwd_aligned): Likewise.
25707         (_wordcopy_bwd_dest_aligned): Likewise.
25709         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
25710         Rewrite to call __memmove_ppc instead of include default
25711         implementation.
25713         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25714         Remove wide chars objects.
25715         [wcsmbs]: New rule for wide char objects.
25717 2015-02-09  Andreas Schwab  <schwab@suse.de>
25719         [BZ #17912]
25720         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25721         in terms of __O_DIRECTORY.
25723 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25725         * time/getdate.c: Include <stdbool.h>.
25726         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
25727         call PTR_MANGLE.
25728         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
25729         PTR_DEMANGLE.
25731 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
25733         Add ersatz _Static_assert on older C hosts
25734         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
25735         pre-C11 C platform that is not known to support _Static_assert.
25737 2015-02-07  Richard Braun  <rbraun@sceen.net>
25739         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
25740         sigstate.
25741         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
25743 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25745         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
25746         priority against unexistent AIO_PRIO_DELTA_MAX.
25747         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
25748         instead of int.
25749         * misc/fchflags.c (fchflags): Likewise.
25750         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
25751         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
25752         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
25753         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
25754         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
25755         Declare macros.
25756         [__USE_MISC] (chflags, fchflags): Declare functions.
25757         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
25758         EINVAL when nfds is greater than FD_SETSIZE.
25759         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
25760         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
25761         45.
25762         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
25763         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
25764         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
25765         MACH_RCV_TIMED_OUT.
25766         * hurd/hurd/signal.h (_hurd_self_sigstate,
25767         _hurd_critical_section_lock, _hurd_critical_section_unlock):
25768         Explicit casts from void *.
25769         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
25770         * abi-tags: Rename gnu-gnu os into gnu.
25772         [BZ #4719]
25773         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
25774         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
25775         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
25776         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
25777         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
25778         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
25780         [BZ #17944]
25781         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
25782         duplicates ADDR->sun_path with sockaddr LEN limitation.
25783         * sysdeps/mach/hurd/connect.c: Include <string.h>
25784         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
25785         * sysdeps/mach/hurd/sendmsg.c: Likewise.
25786         * sysdeps/mach/hurd/sendto.c: Likewise.
25787         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
25788         implementing it by hand.
25790 2015-02-06  Roland McGrath  <roland@hack.frob.com>
25792         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
25793         Use sfi_breg on ldr.
25794         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
25795         Likewise.
25797         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
25798         it's defined.
25799         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
25800         Test SIGSETXID only if it's defined.
25802         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
25804         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
25805         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
25807         * nptl/tst-align2.c: Moved ...
25808         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
25809         * nptl/Makefile (tests): Remove tst-align2.
25810         * sysdeps/unix/sysv/linux/Makefile
25811         [$(subdir) = nptl] (tests): Add tst-align-clone.
25812         * nptl/tst-getpid1.c: Moved ...
25813         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
25814         * nptl/tst-getpid2.c: Moved ...
25815         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
25816         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
25817         * sysdeps/unix/sysv/linux/Makefile
25818         [$(subdir) = nptl] (tests): ... here.
25819         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
25820         * sysdeps/unix/sysv/linux/Makefile
25821         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
25823         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
25824         Drop trailing \n from perror argument.  Use return rather than exit.
25826         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
25827         on [SA_SIGINFO].
25828         * nptl/tst-cancel21.c (do_test): Likewise.
25829         * debug/tst-backtrace6.c: Include <signal.h> first thing.
25830         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
25831         [!SA_SIGINFO]: Make it a stub test.
25833         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
25834         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
25836         * posix/tst-getlogin.c: Move to ...
25837         * login/tst-getlogin.c: ... here.
25838         * posix/Makefile (tests): Move tst-getlogin to ...
25839         * login/Makefile (tests): ... here.
25841         * libio/tst-atime.c (do_test): Move local variables SV and E
25842         inside [ST_NOATIME] conditional.
25844         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
25846         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
25848         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
25849         (wait_code): New function replaces macro.
25850         Call nanosleep rather than syscall.
25852         * nptl/pt-system.c: Rewritten.  Put everything under
25853         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25854         Use IFUNC to redirect when possible.
25856         * nptl/pt-longjmp.c: Rewritten.  Put everything under
25857         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25858         Use IFUNC to redirect when possible.
25860         * nptl/pt-fork.c: Rewritten.  Put everything under
25861         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25862         Use IFUNC to redirect when possible.
25863         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
25865         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
25866         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
25867         unconditionally nowadays.  This included the only reference to
25868         __vdso_clock_gettime that appears outside libc proper.
25869         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
25870         Remove version set (containing only __vdso_clock_gettime).
25871         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
25872         Add attribute_hidden.
25873         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
25874         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
25875         libc_hidden_data_def.
25876         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25877         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25879         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
25880         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
25881         setrpcent, and getrpcport to ...
25882         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
25883         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
25884         getrpcbynumber_r, and getrpcent_r to ...
25885         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
25886         * inet/getrpcbyname.c: Moved ...
25887         * sunrpc/getrpcbyname.c: ... here.
25888         * inet/getrpcbyname_r.c: Moved ...
25889         * sunrpc/getrpcbyname_r.c: ... here.
25890         * inet/getrpcbynumber.c: Moved ...
25891         * sunrpc/getrpcbynumber.c: ... here.
25892         * inet/getrpcbynumber_r.c: Moved ...
25893         * sunrpc/getrpcbynumber_r.c: ... here.
25894         * inet/getrpcent.c: Moved ...
25895         * sunrpc/getrpcent.c: ... here.
25896         * inet/getrpcent_r.c: Moved ...
25897         * sunrpc/getrpcent_r.c: ... here.
25898         * inet/Makefile (routines): Move those to ...
25899         * sunrpc/Makefile (routines): ... here.
25900         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
25901         the $(subdirs) list.
25902         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
25903         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
25904         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
25905         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
25907         * elf/Makefile (routines): Include $(all-dl-routines), not just
25908         $(dl-routines).
25909         (rtld-routines): Likewise.  Use = rather than :=.
25910         * sysdeps/aarch64/Makefile [$(subdir) = elf]
25911         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
25912         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
25913         * sysdeps/arm/Makefile: Likewise.
25914         * sysdeps/i386/Makefile: Likewise.
25915         * sysdeps/x86_64/Makefile: Likewise.
25916         * sysdeps/hppa/Makefile [$(subdir) = elf]
25917         (sysdep_routines, sysdep-rtld-routines): Don't add
25918         $(sysdep-dl-routines) to these.
25919         * sysdeps/ia64/Makefile: Likewise.
25920         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
25921         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
25922         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
25923         Don't add dl-static to these; sysdep-dl-routines alone is enough.
25924         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
25925         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
25926         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
25927         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
25928         * sysdeps/powerpc/Makefile [$(subdir) = elf]
25929         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
25930         these; sysdep-dl-routines alone is enough.
25932 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
25934         [BZ #17932]
25935         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
25936         where multiplication results in zero and third argument is finite
25937         and nonzero.
25938         * math/auto-libm-test-in: Add more tests of fma.
25939         * math/auto-libm-test-out: Regenerated.
25941         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
25942         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
25943         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
25944         (_FP_CMP_EQ): Likewise.
25945         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
25947         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
25948         extra argument CHECK_NAN.  Redefine as wrapper around
25949         _FP_EXTEND_CNAN.
25951 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
25953         * version.h (RELEASE): Set to "stable".
25954         (VERSION): Set to "2.21"
25955         * include/features.h (__GLIBC_MINOR__): Set to 21.
25957         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
25959 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25960             Paul Eggert  <eggert@cs.ucla.edu>
25962         [BZ #16618]
25963         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
25964         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
25965         size in bytes. Store needed elements in wpmax. Use needed size
25966         in bytes for extend_alloca.
25968 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
25970         * manual/install.texi: Latest tested versions are GCC 4.9.2,
25971         binutls 2.25, and texinfo 5.2.
25972         * INSTALL: Regenerate.
25973         * sysdeps/nios2/configure: Regenerate.
25974         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
25975         * manual/contrib.texi: Update.
25976         * po/be.po: Update.
25977         * po/bg.po: Update.
25978         * po/ca.po: Update.
25979         * po/cs.po: Update.
25980         * po/da.po: Update.
25981         * po/de.po: Update.
25982         * po/el.po: Update.
25983         * po/eo.po: Update.
25984         * po/es.po: Update.
25985         * po/fi.po: Update.
25986         * po/fr.po: Update.
25987         * po/gl.po: Update.
25988         * po/hr.po: Update.
25989         * po/hu.po: Update.
25990         * po/ia.po: Update.
25991         * po/id.po: Update.
25992         * po/it.po: Update.
25993         * po/ja.po: Update.
25994         * po/ko.po: Update.
25995         * po/lt.po: Update.
25996         * po/nb.po: Update.
25997         * po/nl.po: Update.
25998         * po/pl.po: Update.
25999         * po/pt_BR.po: Update.
26000         * po/ru.po: Update.
26001         * po/rw.po: Update.
26002         * po/sk.po: Update.
26003         * po/sl.po: Update.
26004         * po/sv.po: Update.
26005         * po/tr.po: Update.
26006         * po/uk.po: Update.
26007         * po/vi.po: Update.
26008         * po/zh_CN.po: Update.
26009         * po/zh_TW.po: Update.
26011         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
26012         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
26013         * sysdeps/hppa/dl-irel.h: Remove #warning.
26014         * sysdeps/hppa/entry.h: Provide prototype for
26015         __canonicalize_funcptr_for_compare and cast argument.
26016         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
26017         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
26018         * sysdeps/hppa/sotruss-lib.c: New file.
26019         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
26020         (atomic_compare_and_exchange_val_acq): Use __typeof__.
26021         (atomic_compare_and_exchange_bool_acq): Likewise.
26022         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
26023         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
26025         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
26026         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
26027         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
26029 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
26031         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
26032         called function in non-PIC case.
26034 2015-01-31  David S. Miller  <davem@davemloft.net>
26036         * sysdeps/sparc/sparc32/bits/atomic.h
26037         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
26038         unlock not after it.
26039         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
26040         volatile register usage warnings from the compiler.
26042         * sysdeps/sparc/nptl/sem_init.c: Delete.
26043         * sysdeps/sparc/nptl/sem_post.c: Delete.
26044         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
26045         * sysdeps/sparc/nptl/sem_wait.c: Delete.
26046         * sysdeps/sparc/sparc32/sem_init.c: New file.
26047         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
26048         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
26049         padding explicitly initialized.
26050         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
26051         padding for in-semaphore spinlock.
26052         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
26053         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
26054         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
26055         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
26056         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
26057         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
26058         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
26059         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
26060         version.
26061         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
26062         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
26064 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
26066         [BZ #17801]
26067         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26068         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
26069         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
26070         New.
26071         (index_AVX_Fast_Unaligned_Load): Likewise.
26072         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
26073         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
26074         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
26075         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
26076         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
26077         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
26078         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
26079         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
26080         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
26082 2015-01-29  Andreas Schwab  <schwab@suse.de>
26084         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
26086 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
26088         [BZ #17892]
26089         * nscd/nscd_stat.c (send_stats): Initialize DATA.
26091 2015-01-28  Martin Sebor  <msebor@redhat.com>
26093         * math/README.libm-test: Clarify. Add "How to read the test output."
26095 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
26097         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
26098         Define to 0.
26100 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
26102         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
26103         (__HAVE_64B_ATOMICS): Define to 0.
26105 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26107         [BZ #17885]
26108         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
26109         value to set as new flag.
26111         [BZ #16576]
26112         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
26113         and use _ARCH_PPCSQ instead.
26114         (__ieee754_sqrt): Likewise.
26115         (__ieee754_sqrtf): Likewise.
26116         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
26117         _ARCH_PPCSQ is defined.
26118         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
26119         fsqrt instruction.
26120         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
26121         _ARCH_PPCSQ is defined.
26122         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
26123         fsqrts instruction.
26124         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
26126 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26128         * iconv/loop.c: Suppress array out of bound warning caused by GCC
26129         bug (GCC BZ #64739).
26131 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
26133         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
26134         Mark _retval as used.
26135         (lll_futex_wake_unlock): Likewise.
26136         (lll_futex_timed_wait_requeue_pi): Likewise.
26138         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
26139         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
26140         register variables.
26142         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
26143         libm_hidden_def.
26145         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
26146         (__bswap_64): Mark as __always_inline.
26148 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
26150         [BZ #15378]
26151         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
26152         when none of the search directories exist.
26154 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26156         [BZ #17869]
26157         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
26158         power8 in .machine directive.
26160         [BZ #17868]
26161         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
26162         set dependency from opd value.
26164 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
26166         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26167         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
26168         architecture.
26170 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
26172         [BZ #17870]
26173         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
26174         with uint64_t.
26175         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
26176         (uint64_t) 1.
26177         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
26178         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
26179         Replace 1UL with (uint64_t) 1.
26180         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
26181         int with uint64_t.
26183 2015-01-23  Roland McGrath  <roland@hack.frob.com>
26185         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
26186         (if_freenameindex): Likewise.
26188         * resource/getrlimit64.c: Add missing libc_hidden_def.
26190 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
26192         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
26193         __label__.
26194         (_FP_FMA): Likewise.
26195         (_FP_TO_INT_ROUND): Likewise.
26196         (_FP_FROM_INT): Likewise.
26198 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26200         [BZ #16418]
26201         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
26202         Make code racy and cancel safe.
26204 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
26206         * sysdeps/arm/unwind-resume.h: Fix copyright year.
26207         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
26208         attribution.
26210         * pwd/tst-getpw.c: Rewrite.
26212         [BZ #17702]
26213         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
26214         (modules-names): Add moddummy1 and moddummy2.
26215         ($(objpfx)tst-rec-dlopen): Define.
26216         * dlfcn/moddummy1.c: New file.
26217         * dlfcn/moddummy2.c: New file.
26218         * dlfcn/tst-rec-dlopen.c: New file.
26219         * elf/dl-cache.c (_dl_load_cache_lookup):
26220         Return char*. Copy result with alloca/strcpy/strdup.
26221         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
26222         returns char*. Free cached. If not saving realname
26223         free cached.
26224         * elf/dl-open.c (dl_open_worker): Do not assert that
26225         _r_debug->r_state is RT_CONSISTENT.
26226         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
26227         returns char*.
26229 2015-01-21  Torvald Riegel  <triegel@redhat.com>
26230             Carlos O'Donell  <carlos@redhat.com>
26232         [BZ #12674]
26233         * nptl/sem_waitcommon.c: New file.
26234         * nptl/sem_wait.c: Include sem_waitcommon.c.
26235         (__sem_wait_cleanup, do_futex_wait): Remove.
26236         (__new_sem_wait): Adapt.
26237         (__new_sem_trywait): New function.
26238         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
26239         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
26240         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
26241         (sem_timedwait): Adapt.
26242         * nptl/sem_post.c (__new_sem_post): Adapt.
26243         (futex_wake): New function.
26244         (__old_sem_post): Add release MO fence.
26245         * nptl/sem_open.c (sem_open): Adapt.
26246         * nptl/sem_init.c (__new_sem_init): Adapt.
26247         (futex_private_if_supported): New function.
26248         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
26249         (__old_sem_getvalue): Add using previous code.
26250         * sysdeps/nptl/internaltypes.h: Adapt.
26251         * nptl/tst-sem13.c (do_test): Adapt.
26252         * nptl/tst-sem11.c (main): Adapt.
26253         * nptl/sem_trywait.c: Remove.
26254         * nptl/DESIGN-sem.txt: Remove.
26255         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
26256         (gen-as-const-headers): Remove structsem.sym.
26257         * nptl/structsem.sym: Remove.
26258         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
26259         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
26260         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
26261         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
26262         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
26263         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
26264         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
26265         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
26266         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
26267         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
26268         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
26269         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
26270         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
26271         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
26272         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
26273         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
26274         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
26275         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
26276         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
26277         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
26278         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
26279         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
26281 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
26283         * INSTALL: Regenerated.
26285         * po/libc.pot: Regenerated.
26287 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
26288             Sandra Loosemore  <sandra@codesourcery.com>
26289             Andrew Jenner  <andrew@codesourcery.com>
26290             Joseph Myers  <joseph@codesourcery.com>
26291             Nathan Sidwell  <nathan@codesourcery.com>
26293         * NEWS: Mention new Nios II port.
26294         * sysdeps/nios2/Implies: New file.
26295         * sysdeps/nios2/Makefile: New file.
26296         * sysdeps/nios2/Subdirs: New file.
26297         * sysdeps/nios2/Versions: New file.
26298         * sysdeps/nios2/__longjmp.S: New file.
26299         * sysdeps/nios2/abort-instr.h: New file.
26300         * sysdeps/nios2/backtrace.c: New file.
26301         * sysdeps/nios2/bits/endian.h: New file.
26302         * sysdeps/nios2/bits/fenv.h: New file.
26303         * sysdeps/nios2/bits/link.h: New file.
26304         * sysdeps/nios2/bits/setjmp.h: New file.
26305         * sysdeps/nios2/bsd-_setjmp.S: New file.
26306         * sysdeps/nios2/bsd-setjmp.S: New file.
26307         * sysdeps/nios2/configure: New generated file.
26308         * sysdeps/nios2/configure.ac: New file.
26309         * sysdeps/nios2/crti.S: New file.
26310         * sysdeps/nios2/crtn.S: New file.
26311         * sysdeps/nios2/dl-init.c: New file.
26312         * sysdeps/nios2/dl-machine.h: New file.
26313         * sysdeps/nios2/dl-sysdep.h: New file.
26314         * sysdeps/nios2/dl-tls.h: New file.
26315         * sysdeps/nios2/dl-trampoline.S: New file.
26316         * sysdeps/nios2/gccframe.h: New file.
26317         * sysdeps/nios2/gmp-mparam.h: New file.
26318         * sysdeps/nios2/jmpbuf-offsets.h: New file.
26319         * sysdeps/nios2/jmpbuf-unwind.h: New file.
26320         * sysdeps/nios2/ldsodefs.h: New file.
26321         * sysdeps/nios2/libc-tls.c: New file.
26322         * sysdeps/nios2/libm-test-ulps: New file.
26323         * sysdeps/nios2/machine-gmon.h: New file.
26324         * sysdeps/nios2/math-tests.h: New file.
26325         * sysdeps/nios2/math_private.h: New file.
26326         * sysdeps/nios2/memusage.h: New file.
26327         * sysdeps/nios2/nptl/Makefile: New file.
26328         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
26329         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
26330         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
26331         * sysdeps/nios2/nptl/pthreaddef.h: New file.
26332         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
26333         * sysdeps/nios2/nptl/tls.h: New file.
26334         * sysdeps/nios2/preconfigure: New file.
26335         * sysdeps/nios2/s_fma.c: New file.
26336         * sysdeps/nios2/s_fmaf.c: New file.
26337         * sysdeps/nios2/setjmp.S: New file.
26338         * sysdeps/nios2/sfp-machine.h: New file.
26339         * sysdeps/nios2/sotruss-lib.c: New file.
26340         * sysdeps/nios2/stackguard-macros.h: New file.
26341         * sysdeps/nios2/stackinfo.h: New file.
26342         * sysdeps/nios2/start.S: New file.
26343         * sysdeps/nios2/sysdep.h: New file.
26344         * sysdeps/nios2/tls-macros.h: New file.
26345         * sysdeps/nios2/tst-audit.h: New file.
26346         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
26347         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
26348         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
26349         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
26350         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
26351         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
26352         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
26353         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
26354         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
26355         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
26356         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
26357         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
26358         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
26359         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
26360         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
26361         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
26362         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
26363         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
26364         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
26365         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
26366         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
26367         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
26368         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
26369         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
26370         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
26371         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
26372         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
26373         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
26374         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
26375         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
26376         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
26377         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
26378         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
26379         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
26380         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
26381         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
26382         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
26383         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
26384         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
26385         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
26386         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
26387         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
26388         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
26389         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
26391 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
26393         [BZ #17844]
26394         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
26395         (getutent): Use weak_alias in non SHARED case
26396         and default_symbol_version in SHARED case.
26397         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
26398         (getutent_r, pututline): Likewise.
26399         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
26400         (getutid): Likewise.
26401         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
26402         (getutid_r): Likewise.
26403         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
26404         (getutline): Likewise.
26405         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
26406         (getutline_r): Likewise.
26407         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
26408         (updwtmp): Likewise.
26410 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
26412         [BZ #17848]
26413         * sysdeps/s390/s390-32/memcmp.S
26414         (memcmp_g5): Rename to __memcmp_g5.
26415         * sysdeps/s390/s390-32/memcpy.S
26416         (memcpy_g5): Rename to __memcpy_g5.
26417         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26418         (memcpy_mvcle) Rename to __memcpy_mvcle.
26419         * sysdeps/s390/s390-32/memset.S
26420         (memset_g5): Rename to __memset_g5.
26421         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
26422         (IFUNC_RESOLVE): Prefix ifunc-resolve function
26423         and use prefixed functions.
26424         * sysdeps/s390/s390-32/multiarch/memcmp.S
26425         (memcmp_z196): Rename to __memcmp_z196.
26426         (memcmp_z10): Rename to __memcmp_z10.
26427         (memcmp): Set alias to __memcmp_g5.
26428         (bcmp): Set alias to __memcmp_g5.
26429         * sysdeps/s390/s390-32/multiarch/memcpy.S
26430         (memcpy_z196): Rename to __memcpy_z196.
26431         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26432         (memcpy_z10): Rename to __memcpy_z10.
26433         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26434         (memcpy): Set alias to __memcpy_g5.
26435         * sysdeps/s390/s390-32/multiarch/memset.S
26436         (memset_z196): Rename to __memset_z196.
26437         Jump to __memset_mvcle instead of memset_mvcle.
26438         (memset_z10): Rename to __memset_z10.
26439         Jump to __memset_mvcle instead of memset_mvcle.
26440         (memset_mvcle) Rename to __memset_mvcle.
26441         (memset): Set alias to __memset_g5.
26442         * sysdeps/s390/s390-64/memcmp.S
26443         (memcmp_z900): Rename to __memcmp_z900.
26444         * sysdeps/s390/s390-64/memcpy.S
26445         (memcpy_z900): Rename to __memcpy_z900.
26446         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26447         (memcpy_mvcle) Rename to __memcpy_mvcle.
26448         * sysdeps/s390/s390-64/memset.S
26449         (memset_z900): Rename to __memset_z900.
26450         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
26451         (IFUNC_RESOLVE): Prefix ifunc-resolve function
26452         and use prefixed functions.
26453         * sysdeps/s390/s390-64/multiarch/memcmp.S
26454         (memcmp_z196): Rename to __memcmp_z196.
26455         (memcmp_z10): Rename to __memcmp_z10.
26456         (memcmp): Set alias to __memcmp_z900.
26457         (bcmp): Set alias to __memcmp_z900.
26458         * sysdeps/s390/s390-64/multiarch/memcpy.S
26459         (memcpy_z196): Rename to __memcpy_z196.
26460         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26461         (memcpy_z10): Rename to __memcpy_z10.
26462         Jump to __memcpy_mvcle instead of memcpy_mvcle.
26463         (memcpy): Set alias to __memcpy_z900.
26464         * sysdeps/s390/s390-64/multiarch/memset.S
26465         (memset_z196): Rename to __memset_z196.
26466         Jump to __memset_mvcle instead of memset_mvcle.
26467         (memset_z10): Rename to __memset_z10.
26468         Jump to __memset_mvcle instead of memset_mvcle.
26469         (memset_mvcle) Rename to __memset_mvcle.
26470         (memset): Set alias to __memset_z900.
26472 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
26474         [BZ #17748]
26475         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
26476         __fesetenv instead of fesetenv.
26478 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26480         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
26481         macro.
26483 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26485         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
26486         regression on LE.
26488         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
26489         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
26490         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26491         strncmp-power8 object.
26492         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26493         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
26494         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
26495         * NEWS: Update.
26497 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26498             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26500         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
26501         trailing byte check.
26503 2015-01-13  David S. Miller  <davem@davemloft.net>
26505         * include/signal.h (__sigreturn): Guard with __USE_MISC.
26507 2015-01-13  Roland McGrath  <roland@hack.frob.com>
26509         * login/logout.c (logout): Use memset rather than bzero.
26510         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
26511         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
26512         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
26513         (_gethtbyaddr): Likewise.
26514         * locale/programs/simple-hash.c (bcopy): Macro removed.
26516 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26518         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26519         Add strcmp-power8 object.
26520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26521         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
26522         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
26523         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
26524         __strcmp_power8 implementation.
26525         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
26526         * NEWS: Update.
26528         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26529         Add strncpy-power8 and stpncpy-power8 objects.
26530         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26531         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
26532         implementations.
26533         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
26534         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
26535         __stpncpy_power8 implementation.
26536         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
26537         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
26538         __strncpy_power8 implementation.
26539         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
26540         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
26541         * NEWS: Update.
26543         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
26544         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
26545         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
26547         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26548         strncat-power8 object.
26549         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
26550         __strcat_power8 implementation.
26551         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26552         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
26553         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
26554         optimized strcat for power8.
26556         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26557         strcpy-power8 and stpcpy-power8 objects.
26558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26559         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
26560         implementations.
26561         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
26562         multiarch stpcpy implementation for POWER8.
26563         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
26564         multiarch strcpy implementation for POWER8.
26565         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
26566         __strcpy_power8 function.
26567         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
26568         stpcpy for POWER8.
26569         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
26570         strcpy for POWER8.
26571         * NEWS: Update.
26573 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
26575         [BZ #16009]
26576         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
26577         weights and rules. Use do_xfrm_cached if data fits in cache,
26578         do_xfrm otherwise.  Moved former main loop to...
26579         * (do_xfrm_cached): New function.
26580         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
26581         find_idx, find_position and stack_push.
26582         * (find_idx): New function.
26583         * (find_position): Likewise.
26584         * localedata/sort-test.sh: Added test run for do_xfrm.
26585         * localedata/xfrm-test.c (main): Added command line option
26586         -nocache to run the test with strings that are too large for
26587         the STRXFRM cache.
26589 2015-01-13  Torvald Riegel  <triegel@redhat.com>
26591         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
26592         variable to lll_futex_wake call, not the value itself.
26594 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
26596         [BZ #17803]
26597         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
26598         twom64.  Adjust value to 0x1p-64L.
26599         (__scalblnl): Only return standard underflowing result for K <=
26600         -64 not K <= -63; adjust exponent for underflowing result by 64
26601         not 63.
26602         * math/libm-test.inc (scalbn_test_data): Add more tests.
26603         (scalbln_test_data): Likewise.
26605         [BZ #17834]
26606         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
26607         0x1p63L.
26608         (__scalblnl): Get new exponent of adjusted subnormal value from ES
26609         not HX.
26610         * math/libm-test.inc (scalbn_test_data): Add more tests.
26611         (scalbln_test_data): Likewise.
26613 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26614             Stefani Seibold  <stefani@seibold.net>
26616         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
26617         (sysdep_routines): Add dl-vdso here, ...
26618         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
26619         (sysdep_routines): ... not here.
26620         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
26621         fallback when vDSO is not presented.
26622         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
26623         Define with libc_hidden_proto/libc_hidden_data_def definitions.
26624         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
26625         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
26626         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
26627         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
26628         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
26629         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
26630         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
26631         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
26632         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
26633         fallback configurable symbol when vDSO is not available.
26634         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
26635         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
26636         be able to redefine fallback symbol when vDSO is not available.
26637         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
26638         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
26640 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26642         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
26643         (TLS_INIT_TP): Add tm_capable initialization.
26644         (TLS_DEFINE_INIT_TP): Likewise.
26645         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
26646         TCB.
26647         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
26648         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
26649         calculation.
26650         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
26651         transactoion is lock elision is built and TCB tm_capable is set.
26652         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
26653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26654         (INTERNAL_SYSCALL_NCS): Likewise.
26655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26656         (INTERNAL_SYSCALL_NCS): Likewise.
26657         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
26659         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
26660         for powerpc.
26661         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26662         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
26663         and remove it for 32 bits case.
26664         [pthread_rwlock_t] (__rwelision): New field for lock elision.
26665         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
26666         initialization.
26667         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
26668         Disable lock elision with rdlocks if elision is not available.
26670         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
26671         (sysdep_routines): Add lock elision objects.
26672         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26673         [pthread_mutex_t] (__spins): Rework to add lock elision field.
26674         [pthread_mutex_t] (__elision): Add field.
26675         [__PTHREAD_SPINS]: Adjust to init lock elision field.
26676         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
26677         elision definitions for powerpc.
26678         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
26679         implementation of lock elision for powerpc.
26680         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
26681         implementation of timed lock elision for powerpc.
26682         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
26683         implementation of trylock with lock elision for powerpc.
26684         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
26685         implementaion of unlock for lock elision for powerpc.
26686         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
26687         automatic enable lock elision for mutexes.
26688         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
26689         transaction execution definitions for powerpc.
26690         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
26691         definitions.
26692         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
26693         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
26694         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
26695         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
26696         * NEWS: Update.
26698 2015-01-09  Roland McGrath  <roland@hack.frob.com>
26700         * sysdeps/posix/shm-directory.c: Use <> rather than ""
26701         for #include of <shm-directory.h>.
26703 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
26705         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
26706         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
26708 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
26710         [BZ #17791]
26711         * NEWS: Mention bug fix.
26712         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
26713         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
26714         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
26716 2015-01-09  Torvald Riegel <triegel@redhat.com>
26718         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
26720 2015-01-09  Torvald Riegel <triegel@redhat.com>
26722         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
26724 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
26726         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
26727         pointer and cast to uintptr_t.
26729 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
26731         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
26732         removed.
26733         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
26735 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
26737         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
26738         of 0.
26740 2015-01-08  Roland McGrath  <roland@hack.frob.com>
26742         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
26743         <nptl/pthreadP.h> instead.
26744         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
26746         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
26747         already defined.
26748         [__SIGRTMIN] (init): Function removed.
26749         [__SIGRTMIN] (initialized): Variable removed.
26750         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
26751         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
26752         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
26753         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
26754         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
26755         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
26756         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
26757         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
26758         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
26759         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
26760         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
26761         * sysdeps/nptl/allocrtsig.c: New file.
26762         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
26763         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
26764         * sysdeps/generic/testrtsig.h: File removed.
26766         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
26767         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
26769         * nptl/nptl-init.c (pthread_functions): Conditionalize
26770         .ptr__nptl_setxid initialization on [SIGSETXID].
26772         * sysdeps/nptl/sys/procfs.h: New file.
26773         * nptl_db/Makefile (headers): Add it.
26774         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
26776         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
26777         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
26778         * nptl/pthread_attr_setaffinity.c: Include it.
26779         * nptl/pthread_setattr_default_np.c: Likewise.
26780         * nptl/check-cpuset.h: New file.
26782 2015-01-08  Richard Henderson  <rth@redhat.com>
26784         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
26785         (CFLAGS-tst-execstack-prog.c): Likewise.
26786         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
26788 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
26789             Sandra Loosemore  <sandra@codesourcery.com>
26790             Andrew Jenner  <andrew@codesourcery.com>
26791             Joseph Myers  <joseph@codesourcery.com>
26792             Nathan Sidwell  <nathan@codesourcery.com>
26794         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
26795         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
26796         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
26797         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
26798         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
26799         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
26800         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
26801         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
26802         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
26803         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
26804         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
26805         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
26806         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
26807         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
26808         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
26809         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
26810         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
26812 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26814         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
26815         timespec struct member in syscall macro.
26816         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
26817         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
26818         first timeval struct member in syscall macro.
26819         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
26821 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
26823         [BZ #17748]
26824         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
26825         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
26826         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
26827         __feupdateenv and define as weak alias of __feupdateenv.  Use
26828         libm_hidden_weak.
26829         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
26830         libm_hidden_def.
26831         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
26832         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
26833         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
26834         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
26835         libm_hidden_def.
26836         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
26837         __feupdateenv and define as weak alias of __feupdateenv.  Use
26838         libm_hidden_weak.
26839         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
26840         libm_hidden_def.
26841         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
26842         __feupdateenv and define as weak alias of __feupdateenv.  Use
26843         libm_hidden_weak.
26844         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
26845         libm_hidden_def.
26846         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26847         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
26848         (__feupdateenv): Likewise.
26849         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
26850         __feupdateenv and define as weak alias of __feupdateenv.  Use
26851         libm_hidden_weak.
26852         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26853         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
26854         libm_hidden_def.
26855         * sysdeps/tile/math_private.h (__feupdateenv): New inline
26856         function.
26857         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
26858         libm_hidden_def.
26859         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
26860         __feupdateenv instead of feupdateenv.
26861         (default_libc_feupdateenv_test): Likewise.
26862         (libc_feresetround_ctx): Likewise.
26864 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26866         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
26867         prototype.
26869 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
26871         * posix/regcomp.c (parse_bracket_exp): Initialize type to
26872         COLL_SYM in a couple of places to avoid uninitialized variable
26873         wanings on tilegx gcc 4.8.2.
26875 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
26877         * sysdeps/aarch64/strcpy.S: New file.
26878         * sysdeps/aarch64/stpcpy.S: New file.
26879         * NEWS: Updated.
26881 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
26883         * sysdeps/aarch64/strrchr.S: New file.
26884         * NEWS: Updated.
26886 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
26888         [BZ #17658]
26889         * stdlib/setenv.c: Fix memory leak when setting large,
26890         duplicate string.
26892 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
26894         [BZ #17273]
26895         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
26896         and tabs from buffer before parsing fstab entry.
26897         * misc/tst-mntent.c (main): Add test for mount entry with
26898         trailing spaces and tabs.
26900 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
26902         [BZ #17748]
26903         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
26904         * math/fesetround.c (fesetround): Rename to __fesetround and
26905         define as weak alias of __fesetround.  Use libm_hidden_weak.
26906         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
26907         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
26908         * sysdeps/arm/fesetround.c (fesetround): Likewise.
26909         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
26910         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
26911         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
26912         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
26913         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
26914         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
26915         __fesetround_inline.
26916         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
26917         __fesetround_inline instead of __fesetround.
26918         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
26919         __fesetround and define as weak alias of __fesetround.  Use
26920         libm_hidden_weak.  Call __fesetround_inline instead of
26921         __fesetround.
26922         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
26923         __fesetround and define as weak alias of __fesetround.  Use
26924         libm_hidden_weak.
26925         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
26926         Likewise.
26927         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
26928         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26929         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
26930         * sysdeps/tile/math_private.h (__fesetround): New inline function.
26931         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
26932         __fesetround and define as weak alias of __fesetround.  Use
26933         libm_hidden_weak.
26934         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
26935         __fesetround instead of fesetround.
26936         (default_libc_feholdexcept_setround): Likewise.
26937         (libc_feholdsetround_ctx): Likewise.
26938         (libc_feholdsetround_noex_ctx): Likewise.
26940         [BZ #17748]
26941         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
26942         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
26943         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
26944         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
26945         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26946         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
26947         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26948         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
26949         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26950         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26951         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26952         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26953         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26954         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26955         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
26956         libm_hidden_def.
26957         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
26958         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
26959         Likewise.
26960         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26961         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26962         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26963         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26964         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
26965         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
26966         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
26967         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
26968         __fesetenv instead of fesetenv.
26969         (libc_feresetround_noex_ctx): Likewise.
26970         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
26971         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
26972         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
26973         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
26974         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
26975         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
26976         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26977         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
26978         (__feupdateenv): Likewise.
26979         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26980         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26981         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26982         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
26984 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
26986         [BZ #17806]
26987         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
26988         addresses have been freed.
26990 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
26992         * resolv/res_init.c (__res_vinit): Improve comments about nserv
26993         and nservall.
26995 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
26997         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
26998         Clean up check_pf allocation pattern. addresses
27000 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27002         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
27003         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
27004         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
27005         * nptl/pthread_exit.c (__pthread_exit): Likewise.
27006         * nptl/pthread_join.c (pthread_join): Likewise.
27007         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
27008         * sysdeps/posix/waitid.c (__waitid): Likewise.
27009         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
27010         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
27011         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
27012         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
27013         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
27014         Likewise.
27015         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
27016         (__libc_pread64): Likewise.
27017         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
27018         (__libc_pwrite): Likewise.
27019         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
27020         (__libc_pwrite64): Likewsie.
27021         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
27022         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
27023         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
27024         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
27025         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
27026         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
27027         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
27028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
27029         Likewise.
27030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27031         (__libc_pread64): Likewise.
27032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
27033         Likewise.
27034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
27035         (__libc_pwrite64): Likewise.
27036         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
27037         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
27038         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
27039         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
27040         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
27041         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
27042         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
27043         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
27044         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
27045         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
27046         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
27047         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
27048         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
27049         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
27050         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
27051         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
27052         Likewise.
27054 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
27056         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
27057         (CFLAGS-test-double.c): Likewise.
27058         (CFLAGS-test-ldouble.c): Likewise.
27059         (CPPFLAGS-test-ifloat.c): Likewise.
27060         (CPPFLAGS-test-idouble.c): Likewise.
27061         (CPPFLAGS-test-ildoubl.c): Likewise.
27062         (CFLAGS-test-test-fenv.c): Remove variable.
27063         (CFLAGS-test-misc.c): Likewise.
27065 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
27067         [BZ #17797]
27068         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
27069         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
27070         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
27071         CLOCKS_PER_SEC == 1000000.
27072         * time/clocktest.c (main): Replace %ld with %jd and cast to
27073         intmax_t.
27075 2015-01-05  Roland McGrath  <roland@hack.frob.com>
27077         * sysdeps/generic/unwind-resume.h: New file.
27078         * sysdeps/gnu/unwind-resume.c: Include it.
27079         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
27080         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
27081         argument list.
27082         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
27083         global rather than static.
27084         (_Unwind_Resume): Update user.
27085         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
27086         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
27087         rather than static.  Add __attribute__ ((cold)).
27088         (_Unwind_Resume, __gcc_personality_v0): Update callers.
27089         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
27090         * sysdeps/arm/arm-unwind-resume.S: New file.
27091         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
27092         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
27093         * sysdeps/arm/Makefile [$(subdir) = csu]
27094         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
27095         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
27096         Add rt-arm-unwind-resume.
27097         [$(subdir) = nptl]
27098         (libpthread-sysdep_routines, libpthread-shared-only-routines):
27099         Add pt-arm-unwind-resume.
27100         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
27101         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
27103 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
27105         [BZ #17748]
27106         * include/fenv.h (__feholdexcept): Declare.  Use
27107         libm_hidden_proto.
27108         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
27109         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
27110         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27111         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
27112         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
27113         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
27114         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
27115         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27116         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
27117         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
27118         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27119         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
27120         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
27121         (feholdexcept): Likewise.
27122         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
27123         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27124         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
27125         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27126         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
27127         __feholdexcept instead of feholdexcept.
27128         (default_libc_feholdexcept_setround): Likewise.
27130 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
27132         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
27133         to avoid using stl/str to align destination.
27135 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
27137         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
27139 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
27141         [BZ #17796]
27142         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
27143         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
27144         Define as weak alias not strong alias.
27146 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
27148         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
27149         bltzal with addiupc.
27150         (RTLD_START): Ditto.
27152 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
27154         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
27155         for __vdso_* functions in declarations.
27156         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
27157         definitions.
27158         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
27159         INTERNAL_VSYSCALL): Use struct return types to check for error.
27161         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
27162         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
27163         function with cast from llround().
27164         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
27165         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
27166         Define.
27168 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
27170         [BZ #17793]
27171         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
27172         Define as weak alias not strong alias.
27174         [BZ #17635]
27175         * ctype/ctype-c99.c: New file.  isblank implementation moved from
27176         ...
27177         * ctype/ctype-extn.c: ... here.
27178         (__isblank_l): Move to ...
27179         * ctype/ctype-c99_l.c: ... here.  New file.
27180         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
27181         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
27182         Remove variable.
27183         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
27184         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
27185         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
27186         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
27187         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
27189         [BZ #17777]
27190         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
27191         (posix_fadvise64): Define as weak alias not strong alias.
27192         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27193         (posix_fallocate64): Likewise.
27194         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
27195         Remove variable.
27196         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
27197         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
27198         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
27199         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
27200         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
27202 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
27204         [BZ #16191]
27205         * NEWS: Mention bug fix.
27206         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
27207         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
27208         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
27209         (HOST_STACK_END_ADDR): Likewise.
27211 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
27213         [BZ #17748]
27214         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
27215         * math/fegetround.c (fegetround): Rename to __fegetround and
27216         define as weak alias of __fegetround.  Use libm_hidden_weak.
27217         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
27218         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
27219         * sysdeps/arm/fegetround.c (fegetround): Likewise.
27220         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
27221         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
27222         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
27223         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
27224         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
27225         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
27226         Undefine after rather than before function definition; use
27227         parentheses around function name in definition.
27228         (__fegetround): Also undefine macro after function definition.
27229         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
27230         __fegetround and define as weak alias of __fegetround.  Use
27231         libm_hidden_weak.  Do not undefine as macro.
27232         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
27233         Likewise.
27234         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
27235         __fegetround and define as weak alias of __fegetround.  Use
27236         libm_hidden_weak.
27237         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27238         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
27239         * sysdeps/tile/math_private.h (__fegetround): New inline function.
27240         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
27241         __fegetround and define as weak alias of __fegetround.  Use
27242         libm_hidden_weak.
27243         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
27244         __fegetround instead of fegetround.
27246         [BZ #17782]
27247         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
27248         Condition macro definition on [__USE_MISC].
27250         [BZ #17781]
27251         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
27252         (struct sigaction): Change type of sa_flags field to int.
27254         [BZ #17780]
27255         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
27256         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
27257         __glibc_reserved0.
27259         * nptl/version.c (banner): Use single year in copyright notice.
27261         * NEWS: Update copyright dates.
27262         * catgets/gencat.c (print_version): Likewise.
27263         * csu/version.c (banner): Likewise.
27264         * debug/catchsegv.sh: Likewise.
27265         * debug/pcprofiledump.c (print_version): Likewise.
27266         * debug/xtrace.sh (do_version): Likewise.
27267         * elf/ldconfig.c (print_version): Likewise.
27268         * elf/ldd.bash.in: Likewise.
27269         * elf/pldd.c (print_version): Likewise.
27270         * elf/sotruss.sh: Likewise.
27271         * elf/sprof.c (print_version): Likewise.
27272         * iconv/iconv_prog.c (print_version): Likewise.
27273         * iconv/iconvconfig.c (print_version): Likewise.
27274         * locale/programs/locale.c (print_version): Likewise.
27275         * locale/programs/localedef.c (print_version): Likewise.
27276         * login/programs/pt_chown.c (print_version): Likewise.
27277         * malloc/memusage.sh (do_version): Likewise.
27278         * malloc/memusagestat.c (print_version): Likewise.
27279         * malloc/mtrace.pl: Likewise.
27280         * manual/libc.texinfo: Likewise.
27281         * nptl/version.c (banner): Likewise.
27282         * nscd/nscd.c (print_version): Likewise.
27283         * nss/getent.c (print_version): Likewise.
27284         * nss/makedb.c (print_version): Likewise.
27285         * posix/getconf.c (main): Likewise.
27286         * scripts/test-installation.pl: Likewise.
27287         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
27289 2015-01-02  Will Newton  <will.newton@linaro.org>
27291         * sysdeps/arm/armv7/configure: Removed.
27292         * sysdeps/arm/armv7/configure.ac: Likewise.
27294 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
27296         * All files with FSF copyright notices: Update copyright dates
27297         using scripts/update-copyrights.
27298         * intl/plural.c: Regenerated.
27299         * locale/programs/charmap-kw.h: Likewise.
27300         * locale/programs/locfile-kw.h: Likewise.
27302 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27304         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
27306 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
27308         [BZ #17748]
27309         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
27310         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
27311         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
27312         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
27313         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27314         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
27315         define as weak alias of __fegetenv.  Use libm_hidden_weak.
27316         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
27317         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27318         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
27319         define as weak alias of __fegetenv.  Use libm_hidden_weak.
27320         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27321         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
27322         define as weak alias of __fegetenv.  Use libm_hidden_weak.
27323         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
27324         libm_hidden_def.
27325         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
27326         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
27327         Likewise.
27328         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
27329         define as weak alias of __fegetenv.  Use libm_hidden_weak.
27330         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27331         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
27332         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
27333         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
27334         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
27335         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
27336         __fegetenv instead of fegetenv.
27337         (libc_feholdsetround_noex_ctx): Likewise.
27339 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
27341         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
27342         (Elf_MIPS_ABIFlags_v0): New structure.
27343         (EF_MIPS_FP64): Define.
27344         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
27345         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
27346         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
27347         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
27348         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
27349         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
27350         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
27351         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
27352         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
27353         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
27354         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
27355         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
27356         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
27357         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
27358         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
27359         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
27360         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
27361         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
27362         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
27363         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
27364         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
27365         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
27366         field.
27367         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
27368         EF_MIPS_FP64.
27369         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
27370         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
27371         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
27372         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
27373         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
27374         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
27375         * sysdeps/mips/tst-abi-interlink.c: Likewise.
27376         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
27377         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
27378         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
27379         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
27380         record the current FP ABI extension.
27381         (mips-mode-switch): Define to show if kernel headers support mode
27382         switching.
27383         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
27384         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
27385         supported SYSV ABI version to 3.
27386         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
27387         feature.
27389 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27390             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27392         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
27393         path.
27394         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
27396 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
27398         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
27399         __fegetround and redefine to call __fegetround.  Remove condition
27400         on [!__NO_MATH_INLINES].
27401         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
27402         function.
27403         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
27404         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
27405         Remove macro.
27406         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
27407         instead of <fenv_libc.h>.
27408         (__llrintl): Call fegetround instead of __fegetround.
27409         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
27410         instead of <fenv_libc.h>.
27411         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27412         (__lrintl): Call fegetround instead of __fegetround.
27413         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
27414         instead of <fenv_libc.h>.
27415         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27416         (__rintl): Call fegetround instead of __fegetround.
27418 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27420         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
27421         arrays.
27423 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
27425         [BZ #17775]
27426         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
27427         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
27428         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
27430 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27432         * sysdeps/i386/tls-macros.h: Include <features.h>.
27433         (TLS_LE): Use non-PIC version for GCC >= 5.0.
27434         (TLS_IE): Likewise.
27435         (TLS_LD): Likewise.
27436         (TLS_GD): Likewise.
27437         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
27438         define for GCC >= 5.0.
27440 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
27442         * math/test-fenv.c (test_single_exception, set_single_exc,
27443         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
27444         feexcp_mask_test, feenable_test, fe_single_test): Add
27445         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
27446         case where they are not used.
27447         * math/libm-test.inc: Likewise.
27448         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
27449         unused in the absence of FP rounding/exception support.
27450         * stdio-common/tst-printf-round.c: Likewise.
27451         * stdlib/tst-strtod-round.c: Likewise.
27452         * stdlib/tst-strtod-underflow.c: Likewise.
27454 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
27456         [BZ #17723]
27457         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
27458         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
27459         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27460         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27461         libm_hidden_weak.
27462         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
27463         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
27464         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
27465         libm_hidden_def.
27466         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27467         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27468         libm_hidden_weak.
27469         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
27470         Likewise.
27471         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
27472         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27473         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27474         libm_hidden_weak.
27475         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
27476         libm_hidden_def.
27477         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
27478         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
27479         (__feraiseexcept): Likewise.
27480         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
27481         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
27482         libm_hidden_weak.
27483         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
27484         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
27485         libm_hidden_def.
27486         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
27487         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
27488         Use libm_hidden_def.
27489         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
27490         libm_hidden_def.
27491         (feraiseexcept): Define as weak not strong alias.  Use
27492         libm_hidden_weak.
27493         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
27494         New inline function.  Factored out of ...
27495         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
27496         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
27497         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
27498         feraiseexcept.
27499         * math/w_acos.c (__acos): Likewise.
27500         * math/w_asin.c (__asin): Likewise.
27501         * math/w_ilogb.c (__ilogb): Likewise.
27502         * math/w_j0.c (y0): Likewise.
27503         * math/w_j1.c (y1): Likewise.
27504         * math/w_jn.c (yn): Likewise.
27505         * math/w_log.c (__log): Likewise.
27506         * math/w_log10.c (__log10): Likewise.
27507         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
27508         * sysdeps/aarch64/fpu/math_private.h
27509         (libc_feupdateenv_test_aarch64): Likewise.
27510         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
27511         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
27512         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
27513         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
27514         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
27515         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
27516         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
27517         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27518         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27519         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27521 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
27523         [BZ #17732]
27524         * io/test-utime.c (main): Replace %ld with %jd and cast to
27525         intmax_t.
27526         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
27527         * nptl/tst-mutex5.c: Include <stdint.h>.
27528         (do_test): Replace %ld with %jd and cast to intmax_t.
27529         * posix/tst-regex.c (run_test): Likewise.
27530         (run_test_backwards): Likewise.
27531         * rt/tst-clock.c: Include <stdint.h>.
27532         (clock_test): Replace %ld with %jd and cast to intmax_t.
27533         * rt/tst-cpuclock1.c: Include <stdint.h>.
27534         (do_test): Replace %lu with %ju and cast to uintmax_t.
27535         * rt/tst-cpuclock2.c: Include <stdint.h>.
27536         (do_test): Replace %lu with %ju and cast to uintmax_t.
27537         * rt/tst-mqueue1.c: Include <stdint.h>.
27538         (check_attrs): Replace %ld with %jd and cast to intmax_t.
27539         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
27540         intmax_t.
27541         * rt/tst-mqueue4.c (do_test): Likewise.
27542         * rt/tst-timer4.c: Include <stdint.h>.
27543         (check_ts): Replace %ld with %jd and cast to intmax_t.
27544         (do_test): Likewise.
27545         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
27546         and cast to intmax_t.
27547         * sysdeps/pthread/tst-timer.c (main): Likewise.
27548         * time/clocktest.c (main): Likewise.
27549         * time/tst-posixtz.c (do_test): Likewise.
27550         * timezone/tst-timezone.c (main): Likewise.
27552 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27553             H.J. Lu  <hongjiu.lu@intel.com>
27555         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
27556         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
27557         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
27558         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
27559         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
27560         version if bit_Fast_Unaligned_Load is set.
27561         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27562         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27563         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27564         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27565         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27566         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27567         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27568         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
27569         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
27570         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
27571         to 4.
27572         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
27573         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
27574         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
27575         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
27577 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
27579         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
27580         instead of #if to avoid a Wundef warning.
27581         * stdlib/tst-limits.c (do_test): Likewise.
27583         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
27584         parallel other exception macros.
27585         (fegetenv): Convert from macro to extern inline so that it applies
27586         retroactively to inline functions already seen by the compiler.
27587         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
27589         * posix/Makefile (before-compile): Use $(objpfx) for
27590         posix-conf-vars-def.h.
27592 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27594         * posix/getconf.c (main): Use size_t for type of I.
27595         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
27596         NSPEC.
27598         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
27599         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
27600         * posix/posix-envs.def: Likewise.
27601         * sysdeps/posix/sysconf.c: Likewise.
27602         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
27603         (specs): Remove array.
27604         * scripts/gen-posix-conf-vars.awk: Support generation of specs
27605         array.
27607         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
27608         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
27609         (__sysconf): Use CONF_IS_* macros.
27611         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
27612         ($(objpfx)posix-conf-vars-def.h): New target.
27613         * posix/posix-conf-vars.list: New file.
27614         * posix/posix-conf-vars.h: New file.
27615         * posix/confstr.c: Include posix-conf-vars.h.
27616         (confstr): Use CONF_IS_* macros.
27617         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
27618         CONF_IS_* macros.
27619         * scripts/gen-posix-conf-vars.awk: New file.
27621 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
27623         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
27624         fegetround): Add no-op macros to avoid linknamespace issues.
27626         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
27627         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
27629         * sysdeps/unix/sysv/linux/tile/sysdep.h
27630         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
27631         assembly-specific section to avoid a redefinition warning.
27633         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
27634         long before casting to pointer to avoid a cast warning.
27636 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
27638         * sysdeps/tile/tilegx/Implies: New file.
27640 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
27642         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
27644 2014-12-23  Florian Weimer  <fweimer@redhat.com>
27646         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
27648 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
27650         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
27651         not define.
27652         * sysdeps/unix/sysv/linux/utimes.c: Do not include
27653         <kernel-features.h>.
27654         (__utimes) [__NR_utimes]: Make code unconditional.
27655         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
27656         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27657         (__ASSUME_UTIMES): Do not undefine.
27658         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27659         (__ASSUME_UTIMES): Likewise.
27660         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27661         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
27662         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
27663         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
27665 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
27667         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
27669 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
27671         [BZ #17747]
27672         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
27673         alias to weak alias for j0l, y0l.
27674         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
27675         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
27677         [BZ #17746]
27678         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
27679         conversion.
27681 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
27683         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
27684         to zero if not already defined.
27686 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
27688         [BZ #17724]
27689         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
27690         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
27691         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
27692         (char *) casts added.
27693         * sysdeps/ieee754/k_standardf.c: New file.
27694         * sysdeps/ieee754/k_standardl.c: Likewise.
27695         * math/Makefile (libm-support): Remove k_standard.
27696         (libm-calls): Add k_standard.
27698 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27700         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27701         Optimize to avoid an unnecessary FPCR read.
27703 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27705         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
27706         Optimize to reduce FPCR/FPSR accesses.
27708 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27710         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
27711         Call libc_fetestexcept_aarch64.
27713 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27715         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
27716         Call libc_fesetround_aarch64.
27718 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
27720         [BZ #17733]
27721         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
27722         (__bind): Do not define as weak alias.
27723         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
27724         define.
27725         (__getsockname): Do not define as weak alias.
27727 2014-12-22  Will Newton  <will.newton@linaro.org>
27729         * manual/install.texi: Document that we require bison 2.7
27730         or above.
27731         * INSTALL: Regenerate.
27732         * configure.ac: Use AC_CHECK_PROG_VER instead of
27733         AC_PATH_PROG when checking for bison and check for
27734         version 2.7 or above.
27735         * configure: Regenerate.
27737 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
27739         [BZ #17745]
27740         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
27741         * sysdeps/tile/ffsll.c (ffsll): To here.
27743         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
27745 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
27747         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
27748         if not defined.
27749         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
27750         definition.
27751         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
27752         hidden ___tls_get_addr.
27753         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
27754         hidden __tls_get_addr.
27755         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
27756         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
27757         Likewise.
27759 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
27761         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
27762         _dl_init call.
27764 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
27766         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
27767         from "call _dl_init@PLT".
27768         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
27770 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
27772         * manual/search.texi: (Array Sort Function): Clarify stable sorting
27773         guarantees.
27775 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
27777         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
27779 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
27781         [BZ #17744]
27782         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
27783         strnlen.
27785 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
27787         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
27788         of multu on MIPSr6.
27789         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
27790         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
27791         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
27792         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
27793         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
27795 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
27797         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
27798         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
27799         (PTR_SUBU): Use subu for mips32r6/mips64r6.
27800         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
27801         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
27802         mips32r6/mips64r6.
27803         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
27805 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
27807         * string/strncat.c (STRNCAT): Simplify implementation.
27809 2014-12-19  David S. Miller  <davem@davemloft.net>
27811         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
27812         access the quad as both a long double and as a series of 4 words.
27814         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
27815         link_map->l_info array access.
27817 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
27819         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
27821         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
27822         * math/atest-exp2.c (TIMEOUT): Likewise.
27823         * math/atest-sincos.c (TIMEOUT): Likewise.
27825 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
27827         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
27828         -Wno-error with -fno-builtin-lround.
27830 2014-12-19  Torvald Riegel  <triegel@redhat.com>
27832         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
27833         Contains futex constants and functions moved over from ...
27834         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
27835         <lowlevellock-futex.h>.
27836         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
27837         (lll_timedwait_tid): Add comments and parentheses around macro
27838         arguments.
27840 2014-12-19  Torvald Riegel  <triegel@redhat.com>
27842         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
27843         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
27844         (__lll_private_flag): Remove.
27845         (lll_futex_wait): Likewise.
27846         (lll_futex_timed_wait): Likewise.
27847         (lll_futex_wake): Likewise.
27848         (lll_futex_requeue): Likewise.
27849         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
27850         (__lll_timedwait_tid): Spell out argument names.
27851         (lll_timedwait_tid): Add comments and parentheses around macro
27852         arguments.
27853         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
27854         LLL_SHARED and LLL_PRIVATE usable from assembly code.
27856 2014-12-19  Torvald Riegel  <triegel@redhat.com>
27858         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
27859         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27860         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27861         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
27862         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
27863         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
27864         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
27865         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
27866         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
27867         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
27868         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
27869         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
27870         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
27871         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
27872         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
27873         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
27874         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
27875         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
27876         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
27878 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
27880         * sysdeps/x86_64/x32/Makefile: New file.
27882 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
27884         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
27885         1L with (mp_limb_t) 1.
27887 2014-12-17  Roland McGrath  <roland@hack.frob.com>
27889         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
27890         * nptl/libc_pthread_init.c: ... here.
27891         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
27892         * nptl/register-atfork.c: ... here.
27894         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
27895         Use pthread_sigmask rather than INTERNAL_SYSCALL.
27896         Use assert_perror to check its return value.
27897         (__gai_create_helper_thread): Likewise.
27899         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
27901         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
27903 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
27905         [BZ #17725]
27906         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
27907         __profil_counter.
27908         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
27909         Likewise.
27910         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
27911         Likewise.
27912         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
27913         Likewise.
27914         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
27915         (profil_counter): Likewise.
27916         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
27917         (profil_counter): Likewise.
27918         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
27919         Likewise.
27920         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
27921         Likewise.
27922         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
27923         (profil_counter): Likewise.
27924         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
27925         Likewise.
27926         [!__profil_counter] (profil_counter): Define as weak alias of
27927         __profil_counter.
27928         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
27929         (profil_counter): Rename to __profil_counter.
27930         [!__profil_counter] (profil_counter): Define as weak alias of
27931         __profil_counter.
27932         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
27933         (profil_counter): Rename to __profil_counter.
27934         [!__profil_counter] (profil_counter): Define as weak alias of
27935         __profil_counter.
27936         * sysdeps/posix/profil.c: Update comment referring to
27937         profil_counter.
27938         (__profil): Use __profil_counter instead of profil_counter.
27939         * sysdeps/posix/sprofil.c (profil_counter): Rename to
27940         __profil_counter.  Use __profil_counter_ushort and
27941         __profil_counter_uint in definitions.
27942         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
27943         instead of profil_counter_uint and profil_counter_ushort.
27945         [BZ #17722]
27946         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
27947         define as weak alias of __inet_makeaddr.
27948         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
27949         as weak alias of __inet_addr.
27950         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
27951         as weak alias of __inet_pton.  Use libc_hidden_weak.
27952         * include/arpa/inet.h (__inet_pton): Declare.  Use
27953         libc_hidden_proto.
27954         (inet_makeaddr): Don't use libc_hidden_proto.
27955         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
27956         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
27957         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
27958         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
27959         Remove variable.
27960         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
27961         (test-xfail-POSIX/time.h/linknamespace): Likewise.
27963 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
27965         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
27967 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
27969         * stdio-common/bug-vfprintf-nargs.c (do_test):
27970         Cast value to intptr_t to avoid format warning
27971         for usage with PRIdPTR printing macro.
27973 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
27975         * libio/tst-widetext.c (do_test):
27976         Use format type %td instead of %Zd for ptrdiff_t
27977         in order to avoid format warning.
27979 2014-12-17  Andreas Schwab  <schwab@suse.de>
27981         * nscd/mem.c (gc): Add size_t cast to match printf format.
27983 2014-12-16  Roland McGrath  <roland@hack.frob.com>
27985         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
27986         (init): Apply PTR_MANGLE to pointers before storing them.
27987         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
27988         before using them.
27990 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
27992         [BZ #17719]
27993         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
27994         define as weak alias of __memrchr.
27995         (__memrchr): Do not define as strong alias of memrchr.
27996         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
27997         Remove variable.
27998         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
27999         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28000         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28002         [BZ #17717]
28003         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
28004         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
28005         (if_indextoname): Rename to __if_indextoname and define as weak
28006         alias of __if_indextoname.  Use libc_hidden_weak.
28007         (if_freenameindex): Rename to __if_freenameindex and define as
28008         weak alias of __if_freenameindex.
28009         (if_nameindex): Rename to __if_nameindex and define as weak alias
28010         of __if_nameindex.
28011         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
28012         __if_nametoindex and define as weak alias of __if_nametoindex.
28013         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         (if_indextoname): Rename to __if_indextoname and define as weak
28019         alias of __if_indextoname.  Use libc_hidden_weak.
28020         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
28021         __if_nametoindex and define as weak alias of __if_nametoindex.
28022         Use libc_hidden_weak.
28023         (if_freenameindex): Rename to __if_freenameindex and define as
28024         weak alias of __if_freenameindex.  Use libc_hidden_weak.
28025         (if_nameindex_netlink): Use __if_freenameindex instead of
28026         if_freenameindex.
28027         (if_nameindex): Rename to __if_nameindex and define as weak alias
28028         of __if_nameindex.  Use libc_hidden_weak.
28029         (if_indextoname): Rename to __if_indextoname and define as weak
28030         alias of __if_indextoname.  Use libc_hidden_weak.
28031         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
28032         libc_hidden_proto.
28033         [!_ISOMAC] (__if_freenameindex): Likewise.
28034         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
28035         if_nametoindex.
28036         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
28037         variable.
28038         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28039         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28040         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28041         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28042         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28043         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28044         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28046         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
28047         Remove variable.
28048         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28049         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28051 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28053         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
28054         subscript above bounds'
28056         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
28057         bounds.
28059 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
28061         * libio/tst-fopenloc.c: Use test-skeleton.c.
28063         * stdlib/tst-bsearch.c: Use test-skeleton.c.
28064         (entry): Rename to ITEM.
28065         (do_test, comp): Adjust.
28067         * stdio-common/tst-fseek.c: Use test-skeleton.c.
28069 2014-12-16  Torvald Riegel  <triegel@redhat.com>
28071         * string/tester.c: Include <libc-internal.h>.
28072         (test_memset): Ignore -Wmemset-transposed-args.
28074 2014-12-16  Torvald Riegel  <triegel@redhat.com>
28076         * misc/tst-mntent2.c (do_test): Fix warning.
28078 2014-12-16  Torvald Riegel  <triegel@redhat.com>
28080         * elf/tst-unique4lib.cc(a): Mark as used.
28082 2014-12-16  Florian Weimer  <fweimer@redhat.com>
28084         [BZ #17630]
28085         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
28086         names.
28088 2014-12-16  Allan McRae  <allan@archlinux.org>
28090         * stdio-common/Makefile (tests): Re-add bug26.
28092 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
28094         [BZ #17657]
28095         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
28096         static array.
28098 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
28100         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
28101         (__lll_lock_wait): Likewise.
28102         (__lll_timedlock_wait): Likewise.
28103         (__lll_timedwait_tid): Likewise.
28104         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
28105         (__lll_robust_timedlock_wait): Likewise.
28106         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
28107         (lll_cond_trylock): Likewise.
28108         (__lll_lock): Likewise.
28109         (__lll_robust_lock): Likewise.
28110         (__lll_cond_lock): Likewise.
28111         (lll_robust_cond_lock): Likewise.
28112         (__lll_timedlock): Likewise.
28113         (__lll_robust_timedlock): Likewise.
28114         (__lll_unlock): Likewise.
28115         (__lll_robust_unlock): Likewise.
28116         (lll_wait_tid): Likewise.
28117         (lll_timedwait_tid): Likewise.
28119 2014-12-15  Torvald Riegel  <triegel@redhat.com>
28121         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
28123 2014-12-15  Torvald Riegel  <triegel@redhat.com>
28125         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
28127 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
28129         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
28130         * stdio-common/tst-sprintf.c: Likewise.
28132 2014-12-15  Torvald Riegel  <triegel@redhat.com>
28134         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
28136 2014-12-15  Jeff Law  <law@redhat.com>
28138         [BZ #16617]
28139         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
28140         on the heap.  (CVE-2012-3406)
28141         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
28142         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
28143         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
28145 2014-12-15  Will Newton  <will.newton@linaro.org>
28147         * manual/install.texi: Bump required version of texinfo
28148         to 4.7 from 4.5.
28149         * INSTALL: Regenerated.
28150         * configure.ac: Check for makeinfo version 4.7 and above.
28151         * configure: Regenerated.
28153 2014-12-12  Roland McGrath  <roland@hack.frob.com>
28155         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
28156         PREFIX, string constant to insert between directory and name.
28157         * sysdeps/posix/shm_open.c: Update caller.
28158         * sysdeps/posix/shm_unlink.c: Likewise.
28159         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
28160         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
28161         (SEM_SHM_PREFIX): New macro.
28162         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
28163         [$(have-thread-library) = no].
28164         * nptl/Makefile (libpthread-routines): Add shm-directory.
28165         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
28166         * sysdeps/nptl/shm-directory.h: New file.
28167         * sysdeps/posix/shm-directory.c
28168         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
28169         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
28170         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
28171         INTERNAL_SYSCALL.
28172         (__where_is_shmfs): Function removed.
28173         (mountpoint, defaultmount, defaultdir, __namedsem_once):
28174         Variables removed.
28175         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
28176         Use SHM_GET_NAME.
28177         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
28179         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
28180         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
28181         unconditional for use inside libpthread.
28182         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
28184 2014-12-12  Roland McGrath  <roland@hack.frob.com>
28186         * nptl/pthread_getaffinity.c: New file.
28187         * nptl/pthread_setaffinity.c: New file.
28188         * nptl/pthread_getname.c: New file.
28189         * nptl/pthread_setname.c: New file.
28191         * nptl/pthread_create.c (START_THREAD_DEFN)
28192         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
28194 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28195             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28197         * resolv/res_send.c (send_vc): Disable warning resplen may
28198         be used uninitialized.
28200 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28202         * nptl/tst-mutex6.c
28203         (ATTR_NULL): New define checks ATTR against NULL.
28204         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
28205         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
28207 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
28209         [BZ #17581]
28210         * malloc/hooks.c
28211         (mem2mem_check): Revert my previous change.
28212         (malloc_check_get_size): Revert my previous change.
28213         (mem2chunk_check): Revert my previous change.
28215 2014-12-11  Roland McGrath  <roland@hack.frob.com>
28217         * sysdeps/posix/shm-directory.c: New file.
28218         * sysdeps/posix/shm-directory.h: New file.
28219         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
28220         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
28221         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
28222         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
28223         Transmute EPERM to EACCES.
28224         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
28225         from ...
28226         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
28227         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
28229 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28231         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
28232         pointer and cast to uintptr_t.
28233         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
28234         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
28235         Add cast to avoid warning.
28236         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
28238 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
28240         * nptl/semaphore.h: Move to ...
28241         * sysdeps/pthread/semaphore.h: ... here.
28242         * Makefile (installed-headers): Change nptl/semaphore.h to
28243         sysdeps/pthread/semaphore.h.
28245 2014-12-11  Roland McGrath  <roland@hack.frob.com>
28247         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
28248         generated error format strings.
28250         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
28251         -Wformat-extra-args warnings for scanf formats.
28252         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
28253         test of zero-length format (duh).
28254         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
28255         corner-case scanf format test.
28256         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
28257         generated fprintf format string.
28258         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
28259         corner-case sprintf format tests.
28260         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
28261         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
28262         -Wformat-extra-args warnings throughout.
28263         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
28264         (CFLAGS-scanf4.c): Likewise.
28265         (CFLAGS-scanf7.c): Likewise.
28266         (CFLAGS-tst-sprintf.c): Likewise.
28267         (CFLAGS-tst-printf.c): Likewise.
28268         (CFLAGS-tst-printfsz.c): Likewise.
28270 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
28272         * include/cpio.h: New file.
28273         * include/fmtmsg.h: Likewise.
28275         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
28276         corresponding format argument to size_t.
28277         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
28278         arguments.
28279         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
28280         corresponding format argument to size_t.
28281         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
28282         arguments.
28283         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
28284         corresponding format argument to size_t.
28285         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
28286         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
28287         (CFLAGS-tst-mbswcs2.c): Likewise.
28288         (CFLAGS-tst-mbswcs3.c): Likewise.
28289         (CFLAGS-tst-mbswcs4.c): Likewise.
28290         (CFLAGS-tst-mbswcs5.c): Likewise.
28291         (CFLAGS-tst-trans.c): Likewise.
28293 2014-12-11  Roland McGrath  <roland@hack.frob.com>
28295         * posix/regexbug1.c (main): Use "%s" format with regerror results,
28296         rather than assuming they won't contain any '%'s.
28298 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
28300         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
28301         inhibit_loop_to_libcall to avoid recursive calls.
28302         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
28303         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
28305 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
28307         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
28308         prototype.
28310 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
28312         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
28313         integer value instead of boolean.
28315 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
28317         * malloc/malloc.c: Fix powerof2 check.
28319 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
28321         * locale/programs/locfile.h (maybe_swap_uint32):
28322         Remove inline and add unused attribute.
28324 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
28326         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
28327         Truncating assembler expression to a .long expression.
28329 2014-12-11  Andreas Schwab  <schwab@suse.de>
28331         * elf/rtld.c (struct map_args): Constify str member.
28332         (do_preload): Constify fname argument.
28334 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28336         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
28337         constants definition.
28339 2014-12-11  Andreas Schwab  <schwab@suse.de>
28341         [BZ #16657]
28342         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
28343         FORCE_ELISION instead of DO_ELISION.
28344         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
28345         Remove.
28346         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
28347         Likewise.
28349         * iconvdata/gconv-modules: Remove duplicate entry.
28351 2014-12-11  Will Newton  <will.newton@linaro.org>
28353         Merge gettext 0.19.3 into intl/.
28355         This involves a number of cosmetic changes to comments
28356         and ANSI function definitions and prototypes throughout
28357         all the files. The gettext copyright header is used but
28358         with the date ranges taken from the glibc copy.
28360         * NEWS: Add gettext merge to 2.21.
28361         * intl/bindtextdom.c: Switch to gettext copyright.
28362         Use ANSI definitions and prototypes.
28363         Use gl_* locking primitives rather than __libc_* ones.
28364         Use __builtin_expect rather than __glibc_likely/unlikely.
28365         * intl/dcgettext.c: Switch to gettext copyright.
28366         Use ANSI definitions and prototypes.
28367         * intl/dcigettext.c: Switch to gettext copyright.
28368         Use ANSI definitions and prototypes.
28369         (INTDIV0_RAISES_SIGFPE): New define.
28370         Use gl_* locking primitives rather than __libc_* ones.
28371         Include eval-plural.h instead of plural-eval.c.
28372         Use __builtin_expect rather than __glibc_likely/unlikely.
28373         * intl/dcngettext.c: Switch to gettext copyright.
28374         Use ANSI definitions and prototypes.
28375         * intl/dgettext.c: Likewise.
28376         * intl/dngettext.c: Likewise.
28377         * intl/plural-eval.c: Renamed to...
28378         * intl/eval-plural.h: ...this.
28379         * intl/explodename.c: Switch to gettext copyright.
28380         Use ANSI definitions and prototypes.
28381         (_nl_explode_name): Use strchr instead of __rawmemchr.
28382         * intl/finddomain.c: Switch to gettext copyright.
28383         Use ANSI definitions and prototypes.
28384         Use gl_* locking primitives rather than __libc_* ones.
28385         (_nl_find_domain): Use malloc rather than alloca for
28386         allocation of temporary locale name.
28387         * intl/gettext.c: Switch to gettext copyright.
28388         Use ANSI definitions and prototypes.
28389         * intl/gettextP.h: Switch to gettext copyright.
28390         Use ANSI definitions and prototypes.
28391         Use gl_* locking primitives rather than __libc_* ones.
28392         * intl/gmo.h: Switch to gettext copyright.
28393         (struct sysdep_string): Move struct segment_pair outside of
28394         struct definition.
28395         * intl/hash-string.c: Use ANSI definitions and prototypes.
28396         * intl/hash-string.h: Switch to gettext copyright.
28397         Use ANSI definitions and prototypes.
28398         * intl/l10nflist.c: Switch to gettext copyright.
28399         Use ANSI definitions and prototypes.
28400         (_nl_normalize_codeset): Avoid integer overflow.
28401         * intl/loadinfo.h: Switch to gettext copyright.
28402         Use ANSI definitions and prototypes.
28403         (LIBINTL_DLL_EXPORTED): New define.
28404         (PATH_SEPARATOR): New define.
28405         * intl/loadmsgcat.c: Switch to gettext copyright.
28406         * intl/localealias.c: Switch to gettext copyright.
28407         Use ANSI definitions and prototypes.
28408         (_nl_expand_alias): Use PATH_SEPARATOR.
28409         * intl/ngettext.c: Switch to gettext copyright.
28410         Use ANSI definitions and prototypes.
28411         * intl/plural-exp.c: Likewise.
28412         * intl/plural-exp.h: Switch to gettext copyright.
28413         Use ANSI definitions and prototypes.
28414         (struct expression): Move definition of enum operator outside
28415         of struct definition.
28416         * intl/plural.c: Regenerate.
28417         * intl/plural.y: Switch to gettext copyright.
28418         Use ANSI definitions and prototypes.
28419         Port to bison 3.0.
28420         * intl/textdomain.c: Switch to gettext copyright.
28421         Use ANSI definitions and prototypes.
28422         Use gl_* locking primitives rather than __libc_* ones.
28424 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
28426         * debug/warning-nop.c: Add used atrribute.
28428 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28430         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
28432         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
28433         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
28434         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
28436 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28437             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28439         [BZ #17634]
28440         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
28441         Undefine after defining function.  Define as weak alias of
28442         __wcschr.  Use libc_hidden_weak.
28443         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
28444         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
28445         (libc_hidden_def): Also define __GI___wcschr alias.
28446         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
28447         __wcschr and define as weak alias of __wcschr.
28448         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
28449         __wcschr.
28450         [!WCSCHR] (DEFAULT_WCSCHR): Define.
28451         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
28452         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
28453         libc_hidden_weak.  Do not use libc_hidden_def.
28454         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
28455         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
28456         __GI___wcschr alias.
28457         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
28458         [IS_IN (libc)] (wcschr): Define as macro expanding to
28459         __redirect_wcschr.
28460         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
28461         [IS_IN (libc)] (__wcschr_power6): Likewise.
28462         [IS_IN (libc)] (__wcschr_power7): Likewise.
28463         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
28464         instead of wcschr.
28465         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
28466         __libc_wcschr.
28467         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
28468         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
28469         __wcschr and define as weak alias of __wcschr.  Use
28470         libc_hidden_builtin_def.
28471         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
28472         as weak alias of __wcschr.  Use libc_hidden_weak.
28473         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
28474         wcschr.
28475         * time/era.c (_nl_init_era_entries): Likewise.
28476         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
28477         variable.
28478         (test-xfail-XPG3/time.h/linknamespace): Likewise.
28479         (test-xfail-XPG4/time.h/linknamespace): Likewise.
28481 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28483         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
28484         format for long int variable.
28486 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
28488         [BZ #10672]
28489         * manual/search.texi: (Array Sort Function): Remove claim how to make
28490         qsort stable.
28492 2014-12-10  Andreas Schwab  <schwab@suse.de>
28494         [BZ #12847]
28495         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
28496         user-controlled locks.
28498 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
28500         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
28501         register.
28503 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
28505         * configure.ac (--disable-werror): New configure option.
28506         (enable_werror): New AC_SUBST.
28507         * configure: Regenerated.
28508         * config.make.in (enable-werror): New variable.
28509         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
28510         -Wno-error=undef.
28511         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
28512         * manual/install.texi (Configuring and compiling): Document
28513         --disable-werror.
28514         * INSTALL: Regenerated.
28515         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
28516         (CFLAGS-tst-chk2.c): Likewise.
28517         (CFLAGS-tst-chk3.c): Likewise.
28518         (CFLAGS-tst-chk4.cc): Likewise.
28519         (CFLAGS-tst-chk5.cc): Likewise.
28520         (CFLAGS-tst-chk6.cc): Likewise.
28521         (CFLAGS-tst-lfschk1.c): Likewise.
28522         (CFLAGS-tst-lfschk2.c): Likewise.
28523         (CFLAGS-tst-lfschk3.c): Likewise.
28524         (CFLAGS-tst-lfschk4.cc): Likewise.
28525         (CFLAGS-tst-lfschk5.cc): Likewise.
28526         (CFLAGS-tst-lfschk6.cc): Likewise.
28528         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
28529         (main): Disable -Wdeprecated-declarations around calls to
28530         register_printf_function.
28532         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
28533         (do_test): Disable -Wdiv-by-zero around some calls to
28534         fwrite_unlocked and fread_unlocked.
28536         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
28537         (DIAG_POP_NEEDS_COMMENT): Likewise.
28538         (_DIAG_STR1): Likewise.
28539         (_DIAG_STR): Likewise.
28540         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
28541         * stdio-common/bug21.c: Include <libc-internal.h>.
28542         (do_test): Disable -Wformat around call to sscanf.
28543         * stdio-common/scanf14.c: Include <libc-internal.h>.
28544         (main): Disable -Wformat around some calls to scanf functions.
28546 2014-12-09  Torvald Riegel  <triegel@redhat.com>
28548         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
28550 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28552         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
28553         stack variable alignment.
28555 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
28557         [BZ #17682]
28558         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
28559         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
28560         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
28561         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
28562         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
28563         __getrlimit instead of getrlimit.
28564         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
28565         __gettimeofday instead of gettimeofday.
28566         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28567         Likewise.
28568         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28569         Likewise.
28570         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28571         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
28572         Remove variable.
28573         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28574         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28576 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28578         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
28579         for wide-character tests.
28581 2014-12-04  Roland McGrath  <roland@hack.frob.com>
28583         * io/openat64.c: #include <libc-internal.h>
28584         (__openat64): Prototypify.  Use ignore_value on MODE.
28585         * io/openat.c: Likewise.
28586         * misc/reboot.c: #include <libc-internal.h>
28587         (reboot): Prototypify.  Use ignore_value on HOWTO.
28588         * misc/ptrace.c: #include <libc-internal.h>
28589         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
28591 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
28593         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
28594         XPG4, UNIX98 and XOPEN2K.
28595         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
28596         Remove variable.
28597         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28599 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28601         * libio/fileops.c: Use ISO C style for function definitions.
28602         * libio/iofopen.c: Likewise.
28603         * libio/wfileops.c: Likewise.
28605         [BZ #17653]
28606         * libio/fileops.c (_IO_new_file_underflow): Unset cached
28607         offset on EOF.
28608         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
28609         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
28610         (fgets_func): Function pointer to fgets and fgetws.
28611         (do_ftell_test): Add test to verify ftell value after read
28612         EOF.
28613         (do_test): Set fgets_func.
28615         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
28616         O_TRUNC flag for w and w+ modes.
28617         (do_rewind_test): Likewise.
28618         (do_ftell_test): Likewise.
28619         (do_write_test): Likewise.
28621         [BZ #17647]
28622         * libio/fileops.c (do_ftell): Seek only when there are
28623         unflushed writes.
28624         * libio/wfileops.c (do_ftell_wide): Likewise.
28625         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
28626         test case.
28627         (do_one_test): Call it.
28629 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
28631         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
28632         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
28633         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
28634         Remove variable.
28635         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28636         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28637         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28639 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
28641         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
28642         Remove variable.
28643         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28645         [BZ #17668]
28646         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
28647         as weak alias of __getifaddrs.  Use libc_hidden_weak.
28648         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28649         __freeifaddrs.  Use libc_hidden_weak.
28650         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
28651         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
28652         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28653         __freeifaddrs.  Use libc_hidden_weak.
28654         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
28655         __getifaddrs and define as weak alias of __getifaddrs.  Use
28656         libc_hidden_weak.
28657         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28658         __freeifaddrs.  Use libc_hidden_weak.
28659         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
28660         Remove variable.
28661         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28662         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28664 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
28666         [BZ #17601]
28667         * sysdeps/mips/start.S (__start): Use indirect jump to call
28668         __libc_start_main.
28670 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
28672         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
28674         * nptl/tst-mutex1.c: Include <stdbool.h>.
28675         [!ATTR] (ATTR_NULL): New macro.
28676         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
28677         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
28678         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
28680         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
28681         to char *.
28683         [BZ #17665]
28684         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
28685         Change conditional to [__USE_MISC].
28687         [BZ #17664]
28688         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
28689         fgets_unlocked.
28690         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
28691         __fgets_unlocked.
28692         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
28693         fgets_unlocked.
28694         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
28695         Remove variable.
28696         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28697         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28698         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28699         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28700         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28701         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28702         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
28703         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28704         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28706         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
28708 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28710         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28711         Remove strpbrk objects.
28712         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28713         (__libc_ifunc_impl_list): Remove strpbrk implementation.
28714         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
28715         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
28716         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
28717         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
28719         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28720         Remove strcspn objects.
28721         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28722         (__libc_ifunc_impl_list): Remove strcspn implementation.
28723         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
28724         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
28725         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
28726         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
28728         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28729         Remove strspn objetcs.
28730         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28731         (__libc_ifunc_impl_list): Remove strspn implementation.
28732         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
28733         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
28734         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
28735         * sysdeps/powerpc/powerpc64/strspn.S: New file.
28737 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
28739         [BZ #17581]
28740         * malloc/hooks.c
28741         (mem2mem_check): Add a terminator to the chain of checking blocks.
28742         (malloc_check_get_size): Use it here.
28743         (mem2chunk_check): Ditto.
28745 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28747         * sysdeps/powerpc/powerpc64/strtok.S: New file.
28748         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
28750 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
28752         * bits/ioctl-types.h: Indent preprocessor directives correctly.
28754         * nptl/nptl-init.c: Include libc-internal.h.
28755         (__pthread_initialize_minimal_internal): Use ROUND_UP.
28757         * elf/ldconfig.c (search_dir): Expand comment.
28759 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
28761         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
28762         variable.
28763         (linknamespace-symlist-stdlibs-tests): Likewise.
28764         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
28765         instead of $(objpfx)symlist-stdlibs.
28766         (linknamespace-libs-isoc): New variable.
28767         (linknamespace-libs): Use $(linknamespace-libs-isoc).
28768         (linknamespace-libs-ISO): New variable.
28769         (linknamespace-libs-ISO99): Likewise.
28770         (linknamespace-libs-ISO11): Likewise.
28771         (linknamespace-libs-XPG3): Likewise.
28772         (linknamespace-libs-XPG4): Likewise.
28773         (linknamespace-libs-POSIX): Likewise.
28774         (linknamespace-libs-UNIX98): Likewise.
28775         (linknamespace-libs-XOPEN2K): Likewise.
28776         (linknamespace-libs-POSIX2008): Likewise.
28777         (linknamespace-libs-XOPEN2K8): Likewise.
28778         ($(objpfx)symlist-stdlibs): Replace by
28779         $(linknamespace-symlist-stdlibs-tests).  Use
28780         $(linknamespace-libs-$*) as set of libraries.
28781         ($(linknamespace-header-tests)): Update dependencies.  Use
28782         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
28783         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
28784         * conform/linknamespace.pl: Remove comment about considering
28785         definitions of symbols from irrelevant libraries.
28787 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
28789         [BZ #13862]
28790         * elf/dl-tls.c: Include <atomic.h>.
28791         (oom): Remove #ifdef SHARED/#endif.
28792         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
28793         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
28794         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
28795         big enough.
28796         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
28797         * nptl/Makefile (tests): Add tst-stack4.
28798         (modules-names): Add tst-stack4mod.
28799         ($(objpfx)tst-stack4): New.
28800         (tst-stack4mod.sos): Likewise.
28801         ($(objpfx)tst-stack4.out): Likewise.
28802         ($(tst-stack4mod.sos)): Likewise.
28803         (clean): Likewise.
28804         * nptl/tst-stack4.c: New file.
28805         * nptl/tst-stack4mod.c: Likewise.
28807 2014-11-27  J. Brown  <jb999@gmx.de>
28809         * sysdeps/x86/bits/string.h: Add recent CPUs.
28811 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
28813         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
28814         sigblock.
28816         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
28817         feof.
28819         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
28820         variable.
28822 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
28824         * nscd/connections.c: Include libc-internal.h because of macro
28825         usage ignore_value.
28827 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28829         * string/bits/string3.h (__warn_memset_zero_len): Don't
28830         declare for gcc newer than 5.0.
28831         (memset): Don't test for zero-length __LEN for gcc newer than
28832         5.0.
28834 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
28836         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
28837         size_t for %zu format.
28839         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
28840         difference, not %ju.
28842 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
28844         * include/libc-internal.h (ignore_value): New macro.
28845         * nscd/connections.c (restart): Wrap calls to setuid and setgid
28846         with ignore_value.
28848         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
28849         definition.
28851         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
28852         pthread_cleanup_push to void *.
28854         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
28855         Undefine.
28857         [BZ #16619]
28858         [BZ #16740]
28859         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
28860         instead of 1L << 52.
28862         * libio/bug-rewind.c (do_test): Check fwscanf return values.
28863         * libio/bug-rewind2.c (do_test): Likewise.
28865         * debug/test-stpcpy_chk-ifunc.c: Remove file.
28866         * debug/test-strcpy_chk-ifunc.c: Likewise.
28867         * wcsmbs/test-wcschr-ifunc.c: Likewise.
28868         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28869         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28870         * wcsmbs/test-wcslen-ifunc.c: Likewise.
28871         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28872         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28873         * Rules [$(multi-arch) = no] (tests): Do not filter out
28874         $(tests-ifunc).
28875         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
28876         * debug/Makefile (tests-ifunc): Remove variable.
28877         (tests): Do not add $(tests-ifunc).
28878         * wcsmbs/Makefile (tests-ifunc): Remove variable.
28879         (tests): Do not add $(tests-ifunc).
28880         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
28881         [TEST_IFUNC]: Remove conditionals.
28882         * string/test-string.h (TEST_IFUNC): Remove macro.
28883         [TEST_IFUNC]: Remove conditionals.
28885         * string/test-strchr.c [!WIDE] (L): New macro.
28886         [WIDE] (L): Likewise.
28887         (check1): Use CHAR instead of char.  Use L on string and character
28888         constants.
28890 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
28892         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
28893         tests.
28894         * sysdeps/powerpc/bits/atomic.h
28895         (__arch_atomic_exchange_and_add_32_acq): Add definition.
28896         (__arch_atomic_exchange_and_add_32_rel): Likewise.
28897         (atomic_exchange_and_add_acq): Likewise.
28898         (atomic_exchange_and_add_rel): Likewise.
28899         * sysdeps/powerpc/powerpc32/bits/atomic.h
28900         (__arch_atomic_exchange_and_add_64_acq): Add definition.
28901         (__arch_atomic_exchange_and_add_64_rel): Likewise.
28902         * sysdeps/powerpc/powerpc64/bits/atomic.h
28903         (__arch_atomic_exchange_and_add_64_acq): Add definition.
28904         (__arch_atomic_exchange_and_add_64_rel): Likewise.
28906 2014-11-26  Torvald Riegel  <triegel@redhat.com>
28908         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
28909         Change synchronization of __sched_fifo_min_prio and
28910         __sched_fifo_max_prio.
28911         * nptl/pthread_mutexattr_getprioceiling.c
28912         (pthread_mutexattr_getprioceiling): Likewise.
28913         * nptl/pthread_mutexattr_setprioceiling.c
28914         (pthread_mutexattr_setprioceiling): Likewise.
28915         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28916         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
28917         Likewise.
28919 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
28921         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
28922         void.
28924 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
28926         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
28927         third argument const.
28929 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
28931         fnmatch: work around GCC compiler warning bug with uninit var
28932         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
28933         This works around a bug with x86-64 GCC 4.9.2 and earlier
28934         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
28935         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
28936         used uninitialized in this function [-Wmaybe-uninitialized]".
28938 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
28940         * posix/bug-regex31.c (main): Return RES not 0.
28942 2014-11-25  Anton Blanchard <anton@samba.org>
28944         * sysdeps/powerpc/bits/atomic.h
28945         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
28947 2014-11-24  Sterling Augustine  <saugustine@google.com>
28949         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
28951 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
28953         [BZ #17608]
28954         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
28956 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
28958         [BZ #17633]
28959         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
28960         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
28961         variable.
28962         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28963         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28965 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
28967         * string/strncpy.c (strncpy): Improve performance by using memset.
28969 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
28971         * string/strcpy.c (strcpy):
28972         Improve performance by using strlen and memcpy.
28974 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
28976         * string/strcoll_l.c (get_next_seq): __always_inline.
28977         * string/strcoll_l.c (do_compare): __always_inline.
28979 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28981         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
28982         defined.
28983         * include/mqueue.h: Likewise.
28984         * include/stdlib.h: Likewise.
28986         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
28987         (get_null_defines): Adjust.
28988         * sunrpc/Makefile: Adjust comment.
28989         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
28990         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
28991         (CFLAGS-interp.c): Likewise.
28992         (CFLAGS-ldconfig.c): Likewise.
28993         (CPPFLAGS-.os): Likewise.
28994         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28995         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
28996         * extra-modules.mk (extra-modules.mk): Likewise.
28997         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
28998         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
28999         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
29000         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
29001         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
29002         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
29003         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
29004         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
29005         * iconvdata/Makefile (CPPFLAGS): Likewise.
29006         (cpp-srcs-left): Add libof for all iconvdata routines.
29007         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
29008         * include/assert.h: Likewise.
29009         * include/ctype.h: Likewise.
29010         * include/errno.h: Likewise.
29011         * include/libc-symbols.h: Likewise.
29012         * include/math.h: Likewise.
29013         * include/netdb.h: Likewise.
29014         * include/resolv.h: Likewise.
29015         * include/stdio.h: Likewise.
29016         * include/stdlib.h: Likewise.
29017         * include/string.h: Likewise.
29018         * include/sys/stat.h: Likewise.
29019         * include/wctype.h: Likewise.
29020         * intl/l10nflist.c: Likewise.
29021         * libidn/idn-stub.c: Likewise.
29022         * libio/libioP.h: Likewise.
29023         * nptl/libc_multiple_threads.c: Likewise.
29024         * nptl/pthreadP.h: Likewise.
29025         * posix/regex_internal.h: Likewise.
29026         * resolv/res_hconf.c: Likewise.
29027         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
29028         * sysdeps/arm/memmove.S: Likewise.
29029         * sysdeps/arm/sysdep.h: Likewise.
29030         * sysdeps/generic/_itoa.h: Likewise.
29031         * sysdeps/generic/symbol-hacks.h: Likewise.
29032         * sysdeps/gnu/errlist.awk: Likewise.
29033         * sysdeps/gnu/errlist.c: Likewise.
29034         * sysdeps/i386/i586/memcpy.S: Likewise.
29035         * sysdeps/i386/i586/memset.S: Likewise.
29036         * sysdeps/i386/i686/memcpy.S: Likewise.
29037         * sysdeps/i386/i686/memmove.S: Likewise.
29038         * sysdeps/i386/i686/mempcpy.S: Likewise.
29039         * sysdeps/i386/i686/memset.S: Likewise.
29040         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29041         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29042         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
29043         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
29044         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29045         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29046         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
29047         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29048         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29049         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29050         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29051         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29052         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29053         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29054         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29055         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29056         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
29057         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
29058         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
29059         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29060         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29061         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29062         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29063         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29064         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29065         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29066         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
29067         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29068         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
29069         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29070         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29071         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29072         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29073         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29074         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29075         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29076         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29077         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29078         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29079         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29080         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29081         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29082         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29083         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29084         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29085         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29086         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
29087         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
29088         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29089         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29090         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29091         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
29092         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
29093         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29094         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29095         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
29096         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29097         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
29098         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
29099         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29100         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29101         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29102         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
29103         * sysdeps/nptl/bits/libc-lock.h: Likewise.
29104         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
29105         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
29106         * sysdeps/posix/closedir.c: Likewise.
29107         * sysdeps/posix/opendir.c: Likewise.
29108         * sysdeps/posix/readdir.c: Likewise.
29109         * sysdeps/posix/rewinddir.c: Likewise.
29110         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
29111         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
29112         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
29113         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29114         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29115         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
29116         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
29117         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
29118         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
29119         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
29120         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
29121         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
29122         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
29123         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
29124         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
29125         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
29126         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
29127         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
29128         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
29129         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
29130         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
29131         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
29132         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
29133         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
29134         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
29135         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
29136         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
29137         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
29138         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
29139         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
29140         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
29141         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
29142         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
29143         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
29144         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
29145         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
29146         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29147         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29148         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
29149         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
29150         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
29151         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
29152         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
29153         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
29154         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
29155         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
29156         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
29157         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
29158         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
29159         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
29160         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
29161         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
29162         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
29163         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
29164         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
29165         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
29166         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
29167         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
29168         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
29169         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
29170         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
29171         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
29172         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
29173         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
29174         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
29175         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
29176         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
29177         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
29178         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
29179         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
29180         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
29181         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
29182         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
29183         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
29184         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
29185         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
29186         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
29187         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
29188         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
29189         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
29190         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
29191         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
29192         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
29193         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
29194         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
29195         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
29196         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
29197         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
29198         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
29199         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29200         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
29201         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
29202         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
29203         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29204         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29205         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
29206         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29207         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29208         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
29209         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
29210         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29211         * sysdeps/unix/alpha/sysdep.S: Likewise.
29212         * sysdeps/unix/alpha/sysdep.h: Likewise.
29213         * sysdeps/unix/make-syscalls.sh: Likewise.
29214         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29215         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29216         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29217         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
29218         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29219         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
29220         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
29221         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29222         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29223         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
29224         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29225         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29226         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29227         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
29228         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29229         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29230         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29231         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
29232         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
29233         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29234         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
29235         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29236         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29237         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29238         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29239         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29240         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
29242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29243         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
29244         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29245         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29246         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29247         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29248         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
29249         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29250         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29251         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29252         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
29253         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
29254         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29255         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29256         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29257         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
29258         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29259         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29260         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29261         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29262         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29263         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29264         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29265         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29266         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29267         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29268         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
29269         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29270         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29271         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29272         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
29273         * sysdeps/x86_64/memcpy.S: Likewise.
29274         * sysdeps/x86_64/memmove.c: Likewise.
29275         * sysdeps/x86_64/memset.S: Likewise.
29276         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
29277         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29278         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
29279         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
29280         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
29281         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29282         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29283         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29284         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29285         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29286         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29287         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29288         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
29289         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29290         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29291         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
29292         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29293         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29294         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29295         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29296         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
29297         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29298         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29299         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29300         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29301         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29302         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29303         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
29304         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29305         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29306         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
29307         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29308         * sysdeps/x86_64/strcmp.S: Likewise.
29310         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
29312         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
29313         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
29314         * elf/rtld-Rules: Likewise.
29315         * elf/setup-vdso.h: Likewise.
29316         * include/assert.h: Likewise.
29317         * include/bits/stdlib-float.h: Likewise.
29318         * include/errno.h: Likewise.
29319         * include/sys/stat.h: Likewise.
29320         * include/unistd.h: Likewise.
29321         * sysdeps/aarch64/setjmp.S: Likewise.
29322         * sysdeps/alpha/setjmp.S: Likewise.
29323         * sysdeps/arm/__longjmp.S: Likewise.
29324         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
29325         * sysdeps/arm/setjmp.S: Likewise.
29326         * sysdeps/arm/sysdep.h: Likewise.
29327         * sysdeps/generic/_itoa.h: Likewise.
29328         * sysdeps/generic/dl-sysdep.h: Likewise.
29329         * sysdeps/generic/ldsodefs.h: Likewise.
29330         * sysdeps/i386/dl-tls.h: Likewise.
29331         * sysdeps/i386/setjmp.S: Likewise.
29332         * sysdeps/m68k/setjmp.c: Likewise.
29333         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
29334         * sysdeps/mach/hurd/opendir.c: Likewise.
29335         * sysdeps/posix/getcwd.c: Likewise.
29336         * sysdeps/posix/opendir.c: Likewise.
29337         * sysdeps/posix/profil.c: Likewise.
29338         * sysdeps/powerpc/dl-procinfo.h: Likewise.
29339         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29340         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29341         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
29342         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29343         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
29344         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
29345         * sysdeps/s390/dl-tls.h: Likewise.
29346         * sysdeps/s390/s390-32/setjmp.S: Likewise.
29347         * sysdeps/s390/s390-64/setjmp.S: Likewise.
29348         * sysdeps/sh/sh3/setjmp.S: Likewise.
29349         * sysdeps/sh/sh4/setjmp.S: Likewise.
29350         * sysdeps/unix/alpha/sysdep.h: Likewise.
29351         * sysdeps/unix/arm/sysdep.S: Likewise.
29352         * sysdeps/unix/i386/sysdep.S: Likewise.
29353         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29354         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
29355         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29356         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29357         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29358         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
29359         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
29360         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29361         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
29362         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
29363         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
29364         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29365         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29368         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29369         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29370         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29371         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29372         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29373         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29374         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29375         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29376         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29377         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29378         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29379         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29380         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29381         * sysdeps/x86_64/setjmp.S: Likewise.
29383         * include/math.h: Use IS_IN instead of IS_IN_libm.
29384         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
29385         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29386         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29387         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
29388         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29389         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29390         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29391         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29392         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29393         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29394         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
29395         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
29396         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
29397         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
29398         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
29399         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
29400         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
29401         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
29402         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
29403         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
29404         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
29405         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
29406         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
29407         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
29408         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
29409         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
29410         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
29411         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
29412         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
29413         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
29414         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
29415         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
29416         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
29417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
29418         Likewise.
29419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
29420         Likewise.
29421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
29422         Likewise.
29423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
29424         Likewise.
29425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
29426         Likewise.
29427         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
29428         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
29429         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29430         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29431         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29432         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
29434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
29435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
29436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
29437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
29438         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
29439         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
29440         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
29441         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
29442         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29443         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
29444         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
29445         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29446         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
29447         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
29448         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
29449         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
29450         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
29451         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
29452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
29453         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
29455         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
29456         * nptl/pthreadP.h: Likewise.
29457         * nptl_db/structs.def: Likewise.
29458         * sysdeps/arm/sysdep.h: Likewise.
29459         * sysdeps/nptl/bits/libc-lock.h: Likewise.
29460         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
29461         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
29462         * sysdeps/unix/alpha/sysdep.h: Likewise.
29463         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29464         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29465         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29466         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29467         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29468         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29469         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29470         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29471         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29472         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29473         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29474         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29475         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29476         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
29478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
29479         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29480         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29481         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29482         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29483         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29484         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29485         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29486         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29487         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
29488         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29490         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
29491         * nptl/pthreadP.h: Likewise.
29492         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
29493         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
29494         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
29495         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
29496         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
29497         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
29498         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29499         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
29500         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
29501         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
29502         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
29503         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
29504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
29505         Likewise.
29506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
29507         Likewise.
29508         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
29509         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
29510         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
29511         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
29512         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
29513         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
29514         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
29515         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29517         * dlfcn/dladdr.c: Use IS_IN.
29518         * dlfcn/dladdr1.c: Likewise.
29519         * dlfcn/dlclose.c: Likewise.
29520         * dlfcn/dlerror.c: Likewise.
29521         * dlfcn/dlinfo.c: Likewise.
29522         * dlfcn/dlmopen.c: Likewise.
29523         * dlfcn/dlopen.c: Likewise.
29524         * dlfcn/dlsym.c: Likewise.
29525         * dlfcn/dlvsym.c: Likewise.
29527         * include/ifaddrs.h: Use IS_IN.
29528         * inet/check_pf.c: Likewise.
29529         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29530         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
29532         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
29533         IS_IN_ldconfig.
29534         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
29535         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
29537         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
29538         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
29539         IS_IN (libc).
29541         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
29543         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
29544         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29545         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
29546         * include/libc-symbols.h (IS_IN_LIB): New macro.
29547         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
29548         * include/netdb.h: Likewise.
29549         * include/stap-probe.h: Remove all uses of IN_LIB.
29551         * Makeconfig (module-cppflags-real): Define MODULE_NAME
29552         instead of IN_MODULE.
29553         * include/libc-symbols.h (IN_MODULE): Define using
29554         MODULE_NAME.
29555         (PASTE_NAME, PASTE_NAME1): New macros.
29556         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
29557         of IN_LIB.
29558         (STAP_PROBE_ASM): Likewise.
29560 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29562         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
29563         __mach_init in dlopened libc.
29565 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
29567         * sysdeps/arm/preconfigure.ac: Delete EABI check.
29568         * sysdeps/arm/preconfigure: Regenerate.
29570 2014-11-21  Roland McGrath  <roland@hack.frob.com>
29572         * nptl/pthread_create.c (__pthread_create_2_1): Set
29573         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
29574         when copying values from IATTR into PD.
29576 2014-11-21  Will Newton  <will.newton@linaro.org>
29577             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
29579         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
29580         Refactor inline-asm.  Also add comment.
29582         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
29583         ElfW macro instead of hardcoded Elf64 types.
29584         (la_aarch64_gnu_pltenter): Likewise.
29585         * sysdeps/aarch64/dl-machine.h
29586         (elf_machine_runtime_setup): Use ElfW(Addr).
29588         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
29589         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
29590         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
29591         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
29592         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
29593         (R_AARCH64_TLS_DTPMOD64): Rename to ..
29594         (R_AARCH64_TLS_DTPMOD): This.
29595         (R_AARCH64_TLS_DTPREL64): Rename to ...
29596         (R_AARCH64_TLS_DTPREL): This.
29597         (R_AARCH64_TLS_TPREL64): Rename to ...
29598         (R_AARCH64_TLS_TPREL): This.
29599         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
29600         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
29601         R_AARCH64_TLS_TPREL64.
29602         (elf_machine_rela): Likewise.
29604 2014-11-21  Torvald Riegel  <triegel@redhat.com>
29606         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
29607         by setting it to 0.  64b atomics are not supported currently.
29609 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29611         [BZ #16469]
29612         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
29613         search domain names.
29615 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29617         [BZ #16469]
29618         * NEWS: Update.
29619         * resolv/res_query.c (__libc_res_nquerydomain): Retain
29620         trailing dot.
29621         * posix/tst-getaddrinfo5.c: New.
29622         * posix/Makefile (tests): Add it.
29624 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29626         [BZ #14498]
29627         * NEWS: Fixed.
29628         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
29629         after parsing line but before break_if_match.
29630         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
29631         if there is a protocol mismatch.
29633 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
29635         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
29636         because the potential race is on the user-supplied stream.
29638 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29640         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
29641         string literal if not passed a buffer.
29642         * manual/job.texi (ctermid): Update reasoning, note deviation
29643         from posix, suggest mtasurace when not passed a buffer, for
29644         future non-preliminary safety notes.
29646 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29648         * manual/users.texi (cuserid): Fix MT-Safety note for the case
29649         of not passing it a buffer.
29650         Reported by Peng Haitao.
29652 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29654         * manual/Makefile ($(objpfx)stamp-summary): Require
29655         check-safety.sh to pass.
29656         * manual/check-safety.sh: Wish for verification that every
29657         @deftypefn and @deftypefun is followed by a @safety remark.
29659 2014-11-20  Roland McGrath  <roland@hack.frob.com>
29661         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
29663         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
29664         PTHREAD_CANCEL_ASYNCHRONOUS.
29665         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
29666         send SIGCANCEL.
29668         * nptl/default-sched.h: New file.
29669         * sysdeps/unix/sysv/linux/default-sched.h: New file.
29670         * nptl/pthread_create.c: Include it.
29671         (__pthread_create_2_1): Use collect_default_sched instead of making
29672         Linux syscalls here directly.
29674 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29676         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
29677         __pthread_once): Use C11 atomics.
29679 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29681         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
29683 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29685         * include/atomic.h (__atomic_link_error, __atomic_check_size,
29686         atomic_thread_fence_acquire, atomic_thread_fence_release,
29687         atomic_thread_fence_seq_cst, atomic_load_relaxed,
29688         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
29689         atomic_compare_exchange_weak_relaxed,
29690         atomic_compare_exchange_weak_acquire,
29691         atomic_compare_exchange_weak_release,
29692         atomic_exchange_acquire, atomic_exchange_release,
29693         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
29694         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
29695         atomic_fetch_and_acquire,
29696         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
29698 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29700         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
29701         USE_ATOMIC_COMPILER_BUILTINS): Define.
29702         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
29703         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29704         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
29705         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29706         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
29707         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29708         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
29709         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29710         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
29711         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29712         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
29713         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29714         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
29715         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29716         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
29717         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29718         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
29719         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29720         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
29721         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29722         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
29723         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29724         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
29725         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29726         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
29727         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29728         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
29729         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29730         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
29731         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29732         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
29733         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29734         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
29735         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29736         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29737         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29738         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
29739         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29740         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
29741         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29743 2014-11-19  Roland McGrath  <roland@hack.frob.com>
29745         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
29746         the sched_priority value here.  It was already checked when the user
29747         called pthread_attr_setschedparam.
29749         * nptl/tst-bad-schedattr.c: New file.
29750         * nptl/Makefile (tests): Add it.
29752 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
29753             Florian Weimer  <fweimer@redhat.com>
29754             Joseph Myers  <joseph@codesourcery.com>
29755             Adam Conrad  <adconrad@0c3.net>
29756             Andreas Schwab  <schwab@suse.de>
29757             Brooks  <bmoses@google.com>
29759         [BZ #17625]
29760         * wordexp-test.c (__dso_handle): Add prototype.
29761         (__register_atfork): Likewise.
29762         (__app_register_atfork): New function.
29763         (registered_forks): New global.
29764         (register_fork): New function.
29765         (test_case): Add 3 new tests for WRDE_CMDSUB.
29766         (main): Call __app_register_atfork.
29767         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
29768         fork count is non-zero fail the test.
29769         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
29770         is set.
29771         (parse_dollars): Remove check for WRDE_NOCMD.
29772         (parse_dquote): Likewise.
29774 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29776         * Makeconfig (built-modules): List non-library modules to be
29777         built.
29778         (module-cppflags): Include libc-modules.h for
29779         everything except shlib-versions.v.i.
29780         (CPPFLAGS): Use it.
29781         (before-compile): Add libc-modules.h.
29782         ($(common-objpfx)libc-modules.h,
29783         $(common-objpfx)libc-modules.stmp): New targets.
29784         (common-generated): Add libc-modules.h and libc-modules.stmp.
29785         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
29786         * include/libc-symbols.h: Don't include libc-modules.h.
29787         * include/libc-modules.h: Remove file.
29788         * scripts/gen-libc-modules.awk: New script to generate
29789         libc-modules.h.
29790         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
29791         Depend on libc-modules.stmp.
29793         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
29795         * Makeconfig (in-module): Get value of libof set for the
29796         translation unit.
29797         (CPPFLAGS): Use $(in-module).
29798         * Makerules: Don't suffix routine names for nonlib.
29799         * include/libc-modules.h: New file.
29800         * include/libc-symbols.h: Include libc-modules.h
29801         (IS_IN): New macro to replace IS_IN_* macros.
29802         * elf/Makefile: Set libof-* for each routine.
29803         * elf/rtld-Rules: Likewise.
29804         * extra-modules.mk: Likewise.
29805         * iconv/Makefile: Likewise.
29806         * iconvdata/Makefile: Likewise.
29807         * locale/Makefile: Likewise.
29808         * malloc/Makefile: Likewise.
29809         * nss/Makefile: Likewise.
29810         * sysdeps/gnu/Makefile: Likewise.
29811         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
29812         * sysdeps/unix/sysv/linux/Makefile: Likewise.
29813         * sysdeps/s390/s390-64/Makefile: Likewise.
29814         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
29815         CPPFLAGS for nscd instead of nonlib.
29817 2014-11-18  Roland McGrath  <roland@hack.frob.com>
29819         * nptl/createthread.c: New file.
29821         * nptl/createthread.c: Moved ...
29822         * sysdeps/unix/sysv/linux/createthread.c: ... here.
29824         * nptl/createthread.c: Add proper top-line comment.
29825         (do_clone): Folded into ...
29826         (create_thread): ... here.  Take new arguments STOPPED_START and
29827         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
29828         increment __nptl_threads, do event-reporting logic, do
29829         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
29830         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
29831         resource cleanup if sched_setaffinity or sched_setscheduler fails,
29832         just send SIGCANCEL.
29833         * nptl/pthread_create.c: Forward-declare create_thread before
29834         including createthread.c.
29835         (start_thread): Use new macro START_THREAD_DEFN to replace defining
29836         declaration, and new macro START_THREAD_SELF to replace argument.
29837         Remove return statement.
29838         (report_thread_creation): New function.
29839         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
29840         synchronization logic, and __nptl_nthreads increment here, around
29841         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
29842         PD->parent_cancelhandling here, before create_thread.  When
29843         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
29844         __deallocate_stack, and ENOMEM translation here.
29846 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
29848         [BZ #17616]
29849         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
29850         (mptwo): Rename to __mptwo.
29851         (__inv): Use __mptwo instead of mptwo.
29852         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
29853         (mptwo): Rename to __mptwo.
29854         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
29855         of mpone and __mptwo instead of mptwo.
29856         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
29857         instead of mpone.
29858         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29859         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
29860         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
29861         of mpone and __mptwo instead of mptwo.
29862         (__mpranred): Use __mpone instead of mpone.
29863         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
29864         variable.
29865         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
29866         (test-xfail-ISO99/math.h/linknamespace): Likewise.
29867         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
29868         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
29869         (test-xfail-ISO11/math.h/linknamespace): Likewise.
29870         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
29871         (test-xfail-XPG3/math.h/linknamespace): Likewise.
29872         (test-xfail-XPG4/math.h/linknamespace): Likewise.
29873         (test-xfail-POSIX/math.h/linknamespace): Likewise.
29874         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
29875         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
29876         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
29877         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
29878         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
29879         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
29880         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
29881         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
29882         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
29883         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
29885 2014-11-18  Tom de Vries  <tom@codesoucery.com>
29887         * manual/signal.texi (Primitives Interrupted by Signals): In section,
29888         replace BSD Handler xref with BSD Signal Handling.
29890 2014-11-17  Richard Henderson  <rth@redhat.com>
29892         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
29893         (_FP_PACK_RAW_2): Remove.
29894         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
29895         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
29896         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
29897         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
29898         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
29899         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
29900         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
29901         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
29902         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
29903         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
29904         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
29905         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
29906         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
29907         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
29908         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
29909         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
29911 2014-11-14  Roland McGrath  <roland@hack.frob.com>
29913         * signal/signal.h [__USE_MISC]
29914         (struct sigvec): Remove type.
29915         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
29916         (sigvec): Remove declaration.
29917         * sysdeps/posix/sigvec.c: Moved ...
29918         * signal/sigvec.c: ... here, replacing old file.
29919         (struct sigvec): New type, copied from old signal.h definition.
29920         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
29921         (__sigvec): Convert definition to prototype.
29922         (sigvec): Replace weak_alias with compat_symbol.
29923         * signal/Versions (libc: GLIBC_2.21): New version set.
29924         * include/signal.h: Remove __sigvec declaration.
29925         * sysdeps/unix/bsd/sigvec.c: Remove file.
29926         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
29927         * manual/signal.texi (BSD Handler): Remove subsection.
29928         Move siginterrupt up to ...
29929         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
29930         (Blocking in BSD): Fold subsection into its parent.
29931         * NEWS: Mention sigvec removal.
29933 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
29935         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
29936         (DLA_FMS): Make definition conditional only on [__FMA4__].
29937         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
29938         definition.
29940         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
29941         Make definition conditional only on [PROF].
29942         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
29943         definition.
29944         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
29945         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
29947         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
29948         !__GNUC__].
29949         * include/signal.h (__sigpause): Move declaration above call to
29950         libc_hidden_proto.
29951         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
29952         variable.
29953         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
29954         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
29956 2014-11-14  David S. Miller  <davem@davemloft.net>
29958         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
29959         Define before including <string/memcpy.c> and <string/mempcpy.c>.
29961 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
29963         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
29964         * configure: Regenerated.
29965         * manual/install.texi (Tools for Compilation): Document a
29966         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
29967         compiler verified to work.
29968         * INSTALL: Regenerated.
29970         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
29971         redeclare with asm name.
29972         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
29973         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
29974         including <string.h>.
29975         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29976         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
29977         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29978         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
29979         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29980         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29981         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29983 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
29985         * stdlib/strtol.c (__strtol): Use prototype definition.
29987         [BZ #17594]
29988         * stdlib/strtol.c (SYM__): New macro.
29989         (SYM__1): Likewise.
29990         (__strtol): Likewise.
29991         (strtol): Rename to __strtol and define as weak alias of
29992         __strtol.  Use libc_hidden_weak.
29994 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29996         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
29997         Use numbered labels in inline assembly.
29999 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30001         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
30002         Add setjmp LIBC_PROBE.
30003         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
30004         Likewise.
30005         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
30006         Add longjmp, longjmp_target LIBC_PROBE.
30007         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
30008         Likewise.
30010 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30012         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
30013         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
30014         to get rid of unused variable warning.
30016 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30018         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
30019         Check for unwind_backtrace ==  NULL only in SHARED case.
30020         (__backchain_backtrace): Compile only in SHARED case.
30021         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
30022         Likewise.
30023         (__backchain_backtrace): Declare as static.
30025 2014-11-12  Roland McGrath  <roland@hack.frob.com>
30027         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
30028         (__libc_multiple_threads_ptr): Variable moved ...
30029         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
30031 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
30033         * conform/GlibcConform.pm: New file.
30034         * conform/conformtest.pl: Use GlibcConform module.
30035         * conform/linknamespace.pl: New file.
30036         * conform/list-header-symbols.pl: Likewise.
30037         * conform/Makefile (linknamespace-symlists-base): New variable.
30038         (linknamespace-symlists-tests): Likewise.
30039         (linknamespace-header-base): Likewise.
30040         (linknamespace-header-tests): Likewise.
30041         (tests-special): Add new tests.
30042         ($(linknamespace-symlists-tests)): New rule.
30043         (linknamespace-libs): New variable.
30044         ($(objpfx)symlist-stdlibs): New rule.
30045         ($(linknamespace-header-tests)): Likewise.
30046         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
30047         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
30048         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
30049         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
30050         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
30051         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
30052         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
30053         (test-xfail-ISO/math.h/linknamespace): Likewise.
30054         (test-xfail-ISO/signal.h/linknamespace): Likewise.
30055         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
30056         (test-xfail-ISO/time.h/linknamespace): Likewise.
30057         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
30058         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
30059         (test-xfail-ISO99/math.h/linknamespace): Likewise.
30060         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
30061         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
30062         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
30063         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
30064         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30065         (test-xfail-ISO11/math.h/linknamespace): Likewise.
30066         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
30067         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
30068         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
30069         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30070         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
30071         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
30072         (test-xfail-XPG3/math.h/linknamespace): Likewise.
30073         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
30074         (test-xfail-XPG3/search.h/linknamespace): Likewise.
30075         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
30076         (test-xfail-XPG3/time.h/linknamespace): Likewise.
30077         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
30078         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
30079         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30080         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
30081         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
30082         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
30083         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
30084         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
30085         (test-xfail-XPG4/math.h/linknamespace): Likewise.
30086         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
30087         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
30088         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
30089         (test-xfail-XPG4/search.h/linknamespace): Likewise.
30090         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
30091         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
30092         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
30093         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
30094         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
30095         (test-xfail-XPG4/time.h/linknamespace): Likewise.
30096         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
30097         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
30098         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
30099         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
30100         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
30101         (test-xfail-POSIX/math.h/linknamespace): Likewise.
30102         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
30103         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
30104         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
30105         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
30106         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
30107         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
30108         (test-xfail-POSIX/time.h/linknamespace): Likewise.
30109         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
30110         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
30111         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
30112         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
30113         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
30114         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
30115         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
30116         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
30117         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
30118         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
30119         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
30120         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
30121         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
30122         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
30123         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
30124         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
30125         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
30126         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
30127         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
30128         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
30129         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
30130         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
30131         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
30132         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
30133         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
30134         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
30135         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
30136         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
30137         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
30138         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
30139         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
30140         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
30141         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
30142         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
30143         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
30144         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
30145         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
30146         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
30147         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
30148         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
30149         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
30150         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
30151         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
30152         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
30153         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
30154         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
30155         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
30156         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
30157         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
30158         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
30159         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
30160         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
30161         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
30162         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
30163         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
30164         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
30165         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
30166         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
30167         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30168         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
30169         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
30170         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
30171         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
30172         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
30173         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
30174         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
30175         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
30176         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
30177         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
30178         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
30179         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
30180         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
30181         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
30182         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
30183         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
30184         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
30185         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
30186         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
30187         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
30188         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
30189         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
30190         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
30191         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
30192         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
30193         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
30194         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
30195         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
30196         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
30197         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
30198         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
30199         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
30200         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
30201         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
30202         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
30203         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
30204         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
30205         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
30206         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
30208         [BZ #17589]
30209         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
30210         of fgets_unlocked.
30212         [BZ #17585]
30213         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
30214         (memmem): Rename to __memmem and define as weak alias of
30215         __memmem.  Use libc_hidden_weak.
30216         (__memmem): Use libc_hidden_def.
30217         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
30218         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
30219         memmem.
30221         [BZ #17582]
30222         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
30223         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
30224         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
30225         and define as weak alias of __fgets_unlocked.  Use
30226         libc_hidden_weak.
30227         (__fgets_unlocked): Use libc_hidden_def.
30228         * include/stdio.h (__fgets_unlocked): Declare.  Use
30229         libc_hidden_proto.
30230         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
30231         __fgets_unlocked instead of fgets_unlocked.
30232         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
30233         (GET_NPROCS_CONF_PARSER): Likewise.
30234         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
30235         (GET_NPROCS_CONF_PARSER): Likewise.
30237         [BZ #17574]
30238         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
30239         weak alias of __wmemset.  Use libc_hidden_weak.
30240         (__wmemset): Use libc_hidden_def.
30241         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
30242         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
30243         of wmemset.
30245         [BZ #17573]
30246         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
30247         with asm name __mempcpy.
30248         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
30250         [BZ #17572]
30251         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
30252         and define as weak alias of __rawmemchr.
30253         (__rawmemchr): Do not define as strong alias of rawmemchr.
30255         [BZ #17571]
30256         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
30257         alias of __qsort_r.
30258         (qsort): Call __qsort_r instead of qsort_r.
30259         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
30260         (__qsort_r): Declare.  Call libc_hidden_proto.
30261         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
30262         instead of qsort_r.
30263         * nscd/gai.c (__qsort_r): Define to qsort_r.
30264         * posix/tst-rfc3484.c (__qsort_r): Likewise.
30265         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
30266         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
30268         [BZ #17570]
30269         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
30270         define as weak alias of __malloc_info.
30272         [BZ #17584]
30273         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
30274         as weak alias of __rewinddir.  Don't use libc_hidden_def.
30275         (__rewinddir): Use libc_hidden_def.
30276         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
30277         as weak alias of __rewinddir.  Don't use libc_hidden_def.
30278         (__rewinddir): Use libc_hidden_def.
30279         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
30280         weak alias of __rewinddir.  Don't use libc_hidden_def.
30281         (__rewinddir): Use libc_hidden_def.
30282         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
30283         (__rewinddir): Use libc_hidden_proto.
30284         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
30285         rewinddir.
30286         (__getcwd): Use __rewinddir instead of rewinddir.
30288         [BZ #17583]
30289         * libio/fileno.c (fileno): Rename to __fileno and define as weak
30290         alias of __fileno.  Use libc_hidden_weak.
30291         (__fileno): Use libc_hidden_def.
30292         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
30293         * libio/ftello.c (ftello): Rename to __ftello and define as weak
30294         alias of __ftello.
30295         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
30296         __ftello.
30297         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
30298         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
30299         libc_hidden_def.
30300         (fread_unlocked): Don't use libc_hidden_ver.
30301         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
30302         and define as weak alias of __fread_unlocked.  Don't use
30303         libc_hidden_def.
30304         (__fread_unlocked): Use libc_hidden_def.
30305         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
30306         (ftello): Don't use libc_hidden_proto.
30307         (__ftello): Declare.  Use libc_hidden_proto.
30308         (fread_unlocked): Don't use libc_hidden_proto.
30309         (__fread_unlocked): Declare.  Use libc_hidden_proto.
30310         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
30311         and __ftello instead of fileno, fread_unlocked and ftello.
30313 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30315         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
30316         GOT12.
30317         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
30318         Likewise.
30319         (_dl_start_user): Likewise.
30320         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
30322 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
30323             Siddhesh Poyarekar  <siddhesh@redhat.com>
30325         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
30326         Move argv and envp down instead of moving argc up.
30327         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
30329 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
30331         [BZ #17506]
30332         * test-skeleton.c (main): Return successful if one of
30333         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
30334         * string/tst-strcoll-overflow.c: Define expected status.
30336 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
30338         [BZ #17475]
30339         * locale/iso-639.def: Define Bhili and Tulu language codes.
30341 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
30343         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
30345 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
30347         [BZ #17555]
30348         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
30350 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
30352         * configure.ac: Updated check of minimal required version to
30353         2.22.
30354         * manual/install.texi (Tools for Compilation): Updated version
30355         number.
30356         * configure: Regenerated.
30357         * INSTALL: Likewise.
30359 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
30361         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
30362         __tls_get_addr.
30364 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
30366         * include/sys/wait.h (__libc_waitpid): Remove declaration.
30367         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
30368         (__waitpid): Don't define as alias.  Use libc_hidden_def not
30369         libc_hidden_weak.
30370         (waitpid): Define as alias of __waitpid.
30371         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
30372         __waitpid.
30373         (__waitpid): Don't define as alias.  Use libc_hidden_def not
30374         libc_hidden_weak.
30375         (waitpid): Define as alias of __waitpid.
30376         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
30377         __libc_waitpid alias.
30378         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
30379         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
30380         Likewise.
30381         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
30382         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
30383         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
30384         alias.
30385         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
30386         __waitpid.
30387         (__waitpid): Don't define as alias.  Use libc_hidden_def not
30388         libc_hidden_weak.
30389         (waitpid): Define as alias of __waitpid.
30391 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
30393         * manual/llio.texi: Add comment that write safety has been
30394         fixed in Linux.
30396         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
30397         (localplt-build-dso): Add elf/ld.so.
30398         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
30399         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
30400         and free for ld.so.
30401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
30402         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
30403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
30404         Likewise.
30405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
30406         Likewise.
30407         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
30408         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
30409         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
30410         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
30411         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
30412         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
30413         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
30414         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
30415         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
30416         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
30417         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
30419 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
30421         [BZ #14132]
30422         * include/libc-symbols.h (INTUSE): Remove macro.
30423         (INTDEF): Likewise.
30424         (INTVARDEF): Likewise.
30425         (_INTVARDEF): Likewise.
30426         (INTDEF2): Likewise.
30427         (INTVARDEF2): Likewise.
30428         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
30429         rtld_hidden_def instead of INTVARDEF.
30430         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
30431         (_dl_starting_up_internal): Remove declaration.
30432         (_dl_starting_up): Use rtld_hidden_proto.
30433         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
30434         declaration.
30435         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
30436         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
30437         _dl_starting_up.
30438         * elf/dl-writev.h (_dl_writev): Likewise.
30439         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
30440         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
30441         _dl_starting_up_internal.
30443 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30445         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
30446         test-skeleton.c.
30448 2014-11-05  Will Newton  <will.newton@linaro.org>
30450         * benchtests/Makefile: (bench-malloc): Add malloc thread
30451         scalability benchmark.
30452         * benchtests/bench-malloc-threads.c: New file.
30454 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
30456         * sysdeps/aarch64/strchrnul.S: New file.
30458 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30460         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
30461         definition.
30462         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
30463         Likwise.
30464         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
30465         Likewise.
30466         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
30467         Likewise.
30468         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30469         Likewise.
30470         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30471         Likewise.
30473 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
30475         * catgets/test-gencat.c: Use test-skeleton.c.
30476         * catgets/tst-catgets.c: Likewise.
30477         * csu/tst-empty.c: Likewise.
30478         * elf/tst-audit2.c: Likewise.
30479         * elf/tst-global1.c: Likewise.
30480         * elf/tst-pathopt.c: Likewise.
30481         * elf/tst-piemod1.c: Likewise.
30482         * elf/tst-tls10.c: Likewise.
30483         * elf/tst-tls11.c: Likewise.
30484         * elf/tst-tls12.c: Likewise.
30485         * gnulib/tst-gcc.c: Likewise.
30486         * iconvdata/tst-e2big.c: Likewise.
30487         * iconvdata/tst-loading.c: Likewise.
30488         * iconv/tst-iconv1.c: Likewise.
30489         * iconv/tst-iconv2.c: Likewise.
30490         * inet/test-inet6_opt.c: Likewise.
30491         * inet/tst-gethnm.c: Likewise.
30492         * inet/tst-network.c: Likewise.
30493         * inet/tst-ntoa.c: Likewise.
30494         * intl/tst-codeset.c: Likewise.
30495         * intl/tst-gettext2.c: Likewise.
30496         * intl/tst-gettext3.c: Likewise.
30497         * intl/tst-ngettext.c: Likewise.
30498         * intl/tst-translit.c: Likewise.
30499         * io/test-stat.c: Likewise.
30500         * libio/test-fmemopen.c: Likewise.
30501         * libio/tst-freopen.c: Likewise.
30502         * libio/tst-sscanf.c: Likewise.
30503         * libio/tst-ungetwc1.c: Likewise.
30504         * libio/tst-ungetwc2.c: Likewise.
30505         * libio/tst-widetext.c: Likewise.
30506         * localedata/tst-ctype.c: Likewise.
30507         * localedata/tst-digits.c: Likewise.
30508         * localedata/tst-leaks.c: Likewise.
30509         * localedata/tst-mbswcs1.c: Likewise.
30510         * localedata/tst-mbswcs2.c: Likewise.
30511         * localedata/tst-mbswcs3.c: Likewise.
30512         * localedata/tst-mbswcs4.c: Likewise.
30513         * localedata/tst-mbswcs5.c: Likewise.
30514         * localedata/tst-setlocale.c: Likewise.
30515         * localedata/tst-trans.c: Likewise.
30516         * localedata/tst-wctype.c: Likewise.
30517         * localedata/tst-xlocale1.c: Likewise.
30518         * login/tst-grantpt.c: Likewise.
30519         * malloc/tst-calloc.c: Likewise.
30520         * malloc/tst-malloc.c: Likewise.
30521         * malloc/tst-mallocstate.c: Likewise.
30522         * malloc/tst-mcheck.c: Likewise.
30523         * malloc/tst-mtrace.c: Likewise.
30524         * malloc/tst-obstack.c: Likewise.
30525         * math/atest-exp2.c: Likewise.
30526         * math/atest-exp.c: Likewise.
30527         * math/atest-sincos.c: Likewise.
30528         * math/test-matherr.c: Likewise.
30529         * math/test-misc.c: Likewise.
30530         * math/test-powl.c: Likewise.
30531         * math/tst-definitions.c: Likewise.
30532         * misc/tst-dirname.c: Likewise.
30533         * misc/tst-efgcvt.c: Likewise.
30534         * misc/tst-fdset.c: Likewise.
30535         * misc/tst-hsearch.c: Likewise.
30536         * misc/tst-mntent2.c: Likewise.
30537         * nptl/tst-sem7.c: Likewise.
30538         * nptl/tst-sem8.c: Likewise.
30539         * nptl/tst-sem9.c: Likewise.
30540         * nss/test-netdb.c: Likewise.
30541         * posix/tst-fnmatch.c: Likewise.
30542         * posix/tst-getlogin.c: Likewise.
30543         * posix/tst-gnuglob.c: Likewise.
30544         * posix/tst-mmap.c: Likewise.
30545         * pwd/tst-getpw.c: Likewise.
30546         * resolv/tst-inet_ntop.c: Likewise.
30547         * rt/tst-timer.c: Likewise.
30548         * stdio-common/test-fseek.c: Likewise.
30549         * stdio-common/test-popen.c: Likewise.
30550         * stdio-common/test-vfprintf.c: Likewise.
30551         * stdio-common/tst-cookie.c: Likewise.
30552         * stdio-common/tst-fileno.c: Likewise.
30553         * stdio-common/tst-gets.c: Likewise.
30554         * stdio-common/tst-obprintf.c: Likewise.
30555         * stdio-common/tst-perror.c: Likewise.
30556         * stdio-common/tst-sprintf2.c: Likewise.
30557         * stdio-common/tst-sprintf3.c: Likewise.
30558         * stdio-common/tst-sprintf.c: Likewise.
30559         * stdio-common/tst-swprintf.c: Likewise.
30560         * stdio-common/tst-tmpnam.c: Likewise.
30561         * stdio-common/tst-unbputc.c: Likewise.
30562         * stdio-common/tst-wc-printf.c: Likewise.
30563         * stdlib/tst-environ.c: Likewise.
30564         * stdlib/tst-fmtmsg.c: Likewise.
30565         * stdlib/tst-limits.c: Likewise.
30566         * stdlib/tst-rand48-2.c: Likewise.
30567         * stdlib/tst-rand48.c: Likewise.
30568         * stdlib/tst-random2.c: Likewise.
30569         * stdlib/tst-random.c: Likewise.
30570         * stdlib/tst-strtol.c: Likewise.
30571         * stdlib/tst-strtoll.c: Likewise.
30572         * stdlib/tst-tls-atexit.c: Likewise.
30573         * stdlib/tst-xpg-basename.c: Likewise.
30574         * string/test-ffs.c: Likewise.
30575         * string/tst-bswap.c: Likewise.
30576         * string/tst-inlcall.c: Likewise.
30577         * string/tst-strtok.c: Likewise.
30578         * string/tst-strxfrm.c: Likewise.
30579         * sysdeps/x86_64/tst-audit10.c: Likewise.
30580         * sysdeps/x86_64/tst-audit3.c: Likewise.
30581         * sysdeps/x86_64/tst-audit4.c: Likewise.
30582         * sysdeps/x86_64/tst-audit5.c: Likewise.
30583         * time/tst-ftime_l.c: Likewise.
30584         * time/tst-getdate.c: Likewise.
30585         * time/tst-mktime3.c: Likewise.
30586         * time/tst-mktime.c: Likewise.
30587         * time/tst-posixtz.c: Likewise.
30588         * time/tst-strptime2.c: Likewise.
30589         * time/tst-strptime3.c: Likewise.
30590         * wcsmbs/tst-btowc.c: Likewise.
30591         * wcsmbs/tst-mbrtowc.c: Likewise.
30592         * wcsmbs/tst-mbsrtowcs.c: Likewise.
30593         * wcsmbs/tst-wchar-h.c: Likewise.
30594         * wcsmbs/tst-wcpncpy.c: Likewise.
30595         * wcsmbs/tst-wcrtomb.c: Likewise.
30596         * wcsmbs/tst-wcsnlen.c: Likewise.
30597         * wcsmbs/tst-wcstof.c: Likewise.
30599 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
30601         [BZ #14132]
30602         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
30603         INTDEF.
30604         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
30605         declaration.
30606         (_dl_mcount): Use rtld_hidden_proto.
30607         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
30608         _dl_mcount.
30609         * elf/rtld.c (_rtld_global_ro): Likewise.
30611         [BZ #14132]
30612         * elf/dl-init.c (_dl_init): Don't use INTDEF.
30613         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
30614         of _dl_init_internal.
30615         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
30616         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
30617         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
30618         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
30619         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
30620         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
30621         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
30622         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
30623         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
30624         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
30625         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
30626         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
30627         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30628         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30629         * sysdeps/tile/dl-start.S (_start): Likewise.
30630         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
30631         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
30633         [BZ #14132]
30634         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
30635         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
30636         (rtld_progname): Make macro definition unconditional.
30637         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
30638         INTDEF.
30639         (dlmopen_doit): Do not use INTUSE with _dl_argv.
30640         (dl_main): Likewise.
30641         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30642         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
30643         instead of _dl_argv_internal.
30644         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30645         __GI__dl_argv instead of INTUSE(_dl_argv).
30646         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
30647         __GI__dl_argv instead of _dl_argv_internal.
30649         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
30650         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
30651         macro.
30652         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
30653         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
30654         New macro.
30655         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
30656         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
30657         macro.
30658         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
30659         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
30661 2014-11-04  Andreas Schwab  <schwab@suse.de>
30663         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
30665 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30667         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
30668         mtvsrd instruction in binary form.
30670 2014-11-03  Andreas Schwab  <schwab@suse.de>
30672         [BZ #17522]
30673         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
30674         for less than MB_LEN_MAX use a local buffer of that size.
30675         * libio/tst-fputws.c: New file.
30676         * libio/Makefile (tests): Add tst-fputws.
30678 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
30680         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
30681         the size of the fpu_fr.fpu_dregs[] array.
30683 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
30685         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
30686         (__nanosleep): Do not define as alias.
30687         (nanosleep): Define as alias of __nanosleep.
30688         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
30689         __libc_nanosleep name.
30691 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
30693         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
30694         install.texi in comment.
30696 2014-10-31  Torvald Riegel  <triegel@redhat.com>
30698         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
30699         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
30700         ... add here and use lwsync or sync ...
30701         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
30702         ... and add here using lwsync.
30704 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
30706         * elf/dl-machine-reject-phdr.h: New file.
30707         * elf/dl-load.c: #include that.
30708         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
30709         if that returned true.
30711 2014-10-31  Roland McGrath  <roland@hack.frob.com>
30713         [BZ #17496]
30714         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
30715         gen-as-const-headers chunk.  Add a big scare comment after the last
30716         safe place to touch before-compile.
30718 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
30720         * manual/install.texi (Tools for Compilation): Update autoconf
30721         version requirements.
30722         * INSTALL: Regenerated.
30724         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
30725         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
30726         (__libc_pselect): Likewise.
30728         [BZ #14138]
30729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
30730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30734 2014-10-31  Torvald Riegel  <triegel@redhat.com>
30736         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
30737         correct barrier instruction.
30738         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
30739         Likewise.
30740         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
30741         Likewise.
30743 2014-10-30  Roland McGrath  <roland@hack.frob.com>
30745         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
30746         after defining inlines.  Instead, just use parens to defeat macro
30747         expansion of __isctype in its declaration.
30749 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
30751         * include/sys/uio.h (__libc_readv): Remove declaration.
30752         (__libc_writev): Likewise.
30753         * misc/readv.c (__libc_readv): Rename to __readv.
30754         (__readv): Do not define as alias.
30755         (readv): Define as alias of __readv.
30756         * misc/writev.c (__libc_writev): Rename to __writev.
30757         (__writev): Do not define as alias.
30758         (writev): Define as alias of __writev.
30759         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
30760         (__readv): Do not define as alias.
30761         (readv): Define unconditionally as alias of __readv.
30762         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
30763         (__writev): Do not define as alias.
30764         (writev): Define unconditionally as alias of __writev.
30765         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
30766         name.
30767         (writev): Do not define __libc_writev name.
30769 2014-10-30  Roland McGrath  <roland@hack.frob.com>
30771         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
30772         (convert_charseq): New function, broken out of ...
30773         (use_from_charmap): ... here.  Call it.
30774         (use_to_charmap): Use convert_charseq and free instead of duplicating
30775         its code with a variable-length stack struct.
30777 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
30779         * include/fcntl.h (__libc_creat): Remove declaration.
30780         * io/creat.c (__libc_creat): Rename to creat.
30781         (creat): Do not define as alias.
30782         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
30783         of creat instead of __libc_creat.
30784         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
30785         to creat.
30786         (creat): Do not define as alias.
30787         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
30788         __libc_creat.
30789         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
30790         __libc_creat name.
30791         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
30792         Likewise.
30794 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
30796         * manual/llio.texi: Add comments discussing why write() may be
30797         considered MT-unsafe on Linux.
30799 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
30801         * dl-load.c (local_strdup): Remove.
30802         (expand_dynamic_string_token): Use __strdup.
30803         (decompose_rpath): Likewise.
30804         (_dl_map_object): Likewise.
30806 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
30808         [BZ #14132]
30809         * sysdeps/generic/unwind-dw2-fde.c
30810         (__register_frame_info_bases_internal): Do not declare.
30811         (__register_frame_info_table_bases_internal): Likewise.
30812         (__deregister_frame_info_bases_internal): Likewise.
30813         (__register_frame_info_bases): Declare and use hidden_proto before
30814         definition.  Use hidden_def instead of INTDEF.
30815         (__register_frame_info_table_bases): Likewise.
30816         (__deregister_frame_info_bases): Likewise.
30817         (__register_frame_info): Do not use INTUSE.
30818         (__register_frame): Likewise.
30819         (__register_frame_info_table): Likewise.
30820         (__register_frame_table): Likewise.
30821         (__deregister_frame_info): Likewise.
30822         (__deregister_frame): Likewise.
30824 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
30826         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30827         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
30828         not undefine.
30829         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
30830         Likewise.
30831         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
30832         Likewise.
30834 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
30836         [BZ #14138]
30837         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
30838         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
30839         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
30840         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
30841         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
30842         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
30843         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
30844         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
30845         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
30846         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
30847         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
30848         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
30849         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
30850         syscall.
30851         (setfsuid): Likewise.
30852         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
30853         (setfsuid): Likewise.
30854         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
30855         (setfsuid): Likewise.
30856         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
30857         Likewise.
30858         (setfsuid): Likewise.
30859         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
30860         (setfsuid): Likewise.
30861         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
30862         Likewise.
30863         (setfsuid): Likewise.
30865 2014-10-27  Andreas Schwab  <schwab@suse.de>
30867         [BZ #17501]
30868         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
30869         check for Slow_SSE4_2 feature bit.
30870         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
30871         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30872         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
30873         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
30875 2014-10-24  Roland McGrath  <roland@hack.frob.com>
30877         * configure.ac: Validate compiler version with a empirical test of
30878         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
30879         $CC -v output.
30880         * configure: Regenerated.
30882         * inet/htons.c (htons): Prototypify.
30883         * inet/htonl.c (htonl): Likewise.
30885 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30887         * string/strncat.c (strncat): Improve performance by using strlen.
30889 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30891         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
30893 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30895         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
30896         Call libc_fetestexcept_aarch64.
30898 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30900         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
30901         Call libc_feholdexcept_aarch64.
30903 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30905         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
30906         Call get_rounding_mode.
30908 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30910         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30911         Simplify logic.
30913 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30915         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
30916         Simplify logic.
30918 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
30920         [BZ #14138]
30921         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
30922         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
30923         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
30924         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
30925         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
30926         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
30927         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
30928         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
30929         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
30930         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
30931         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30932         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
30933         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
30934         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
30935         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
30936         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
30937         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
30938         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
30939         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
30940         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
30941         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
30942         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
30943         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
30944         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
30945         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
30946         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
30947         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
30948         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
30949         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
30950         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
30951         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
30952         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
30953         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
30954         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
30955         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
30956         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
30957         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
30958         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
30959         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
30960         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
30961         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
30962         syscall.
30963         (geteuid): Likewise.
30964         (getgid): Likewise.
30965         (getuid): Likewise.
30966         (getresgid): Likewise.
30967         (getresuid): Likewise.
30968         (getgroups): Likewise.
30969         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
30970         (geteuid): Likewise.
30971         (getgid): Likewise.
30972         (getuid): Likewise.
30973         (getresgid): Likewise.
30974         (getresuid): Likewise.
30975         (getgroups): Likewise.
30976         * sysdeps/unix/sysv/linux/m68k/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/s390/s390-32/syscalls.list (getegid):
30984         Likewise.
30985         (geteuid): Likewise.
30986         (getgid): Likewise.
30987         (getuid): Likewise.
30988         (getresgid): Likewise.
30989         (getresuid): Likewise.
30990         (getgroups): Likewise.
30991         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
30992         (geteuid): Likewise.
30993         (getgid): Likewise.
30994         (getuid): Likewise.
30995         (getresgid): Likewise.
30996         (getresuid): Likewise.
30997         (getgroups): Likewise.
30998         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
30999         Likewise.
31000         (geteuid): Likewise.
31001         (getgid): Likewise.
31002         (getuid): Likewise.
31003         (getgroups): Likewise.
31005         [BZ #14138]
31006         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
31007         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
31008         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
31009         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31010         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
31011         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
31012         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
31013         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
31014         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
31015         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
31016         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
31017         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
31018         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
31019         __chown.
31020         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
31021         (lchown): Likewise.
31022         (fchown): Likewise.
31023         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
31024         Likewise.
31025         (lchown): Likewise.
31026         (fchown): Likewise.
31027         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
31028         (lchown): Likewise.
31029         (fchown): Likewise.
31030         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
31031         Likewise.
31032         (lchown): Likewise.
31033         (fchown): Likewise.
31035 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31037         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
31038         Simplify logic.
31040 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31042         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
31043         Cleanup logic.
31045 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31047         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
31048         Remove unused include.
31050 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31052         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
31053         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
31054         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
31055         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
31057 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
31058             Helge Deller <deller@gmx.de>
31060         [BZ #17508]
31061         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
31062         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
31063         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
31065 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
31067         [BZ #14132]
31068         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
31069         Remove macro definition.
31070         (__ashrdi3_v_glibc20): Likewise.
31071         (__lshrdi3_v_glibc20): Likewise.
31072         (__cmpdi2_v_glibc20): Likewise.
31073         (__ucmpdi2_v_glibc20): Likewise.
31074         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
31075         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
31076         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
31077         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
31078         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
31079         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
31081 2014-10-22  Roland McGrath  <roland@hack.frob.com>
31083         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
31084         old GNU extension [0] syntax.
31085         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
31086         alloca rather than an array member with variable length.
31087         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
31088         * nscd/nscd.c (invalidate_db): New function, broken out of ...
31089         (parse_opt): ... here.  Likewise use alloca there.
31090         Validate the -i argument before checking for rootness.
31091         (send_shutdown): New function, broken out of ...
31092         (parse_opt): ... here.
31094 2014-10-22  Roland McGrath  <roland@hack.frob.com>
31096         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
31097         macro to get at the _rt_local_ro field.
31098         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
31099         ([PIC] case) or _dl_hwcap ([!PIC] case).
31100         * sysdeps/arm/setjmp.S: Likewise.
31102         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
31103         * sysdeps/arm/configure.ac: New check to define it.
31104         * sysdeps/arm/configure: Regenerated.
31105         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
31106         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
31107         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
31108         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
31109         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
31110         Use move/movt pair instead of a load.
31111         (LDST_GLOBAL): Macro removed.
31112         (LDR_GLOBAL): New macro replaces it.
31113         (LDR_HIDDEN): New macro.
31114         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
31115         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
31117         * setjmp/tst-setjmp-static.c: New file.
31118         * setjmp/Makefile (tests): Add it.
31119         (tests-static): New variable.
31121 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
31123         [BZ #17485]
31124         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
31126 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
31128         [BZ #14132]
31129         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
31131 2014-10-21  Roland McGrath  <roland@hack.frob.com>
31133         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
31135 2014-10-20  Roland McGrath  <roland@hack.frob.com>
31137         * io/fts.c (dirent_not_directory): New function.
31138         (fts_build): Call it.
31140 2014-10-20  Roland McGrath  <roland@hack.frob.com>
31142         * nptl/version.c (__nptl_main): Use normal __write rather than
31143         INTERNAL_SYSCALL.
31144         (banner): Update copyright years.
31146         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
31147         gettimeofday.
31148         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
31149         * nptl/pthread_cond_timedwait.c: Likewise.
31150         * nptl/pthread_mutex_timedlock.c: Likewise.
31151         * nptl/sem_timedwait.c: Likewise.
31153         * sysdeps/nptl/bits/libc-lock.h
31154         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
31155         (__libc_lock_init_recursive): Return void, not 0.
31156         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
31157         (__libc_rwlock_init): Likewise.
31158         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
31160 2014-10-20  Torvald Riegel  <triegel@redhat.com>
31162         [BZ #15215]
31163         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
31164         (__pthread_once_slow): ... here.
31165         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
31166         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
31168 2014-10-20  Torvald Riegel  <triegel@redhat.com>
31170         [BZ #15215]
31171         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
31172         __PTHREAD_ONCE_FORK_GEN_INCR): New.
31173         * sysdeps/nptl/fork.c (__libc_fork): Use them.
31174         * nptl/pthread_once.c (__pthread_once): Likewise.
31175         Update comments.
31177 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
31179         [BZ #14138]
31180         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
31181         name.
31182         (writev): Use __libc_writev as strong name.
31183         * sysdeps/unix/sysv/linux/readv.c: Remove file.
31184         * sysdeps/unix/sysv/linux/writev.c: Likewise.
31186 2014-10-17  Roland McGrath  <roland@hack.frob.com>
31188         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
31190         * sysdeps/i386/nptl/tls.h
31191         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
31192         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
31193         New macros.
31194         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
31195         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
31196         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
31197         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
31198         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
31199         Call CHECK_THREAD_SYSINFO instead of doing an assert.
31201         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
31202         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
31203         on [__NR_futex].
31204         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
31205         broken out of ...
31206         (__pthread_mutex_init): ... here.  Call it.
31207         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
31208         Conditionalize PI cases on [__NR_futex].
31209         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
31210         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
31211         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
31213         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
31214         conditional on [SIGSETXID].
31215         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
31216         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
31217         is defined.  Likewise for SIGSETXID.
31218         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
31219         Conditionalize definitions on [SIGSETXID].
31220         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
31221         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
31222         unblocking on [SIGCANCEL].
31224         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
31225         [__NR_set_robust_list].
31227 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31229         * string/strcoll_l.c (get_next_seq): Fix up formatting.
31230         (do_compare): Likewise.
31232 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
31234         [BZ #15884]
31235         * string/strcoll_l.c: Don't include stdio.h.
31236         (coll_seq): Remove members idxarr and rulearr.
31237         (get_next_seq_cached): Remove function.
31238         (get_next_seq): Likewise.
31239         (get_next_seq_nocache): Rename to get_next_seq.
31240         (do_compare): Remove function.
31241         (do_compare_nocache): Rename to do_compare.
31242         (STRCOLL): Remove weight and rules cache.
31244 2014-10-16  Roland McGrath  <roland@hack.frob.com>
31246         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
31247         * sysdeps/arm/sfp-machine.h: ... to here.
31248         * sysdeps/arm/Implies: Remove arm/soft-fp.
31250 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
31252         * conform/data/sys/utsname.h-data (*_t): Allow.
31253         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
31254         [POSIX] (WEXITED): Do not expect constant.
31255         [POSIX] (WSTOPPED): Likewise.
31256         [POSIX] (WNOHANG): Likewise.
31257         [POSIX] (WNOWAIT): Likewise.
31258         [POSIX] (siginfo_t): Do not expect type or elements.
31259         [POSIX] (pid_t): Do not expect type.
31260         [POSIX] (signal.h): Do not allow header.
31261         [POSIX] (sys/resource.h): Likewise.
31262         [POSIX] (si_*): Do not allow pattern.
31263         [POSIX] (W*): Likewise.
31264         [POSIX] (P_*): Likewise.
31265         [POSIX] (BUS_*): Likewise.
31266         [POSIX] (CLD_*): Likewise.
31267         [POSIX] (FPE_*): Likewise.
31268         [POSIX] (ILL_*): Likewise.
31269         [POSIX] (POLL_*): Likewise.
31270         [POSIX] (SEGV_*): Likewise.
31271         [POSIX] (SI_*): Likewise.
31272         [POSIX] (TRAP_*): Likewise.
31273         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
31274         variable.
31276 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
31278         [BZ #12926]
31279         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
31280         infinite loop when __recvmsg returns 0.
31282 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
31284         * CANCEL-FCT-WAIVE: Remove file.
31285         * CANCEL-FILE-WAIVE: Likewise.
31287         [BZ #14132]
31288         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
31289         instead of INTVARDEF.
31290         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
31291         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
31292         rtld_hidden_data_def instead of INTVARDEF.
31293         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
31294         * elf/dl-deps.c (expand_dst): Likewise.
31295         * elf/dl-load.c (_dl_dst_count): Likewise.
31296         (_dl_dst_substitute): Likewise.
31297         (decompose_rpath): Likewise.
31298         (_dl_init_paths): Likewise.
31299         (open_path): Likewise.
31300         (_dl_map_object): Likewise.
31301         * elf/rtld.c (dl_main): Likewise.
31302         (process_dl_audit): Likewise.
31303         (process_envvars): Likewise.
31304         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
31305         Remove declaration.
31306         (__libc_enable_secure): Use rtld_hidden_proto.
31308 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31310         * elf/dl-load.c
31311         (add_path): New function broken out of _dl_rtld_di_serinfo.
31312         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
31314 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
31316         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
31317         parentheses around macro arguments.
31318         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
31319         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
31320         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
31321         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
31322         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
31323         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
31324         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
31325         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
31326         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
31327         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
31328         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
31329         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
31330         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
31331         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
31332         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
31333         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
31334         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
31335         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
31336         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
31337         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
31338         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
31339         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
31340         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
31341         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
31342         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
31343         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
31344         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
31345         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
31346         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
31347         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
31348         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
31349         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
31350         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
31351         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
31352         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
31353         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
31354         Likewise.
31355         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
31356         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
31357         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
31358         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
31359         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
31360         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
31361         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
31362         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
31363         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
31364         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
31365         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
31366         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
31367         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
31368         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
31369         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
31370         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
31371         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
31372         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
31373         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
31374         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
31375         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
31376         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
31377         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
31378         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
31379         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
31380         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
31381         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
31382         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
31383         (_FP_FRAC_SRS_1): Likewise.
31384         (_FP_FRAC_CLZ_1): Likewise.
31385         (_FP_MUL_MEAT_1_imm): Likewise.
31386         (_FP_MUL_MEAT_1_wide): Likewise.
31387         (_FP_MUL_MEAT_1_hard): Likewise.
31388         (_FP_SQRT_MEAT_1): Likewise.
31389         (_FP_FRAC_ASSEMBLE_1): Likewise.
31390         (_FP_FRAC_DISASSEMBLE_1): Likewise.
31391         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
31392         (__FP_CLZ_2): Likewise.
31393         (_FP_MUL_MEAT_2_wide): Likewise.
31394         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31395         (_FP_MUL_MEAT_2_gmp): Likewise.
31396         (_FP_MUL_MEAT_2_120_240_double): Likewise.
31397         (_FP_SQRT_MEAT_2): Likewise.
31398         (_FP_FRAC_ASSEMBLE_2): Likewise.
31399         (_FP_FRAC_DISASSEMBLE_2): Likewise.
31400         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
31401         (_FP_FRAC_CLZ_4): Likewise.
31402         (_FP_MUL_MEAT_4_wide): Likewise.
31403         (_FP_MUL_MEAT_4_gmp): Likewise.
31404         (_FP_SQRT_MEAT_4): Likewise.
31405         (_FP_FRAC_ASSEMBLE_4): Likewise.
31406         (_FP_FRAC_DISASSEMBLE_4): Likewise.
31407         * soft-fp/op-common.h (_FP_CMP): Likewise.
31408         (_FP_CMP_EQ): Likewise.
31409         (_FP_CMP_UNORD): Likewise.
31410         (_FP_TO_INT): Likewise.
31411         (_FP_FROM_INT): Likewise.
31412         [!__FP_CLZ] (__FP_CLZ): Likewise.
31413         (_FP_DIV_HELP_imm): Likewise.
31414         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
31415         Likewise.
31416         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
31417         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
31418         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
31419         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
31420         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
31421         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
31422         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
31423         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
31424         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
31425         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
31426         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
31427         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
31428         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
31429         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
31430         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
31431         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
31432         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
31433         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
31434         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
31435         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
31436         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
31437         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
31438         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
31439         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
31440         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
31441         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
31442         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
31443         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
31444         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
31445         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
31446         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
31447         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
31448         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
31449         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
31450         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
31451         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
31452         (FP_UNPACK_RAW_SP): Likewise.
31453         (FP_PACK_RAW_S): Likewise.
31454         (FP_PACK_RAW_SP): Likewise.
31455         (FP_UNPACK_S): Likewise.
31456         (FP_UNPACK_SP): Likewise.
31457         (FP_UNPACK_SEMIRAW_S): Likewise.
31458         (FP_UNPACK_SEMIRAW_SP): Likewise.
31459         (FP_PACK_S): Likewise.
31460         (FP_PACK_SP): Likewise.
31461         (FP_PACK_SEMIRAW_S): Likewise.
31462         (FP_PACK_SEMIRAW_SP): Likewise.
31463         (_FP_SQRT_MEAT_S): Likewise.
31464         (FP_CMP_S): Likewise.
31465         (FP_CMP_EQ_S): Likewise.
31466         (FP_CMP_UNORD_S): Likewise.
31467         (FP_TO_INT_S): Likewise.
31468         (FP_FROM_INT_S): Likewise.
31470         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
31472         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
31473         (FP_EX_INVALID_IMZ): Likewise.
31474         (FP_EX_INVALID_IMZ_FMA): Likewise.
31475         (FP_EX_INVALID_ISI): Likewise.
31476         (FP_EX_INVALID_ZDZ): Likewise.
31477         (FP_EX_INVALID_IDI): Likewise.
31478         (FP_EX_INVALID_SQRT): Likewise.
31479         (FP_EX_INVALID_CVI): Likewise.
31480         (FP_EX_INVALID_VC): Likewise.
31481         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
31482         "invalid" exceptions.
31483         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
31484         (_FP_ADD_INTERNAL): Likewise.
31485         (_FP_MUL): Likewise.
31486         (_FP_FMA): Likewise.
31487         (_FP_DIV): Likewise.
31488         (_FP_CMP_CHECK_NAN): Likewise.
31489         (_FP_SQRT): Likewise.
31490         (_FP_TO_INT): Likewise.
31491         (FP_EXTEND): Likewise.
31493 2014-10-09  Allan McRae  <allan@archlinux.org>
31495         * po/fr.po: Update French translation from translation project.
31497 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
31499         [BZ #14132]
31500         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
31501         of INTDEF.
31502         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
31503         (__cxa_atexit): Use libc_hidden_proto.
31504         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
31506         [BZ #14132]
31507         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
31508         declaration.
31509         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
31510         [!_ISOMAC] (__iswspace_l_internal): Likewise.
31511         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
31512         [!_ISOMAC] (__iswctype_internal): Likewise.
31513         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
31514         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
31515         alias.
31516         (fcntl): Remove __fcntl_internal alias.
31517         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
31518         __connect_internal alias.
31519         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
31520         Likewise.
31522         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
31523         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
31524         FP_DENORM_ZERO.
31525         (_FP_CHECK_FLUSH_ZERO): New macro.
31526         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
31527         (_FP_CMP): Likewise.
31528         (_FP_CMP_EQ): Likewise.
31529         (_FP_TO_INT): Do not set inexact for subnormal arguments if
31530         FP_DENORM_ZERO.
31531         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
31532         (FP_TRUNC): Likewise.
31534         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
31535         treated as invalid conversion, not as normal exponent.
31537         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
31538         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
31539         (_FP_CMP_EQ): Likewise.
31540         (_FP_CMP_UNORD): Likewise.
31541         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
31542         (FP_CMP_EQ_D): Likewise.
31543         (FP_CMP_UNORD_D): Likewise.
31544         * soft-fp/extended.h (FP_CMP_E): Likewise.
31545         (FP_CMP_EQ_E): Likewise.
31546         (FP_CMP_UNORD_E): Likewise.
31547         * soft-fp/quad.h (FP_CMP_Q): Likewise.
31548         (FP_CMP_EQ_Q): Likewise.
31549         (FP_CMP_UNORD_Q): Likewise.
31550         * soft-fp/single.h (FP_CMP_S): Likewise.
31551         (FP_CMP_EQ_S): Likewise.
31552         (FP_CMP_UNORD_S): Likewise.
31553         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
31554         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
31555         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
31556         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
31557         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
31558         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
31559         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
31560         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
31561         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
31562         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
31563         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
31564         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
31565         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
31566         to FP_CMP_Q.
31567         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
31568         FP_CMP_Q.
31569         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
31570         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
31571         FP_CMP_EQ_Q.
31572         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
31573         FP_CMP_Q.
31574         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
31575         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
31576         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
31577         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
31578         FP_CMP_EQ_Q.
31579         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
31580         FP_CMP_Q.
31581         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
31582         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
31583         FP_CMP_EQ_Q.
31584         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
31585         FP_CMP_Q.
31586         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
31587         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
31588         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
31589         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
31590         FP_CMP_EQ_Q.
31592         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
31593         a subnormal result, set the underflow exception if trapping on
31594         underflow is enabled.
31595         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
31596         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
31597         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
31598         redefine to 0.
31599         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
31600         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
31601         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
31602         * soft-fp/extendxftf2.c (__extendxftf2): Use
31603         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
31605         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
31606         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
31607         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31608         FP_HANDLE_EXCEPTIONS.
31609         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
31610         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31611         FP_HANDLE_EXCEPTIONS.
31612         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
31613         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31614         FP_HANDLE_EXCEPTIONS.
31615         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
31616         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31617         FP_HANDLE_EXCEPTIONS.
31619 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
31621         [BZ #14132]
31622         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
31623         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
31624         use INTUSE.
31625         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
31626         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
31627         Remove alias.
31628         (__adjtimex): Define using libc_hidden_ver.
31629         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
31630         Remove declaration.
31631         (ntp_gettime): Call __adjtimex directly.
31632         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
31633         Remove declaration.
31634         (ntp_gettimex): Call __adjtimex directly.
31635         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
31636         __adjtimex_internal alias.
31638 2014-10-08  Roland McGrath  <roland@hack.frob.com>
31640         [BZ #17460]
31641         * nscd/nscd.c (more_help): Rewrite list of tables collection
31642         using xstrdup and asprintf.
31644         * nscd/nscd_conf.c: Remove local xstrdup declaration.
31646 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31647             Roland McGrath  <roland@hack.frob.com>
31649         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
31650         (do_lookup_unique): ... local function 'enter' here; update callers.
31652 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
31654         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
31655         compat_symbol calls on [SHARED].
31656         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
31657         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
31658         Remove.
31659         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31660         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
31661         (oldsetrlimit): Remove.
31662         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
31664         (lchown): New syscall entry.
31665         (oldsetrlimit): Remove.
31666         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31667         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
31668         (oldsetrlimit): Remove.
31669         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31671         [BZ #14138]
31672         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
31673         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
31674         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
31675         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
31676         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
31677         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
31678         (fchown): Likewise.
31679         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
31680         (fchown): Likewise.
31681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
31682         Likewise.
31684 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31686         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
31687         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
31688         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
31689         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
31690         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
31691         Likewise.
31692         (__old_sem_post): Likewise.
31694 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
31696         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
31697         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
31698         HAVE_CLOCK_GETTIME_VSYSCALL macros.
31699         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
31700         Use INLINE_VSYSCALL macro.
31701         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
31702         __vdso_clock_gettime.
31703         * sysdeps/unix/sysv/linux/tile/init-first.c
31704         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
31705         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
31706         __vdso_clock_gettime.
31708         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
31709         to set up frame more cleanly.
31711         * sysdeps/tile/memcmp.c: New file.
31713         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
31715         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
31716         * sysdeps/tile/tilegx/strcasestr.c: New file.
31717         * sysdeps/tile/tilegx/strnlen.c: New file.
31718         * sysdeps/tile/tilegx/strstr.c: New file.
31720         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
31722 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
31724         * nptl/tst-setuid3.c: Write errors to stdout.
31726 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31728         * elf/dl-deps.c
31729         (preload): New functions broken out of _dl_map_object_deps.
31730         (_dl_map_object_deps):  Remove a nested function. Update call sites.
31732 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
31734         [BZ #14138]
31735         * sysdeps/unix/sysv/linux/execve.c: Remove file.
31736         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
31738 2014-10-01  Steve Ellcey  <sellcey@mips.com>
31740         * sysdeps/mips/strcmp.S: New.
31742 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
31744         [BZ #14138]
31745         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
31746         (linkat): Likewise.
31747         (mkdirat): Likewise.
31748         (readlinkat): Likewise.
31749         (renameat): Likewise.
31750         (symlinkat): Likewise.
31751         (unlinkat): Likewise.
31752         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
31753         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
31754         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
31755         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
31756         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
31757         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
31758         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
31760 2014-09-30  Will Newton  <will.newton@linaro.org>
31762         * math/math.h: Define long double math functions if
31763         _LIBC_TEST is defined.
31764         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
31766         * localedata/Makefile: Move assignment to tests-special
31767         into an ifdef testing run-built-tests.
31768         * timezone/Makefile: Likewise.
31770 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
31772         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
31773         with $(BASH) not $(SHELL).
31775 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
31776             Matthew LeGendre  <legendre1@llnl.gov>
31778         [BZ #17411]
31779         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
31780         l_reloc_result.
31782 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31784         * stdio-common/printf_fp.c
31785         (hack_digit): New function, broken out of ...
31786         (__printf_fp): ... local function here.  Update call sites.
31787         hack_digit now takes an additional parameter that is a pointer
31788         to a struct of the referenced locals.  Those locals moved inside
31789         the struct and references updated.
31791 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
31793         * aclocal.m4: Require autoconf 2.69.
31794         * configure: Regenerated.
31795         * sysdeps/aarch64/configure: Likewise.
31796         * sysdeps/alpha/configure: Likewise.
31797         * sysdeps/arm/armv7/configure: Likewise.
31798         * sysdeps/arm/configure: Likewise.
31799         * sysdeps/ia64/configure: Likewise.
31800         * sysdeps/mach/configure: Likewise.
31801         * sysdeps/mips/configure: Likewise.
31802         * sysdeps/s390/configure: Likewise.
31803         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
31804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
31806         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
31807         file.
31808         * sysdeps/ia64/configure.ac: Likewise.
31810 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
31812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
31813         specify symbol version for ld.so.  Do not include entry for
31814         libpthread.
31815         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31816         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
31817         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31819         [BZ #14171]
31820         * Makeconfig [$(build-shared) = yes]
31821         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
31822         makefiles.
31823         [$(build-shared) = yes && $(soversions.mk-done) = t]
31824         ($(common-objpfx)gnu/lib-names.h): Remove rule.
31825         [$(build-shared) = yes && $(soversions.mk-done) = t]
31826         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
31827         to Makerules.
31828         [$(build-shared) = yes && $(soversions.mk-done) = t]
31829         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
31830         here.
31831         [$(build-shared) = yes && $(soversions.mk-done) = t]
31832         (common-generated): Don't append gnu/lib-names.h and
31833         gnu/lib-names.stmp here.
31834         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
31835         (lib-names-h-abi): New variable.
31836         [$(build-shared) = yes && $(soversions.mk-done) = t]
31837         (lib-names-stmp-abi): Likewise.
31838         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31839         abi-variants] (before-compile): Append
31840         $(common-objpfx)$(lib-names-h-abi).
31841         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31842         abi-variants] (common-generated): Append gnu/lib-names.h.
31843         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31844         abi-variants] (install-others-nosubdir): Depend on
31845         $(inst_includedir)/$(lib-names-h-abi).
31846         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31847         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
31848         [$(build-shared) = yes && $(soversions.mk-done) = t]
31849         ($(common-objpfx)$(lib-names-h-abi)): New rule.
31850         [$(build-shared) = yes && $(soversions.mk-done) = t]
31851         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
31852         [$(build-shared) = yes && $(soversions.mk-done) = t]
31853         (common-generated): Append $(lib-names-h-abi) and
31854         $(lib-names-stmp-abi).
31855         * scripts/lib-names.awk: Do not handle multi being set.
31856         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
31857         Remove variable.
31858         (abi-lp64_be-ld-soname): Likewise.
31859         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
31860         Likewise.
31861         (abi-hard-ld-soname): Likewise.
31862         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
31863         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
31864         Remove variable.
31865         (abi-o32_hard-ld-soname): Likewise.
31866         (abi-o32_soft_2008-ld-soname): Likewise.
31867         (abi-o32_hard_2008-ld-soname): Likewise.
31868         (abi-n32_soft-ld-soname): Likewise.
31869         (abi-n32_hard-ld-soname): Likewise.
31870         (abi-n32_soft_2008-ld-soname): Likewise.
31871         (abi-n32_hard_2008-ld-soname): Likewise.
31872         (abi-n64_soft-ld-soname): Likewise.
31873         (abi-n64_hard-ld-soname): Likewise.
31874         (abi-n64_soft_2008-ld-soname): Likewise.
31875         (abi-n64_hard_2008-ld-soname): Likewise.
31876         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
31877         Likewise.
31878         (abi-64-v2-ld-soname): Likewise.
31879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
31880         ld.so entries.
31881         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
31882         variable.
31883         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
31884         entry.
31885         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
31886         variable.
31887         (abi-64-ld-soname): Likewise.
31888         (abi-x32-ld-soname): Likewise.
31889         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
31890         entry.
31891         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31893 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
31895         [BZ #14138]
31896         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
31897         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
31898         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
31899         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
31900         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
31901         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
31902         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
31903         syscall entry for GLIBC_2.2 symbol version.
31904         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
31905         Likewise.
31906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
31907         (setrlimit): Likewise.
31908         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
31909         Likewise.
31911 2014-09-23  Will Newton  <will.newton@linaro.org>
31913         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
31914         _LINUX_ARM_SYSDEP_H include guard too.
31915         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
31916         define.
31918 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31920         * sysdeps/unix/sysv/linux/eventfd.c:
31921         Make first argument unsigned.
31922         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
31923         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
31925 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
31927         [BZ #16852]
31928         * socket/recvmmsg.c (recvmmsg): Drop const argument.
31929         * socket/sys/socket.h: Likewise.
31930         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
31932 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31934         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
31936 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
31938         * time/tst-ftime.c: New test.
31939         * time/Makefile (tests): Add tst-ftime.
31941 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
31943         * soft-fp/extended.h: Fix comment formatting.
31944         * soft-fp/op-1.h: Likewise.
31945         * soft-fp/op-2.h: Likewise.
31946         * soft-fp/op-4.h: Likewise.
31947         * soft-fp/op-8.h: Likewise.
31948         * soft-fp/op-common.h: Likewise.
31949         * soft-fp/soft-fp.h: Likewise.
31951         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
31953 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
31955         [BZ #6652]
31956         * Makeconfig (soversions-default-setname): Remove variable.
31957         ($(common-objpfx)soversions.i): Don't pass default_setname to
31958         soversions.awk.
31959         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
31960         oldest_abi to abi-versions.awk.
31961         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
31962         * config.make.in (oldest-abi): Remove variable.
31963         * configure.ac (--enable-oldest-abi): Remove configure option.
31964         * configure: Regenerated.
31965         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
31966         text.
31967         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
31968         * scripts/soversions.awk: Do not handle default_setname variable.
31969         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
31970         variable.
31971         * sysdeps/mach/hurd/configure: Regenerated.
31972         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
31973         variable.
31974         * sysdeps/unix/sysv/linux/configure: Regenerated.
31976 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31978         * elf/Makefile (CFLAGS-interp.c): Remove.
31979         ($(elf-objpfx)runtime-linker.h): Generate header with linker
31980         path string.
31981         * elf/interp.c: Include generated runtime-linker.h
31983         * Makerules (lib%.so): Don't include $(+interp) in
31984         prerequisites.
31985         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
31986         * dlfcn/eval.c: Remove file.
31988         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
31989         macros.
31991         [BZ #17266]
31992         * misc/sys/cdefs.h: Define __extern_always_inline for clang
31993         4.2 and newer.
31995         [BZ #17370]
31996         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
31998 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31999             Jakub Jelinek  <jakub@redhat.com>
32001         [BZ #17266]
32002         * libio/stdio.h: Check definition of __fortify_function
32003         instead of __extern_always_inline to include bits/stdio2.h.
32004         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
32005         check if __extern_always_inline is defined.
32006         [__USE_MISC || __USE_XOPEN]: Likewise.
32007         [__USE_ISOC99] Likewise.
32008         * misc/sys/cdefs.h (__fortify_function): Define only if
32009         __extern_always_inline is defined.
32010         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
32011         __extern_always_inline and __extern_inline only for g++-4.3
32012         and newer or a compatible gcc.
32014 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
32016         [BZ #17371]
32017         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
32018         last change to handle zero prefix length.
32020 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32022         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
32023         _SC_REGEX_VERSION.
32025         * posix/getconf.c (vars): Add _POSIX_IPV6 and
32026         _POSIX_RAW_SOCKETS.
32028 2014-09-13  Allan McRae  <allan@archlinux.org>
32030         * po/ru.po: Update Russian translation from translation project.
32032 2014-09-12  Roland McGrath  <roland@hack.frob.com>
32034         * locale/programs/locale.c (show_locale_vars): Inline local function
32035         into its sole call site.  Clean up some style nits.
32036         (print_item): New function, broken out of ...
32037         (show_info): ... local function here.  Clean up style nits.
32039         * locale/programs/ld-ctype.c (set_one_default): New function, broken
32040         out of ...
32041         (set_class_defaults): ... local function set_default here.
32042         Define set_default as a macro locally to pass constant parameters.
32043         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
32044         rather than a shared local.
32046         * stdlib/rpmatch.c (try): New function, broken out of ...
32047         (rpmatch): ... local function here.  Also, prototypify definition.
32049 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
32051         * scripts/soversions.awk: Do not handle configuration names.
32052         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
32053         vendor and os variables to soversions.awk.
32054         * configure.ac: Do not modify gnu-* host_os.
32055         * configure: Regenerated
32056         * shlib-versions: Remove first column with configuration names.
32057         * nptl/shlib-versions: Likewise.
32058         * nptl_db/shlib-versions: Likewise.
32059         * sysdeps/hppa/shlib-versions: Likewise.
32060         * sysdeps/m68k/shlib-versions: Likewise.
32061         * sysdeps/mach/hurd/shlib-versions: Likewise.
32062         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
32063         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
32064         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
32065         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
32066         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
32067         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
32068         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
32069         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
32070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
32071         Likewise.
32072         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
32073         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
32074         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
32075         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
32076         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
32077         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
32078         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
32079         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
32081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
32082         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
32083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
32084         Regenerated.
32085         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
32086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
32087         Condition symbol version definitions on [HAVE_ELFV2_ABI].
32089         * shlib-versions: Remove OS-specific entries.  Moved to files in
32090         sysdeps.
32091         * sysdeps/mach/hurd/shlib-versions: New file.
32092         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
32094         * nptl/shlib-versions: Remove architecture-specific entries.
32095         Moved to files in sysdeps.
32096         * shlib-versions: Likewise.
32097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
32098         file.
32099         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
32100         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
32101         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
32102         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
32104         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
32105         (UDP_NO_CHECK6_RX): Likewise.
32107 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32109         * sysdeps/posix/sysconf.c (__sysconf): Spell
32110         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
32112 2014-08-12  Florian Weimer  <fweimer@redhat.com>
32114         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
32115         loading.
32116         * iconv/Versions (__gconv_transliterate): Export for use from
32117         gconv modules.
32118         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
32119         (struct __gconv_trans_data, __gconv_trans_fct,
32120         __gconv_trans_context_fct, __gconv_trans_query_fct,
32121         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
32122         definitions.
32123         (struct __gconv_step_data): Remove __trans member.
32124         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
32125         longer hidden.  Remove unused trans_data argument.
32126         * iconv/gconv_int.h (struct trans_struct): Remove definition.
32127         (__gconv_translit_find): Remove declaration.
32128         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
32129         prototype.
32130         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
32131         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
32132         trans_data argument.  Add hidden definition.
32133         (__gconv_translit_find): Remove.
32134         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
32135         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
32136         * iconv/skeleton.c: Remove transliteration initialization.
32137         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
32138         __gconv_step_data initialization.
32139         * libio/iofwide.c (__libio_translit_): Remove.
32140         (_IO_fwide): Adjust struct __gconv_step_data initialization.
32141         * wcsmbs/btowc.c (__btowc): Likewise.
32142         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32143         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
32144         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
32145         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
32146         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
32147         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
32148         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
32149         * wcsmbs/wctob.c (wctob): Likewise.
32151 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32153         [BZ #16194]
32154         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
32155         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
32156         register usage.
32157         * sysdeps/x86/Makefile: Adjust.
32159 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32160             Roland McGrath  <roland@hack.frob.com>
32162         * locale/weight.h: Add include guard.
32163         (findidx): Make static rather than auto; take new parameters
32164         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
32165         * locale/weightwc.h: Likewise.
32166         * posix/fnmatch_loop.c
32167         (FCT): Change type of EXTRA from int32_t to wint_t.
32168         Don't include either header inside the function.
32169         Call FINDIDX rather than findidx, and pass new arguments.
32170         #undef FINDIDX at the end of the file.
32171         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
32172         FINDIDX before including fnmatch_loop.c for the non-wide version.
32173         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
32174         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
32175         for the wide version.
32176         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
32177         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
32178         Pass new arguments to findidx.
32179         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
32180         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
32181         Don't #include it inside the function.  Pass new arguments to findidx.
32182         * posix/regex_internal.h
32183         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
32184         (re_string_elem_size_at): Don't #include it inside the function.
32185         Pass new arguments to findidx.
32186         * string/strcoll_l.c: #include WEIGHT_H at top level.
32187         (get_next_seq): Don't #include it inside the function.
32188         Pass new arguments to findidx.
32189         (get_next_seq_nocache): Likewise.
32190         * string/strxfrm_l.c: #include WEIGHT_H at top level.
32191         (STRXFRM): Don't #include it inside the function.
32192         Pass new arguments to findidx.
32194 2014-09-11  Florian Weimer  <fweimer@redhat.com>
32196         [BZ #17344]
32197         * malloc/malloc.c (unlink): Turn asserts into a call to
32198         malloc_printerr.
32200 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
32202         [BZ #17370]
32203         * libio/wfileops (do_ftell_wide): Free OUT.
32205 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
32207         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
32209 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32211         [BZ #17363]
32212         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
32213         group if the current group is empty.
32215 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32217         * benchtests/bench-memset.c (test_main): Add more test from size
32218         from 32 to 512 bytes.
32219         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32220         Add POWER8 memset object.
32221         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32222         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
32223         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
32224         implementation.
32225         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
32226         Likewise.
32227         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
32228         multiarch POWER8 memset optimization.
32229         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
32230         POWER8 memset optimization.
32232         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32233         Remove bzero multiarch objects.
32234         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
32235         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
32236         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
32237         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
32238         Remove define.
32239         [__bzero]: Redefine to specific name.
32240         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
32241         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
32242         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
32243         define.
32244         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32245         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
32247 2014-09-10  Florian Weimer  <fweimer@redhat.com>
32249         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
32250         warnings into errors.
32252         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
32253         __cxa_thread_atexit_impl prototype.
32255 2014-09-09  Steve Ellcey  <sellcey@mips.com>
32257         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
32258         Fix capitalization of error message.
32260 2014-09-09  Steve Ellcey  <sellcey@mips.com>
32262         * sysdeps/mips/preconfigure: Modify ABI tests.
32264 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
32266         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
32268 2014-09-07  Roland McGrath  <roland@hack.frob.com>
32269             Carlos O'Donell  <carlos@systemhalted.org>
32271         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
32272         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
32273         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
32274         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
32275         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
32276         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
32277         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
32278         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
32279         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
32280         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
32281         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
32282         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
32283         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
32284         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
32285         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
32286         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
32287         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
32288         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
32289         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
32290         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
32291         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
32292         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
32293         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
32294         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
32295         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
32296         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
32297         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
32298         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
32299         Deconditionalize the code that was previously under [RESET_PID].
32300         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
32301         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
32302         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
32303         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
32304         include sysdep.h.
32306 2014-09-08  Allan McRae  <allan@archlinux.org>
32308         * version.h (RELEASE): Set to "development".
32309         (VERSION): Set to "2.20.90"
32311 2014-09-07  Allan McRae  <allan@archlinux.org
32313         * version.h (RELEASE): Set to "stable".
32314         (VERSION): Set to "2.20"
32315         * include/features.h (__GLIBC_MINOR__): Set to 20.
32317         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
32318         Liebler.
32320         * po/ko.po: Update Korean translation from translation project.
32322 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
32324         [BZ #17354]
32325         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
32326         macro for handling signed relocations.
32328 2014-09-03  Florian Weimer  <fweimer@redhat.com>
32330         [BZ #17325]
32331         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
32332         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
32333         assert.
32334         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
32335         * iconvdata/ibm935.c (BODY): Likewise.
32336         * iconvdata/ibm937.c (BODY): Likewise.
32337         * iconvdata/ibm939.c (BODY): Likewise.
32338         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
32339         assert.
32340         * iconvdata/Makefile (iconv-test.out): Pass module list to test
32341         script.
32342         * iconvdata/run-iconv-test.sh: New test loop for checking for
32343         decoder crashers.
32345 2014-09-02  Khem Raj  <raj.khem@gmail.com>
32347         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
32348         libm_hidden_ver.
32350 2014-09-01  Allan McRae  <allan@archlinux.org>
32352         * po/eo.po: Update Esperanto translation from translation project.
32354         * po/ca.po: Update Catalan translation from translation project.
32356 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32358         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
32359         __proc_dostop call.
32361 2014-08-27  Mark Wielaard  <mjw@redhat.com>
32363         [BZ #17319]
32364         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
32365         to call set_thread_area instead of hand written asm.
32366         (__NR_set_thread_area): Removed define.
32367         (TLS_FLAG_WRITABLE): Likewise.
32368         (__ASSUME_SET_THREAD_AREA): Remove check.
32369         (TLS_EBX_ARG): Remove define.
32370         (TLS_LOAD_EBX): Likewise.
32372 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32374         Simplify atomicity of socket creation in bind.
32376         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
32377         looking up the name after linking the file.
32379 2014-08-27  Allan McRae  <allan@archlinux.org>
32381         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32383 2014-08-26  Florian Weimer  <fweimer@redhat.com>
32385         [BZ #17187]
32386         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
32387         trans_compare, open_translit, __gconv_translit_find):
32388         Remove module loading code.
32390 2014-08-26  Allan McRae  <allan@archlinux.org>
32392         * po/vi.po: Update Vietnamese translation from translation project.
32394         * po/uk.po: Update Ukrainian translation from translation project.
32396         * po/fr.po: Update French translation from translation project.
32398         * po/ru.po: Update Russian translation from translation project.
32400         * po/pl.po: Update Polish translation from translation project.
32402         * po/cs.po: Update Czech translation from translation project.
32404         * po/de.po: Update German translation from translation project.
32406         * po/bg.po: Update Bulgarian translation from translation project.
32408         * po/sv.po: Update Sweedish translation from translation project.
32410         * po/nl.po: Update Dutch translation from translation project.
32412         * po/es.po: Update Spanish translation from translation project.
32414 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32416         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
32418         * catgets/Makefile (CPPFLAGS-gencat): Remove.
32419         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
32420         (CPPFLAGS-iconvconfig): Likewise.
32421         * timezone/Makefile (CPPFLAGS-zic): Likewise.
32423         * include/libc-symbols.h: Remove unnecessary check for
32424         NOT_IN_libc.
32425         * nptl/pthreadP.h: Likewise.
32426         * sysdeps/aarch64/setjmp.S: Likewise.
32427         * sysdeps/alpha/setjmp.S: Likewise.
32428         * sysdeps/arm/sysdep.h: Likewise.
32429         * sysdeps/i386/setjmp.S: Likewise.
32430         * sysdeps/m68k/setjmp.c: Likewise.
32431         * sysdeps/posix/getcwd.c: Likewise.
32432         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32433         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
32434         * sysdeps/s390/s390-32/setjmp.S: Likewise.
32435         * sysdeps/s390/s390-64/setjmp.S: Likewise.
32436         * sysdeps/sh/sh3/setjmp.S: Likewise.
32437         * sysdeps/sh/sh4/setjmp.S: Likewise.
32438         * sysdeps/unix/alpha/sysdep.h: Likewise.
32439         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32440         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32441         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
32442         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32445         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32446         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32447         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32448         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32449         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32450         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32451         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32452         * sysdeps/x86_64/setjmp.S: Likewise.
32454 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
32456         [BZ #17263]
32457         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
32458         <stdint.h>.
32459         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
32460         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
32462 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32464         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
32466         [BZ #17262]
32467         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
32468         and __x86_64__ when disabling x87 inline functions.
32470 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
32472         [BZ #17259]
32473         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
32474         asm statement with __cpuid_count.
32476 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
32478         * configure.ac: Change __ehdr_start code to dereference the struct.
32479         Run readelf on the output to look for relocations.
32480         * configure: Regenerated.
32482 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
32484         [BZ #17261]
32485         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
32486         value to 0.
32487         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
32489 2014-08-12  Roland McGrath  <roland@hack.frob.com>
32491         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
32493 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
32495         [BZ #16892]
32496         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
32497         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
32499 2014-08-12  Sean Anderson  <seanga2@gmail.com>
32501         * malloc/malloc.c: Fix typo in comment.
32503 2014-08-09  Allan McRae  <allan@archlinux.org>
32505         * Regenerate libc.po.
32507 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
32509         * intl/tst-gettext2.sh: Check every lang file for creation.
32511 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
32513         * sysdeps/aarch64/fpu/math_private.h
32514         (libc_feholdsetround_noex_aarch64_ctx): New function.
32516 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
32518         * sysdeps/arm/armv6/strcpy.S (strcpy):
32519         Fix performance issue in misaligned cases.
32521 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32523         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
32524         Move definition from termios.h.
32525         (struct termio): Likewise.
32526         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32527         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
32528         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
32529         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
32530         Likewise.
32531         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
32532         Move definition to ioctl-types.h
32533         (struct termio): Likewise.
32534         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32535         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
32536         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
32537         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
32538         Likewise.
32540 2014-08-05  Richard Henderson  <rth@redhat.com>
32542         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
32543         exceptions.
32544         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
32545         Add fraiseexcpt.
32546         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
32547         Use __feraiseexcept.
32548         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
32549         Protect libm symbols with IS_IN_libm.
32551         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
32553 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
32555         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
32557 2014-08-04  Will Newton  <will.newton@linaro.org>
32559         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
32560         file.
32562 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
32564         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
32565         variants for each function.
32567 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32569         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
32570         appended ...
32571         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
32572         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
32573         appended ...
32574         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
32575         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
32576         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
32577         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
32578         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
32579         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
32580         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
32581         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
32582         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
32583         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
32584         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
32585         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
32586         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
32587         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
32588         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
32589         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
32590         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
32591         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
32592         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
32593         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
32594         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
32595         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
32596         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
32597         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
32598         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
32599         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
32600         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
32601         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
32602         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
32603         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
32604         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
32605         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
32606         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
32607         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
32608         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
32609         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
32610         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
32611         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
32612         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
32613         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
32614         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
32615         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
32616         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
32617         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
32618         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
32619         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
32620         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
32621         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
32622         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
32623         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
32624         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
32625         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
32626         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
32627         Update #include.
32628         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
32629         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
32631 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32633         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
32634         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
32635         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
32636         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
32637         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
32638         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
32640 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32642         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
32643         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
32644         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32645         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
32647 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32649         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
32650         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
32651         (__libc_vfork): Define function under this name.
32652         (__vfork): Define as an alias.
32653         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
32654         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
32656 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32658         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
32659         that was previously under [RESET_PID].
32660         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
32662 2014-08-04  Andreas Schwab  <schwab@suse.de>
32664         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
32666 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
32668         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
32669         (main): Likewise.
32671 2014-08-01  Roland McGrath  <roland@hack.frob.com>
32673         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
32675 2014-08-01  Richard Henderon  <rth@redhat.com>
32677         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
32678         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
32679         typo in exact zero test.
32680         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32681         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32682         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32684 2014-08-01  Roland McGrath  <roland@hack.frob.com>
32686         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
32687         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
32688         * sysdeps/arm/sysdep.h: ... here.
32689         [!__ASSEMBLER__]: Include <stdint.h>.
32691 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32693         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
32694         (HAVE_WCTYPE_H): Likewise.
32695         (HAVE_ISWCTYPE): Likewise.
32696         (ENABLE_NLS): Likewise.
32697         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
32698         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
32700         * posix/regex_internal.c: Check if DEBUG is defined and is
32701         set.
32703         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
32704         (HAVE_MBSRTOWCS): Likewise.
32705         * posix/fnmatch.c: Include string.h unconditionally.
32707 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
32709         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
32710         reversal.
32712 2014-07-31  Roland McGrath  <roland@hack.frob.com>
32714         * sysdeps/generic/safe-fatal.h: New file.
32715         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
32716         * nptl/forward.c: Include it.
32717         (__pthread_unwind): Use __safe_fatal as default action, rather
32718         than a bogus use of INTERNAL_SYSCALL that could never work.
32720         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
32721         * configure.ac (libc_cv_builtin_trap): New test.
32722         * configure: Regenerated.
32723         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
32724         (ABORT_INSTRUCTION): Define using __builtin_trap.
32726         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
32727         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
32728         * sysdeps/nptl/nptl-signals.h: New file.
32729         * nptl/pthreadP.h: Include <nptl-signals.h>.
32731 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
32733         * sysdeps/s390/s390-64/utf16-utf32-z9.c
32734         (ONE_DIRECTION): Define.
32735         * sysdeps/s390/s390-64/utf8-utf16-z9.c
32736         (ONE_DIRECTION): Define.
32737         * sysdeps/s390/s390-64/utf8-utf32-z9.c
32738         (ONE_DIRECTION): Define.
32740 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
32742         * sysdeps/s390/Makefile: Delete file.
32743         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
32744         * sysdeps/s390/__longjmp.c: Delete file.
32745         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
32746         Remove fields __flags and __reserved.
32747         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
32748         and add versioning.
32749         * sysdeps/s390/rtld-__longjmp.c: Delete file.
32750         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
32751         * sysdeps/s390/rtld-setjmp.S: Likewise.
32752         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
32753         * sysdeps/s390/s390-32/__longjmp.c: ... here.
32754         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
32755         * sysdeps/s390/s390-32/setjmp.S: ... here.
32756         Add versioning.
32757         (__sigsetjmp): Remove setting __flags field.
32758         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
32759         * sysdeps/s390/s390-64/__longjmp.c: ... here.
32760         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
32761         * sysdeps/s390/s390-64/setjmp.S: ... here.
32762         Add versioning.
32763         (__sigsetjmp): Remove setting __flags field.
32764         * sysdeps/s390/setjmp.S: Delete file.
32765         * sysdeps/s390/sigjmp.c: Likewise.
32766         * sysdeps/s390/v1-longjmp.c: Likewise.
32767         * sysdeps/s390/v1-setjmp.h: Likewise.
32768         * sysdeps/s390/v1-sigjmp.c: Likewise.
32769         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
32770         Remove v1-longjmp_chk.
32771         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
32772         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
32773         Include debug/longjmp_chk.c and add versioning.
32774         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
32775         Include nptl/pt-longjmp.c and add versioning.
32776         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
32777         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
32778         Include __longjmp.c.
32779         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
32780         Move to ...
32781         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
32782         (__getcontext): Remove setting __flags field.
32783         Add versioning.
32784         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
32785         Don't restore upper high grps.
32786         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
32787         Likewise.
32788         (__swapcontext): Remove setting uc_flags field.
32789         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
32790         Delete file.
32791         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
32792         Include __longjmp.c.
32793         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
32794         Move to ...
32795         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
32796         (__getcontext): Remove setting __flags field.
32797         Add versioning.
32798         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
32799         (__swapcontext): Remove setting uc_flags field.
32800         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
32801         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
32802         Remove fields uc_high_gprs and __reserved.
32803         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
32804         New file with reverted content.
32805         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
32806         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
32807         Regenerated.
32808         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
32809         Regenerated.
32811 2014-07-31  Andreas Schwab  <schwab@suse.de>
32813         * config.h.in (HAVE_IFUNC): Define to 0.
32814         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
32815         definedness.
32817 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
32819         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32820         memmove-avx-unaligned, memcpy-avx-unaligned and
32821         mempcpy-avx-unaligned.
32822         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32823         Add tests for AVX memcpy functions.
32824         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
32825         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
32826         memcpy_chk.
32827         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
32828         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
32829         memmove_chk.
32830         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
32831         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
32832         mempcpy_chk.
32833         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
32834         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
32835         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
32837 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32839         [BZ #17213]
32840         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
32841         powerpc64le.
32843 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
32845         [BZ #16839]
32846         * manual/llio.texi: Add section about open file description locks.
32847         * manual/examples/ofdlocks.c: Example of open file description
32848         lock usage.
32849         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
32850         F_OFD_SETLK, and F_OFD_SETLKW.
32852 2014-07-23  Allan McRae  <allan@archlinux.org>
32854         * po/es.po: Update Spanish translation from translation project.
32856 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
32858         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
32860 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
32862         [BZ #17078]
32863         * sysdeps/arm/dl-machine.h (elf_machine_rela)
32864         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
32865         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
32867 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
32869         [BZ #17088]
32870         * math/fesetenv.c (__fesetenv)
32871         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
32872         * math/feupdateenv.c (__feupdateenv)
32873         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
32875         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
32876         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
32877         (__ASSUME_SOCKETCALL): Do not define.
32879         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
32880         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
32881         (__ASSUME_SOCKETCALL): Do not define.
32882         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
32883         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
32884         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32885         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
32886         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32887         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
32888         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32889         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32891         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
32892         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
32893         (__ASSUME_SOCKETCALL): Do not define.
32894         (__ASSUME_IPC64): Define unconditionally.
32895         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
32896         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32897         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
32898         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32899         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
32900         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32901         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
32902         Likewise.
32904         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
32905         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
32906         (__ASSUME_SOCKETCALL): Do not define.
32907         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
32908         (__ASSUME_FUTEX_LOCK_PI): Likewise.
32909         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32910         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
32911         (__ASSUME_REQUEUE_PI): Define unconditionally.
32912         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
32913         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
32914         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32915         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
32916         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32917         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32919         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
32920         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
32921         (__ASSUME_SOCKETCALL): Do not define.
32922         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
32923         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32924         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32925         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
32926         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32927         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32929         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
32930         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
32931         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32932         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
32933         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32934         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
32935         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32936         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
32937         (__ASSUME_GETCPU_SYSCALL): Likewise.
32939         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
32940         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
32941         cases for individual architectures.
32942         * sysdeps/gnu/configure: Regenerated.
32943         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
32944         LIBC_SLIBDIR_RTLDDIR.
32945         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
32946         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
32947         LIBC_SLIBDIR_RTLDDIR.
32948         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
32949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
32950         LIBC_SLIBDIR_RTLDDIR.
32951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
32952         Regenerated.
32953         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
32954         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
32955         file.
32956         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
32957         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
32958         file.
32959         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
32960         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
32961         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
32962         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
32964         * sysdeps/aarch64/shlib-versions: Move to ...
32965         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
32966         * sysdeps/alpha/shlib-versions: Move to ...
32967         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
32968         * sysdeps/arm/shlib-versions: Move to ...
32969         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
32970         * sysdeps/hppa/shlib-versions: Move all contents except for
32971         libgcc_s entry to ...
32972         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
32973         entry from ...
32974         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
32975         * sysdeps/ia64/shlib-versions: Move to ...
32976         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
32977         entry from ...
32978         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
32979         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
32980         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
32981         * sysdeps/microblaze/shlib-versions: Move to ...
32982         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
32983         * sysdeps/mips/shlib-versions: Move to ...
32984         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
32985         entry from ...
32986         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
32987         * sysdeps/tile/shlib-versions: Move to ...
32988         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
32989         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
32990         from ...
32991         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
32992         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
32993         entry from ...
32994         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
32996 2014-07-17  Will Newton  <will.newton@linaro.org>
32998         * sysdeps/arm/bits/atomic.h
32999         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
33000         (__arch_compare_and_exchange_bool_16_int): Likewise.
33001         (__arch_compare_and_exchange_bool_64_int): Likewise.
33003         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
33004         into an #else block.
33006 2014-07-16  Roland McGrath  <roland@hack.frob.com>
33008         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
33009         just Linux configurations.  Test empirically that the compiler sets
33010         __ARM_EABI__, rather than using the tuple to decide.
33011         * sysdeps/arm/preconfigure: Regenerated.
33012         * sysdeps/unix/sysv/linux/arm/configure: File removed.
33013         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
33014         contents appended ...
33015         * sysdeps/arm/configure.ac: ... here.
33016         * sysdeps/arm/configure: Regenerated.
33018 2014-07-15  Roland McGrath  <roland@hack.frob.com>
33020         * nptl/pthread_kill.c: New file.
33021         * nptl/pthread_sigmask.c: New file.
33022         * nptl/pthread_sigqueue.c: New file.
33024         * sysdeps/nptl/lowlevellock.h: New file.
33025         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
33026         * sysdeps/nptl/lowlevellock-futex.h: New file.
33028         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
33029         Remove dead declarations.
33031 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
33033         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
33034         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
33035         config-cflags-avx2.
33036         * sysdeps/x86_64/configure.ac: Likewise.
33037         * sysdeps/i386/configure: Regenerated.
33038         * sysdeps/x86_64/configure: Likewise.
33039         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33040         memset-avx2 only if config-cflags-avx2 is yes.
33041         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33042         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
33043         defined.
33044         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
33045         only if HAVE_AVX2_SUPPORT is defined.
33046         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33048 2014-07-14  Alan Modra  <amodra@gmail.com>
33050         [BZ #17153]
33051         * elf/elf.h (DT_PPC64_NUM): Correct value.
33052         * NEWS: Add to fixed bug list.
33054 2014-07-13  Jim Meyering  <meyering@fb.com>
33056         [BZ 17150]
33057         regex: don't deref NULL upon heap allocation failure
33058         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
33059         failure in one more place.
33060         To trigger the segfault, configure grep -with-included-regex,
33061         build it, and run these commands:
33062         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
33064 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
33066         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33068 2014-07-11  Richard Henderson  <rth@redhat.com>
33070         * sysdeps/aarch64/libm-test-ulps: Update.
33072 2014-07-10  Florian Weimer  <fweimer@redhat.com>
33074         [BZ #17135]
33075         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
33076         * nptl/allocatestack.c (__nptl_setxid_error): New function.
33077         (__nptl_setxid): Initialize error member.  Call
33078         __nptl_setxid_error.
33079         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
33080         * nptl/descr.h (struct xid_command): Add error member.
33081         * nptl/tst-setuid3.c: New file.
33082         * nptl/Makefile (tests): Add it.
33084 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33086         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
33087         New define.
33088         (__lll_trylock): Use __lll_base_trylock.
33089         (__lll_cond_trylock): Likewise.
33091 2014-07-10  Roland McGrath  <roland@hack.frob.com>
33093         * nptl/pthread_create.c (start_thread): Use atomic_or and
33094         lll_futex_wake directly rather than lll_robust_dead.
33095         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
33096         (lll_robust_dead): Macro removed.
33097         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
33098         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
33099         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
33100         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33101         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33102         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
33103         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
33104         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33105         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
33106         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33107         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33108         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33109         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33110         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33111         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33113         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
33114         Use atomic_compare_and_exchange_val_acq directly rather than
33115         lll_robust_trylock.
33116         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
33117         (__lll_robust_trylock, lll_robust_trylock): Removed.
33118         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
33119         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
33120         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33121         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33122         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
33123         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
33124         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33125         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
33126         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33127         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33128         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33129         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33130         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33131         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33133 2014-07-02  Florian Weimer  <fweimer@redhat.com>
33135         * manual/locale.texi (Locale Names): New section documenting
33136         locale name syntax.  Adjust menu and node chaining accordingly.
33137         (Choosing Locale): Reference Locale Names, Locale Categories.
33138         Mention setting LC_ALL=C.  Reflect that name syntax is now
33139         documented.
33140         (Locale Categories): New section title.  Reference Locale Names.
33141         LC_ALL is an environment variable, but not a category.
33142         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
33143         description, now in Locale Name.  Reference that section.  Locale
33144         name syntax is now documented.
33146 2014-07-02  Florian Weimer  <fweimer@redhat.com>
33148         [BZ #17137]
33149         * locale/findlocale.c (name_present, valid_locale_name): New
33150         functions.
33151         (_nl_find_locale): Use the loc_name variable to store name
33152         candidates.  Call name_present and valid_locale_name to check and
33153         validate locale names.  Return an error if the locale is invalid.
33155 2014-07-02  Florian Weimer  <fweimer@redhat.com>
33157         * locale/setlocale.c (setlocale): Use strdup for allocating
33158         composite name copy.
33160 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33162         Sync up with gnulib.
33163         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
33164         [!_LIBC && ENABLE_NLS]: Include gettext.h.
33165         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
33166         and _GL_ARG_NONNULL.
33167         [USE_UNLOCKED_IO]: Include unlocked-io.h.
33168         [!_LIBC]: Include code for Windows and Cygwin.
33169         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
33170         Include prototype for int strerror_r.
33171         [!_LIBC] (is_open): New function.
33172         (flush_stdout): New function.
33173         (print_errno_message): Use it.
33174         (error): Likewise.
33175         (error_at_line): Likewise.
33176         (error_tail) Add function attribute macros.  Use
33177         __builtin_expect.
33179         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
33181         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
33183         * io/ftw.c: Include sys/param.h unconditionally.
33185         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
33187         [BZ #17125]
33188         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
33189         libc_freeres_ptr.
33190         (freecache): New function to free CACHE on exit.
33192         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
33193         initialization.
33195 2014-07-09  David S. Miller  <davem@davemloft.net>
33197         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33199         * sysdeps/sparc/nptl/internaltypes.h: Delete.
33200         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
33201         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
33202         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
33203         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
33204         * sysdeps/sparc/nptl/sem_init.c: Likewise.
33205         * sysdeps/sparc/nptl/sem_post.c: Likewise.
33206         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
33207         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
33208         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
33209         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
33210         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
33211         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
33213 2014-07-09  Andreas Schwab  <schwab@suse.de>
33215         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
33216         output.
33217         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
33218         (do_test): Likewise.
33220         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33222 2014-07-09  Will Newton  <will.newton@linaro.org>
33224         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
33225         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
33226         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
33227         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
33228         * sysdeps/hppa/start.S (_start): Likewise.
33230 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
33232         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
33234         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
33235         defined.
33237 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33239         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
33240         after checking that it is non-NULL.
33242         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
33244 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33246         * sysdeps/powerpc/memmove.c: Remove file.
33247         * sysdeps/powerpc/powerpc32/power4/memcopy.h
33248         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
33249         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
33250         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
33251         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
33252         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
33253         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
33254         string memmove instead of removed powerpc one.
33256         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
33257         [weak_alias]: Fix compiler warning due trailing data.
33258         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
33259         [weak_alias]: Likewise.
33260         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
33261         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
33263         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
33264         (__libc_ifunc_impl_list): Add memmove functions.
33266 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33268         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
33269         Remove code.
33270         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
33271         Likewise.
33272         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
33273         Likewise.
33274         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
33275         Likewise.
33276         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
33277         Likewise.
33278         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
33279         Likewise.
33280         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
33281         Likewise.
33282         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
33283         Likewise.
33284         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
33285         Likewise.
33286         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
33287         Likewise.
33288         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
33289         Likewise.
33290         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
33291         Likewise.
33292         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
33293         Likewise.
33294         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
33295         Likewise.
33296         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
33297         Likewise.
33298         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
33299         Likewise.
33300         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
33301         Likewise.
33303 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33305         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
33306         to avoid alignment traps in non-cacheable memory.
33307         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
33309         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
33310         multiarch objects.
33311         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
33312         file: multiarch power7 memmove.
33313         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
33314         multiarch default memmove.
33315         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
33316         multiarch memove for powerpc32/power4.
33318         * string/bcopy.c: Use full path to include memmove.c.
33319         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
33320         multiarch objects.
33321         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
33322         bcopy for powerpc64.
33323         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
33324         bcopy for powerpc64.
33325         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
33326         and memmove implementations.
33327         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
33328         optimized multiarch memmove for POWER7/powerpc64.
33329         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
33330         default multiarch memmove for powerpc64.
33331         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
33332         multiarch for powerpc64.
33333         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
33334         for POWER7/powerpc64.
33335         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
33336         memmove for POWER7/powerpc64.
33338         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
33339         glibc default one.
33341         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
33342         __ELF_NATIVE_CLASS equal to 64.
33344 2014-07-07  Roland McGrath  <roland@hack.frob.com>
33346         * sysdeps/nptl/lowlevellock.h: File removed.
33348         * NEWS: NPTL is no longer an add-on!
33349         * nptl/internaltypes.h: Moved ...
33350         * sysdeps/nptl/internaltypes.h: ... here.
33351         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
33352         * sysdeps/nptl/fork.c: Likewise.
33353         * sysdeps/nptl/gai_misc.h: Likewise.
33354         * sysdeps/nptl/librt-cancellation.c: Likewise.
33355         * sysdeps/nptl/jmp-unwind.c: Likewise.
33356         * sysdeps/nptl/setxid.h: Likewise.
33357         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
33358         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
33359         * sysdeps/unix/sysv/linux/arm/Implies: New file.
33360         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
33361         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
33362         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
33363         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
33364         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
33365         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
33366         * sysdeps/unix/sysv/linux/mips/Implies: New file.
33367         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
33368         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
33369         * sysdeps/unix/sysv/linux/sh/Implies: New file.
33370         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
33371         * sysdeps/unix/sysv/linux/tile/Implies: New file.
33372         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
33373         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
33374         * nptl/Makeconfig: Moved ...
33375         * sysdeps/nptl/Makeconfig: ... here.
33376         * nptl/configure: File removed.
33377         * nptl/ANNOUNCE: File removed.
33378         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
33379         * sysdeps/unix/sysv/linux/configure: Regenerated.
33381         * nptl/Makefile (routines): Add libc_pthread_init,
33382         libc_multiple_threads, register-atfork and unregister-atfork.
33383         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
33384         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
33385         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
33386         pthread-pi-defines.sym, structsem.sym.
33387         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
33388         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
33389         [$(subdir) = nptl] (tests): Add tst-setgetname.
33390         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
33391         * sysdeps/unix/sysv/linux/sigaction.c: Just include
33392         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
33393         [!LIBC_SIGACTION]: Remove aliases.
33394         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
33395         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
33396         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
33397         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
33398         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
33399         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
33400         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33401         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33402         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
33403         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
33404         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
33405         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
33406         __libc_allocate_rtsig_private.
33407         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
33408         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
33409         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
33410         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
33411         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
33412         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
33413         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
33414         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
33415         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
33416         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
33417         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
33418         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
33419         * nptl/internaltypes.h: ... here.
33420         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
33421         * sysdeps/nptl/jmp-unwind.c: ... here.
33422         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
33423         * nptl/libc-lowlevellock.c: ... here.
33424         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
33425         * nptl/libc_multiple_threads.c: ... here.
33426         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
33427         * nptl/libc_pthread_init.c: ... here.
33428         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
33429         * nptl/lowlevelbarrier.sym: ... here.
33430         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
33431         * nptl/lowlevelcond.sym: ... here.
33432         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
33433         * nptl/lowlevellock.c: ... here.
33434         * nptl/lowlevellock.h: Moved ...
33435         * sysdeps/nptl/lowlevellock.h: ... here.
33436         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
33437         * nptl/lowlevelrobustlock.c: ... here.
33438         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
33439         * nptl/lowlevelrobustlock.sym: ... here.
33440         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
33441         * nptl/lowlevelrwlock.sym: ... here.
33442         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
33443         * nptl/pt-fork.c: ... here.
33444         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
33445         * nptl/pthread-pi-defines.sym: ... here.
33446         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
33447         * nptl/pthread_attr_getaffinity.c: ... here.
33448         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
33449         * nptl/pthread_attr_setaffinity.c: ... here.
33450         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
33451         * nptl/pthread_mutex_cond_lock.c: ... here.
33452         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
33453         Update #include.
33454         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
33455         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
33456         * nptl/pthread_once.c: ... here, replacing old file.
33457         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
33458         * nptl/pthread_yield.c: ... here.
33459         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
33460         * nptl/register-atfork.c: ... here.
33461         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
33462         * nptl/sem_post.c: ... here.
33463         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
33464         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
33465         * nptl/sem_timedwait.c: ... here.
33466         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
33467         * nptl/sem_trywait.c: ... here.
33468         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
33469         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
33470         * nptl/sem_wait.c: ... here.
33471         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
33472         * nptl/structsem.sym: ... here.
33473         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
33474         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
33475         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
33476         * nptl/unregister-atfork.c: ... here.
33477         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
33478         * nptl/unwindbuf.sym: ... here.
33479         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
33480         * sysdeps/nptl/fork.c: ... here.
33481         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
33482         * sysdeps/nptl/fork.h: ... here.
33483         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
33484         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
33485         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
33486         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
33487         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
33488         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
33489         * sysdeps/unix/sysv/linux/getpid.c: ... here.
33490         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
33491         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
33492         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
33493         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
33494         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
33495         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
33496         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
33497         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
33498         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
33499         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
33500         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
33501         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
33502         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
33503         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
33504         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
33505         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
33506         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
33507         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
33508         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
33509         * sysdeps/unix/sysv/linux/raise.c: ... here.
33510         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
33511         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
33512         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
33513         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
33514         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
33515         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
33516         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
33517         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
33518         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
33519         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
33520         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
33521         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
33522         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
33523         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
33524         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
33526 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33528         * sysdeps/generic/memcopy.h: Add comment for
33529         MEMCPY_OK_FOR_FWD_MEMMOVE.
33531 2014-07-04  Will Newton  <will.newton@linaro.org>
33533         * string/memchr.c: Merge from gnulib.
33534         [_LIBC]: Remove conditionals.
33535         (__ptr_t): Remove define.
33536         (LONG_MAX_32_BITS): Likewise.
33537         (LONG_MAX): Likewise.
33538         (MEMCHR): Use ANSI prototype and optimize algorithm.
33540         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
33542 2014-07-03  Roland McGrath  <roland@hack.frob.com>
33544         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
33545         (lll_futex_timed_wait_bitset): Fix syscall argument count.
33547         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
33548         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
33549         in a bare environment with no <stdlib.h> installed.
33550         * sysdeps/nptl/configure: Regenerated.
33552         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
33554         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
33555         AC_EGREP_CPP for kernel header checks, so they only succeed if
33556         including <linux/version.h> actually works right.
33557         * sysdeps/unix/sysv/linux/configure: Regenerated.
33559         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
33560         value so it's not diagnosed as unused.
33562         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
33563         thing) with "ifeq ($(subdir),rt)".
33565 2014-07-03  Richard Henderson  <rth@redhat.com>
33567         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
33568         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
33569         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
33571         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
33572         (math_force_eval): New.
33574         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
33575         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
33577         * sysdeps/alpha/fpu/s_round.c: Remove file.
33578         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
33580         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
33581         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
33582         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
33583         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
33584         (_dl_start, print_statistics): Likewise.
33585         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
33586         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
33588         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33589         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33590         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33591         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33592         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33593         (HP_SMALL_TIMING_AVAIL): Define.
33594         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33595         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
33596         (HP_SMALL_TIMING_AVAIL): Define.
33597         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33598         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33600         * sysdeps/aarch64/hp-timing.h: New file.
33602         * sysdeps/generic/hp-timing.h: Remove dead comment.
33603         * sysdeps/generic/hp-timing-common.h: New file.
33604         * sysdeps/alpha/hp-timing.h: Include it.
33605         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
33606         * sysdeps/i386/i686/hp-timing.h: Likewise.
33607         * sysdeps/ia64/hp-timing.h: Likewise.
33608         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33609         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33610         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33611         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33612         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
33613         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
33614         (hp_timing_t): New.
33616         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
33617         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
33618         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
33619         * elf/rtld.c (_dl_start_final): Likewise.
33620         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
33621         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33622         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33623         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33624         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33625         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33626         (HP_TIMING_DIFF_INIT): Remove.
33627         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33628         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
33629         (HP_TIMING_DIFF_INIT): Remove.
33630         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33631         * sysdeps/i386/i686/hp-timing.c: Remove file.
33632         * sysdeps/x86_64/hp-timing.c: Remove file.
33633         * sysdeps/ia64/hp-timing.c: Remove file.
33634         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
33635         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
33636         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
33637         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
33639         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
33640         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
33641         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
33642         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33643         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33644         (HP_TIMING_ACCUM): Remove.
33645         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33646         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
33647         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33649         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
33650         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
33651         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
33652         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
33653         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
33654         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
33655         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
33656         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
33658         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
33660 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
33662         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
33664 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33666         Sync up with gettext.
33667         * intl/loadmsgcat.c: Define O_BINARY if not defined.
33668         [_MSC_VER]: Include malloc.h
33669         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
33670         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
33671         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
33672         TEMP_FAILURE_RETRY.  Cast return of alloca.
33673         [!_LIBC] Call gl_rwlock_init.
33674         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
33676 2014-07-02  Roland McGrath  <roland@hack.frob.com>
33678         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
33679         before checking its value.
33681 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33683         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
33685         * debug/memcpy_chk.c: Don't include pagecopy.h.
33686         * debug/mempcpy_chk.c: Likewise.
33687         * string/memcpy.c: Likewise.
33688         * string/memmove.c: Likewise.
33689         * sysdeps/powerpc/memmove.c: Likewise.
33690         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
33691         definition of PAGE_COPY_FWD_MAYBE here...
33692         * sysdeps/generic/pagecopy.h: ... from here.
33693         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
33695 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33696             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33698         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
33699         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
33700         optimizations.
33701         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33702         (__libc_ifunc_impl_list): Likewise.
33703         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
33704         multiarch strcat for PPC64.
33705         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
33706         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
33708 2014-07-02  Roland McGrath  <roland@hack.frob.com>
33710         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
33712 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33714         * intl/loadmsgcat.c: Remove declaration of
33715         get_sysdep_segment_value.
33716         (get_sysdep_segment_value): Use ISO C style.
33717         (_nl_load_domain): Use ISO C style.  Get rid of redundant
33718         semicolon.  Fix typo and formatting in comment.
33719         (_nl_unload_domain): Use ISO C style.
33721         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
33723 2014-07-02  Will Newton  <will.newton@linaro.org>
33725         * malloc/obstack.c: Merge from gnulib master.
33726         [HAVE_CONFIG_H]: Remove conditional code.
33727         [!_LIBC]: Include config.h.
33728         [!ELIDE_CODE]: Don't include inttypes.h, include
33729         stdint.h unconditionally.
33730         (print_and_abort): Mark as _Noreturn.
33731         (_obstack_allocated_p): Mark as __attribute_pure__.
33732         (obstack_free): Rename to __obstack_free.
33733         [!__attribute__]: Remove conditional code.
33734         * malloc/obstack.h: Merge from gnulib master.
33735         [__cplusplus]: Move conditional down.
33736         [!__attribute_pure__]: Define __attribute_pure__ here
33737         if it is not already defined.
33738         (_obstack_memory_used): Mark as __attribute_pure__.
33739         [!__obstack_free]: Define as obstack_free.
33740         [__GNUC__]: Remove check for ancient NeXT gcc.
33742 2014-07-02  Will Newton  <will.newton@linaro.org>
33743             Paul Eggert  <eggert@cs.ucla.edu>
33745         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
33747 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33749         * resolv/gethnamaddr.c: Add comment warning that the file is
33750         not maintained.
33752 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
33754         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
33755         entries.
33757         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
33758         entry for aio_cancel and aio_cancel64.
33759         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
33760         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
33761         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
33762         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
33763         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
33764         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
33765         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
33766         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
33767         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
33768         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
33769         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
33770         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
33771         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
33773 2014-07-01  Roland McGrath  <roland@hack.frob.com>
33775         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
33776         * nptl/pthread_mutex_lock.c: Likewise.
33777         * nptl/pthread_mutex_timedlock.c: Likewise.
33778         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
33780 2014-07-01  Richard henderson  <rth@redhat.com>
33782         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
33783         (__isnan, __isnanl): Remove.
33784         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
33786         * sysdeps/alpha/fpu/libm-test-ulps: Update.
33788 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
33790         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33792 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33794         * resolv/nss_dns/dns-host.c (getanswer_r)
33795         [MULTI_PTRS_ARE_ALIASES]: Remove code.
33797 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
33799         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33800         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
33801         undefine.
33802         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
33803         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
33805 2014-07-01  Roland McGrath <roland@hack.frob.com>
33807         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
33808         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
33810         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
33811         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
33813         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
33814         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
33815         ... here.
33816         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
33817         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
33819         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
33820         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
33821         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
33822         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
33824         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
33825         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
33826         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
33827         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
33828         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
33829         Moved ...
33830         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
33831         ... here.
33832         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
33833         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
33834         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
33835         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
33836         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
33837         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
33838         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
33839         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
33840         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
33841         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
33842         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
33843         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
33844         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
33845         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
33846         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
33847         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
33848         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
33849         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
33850         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
33851         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
33852         ... here.
33853         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
33854         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
33855         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
33856         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
33857         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
33858         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
33859         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
33860         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
33862 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
33864         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
33865         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
33866         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
33867         Add sysdep.
33869 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33873 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
33875         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
33876         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33878         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33880         * sysdeps/arm/libm-test-ulps: Regenerated.
33882 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
33883             Roland McGrath <roland@hack.frob.com>
33885         * test-skeleton.c (signal_handler): Kill the whole process group
33886         before killing the child individually.
33887         (main): Report any failure on `setpgid'.
33889 2014-06-30  Roland McGrath  <roland@hack.frob.com>
33891         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
33892         from _TLS_H to _ARM_NPTL_TLS_H.
33893         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
33894         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
33896 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
33898         [BZ #16539]
33899         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
33900         (__expm1l): Return argument unchanged when small but not
33901         subnormal.
33903         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
33904         include macro name.
33905         (_FP_UNPACK_RAW_1_P): Likewise.
33906         (_FP_PACK_RAW_1): Likewise.
33907         (_FP_PACK_RAW_1_P): Likewise.
33908         (_FP_MUL_MEAT_1_wide): Likewise.
33909         (_FP_MUL_MEAT_DW_1_hard): Likewise.
33910         (_FP_MUL_MEAT_1_hard): Likewise.
33911         (_FP_DIV_MEAT_1_imm): Likewise.
33912         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
33913         (_FP_DIV_MEAT_1_udiv): Likewise.
33914         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
33915         (_FP_UNPACK_RAW_2): Likewise.
33916         (_FP_UNPACK_RAW_2_P): Likewise.
33917         (_FP_PACK_RAW_2): Likewise.
33918         (_FP_PACK_RAW_2_P): Likewise.
33919         (_FP_MUL_MEAT_DW_2_wide): Likewise.
33920         (_FP_MUL_MEAT_2_wide): Likewise.
33921         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
33922         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
33923         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
33924         (_FP_MUL_MEAT_2_gmp): Likewise.
33925         (_FP_DIV_MEAT_2_udiv): Likewise.
33926         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
33927         (_FP_FRAC_SRL_4): Likewise.
33928         (_FP_FRAC_SRST_4): Likewise.
33929         (_FP_FRAC_SRS_4): Likewise.
33930         (_FP_UNPACK_RAW_4): Likewise.
33931         (_FP_UNPACK_RAW_4_P): Likewise.
33932         (_FP_PACK_RAW_4): Likewise.
33933         (_FP_PACK_RAW_4_P): Likewise.
33934         (_FP_MUL_MEAT_DW_4_wide): Likewise.
33935         (_FP_MUL_MEAT_4_wide): Likewise.
33936         (_FP_MUL_MEAT_4_gmp): Likewise.
33937         (umul_ppppmnnn): Likewise.
33938         (_FP_DIV_MEAT_4_udiv): Likewise.
33939         (__FP_FRAC_ADD_4): Likewise.
33940         (__FP_FRAC_SUB_3): Likewise.
33941         (__FP_FRAC_SUB_4): Likewise.
33942         (__FP_FRAC_DEC_3): Likewise.
33943         (__FP_FRAC_DEC_4): Likewise.
33944         (__FP_FRAC_ADDI_4): Likewise.
33945         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
33946         (_FP_FRAC_SRL_8): Likewise.
33947         (_FP_FRAC_SRS_8): Likewise.
33949         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
33950         include macro name.
33951         (FP_UNPACK_RAW_EP): Likewise.
33952         (FP_PACK_RAW_E): Likewise.
33953         (FP_PACK_RAW_EP): Likewise.
33954         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
33955         (_FP_ISSIGNAN): Likewise.
33956         (_FP_ADD_INTERNAL): Likewise.
33957         (_FP_FMA): Likewise.
33958         (_FP_CMP): Likewise.
33959         (_FP_SQRT): Likewise.
33960         (_FP_TO_INT): Likewise.
33961         (_FP_FROM_INT): Likewise.
33962         (FP_EXTEND): Likewise.
33963         (_FP_DIV_MEAT_N_loop): Likewise.
33965 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
33967         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
33968         throughout.
33970 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
33972         [BZ #17097]
33973         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
33974         result with correct sign in case of exponents that produce
33975         overflow except for X very close to 1.
33977 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
33979         mktime: merge #if/#ifdef usage from glibc
33980         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
33981         as that works with both Glibc's and Gnulib's style.
33982         See thread starting at Siddhesh Poyarekar's bug report at:
33983         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
33985 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33987         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
33988         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
33989         * sysdeps/tile/tilegx/memmove.c: Remove file.
33991 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
33993         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
33994         abi-name definition.
33995         * scripts/soversions.awk: Do not handle or generate ABI lines.
33996         * shlib-versions: Remove ABI entries.
33997         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
33998         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
34000 2014-06-27  Roland McGrath  <roland@hack.frob.com>
34002         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
34003         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
34004         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
34005         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
34006         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
34007         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
34008         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
34009         Moved ...
34010         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
34011         ... here.
34012         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
34013         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
34014         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
34015         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
34016         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
34017         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
34018         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
34019         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
34020         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
34021         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
34022         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
34023         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
34024         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
34025         Moved ...
34026         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
34027         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
34028         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
34029         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
34030         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
34031         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
34032         Moved ...
34033         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
34034         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
34035         Moved ...
34036         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
34037         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
34038         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
34039         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
34040         Moved ...
34041         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
34042         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
34043         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
34044         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
34045         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
34046         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
34047         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
34048         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
34049         Moved ...
34050         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
34051         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
34052         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
34053         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
34054         Moved ...
34055         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
34056         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
34057         Moved ...
34058         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
34059         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
34060         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
34061         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
34062         Moved ...
34063         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
34064         ... here.
34065         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
34066         Identical file removed.
34067         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
34068         Moved ...
34069         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
34070         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
34071         Identical file removed.
34072         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
34073         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
34074         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
34075         Moved ...
34076         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
34077         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
34078         Identical file removed.
34079         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
34080         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
34081         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
34082         Identical file removed.
34083         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
34084         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
34085         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
34086         Identical file removed.
34087         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
34088         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
34089         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
34090         Identical file removed.
34091         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
34092         Moved ...
34093         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
34094         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
34095         Identical file removed.
34096         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
34097         Moved ...
34098         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
34099         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
34100         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
34101         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
34102         Identical file removed.
34103         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
34104         Moved ...
34105         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
34106         ... here.
34107         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
34108         Identical file removed.
34109         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
34110         Moved ...
34111         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
34112         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
34113         Identical file removed.
34114         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
34115         Moved ...
34116         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
34117         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
34118         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
34119         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
34120         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
34121         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
34122         Moved ...
34123         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
34124         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
34125         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
34127         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
34128         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
34129         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
34130         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
34131         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
34133 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
34135         [BZ #17092]
34136         * nscd/nscd.c (monitor_child): Return exit status of child
34137         instead of return value from wait syscall.
34139 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
34141         * configure.ac (libc_commonpagesize): Remove variable.
34142         (libc_relro_required): Likewise.
34143         (libc_cv_z_relro): Remove configure test.
34144         * configure: Regenerated.
34145         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
34146         variable.
34147         (libc_relro_required): Likewise.
34148         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
34149         (libc_relro_required): Likewise.
34150         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
34151         (libc_relro_required): Likewise.
34152         * sysdeps/arm/preconfigure: Regenerated.
34153         * sysdeps/ia64/preconfigure: Remove file.
34154         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
34155         variable.
34156         (libc_relro_required): Likewise.
34158         [BZ #16561]
34159         [BZ #16562]
34160         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
34161         (__ieee754_yn): Set FE_TONEAREST mode internally and then
34162         recompute overflowing results in original rounding mode.
34163         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
34164         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
34165         recompute overflowing results in original rounding mode.
34166         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
34167         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
34168         recompute overflowing results in original rounding mode.
34169         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
34170         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
34171         recompute overflowing results in original rounding mode.
34172         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
34173         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
34174         recompute overflowing results in original rounding mode.
34175         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
34176         (libc_feholdsetround_ctx): New macro.
34177         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
34178         * sysdeps/i386/fpu/libm-test-ulps: Update.
34179         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
34181 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
34183         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
34184         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
34185         corresponding .cpsetup call.
34187 2014-06-26  Roland McGrath  <roland@hack.frob.com>
34189         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
34190         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
34191         * sysdeps/arm/Makefile [$(subdir) = csu]
34192         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
34193         (static-only-routines): Add aeabi_read_tp here.
34194         (shared-only-routines): Add libc-aeabi_read_tp here.
34195         (CFLAGS-libc-start.c): Add -fexceptions here.
34196         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
34197         (sysdep_routines, static-only-routines, shared-only-routines):
34198         Don't add to these here.
34199         (CFLAGS-libc-start.c): Likewise.
34201         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
34202         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
34203         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
34204         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
34205         * sysdeps/arm/Makefile [$(subdir) = rt]
34206         (librt-sysdep_routines, librt-shared-only-routines):
34207         Append rt-aeabi_unwind_cpp_pr1 here.
34208         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
34209         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
34210         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
34211         (libpthread-sysdep_routines, libpthread-shared-only-routines):
34212         Append nptl-aeabi_unwind_cpp_pr1 here.
34213         (tests): Filter out tst-cleanupx4 here.
34214         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
34215         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
34216         Don't do those here.
34218 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
34220         * scripts/list-sources.sh: Do not handle ports specially.
34222 2014-06-26  Roland McGrath  <roland@hack.frob.com>
34224         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
34225         * sysdeps/arm/feupdateenv.c: Likewise.
34227         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
34229 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
34231         * manual/texinfo.tex: Update to version 2014-05-05.10 with
34232         trailing whitespace removed.
34233         * scripts/config.guess: Update to version 2014-03-23.
34234         * scripts/config.sub: Update to version 2014-05-01
34235         * scripts/install-sh: Update to version 2013-12-25.23.
34236         * scripts/move-if-change: Update from gnulib.
34238 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34240         * debug/memmove_chk.c: Remove pagecopy.h include.
34242 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
34244         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
34245         identical to gnulib mktime.
34247 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
34249         * configure.ac: Do not test for machine being rs6000.  Do not test
34250         for powerpc*-*soft.
34251         * configure: Regenerated.
34253         [BZ #11505]
34254         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
34255         test.
34256         * configure: Regenerated.
34257         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
34258         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
34259         Remove configure test.
34260         * sysdeps/arm/configure: Regenerated.
34261         * sysdeps/nptl/configure.ac: Do not check
34262         libc_cv_asm_cfi_directives.
34263         * sysdeps/nptl/configure: Regenerated.
34264         * sysdeps/x86_64/nptl/configure.ac: Remove file.
34265         * sysdeps/x86_64/nptl/configure: Remove generated file.
34266         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
34267         unconditional.
34268         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
34270 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34272         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
34273         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
34274         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
34275         it is defined.
34277         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
34278         instead of whether it is defined.
34279         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
34280         * sysdeps/hppa/dl-machine.h: Likewise.
34281         * sysdeps/ia64/dl-machine.h: Likewise.
34282         * sysdeps/m68k/dl-machine.h: Likewise.
34283         * sysdeps/microblaze/dl-machine.h: Likewise.
34284         * sysdeps/mips/dl-machine.: Likewise.
34285         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34286         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34287         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34288         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34289         * sysdeps/sh/dl-machine.h: Likewise.
34290         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34291         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34292         * sysdeps/tile/dl-machine.h: Likewise.
34293         * sysdeps/x86_64/dl-machine.h: Likewise.
34295         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
34296         code.
34297         (verify_persistent_db): Likewise.
34299 2014-06-26  Roland McGrath  <roland@hack.frob.com>
34301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
34302         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
34303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
34304         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
34305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34306         Moved ...
34307         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
34308         ... here.
34309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
34310         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
34311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
34312         Identical file removed.
34313         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
34314         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
34315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
34316         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
34317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
34318         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
34319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
34320         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
34321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
34322         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
34323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34324         Moved ...
34325         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
34326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
34327         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
34328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
34329         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
34330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34331         Moved ...
34332         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
34333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
34334         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
34335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
34336         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
34337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
34338         Identical file removed.
34339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
34340         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
34341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
34342         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
34343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34344         Moved ...
34345         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
34346         ... here.
34347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
34348         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
34349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
34350         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
34351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
34352         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
34353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
34354         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
34355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
34356         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
34357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34358         Moved ...
34359         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
34360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
34361         Moved ...
34362         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
34363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
34364         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
34365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34366         Moved ...
34367         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
34368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
34369         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
34371         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
34372         folded into ...
34373         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
34374         * sysdeps/unix/sysv/linux/s390/Versions
34375         (libpthread: GLIBC_2.19): New version set.
34376         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
34377         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
34378         (librt: GLIBC_2.3.3): New version set.
34379         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
34380         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
34381         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
34382         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
34383         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
34384         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
34385         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
34386         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
34387         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
34388         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
34389         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
34390         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
34391         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
34392         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
34393         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
34394         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
34395         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
34396         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
34397         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
34398         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
34399         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
34400         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
34401         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
34402         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
34403         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
34404         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
34405         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
34406         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
34407         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
34408         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
34409         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
34410         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
34411         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
34412         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
34413         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
34414         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
34415         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
34416         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
34417         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
34418         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
34419         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
34420         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
34421         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
34422         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
34423         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
34425         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
34426         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
34427         (__libc_vfork): Define the function under this name.
34428         [!NOT_IN_libc] (__vfork): Make this an alias.
34429         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
34430         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
34431         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
34432         (__libc_vfork): Define the function under this name.
34433         [!NOT_IN_libc] (__vfork): Make this an alias.
34434         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
34435         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
34436         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
34437         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
34438         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
34439         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
34441         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
34442         code that was previously under [RESET_PID].
34443         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
34444         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
34445         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
34447         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
34448         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
34449         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
34450         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
34451         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
34452         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
34453         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
34454         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
34455         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
34456         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
34457         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
34458         Moved ...
34459         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
34460         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
34461         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
34462         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
34463         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
34464         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
34465         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
34466         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
34467         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
34468         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
34469         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
34470         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
34471         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
34472         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
34473         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
34474         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
34475         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
34476         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
34477         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
34478         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
34479         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
34480         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
34481         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
34482         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
34483         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
34484         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
34485         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
34486         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
34487         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
34489 2014-06-25  Roland McGrath  <roland@hack.frob.com>
34491         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
34492         that was previously under [RESET_PID].
34493         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
34495 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
34497         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
34498         not undefine and redefine.
34499         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
34500         [O_CLOEXEC]: Make code unconditional.
34501         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
34502         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
34503         <kernel-features.h>.
34504         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
34505         conditional variable definition.
34506         (shm_open) [O_CLOEXEC]: Make code unconditional.
34507         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
34508         code.
34510         * configure.ac (USE_REGPARMS): Don't define here.
34511         * configure: Regenerated.
34512         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
34513         * sysdeps/i386/configure: Regenerated.
34515         * nptl/createthread.c: Don't include kernel-features.h.
34516         * nptl/pthread_cancel.c: Likewise.
34517         * nptl/pthread_condattr_setclock.c: Likewise.
34518         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
34519         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
34520         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
34521         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
34522         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
34523         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
34524         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
34525         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
34526         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
34527         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
34528         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
34529         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
34530         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
34531         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
34532         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
34533         * nscd/gai.c: Likewise.
34534         * nss/nss_db/db-open.c: Likewise.
34535         * sysdeps/generic/ldsodefs.h: Likewise.
34536         * sysdeps/sh/nptl/tls.h: Likewise.
34537         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
34538         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
34539         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
34540         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
34541         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
34542         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
34543         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
34544         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34545         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34546         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
34547         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
34548         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34549         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
34550         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
34551         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
34552         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
34553         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
34554         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
34555         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
34556         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
34557         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
34558         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
34559         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
34560         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
34561         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
34562         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
34563         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
34564         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
34565         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
34566         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
34567         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
34568         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
34569         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
34570         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34571         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34572         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
34573         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34574         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
34575         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
34576         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
34577         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
34578         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
34579         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
34580         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34581         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
34582         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
34583         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
34584         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
34585         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
34586         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
34587         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
34588         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
34589         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
34590         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
34591         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
34592         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34593         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
34594         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
34595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
34596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
34597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
34598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
34599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
34600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
34601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
34602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
34603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
34604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
34605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
34606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
34607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
34608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
34609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
34610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
34615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
34616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
34617         * sysdeps/unix/sysv/linux/pread.c: Likewise.
34618         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
34619         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
34620         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
34621         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
34622         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
34623         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
34624         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
34625         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
34626         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
34627         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
34628         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
34629         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
34630         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
34631         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
34632         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
34633         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
34634         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
34635         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
34636         * sysdeps/unix/sysv/linux/system.c: Likewise.
34637         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
34638         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
34639         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34640         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34641         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34642         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
34643         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34645         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
34646         * configure: Regenerated.
34647         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
34649         * configure.ac (base_machine): Do not set specially for particular
34650         machines here.
34651         * configure: Regenerated.
34652         * sysdeps/powerpc/preconfigure: Move machine and base_machine
34653         settings from configure.ac.
34654         * sysdeps/i386/preconfigure: New file.
34655         * sysdeps/s390/preconfigure: Likewise.
34656         * sysdeps/sh/preconfigure: Likewise.
34657         * sysdeps/sparc/preconfigure: Likewise.
34659 2014-06-25  Roland McGrath  <roland@hack.frob.com>
34661         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
34662         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
34663         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
34664         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
34665         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
34666         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
34667         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
34668         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
34669         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
34670         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
34671         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
34672         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
34673         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
34674         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
34675         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
34676         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
34677         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
34678         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
34679         * sysdeps/sparc/sparc64/Makefile: ... appended here.
34681         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
34682         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
34683         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
34684         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
34685         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
34686         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
34687         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
34688         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
34689         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
34690         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
34691         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
34692         * sysdeps/sparc/sparc32/sem_post.c: ... here.
34693         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
34694         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
34695         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
34696         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
34697         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
34698         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
34699         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
34700         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
34701         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
34702         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
34703         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
34704         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
34705         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
34706         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
34707         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
34708         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
34709         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
34710         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
34711         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
34712         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
34713         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
34714         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
34715         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
34716         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
34717         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
34718         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
34720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
34721         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
34722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
34723         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
34724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34725         Moved ...
34726         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
34727         ... here.
34728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
34729         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
34730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
34731         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
34732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
34733         Moved ...
34734         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
34735         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
34736         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
34737         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
34738         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
34739         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
34740         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
34741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34742         Moved ...
34743         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
34744         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34745         Moved ...
34746         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
34747         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
34748         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
34749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34750         Moved ...
34751         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
34752         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
34753         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
34754         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
34755         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
34756         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
34757         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
34758         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
34759         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
34760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34761         Moved ...
34762         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
34763         ... here.
34764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
34765         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
34766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
34767         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
34768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
34769         Moved ...
34770         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
34771         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
34772         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
34773         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
34774         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
34775         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
34776         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
34777         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34778         Moved ...
34779         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
34780         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34781         Moved ...
34782         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
34783         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
34784         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
34785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34786         Moved ...
34787         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
34788         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
34789         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
34790         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
34791         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
34793 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
34795         * timezone/checktab.awk: Update from tzcode 2014e.
34796         * timezone/private.h: Likewise.
34797         * timezone/tzfile.h: Likewise.
34798         * timezone/zdump.c: Likewise.
34799         * timezone/zic.c: Likewise.
34801         * sysdeps/unix/sysv/linux/kernel-features.h
34802         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
34803         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
34804         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
34805         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34806         Remove conditional code.
34808 2014-06-25  Will Newton  <will.newton@linaro.org>
34810         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
34811         (_dl_arm_cap_flags): Add HWCAP2 values.
34812         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
34813         (_DL_HWCAP_COUNT): Increase to 37.
34814         (_DL_HWCAP_LAST): New define.
34815         (_DL_HWCAP2_LAST): New define.
34816         (_dl_procinfo): Add support for printing
34817         AT_HWCAP2 entries.
34818         (_dl_string_hwcap): Use _dl_hwcap_string.
34820 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34822         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34824 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
34826         * README: Do not mention ports directory.
34828         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
34829         Remove macro.
34830         * sysdeps/unix/sysv/linux/futimes.c: Do not include
34831         <kernel-features.h>.
34832         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
34833         conditional variable definition.
34834         (__futimes): Update comment.
34835         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
34836         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
34838         [BZ #16560]
34839         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
34840         arguments close to 0.
34841         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
34842         Likewise.
34843         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
34844         Likewise.
34845         * math/auto-libm-test-in: Add more tests of exp10.
34846         * math/auto-libm-test-out: Regenerated.
34847         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34849         * sysdeps/unix/sysv/linux/kernel-features.h
34850         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
34851         * sysdeps/unix/sysv/linux/readv.c: Do not include
34852         <kernel-features.h>.
34853         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
34854         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
34855         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
34856         unconditional.
34857         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
34858         conditional code.
34859         * sysdeps/unix/sysv/linux/writev.c: Do not include
34860         <kernel-features.h>.
34861         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
34862         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
34863         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
34864         unconditional.
34865         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
34866         conditional code.
34868 2014-06-25  Will Newton  <will.newton@linaro.org>
34870         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
34871         comment changes throughout the file.  Remove checks
34872         for HAVE_*_H definitions that are not required.
34873         (__gen_tempname): Call abort if an unknown kind value is
34874         passed.
34876 2014-06-25  Andreas Schwab  <schwab@suse.de>
34878         [BZ #17086]
34879         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
34880         scalbln, scalblnf, scalblnl in libc.
34882 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34884         [BZ #17086]
34885         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
34886         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34887         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34889 2014-06-24  Roland McGrath  <roland@hack.frob.com>
34891         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
34892         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
34893         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
34894         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
34895         Update #include.
34896         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
34897         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
34898         Update #include.
34899         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
34900         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
34901         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
34902         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
34903         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
34904         * sysdeps/x86/bits/pthreadtypes.h: ... here.
34905         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
34906         * sysdeps/x86/bits/semaphore.h: ... here.
34907         * sysdeps/x86/nptl/elide.h: Moved ...
34908         * sysdeps/x86/elide.h: ... here.
34909         * sysdeps/x86_64/nptl/Implies: File removed.
34910         * sysdeps/i386/nptl/Implies: File removed.
34912 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
34914         [BZ #16539]
34915         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
34916         return the argument for normal arguments with exponent below -64.
34917         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
34918         Likewise.
34919         * math/auto-libm-test-in: Add another test of expm1.
34920         * math/auto-libm-test-out: Regenerated.
34922         [BZ #16287]
34923         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
34924         calling __erfcl for arguments at least 16.
34925         * math/auto-libm-test-in: Add more tests of erf.
34926         * math/auto-libm-test-out: Regenerated.
34928         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
34929         individual architectures.
34930         * sysdeps/unix/sysv/linux/configure: Regenerated.
34931         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
34932         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
34933         * sysdeps/unix/sysv/linux/powerpc/configure.ac
34934         (ldd_rewrite_script): Define variable.
34935         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
34937         file.
34938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
34939         generated file.
34940         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
34941         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
34942         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
34943         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
34944         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
34945         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
34946         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
34947         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
34949 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34951         [BZ #17084]
34952         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
34953         Rename member __data.d to __data.__elision_data.
34955 2014-06-24  Wilco  <wdijkstr@arm.com>
34957         * NEWS: Add 16918 to fixed bug list.
34959 2014-06-24  Wilco  <wdijkstr@arm.com>
34961         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
34963 2014-06-24  Wilco  <wdijkstr@arm.com>
34965         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
34966         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
34967         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
34968         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
34969         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
34970         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
34971         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
34972         Use _FPU_MASK_RM.
34974 2014-06-24  Wilco  <wdijkstr@arm.com>
34976         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
34978 2014-06-24  Wilco  <wdijkstr@arm.com>
34980         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
34981         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
34982         * sysdeps/arm/fesetround.c (fesetround): Remove space.
34983         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
34985 2014-06-24  Wilco  <wdijkstr@arm.com>
34987         [BZ #16918]
34988         * sysdeps/arm/feupdateenv.c (feupdateenv):
34989         Rewrite to reduce FPSCR accesses and fix return value.
34991 2014-06-24  Wilco  <wdijkstr@arm.com>
34993         * sysdeps/arm/fclrexcpt.c (feclearexcept):
34994         Optimize to avoid unnecessary FPSCR writes.
34995         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
34996         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
34997         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
34998         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
35000 2014-06-24  Wilco  <wdijkstr@arm.com>
35002         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
35003         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
35004         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
35005         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
35006         Call libc_fetestexcept_vfp.
35007         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
35008         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
35009         __SOFTFP__ ifdef so that they can be built for softfp.
35011 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35013         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
35014         argument type signed char.
35016         * Makerules (check-abi): Dump diff of symlist if the test
35017         fails.
35019 2014-06-23  Roland McGrath  <roland@hack.frob.com>
35021         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
35022         using abort.
35024         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35025         Remove unused variable ST.
35027 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
35029         [BZ #16354]
35030         [BZ #17061]
35031         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
35032         small arguments before calling __expm1.
35033         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
35034         small arguments before calling __expm1f.
35035         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
35036         small arguments before calling __expm1l.
35037         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
35038         Likewise.
35039         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35040         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
35041         spurious underflow for some cosh tests.
35042         * math/auto-libm-test-out: Regenerated.
35043         * sysdeps/i386/fpu/libm-test-ulps: Update.
35045         [BZ #17050]
35046         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
35047         (__ieee754_y1): Set errno if return value overflows.
35048         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
35049         (__ieee754_y1f): Set errno if return value overflows.
35050         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
35051         (__ieee754_y1l): Set errno if return value overflows.
35052         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
35053         (__ieee754_y1l): Set errno if return value overflows.
35054         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
35055         * math/auto-libm-test-out: Regenerated.
35057         * math/gen-auto-libm-tests.c: Document use of
35058         ignore-zero-inf-sign.
35059         (input_flag_type): Add value flag_ignore_zero_inf_sign.
35060         (input_flags): Add ignore-zero-inf-sign.
35061         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
35062         * math/gen-libm-test.pl (generate_testfile): Handle
35063         ignore-zero-inf-sign.
35064         * math/auto-libm-test-in: Mark some cpow tests with
35065         ignore-zero-inf-sign and some with xfail-rounding.
35066         * math/auto-libm-test-out: Regenerated.
35067         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
35068         * sysdeps/i386/fpu/libm-test-ulps: Update.
35069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35071         [BZ #16315]
35072         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
35073         overflowing or underflowing operations take place with sign of
35074         result.
35075         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35076         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
35077         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
35078         (__ieee754_pow): Recompute overflowing and underflowing results in
35079         original rounding mode.
35080         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
35081         (__powl_helper): Allow negative argument X and scale negated value
35082         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
35083         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
35084         overflowing or underflowing operations take place with sign of
35085         result.
35086         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
35087         Include <math.h>.
35088         * math/auto-libm-test-in: Add more tests of pow.
35089         * math/auto-libm-test-out: Regenerated.
35090         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
35091         (pow_tonearest_test_data): Remove.
35092         (pow_test_tonearest): Likewise.
35093         (pow_towardzero_test_data): Likewise.
35094         (pow_test_towardzero): Likewise.
35095         (pow_downward_test_data): Likewise.
35096         (pow_test_downward): Likewise.
35097         (pow_upward_test_data): Likewise.
35098         (pow_test_upward): Likewise.
35099         (main): Don't call removed functions.
35100         * sysdeps/i386/fpu/libm-test-ulps: Update.
35101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35103 2014-06-23  Roland McGrath  <roland@hack.frob.com>
35105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
35106         Moved ...
35107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
35108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35109         Moved ...
35110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
35111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35112         Moved ...
35113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
35114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35115         Moved ...
35116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
35117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35118         File removed.
35119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35120         File removed.
35121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
35122         File removed.
35123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
35124         File removed.
35125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
35126         File removed.
35127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
35128         File removed.
35129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
35130         File removed.
35131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35132         File removed.
35133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
35134         File removed.
35135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35136         File removed.
35137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
35138         File removed.
35139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
35140         File removed.
35141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
35142         Moved ...
35143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
35144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
35145         Moved ...
35146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
35147         ... here.
35148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
35149         Moved ...
35150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
35151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
35152         Moved ...
35153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
35154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
35155         Moved ...
35156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
35157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
35158         Moved ...
35159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
35160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
35161         Moved ...
35162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
35163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
35164         Moved ...
35165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
35166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
35167         Moved ...
35168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
35169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
35170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
35171         ... here.
35172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
35173         Moved ...
35174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
35175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
35176         Moved ...
35177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
35178         ... here.
35179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
35180         Moved ...
35181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
35182         ... here.
35183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35184         Moved ...
35185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
35186         ... here.
35187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35188         Moved ...
35189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
35190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
35191         Moved ...
35192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
35193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
35194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
35195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
35196         Moved ...
35197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
35198         ... here.
35199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35200         Moved ...
35201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
35202         ... here.
35203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
35204         Moved ...
35205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
35206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35207         Moved ...
35208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
35209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
35210         Moved ...
35211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
35212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35213         Moved ...
35214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
35215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
35216         Moved ...
35217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
35218         ... here.
35219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35220         Moved ...
35221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
35222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
35223         Moved ...
35224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
35225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35226         Moved ...
35227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
35228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
35229         Moved ...
35230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
35231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
35232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
35233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
35234         Moved ...
35235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
35236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35237         Moved ...
35238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
35239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
35240         Moved ...
35241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
35242         ... here.
35243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35244         Moved ...
35245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
35246         ... here.
35247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
35248         Moved ...
35249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
35250         ... here.
35251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35252         Moved ...
35253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
35254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
35255         Moved ...
35256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
35257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35258         Moved ...
35259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
35260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
35261         Moved ...
35262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
35263         ... here.
35264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35265         Moved ...
35266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
35267         ... here.
35268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
35269         Moved ...
35270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
35271         ... here.
35272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35273         Moved ...
35274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
35275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35276         Moved ...
35277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
35279 2014-06-23  Will Newton  <will.newton@linaro.org>
35280             Wilco  <wdijkstr@arm.com>
35282         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
35283         implementation.  Include get-rounding-mode.h.
35284         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
35285         [!libc_feholdsetround_noex_ctx]: Define
35286         libc_feholdsetround_noex_ctx.
35287         [!libc_feholdsetround_noexf_ctx]: Define
35288         libc_feholdsetround_noexf_ctx.
35289         [!libc_feholdsetround_noexl_ctx]: Define
35290         libc_feholdsetround_noexl_ctx.
35291         (libc_feholdsetround_ctx): New function.
35292         (libc_feresetround_ctx): New function.
35293         (libc_feholdsetround_noex_ctx): New function.
35294         (libc_feresetround_noex_ctx): New function.
35296 2014-06-23  Roland McGrath  <roland@hack.frob.com>
35298         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
35299         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
35300         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
35301         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
35302         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
35303         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
35305         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
35306         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
35307         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
35308         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
35309         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
35310         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
35311         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
35312         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
35313         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
35314         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
35315         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
35316         Moved ...
35317         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
35318         ... here.
35319         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
35320         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
35321         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
35322         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
35323         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
35324         Moved ...
35325         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
35326         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
35327         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
35328         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
35329         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
35330         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
35331         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
35332         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
35333         Moved ...
35334         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
35335         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
35336         Moved ...
35337         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
35338         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
35339         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
35340         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
35341         Moved ...
35342         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
35343         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
35344         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
35345         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
35346         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
35347         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
35348         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
35349         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
35350         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
35351         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
35352         Moved ...
35353         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
35354         ... here.
35355         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
35356         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
35357         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
35358         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
35359         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
35360         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
35361         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
35362         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
35363         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
35364         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
35365         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
35366         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
35367         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
35368         Moved ...
35369         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
35370         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
35371         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
35372         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
35373         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
35374         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
35375         Moved ...
35376         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
35377         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
35378         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
35379         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
35380         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
35382         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
35383         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
35384         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
35385         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
35386         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
35387         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
35388         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
35389         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
35390         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
35391         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
35392         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
35393         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
35394         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
35395         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
35396         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
35397         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
35398         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
35399         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
35400         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
35401         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
35402         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
35403         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
35404         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
35405         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
35406         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
35407         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
35408         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
35409         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
35411 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
35413         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
35414         (FALLOC_FL_COLLAPSE_RANGE): New macro.
35415         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
35416         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
35417         (IPV6_PMTUDISC_INTERFACE): Likewise.
35418         (IPV6_PMTUDISC_OMIT): Likewise.
35420 2014-06-23  Andreas Schwab  <schwab@suse.de>
35422         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
35423         Remove unused errout label.
35425 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35427         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
35428         macro: hardware supports Vector Crypto instructions.
35430 2014-06-23  Will Newton  <will.newton@linaro.org>
35432         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
35433         rather than __builtin_expect.
35435         * elf/dl-lookup.c (undefined_msg): Remove variable.
35436         (_dl_lookup_symbol_x): Replace undefined_msg with string
35437         literal.
35439         * elf/dl-lookup.c (do_lookup_unique): New function.
35440         (do_lookup_x): Move STB_GNU_UNIQUE handling code
35441         to a separate function.
35443 2014-06-23  Andreas Schwab  <schwab@suse.de>
35445         [BZ #17079]
35446         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
35447         before reading the next line.
35449 2014-06-23  Will Newton  <will.newton@linaro.org>
35451         * test-skeleton.c (signal_handler): Use printf and %m
35452         rather than perror.  Use printf rather than fprintf to
35453         stderr.  Use puts rather than fputs to stderr.
35454         (main): Likewise.
35456 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
35458         * nscd/nscd.c (thread_info_t): Remove typedef.
35459         (thread_info): Remove variable.
35461 2014-06-21  Allan McRae  <allan@archlinux.org>
35463         * NEWS: Mention CVE-2014-4043.
35465 2014-06-20  Roland McGrath  <roland@hack.frob.com>
35467         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
35468         * nptl/smp.h: ... here.
35470         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
35472         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
35473         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
35474         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
35475         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
35477         * nptl/allocatestack.c: Include <stack-aliasing.h>.
35478         * nptl/stack-aliasing.h: New file.
35479         * sysdeps/i386/i686/stack-aliasing.h: New file.
35480         * sysdeps/i386/i686/nptl/Makefile: File removed.
35481         * sysdeps/x86_64/stack-aliasing.h: New file.
35482         * sysdeps/x86_64/nptl/Makefile
35483         (CFLAGS-pthread_create.c): Variable removed.
35485         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
35486         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
35487         old file.
35488         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
35489         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
35490         old file.
35492 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
35494         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35495         (__ASSUME_SIGFRAME_V2): Remove macro.
35496         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
35497         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
35498         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
35499         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
35500         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
35501         Declare as function.  Remove conditional macro definitions.
35502         (__default_rt_sa_restorer): Likewise.
35503         (__default_sa_restorer_v1): Remove declaration.
35504         (__default_sa_restorer_v2): Likewise.
35505         (__default_rt_sa_restorer_v1): Likewise.
35506         (__default_rt_sa_restorer_v2): Likewise.
35507         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
35508         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
35509         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
35511 2014-06-20  Roland McGrath  <roland@hack.frob.com>
35513         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
35514         (libpthread-routines): Add sysdep.
35515         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
35516         * sysdeps/unix/sysv/linux/sparc/Versions
35517         (libpthread: GLIBC_2.3.3): New version set.
35518         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
35519         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
35520         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
35521         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
35522         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
35523         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
35524         Moved ...
35525         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
35526         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
35527         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
35528         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
35529         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
35530         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
35531         * sysdeps/sparc/nptl/sem_init.c: ... here.
35532         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
35533         * sysdeps/sparc/nptl/sem_post.c: ... here.
35534         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
35535         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
35536         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
35537         * sysdeps/sparc/nptl/sem_wait.c: ... here.
35538         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
35539         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
35540         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
35541         (libpthread-routines): Add cpu_relax.
35542         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
35543         File removed.
35544         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
35545         (librt: GLIBC_2.3.3): New version set.
35546         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
35547         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
35548         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
35549         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
35550         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
35551         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
35552         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
35553         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
35554         Moved ...
35555         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
35556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
35557         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
35558         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
35559         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
35560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
35561         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
35562         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
35563         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
35564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
35565         Moved ...
35566         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
35567         Update #include.
35568         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
35569         Moved ...
35570         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
35571         Update #include.
35572         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
35573         Moved ...
35574         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
35575         Update #include.
35576         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
35577         Moved ...
35578         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
35579         Update #include.
35580         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
35581         Moved ...
35582         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
35583         Update #include.
35584         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
35585         Moved ...
35586         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
35587         Update #include.
35588         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
35589         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
35590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
35591         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
35592         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
35593         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
35594         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
35595         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
35596         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
35597         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
35598         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
35599         Moved ...
35600         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
35601         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
35602         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
35603         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
35604         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
35606 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
35608         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
35609         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
35610         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
35611         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
35612         * nscd/nscd.c: Likewise.
35613         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
35614         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
35615         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
35616         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
35618         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
35619         <kernel-features.h>.
35620         (init_mq_netlink): Remove conditional have_sock_cloexec
35621         definitions.  Remove code conditional on have_sock_cloexec < 0.
35622         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
35623         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
35624         * sysdeps/unix/sysv/linux/opensock.c: Do not include
35625         <kernel-features.h>.
35626         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
35627         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
35629 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
35631         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35632         Add tests for memset_chk and memset.
35634         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
35635         with AVX2_Usable.
35637 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
35639         [BZ #16046]
35640         * elf/tst-dl-iter-static.c: New file.
35641         * elf/Makefile (tests-static): Add tst-dl-iter-static.
35643         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
35644         error.
35646 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
35648         * sysdeps/unix/sysv/linux/kernel-features.h
35649         (__ASSUME_F_GETOWN_EX): Remove macro.
35650         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
35651         <kernel-features.h>.
35652         (miss_F_GETOWN_EX): Remove variable or macro.
35653         (do_fcntl): Do not check miss_F_GETOWN_EX.
35654         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
35656         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
35657         Remove macro.
35658         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
35659         [!__ASSUME_AT_RANDOM]: Remove conditional code.
35660         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
35662         * sysdeps/unix/sysv/linux/kernel-features.h
35663         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
35664         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
35665         [ADJ_OFFSET_SS_READ]: Make code unconditional.
35666         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
35668 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
35670         [BZ #17075]
35671         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
35672         Fix calculation of the symbol's value.
35673         * sysdeps/arm/tst-armtlsdescloc.c: New file.
35674         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
35675         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
35676         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
35677         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
35678         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
35679         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
35680         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
35681         (modules-names): Add `tst-armtlsdescmod',
35682         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
35683         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
35684         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
35685         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
35686         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
35687         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
35688         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
35689         ($(objpfx)tst-armtlsdescloc): New dependency.
35690         ($(objpfx)tst-armtlsdescextnow): Likewise.
35691         ($(objpfx)tst-armtlsdescextlazy): Likewise.
35692         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
35693         TLS scheme support.
35694         * sysdeps/arm/configure: Regenerate.
35696 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
35698         * include/fcntl.h (__atfct_seterrno): Remove prototype.
35699         (__atfct_seterrno_2): Likewise.
35700         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
35701         <kernel-features.h>.
35702         (__ASSUME_ATFCTS): Do not undefine and redefine.
35703         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
35704         (__have_atfcts): Remove conditional definition.
35705         (__fxstatat([__NR_fstatat64]: Make code unconditional.
35706         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
35707         unreachable if [__ASSUME_ATFCTS].
35708         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
35709         not undefine and redefine.
35710         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
35711         <kernel-features.h>.
35712         (faccessat) [__NR_faccessat]: Make code unconditional.
35713         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
35714         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
35715         <kernel-features.h>.
35716         (fchmodat) [__NR_fchmodat]: Make code unconditional.
35717         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
35718         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
35719         <kernel-features.h>.
35720         (fchownat) [__NR_fchownat]: Make code unconditional.
35721         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
35722         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
35723         <kernel-features.h>.
35724         (futimesat) [__NR_futimesat]: Make code unconditional.
35725         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
35726         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
35727         <kernel-features.h>.
35728         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
35729         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
35730         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
35731         <kernel-features.h>.
35732         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
35733         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
35734         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
35735         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
35736         <kernel-features.h>.
35737         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
35738         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
35739         * sysdeps/unix/sysv/linux/linkat.c: Do not include
35740         <kernel-features.h>.
35741         (linkat) [__NR_linkat]: Make code unconditional.
35742         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
35743         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
35744         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
35745         <kernel-features.h>.
35746         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
35747         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
35748         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
35749         <kernel-features.h>.
35750         (mkdirat) [__NR_mkdirat]: Make code unconditional.
35751         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
35752         * sysdeps/unix/sysv/linux/openat.c: Do not include
35753         <kernel-features.h>.
35754         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
35755         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
35756         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
35757         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
35758         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
35759         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
35760         <kernel-features.h>.
35761         (readlinkat) [__NR_readlinkat]: Make code unconditional.
35762         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
35763         result of INLINE_SYSCALL directly, not via int variable.
35764         * sysdeps/unix/sysv/linux/renameat.c: Do not include
35765         <kernel-features.h>.
35766         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
35767         (renameat) [__NR_renameat]: Make code unconditional.
35768         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
35769         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
35770         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
35771         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
35772         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
35773         (__ASSUME_ATFCTS): Do not undefine and redefine.
35774         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
35775         <kernel-features.h>.
35776         (symlinkat) [__NR_symlinkat]: Make code unconditional.
35777         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
35778         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
35779         <kernel-features.h>.
35780         (unlinkat) [__NR_unlinkat]: Make code unconditional.
35781         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
35782         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
35783         (__ASSUME_ATFCTS): Do not undefine and redefine.
35784         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
35785         <kernel-features.h>.
35786         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
35787         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
35788         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
35789         <kernel-features.h>.
35790         (__xmknodat) [__NR_mknodat]: Make code unconditional.
35791         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
35793 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
35795         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
35797 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
35799         [BZ #17069]
35800         * posix/regcomp.c (parse_reg_exp): Deallocate partially
35801         constructed tree before returning error.
35802         * posix/bug-regexp36.c: Expand test case.
35804 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
35806         [BZ #6803]
35807         * math/libm-test.inc (scalbln_test_date):
35808         Add errno expectations.
35809         * math/w_scalblnf.c: New File.
35810         Add wrapper which checks for setting errno to ERANGE.
35811         Add weak_alias for corresponding scalbln function.
35812         * math/w_scalbln.c: Likewise.
35813         * math/w_scalblnl.c: Likewise.
35814         * math/Makefile (libm-calls): Add w_scalbln.
35815         * sysdeps/ieee754/flt-32/s_scalblnf.c:
35816         Remove weak_alias for corresponding scalbln function.
35817         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35818         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35819         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35820         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35821         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
35822         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
35823         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
35824         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
35825         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
35826         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
35827         Remove long_double_symbol for scalblnl function in libm, libc.
35828         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
35829         Add wrapper which checks for setting errno to ERANGE.
35830         Add long_double_symbol for scalblnl function in libm, libc.
35831         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
35832         Remove long_double_symbol for scalblnl in libm.
35833         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
35834         Add wrapper which checks for setting errno to ERANGE.
35835         Add long_double_symbol for scalblnl function in libm.
35836         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
35837         Do not use wrapper because of own implementation.
35839 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
35841         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
35842         3 bytes for __pad1 for x32.
35843         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
35845 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
35846             H.J. Lu  <hongjiu.lu@intel.com>
35848         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
35849         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
35850         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35851         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35852         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
35854 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
35856         [BZ #17069]
35857         * posix/regcomp.c (parse_expression): Deallocate partially
35858         constructed tree before returning error.
35859         * posix/Makefile.c (tests): Add bug-regex36.
35860         (generated): Add bug-regex36.mtrace.
35861         (tests-special): Add $(objpfx)bug-regex36-mem.out
35862         (bug-regex36-ENV): New variable.
35863         ($(objpfx)bug-regex36-mem.out): New rule.
35864         * posix/bug-regex36.c: New file.
35866 2014-06-19  Will Newton  <will.newton@linaro.org>
35868         * malloc/malloc.c (systrim): If extra is zero then return
35869         early.
35871 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35873         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
35875 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
35877         * sysdeps/aarch64/strchr.S: New file.
35879 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
35881         [BZ #17022]
35882         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
35883         from arguments -2 or below.
35884         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35885         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
35887 2014-06-18  Andreas Schwab  <schwab@suse.de>
35889         [BZ #17062]
35890         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
35891         of a bracket expr not to run off the end of the string.
35892         * posix/Makefile (tests): Add tst-fnmatch3.
35893         * posix/tst-fnmatch3.c: New file.
35895 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
35897         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
35898         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35899         [$(cross-compiling) = no]: Likewise.
35900         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35901         [$(cross-compiling) = no]: Likewise.
35903 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35905         [BZ #17031]
35906         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
35907         double, adjusted for any remainder from the high double.
35908         * math/libm-test.inc (nearbyint): Add tests.
35909         (rint): Likewise.
35911 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35913         * nptl/sysdeps/powerpc/Makefile: Moved ...
35914         * sysdeps/powerpc/nptl/Makefile: ... here.
35915         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
35916         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
35917         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
35918         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
35919         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
35920         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
35921         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
35922         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
35923         * nptl/sysdeps/powerpc/tls.h: Moved ...
35924         * sysdeps/powerpc/nptl/tls.h: ... here.
35926 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
35928         [BZ #16681]
35929         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
35930         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
35931         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
35932         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
35933         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
35934         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
35935         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
35936         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
35937         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
35939 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
35941         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
35943 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
35945         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
35946         defined operator.
35948         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
35949         $TIMEOUTFACTOR.
35951 2014-06-16  Florian Weimer  <fweimer@redhat.com>
35953         [BZ #17058]
35954         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
35955         non-executed part of the test.
35957 2014-06-16  Andreas Schwab  <schwab@suse.de>
35959         * string/bits/string2.h (strdup, strndup): Update feature guard.
35961 2014-06-14  David S. Miller  <davem@davemloft.net>
35963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35965 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
35967         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
35968         that was previously under [RESET_PID].
35969         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
35971         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
35972         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
35973         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
35974         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35975         (__libc_vfork): New strong alias.
35976         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
35978 2014-06-14 Andi Kleen  <ak@linux.intel.com>
35980         * sysdeps/generic/elide.h: New file.
35982 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35984         * Makefile (installed-headers): Adjust path of pthread.h header.
35986 2014-06-13  Roland McGrath  <roland@hack.frob.com>
35988         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
35989         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
35990         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
35991         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
35993         * nptl/sysdeps/s390/Makefile: Moved ...
35994         * sysdeps/s390/nptl/Makefile: ... here.
35995         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
35996         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
35997         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
35998         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
35999         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
36000         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
36001         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
36002         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
36003         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
36004         * sysdeps/s390/nptl/pthreaddef.h: ... here.
36005         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
36006         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
36007         * nptl/sysdeps/s390/tls.h: Moved ...
36008         * sysdeps/s390/nptl/tls.h: ... here.
36010         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
36011         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
36013 2014-06-13  David S. Miller  <davem@davemloft.net>
36015         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
36016         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
36017         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
36018         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
36019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
36020         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
36021         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
36022         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
36023         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
36024         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
36025         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
36026         Remove RESET_PID cpp guards.
36027         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
36028         Remove RESET_PID cpp guards.
36029         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
36031 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
36033         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
36034         __sp to uintptr_t.
36036 2014-06-13  Andi Kleen  <ak@linux.intel.com>
36038         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
36039         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
36040         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
36041         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
36042         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
36043         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
36044         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
36045         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
36046         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
36047         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
36048         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
36049         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
36050         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
36051         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
36052         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
36053         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
36054         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
36055         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
36056         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
36057         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
36059         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
36060         (pthread_rwlock_rdlock): Add elision.
36061         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
36062         (pthread_rwlock_wrlock): Add elision.
36063         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
36064         (pthread_rwlock_trywrlock): Add elision.
36065         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
36066         (pthread_rwlock_tryrdlock): Add elision.
36067         * nptl/pthread_rwlock_unlock.c: Include elide.h.
36068         (pthread_rwlock_tryrdlock): Add elision unlock.
36069         * nptl/sysdeps/pthread/pthread.h:
36070         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
36071         (PTHREAD_RWLOCK_INITIALIZER,
36072         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
36073         Handle new elision field.
36074         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
36075         * sysdeps/arm/nptl/bits/pthreadtypes.h
36076         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36077         * sysdeps/sh/nptl/bits/pthreadtypes.h
36078         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36079         * sysdeps/tile/nptl/bits/pthreadtypes.h
36080         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36081         * sysdeps/a/nptl/bits/pthreadtypes.h
36082         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36083         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
36084         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36085         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
36086         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36087         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
36088         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36089         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
36090         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36091         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
36092         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36093         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
36094         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36095         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
36096         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36097         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
36098         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36099         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
36100         (elision_init): Set try_xbegin to zero when no RTM.
36101         * sysdeps/x86/nptl/bits/pthreadtypes.h
36102         (pthread_rwlock_t): Change __pad1 to __rwelision.
36103         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36105 2014-06-13  Andi Kleen  <ak@linux.intel.com>
36107         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
36108         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
36109         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
36110         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
36112 2014-06-13  Meador Inge  <meadori@codesourcery.com>
36114         [BZ #16996]
36115         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
36116         that the cached result has been set before returning it.
36118 2014-06-12  Roland McGrath  <roland@hack.frob.com>
36120         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
36121         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
36122         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
36123         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
36124         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
36125         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
36127         * nptl/sysdeps/sparc/Makefile: Moved ...
36128         * sysdeps/sparc/nptl/Makefile: ... here.
36129         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
36130         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
36131         * nptl/sysdeps/sparc/tls.h: Moved ...
36132         * sysdeps/sparc/nptl/tls.h: ... here.
36133         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
36134         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
36135         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
36136         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
36137         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
36138         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
36139         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
36140         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
36141         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
36142         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
36143         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
36144         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
36145         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
36146         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
36147         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
36148         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
36149         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
36150         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
36151         Update #include.
36152         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
36153         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
36154         Update #include.
36155         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
36156         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
36157         Update #include.
36158         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
36159         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
36160         Update #include.
36162         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
36164         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
36165         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
36167         * sysdeps/pthread/posix-timer.h: Include <list.h>.
36168         (struct list_links): Type removed.
36169         (struct thread_node, struct timer_node): Replace struct list_links
36170         with struct list_head.
36171         (list_unlink_ip): Likewise.
36172         * sysdeps/pthread/timer_routines.c
36173         (timer_free_list, thread_free_list, thread_active_list): Likewise.
36174         (list_append, list_insbefore): Likewise.
36175         (list_init): Function removed.
36176         (thread_init, init_module): Use INIT_LIST_HEAD instead.
36177         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
36178         * sysdeps/pthread/Makefile: ... here, new file.
36180         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
36181         * sysdeps/nptl/Implies: ... here.
36182         * sysdeps/unix/sysv/linux/Implies: Add nptl.
36183         * nptl/sysdeps/pthread/list.h: Moved ...
36184         * include/list.h: ... here.
36185         * nptl/sysdeps/pthread/createthread.c: Moved ...
36186         * nptl/createthread.c: ... here.
36187         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
36188         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
36189         * nptl/pt-longjmp.c: ... here.
36190         * nptl/sysdeps/pthread/Makefile: Moved ...
36191         * sysdeps/nptl/Makefile: ... here.
36192         * nptl/sysdeps/pthread/Subdirs: Moved ...
36193         * sysdeps/nptl/Subdirs: ... here.
36194         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
36195         * sysdeps/nptl/aio_misc.h: ... here.
36196         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
36197         * sysdeps/nptl/bits/libc-lock.h: ... here.
36198         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
36199         * sysdeps/nptl/bits/libc-lockP.h: ... here.
36200         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
36201         * sysdeps/nptl/bits/stdio-lock.h: ... here.
36202         * nptl/sysdeps/pthread/configure: Moved ...
36203         * sysdeps/nptl/configure: ... here.
36204         * nptl/sysdeps/pthread/configure.ac: Moved ...
36205         * sysdeps/nptl/configure.ac: ... here.
36206         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
36207         * sysdeps/nptl/gai_misc.h: ... here.
36208         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
36209         * sysdeps/nptl/librt-cancellation.c: ... here.
36210         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
36211         * sysdeps/nptl/malloc-machine.h: ... here.
36212         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
36213         * sysdeps/nptl/pthread-functions.h: ... here.
36214         * nptl/sysdeps/pthread/pthread.h: Moved ...
36215         * sysdeps/nptl/pthread.h: ... here.
36216         * nptl/sysdeps/pthread/setxid.h: Moved ...
36217         * sysdeps/nptl/setxid.h: ... here.
36218         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
36219         * sysdeps/nptl/sigfillset.c: ... here.
36220         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
36221         * sysdeps/nptl/tcb-offsets.h: ... here.
36222         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
36223         * sysdeps/nptl/tst-mqueue8x.c: ... here.
36224         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
36225         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
36226         * nptl/sysdeps/pthread/allocalim.h: Moved ...
36227         * sysdeps/pthread/allocalim.h: ... here.
36228         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
36229         * sysdeps/pthread/bits/sigthread.h: ... here.
36230         * nptl/sysdeps/pthread/flockfile.c: Moved ...
36231         * sysdeps/pthread/flockfile.c: ... here.
36232         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
36233         * sysdeps/pthread/ftrylockfile.c: ... here.
36234         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
36235         * sysdeps/pthread/funlockfile.c: ... here.
36236         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
36237         * sysdeps/pthread/posix-timer.h: ... here.
36238         * nptl/sysdeps/pthread/timer_create.c: Moved ...
36239         * sysdeps/pthread/timer_create.c: ... here.
36240         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
36241         * sysdeps/pthread/timer_delete.c: ... here.
36242         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
36243         * sysdeps/pthread/timer_getoverr.c: ... here.
36244         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
36245         * sysdeps/pthread/timer_gettime.c: ... here.
36246         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
36247         * sysdeps/pthread/timer_routines.c: ... here.
36248         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
36249         * sysdeps/pthread/timer_settime.c: ... here.
36250         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
36251         * sysdeps/pthread/tst-timer.c: ... here.
36252         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
36253         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
36255         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
36256         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
36258         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
36259         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
36260         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
36261         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
36262         Update #include target.
36263         * nptl/sysdeps/i386/i686/Makefile: Moved ...
36264         * sysdeps/i386/i686/nptl/Makefile: ... here.
36265         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
36266         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
36267         Update #include target.
36268         * nptl/sysdeps/i386/i686/tls.h: Moved ...
36269         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
36270         * nptl/sysdeps/i386/Makefile: Moved ...
36271         * sysdeps/i386/nptl/Makefile: ... here.
36272         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
36273         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
36274         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
36275         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
36276         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
36277         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
36278         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
36279         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
36280         * sysdeps/i386/nptl/pthreaddef.h: ... here.
36281         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
36282         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
36283         * nptl/sysdeps/i386/tls.h: Moved ...
36284         * sysdeps/i386/nptl/tls.h: ... here.
36286         * sysdeps/sh/Makefile [$(subdir) = csu]
36287         (gen-as-const-headers): Add tcb-offsets.sym.
36288         * nptl/sysdeps/sh/Makefile: File removed.
36289         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
36290         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
36291         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
36292         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
36293         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
36294         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
36295         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
36296         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
36297         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
36298         * sysdeps/sh/nptl/pthreaddef.h: ... here.
36299         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
36300         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
36301         * nptl/sysdeps/sh/tls.h: Moved ...
36302         * sysdeps/sh/nptl/tls.h: ... here.
36303         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
36304         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
36305         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
36306         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
36307         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
36308         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
36309         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
36310         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
36311         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
36312         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
36313         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
36314         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
36315         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
36316         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
36317         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
36318         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
36319         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
36320         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
36321         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
36322         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
36323         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
36324         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
36325         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
36326         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
36327         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
36328         Moved ...
36329         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
36330         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
36331         Moved ...
36332         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
36333         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
36334         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
36335         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
36336         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
36337         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
36338         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
36339         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
36340         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
36341         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
36342         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
36343         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
36344         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
36345         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
36346         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
36347         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
36348         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
36349         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
36350         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
36352 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36354         * posix/spawn_faction_addopen.c: Include string.h.
36356 2014-06-11  Roland McGrath  <roland@hack.frob.com>
36358         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
36359         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
36360         * nptl/sysdeps/x86_64/Makefile: Moved ...
36361         * sysdeps/x86_64/nptl/Makefile: ... here.
36362         * nptl/sysdeps/x86_64/configure: Moved ...
36363         * sysdeps/x86_64/nptl/configure: ... here.
36364         * nptl/sysdeps/x86_64/configure.ac: Moved ...
36365         * sysdeps/x86_64/nptl/configure.ac: ... here.
36366         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
36367         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
36368         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
36369         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
36370         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
36371         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
36372         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
36373         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
36374         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
36375         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
36376         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
36377         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
36378         * nptl/sysdeps/x86_64/tls.h: Moved ...
36379         * sysdeps/x86_64/nptl/tls.h: ... here.
36380         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
36381         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
36382         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
36383         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
36385         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
36387 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36391 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
36393         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
36394         type.
36395         [POSIX] (off_t): Likewise.
36396         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
36397         [POSIX] (S_ISBLK): Require macro.
36398         [POSIX] (S_ISCHR): Likewise.
36399         [POSIX] (S_ISDIR): Likewise.
36400         [POSIX] (S_ISFIFO): Likewise.
36401         [POSIX] (S_ISREG): Likewise.
36402         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
36403         optional-macro.
36404         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
36405         type.
36406         [POSIX] (time_t): Likewise.
36407         [POSIX] (timer_t): Likewise.
36409 2014-06-11  Florian Weimer  <fweimer@redhat.com>
36411         [BZ #17048]
36412         * posix/spawn_int.h (struct __spawn_action): Make the path string
36413         non-const to support deallocation.
36414         * posix/spawn_faction_addopen.c
36415         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
36416         * posix/spawn_faction_destroy.c
36417         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
36418         path in all spawn_do_open actions.
36419         * posix/tst-spawn.c (do_test): Exercise the copy operation in
36420         posix_spawn_file_actions_addopen.
36422 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
36424         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
36425         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
36426         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
36427         conditional code always true.
36428         (__libc_vfork): New alias.
36430 2014-06-11  Roland McGrath  <roland@hack.frob.com>
36432         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36433         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
36435         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
36437         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36438         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
36440         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
36441         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
36443         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36444         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
36446 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36448         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
36449         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
36450         multiarch strcmp for PPC64.
36451         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
36452         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
36453         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
36454         multiarch optimizations.
36455         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36456         (__libc_ifunc_impl_list): Likewise.
36458 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36460         * benchtests/scripts/validate_benchout.py: New script.
36461         * benchtests/Makefile (bench-func): Call it.
36462         * benchtests/scripts/benchout.schema.json: New file.
36464 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
36466         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
36467         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
36468         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
36469         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
36470         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
36471         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
36472         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
36473         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
36474         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
36475         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
36476         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
36477         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
36478         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
36479         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
36480         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
36481         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
36482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
36483         Moved ...
36484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
36485         ... here.
36486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
36487         Moved ...
36488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
36489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
36490         Moved ...
36491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
36492         ... here.
36493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
36494         Moved ...
36495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
36496         ... here.
36497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
36498         Moved ...
36499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
36500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
36501         Moved ...
36502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
36503         ... here.
36504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
36505         Moved ...
36506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
36507         ... here.
36508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
36509         Moved ...
36510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
36511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
36512         Moved ...
36513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
36514         ... here.
36515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
36516         Moved ...
36517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
36518         ... here.
36519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
36520         Moved ...
36521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
36522         ... here.
36523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
36524         Moved ...
36525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
36526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
36527         Moved ...
36528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
36529         ... here.
36530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
36531         Moved ...
36532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
36533         ... here.
36534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
36535         Moved ...
36536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
36537         ... here.
36538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
36539         Moved ...
36540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
36541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
36542         Moved ...
36543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
36544         ... here.
36545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
36546         Moved ...
36547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
36548         ... here.
36549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
36550         Moved ...
36551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
36552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
36553         Moved ...
36554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
36555         ... here.
36556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
36557         Moved ...
36558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
36559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
36560         Moved ...
36561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
36562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
36563         Moved ...
36564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
36565         ... here.
36566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
36567         Moved ...
36568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
36569         ... here.
36570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
36571         Moved ...
36572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
36573         ... here.
36574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
36575         Moved ...
36576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
36577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
36578         Moved ...
36579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
36580         ... here.
36581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
36582         Moved ...
36583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
36584         ... here.
36585         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
36586         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
36587         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
36588         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
36589         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
36590         Moved ...
36591         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
36592         ... here.
36593         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
36594         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
36595         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
36596         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
36597         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
36598         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
36599         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
36600         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
36601         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
36602         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
36603         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
36604         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
36605         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
36606         Moved ...
36607         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
36608         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
36609         Moved ...
36610         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
36611         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
36612         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
36613         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
36614         Moved ...
36615         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
36616         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
36617         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
36618         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
36619         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
36620         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
36621         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
36623 2014-06-10  Wilco  <wdijkstr@arm.com>
36625         * math/test-fenv-return.c: New file.
36626         * math/Makefile: Add new test test-fenv-return.
36628 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
36630         [BZ #17042]
36631         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
36632         when x - 1 is zero.
36633         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
36634         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
36635         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
36636         0.0L for an argument of 1.0L.
36637         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
36638         Likewise.
36639         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
36640         value when x - 1 is zero.
36641         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
36642         * sysdeps/i386/fpu/libm-test-ulps: Update.
36643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36645 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
36647         [BZ #15119]
36648         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
36650 2014-06-09  Roland McGrath  <roland@hack.frob.com>
36652         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
36653         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
36655 2014-06-09  Roland McGrath  <roland@hack.frob.com>
36657         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36658         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
36660         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36661         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
36663         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36664         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
36666         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36667         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
36669         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
36670         if not already defined.
36671         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
36672         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
36673         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
36674         (TLS_INIT_TP): Use it.
36675         (TLS_DEFINE_INIT_TP): New macro.
36676         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
36678 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
36680         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
36681         constant.
36682         [POSIX] (IXANY): Likewise.
36683         [POSIX] (OLCUC): Likewise.
36684         [POSIX || POSIX2008] (CBAUD): Do not allow.
36685         [POSIX || POSIX2008] (DEFECHO): Likewise.
36686         [POSIX || POSIX2008] (ECHOCTL): Likewise.
36687         [POSIX || POSIX2008] (ECHOKE): Likewise.
36688         [POSIX || POSIX2008] (ECHOPRT): Likewise.
36689         [POSIX || POSIX2008] (EXTA): Likewise.
36690         [POSIX || POSIX2008] (EXTB): Likewise.
36691         [POSIX || POSIX2008] (FLUSHO): Likewise.
36692         [POSIX || POSIX2008] (LOBLK): Likewise.
36693         [POSIX || POSIX2008] (PENDIN): Likewise.
36694         [POSIX || POSIX2008] (SWTCH): Likewise.
36695         [POSIX || POSIX2008] (VDISCARD): Likewise.
36696         [POSIX || POSIX2008] (VDSUSP): Likewise.
36697         [POSIX || POSIX2008] (VLNEXT): Likewise.
36698         [POSIX || POSIX2008] (VREPRINT): Likewise.
36699         [POSIX || POSIX2008] (VSTATUS): Likewise.
36700         [POSIX || POSIX2008] (VWERASE): Likewise.
36701         (B*): Change to B[0123456789]*.
36702         * conform/data/time.h-data [POSIX || UNIX98]
36703         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
36704         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
36705         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
36706         [POSIX] (tm_*): Do not allow.
36708 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
36710         * Makefile (install): Don't set LANGUAGE.
36711         * Makefile.in (install): Likewise.
36712         * assert/Makefile (test-assert-ENV): Remove variable.
36713         (test-assert-perr-ENV): Likewise.
36714         * elf/Makefile (neededtest4-ENV): Likewise.
36715         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36716         [$(cross-compiling) = no]: Don't set LANGUAGE.
36717         * io/ftwtest-sh (LANG): Remove variable.
36718         * libio/Makefile (tst-widetext-ENV): Likewise.
36719         * manual/install.texi (Running make install): Don't refer to
36720         environment settings for make install.
36721         * INSTALL: Regenerated.
36722         * nptl/tst-tls6.sh: Don't set LANG.
36723         * posix/globtest.sh (LANG): Remove variable.
36724         * string/Makefile (tester-ENV): Likewise.
36725         (inl-tester-ENV): Likewise.
36726         (noinl-tester-ENV): Likewise.
36727         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36728         [$(cross-compiling) = no]: Don't set LANGUAGE.
36729         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
36730         without explicit environment settings.
36732 2014-06-06  Roland McGrath  <roland@hack.frob.com>
36734         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
36735         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
36736         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
36737         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
36739 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
36741         * crypt/crypt-private.h [DOS]: Add some includes taken from the
36742         other files in the crypt directory.
36743         * crypt/crypt.c: Remove duplicate includes.
36744         * crypt/crypt-entry.c: Likewise.
36745         * crypt/crypt_util.c: Likewise.
36747 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
36749         * Makeconfig (run-program-env): New variable.
36750         (run-program-prefix-before-env): Likewise.
36751         (run-program-prefix-after-env): Likewise.
36752         (run-program-prefix): Define in terms of new variables.
36753         (built-program-cmd-before-env): New variable.
36754         (built-program-cmd-after-env): Likewise.
36755         (built-program-cmd): Define in terms of new variables.
36756         (test-program-prefix-before-env): New variable.
36757         (test-program-prefix-after-env): Likewise.
36758         (test-program-prefix): Define in terms of new variables.
36759         (test-program-cmd-before-env): New variable.
36760         (test-program-cmd-after-env): Likewise.
36761         (test-program-cmd): Define in terms of new variables.
36762         * Rules (make-test-out): Use $(run-program-env).
36763         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
36764         (help): Do not mention environment variables.  Mention
36765         --timeoutfactor option.
36766         (timeoutfactor): New variable.
36767         (blacklist_exports): Remove function.
36768         (exports): Remove variable.
36769         (command): Do not include ${exports}.
36770         * manual/install.texi (Configuring and compiling): Do not mention
36771         test wrappers preserving environment variables.  Mention that last
36772         assignment to a variable must take precedence.
36773         * INSTALL: Regenerated.
36774         * benchtests/Makefile (run-bench): Use $(run-program-env).
36775         * catgets/Makefile ($(objpfx)test1.cat): Use
36776         $(built-program-cmd-before-env), $(run-program-env) and
36777         $(built-program-cmd-after-env).
36778         ($(objpfx)test2.cat): Do not specify environment variables
36779         explicitly.
36780         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
36781         $(run-program-env) and $(built-program-cmd-after-env).
36782         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
36783         $(run-program-env) and $(test-program-cmd-after-env).
36784         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
36785         explicitly.
36786         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
36787         run_program_env and test_program_cmd_after_env arguments.
36788         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
36789         * elf/tst-pathopt.sh: Use run_program_env argument.
36790         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
36791         $(test-wrapper-env) and $(run-program-env).
36792         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
36793         run_program_env arguments.
36794         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
36795         * intl/Makefile ($(objpfx)tst-gettext.out): Use
36796         $(test-program-prefix-before-env), $(run-program-env) and
36797         $(test-program-prefix-after-env).
36798         ($(objpfx)tst-gettext2.out): Likewise.
36799         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
36800         run_program_env and test_program_prefix_after_env arguments.
36801         * intl/tst-gettext2.sh: Likewise.
36802         * intl/tst-gettext4.sh: Do not set environment variables
36803         explicitly.
36804         * intl/tst-gettext6.sh: Likewise.
36805         * intl/tst-translit.sh: Likewise.
36806         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
36807         $(test-program-prefix-before-env), $(run-program-env) and
36808         $(test-program-prefix-after-env).
36809         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
36810         run_program_env and test_program_prefix_after_env arguments.
36811         * math/Makefile (run-regen-ulps): Use $(run-program-env).
36812         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
36813         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
36814         explicitly with each use of ${test_wrapper_env}.
36815         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
36816         $(test-program-prefix-before-env), $(run-program-env) and
36817         $(test-program-prefix-after-env).
36818         * posix/tst-getconf.sh: Do not set environment variables
36819         explicitly.
36820         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
36821         run_program_env and test_program_prefix_after_env arguments.
36822         * stdio-common/tst-printf.sh: Do not set environment variables
36823         explicitly.
36824         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
36825         $(test-program-prefix-before-env), $(run-program-env) and
36826         $(test-program-prefix-after-env).
36827         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
36828         run_program_env and test_program_prefix_after_env arguments.
36829         Split $test calls into $test_pre and $test.
36830         * timezone/Makefile (build-testdata): Use
36831         $(built-program-cmd-before-env), $(run-program-env) and
36832         $(built-program-cmd-after-env).
36834 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36836         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
36837         strlen for non SHARED builds.
36839 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36841         * nptl/allocatestack.c (check_list): Inlined function...
36842         (__reclaim_stacks): ... here.
36844 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
36846         [BZ #15698]
36847         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
36848         memory overrun.
36850 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
36852         * Rules (make-test-out): Include
36853         LOCPATH=$(common-objpfx)localedata in default environment.
36854         * debug/Makefile (tst-chk1-ENV): Remove variable.
36855         (tst-chk2-ENV): Likewise.
36856         (tst-chk3-ENV): Likewise.
36857         (tst-chk4-ENV): Likewise.
36858         (tst-chk5-ENV): Likewise.
36859         (tst-chk6-ENV): Likewise.
36860         (tst-lfschk1-ENV): Likewise.
36861         (tst-lfschk2-ENV): Likewise.
36862         (tst-lfschk3-ENV): Likewise.
36863         (tst-lfschk4-ENV): Likewise.
36864         (tst-lfschk5-ENV): Likewise.
36865         (tst-lfschk6-ENV): Likewise.
36866         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
36867         (tst-iconv7-ENV): Likewise.
36868         * intl/Makefile (LOCPATH-ENV): Likewise.
36869         (tst-codeset-ENV): Likewise.
36870         (tst-gettext3-ENV): Likewise.
36871         (tst-gettext5-ENV): Likewise.
36872         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
36873         (tst-fopenloc-ENV): Likewise.
36874         (tst-fgetws-ENV): Remove variable.
36875         (tst-ungetwc1-ENV): Likewise.
36876         (tst-ungetwc2-ENV): Likewise.
36877         (bug-ungetwc2-ENV): Likewise.
36878         (tst-swscanf-ENV): Likewise.
36879         (bug-ftell-ENV): Likewise.
36880         (tst-fgetwc-ENV): Likewise.
36881         (tst-fseek-ENV): Likewise.
36882         (tst-ftell-partial-wide-ENV): Likewise.
36883         (tst-ftell-active-handler-ENV): Likewise.
36884         (tst-ftell-append-ENV): Likewise.
36885         * posix/Makefile (tst-fnmatch-ENV): Likewise.
36886         (tst-regexloc-ENV): Likewise.
36887         (bug-regex1-ENV): Likewise.
36888         (tst-regex-ENV): Likewise.
36889         (tst-regex2-ENV): Likewise.
36890         (bug-regex5-ENV): Likewise.
36891         (bug-regex6-ENV): Likewise.
36892         (bug-regex17-ENV): Likewise.
36893         (bug-regex18-ENV): Likewise.
36894         (bug-regex19-ENV): Likewise.
36895         (bug-regex20-ENV): Likewise.
36896         (bug-regex22-ENV): Likewise.
36897         (bug-regex23-ENV): Likewise.
36898         (bug-regex25-ENV): Likewise.
36899         (bug-regex26-ENV): Likewise.
36900         (bug-regex30-ENV): Likewise.
36901         (bug-regex32-ENV): Likewise.
36902         (bug-regex33-ENV): Likewise.
36903         (bug-regex34-ENV): Likewise.
36904         (bug-regex35-ENV): Likewise.
36905         (tst-rxspencer-ENV): Likewise.
36906         (tst-rxspencer-no-utf8-ENV): Likewise.
36907         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
36908         (tst-sscanf-ENV): Likewise.
36909         (tst-swprintf-ENV): Likewise.
36910         (tst-swscanf-ENV): Likewise.
36911         (test-vfprintf-ENV): Likewise.
36912         (scanf13-ENV): Likewise.
36913         (bug14-ENV): Likewise.
36914         (tst-grouping-ENV): Likewise.
36915         * stdlib/Makefile (tst-strtod-ENV): Likewise.
36916         (tst-strtod3-ENV): Likewise.
36917         (tst-strtod4-ENV): Likewise.
36918         (tst-strtod5-ENV): Likewise.
36919         (testmb2-ENV): Likewise./
36920         * string/Makefile (tst-strxfrm-ENV): Likewise.
36921         (tst-strxfrm2-ENV): Likewise.
36922         (bug-strcoll1-ENV): Likewise.
36923         (test-strcasecmp-ENV): Likewise.
36924         (test-strncasecmp-ENV): Likewise.
36925         * time/Makefile (tst-strptime-ENV): Likewise.
36926         (tst-ftime_l-ENV): Likewise.
36927         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
36928         (tst-mbrtowc-ENV): Likewise.
36929         (tst-wcrtomb-ENV): Likewise.
36930         (tst-mbrtowc2-ENV): Likewise.
36931         (tst-c16c32-1-ENV): Likewise.
36932         (tst-mbsnrtowcs-ENV): Likewise.
36934 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
36936         * manual/resource.texi (How to get information about the memory
36937         subsystem?): Fix typo.
36938         Reported by Peon de la Parra Ivan <peon@keba.com>
36940 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
36942         [BZ #16882]
36943         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
36944         (pthread_spin_lock): Branch out of spin loop to proper location.
36945         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
36946         (pthread_spin_lock): Likewise.
36948         * nptl/tst-spin4.c: New test.
36949         * nptl/Makefile (tests): Add tst-spin4.
36951 2014-06-03  Andreas Schwab  <schwab@suse.de>
36953         [BZ #15946]
36954         * resolv/res_send.c (send_dg): Reload file descriptor after
36955         calling reopen.
36957 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
36959         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36961 2014-06-03  Richard Henderson  <rth@redhat.com>
36963         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
36964         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
36965         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
36966         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
36967         in the SAVE_PID block.
36968         (__libc_vfork): New alias.
36969         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
36971         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
36972         child in registers, not on the stack.  Remove RESET_PID conditionals.
36973         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
36975 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36977         * sysdeps/aarch64/libm-test-ulps: Regenerate.
36979 2014-06-03  Wilco  <wdijkstr@arm.com>
36981         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
36982         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
36983         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
36984         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
36985         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
36986         Likewise.
36988 2014-06-03  Wilco  <wdijkstr@arm.com>
36990         * sysdeps/aarch64/fpu/math_private.h
36991         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
36992         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
36993         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
36994         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
36995         Fix declarations.
36997 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36999         * crypt/crypt-private.h: Include ufc-crypt.h.
37000         (__b64_from_24bit): Declare extern.
37001         * crypt/crypt_util.c(__b64_from_24bit): New function.
37002         (b64t): New static const variable.
37003         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
37004         (b64t): Remove variable.
37005         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
37006         * crypt/sha256-crypt.c: Include crypt-private.h.
37007         (b64t): Remove variable.
37008         (__sha256_crypt_r): Remove b64_from_24bit and replace
37009         with __b64_from_24bit.
37010         * crypt/sha512-crypt.c: Likewise.
37012 2014-06-02  Roland McGrath  <roland@hack.frob.com>
37014         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
37015         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
37016         Label the code __libc_vfork rather than __vfork.
37017         [!NOT_IN_libc] (vfork): Define as weak alias.
37018         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
37019         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
37020         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
37022 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37024         * malloc/malloc.c (malloc_info): Fix format specifier for
37025         n_mmaps.
37027 2014-06-02  Wilco  <wdijkstr@arm.com>
37029         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
37030         FPCR write.
37032 2014-06-02  Wilco  <wdijkstr@arm.com>
37034         [BZ #17009]
37035         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
37036         Rewrite to reduce FPCR/FPSR accesses.
37038 2014-06-01  David S. Miller  <davem@davemloft.net>
37040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37042 2014-05-31  David S. Miller  <davem@davemloft.net>
37044         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
37045         to occur in round to nearest mode when |x| >= 2.0
37047 2014-05-30  Richard Henderson  <rth@twiddle.net>
37049         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
37050         (PSEUDO_RET_NOERRNO): Remove.
37051         (ret): Don't redefine.
37052         (ret_NOERRNO): Define in terms of ret.
37053         (ret_ERRVAL): Likewise.
37055         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
37056         use of PSEUDO_RET; perform the error check directly.
37058 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
37060         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
37061         with __int128_t.
37063 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37065         * malloc/malloc (malloc_info): Fix formatting.
37067 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37068             Roland McGrath  <roland@hack.frob.com>
37070         * malloc/malloc (malloc_info): Also print mmapped statistics.
37072 2014-05-30  Roland McGrath  <roland@hack.frob.com>
37074         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
37075         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
37077 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
37079         * malloc/malloc.c (malloc_info): Inline mi_arena.
37081 2014-05-29  Richard Henderson  <rth@twiddle.net>
37083         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
37084         Remove comma before expanding ASM_ARGS_##nr.
37085         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
37086         Make _x0 a strict output; make _x8 a strict input; adjust expansion
37087         of ASM_ARGS_##nr.
37088         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
37089         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
37090         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
37091         (ASM_ARGS_1): Add leading comma.
37093         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
37094         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
37095         to __errno_location.
37096         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
37097         Remove the expected plt for __errno_location.
37099         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37100         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
37101         call to __read_tp.
37103         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37104         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
37105         it and break it down.
37106         (DOCARGS_0, DOCARGS_1): Do nothing.
37107         (DOCARGS_2): Update to store into the new stack frame.
37108         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
37109         (UNDOCARGS_1): Update to restore from the new stack frame.
37110         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
37111         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
37113         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37114         (SINGLE_THREAD_P): New parameter for result regno.
37115         (PSEUDO): Update to match; use cbz instead of beq.
37117         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37118         Use ENTRY to define the _nocancel entry point.  Share the syscall
37119         and syscall error check paths with the cancel path.
37120         (PSEUDO_END): New.
37122         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
37123         whitespace; tabs before and after asm mnemonics.
37125 2014-05-29  Eric Wong  <normalperson@yhbt.net>
37127         [BZ #15132]
37128         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37129         Call fstat64 or stat64 internally, depending on arguments passed.
37130         Replace stat buffer argument with file descriptor argument.
37131         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
37132         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
37133         Pass fd to __internal_statvfs instead of calling fstat64.
37134         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
37135         Pass fd to __internal_statvfs64 instead of calling fstat64.
37136         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
37137         Pass -1 to __internal_statvfs instead of calling stat64.
37138         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
37139         Pass -1 to __internal_statvfs64 instead of calling stat64.
37141 2014-05-28  Roland McGrath  <roland@hack.frob.com>
37143         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
37144         that was previously under [RESET_PID].
37145         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
37147         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
37148         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
37150 2014-05-27  Roland McGrath  <roland@hack.frob.com>
37152         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
37154         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
37155         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
37157 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
37159         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
37161 2014-05-27  Andreas Schwab  <schwab@suse.de>
37163         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
37164         TLS_INIT_TP macro.
37165         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
37166         * elf/rtld.c (init_tls, dl_main): Likewise.
37167         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
37168         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
37169         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
37170         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
37171         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
37172         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
37173         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
37174         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
37175         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
37176         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
37177         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
37178         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
37179         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
37180         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
37181         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
37182         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
37183         * sysdeps/generic/tls.h: Update description.
37185 2014-05-27  Will Newton  <will.newton@linaro.org>
37187         [BZ #16990]
37188         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
37189         and restore r2 rather than just restoring.
37191 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37193         [BZ #16724]
37194         * libio/tst-ftell-append.c: New test case.
37195         * libio/Makefile (tests): Add test case.
37196         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
37197         append mode.
37198         * libio/wfileops.c (do_ftell_wide): Likewise.
37200 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37204         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
37205         ...
37206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
37207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
37208         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
37209         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
37210         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
37211         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
37212         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
37213         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
37214         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
37215         Moved ...
37216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
37217         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
37218         Moved ...
37219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
37220         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
37221         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
37222         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
37223         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
37224         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
37225         ...
37226         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
37227         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
37228         Moved ...
37229         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
37230         here.
37231         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
37232         ...
37233         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
37234         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
37235         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
37237         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
37238         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
37239         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
37240         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
37242         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
37243         merge into ...
37244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
37245         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
37246         ...
37247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
37248         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
37249         ...
37250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
37251         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
37252         Moved ...
37253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
37254         here.
37255         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
37256         Moved ...
37257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
37258         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
37259         Moved ...
37260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
37262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
37263         conditional [RESET_PID].
37264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
37265         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
37266         removed.
37267         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
37268         removed.
37270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
37271         <tcb-offsets.h>.
37272         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37273         (__libc_vfork): New strong alias.
37274         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
37275         removed.
37276         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
37277         Removed.
37279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
37280         <tcb-offsets.h>.
37281         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
37282         (__libc_vfork): New strong alias.
37283         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
37284         removed.
37285         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
37286         removed.
37288 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
37290         * malloc/malloc.c (mi_arena): New function.
37291         (malloc_info): Remove nested function mi_arena. Call non-nosted
37292         function mi_arena.
37294 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37296         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
37297         by insrwi.
37298         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
37299         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
37300         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
37301         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
37302         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
37303         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
37304         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
37306 2014-05-26  Andreas Schwab  <schwab@suse.de>
37308         [BZ #16984]
37309         * locale/programs/repertoire.c (repertoire_read): Add slash
37310         between I18NPATH element and file name.
37311         * locale/programs/locfile.c (locfile_read): Likewise.
37313 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
37315         * nptl/pthread_mutexattr_settype.c
37316         (__pthread_mutexattr_settype):
37317         Disable lock elision for PTHREAD_MUTEX_NORMAL.
37319 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
37321         * nptl/tst-mutex5 (do_test):
37322         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
37324 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37326         * benchtests/README: Document 'init' directive.
37327         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
37328         BENCH_INIT.
37329         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
37330         (parse_file): Recognize 'init' directive.
37332 2014-05-26  Kyle McMartin  <kyle@redhat.com>
37334         [BZ #16796]
37335         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
37336         alignment of struct pthread.
37338 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37340         [BZ #16878]
37341         * nscd/netgroupcache.c (addgetnetgrentX): Look for
37342         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
37343         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
37344         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
37346 2014-05-25  Richard Henderson  <rth@twiddle.net>
37348         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37349         (SINGLE_THREAD_P_PIC): Remove.
37350         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
37351         (SINGLE_THREAD_P_PIC): Remove.
37353         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
37354         branch to syscall error ...
37355         (PSEUDO): ... here.
37356         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
37357         from __local_syscall_error to .Lsyscall_error.
37358         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
37359         (SYSCALL_ERROR): Update label name.
37361         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37362         Do not use DOARGS/UNDOARGS.
37363         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
37364         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
37365         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
37366         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
37367         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
37369         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
37370         block comment.
37372         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
37373         define if !NOT_IN_libc.
37374         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
37375         define with non-default symbol versions.
37377 2014-05-23  Richard Henderson  <rth@twiddle.net>
37379         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
37380         (vfork, __vfork): Define via compat_symbol.
37382         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
37383         [!HAVE_IFUNC] (vfork_compat): Remove.
37384         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
37386 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
37388         [BZ #16978]
37389         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
37390         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
37391         variable.
37393 2014-05-23  Richard Henderson  <rth@twiddle.net>
37395         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
37396         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
37397         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
37398         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
37400         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
37401         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
37402         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
37403         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
37404         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
37405         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
37406         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
37407         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
37408         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
37409         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
37410         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
37411         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
37412         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
37413         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
37414         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
37415         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
37416         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
37417         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
37418         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
37419         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
37420         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
37421         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
37422         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
37423         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
37424         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
37425         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
37426         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
37427         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
37428         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
37429         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
37430         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
37431         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
37432         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
37433         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
37434         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
37435         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
37436         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
37437         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
37438         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
37439         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
37440         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
37441         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
37442         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
37443         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
37444         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
37445         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
37446         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
37447         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
37448         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
37449         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
37450         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
37451         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
37452         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
37453         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
37454         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
37455         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
37457         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
37458         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
37459         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
37460         before exiting on error.
37461         (__libc_vfork): New strong alias.
37462         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
37463         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
37465         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
37466         that was previously under [RESET_PID].
37467         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
37469         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
37471 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
37473         [BZ #16977]
37474         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
37475         value when x - 1 is zero.
37476         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
37477         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
37478         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
37479         0.0L for an argument of 1.0L.
37480         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
37481         Likewise.
37482         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
37483         value when x - 1 is zero.
37484         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
37485         * sysdeps/i386/fpu/libm-test-ulps: Update.
37486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37488 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
37490         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
37491         alphasort and versionsort.
37493 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37495         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
37496         macro.
37497         [copysignf]: Likewise.
37499 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37501         * crypt/md5-crypt.c: Fix formatting.
37503 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37505         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
37506         (b64_from_24bit): New function.
37508 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37510         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
37511         libc_hidden_builtin_def to ifunc.
37512         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37513         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
37515 2014-05-21  Roland McGrath  <roland@hack.frob.com>
37517         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
37518         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
37520 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
37522         * nscd/Depend (linuxthreads): Remove.
37523         (nptl): Add.
37524         * resolv/Depend (linuxthreads): Remove.
37525         * rt/Depend (linuxthreads): Remove.
37527         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
37528         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
37529         $(common-objpfx)elf/.
37530         (link-libc-before-gnulib): Likewise.
37531         (elfobjdir): Remove variable.
37532         * Makefile (install): Use $(elf-objpfx) instead of
37533         $(common-objpfx)elf/.
37534         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
37535         $(elfobjdir)/.
37536         (link-libc-deps): Likewise.
37537         ($(common-objpfx)libc.so): Likewise.
37538         ($(common-objpfx)linkobj/libc.so): Likewise.
37539         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
37540         instead of $(common-objpfx)elf/.
37541         (symbolic-link-list): Likewise.
37542         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37543         [$(cross-compiling) = no]: Likewise.
37544         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
37545         $(elfobjdir)/.
37546         (static-gnulib-arch): Likewise.
37547         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37548         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
37549         $(common-objpfx)elf/.
37551 2014-05-21  Richard Henderson  <rth@redhat.com>
37553         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37554         (SINGLE_THREAD_P): Use the correct width load.  Fold
37555         into the ldr offset.
37557         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
37558         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
37560 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
37562         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
37563         (libgcc_s_resume): Use __attribute_used__.
37564         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
37565         Likewise.
37567 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37569         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
37570         optimization when used with float constants.
37572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37574 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
37576         [BZ #16915]
37577         * locale/nl_langinfo_l.c: Make direct reference to every
37578         _nl_current_CATEGORY symbol.
37579         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
37580         (tests-static): Add tst-langinfo-static.
37581         (tests-special): Add tst-langinfo-static.out.
37582         ($(objpfx)tst-langinfo.out): Redirect output.
37583         ($(objpfx)tst-langinfo-static.out): New.
37584         * localedata/tst-langinfo.sh: Send output to stdout.
37585         * localedata/tst-langinfo-static.c: New file.
37587         [BZ #16965]
37588         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
37589         when the shift amount is modulo the limb size.
37591 2014-05-20  Richard Henderson  <rth@redhat.com>
37593         [BZ #16967]
37594         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
37595         Change type of sa_flags from unsigned int to int.
37597         [BZ #16966]
37598         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
37600         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
37602 2014-05-20  Will Newton  <will.newton@linaro.org>
37604         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37605         Test the return value of the system call in the nocancel case.
37607 2014-05-20  Will Newton  <will.newton@linaro.org>
37608             Yvan Roux  <yvan.roux@linaro.org>
37610         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
37611         #include of asm/ptrace.h.
37612         (PTRACE_GET_THREAD_AREA): Remove #undef.
37613         (PTRACE_GETHBPREGS): Likewise.
37614         (PTRACE_SETHBPREGS): Likewise.
37615         (struct user_regs_struct): New structure.
37616         (struct user_fpsimd_struct): New structure.
37617         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
37618         #include of asm/ptrace.h and second #include of sys/user.h.
37619         (PTRACE_GET_THREAD_AREA): Remove #undef.
37620         (PTRACE_GETHBPREGS): Likewise.
37621         (PTRACE_SETHBPREGS): Likewise.
37622         (ELF_NGREG): Use new struct user_regs_struct.
37623         (elf_fpregset_t): Use new struct user_fpsimd_struct.
37625 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37627         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
37628         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
37630 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
37632         [BZ #16958]
37633         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
37634         membar to avoid block loads/stores to overlap previous stores.
37636 2014-05-17  Richard Henderson  <rth@redhat.com>
37638         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
37639         Create the __##syscall_name##_nocancel entry point.
37640         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
37641         Remove; let the sysdep-cancel.h code create it.
37643 2014-05-17  David S. Miller  <davem@davemloft.net>
37645         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
37646         Protect with __USE_GNU.
37647         (TIOCSET_TEMPT): Likewise.
37648         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
37649         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
37650         these are already provided in bits/ioctl-types.h
37652 2014-05-16  Roland McGrath  <roland@hack.frob.com>
37654         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
37655         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
37657         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
37658         Use wait4 regardless of [__NR_waitpid].
37660 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
37662         PR libgcc/60166
37663         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37664         (_FP_NANSIGN_Q): Set the quiet bit.
37666 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
37668         * benchtests/Makefile
37669         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
37670         not $(common-objpfx)math/libm.so.
37671         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
37672         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
37673         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
37674         $(common-objpfx)dlfcn/libdl.so.
37675         ($(objpfx)tst-audit8): Depend on $(libm), not
37676         $(common-objpfx)math/libm.so.
37677         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
37678         not $(common-objpfx)dlfcn/libdl.so.
37679         * math/Makefile
37680         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
37681         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
37682         [$(build-shared) = yes].
37683         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
37684         $(common-objpfx)nptl/libpthread.so.
37685         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
37686         $(common-objpfx)math/libm.so$(libm.so-version) or
37687         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
37688         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
37689         $(common-objpfx)dlfcn/libdl.so.
37690         * setjmp/Makefile (link-libm): Remove variable.
37691         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
37692         * stdio-common/Makefile (link-libm): Remove variable.
37693         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
37694         * stdlib/Makefile (link-libm): Remove variable.
37695         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
37696         ($(objpfx)tst-strtod-round): Likewise.
37697         ($(objpfx)tst-tininess): Likewise.
37698         ($(objpfx)tst-strtod-underflow): Likewise.
37699         ($(objpfx)tst-strtod6): Likewise.
37700         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
37701         $(libdl), not $(common-objpfx)nptl/libpthread.so and
37702         $(common-objpfx)dlfcn/libdl.so.
37704 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37706         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
37707         BSD terminal modes definitions.
37709 2014-05-16  Roland McGrath  <roland@hack.frob.com>
37711         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
37712         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
37714         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
37715         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
37716         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
37717         Don't do #include_next.
37718         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
37719         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
37720         Don't do #include_next.
37721         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
37722         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
37723         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
37724         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
37726 2014-05-16  Allan McRae  <allan@archlinux.org>
37728         * po/sv.po: Update Swedish translation from translation project.
37730         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
37731         in sed expression.
37733 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
37735         [BZ #16917]
37736         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
37737         errno if the TIOCGPTN ioctl fails with an error different than
37738         EINVAL.
37739         * login/tst-ptsname.c: New file.
37740         * login/Makefile (tests): Add tst-ptsname.
37742         [BZ #16943]
37743         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
37744         and prlimit64.
37746 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37748         [BZ #16849]
37749         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
37750         herrno to return EAI_AGAIN.
37752 2014-05-14  Roland McGrath  <roland@hack.frob.com>
37754         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
37755         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
37756         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
37757         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
37758         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
37759         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
37760         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
37761         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
37762         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
37763         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
37764         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
37765         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
37766         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
37767         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
37768         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
37769         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
37770         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
37771         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
37772         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
37773         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
37774         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
37775         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
37776         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
37777         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
37778         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
37779         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
37780         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
37781         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
37782         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
37783         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
37784         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
37785         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
37786         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
37787         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
37788         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37789         Moved ...
37790         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
37791         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
37792         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
37793         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
37794         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
37795         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
37796         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
37797         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
37798         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
37799         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
37800         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
37801         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
37802         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
37803         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
37804         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
37805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
37806         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
37807         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
37808         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
37809         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
37810         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
37811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
37812         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
37813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
37814         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
37815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
37816         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
37817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37818         Moved ...
37819         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
37820         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
37821         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
37822         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
37823         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
37824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
37825         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
37826         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
37827         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
37828         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
37829         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
37830         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
37831         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
37832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
37833         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
37834         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
37835         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
37836         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
37837         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
37838         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37839         Moved ...
37840         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
37841         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
37842         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
37844         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
37845         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
37846         (libpthread-sysdep_routines): Add elision-related stuff here instead.
37847         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
37848         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
37849         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
37850         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
37851         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
37852         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
37853         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
37854         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
37855         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
37856         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
37857         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
37858         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
37859         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
37860         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
37861         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
37862         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
37863         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
37864         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
37865         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
37866         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
37867         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
37868         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
37869         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
37870         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
37871         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
37872         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
37873         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
37874         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
37876         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
37877         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
37879         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
37880         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
37881         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
37882         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
37883         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
37884         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
37885         Moved ...
37886         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
37887         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
37888         Moved ...
37889         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
37890         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
37891         Moved ...
37892         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
37893         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
37894         Moved ...
37895         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
37896         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
37897         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
37898         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
37899         Moved ...
37900         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
37901         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
37902         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
37903         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
37904         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
37905         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
37906         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
37907         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
37908         Moved ...
37909         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
37910         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
37911         Moved ...
37912         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
37913         ... here.
37914         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
37915         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
37916         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
37917         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
37918         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
37919         Moved ...
37920         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
37921         ... here.
37922         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
37923         Moved ...
37924         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
37925         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
37926         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
37927         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
37928         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
37929         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
37930         Moved ...
37931         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
37932         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
37933         Moved ...
37934         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
37935         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
37936         Moved ...
37937         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
37938         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
37939         Moved ...
37940         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
37941         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
37942         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
37943         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
37944         Moved ...
37945         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
37946         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
37947         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
37948         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
37949         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
37950         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
37951         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
37952         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
37953         Moved ...
37954         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
37955         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
37956         Moved ...
37957         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
37958         ... here.
37959         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
37960         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
37961         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
37962         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
37963         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
37964         Moved ...
37965         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
37966         ... here.
37967         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
37968         Moved ...
37969         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
37970         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
37971         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
37972         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
37973         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
37974         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
37975         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
37976         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
37977         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
37978         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
37979         Moved ...
37980         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
37981         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
37982         Moved ...
37983         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
37984         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
37985         Moved ...
37986         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
37987         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
37988         Moved ...
37989         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
37990         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
37991         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
37992         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
37993         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
37994         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
37995         Moved ...
37996         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
37997         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
37998         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
37999         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
38000         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
38001         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
38002         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
38003         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
38004         Moved ...
38005         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
38006         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
38007         Moved ...
38008         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
38009         ... here.
38010         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
38011         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
38012         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
38013         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
38014         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
38015         Moved ...
38016         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
38017         ... here.
38018         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
38019         Moved ...
38020         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
38021         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
38022         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
38023         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
38024         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
38025         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
38026         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
38027         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
38028         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
38029         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
38030         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
38032         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
38033         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
38035         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
38036         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
38038         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
38039         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
38040         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
38041         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
38042         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
38043         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
38044         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
38045         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
38046         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
38047         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
38048         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
38049         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
38050         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
38051         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
38052         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
38053         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
38054         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
38055         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
38056         Moved ...
38057         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
38058         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
38059         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
38060         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
38061         Moved ...
38062         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
38063         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
38064         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
38065         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
38066         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
38067         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
38068         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
38069         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
38070         Moved ...
38071         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
38072         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
38073         Moved ...
38074         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
38075         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
38076         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
38077         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
38078         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
38079         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
38080         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
38081         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
38082         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
38083         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
38084         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
38085         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
38086         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
38087         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
38088         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
38089         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
38090         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
38092         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
38093         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
38094         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
38095         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
38096         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
38098         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
38099         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
38100         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
38101         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
38102         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
38103         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
38104         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
38105         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
38106         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
38107         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
38109         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
38110         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
38112         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
38113         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
38114         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
38115         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
38116         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
38117         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
38118         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
38119         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
38120         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
38121         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
38122         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
38123         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
38124         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
38125         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
38126         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
38127         Update #include.
38128         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
38129         Likewise.
38130         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
38131         Likewise.
38132         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
38133         Likewise.
38134         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
38135         Likewise.
38136         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
38137         Likewise.
38138         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
38139         Likewise.
38140         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
38141         Likewise.
38142         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
38143         Likewise.
38144         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
38145         Likewise.
38146         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
38147         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
38148         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
38149         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
38150         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
38151         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
38152         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
38153         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
38154         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
38155         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
38156         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
38157         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
38158         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
38159         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
38160         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
38162         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
38163         that was previously under [RESET_PID].
38164         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38165         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
38166         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
38168         * sysdeps/i386/nptl/Implies: New file.
38169         * sysdeps/x86_64/nptl/Implies: New file.
38170         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
38171         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
38172         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
38173         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
38175         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
38176         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38177         (__libc_vfork): New strong alias.
38178         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
38179         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
38181         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
38182         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38183         (__libc_vfork): New strong alias.
38184         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
38185         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
38187         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
38188         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38189         (__libc_vfork): New strong alias.
38190         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
38191         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
38192         * nptl/pt-vfork.c: New file.
38193         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
38194         (libpthread: GLIBC_2.20): New version set (empty).
38196 2014-05-14  Will Newton  <will.newton@linaro.org>
38198         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
38199         rather than #if.
38201 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
38203         [BZ #16564]
38204         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
38205         arguments with exponent 65 or above.
38206         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
38207         arguments 0x1p113L or above.
38208         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
38209         to arguments 0x1p107L or above.
38210         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
38211         positive arguments with exponent 65 or above.
38212         * math/auto-libm-test-in: Add more tests of log1p.
38213         * math/auto-libm-test-out: Regenerated.
38215         [BZ #16928]
38216         * math/s_cacos.c (__cacos): Ensure zero real part of result from
38217         non-finite arguments is +0.
38218         * math/s_cacosf.c (__cacosf): Likewise.
38219         * math/s_cacosl.c (__cacosl): Likewise.
38220         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
38221         * sysdeps/i386/fpu/libm-test-ulps: Update.
38222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38224         [BZ #16927]
38225         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
38226         value.
38227         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
38228         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
38229         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
38230         for explicit high bit of mantissa when testing for argument equal
38231         to 1.
38232         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
38233         * sysdeps/i386/fpu/libm-test-ulps: Update.
38234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38236         [BZ #16516]
38237         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
38238         (__erf): Scale by 16 instead of 8 in potentially underflowing
38239         case.  Ensure exception if result actually underflows.
38240         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
38241         (__erff): Scale by 16 instead of 8 in potentially underflowing
38242         case.  Ensure exception if result actually underflows.
38243         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
38244         (efx8): Remove variable.
38245         (__erfl): Scale by 16 instead of 8 in potentially underflowing
38246         case.  Ensure exception if result actually underflows.
38247         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
38248         (efx8): Remove variable.
38249         (__erfl): Scale by 16 instead of 8 in potentially underflowing
38250         case.  Ensure exception if result actually underflows.
38251         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
38252         (efx8): Remove variable.
38253         (__erfl): Scale by 16 instead of 8 in potentially underflowing
38254         case.  Ensure exception if result actually underflows.
38255         * math/auto-libm-test-in: Add more tests of erf.
38256         * math/auto-libm-test-out: Regenerated.
38258 2014-05-14  Andreas Schwab  <schwab@suse.de>
38260         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
38261         Remove code conditionalized on USE___THREAD.
38263         * config.h.in (HAVE_PT_CHOWN): Define as 0.
38264         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
38265         not definedness.
38267 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
38269         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
38270         Define unconditionally.
38271         (__ASSUME_O_CLOEXEC): Likewise.
38272         (__ASSUME_SOCK_CLOEXEC): Likewise.
38273         (__ASSUME_IN_NONBLOCK): Likewise.
38274         (__ASSUME_PIPE2): Likewise.
38275         (__ASSUME_EVENTFD2): Likewise.
38276         (__ASSUME_SIGNALFD4): Likewise.
38277         (__ASSUME_DUP3): Likewise.
38278         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38279         (__ASSUME_DUP3): Do not define.
38280         (__ASSUME_EVENTFD2): Likewise.
38281         (__ASSUME_IN_NONBLOCK): Likewise.
38282         (__ASSUME_O_CLOEXEC): Likewise.
38283         (__ASSUME_PIPE2): Likewise.
38284         (__ASSUME_SIGNALFD4): Likewise.
38285         (__ASSUME_SOCK_CLOEXEC): Likewise.
38286         (__ASSUME_UTIMES): Undefine.
38287         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38288         (__ASSUME_UTIMES): Do not define.
38289         (__ASSUME_O_CLOEXEC): Likewise.
38290         (__ASSUME_SOCK_CLOEXEC): Likewise.
38291         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
38292         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
38293         0x020621].
38294         (__ASSUME_PIPE2): Likewise.
38295         (__ASSUME_EVENTFD2): Likewise.
38296         (__ASSUME_SIGNALFD4): Likewise.
38297         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
38298         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
38299         Do not define.
38300         (__ASSUME_EVENTFD2): Likewise.
38301         (__ASSUME_SIGNALFD4): Likewise.
38302         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
38303         (__ASSUME_32BITUIDS): Likewise.
38304         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38305         (__ASSUME_IPC64): Likewise.
38306         (__ASSUME_ST_INO_64_BIT): Likewise.
38307         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
38308         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
38309         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38310         (__ASSUME_UTIMES): Do not define.
38311         (__ASSUME_PSELECT): Likewise.
38312         (__ASSUME_PPOLL): Likewise.
38313         (__ASSUME_O_CLOEXEC): Likewise.
38314         (__ASSUME_SOCK_CLOEXEC): Likewise.
38315         (__ASSUME_IN_NONBLOCK): Likewise.
38316         (__ASSUME_PIPE2): Likewise.
38317         (__ASSUME_EVENTFD2): Likewise.
38318         (__ASSUME_SIGNALFD4): Likewise.
38319         (__ASSUME_DUP3): Likewise.
38320         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38321         (__ASSUME_UTIMES): Likewise.
38322         (__ASSUME_O_CLOEXEC): Likewise.
38323         (__ASSUME_SOCK_CLOEXEC): Likewise.
38324         (__ASSUME_IN_NONBLOCK): Likewise.
38325         (__ASSUME_PIPE2): Likewise.
38326         (__ASSUME_EVENTFD2): Likewise.
38327         (__ASSUME_SIGNALFD4): Likewise.
38328         (__ASSUME_DUP3): Likewise.
38329         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38330         (__ASSUME_UTIMES): Likewise.
38331         (__ASSUME_O_CLOEXEC): Likewise.
38332         (__ASSUME_SOCK_CLOEXEC): Likewise.
38333         (__ASSUME_IN_NONBLOCK): Likewise.
38334         (__ASSUME_PIPE2): Likewise.
38335         (__ASSUME_EVENTFD2): Likewise.
38336         (__ASSUME_SIGNALFD4): Likewise.
38337         (__ASSUME_DUP3): Likewise.
38338         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
38339         Likewise.
38340         (__ASSUME_UTIMES): Likewise.
38341         (__ASSUME_EVENTFD2): Likewise.
38342         (__ASSUME_SIGNALFD4): Likewise.
38343         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38344         (__ASSUME_O_CLOEXEC): Likewise.
38345         (__ASSUME_SOCK_CLOEXEC): Likewise.
38346         (__ASSUME_IN_NONBLOCK): Likewise.
38347         (__ASSUME_PIPE2): Likewise.
38348         (__ASSUME_EVENTFD2): Likewise.
38349         (__ASSUME_SIGNALFD4): Likewise.
38350         (__ASSUME_DUP3): Likewise.
38351         (__ASSUME_UTIMES): Undefine.
38353         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
38354         feclearexcept.  Remove symbol versioning code.
38355         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
38356         symbol versioning code.
38357         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
38358         symbol versioning code.
38359         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
38360         feupdateenv.  Remove symbol versioning code.
38361         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
38362         fegetexceptflag.  Remove symbol versioning code.
38363         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
38364         fesetexceptflag.  Remove symbol versioning code.
38365         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
38366         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
38367         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
38368         (__posix_fadvise64_l32): Remove prototype.
38369         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
38370         code.
38372 2014-05-13  Roland McGrath  <roland@hack.frob.com>
38374         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
38375         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
38376         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
38377         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
38379 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
38381         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
38382         current working directory
38384 2014-05-13  Roland McGrath  <roland@hack.frob.com>
38386         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
38387         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
38388         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
38389         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
38390         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
38391         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
38392         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
38393         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
38394         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
38395         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
38396         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
38397         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
38398         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
38399         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
38400         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
38401         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
38402         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
38403         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
38404         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
38405         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
38406         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
38407         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
38408         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
38409         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
38410         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
38411         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
38412         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
38413         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
38414         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
38415         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
38416         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
38417         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
38418         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
38419         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
38420         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
38421         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
38422         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
38423         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
38424         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
38425         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
38426         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
38427         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
38429         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
38430         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
38432         * sysdeps/unix/sysv/linux/arm/Makefile
38433         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
38434         Add rt-aeabi_unwind_cpp_pr1.
38435         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
38436         Add nptl-aeabi_unwind_cpp_pr1.
38437         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
38438         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
38439         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
38440         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
38441         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
38442         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
38444         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
38445         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
38446         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
38447         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
38449         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
38450         Deconditionalize the code that was previously under [RESET_PID].
38451         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
38453         * sysdeps/generic/exit-thread.h: New file.
38454         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
38455         * include/unistd.h (__exit_thread): Remove declaration.
38456         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
38457         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
38458         * csu/libc-start.c: Include <exit-thread.h>.
38459         (LIBC_START_MAIN): Pass no argument to __exit_thread.
38460         * nptl/pthread_create.c: Include <exit-thread.h>.
38461         (start_thread): Call __exit_thread in place of __exit_thread_inline.
38462         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
38463         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
38464         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
38465         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
38466         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
38467         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
38468         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
38469         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
38470         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
38471         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
38472         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
38473         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
38474         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
38475         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
38476         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
38477         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
38479 2014-05-13  Andreas Schwab  <schwab@suse.de>
38481         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
38483 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
38485         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
38486         (__ASSUME_UTIMES): Do not condition on kernel version.
38487         (__ASSUME_PSELECT): Define unconditionally.
38488         (__ASSUME_PPOLL): Likewise.
38489         (__ASSUME_ATFCTS): Likewise.
38490         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
38491         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
38492         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
38493         (__ASSUME_UTIMENSAT): Define unconditionally.
38494         (__ASSUME_PRIVATE_FUTEX): Likewise.
38495         (__ASSUME_FALLOCATE): Likewise.
38496         (__ASSUME_O_CLOEXEC): Likewise.
38497         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
38498         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
38499         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
38500         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
38501         (__ASSUME_IN_NONBLOCK): Likewise.
38502         (__ASSUME_PIPE2): Likewise.
38503         (__ASSUME_EVENTFD2): Likewise.
38504         (__ASSUME_SIGNALFD4): Likewise.
38505         (__ASSUME_DUP3): Likewise.
38506         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38507         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
38508         (__ASSUME_AT_RANDOM): Likewise.
38509         (__ASSUME_PREADV): Likewise.
38510         (__ASSUME_PWRITEV): Likewise.
38511         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
38512         (__ASSUME_F_GETOWN_EX): Define unconditionally.
38513         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
38514         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38515         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
38516         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38517         (__ASSUME_O_CLOEXEC): Define unconditionally.
38518         (__ASSUME_PSELECT): Do not undefine conditionally.
38519         (__ASSUME_PPOLL): Likewise.
38520         (__ASSUME_ATFCTS): Likewise.
38521         (__ASSUME_SET_ROBUST_LIST): Likewise.
38522         (__ASSUME_UTIMENSAT): Likewise.
38523         (__ASSUME_FDATASYNC): Define unconditionally.
38524         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38525         (__ASSUME_SIGFRAME_V2): Likewise.
38526         )__ASSUME_EVENTFD2): Likewise.
38527         (__ASSUME_SIGNALFD4): Likewise.
38528         (__ASSUME_PSELECT): Do not undefine conditionally.
38529         (__ASSUME_PPOLL): Likewise.
38530         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38531         (__ASSUME_PSELECT): Define unconditionally.
38532         (__ASSUME_PPOLL): Likewise.
38533         (__ASSUME_O_CLOEXEC): Likewise.
38534         (__ASSUME_SOCK_CLOEXEC): Likewise.
38535         (__ASSUME_IN_NONBLOCK): Likewise.
38536         (__ASSUME_PIPE2): Likewise.
38537         (__ASSUME_EVENTFD2): Likewise.
38538         (__ASSUME_SIGNALFD4): Likewise.
38539         (__ASSUME_DUP3): Likewise.
38540         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38541         (__ASSUME_O_CLOEXEC): Likewise.
38542         (__ASSUME_SOCK_CLOEXEC): Likewise.
38543         (__ASSUME_IN_NONBLOCK): Likewise.
38544         (__ASSUME_PIPE2): Likewise.
38545         (__ASSUME_EVENTFD2): Likewise.
38546         (__ASSUME_SIGNALFD4): Likewise.
38547         (__ASSUME_DUP3): Likewise.
38548         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38549         (__ASSUME_EVENTFD2): Likewise.
38550         (__ASSUME_SIGNALFD4): Likewise.
38551         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38553 2014-05-12  Andreas Schwab  <schwab@suse.de>
38555         [BZ #16932]
38556         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
38557         (_nss_nis_gethostbyname4_r): Return error if item length is larger
38558         than maximum RPC packet size.
38559         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
38560         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
38561         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
38562         (_nss_nis_getservbyport_r): Likewise.
38564 2014-05-12  Will Newton  <will.newton@linaro.org>
38566         * malloc/Makefile (tests): Add tst-mallopt.
38567         * malloc/tst-mallopt.c: New file.
38569 2014-05-09  Roland McGrath  <roland@hack.frob.com>
38571         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
38572         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
38574 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38576         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
38577         (tst-tlsmod6.so): Likewise.
38579 2014-05-09  Roland McGrath  <roland@hack.frob.com>
38581         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
38583 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
38585         [BZ #16064]
38586         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
38587         and <dl-procinfo.h>.
38588         (__fegetenv): Save SSE state in envp->__eip if supported.
38589         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
38590         envp->__eip if supported.
38591         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
38592         and <dl-procinfo.h>.
38593         (__fesetenv): Always set __eip, __cs_selector, __opcode,
38594         __data_offset and __data_selector in environment to 0.  Set SSE
38595         state if supported.
38596         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
38597         test-fenv-sse.
38598         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
38599         -mfpmath=sse.
38600         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
38602 2014-05-09  Will Newton  <will.newton@linaro.org>
38604         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
38605         and libc_relro_required for ARM.
38606         * sysdeps/arm/preconfigure: Regenerate.
38608 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
38609             Stefan Liebler  <stli@linux.vnet.ibm.com>
38611         * config.make.in (enable-lock-elision): New Makefile variable.
38612         * configure.ac: Likewise.
38613         * configure: Regenerate.
38614         * sysdeps/s390/configure.ac:
38615         Add check for gcc transactions support.
38616         * sysdeps/s390/configure: Regenerate.
38617         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
38618         Build elision files if enabled.
38619         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
38620         Add lock elision support for s390.
38621         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
38622         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
38623         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
38624         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
38625         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
38626         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
38627         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
38628         Likewise.
38629         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
38630         Likewise.
38631         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
38632         Likewise.
38633         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
38634         Likewise.
38635         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
38636         (__lll_timedlock_elision, __lll_lock_elision)
38637         (__lll_unlock_elision, __lll_trylock_elision)
38638         (lll_timedlock_elision, lll_lock_elision)
38639         (lll_unlock_elision, lll_trylock_elision): Add.
38640         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38641         (pthread_mutex_t): Add lock elision support for s390.
38643 2014-05-14  Wilco  <wdijkstr@arm.com>
38645         * sysdeps/arm/fclrexcpt.c: Cleanup.
38646         * sysdeps/arm/fedisblxcpt.c: Cleanup.
38647         * sysdeps/arm/feenablxcpt.c: Cleanup.
38648         * sysdeps/arm/fegetenv.c: Cleanup.
38649         * sysdeps/arm/fegetexcept.c: Cleanup.
38650         * sysdeps/arm/fegetround.c: Cleanup.
38651         * sysdeps/arm/feholdexcpt.c: Cleanup.
38652         * sysdeps/arm/fesetenv.c: Cleanup.
38653         * sysdeps/arm/fesetround.c: Cleanup.
38654         * sysdeps/arm/feupdateenv.c: Cleanup.
38655         * sysdeps/arm/fgetexcptflg.c: Cleanup.
38656         * sysdeps/arm/fraiseexcpt.c: Cleanup.
38657         * sysdeps/arm/fsetexcptflg.c: Cleanup.
38658         * sysdeps/arm/ftestexcept.c: Cleanup.
38659         * sysdeps/arm/get-rounding-mode.h: Cleanup.
38660         * sysdeps/arm/setfpucw.c: Cleanup.
38662 2014-05-09  Will Newton  <will.newton@linaro.org>
38664         * sysdeps/arm/armv7/strcmp.S: New file.
38665         * NEWS: Mention addition of ARMv7 optimized strcmp.
38667 2014-05-08  Roland McGrath  <roland@hack.frob.com>
38669         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
38670         look for %.ac rather than %.in.
38672         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
38673         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
38674         * sysdeps/mach/hurd/configure: Regenerated.
38675         * sysdeps/unix/sysv/linux/configure: Regenerated.
38677         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
38679 2014-05-07  Steve Ellcey  <sellcey@mips.com>
38681         [BZ# 16922]
38682         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
38683         (LONG_SUB): Ditto.
38684         (PTR_SUB): Ditto.
38686 2014-05-07  Andreas Schwab  <schwab@suse.de>
38688         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
38689         when skipping over non-matching result from nscd.
38691 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
38693         [BZ #16876]
38694         * nptl/sockperf.c (client): Check socket return value.
38696         [BZ #16877]
38697         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
38698         nscd security class.
38700 2014-05-06  Roland McGrath  <roland@hack.frob.com>
38702         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
38703         * sysdeps/arm/unwind.h: ... here.
38705 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
38707         [BZ# 16916]
38708         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
38709         Define.
38711 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38713         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
38714         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
38715         multiarch strncpy for PPC64.
38716         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
38717         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
38718         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
38719         multiarch optimizations.
38720         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38721         (__libc_ifunc_impl_list): Likewise.
38722         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
38723         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
38724         multiarch stpncpy for PPC64.
38725         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
38726         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
38728 2014-05-06  Andreas Schwab  <schwab@suse.de>
38730         [BZ #16912]
38731         * gmon/mcount.c (_MCOUNT_DECL): Use
38732         atomic_compare_and_exchange_bool_acq instead of
38733         catomic_compare_and_exchange_bool_acq.
38735 2014-05-05  Roland McGrath  <roland@hack.frob.com>
38737         * elf/Makefile (others, install-bin): Remove pldd.
38738         (pldd-modules): Variable removed.
38739         ($(objpfx)pldd): Target removed.
38740         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
38741         (others, install-bin): Append pldd here.
38742         ($(objpfx)pldd): New target.
38744         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
38745         to 0, so the first #if test emitted later doesn't see it undefined.
38746         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
38747         * sysdeps/gnu/errlist.c: Regenerated.
38749 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38751         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
38752         [libc_hidden_builtin_def]: Define to empty value.
38753         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
38754         [libc_hidden_builtin_def]: Likewise.
38755         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
38756         [libc_hidden_builtin_def]: Likewise.
38757         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
38758         [libc_hidden_builtin_def]: Likewise.
38759         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
38760         __redirect_memcpy and define ifunc as default hidden symbol.
38761         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
38762         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
38764 2014-05-04  Adam Conrad  <adconrad@0c3.net>
38766         * locale/iso-4217.def: Reintroduce XDR currency.
38768 2014-05-04  Allan McRae  <allan@archlinux.org>
38770         * po/eo.po: Update Esperanto translation from translation project.
38772 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
38774         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
38775         and FEATURE_INDEX_MAX to 1.
38776         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
38778 2014-05-01  Steve Ellcey  <sellcey@mips.com>
38780         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
38781         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
38782         * iconvdata/big5.c (ONE_DIRECTION): Define.
38783         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
38784         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
38785         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
38786         * iconvdata/cp932.c (ONE_DIRECTION): Define.
38787         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
38788         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
38789         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
38790         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
38791         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
38792         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
38793         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
38794         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
38795         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
38796         * iconvdata/gbk.c (ONE_DIRECTION): Define.
38797         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
38798         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
38799         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
38800         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
38801         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
38802         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
38803         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
38804         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
38805         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
38806         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
38807         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
38808         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
38809         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
38810         * iconvdata/iso646.c (ONE_DIRECTION): Define.
38811         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
38812         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
38813         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
38814         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
38815         * iconvdata/johab.c (ONE_DIRECTION): Define.
38816         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
38817         * iconvdata/sjis.c (ONE_DIRECTION): Define.
38818         * iconvdata/t.61.c (ONE_DIRECTION): Define.
38819         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
38820         * iconvdata/tscii.c (ONE_DIRECTION): Define.
38821         * iconvdata/uhc.c (ONE_DIRECTION): Define.
38822         * iconvdata/unicode.c (ONE_DIRECTION): Define.
38823         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
38824         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
38825         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
38827 2014-05-01  Roland McGrath  <roland@hack.frob.com>
38829         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
38830         (_IO_JUMPS_OFFSET): Define to 0.
38832         * nptl/sysdeps/pthread/bits/libc-lock.h
38833         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
38834         (__libc_lock_define_initialized_recursive): Always define using
38835         initializer.  Modern compilers treat uninitialized (implicit zero) and
38836         explicit zero initializers the same (i.e. put the datum in bss).
38838 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38840         * nscd/nscd-client.h: Include <string.h>.
38842 2014-05-01  David S. Miller  <davem@davemloft.net>
38844         [BZ #16885]
38845         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
38846         multiple zero bytes exist at the end of a string.
38847         Reported by Aurelien Jarno <aurelien@aurel32.net>
38849         * string/test-strcmp.c (check): Add explicit test for situations where
38850         there are multiple zero bytes after the first.
38852 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38854         [BZ #16890]
38855         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
38856         when compiling wprintf.
38857         * stdio-common/tstdiomisc.c (t3): New function.
38858         (main): Call it.
38860 2014-05-01  Steve Ellcey  <sellcey@mips.com>
38862         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
38863         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
38864         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
38865         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
38867 2014-05-01  Steve Ellcey  <sellcey@mips.com>
38869         * stdlib/longlong.h: Updated from GCC.
38871 2014-05-01  Will Newton  <will.newton@linaro.org>
38872             Bernard Ogden  <bernie.ogden@linaro.org>
38874         * NEWS: Update fixed bug list.
38876         [BZ #15119]
38877         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
38879 2014-04-30  David S. Miller  <davem@davemloft.net>
38881         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
38882         (libc_feholdexcept_setround_sparc_ctx): New function.
38883         (libc_fesetenv_sparc_ctx): Likewise.
38884         (libc_feupdateenv_sparc_ctx): Likewise.
38885         (libc_feholdsetround_sparc_ctx): Likewise.
38886         (libc_feholdexcept_setround_ctx): Define.
38887         (libc_feholdexcept_setroundf_ctx): Likewise.
38888         (libc_feholdexcept_setroundl_ctx): Likewise.
38889         (libc_fesetenv_ctx): Likewise.
38890         (libc_fesetenvf_ctx): Likewise.
38891         (libc_fesetenvl_ctx): Likewise.
38892         (libc_feupdateenv_ctx): Likewise.
38893         (libc_feupdateenvf_ctx): Likewise.
38894         (libc_feupdateenvl_ctx): Likewise.
38895         (libc_feresetround_ctx): Likewise.
38896         (libc_feresetroundf_ctx): Likewise.
38897         (libc_feresetroundl_ctx): Likewise.
38898         (libc_feholdsetround_ctx): Likewise.
38899         (libc_feholdsetroundf_ctx): Likewise.
38900         (libc_feholdsetroundl_ctx): Likewise.
38902         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
38903         with __USE_GNU instead of XOPEN cpp guards.
38905         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
38906         0.
38908         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
38909         with XOPEN cpp guards.
38911 2014-04-30  Julian Brown  <julian@codesourcery.com>
38913         [BZ #16888]
38914         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
38915         handling.
38917 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
38919         [BZ #9894]
38920         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
38921         Change to 2.6.32.
38922         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
38923         * sysdeps/unix/sysv/linux/configure: Regenerated.
38924         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
38925         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
38926         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
38927         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
38928         * README: Update reference to required Linux kernel version.
38929         * manual/install.texi (Linux): Update reference to required Linux
38930         kernel headers version.
38931         * INSTALL: Regenerated.
38933         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
38934         header inclusion.
38935         [POSIX] (limits.h): Likewise.
38936         [POSIX] (math.h): Likewise.
38937         [POSIX] (sys/wait.h): Likewise.
38938         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
38939         function.
38940         [POSIX] (stddef.h): Do not allow header inclusion.
38942 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38944         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
38946 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
38948         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
38949         Return immediately after lll_futex_wake.
38951 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38953         [BZ #16791]
38954         * nscd/nscd-client.h (datahead_init_common): Initialize entire
38955         structure.
38956         (datahead_init_pos): Call datahead_init_common early.
38957         (datahead_init_neg): Likewise.
38959         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
38960         datahead_init_neg): New functions.
38961         * nscd/aicache.c (addhstaiX): Use them.
38962         * nscd/grpcache.c (cache_addgr): Likewise.
38963         * nscd/hstcache.c (cache_addhst): Likewise.
38964         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38965         * nscd/netgroupcache.c (do_notfound): Likewise.
38966         (addgetnetgrentX): Likewise.
38967         (addinnetgrX): Likewise.
38968         * nscd/pwdcache.c (cache_addpw): Likewise.
38969         * nscd/servicescache.c (cache_addserv): Likewise.
38971 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38972             Atsushi Onoe  <atsushi@onoe.org>
38974         [BZ #14308]
38975         [BZ #12994]
38976         [BZ #13651]
38977         * resolv/res_query.c (__libc_res_nsearch): Return if at least
38978         one response is valid.
38979         * resolv/res_send.c (send_dg): Check for validity of other
38980         response if the current response is a referral.
38982 2014-04-29  Steve Ellcey  <sellcey@mips.com>
38984         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
38986 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
38988         [BZ #16823]
38989         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
38990         Always divide by positive zero when computing -Inf result.
38991         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38992         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
38994 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38996         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
38997         FPSCR if value do not change.
38998         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38999         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
39000         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39001         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
39002         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
39003         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
39004         function.
39006 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
39008         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
39009         * sysdeps/unix/sysv/linux/hppa: Move directory from
39010         ports/systeps/unix/sysv/linux/hppa.
39011         * README: Update listing for hppa-*-linux-gnu.
39013 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
39015         [BZ #16754]
39016         * manual/stdio.texi (Hook functions): Fix types of stream hook
39017         functions.
39018         [BZ #16854]
39019         * socket/sys/socket.h: Fix typo in comment.
39021 2014-04-28  Wilco  <wdijkstr@arm.com>
39023         * sysdeps/arm/fenv_private.h: New file.
39024         * sysdeps/arm/math_private.h: New file.
39025         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
39027 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
39029         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
39030         with __int128_t.
39031         (La_x86_64_retval): Likewise.
39033 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
39035         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
39036         fpsr if value didn't change.
39037         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
39038         to fpcr if value didn't change.
39039         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
39040         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
39041         fpsr or fpcr if value didn't change.
39042         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39043         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
39044         fpcr if value didn't change.
39045         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
39046         to fpsr if value didn't change.
39048 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
39050         * nptl/tst-sem3.c: Use test-skeleton.c
39051         (main): Rename to do_test.  Use return instead of
39052         exit.
39053         * nptl/tst-sem4.c: Use test-skeleton.c
39054         (main): Rename to do_test.
39056 2014-04-22  David S. Miller  <davem@davemloft.net>
39058         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
39059         (struct sigaction): New struct member __glibc_reserved0, change
39060         type of sa_flags to int.
39062 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
39064         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
39065         (COUNT_LEADING_ZEROS_0): Define for AArch64.
39067 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39069         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
39070         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
39072 2014-04-22  Will Newton  <will.newton@linaro.org>
39073             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
39075         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
39076         (__longjmp): Add longjmp and longjmp_target SystemTap
39077         probes.
39078         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
39079         (__sigsetjmp): Add setjmp SystemTap probe.
39081 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
39083         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
39084         match manual order.
39086 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39088         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
39090         * sysdeps/powerpc/fpu/fenv_private.h
39091         (libc_feholdexcept_setroundl_ctx): Define to
39092         libc_feholdexcept_setround_ppc_ctx.
39093         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
39094         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
39095         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
39096         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
39098 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
39100         * sysdeps/aarch64/math-tests.h: New file.
39102 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
39104         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
39105         New.
39106         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39107         Check and set bit_AVX2_Usable.
39108         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
39109         macro.
39110         (bit_AVX2): Likewise.
39111         (index_AVX2_Usable): Likewise.
39112         (CPUID_AVX2): Likewise.
39113         (HAS_AVX2): Likewise.
39115 2014-04-17  Will Newton  <will.newton@linaro.org>
39117         * manual/setjmp.texi (System V contexts): Add note that
39118         calling setcontext on a context created by a call to a
39119         signal handler is undefined.  Update text to note that
39120         setcontext from a signal handler is possible but not
39121         recommended.
39123         [BZ #16629]
39124         * stdlib/tst-setcontext.c: Include signal.h.
39125         (main): Check that the signal stack before and
39126         after swapcontext is the same.
39128         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
39129         Re-implement to restore registers in user code and avoid
39130         rt_sigreturn system call.
39132 2014-04-17  Wilco  <wdijkstr@arm.com>
39134         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
39135         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
39136         * math/test-fenv.c: Skip exception trap tests on targets which only
39137         support non-stop mode.
39139 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
39140             Wilco Dijkstra  <wilco.dijkstra@arm.com>
39142         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
39143         (libc_feholdsetround_aarch64_ctx)
39144         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
39145         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
39146         (libc_feresetround_ctx, libc_feresetroundf_ctx)
39147         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
39148         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
39149         (libc_feresetround_noexl_ctx): Define.
39151 2014-04-16  Richard Henderson  <rth@redhat.com>
39153         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
39155         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
39156         unwind tables.
39158         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
39159         const from the non-libc, non-ldso copy.
39161         * sysdeps/alpha/libm-test-ulps: Regenerate.
39163 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
39164             Wilco Dijkstra  <wilco.dijkstra@arm.com>
39166         * sysdeps/aarch64/fpu/math_private.h: New file.
39168 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39170         * sysdeps/aarch64/libm-test-ulps: Regenerate.
39172 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
39174         [BZ #16275]
39175         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
39176         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
39177         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
39178         Intel MPX bound registers before _dl_profile_fixup.
39179         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
39180         registers after _dl_profile_fixup.  Save and restore bound
39181         registers bnd0/bnd1 when calling _dl_call_pltexit.
39182         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
39183         (LR_BND_OFFSET): Likewise.
39184         (LRV_BND0_OFFSET): Likewise.
39185         (LRV_BND1_OFFSET): Likewise.
39187 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39189         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
39190         to...
39191         * sysdeps/mach/hurd/i386/tls.h: ... here.
39192         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
39193         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
39194         fields.
39196 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39198         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
39200 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39202         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39204 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
39206         [BZ #14770]
39207         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
39208         * sysdeps/s390/configure: Regenerate.
39210         [BZ #16824]
39211         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
39212         Set round-to-nearest internally to reduce error accumulation.
39214 2014-04-16  Alan Modra  <amodra@gmail.com>
39216         [BZ #16740]
39217         [BZ #16619]
39218         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
39219         * math/libm-test.inc (frexp_test_data): Add tests.
39220         * NEWS: Update fixed bug list.
39222 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39224         * benchtests/Makefile: Depend on libraries in build directory.
39225         (bench-math): Separate out math tests.
39226         (bench-pthread): Separate out pthread tests.
39227         (bench): Include math and pthread tests.
39229 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
39231         [BZ #16831]
39232         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
39233         _dl_debug_initialize.
39235         * configure.ac: Remove SELinux header check.
39236         * configure: Regenerate.
39237         * nscd/selinux.c (perms): Array of const char* to permission names.
39238         (nscd_request_avc_has_perm): Call security_deny_unknown to find
39239         default policy. Call string_to_security_class and string_to_av_perm to
39240         translate strings. Enforce default policy and call avs_has_perm with
39241         results of translated strings.
39243 2014-04-13  David S. Miller  <davem@davemloft.net>
39245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39247 2014-04-12  Allan McRae  <allan@archlinux.org>
39249         [BZ #16838]
39250         * manual/string.texi (Collation Functions): Fix qsort argument
39251         order in example.
39252         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39254 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
39256         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
39257         Make the test a no-op if there are no exceptions defined.
39259 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
39261         * elf/Makefile (tests): make tst-dlopen-aout conditional on
39262         enable-hardcoded-path-in-tests
39264 2014-04-11  Will Newton  <will.newton@linaro.org>
39266         * benchtests/Makefile (extra-objs): Add json-lib.o.
39267         (bench-func): Tidy up JSON output.
39268         * benchtests/bench-skeleton.c: Include json-lib.h.
39269         (main): Use JSON library functions to do output of
39270         benchmark results.
39271         * benchtests/bench-timing-type.c (main): Output the
39272         timing type simply, leaving formatting to the user.
39273         * benchtests/json-lib.c: New file.
39274         * benchtests/json-lib.h: Likewise.
39276 2014-04-11  Torvald Riegel  <triegel@redhat.com>
39278         [BZ #15215]
39279         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
39280         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
39281         memory barriers.  Add comments.
39282         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
39283         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
39284         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
39285         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
39286         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
39287         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
39289 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39291         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
39292         * sysdeps/s390/s390-64/configure.ac: ... this ...
39293         * sysdeps/s390/configure.ac: ... to here.
39294         * sysdeps/s390/s390-32/configure: Delete file.
39295         * sysdeps/s390/s390-64/configure: Delete file.
39296         * sysdeps/s390/configure: Regenerate.
39298 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
39300         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
39302 2014-04-11  Will Newton  <will.newton@linaro.org>
39304         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
39305         to zero if it is not defined elsewhere.  (mtrim): Test
39306         the value of MALLOC_DEBUG with #if rather than #ifdef.
39308 2014-04-10 Torvald Riegel  <triegel@redhat.com>
39310         * benchtests/pthread_once-inputs: New file.
39311         * benchtests/pthread_once-source.c: New file.
39312         * benchtests/README: Update documentation.
39314 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
39315             H.J. Lu  <hongjiu.lu@intel.com>
39317         [BZ #16275]
39318         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
39319         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
39320         * sysdeps/x86_64/configure: Regenerated.
39321         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
39322         macro.
39323         (REGISTER_SAVE_RAX): Likewise.
39324         (REGISTER_SAVE_RCX): Likewise.
39325         (REGISTER_SAVE_RDX): Likewise.
39326         (REGISTER_SAVE_RSI): Likewise.
39327         (REGISTER_SAVE_RDI): Likewise.
39328         (REGISTER_SAVE_R8): Likewise.
39329         (REGISTER_SAVE_R9): Likewise.
39330         (REGISTER_SAVE_BND0): Likewise.
39331         (REGISTER_SAVE_BND1): Likewise.
39332         (REGISTER_SAVE_BND2): Likewise.
39333         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
39334         bound registers when calling _dl_fixup.
39336 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39338         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
39339         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
39340         of its definition.
39341         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
39342         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
39343         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
39344         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
39345         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
39346         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
39347         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
39349 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
39351         [BZ #15514]
39352         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
39353         pathconf(_PC_NAME_MAX).
39355 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39357         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
39358         Remove macro usage.
39359         (__PTHREAD_SPINS): Move definition to ...
39360         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39361         (__PTHREAD_SPINS): ... here.
39362         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39363         (__PTHREAD_SPIN): Likewise.
39364         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
39365         (__PTHREAD_SPIN): Likewise.
39366         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
39367         (__PTHREAD_SPIN): Likewise.
39368         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
39369         (__PTHREAD_SPIN): Likewise.
39370         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39371         (__PTHREAD_SPIN): Likewise.
39372         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39373         (__PTHREAD_SPIN): Likewise.
39374         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
39375         (__PTHREAD_SPIN): Likewise.
39376         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39377         (__PTHREAD_SPIN): Likewise.
39378         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39379         (__PTHREAD_SPIN): Likewise.
39380         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39381         (__PTHREAD_SPIN): Likewise.
39382         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39383         (__PTHREAD_SPIN): Likewise.
39384         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
39385         (__PTHREAD_SPIN): Likewise.
39387         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
39388         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
39389         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
39390         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
39391         imply folder.
39392         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
39393         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
39394         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
39395         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
39396         correct imply path.
39397         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
39398         strlen symbol for non multi-arch builds.
39399         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
39400         missing hidden_def and weak_alias.
39402 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
39404         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
39406 2014-04-07  Will Newton  <will.newton@linaro.org>
39408         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
39409         and contents.  [!_LIBC] Remove #ifndef and contents.
39410         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
39411         * string/memccpy.c (__memccpy): Use ANSI prototype.
39412         * string/memfrob.c (memfrob): Likewise.
39413         * string/strcoll.c (STRCOLL): Likewise.
39414         * string/strlen.c (strlen): Likewise.
39415         * string/strtok.c (STRTOK): Likewise.
39416         * string/strcat.c: Remove unused #include of memcopy.h.
39417         (strcat): Use ANSI prototype.
39418         * string/strchr.c: Remove unused #include of memcopy.h.
39419         (strchr): Use ANSI prototype.
39420         * string/strcmp.c: Remove unused #include of memcopy.h.
39421         (strcmp): Use ANSI prototype.
39422         * string/strcpy.c: Remove unused #include of memcopy.h.
39423         (strcpy): Use ANSI prototype.
39425 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39427         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
39428         * config.make.in (config-extra-cppflags): Set it from
39429         libc_extra_cppflags.
39430         * configure.ac (libc_extra_cflags): Make it accumulate over
39431         configure fragments.
39432         (libc_extra_cppflags): New flag.
39433         * configure. Regenerate.
39434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
39435         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
39436         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
39437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
39439         [BZ #16815]
39440         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
39441         result for FE_DOWNWARD rounding mode.
39442         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
39443         Likewise.
39444         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39446 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
39448         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
39449         in function argument name.
39451 2014-04-03  David Svoboda  <svoboda@cert.org>
39453         [BZ #5666]
39454         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
39455         explicitly.
39457 2014-04-03  Roland McGrath  <roland@hack.frob.com>
39459         * elf/dl-unmap-segments.h: New file.
39460         * sysdeps/generic/ldsodefs.h
39461         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
39462         * elf/dl-close.c: Include <dl-unmap-segments.h>.
39463         * elf/dl-fptr.c: Likewise.
39464         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
39465         * sysdeps/aarch64/tlsdesc.c: Likewise.
39466         * sysdeps/arm/tlsdesc.c: Likewise.
39467         * sysdeps/i386/tlsdesc.c: Likewise.
39468         * sysdeps/tile/dl-runtime.c: Likewise.
39469         * sysdeps/x86_64/tlsdesc.c: Likewise.
39470         * elf/dl-load.h: New file.
39471         * elf/dl-load.c: Include it.
39472         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
39473         Macros moved to dl-load.h.
39474         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
39475         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
39476         Use _dl_unmap_segments in place of __munmap.
39477         Break out segment-mapping loop into ...
39478         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
39480 2014-04-03  Will Newton  <will.newton@linaro.org>
39482         * elf/dl-lookup.c (do_lookup_x): Remove comment
39483         referring to nested function and move variable
39484         declarations down to before first use.
39486 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
39488         [BZ #16799]
39489         [BZ #16800]
39490         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
39491         with 0 numerator.
39492         * math/s_catanf.c (__catanf): Likewise.
39493         * math/s_catanh.c (__catanh): Likewise.
39494         * math/s_catanhf.c (__catanhf): Likewise.
39495         * math/s_catanhl.c (__catanhl): Likewise.
39496         * math/s_catanl.c (__catanl): Likewise.
39497         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
39498         by positive zero when computing -Inf result.
39499         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
39500         (catanh_test): Likewise.
39501         * sysdeps/i386/fpu/libm-test-ulps: Update.
39502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39504         [BZ #16789]
39505         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
39506         instead of using underflowing value in computing result.
39507         * math/s_clog10.c (__clog10): Likewise.
39508         * math/s_clog10f.c (__clog10f): Likewise.
39509         * math/s_clog10l.c (__clog10l): Likewise.
39510         * math/s_clogf.c (__clogf): Likewise.
39511         * math/s_clogl.c (__clogl): Likewise.
39512         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
39513         (clog10_test): Likewise.
39514         * sysdeps/i386/fpu/libm-test-ulps: Update.
39515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39517 2014-04-02  Alan Modra  <amodra@gmail.com>
39519         [BZ #16739]
39520         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
39521         output when value is near a power of two.  Use int64_t for lx and
39522         remove casts.  Use decimal rather than hex exponent constants.
39523         Don't use long double multiplication when double will suffice.
39524         * math/libm-test.inc (nextafter_test_data): Add tests.
39525         * NEWS: Add 16739 and 16786 to bug list.
39527         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
39529         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
39531 2014-04-01  Will Newton  <will.newton@linaro.org>
39533         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
39534         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
39536 2014-04-01  Florian Weimer  <fweimer@redhat.com>
39538         [BZ #13347]
39539         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
39540         * nptl/tst-setuid2.c: New file.
39541         * nptl/Makefile (xtests): Add tst-setuid2.
39543 2014-04-01  Alan Modra  <amodra@gmail.com>
39545         [BZ #16786]
39546         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
39548 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
39550         [BZ #6803]
39551         [BZ #6804]
39552         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
39553         set errno as appropriate.
39554         * math/w_scalbf.c (__scalbf): Likewise.
39555         * math/w_scalbl.c (__scalbl): Likewise.
39556         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
39557         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
39558         * math/libm-test.inc (scalb_test_data): Add errno expectations.
39559         Add more NaN tests.
39561         [BZ #16349]
39562         * math/w_atan2.c: Include <errno.h>.
39563         (__atan2): Set errno for result underflowing to zero.
39564         * math/w_atan2f.c: Include <errno.h>.
39565         (__atan2f): Set errno for result underflowing to zero.
39566         * math/w_atan2l.c: Include <errno.h>.
39567         (__atan2l): Set errno for result underflowing to zero.
39568         * math/auto-libm-test-in: Don't allow missing errno for some atan2
39569         tests.
39570         * math/auto-libm-test-out: Regenerated.
39572 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39574         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
39575         Encode instruction correctly in little endian.
39576         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
39577         Likewise.
39578         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
39579         Likewise.
39580         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
39581         Likewise.
39582         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
39583         Likewise.
39585 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
39587         [BZ #9894]
39588         * sysdeps/unix/sysv/linux/kernel-features.h
39589         [__sparc__ && !__arch64__ && !__sparc_v9__]
39590         (__ASSUME_SET_ROBUST_LIST): Do not define.
39591         [__sparc__ && !__arch64__ && !__sparc_v9__]
39592         (__ASSUME_FUTEX_LOCK_PI): Likewise.
39593         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
39594         Likewise.
39595         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39596         (__ASSUME_FUTEX_LOCK_PI): Undefine.
39597         (__ASSUME_REQUEUE_PI): Likewise.
39598         (__ASSUME_SET_ROBUST_LIST): Likewise.
39599         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39600         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
39601         Undefine.
39602         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39603         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
39604         Likewise.
39605         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
39606         Likewise.
39607         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
39608         Likewise.
39609         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39610         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
39611         Undefine.
39612         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
39613         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
39614         Likewise.
39616         [BZ #16648]
39617         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39618         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
39619         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
39621 2014-03-31  Will Newton  <will.newton@linaro.org>
39623         * benchtests/Makefile (bench): Add ffs and ffsll to list
39624         of tests.
39625         * benchtests/ffs-inputs: New file.
39626         * benchtests/ffsll-inputs: Likewise.
39628 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
39630         [BZ #16770]
39631         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
39632         too large before casting to int.
39633         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
39634         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
39635         * math/libm-test.inc (scalb_test_data): Add more tests.
39637 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39639         * benchtests/Makefile (DETAILED_OPT): New make option.
39640         (bench-func): Run benchmark program with -d if DETAILED_OPT is
39641         set.
39642         * benchtests/bench-skeleton.c: Include stdbool.h.
39643         (main): Store and print timings per input.
39644         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
39645         member to each argument value.
39646         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
39647         (_print_arg_data): Initialize per-input timing to 0.
39649         * benchtests/Makefile (timing-type): New binary.
39650         (bench-clean): Also remove bench-timing-type.
39651         (bench): New target for timing-type.
39652         (bench-func): Print output in JSON format.
39653         * benchtests/bench-skeleton.c (main): Print output in JSON
39654         format.
39655         * benchtests/bench-timing-type.c: New file.
39656         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
39657         (TIMING_PRINT_STATS): Remove.
39658         * benchtests/scripts/bench.py (_print_arg_data): Store variant
39659         name separately.
39661         * benchtests/bench-modf.c: Remove.
39662         * benchtests/modf-inputs: New inputs file.
39664 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
39666         [BZ #16362]
39667         * math/s_clog10.c (M_PI_LOG10E): New macro.
39668         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
39669         imaginary parts are 0.
39670         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
39671         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
39672         imaginary parts are 0.
39673         * math/s_clog10l.c (M_PI_LOG10El): New macro.
39674         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
39675         imaginary parts are 0.
39676         * math/libm-test.inc (clog10_test_data): Update expected results
39677         for when real and imaginary parts are 0.
39679 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
39681         * elf/dl-load.c: Finish conversion of __builtin_expect into
39682         __glibc_{un}likely.
39684 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
39686         [BZ #16348]
39687         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
39688         1+x for argument with exponent below -67.
39689         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
39690         Likewise.
39691         * math/auto-libm-test-in: Add more tests of exp.
39692         * math/auto-libm-test-out: Regenerated.
39694 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39696         [BZ #16759]
39697         * inet/getnetgrent_r.c (get_nonempty_val): New function.
39698         (nscd_getnetgrent): Use it.
39700         [BZ #16760]
39701         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
39702         of stpcpy.
39704 2014-03-27  Andi Kleen  <ak@linux.intel.com>
39706         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
39707         (lll_robust_lock, lll_cond_lock, lll_timedlock)
39708         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
39709         (lll_robust_unlock): Remove out of line section. Use cfi
39710         intrinsics.
39711         (LLL_STUB_UNWIND_INFO*): Remove.
39712         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
39713         (lll_robust_lock, lll_cond_lock, lll_timedlock)
39714         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
39715         (lll_robust_unlock): Remove out of line section. Use cfi
39716         intrinsics.
39717         (LLL_STUB_UNWIND_INFO*): Remove.
39719 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39721         [BZ #16758]
39722         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
39723         blank values.
39725 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
39727         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
39729 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
39731         [BZ #16198]
39732         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
39733         fnstenv.
39734         * math/test-fenv-preserve.c: New file.
39735         * math/Makefile (tests): Add test-fenv-preserve.
39737 2014-03-26  Will Newton <will.newton@linaro.org>
39739         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
39741 2014-03-25  Roland McGrath  <roland@hack.frob.com>
39743         * scripts/versionlist.awk: Partition the version sets and emit all
39744         GLIBC_* (sorted) before all others (sorted).
39746 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
39748         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
39749         GLIBC_2.2.5 version.
39751 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39753         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
39754         calls.
39756         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
39757         previous change.
39759         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39761 2014-03-25  Andreas Schwab  <schwab@suse.de>
39763         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
39764         label to be used after in6ailist is initialized.
39766 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39768         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39769         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
39771 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
39773         [BZ #16357]
39774         [BZ #16599]
39775         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
39776         min_plus_half.
39777         (fp_formats): Update initializers.
39778         (init_fp_formats): Initialize new field.
39779         (output_for_one_input_case): Allow underflow for results up to
39780         min_plus_half.
39781         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
39782         * math/auto-libm-test-in: Don't mark some underflows from asin and
39783         atanh as spurious.
39784         * math/auto-libm-test-out: Regenerated.
39785         * sysdeps/i386/fpu/libm-test-ulps: Update.
39786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39788 2014-03-25  Andreas Schwab  <schwab@suse.de>
39790         * libio/Makefile (tst-ftell-partial-wide-ENV)
39791         (tst-ftell-active-handler-ENV): Define.
39793 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
39795         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
39797 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
39799         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
39801 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
39803         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
39804         * sysdeps/x86_64/fpu/multiarch/e_exp.c
39805         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
39807 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
39809         [BZ #16634]
39810         * elf/dl-load.c (open_verify): Add mode parameter.
39811         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
39812         (open_path): Change from boolean 'secure' to complete flag 'mode'
39813         (_dl_map_object): Adjust.
39814         * elf/Makefile (tests): Add tst-dlopen-aout.
39815         * elf/tst-dlopen-aout.c: New test.
39817 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
39819         [BZ #16714]
39820         * sysdeps/unix/sysv/linux/s390/bits/stat.h
39821         (struct stat): Rename member pad0 to __glibc_reserved0.
39823         [BZ #16712]
39824         * sysdeps/s390/s390-32/bits/wordsize.h
39825         (__WORDSIZE32_SIZE_ULONG): New define.
39826         * sysdeps/s390/s390-64/bits/wordsize.h
39827         (__WORDSIZE32_SIZE_ULONG): Likewise.
39828         * sysdeps/generic/stdint.h (SIZE_MAX):
39829         Define as UL if __WORDSIZE32_SIZE_ULONG.
39831         [BZ #16713]
39832         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
39833         (__glibc_reserved0): New variable.
39834         (sa_flags): Change type to int.
39836         * posix/Makefile (before-compile): Use += before-compile instead
39837         of a :=.
39839         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39840         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
39842 2014-03-20  Andreas Schwab  <schwab@suse.de>
39844         [BZ #16743]
39845         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
39846         non-matching result from nscd.
39848 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39850         * scripts/bench.py: Moved to ...
39851         * benchtests/scripts/bench.py: ... here.
39852         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
39854 2014-03-24  Andreas Schwab  <schwab@suse.de>
39856         [BZ #16002]
39857         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
39858         alloca_account and account alloca use for struct in6ailist.
39860 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
39862         [BZ #16284]
39863         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
39864         rounding mode to recompute results that overflow to infinity or
39865         underflow to zero.
39866         * math/auto-libm-test-in: Don't mark tests as expected to fail for
39867         bug 16284.
39868         * math/auto-libm-test-out: Regenerated.
39869         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
39870         (ccosh_test): Likewise.
39871         (csin_test_data): Use plus_oflow.
39872         (csin_test): Use ALL_RM_TEST.
39873         (csinh_test_data): Use plus_oflow.
39874         (csinh_test): Use ALL_RM_TEST.
39875         * sysdeps/i386/fpu/libm-test-ulps: Update.
39876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39878 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
39880         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
39881         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
39882         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
39884         [BZ #16731]
39885         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
39886         when x - 1 is zero.
39887         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
39888         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
39889         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
39890         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
39891         argument is 1.
39892         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
39893         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
39894         zero.
39895         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
39896         * sysdeps/i386/fpu/libm-test-ulps: Update.
39897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39899 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39901         * scripts/bench.pl: Remove file.
39902         * scripts/bench.py: New benchmark script.
39903         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
39904         * benchtests/README: Mention python dependency.
39905         * scripts/pylintrc: New file.
39906         * scripts/pylint: New file.
39908         * bits/mathdef.h: Use #ifdef instead of #if.
39909         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
39910         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39911         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
39912         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39913         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
39914         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39916 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39917             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39919         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
39920         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
39921         and strpbrk-ppc64 objects.
39922         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39923         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
39924         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
39925         multiarch strpbrk for POWER7.
39926         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
39927         multiarch strpbrk for PPC64.
39928         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
39929         ifunc selector.
39930         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
39931         strpbrk for POWER7.
39933 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
39935         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
39936         (atan_test): Likewise.
39937         (atanh_test_data): Use NO_TEST_INLINE for two tests.
39938         (atanh_test): Use ALL_RM_TEST.
39939         (atan2_test_data): Likewise.
39940         (cabs_test): Likewise.
39941         (cacosh_test): Likewise.
39942         (carg_test): Likewise.
39943         (casin_test): Likewise.
39944         (casinh_test): Likewise.
39945         (cbrt_test): Likewise.
39946         (csqrt_test): Likewise.
39947         (erf_test): Likewise.
39948         (erfc_test): Likewise.
39949         (pow10_test): Likewise.
39950         (exp2_test): Likewise.
39951         (hypot_test): Likewise.
39952         (j0_test): Likewise.
39953         (j1_test): Likewise.
39954         (lgamma_test): Likewise.
39955         (gamma_test): Likewise.
39956         (sincos_test): Likewise.
39957         (tanh_test): Likewise.
39958         (y0_test): Likewise.
39959         (y1_test): Likewise.
39960         * sysdeps/i386/fpu/libm-test-ulps: Update.
39961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39963 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39965         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
39966         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
39967         and strcspn-ppc64 objects.
39968         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39969         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
39970         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
39971         multiarch strcspn for POWER7.
39972         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
39973         multiarch strcspn for PPC64.
39974         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
39975         ifunc selector.
39976         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
39977         strcspn for POWER7.
39979 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
39981         * math/gen-libm-test.pl (generate_testfile): Expect only function
39982         name as argument to AUTO_TESTS_* and pass results for all rounding
39983         modes to parse_args.
39984         (parse_auto_input): Separate inputs of automatic tests from
39985         outputs before storing in %auto_tests.
39986         * math/libm-test.inc (acos_test_data): Update call to
39987         AUTO_TESTS_f_f.
39988         (acos_test): Use ALL_RM_TEST.
39989         (acos_tonearest_test_data): Remove.
39990         (acos_test_tonearest): Likewise.
39991         (acos_towardzero_test_data): Likewise.
39992         (acos_test_towardzero): Likewise.
39993         (acos_downward_test_data): Likewise.
39994         (acos_test_downward): Likewise.
39995         (acos_upward_test_data): Likewise.
39996         (acos_test_upward): Likewise.
39997         (acosh_test_data): Update call to AUTO_TESTS_f_f.
39998         (asin_test_data): Likewise.
39999         (asin_test): Use ALL_RM_TEST.
40000         (asin_tonearest_test_data): Remove.
40001         (asin_test_tonearest): Likewise.
40002         (asin_towardzero_test_data): Likewise.
40003         (asin_test_towardzero): Likewise.
40004         (asin_downward_test_data): Likewise.
40005         (asin_test_downward): Likewise.
40006         (asin_upward_test_data): Likewise.
40007         (asin_test_upward): Likewise.
40008         (asinh_test_data): Update call to AUTO_TESTS_f_f.
40009         (atan_test_data): Likewise.
40010         (atanh_test_data): Likewise.
40011         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
40012         (cabs_test_data): Update call to AUTO_TESTS_c_f.
40013         (carg_test_data): Likewise.
40014         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
40015         (ccos_test_data): Update call to AUTO_TESTS_c_c.
40016         (ccosh_test_data): Likewise.
40017         (cexp_test_data): Likewise.
40018         (clog_test_data): Likewise.
40019         (clog10_test_data): Likewise.
40020         (cos_test_data): Update call to AUTO_TESTS_f_f.
40021         (cos_test): Use ALL_RM_TEST.
40022         (cos_tonearest_test_data): Remove.
40023         (cos_test_tonearest): Likewise.
40024         (cos_towardzero_test_data): Likewise.
40025         (cos_test_towardzero): Likewise.
40026         (cos_downward_test_data): Likewise.
40027         (cos_test_downward): Likewise.
40028         (cos_upward_test_data): Likewise.
40029         (cos_test_upward): Likewise.
40030         (cosh_test_data): Update call to AUTO_TESTS_f_f.
40031         (cosh_test): Use ALL_RM_TEST.
40032         (cosh_tonearest_test_data): Remove.
40033         (cosh_test_tonearest): Likewise.
40034         (cosh_towardzero_test_data): Likewise.
40035         (cosh_test_towardzero): Likewise.
40036         (cosh_downward_test_data): Likewise.
40037         (cosh_test_downward): Likewise.
40038         (cosh_upward_test_data): Likewise.
40039         (cosh_test_upward): Likewise.
40040         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
40041         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
40042         (ctan_test_data): Likewise.
40043         (ctan_test): Use ALL_RM_TEST.
40044         (ctan_tonearest_test_data): Remove.
40045         (ctan_test_tonearest): Likewise.
40046         (ctan_towardzero_test_data): Likewise.
40047         (ctan_test_towardzero): Likewise.
40048         (ctan_downward_test_data): Likewise.
40049         (ctan_test_downward): Likewise.
40050         (ctan_upward_test_data): Likewise.
40051         (ctan_test_upward): Likewise.
40052         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
40053         (ctanh_test): Use ALL_RM_TEST.
40054         (ctanh_tonearest_test_data): Remove.
40055         (ctanh_test_tonearest): Likewise.
40056         (ctanh_towardzero_test_data): Likewise.
40057         (ctanh_test_towardzero): Likewise.
40058         (ctanh_downward_test_data): Likewise.
40059         (ctanh_test_downward): Likewise.
40060         (ctanh_upward_test_data): Likewise.
40061         (ctanh_test_upward): Likewise.
40062         (erf_test_data): Update call to AUTO_TESTS_f_f.
40063         (erfc_test_data): Likewise.
40064         (exp_test_data): Likewise.
40065         (exp_test): Use ALL_RM_TEST.
40066         (exp_tonearest_test_data): Remove.
40067         (exp_test_tonearest): Likewise.
40068         (exp_towardzero_test_data): Likewise.
40069         (exp_test_towardzero): Likewise.
40070         (exp_downward_test_data): Likewise.
40071         (exp_test_downward): Likewise.
40072         (exp_upward_test_data): Likewise.
40073         (exp_test_upward): Likewise.
40074         (exp10_test_data): Update call to AUTO_TESTS_f_f.
40075         (exp10_test): Use ALL_RM_TEST.
40076         (exp10_tonearest_test_data): Remove.
40077         (exp10_test_tonearest): Likewise.
40078         (exp10_towardzero_test_data): Likewise.
40079         (exp10_test_towardzero): Likewise.
40080         (exp10_downward_test_data): Likewise.
40081         (exp10_test_downward): Likewise.
40082         (exp10_upward_test_data): Likewise.
40083         (exp10_test_upward): Likewise.
40084         (exp2_test_data): Update call to AUTO_TESTS_f_f.
40085         (expm1_test_data): Likewise.
40086         (expm1_test): Use ALL_RM_TEST.
40087         (expm1_tonearest_test_data): Remove.
40088         (expm1_test_tonearest): Likewise.
40089         (expm1_towardzero_test_data): Likewise.
40090         (expm1_test_towardzero): Likewise.
40091         (expm1_downward_test_data): Likewise.
40092         (expm1_test_downward): Likewise.
40093         (expm1_upward_test_data): Likewise.
40094         (expm1_test_upward): Likewise.
40095         (fma_test_data): Update call to AUTO_TESTS_fff_f.
40096         (fma_test): Use ALL_RM_TEST.
40097         (fma_towardzero_test_data): Remove.
40098         (fma_test_towardzero): Likewise.
40099         (fma_downward_test_data): Likewise.
40100         (fma_test_downward): Likewise.
40101         (fma_upward_test_data): Likewise.
40102         (fma_test_upward): Likewise.
40103         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
40104         (j0_test_data): Update call to AUTO_TESTS_f_f.
40105         (j1_test_data): Likewise.
40106         (jn_test_data): Update call to AUTO_TESTS_if_f.
40107         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
40108         (log_test_data): Update call to AUTO_TESTS_f_f.
40109         (log10_test_data): Likewise.
40110         (log1p_test_data): Likewise.
40111         (log2_test_data): Likewise.
40112         (pow_test_data): Update call to AUTO_TESTS_ff_f.
40113         (pow_tonearest_test_data): Likewise.
40114         (sin_test_data): Update call to AUTO_TESTS_f_f.
40115         (sin_test): Use ALL_RM_TEST.
40116         (sin_tonearest_test_data): Remove.
40117         (sin_test_tonearest): Likewise.
40118         (sin_towardzero_test_data): Likewise.
40119         (sin_test_towardzero): Likewise.
40120         (sin_downward_test_data): Likewise.
40121         (sin_test_downward): Likewise.
40122         (sin_upward_test_data): Likewise.
40123         (sin_test_upward): Likewise.
40124         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
40125         (sinh_test_data): Update call to AUTO_TESTS_f_f.
40126         (sinh_test): Use ALL_RM_TEST.
40127         (sinh_tonearest_test_data): Remove.
40128         (sinh_test_tonearest): Likewise.
40129         (sinh_towardzero_test_data): Likewise.
40130         (sinh_test_towardzero): Likewise.
40131         (sinh_downward_test_data): Likewise.
40132         (sinh_test_downward): Likewise.
40133         (sinh_upward_test_data): Likewise.
40134         (sinh_test_upward): Likewise.
40135         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
40136         (sqrt_test): Use ALL_RM_TEST.
40137         (sqrt_tonearest_test_data): Remove.
40138         (sqrt_test_tonearest): Likewise.
40139         (sqrt_towardzero_test_data): Likewise.
40140         (sqrt_test_towardzero): Likewise.
40141         (sqrt_downward_test_data): Likewise.
40142         (sqrt_test_downward): Likewise.
40143         (sqrt_upward_test_data): Likewise.
40144         (sqrt_test_upward): Likewise.
40145         (tan_test_data): Update call to AUTO_TESTS_f_f.
40146         (tan_test): Use ALL_RM_TEST.
40147         (tan_tonearest_test_data): Remove.
40148         (tan_test_tonearest): Likewise.
40149         (tan_towardzero_test_data): Likewise.
40150         (tan_test_towardzero): Likewise.
40151         (tan_downward_test_data): Likewise.
40152         (tan_test_downward): Likewise.
40153         (tan_upward_test_data): Likewise.
40154         (tan_test_upward): Likewise.
40155         (tanh_test_data): Update call to AUTO_TESTS_f_f.
40156         (tgamma_test_data): Likewise.
40157         (y0_test_data): Likewise.
40158         (y1_test_data): Likewise.
40159         (yn_test_data): Update call to AUTO_TESTS_if_f.
40160         (main): Do not call removed functions.
40162 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
40164         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
40165         (ldexp_test_data): Remove.
40166         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
40167         scalbn_test_data.
40168         (scalb_test): Use ALL_RM_TEST.
40170 2014-03-19  Andreas Schwab  <schwab@suse.de>
40172         * nscd/nscd.service: Also invalidate netgroup cache on reload.
40174 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
40176         [BZ #16649]
40177         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
40178         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
40179         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
40180         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40181         (__ASSUME_PREADV): Undefine.
40182         (__ASSUME_PWRITEV): Likewise.
40184 2014-03-18  Roland McGrath  <roland@hack.frob.com>
40186         * bits/mman-linux.h: Add comment about non-Linux use.
40187         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
40188         bits/mman-linux.h resting place.
40190         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
40191         * bits/mman-linux.h: ... here.
40193 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40195         * conform/conformtest.pl: Add standard definition when calling C
40196         preprocessor on data files.
40197         (checknamespace): Remove unused variable.
40199 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
40201         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
40202         minus_oflow, plus_uflow and minus_uflow in expected results.
40203         * math/libm-test.inc (scalbn_test_data): Add more tests of
40204         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
40205         minus_uflow.
40206         (scalbn_test): Use ALL_RM_TEST.
40207         (scalbln_test_data): Add more tests of negative arguments.  Use
40208         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
40209         (scalbln_test): Use ALL_RM_TEST.
40211 2014-03-18  Roland McGrath  <roland@hack.frob.com>
40213         * scripts/abilist.awk: Ignore symbols marked with .hidden.
40215 2014-03-18  Will Newton  <will.newton@linaro.org>
40217         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
40218         inaccurate comment.
40220 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
40222         * Makerules [!subdir] (check-abi): Exit with error status if a
40223         test failed.
40225 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
40227         * math/libm-test.inc (nearbyint_test_data): Include all tests used
40228         for rint.  Include results for all rounding modes.
40229         (nearbyint_test): Use ALL_RM_TEST.
40230         (rint_test_data): Include all tests used for nearbyint.
40232 2014-03-17  Will Newton  <will.newton@linaro.org>
40234         * nptl/sysdeps/pthread/pthread.h: Revert previous
40235         change.
40237         * sysdeps/generic/ldsodefs.h: Revert previous
40238         change.
40240         * libio/genops.c: Revert previous change.
40241         * libio/libioP.h: Likewise.
40242         * stdio-common/vfprintf.c: Likewise.
40244         * sysdeps/generic/math_private.h: Revert previous
40245         change.
40247         * sysdeps/generic/math_private.h: Check whether
40248         HAVE_RM_CTX is defined with #ifdef rather
40249         than #if.
40251         * argp/argp-fmtstream.h: Check whether
40252         __STRICT_ANSI__ is defined with #ifdef rather
40253         than #if.
40254         * argp/argp.h: Likewise.
40256         * libio/genops.c: Check whether
40257         _IO_JUMPS_OFFSET is defined with #ifdef rather
40258         than #if.
40259         * libio/libioP.h: Likewise.
40260         * stdio-common/vfprintf.c: Likewise.
40262         * sysdeps/generic/ldsodefs.h: Check whether
40263         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
40264         than #if.
40266         * nptl/sysdeps/pthread/pthread.h: Check
40267         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
40268         its value.
40270 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40272         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
40273         setting O_APPEND.
40274         * libio/tst-ftell-active-handler.c (do_append_test): Add a
40275         test case.
40277         [BZ #16680]
40278         * libio/fileops.c (_IO_file_open): Seek to end of file but
40279         don't cache the offset.
40280         (get_file_offset): Remove function.
40281         (do_ftell): Use cached offset when available.
40282         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
40283         don't cache the offset.
40284         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
40285         case.
40286         (do_one_test): Call it.
40287         (do_ftell_test): Fix up expected old offset for a+ mode.
40288         * libio/wfileops.c (do_ftell_wide): Used cached offset when
40289         available.
40291         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
40292         up test status with function return status.
40293         (do_write_test): Likewise.
40294         (do_append_test): Likewise.
40296         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
40297         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
40298         Remove.
40300 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
40302         * math/gen-libm-test.pl (parse_args): Handle results specified for
40303         each rounding mode separately.
40304         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
40305         tests and results from lrint_tonearest_test_data,
40306         lrint_towardzero_test_data, lrint_downward_test_data and
40307         lrint_upward_test_data.
40308         (lrint_test): Use ALL_RM_TEST.
40309         (lrint_tonearest_test_data): Remove.
40310         (lrint_test_tonearest): Likewise.
40311         (lrint_towardzero_test_data): Likewise.
40312         (lrint_test_towardzero): Likewise.
40313         (lrint_downward_test_data): Likewise.
40314         (lrint_test_downward): Likewise.
40315         (lrint_upward_test_data): Likewise.
40316         (lrint_test_upward): Likewise.
40317         (llrint_test_data): Merge in per-rounding-mode tests and results
40318         from llrint_tonearest_test_data, llrint_towardzero_test_data,
40319         llrint_downward_test_data and llrint_upward_test_data.
40320         (llrint_test): Use ALL_RM_TEST.
40321         (llrint_tonearest_test_data): Remove.
40322         (llrint_test_tonearest): Likewise.
40323         (llrint_towardzero_test_data): Likewise.
40324         (llrint_test_towardzero): Likewise.
40325         (llrint_downward_test_data): Likewise.
40326         (llrint_test_downward): Likewise.
40327         (llrint_upward_test_data): Likewise.
40328         (llrint_test_upward): Likewise.
40329         (rint_test_data): Merge in per-rounding-mode tests and results
40330         from rint_tonearest_test_data, rint_towardzero_test_data,
40331         rint_downward_test_data and rint_upward_test_data.  Add
40332         per-rounding-mode results for tests not in those arrays.
40333         (rint_test): Use ALL_RM_TEST.
40334         (rint_tonearest_test_data): Remove.
40335         (rint_test_tonearest): Likewise.
40336         (rint_towardzero_test_data): Likewise.
40337         (rint_test_towardzero): Likewise.
40338         (rint_downward_test_data): Likewise.
40339         (rint_test_downward): Likewise.
40340         (rint_upward_test_data): Likewise.
40341         (rint_test_upward): Likewise.
40342         (main): Don't call removed functions.
40344 2014-03-14  Roland McGrath  <roland@hack.frob.com>
40346         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
40347         "Compiled on ..." crapola.  It is anti-useful.
40349 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
40351         * scripts/evaluate-test.sh: Handle fourth argument to determine
40352         whether test run should stop on failure.
40353         * Makeconfig (stop-on-test-failure): New variable.
40354         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
40355         $(stop-on-test-failure).
40356         * Makefile (tests): Give a summary of results from testing and
40357         exit with failure status if they include an ERROR or FAIL.
40358         (xtests): Likewise.
40359         * manual/install.texi (Configuring and compiling): Mention
40360         stop-on-test-failure=y.
40361         * INSTALL: Regenerated.
40363 2014-03-14  Roland McGrath  <roland@hack.frob.com>
40365         * scripts/versionlist.awk: New file.
40366         * Makerules [$(build-shared) = yes]
40367         (postclean-generated): Add Versions.def, not Versions.def.v and
40368         Versions.def.v.i.
40369         ($(common-objpfx)Versions.def.v.i): Target removed.
40370         ($(common-objpfx)Versions.def): New target.
40371         ($(common-objpfx)Versions.all): Depend on that rather that
40372         $(common-objpfx)Versions.def.v.
40373         * Versions.def: File removed.
40375         * Makeconfig (+gccwarn): Add -Wundef.
40376         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
40377         a dl-sysdep.h breaking its contract.
40378         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
40379         * include/stackinfo.h: New file.
40380         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
40381         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
40382         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
40383         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
40384         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
40385         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
40386         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40387         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40388         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40389         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40390         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40391         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
40392         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40393         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40394         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
40396 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40398         [BZ #16707]
40399         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
40400         implementation.
40401         * math/libm-test.inc (round_test_data): Add more tests.
40403         [BZ #16706]
40404         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
40405         implementation.
40406         * math/libm-test.inc (nearbyint_test_data): Add more tests.
40408         [BZ #16701]
40409         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
40410         implementation.
40411         * math/libm-test.inc (ceil_test_data): Add more tests.
40413         * math/libm-test.inc (trunc_test_data): Add more tests related to
40414         BZ#16414.
40416 2014-03-14  Roland McGrath  <roland@hack.frob.com>
40418         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
40419         with #if rather than #ifdef.
40420         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
40422 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
40424         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
40425         first.  Disable AVX-512 GCC support if assembler doesn't support
40426         it.
40427         * sysdeps/x86_64/configure: Regenerated.
40429 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
40431         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
40432         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
40433         (__old_pthread_attr_setstack): Likewise.
40434         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
40435         [!_STACK_GROWS_DOWN]: Likewise.
40437 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
40439         * config.make.in (have-bash2): Delete.
40440         * configure.ac (libc_cv_have_bash2): Delete.
40441         * configure: Regenerate.
40442         * elf/Makefile (common-ldd-rewrite): Rename to ...
40443         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
40444         (sh-ldd-rewrite): Delete.
40445         (bash-ldd-rewrite): Delete.
40446         (have-bash2): Delete checks.
40447         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
40448         ldd-rewrite.
40450         * config.make.in (have-ksh): Delete.
40451         (KSH): Delete.
40452         * configure.ac (libc_cv_have_ksh): Delete.
40453         * configure: Regenerate.
40455         * elf/Makefile: Delete $(have-ksh) check.
40456         ($(objpfx)sotruss): Change KSH to BASH.
40457         * elf/sotruss.ksh: Rename to ...
40458         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
40459         function style to match POSIX.  Drop ksh vim mode setting.
40461         * manual/time.texi (Specifying the Time Zone with TZ): Change
40462         Tuesday to Thursday.
40464         * debug/tst-longjmp_chk2.c: Update header comment.
40465         (stackoverflow_handler): Add comment.  Call assert on pass value.
40467 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
40469         [BZ #16194]
40470         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
40471         (HAVE_AVX512_ASM_SUPPORT): Likewise.
40472         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
40473         (La_x86_64_vector): Add zmm.
40474         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
40475         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
40476         ($(objpfx)tst-audit10): New target.
40477         ($(objpfx)tst-audit10.out): Likewise.
40478         (tst-audit10-ENV): New.
40479         (AVX512-CFLAGS): Likewise.
40480         (CFLAGS-tst-audit10.c): Likewise.
40481         (CFLAGS-tst-auditmod10a.c): Likewise.
40482         (CFLAGS-tst-auditmod10b.c): Likewise.
40483         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
40484         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
40485         * sysdeps/x86_64/configure: Regenerated.
40486         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
40487         AVX-512 zmm register support.
40488         (_dl_x86_64_save_sse): Likewise.
40489         (_dl_x86_64_restore_sse): Likewise.
40490         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
40491         size vector registers.
40492         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
40493         (ZMM_SIZE): Likewise.
40494         * sysdeps/x86_64/tst-audit10.c: New file.
40495         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
40496         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
40498 2014-03-13  Roland McGrath  <roland@hack.frob.com>
40500         * configure.ac (HAVE_EHDR_START): New check.
40501         * configure: Regenerated.
40502         * config.h.in (HAVE_EHDR_START): New #undef.
40503         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
40504         assuming the lowest-addressed segment maps the start of the file.
40506 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
40508         * INSTALL: Regenerated.
40510 2014-03-13  Will Newton  <will.newton@linaro.org>
40512         * manual/setjmp.texi (System V contexts): Improve
40513         clarity and grammar of documentation.
40515 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
40517         [BZ #16381]
40518         * elf/Makefile (tests): Add tst-pie2.
40519         (tests-pie): Add tst-pie2.
40520         * elf/tst-pie2.c: New file.
40521         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
40522         for ET_EXEC.
40523         * elf/rtld.c (map_doit): Load executable as lt_executable.
40524         (dl_main): Likewise.
40526 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
40528         [BZ #16642]
40529         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40530         (__ASSUME_PSELECT): Undefine.
40532 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40534         [BZ #16689]
40535         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
40536         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
40537         static build.
40538         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
40539         selector for static builds.
40541 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40543         [BZ #16695]
40544         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
40545         key in the buffer.
40547 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40549         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
40550         IFUNC selector for static builds.
40552 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
40554         * sysdeps/mips/math_private.h [__mips_hard_float]
40555         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
40556         libc_feresetround_mips_ctx.
40557         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
40558         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
40559         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
40561         [BZ #16677]
40562         * math/s_nextafter.c (__nextafter): Do not return value from
40563         overflowing computation.
40564         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
40565         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
40566         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
40567         Likewise.
40568         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
40569         Likewise.
40570         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
40571         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
40573 2014-03-11  Roland McGrath  <roland@hack.frob.com>
40575         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
40576         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
40577         Move sfi_sp use from the load-multiple (that no longer sets sp) to
40578         the new mov targetting sp.
40580 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40582         [BZ #16683]
40583         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
40584         Define it for static builds as well.
40585         (NO_BZERO_IMPL): Likewise.
40587 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40589         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
40590         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
40591         multiarch strspn for PPC64.
40592         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
40593         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
40594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40595         (__libc_ifunc_impl_list): Likewise.
40596         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
40597         multiarch optimizations
40598         * string/strspn.c (strspn): Using macro to redefine symbol name.
40600 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40601             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40603         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
40604         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
40605         multiarch strncat for PPC64.
40606         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
40607         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
40608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40609         (__libc_ifunc_impl_list): Likewise.
40610         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
40611         multiarch optimizations
40613 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40615         [BZ #16639]
40616         * nscd/nscd.service: Make service type forking.
40618 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40620         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
40621         sign in non default rounding modes.
40622         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
40624 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
40626         * math/libm-test.inc (ALL_RM_TEST): New macro.
40627         (ceil_test): Use ALL_RM_TEST.
40628         (cimag_test): Likewise.
40629         (conj_test): Likewise.
40630         (copysign_test): Likewise.
40631         (cproj_test): Likewise.
40632         (creal_test): Likewise.
40633         (fabs_test): Likewise.
40634         (floor_test): Likewise.
40635         (fmax_test): Likewise.
40636         (fmin_test): Likewise.
40637         (fmod_test): Likewise.
40638         (fpclassify_test): Likewise.
40639         (frexp_test): Likewise.
40640         (ilogb_test): Likewise.
40641         (isfinite_test): Likewise.
40642         (finite_test): Likewise.
40643         (isgreater_test): Likewise.
40644         (isgreaterequal_test): Likewise.
40645         (isinf_test): Likewise.
40646         (isless_test): Likewise.
40647         (islessequal_test): Likewise.
40648         (islessgreater_test): Likewise.
40649         (isnan_test): Likewise.
40650         (isnormal_test): Likewise.
40651         (issignaling_test): Likewise.
40652         (isunordered_test): Likewise.
40653         (logb_test): Likewise.
40654         (logb_downward_test_data): Remove.
40655         (logb_test_downward): Likewise.
40656         (lround_test): Use ALL_RM_TEST.
40657         (llround_test): Likewise.
40658         (modf_test): Likewise.
40659         (nexttoward_test): Likewise.
40660         (remainder_test): Likewise.
40661         (drem_test): Likewise.
40662         (remainder_tonearest_test_data): Likewise.
40663         (remainder_test_tonearest): Likewise.
40664         (drem_test_tonearest): Likewise.
40665         (remainder_towardzero_test_data): Likewise.
40666         (remainder_test_towardzero): Likewise.
40667         (drem_test_towardzero): Likewise.
40668         (remainder_downward_test_data): Likewise.
40669         (remainder_test_downward): Likewise.
40670         (drem_test_downward): Likewise.
40671         (remainder_upward_test_data): Likewise.
40672         (remainder_test_upward): Likewise.
40673         (drem_test_upward): Likewise.
40674         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
40675         (round_test): Use ALL_RM_TEST.
40676         (signbit_test): Likewise.
40677         (trunc_test): Likewise.
40678         (significand_test): Likewise.
40679         (main): Don't call removed functions.
40681 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
40683         [BZ #16674]
40684         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
40685         || __USE_XOPEN2K8].
40686         (ILL_ILLOPN): Likewise.
40687         (ILL_ILLADR): Likewise.
40688         (ILL_ILLTRP): Likewise.
40689         (ILL_PRVOPC): Likewise.
40690         (ILL_PRVREG): Likewise.
40691         (ILL_COPROC): Likewise.
40692         (ILL_BADSTK): Likewise.
40693         (FPE_INTDIV): Likewise.
40694         (FPE_INTOVF): Likewise.
40695         (FPE_FLTDIV): Likewise.
40696         (FPE_FLTOVF): Likewise.
40697         (FPE_FLTUND): Likewise.
40698         (FPE_FLTRES): Likewise.
40699         (FPE_FLTINV): Likewise.
40700         (FPE_FLTSUB): Likewise.
40701         (SEGV_MAPERR): Likewise.
40702         (SEGV_ACCERR): Likewise.
40703         (BUS_ADRALN): Likewise.
40704         (BUS_ADRERR): Likewise.
40705         (BUS_OBJERR): Likewise.
40706         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40707         (TRAP_TRACE): Likewise.
40708         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40709         __USE_XOPEN2K8].
40710         (CLD_KILLED): Likewise.
40711         (CLD_DUMPED): Likewise.
40712         (CLD_TRAPPED): Likewise.
40713         (CLD_STOPPED): Likewise.
40714         (CLD_CONTINUED): Likewise.
40715         (POLL_IN): Likewise.
40716         (POLL_OUT): Likewise.
40717         (POLL_MSG): Likewise.
40718         (POLL_ERR): Likewise.
40719         (POLL_PRI): Likewise.
40720         (POLL_HUP): Likewise.
40721         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
40722         Likewise.
40723         (ILL_ILLOPN): Likewise.
40724         (ILL_ILLADR): Likewise.
40725         (ILL_ILLTRP): Likewise.
40726         (ILL_PRVOPC): Likewise.
40727         (ILL_PRVREG): Likewise.
40728         (ILL_COPROC): Likewise.
40729         (ILL_BADSTK): Likewise.
40730         (FPE_INTDIV): Likewise.
40731         (FPE_INTOVF): Likewise.
40732         (FPE_FLTDIV): Likewise.
40733         (FPE_FLTOVF): Likewise.
40734         (FPE_FLTUND): Likewise.
40735         (FPE_FLTRES): Likewise.
40736         (FPE_FLTINV): Likewise.
40737         (FPE_FLTSUB): Likewise.
40738         (SEGV_MAPERR): Likewise.
40739         (SEGV_ACCERR): Likewise.
40740         (BUS_ADRALN): Likewise.
40741         (BUS_ADRERR): Likewise.
40742         (BUS_OBJERR): Likewise.
40743         (BUS_MCEERR_AR): Likewise.
40744         (BUS_MCEERR_AO): Likewise.
40745         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40746         (TRAP_TRACE): Likewise.
40747         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40748         __USE_XOPEN2K8].
40749         (CLD_KILLED): Likewise.
40750         (CLD_DUMPED): Likewise.
40751         (CLD_TRAPPED): Likewise.
40752         (CLD_STOPPED): Likewise.
40753         (CLD_CONTINUED): Likewise.
40754         (POLL_IN): Likewise.
40755         (POLL_OUT): Likewise.
40756         (POLL_MSG): Likewise.
40757         (POLL_ERR): Likewise.
40758         (POLL_PRI): Likewise.
40759         (POLL_HUP): Likewise.
40760         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
40761         (ILL_ILLOPN): Likewise.
40762         (ILL_ILLADR): Likewise.
40763         (ILL_ILLTRP): Likewise.
40764         (ILL_PRVOPC): Likewise.
40765         (ILL_PRVREG): Likewise.
40766         (ILL_COPROC): Likewise.
40767         (ILL_BADSTK): Likewise.
40768         (FPE_INTDIV): Likewise.
40769         (FPE_INTOVF): Likewise.
40770         (FPE_FLTDIV): Likewise.
40771         (FPE_FLTOVF): Likewise.
40772         (FPE_FLTUND): Likewise.
40773         (FPE_FLTRES): Likewise.
40774         (FPE_FLTINV): Likewise.
40775         (FPE_FLTSUB): Likewise.
40776         (SEGV_MAPERR): Likewise.
40777         (SEGV_ACCERR): Likewise.
40778         (BUS_ADRALN): Likewise.
40779         (BUS_ADRERR): Likewise.
40780         (BUS_OBJERR): Likewise.
40781         (BUS_MCEERR_AR): Likewise.
40782         (BUS_MCEERR_AO): Likewise.
40783         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40784         (TRAP_TRACE): Likewise.
40785         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40786         __USE_XOPEN2K8].
40787         (CLD_KILLED): Likewise.
40788         (CLD_DUMPED): Likewise.
40789         (CLD_TRAPPED): Likewise.
40790         (CLD_STOPPED): Likewise.
40791         (CLD_CONTINUED): Likewise.
40792         (POLL_IN): Likewise.
40793         (POLL_OUT): Likewise.
40794         (POLL_MSG): Likewise.
40795         (POLL_ERR): Likewise.
40796         (POLL_PRI): Likewise.
40797         (POLL_HUP): Likewise.
40798         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
40799         Likewise.
40800         (ILL_ILLOPN): Likewise.
40801         (ILL_ILLADR): Likewise.
40802         (ILL_ILLTRP): Likewise.
40803         (ILL_PRVOPC): Likewise.
40804         (ILL_PRVREG): Likewise.
40805         (ILL_COPROC): Likewise.
40806         (ILL_BADSTK): Likewise.
40807         (ILL_BADIADDR): Likewise.
40808         (ILL_BREAK): Likewise.
40809         (FPE_INTDIV): Likewise.
40810         (FPE_INTOVF): Likewise.
40811         (FPE_FLTDIV): Likewise.
40812         (FPE_FLTOVF): Likewise.
40813         (FPE_FLTUND): Likewise.
40814         (FPE_FLTRES): Likewise.
40815         (FPE_FLTINV): Likewise.
40816         (FPE_FLTSUB): Likewise.
40817         (FPE_DECOVF): Likewise.
40818         (FPE_DECDIV): Likewise.
40819         (FPE_DECERR): Likewise.
40820         (FPE_INVASC): Likewise.
40821         (FPE_INVDEC): Likewise.
40822         (SEGV_MAPERR): Likewise.
40823         (SEGV_ACCERR): Likewise.
40824         (SEGV_PSTKOVF): Likewise.
40825         (BUS_ADRALN): Likewise.
40826         (BUS_ADRERR): Likewise.
40827         (BUS_OBJERR): Likewise.
40828         (BUS_MCEERR_AR): Likewise.
40829         (BUS_MCEERR_AO): Likewise.
40830         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40831         (TRAP_TRACE): Likewise.
40832         (TRAP_BRANCH): Likewise.
40833         (TRAP_HWBKPT): Likewise.
40834         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40835         __USE_XOPEN2K8].
40836         (CLD_KILLED): Likewise.
40837         (CLD_DUMPED): Likewise.
40838         (CLD_TRAPPED): Likewise.
40839         (CLD_STOPPED): Likewise.
40840         (CLD_CONTINUED): Likewise.
40841         (POLL_IN): Likewise.
40842         (POLL_OUT): Likewise.
40843         (POLL_MSG): Likewise.
40844         (POLL_ERR): Likewise.
40845         (POLL_PRI): Likewise.
40846         (POLL_HUP): Likewise.
40847         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
40848         (ILL_ILLOPN): Likewise.
40849         (ILL_ILLADR): Likewise.
40850         (ILL_ILLTRP): Likewise.
40851         (ILL_PRVOPC): Likewise.
40852         (ILL_PRVREG): Likewise.
40853         (ILL_COPROC): Likewise.
40854         (ILL_BADSTK): Likewise.
40855         (FPE_INTDIV): Likewise.
40856         (FPE_INTOVF): Likewise.
40857         (FPE_FLTDIV): Likewise.
40858         (FPE_FLTOVF): Likewise.
40859         (FPE_FLTUND): Likewise.
40860         (FPE_FLTRES): Likewise.
40861         (FPE_FLTINV): Likewise.
40862         (FPE_FLTSUB): Likewise.
40863         (SEGV_MAPERR): Likewise.
40864         (SEGV_ACCERR): Likewise.
40865         (BUS_ADRALN): Likewise.
40866         (BUS_ADRERR): Likewise.
40867         (BUS_OBJERR): Likewise.
40868         (BUS_MCEERR_AR): Likewise.
40869         (BUS_MCEERR_AO): Likewise.
40870         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40871         (TRAP_TRACE): Likewise.
40872         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40873         __USE_XOPEN2K8].
40874         (CLD_KILLED): Likewise.
40875         (CLD_DUMPED): Likewise.
40876         (CLD_TRAPPED): Likewise.
40877         (CLD_STOPPED): Likewise.
40878         (CLD_CONTINUED): Likewise.
40879         (POLL_IN): Likewise.
40880         (POLL_OUT): Likewise.
40881         (POLL_MSG): Likewise.
40882         (POLL_ERR): Likewise.
40883         (POLL_PRI): Likewise.
40884         (POLL_HUP): Likewise.
40885         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
40886         (ILL_ILLOPN): Likewise.
40887         (ILL_ILLADR): Likewise.
40888         (ILL_ILLTRP): Likewise.
40889         (ILL_PRVOPC): Likewise.
40890         (ILL_PRVREG): Likewise.
40891         (ILL_COPROC): Likewise.
40892         (ILL_BADSTK): Likewise.
40893         (FPE_INTDIV): Likewise.
40894         (FPE_INTOVF): Likewise.
40895         (FPE_FLTDIV): Likewise.
40896         (FPE_FLTOVF): Likewise.
40897         (FPE_FLTUND): Likewise.
40898         (FPE_FLTRES): Likewise.
40899         (FPE_FLTINV): Likewise.
40900         (FPE_FLTSUB): Likewise.
40901         (SEGV_MAPERR): Likewise.
40902         (SEGV_ACCERR): Likewise.
40903         (BUS_ADRALN): Likewise.
40904         (BUS_ADRERR): Likewise.
40905         (BUS_OBJERR): Likewise.
40906         (BUS_MCEERR_AR): Likewise.
40907         (BUS_MCEERR_AO): Likewise.
40908         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40909         (TRAP_TRACE): Likewise.
40910         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40911         __USE_XOPEN2K8].
40912         (CLD_KILLED): Likewise.
40913         (CLD_DUMPED): Likewise.
40914         (CLD_TRAPPED): Likewise.
40915         (CLD_STOPPED): Likewise.
40916         (CLD_CONTINUED): Likewise.
40917         (POLL_IN): Likewise.
40918         (POLL_OUT): Likewise.
40919         (POLL_MSG): Likewise.
40920         (POLL_ERR): Likewise.
40921         (POLL_PRI): Likewise.
40922         (POLL_HUP): Likewise.
40923         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
40924         (ILL_ILLOPN): Likewise.
40925         (ILL_ILLADR): Likewise.
40926         (ILL_ILLTRP): Likewise.
40927         (ILL_PRVOPC): Likewise.
40928         (ILL_PRVREG): Likewise.
40929         (ILL_COPROC): Likewise.
40930         (ILL_BADSTK): Likewise.
40931         (FPE_INTDIV): Likewise.
40932         (FPE_INTOVF): Likewise.
40933         (FPE_FLTDIV): Likewise.
40934         (FPE_FLTOVF): Likewise.
40935         (FPE_FLTUND): Likewise.
40936         (FPE_FLTRES): Likewise.
40937         (FPE_FLTINV): Likewise.
40938         (FPE_FLTSUB): Likewise.
40939         (SEGV_MAPERR): Likewise.
40940         (SEGV_ACCERR): Likewise.
40941         (BUS_ADRALN): Likewise.
40942         (BUS_ADRERR): Likewise.
40943         (BUS_OBJERR): Likewise.
40944         (BUS_MCEERR_AR): Likewise.
40945         (BUS_MCEERR_AO): Likewise.
40946         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40947         (TRAP_TRACE): Likewise.
40948         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40949         __USE_XOPEN2K8].
40950         (CLD_KILLED): Likewise.
40951         (CLD_DUMPED): Likewise.
40952         (CLD_TRAPPED): Likewise.
40953         (CLD_STOPPED): Likewise.
40954         (CLD_CONTINUED): Likewise.
40955         (POLL_IN): Likewise.
40956         (POLL_OUT): Likewise.
40957         (POLL_MSG): Likewise.
40958         (POLL_ERR): Likewise.
40959         (POLL_PRI): Likewise.
40960         (POLL_HUP): Likewise.
40961         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
40962         (ILL_ILLOPN): Likewise.
40963         (ILL_ILLADR): Likewise.
40964         (ILL_ILLTRP): Likewise.
40965         (ILL_PRVOPC): Likewise.
40966         (ILL_PRVREG): Likewise.
40967         (ILL_COPROC): Likewise.
40968         (ILL_BADSTK): Likewise.
40969         (ILL_DBLFLT): Likewise.
40970         (ILL_HARDWALL): Likewise.
40971         (FPE_INTDIV): Likewise.
40972         (FPE_INTOVF): Likewise.
40973         (FPE_FLTDIV): Likewise.
40974         (FPE_FLTOVF): Likewise.
40975         (FPE_FLTUND): Likewise.
40976         (FPE_FLTRES): Likewise.
40977         (FPE_FLTINV): Likewise.
40978         (FPE_FLTSUB): Likewise.
40979         (SEGV_MAPERR): Likewise.
40980         (SEGV_ACCERR): Likewise.
40981         (BUS_ADRALN): Likewise.
40982         (BUS_ADRERR): Likewise.
40983         (BUS_OBJERR): Likewise.
40984         (BUS_MCEERR_AR): Likewise.
40985         (BUS_MCEERR_AO): Likewise.
40986         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40987         (TRAP_TRACE): Likewise.
40988         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40989         __USE_XOPEN2K8].
40990         (CLD_KILLED): Likewise.
40991         (CLD_DUMPED): Likewise.
40992         (CLD_TRAPPED): Likewise.
40993         (CLD_STOPPED): Likewise.
40994         (CLD_CONTINUED): Likewise.
40995         (POLL_IN): Likewise.
40996         (POLL_OUT): Likewise.
40997         (POLL_MSG): Likewise.
40998         (POLL_ERR): Likewise.
40999         (POLL_PRI): Likewise.
41000         (POLL_HUP): Likewise.
41001         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
41002         (ILL_ILLOPN): Likewise.
41003         (ILL_ILLADR): Likewise.
41004         (ILL_ILLTRP): Likewise.
41005         (ILL_PRVOPC): Likewise.
41006         (ILL_PRVREG): Likewise.
41007         (ILL_COPROC): Likewise.
41008         (ILL_BADSTK): Likewise.
41009         (FPE_INTDIV): Likewise.
41010         (FPE_INTOVF): Likewise.
41011         (FPE_FLTDIV): Likewise.
41012         (FPE_FLTOVF): Likewise.
41013         (FPE_FLTUND): Likewise.
41014         (FPE_FLTRES): Likewise.
41015         (FPE_FLTINV): Likewise.
41016         (FPE_FLTSUB): Likewise.
41017         (SEGV_MAPERR): Likewise.
41018         (SEGV_ACCERR): Likewise.
41019         (BUS_ADRALN): Likewise.
41020         (BUS_ADRERR): Likewise.
41021         (BUS_OBJERR): Likewise.
41022         (BUS_MCEERR_AR): Likewise.
41023         (BUS_MCEERR_AO): Likewise.
41024         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41025         (TRAP_TRACE): Likewise.
41026         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41027         __USE_XOPEN2K8].
41028         (CLD_KILLED): Likewise.
41029         (CLD_DUMPED): Likewise.
41030         (CLD_TRAPPED): Likewise.
41031         (CLD_STOPPED): Likewise.
41032         (CLD_CONTINUED): Likewise.
41033         (POLL_IN): Likewise.
41034         (POLL_OUT): Likewise.
41035         (POLL_MSG): Likewise.
41036         (POLL_ERR): Likewise.
41037         (POLL_PRI): Likewise.
41038         (POLL_HUP): Likewise.
41039         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
41040         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
41042         [BZ #16670]
41043         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
41044         before #include of <time.h>.
41045         [!__USE_XOPEN2K] (__need_timespec): Likewise.
41046         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
41047         (test-xfail-UNIX98/sched.h/conform): Likewise.
41049 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41051         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
41052         error absence of trapping exception support.
41053         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
41055 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
41057         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
41058         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
41059         * timezone/Makefile (testdata): Move definition above include of
41060         Rules.
41061         (test-zones): New variable.
41062         (tests-special): Add zone files.
41063         (build-testdata): Use $(evaluate-test).
41065         * elf/Makefile (tests-special): Rename tests to end with .out.
41066         ($(objpfx)noload-mem): Likewise.
41067         ($(objpfx)tst-leaks1-mem): Likewise.
41068         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
41069         * iconv/Makefile (xtests-special): Change test-iconvconfig to
41070         $(objpfx)test-iconvconfig.out.
41071         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
41072         set -e inside subshell and redirect output to file.
41073         * iconvdata/Makefile (generated): Rename tests to end with .out.
41074         Correct type.
41075         (tests-special): Rename tests to end with .out.
41076         ($(objpfx)mtrace-tst-loading): Likewise.
41077         * intl/Makefile (generated): Likewise.
41078         (tests-special): Likewise.
41079         ($(objpfx)mtrace-tst-gettext): Likewise.
41080         * misc/Makefile (generated): Likewise.
41081         (tests-special): Likewise.
41082         ($(objpfx)tst-error1-mem): Likewise.
41083         * nptl/Makefile (tests-special): Likewise.
41084         ($(objpfx)tst-stack3-mem): Likewise.
41085         (generated): Likewise.
41086         * posix/Makefile (generated): Likewise.
41087         (tests-special): Likewise.
41088         (xtests-special): Likewise.
41089         ($(objpfx)tst-fnmatch-mem): Likewise.
41090         ($(objpfx)bug-regex2-mem): Likewise.
41091         ($(objpfx)bug-regex14-mem): Likewise.
41092         ($(objpfx)bug-regex21-mem): Likewise.
41093         ($(objpfx)bug-regex31-mem): Likewise.
41094         ($(objpfx)tst-vfork3-mem): Likewise.
41095         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
41096         ($(objpfx)tst-pcre-mem): Likewise.
41097         ($(objpfx)tst-boost-mem): Likewise.
41098         ($(objpfx)bug-ga2-mem): Likewise.
41099         ($(objpfx)bug-glob2-mem): Likewise.
41100         * resolv/Makefile (generate): Likewise.
41101         (tests-special): Likewise.
41102         (xtests-special): Likewise.
41103         (generated): Likewise.
41104         ($(objpfx)mtrace-tst-leaks): Likewise.
41105         ($(objpfx)mtrace-tst-leaks2): Likewise.
41107         * scripts/merge-test-results.sh: New file.
41108         * Makefile (tests-special-notdir): New variable.
41109         (tests): Run merge-test-results.sh.
41110         (xtests): Likewise.
41111         * Rules (tests-special-notdir): New variable.
41112         (xtests-special-notdir): Likewise.
41113         (tests): Run merge-test-results.sh
41114         (xtests): Likewise.
41116         * Makeconfig (test-xfail-name): New variable.
41117         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
41118         compute variable name for expected failures.
41119         * conform/Makefile (conformtest-headers-data): New variable.
41120         (conformtest-standards): Likewise.
41121         (conformtest-headers-ISO): Likewise.
41122         (conformtest-headers-ISO99): Likewise.
41123         (conformtest-headers-ISO11): Likewise.
41124         (conformtest-headers-POSIX): Likewise.
41125         (conformtest-headers-XPG3): Likewise.
41126         (conformtest-headers-XPG4): Likewise.
41127         (conformtest-headers-UNIX98): Likewise.
41128         (conformtest-headers-XOPEN2K): Likewise.
41129         (conformtest-headers-POSIX2008): Likewise.
41130         (conformtest-headers-XOPEN2K8): Likewise.
41131         (conformtest-header-list-base): Likewise.
41132         (conformtest-header-list-tests): Likewise.
41133         (conformtest-header-base): Likewise.
41134         (conformtest-header-tests): Likewise.
41135         (tests-special): Add $(conformtest-header-list-tests).  If
41136         [$(fast-check) && !$(cross-compiling)], add
41137         $(conformtest-header-tests) instead of
41138         $(objpfx)run-conformtest.out.
41139         (generated): Add $(conformtest-header-list-base).  If
41140         [$(fast-check) && !$(cross-compiling)], add
41141         $(conformtest-header-base).  Remove previous setting.
41142         ($(conformtest-header-list-tests)): New target.
41143         (test-xfail-run-conformtest): Remove variable.
41144         ($(objpfx)run-conformtest.out): Remove target.
41145         (test-xfail-ISO11/complex.h/conform): New variable.
41146         (test-xfail-ISO11/stdalign.h/conform): Likewise.
41147         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
41148         (test-xfail-XPG3/varargs.h/conform): Likewise.
41149         (test-xfail-XPG4/varargs.h/conform): Likewise.
41150         (test-xfail-UNIX98/varargs.h/conform): Likewise.
41151         (test-xfail-XPG4/ndbm.h/conform): Likewise.
41152         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
41153         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
41154         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
41155         (test-xfail-XPG3/fcntl.h/conform): Likewise.
41156         (test-xfail-XPG3/ftw.h/conform): Likewise.
41157         (test-xfail-XPG3/grp.h/conform): Likewise.
41158         (test-xfail-XPG3/langinfo.h/conform): Likewise.
41159         (test-xfail-XPG3/limits.h/conform): Likewise.
41160         (test-xfail-XPG3/pwd.h/conform): Likewise.
41161         (test-xfail-XPG3/search.h/conform): Likewise.
41162         (test-xfail-XPG3/signal.h/conform): Likewise.
41163         (test-xfail-XPG3/stdio.h/conform): Likewise.
41164         (test-xfail-XPG3/stdlib.h/conform): Likewise.
41165         (test-xfail-XPG3/string.h/conform): Likewise.
41166         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
41167         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
41168         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
41169         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
41170         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
41171         (test-xfail-XPG3/sys/types.h/conform): Likewise.
41172         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
41173         (test-xfail-XPG3/termios.h/conform): Likewise.
41174         (test-xfail-XPG3/time.h/conform): Likewise.
41175         (test-xfail-XPG3/unistd.h/conform): Likewise.
41176         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
41177         (test-xfail-XPG4/fcntl.h/conform): Likewise.
41178         (test-xfail-XPG4/langinfo.h/conform): Likewise.
41179         (test-xfail-XPG4/netdb.h/conform): Likewise.
41180         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
41181         (test-xfail-XPG4/signal.h/conform): Likewise.
41182         (test-xfail-XPG4/stdio.h/conform): Likewise.
41183         (test-xfail-XPG4/stdlib.h/conform): Likewise.
41184         (test-xfail-XPG4/stropts.h/conform): Likewise.
41185         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
41186         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
41187         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
41188         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
41189         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
41190         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
41191         (test-xfail-XPG4/sys/time.h/conform): Likewise.
41192         (test-xfail-XPG4/sys/types.h/conform): Likewise.
41193         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
41194         (test-xfail-XPG4/termios.h/conform): Likewise.
41195         (test-xfail-XPG4/ucontext.h/conform): Likewise.
41196         (test-xfail-XPG4/unistd.h/conform): Likewise.
41197         (test-xfail-XPG4/utmpx.h/conform): Likewise.
41198         (test-xfail-POSIX/sched.h/conform): Likewise.
41199         (test-xfail-POSIX/signal.h/conform): Likewise.
41200         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
41201         (test-xfail-POSIX/tar.h/conform): Likewise.
41202         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
41203         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
41204         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
41205         (test-xfail-UNIX98/netdb.h/conform): Likewise.
41206         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
41207         (test-xfail-UNIX98/sched.h/conform): Likewise.
41208         (test-xfail-UNIX98/signal.h/conform): Likewise.
41209         (test-xfail-UNIX98/stdio.h/conform): Likewise.
41210         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
41211         (test-xfail-UNIX98/stropts.h/conform): Likewise.
41212         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
41213         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
41214         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
41215         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
41216         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
41217         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
41218         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
41219         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
41220         (test-xfail-UNIX98/unistd.h/conform): Likewise.
41221         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
41222         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
41223         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
41224         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
41225         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
41226         (test-xfail-XOPEN2K/math.h/conform): Likewise.
41227         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
41228         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
41229         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
41230         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
41231         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
41232         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
41233         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
41234         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
41235         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
41236         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
41237         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
41238         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
41239         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
41240         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
41241         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
41242         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
41243         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
41244         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
41245         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
41246         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
41247         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
41248         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
41249         (test-xfail-POSIX2008/signal.h/conform): Likewise.
41250         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
41251         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
41252         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
41253         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
41254         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
41255         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
41256         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
41257         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
41258         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
41259         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
41260         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
41261         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
41262         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
41263         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
41264         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
41265         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
41266         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
41267         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
41268         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
41269         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
41270         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
41271         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
41272         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
41273         (conformtest-cc-flags): Likewise.
41274         ($(conformtest-header-tests): New target.
41275         * conform/check-header-lists.sh: New file.
41276         * conform/run-conformtest.sh: Remove.
41278         * conform/conformtest.pl: Allow ' and \ in values given for
41279         constants.
41280         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
41281         inclusion.
41282         [POSIX] (sys/types.h): Likewise.
41283         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
41284         inclusion.
41285         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
41286         inclusion.
41287         * conform/data/signal.h-data (SIGIO): Remove expectation.
41288         [XPG3] (SIGBUS): Do not expect.
41289         [POSIX || XPG3] (SIGPOLL): Likewise.
41290         [POSIX || XPG3] (SIGPROF): Likewise.
41291         [POSIX || XPG3] (SIGSYS): Likewise.
41292         [XPG3] (SIGTRAP): Likewise.
41293         [POSIX || XPG3] (SIGURG): Likewise.
41294         [POSIX || XPG3] (SIGVTALRM): Likewise.
41295         [POSIX || XPG3] (SIGXCPU): Likewise.
41296         [POSIX || XPG3] (SIGXFSZ): Likewise.
41297         [POSIX] (SA_SIGINFO): Expect.
41298         [XPG3] (siginfo_t): Do not expect type or contents.
41299         [POSIX] (si_pid): Do not expect element.
41300         [POSIX] (si_uid): Likewise.
41301         [POSIX] (si_addr): Likewise.
41302         [POSIX] (si_status): Likewise.
41303         [POSIX] (si_band): Likewise.
41304         [XPG4] (si_value): Likewise.
41305         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
41306         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
41307         [POSIX || XPG3] (ILL_ILLADR): Likewise.
41308         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
41309         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
41310         [POSIX || XPG3] (ILL_PRVREG): Likewise.
41311         [POSIX || XPG3] (ILL_COPROC): Likewise.
41312         [POSIX || XPG3] (ILL_BADSTK): Likewise.
41313         [POSIX || XPG3] (FPE_INTDIV): Likewise.
41314         [POSIX || XPG3] (FPE_INTOVF): Likewise.
41315         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
41316         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
41317         [POSIX || XPG3] (FPE_FLTUND): Likewise.
41318         [POSIX || XPG3] (FPE_FLTRES): Likewise.
41319         [POSIX || XPG3] (FPE_FLTINV): Likewise.
41320         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
41321         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
41322         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
41323         [POSIX || XPG3] (BUS_ADRALN): Likewise.
41324         [POSIX || XPG3] (BUS_ADRERR): Likewise.
41325         [POSIX || XPG3] (BUS_OBJERR): Likewise.
41326         [POSIX || XPG3] (CLD_EXITED): Likewise.
41327         [POSIX || XPG3] (CLD_KILLED): Likewise.
41328         [POSIX || XPG3] (CLD_DUMPED): Likewise.
41329         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
41330         [POSIX || XPG3] (CLD_STOPPED): Likewise.
41331         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
41332         [POSIX || XPG3] (POLL_IN): Likewise.
41333         [POSIX || XPG3] (POLL_OUT): Likewise.
41334         [POSIX || XPG3] (POLL_MSG): Likewise.
41335         [POSIX || XPG3] (POLL_ERR): Likewise.
41336         [POSIX || XPG3] (POLL_PRI): Likewise.
41337         [POSIX || XPG3] (POLL_HUP): Likewise.
41338         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
41339         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
41340         (SIG*): Do not allow.
41341         [XPG3] (si_*): Likewise.
41342         [XPG3] (SI_*): Likewise.
41343         [XPG3 || XPG4] (sigev_*): Likewise.
41344         [XPG3 || XPG4] (SIGEV_*): Likewise.
41345         [XPG3 || XPG4] (sival_*): Likewise.
41346         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
41347         [POSIX || XPG3] (BUS_*): Likewise.
41348         [POSIX || XPG3] (CLD_*): Likewise.
41349         [POSIX || XPG3] (FPE_*): Likewise.
41350         [POSIX || XPG3] (ILL_*): Likewise.
41351         [POSIX || XPG3] (POLL_*): Likewise.
41352         [POSIX || XPG3] (SEGV_*): Likewise.
41353         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
41354         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
41355         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
41356         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
41357         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
41358         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
41359         Specify type and value.
41360         (TVERSLEN): Likewise.
41361         (REGTYPE): Likewise.
41362         (AREGTYPE): Likewise.
41363         (LNKTYPE): Likewise.
41364         (SYMTYPE): Likewise.
41365         (CHRTYPE): Likewise.
41366         (BLKTYPE): Likewise.
41367         (DIRTYPE): Likewise.
41368         (FIFOTYPE): Likewise.
41369         (CONTTYPE): Likewise.
41370         (TSUID): Likewise.
41371         (TSGID): Likewise.
41372         (TSVTX): Likewise.
41373         (TUREAD): Likewise.
41374         (TUWRITE): Likewise.
41375         (TUEXEC): Likewise.
41376         (TGREAD): Likewise.
41377         (TGWRITE): Likewise.
41378         (TGEXEC): Likewise.
41379         (TOREAD): Likewise.
41380         (TOWRITE): Likewise.
41381         (TOEXEC): Likewise.
41382         [POSIX] (TSVTX): Expect constant.
41384 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
41386         * Makefile (tests): Change dependencies to ....
41387         (tests-special): ... additions to this variable.
41388         (tests): Depend on $(tests-special).
41389         * Makerules (check-abi-list): New variable.
41390         (check-abi): Depend on $(check-abi-list).
41391         [$(subdir) = elf] (tests-special): Add
41392         $(objpfx)check-abi-libc.out.
41393         [$(build-shared) = yes && subdir] (tests-special): Add
41394         $(check-abi-list).
41395         [$(build-shared) = yes && subdir] (tests): Do not depend on
41396         check-abi.
41397         * Rules (tests): Depend on $(tests-special).
41398         (xtests): Depend on $(xtests-special).
41399         * catgets/Makefile (tests): Change dependencies to ....
41400         (tests-special): ... additions to this variable.
41401         * conform/Makefile (tests): Change dependencies to ....
41402         (tests-special): ... additions to this variable.
41403         * elf/Makefile (tests): Change dependencies to ....
41404         (tests-special): ... additions to this variable.
41405         * grp/Makefile (tests): Change dependencies to ....
41406         (tests-special): ... additions to this variable.
41407         * iconv/Makefile (xtests): Change dependencies to ....
41408         (xtests-special): ... additions to this variable.
41409         * iconvdata/Makefile (tests): Change dependencies to ....
41410         (tests-special): ... additions to this variable.
41411         * intl/Makefile (tests): Change dependencies to ....
41412         (tests-special): ... additions to this variable.  Also add
41413         $(objpfx)tst-gettext.out.
41414         * io/Makefile (tests): Change dependencies to ....
41415         (tests-special): ... additions to this variable.
41416         * libio/Makefile (tests): Change dependencies to ....
41417         (tests-special): ... additions to this variable.
41418         * malloc/Makefile (tests): Change dependencies to ....
41419         (tests-special): ... additions to this variable.
41420         * misc/Makefile (tests): Change dependencies to ....
41421         (tests-special): ... additions to this variable.
41422         * nptl/Makefile (tests): Change dependencies to ....
41423         (tests-special): ... additions to this variable.
41424         * nptl_db/Makefile (tests): Change dependencies to ....
41425         (tests-special): ... additions to this variable.
41426         * posix/Makefile (tests): Change dependencies to ....
41427         (tests-special): ... additions to this variable.
41428         (xtests): Change dependencies to ....
41429         (xtests-special): ... additions to this variable.
41430         * resolv/Makefile (tests): Change dependencies to ....
41431         (tests-special): ... additions to this variable.
41432         (xtests): Change dependencies to ....
41433         (xtests-special): ... additions to this variable.
41434         * stdio-common/Makefile (tests): Change dependencies to ....
41435         (tests-special): ... additions to this variable.
41436         (do-tst-unbputc): Remove target.
41437         (do-tst-printf): Likewise.
41438         * stdlib/Makefile (tests): Change dependencies to ....
41439         (tests-special): ... additions to this variable.
41440         * string/Makefile (tests): Change dependencies to ....
41441         (tests-special): ... additions to this variable.
41442         * sysdeps/x86/Makefile (tests): Change dependencies to ....
41443         (tests-special): ... additions to this variable.
41445         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
41446         whole file.
41447         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
41448         whole file.
41449         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
41450         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
41452         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
41453         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
41454         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
41455         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
41456         * conform/data/libgen.h-data [XPG3]: Likewise.
41457         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
41458         * conform/data/ndbm.h-data [XPG3]: Likewise.
41459         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
41460         * conform/data/netdb.h-data [XPG3]: Likewise.
41461         * conform/data/netinet/in.h-data [XPG3]: Likewise.
41462         * conform/data/poll.h-data [XPG3]: Likewise.
41463         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
41464         * conform/data/strings.h-data [XPG3]: Likewise.
41465         * conform/data/stropts.h-data [XPG3]: Likewise.
41466         * conform/data/sys/mman.h-data [XPG3]: Likewise.
41467         * conform/data/sys/resource.h-data [XPG3]: Likewise.
41468         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
41469         Likewise.
41470         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
41471         * conform/data/sys/time.h-data [XPG3]: Likewise.
41472         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
41473         * conform/data/sys/uio.h-data [XPG3]: Likewise.
41474         * conform/data/sys/un.h-data [XPG3]: Likewise.
41475         * conform/data/syslog.h-data [XPG3]: Likewise.
41476         * conform/data/ucontext.h-data [XPG3]: Likewise.
41477         * conform/data/utmpx.h-data [XPG3]: Likewise.
41478         * conform/data/varargs.h-data [UNIX98]: Enable file.
41480         * manual/Makefile (INSTALL_INFO): Remove variable setting.
41482         * math/libm-test.inc (struct test_f_f_data): Move expected results
41483         into structure for each rounding mode.
41484         (struct test_ff_f_data): Likewise.
41485         (struct test_ff_f_data_nexttoward): Likewise.
41486         (struct test_fi_f_data): Likewise.
41487         (struct test_fl_f_data): Likewise.
41488         (struct test_if_f_data): Likewise.
41489         (struct test_fff_f_data): Likewise.
41490         (struct test_c_f_data): Likewise.
41491         (struct test_f_f1_data): Likewise.
41492         (struct test_fF_f1_data): Likewise.
41493         (struct test_ffI_f1_data): Likewise.
41494         (struct test_c_c_data): Likewise.
41495         (struct test_cc_c_data): Likewise.
41496         (struct test_f_i_data): Likewise.
41497         (struct test_ff_i_data): Likewise.
41498         (struct test_f_l_data): Likewise.
41499         (struct test_f_L_data): Likewise.
41500         (struct test_fFF_11_data): Likewise.
41501         (RM_): New macro.
41502         (RM_FE_DOWNWARD): Likewise.
41503         (RM_FE_TONEAREST): Likewise.
41504         (RM_FE_TOWARDZERO): Likewise.
41505         (RM_FE_UPWARD): Likewise.
41506         (RUN_TEST_LOOP_f_f): Update references to expected results.
41507         (RUN_TEST_LOOP_2_f): Likewise.
41508         (RUN_TEST_LOOP_fff_f): Likewise.
41509         (RUN_TEST_LOOP_c_f): Likewise.
41510         (RUN_TEST_LOOP_f_f1): Likewise.
41511         (RUN_TEST_LOOP_fF_f1): Likewise.
41512         (RUN_TEST_LOOP_fI_f1): Likewise.
41513         (RUN_TEST_LOOP_ffI_f1): Likewise.
41514         (RUN_TEST_LOOP_c_c): Likewise.
41515         (RUN_TEST_LOOP_cc_c): Likewise.
41516         (RUN_TEST_LOOP_f_i): Likewise.
41517         (RUN_TEST_LOOP_f_i_tg): Likewise.
41518         (RUN_TEST_LOOP_ff_i_tg): Likewise.
41519         (RUN_TEST_LOOP_f_b): Likewise.
41520         (RUN_TEST_LOOP_f_b_tg): Likewise.
41521         (RUN_TEST_LOOP_f_l): Likewise.
41522         (RUN_TEST_LOOP_f_L): Likewise.
41523         (RUN_TEST_LOOP_fFF_11): Likewise.
41524         * math/gen-libm-test.pl (parse_args): Output four copies of
41525         expected results for each test.
41527         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41528         (__ASSUME_UTIMES): Remove.
41529         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41530         (__ASSUME_UTIMES): Likewise.
41532         * math/gen-auto-libm-tests.c: Update comment on output format.
41533         (output_for_one_input_case): Generate before-rounding and
41534         after-rounding information as conditions on output flags not
41535         floating-point format.
41536         * math/auto-libm-test-out: Regenerated.
41537         * math/gen-libm-test.pl (cond_value): New function.
41538         (or_cond_value): Use cond_value.
41539         (generate_testfile): Handle conditional exceptions.
41541 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
41543         * math/libm-test.inc (max_valid_error): New variable.
41544         (init_max_error): Take new argument specifying whether function
41545         results are exactly determined.  Set max_valid_error and bound
41546         other variables for errors based on this argument.
41547         (set_max_error): Do not record results above max_valid_error.
41548         (check_float_internal): Only accept errors of up to 0.5ulps if
41549         also at most max_valid_error.
41550         (START): Take new argument EXACT and pass it to init_max_error.
41551         (acos_test): Update call to START.
41552         (acos_test_tonearest): Likewise.
41553         (acos_test_towardzero): Likewise.
41554         (acos_test_downward): Likewise.
41555         (acos_test_upward): Likewise.
41556         (acosh_test): Likewise.
41557         (asin_test): Likewise.
41558         (asin_test_tonearest): Likewise.
41559         (asin_test_towardzero): Likewise.
41560         (asin_test_downward): Likewise.
41561         (asin_test_upward): Likewise.
41562         (asinh_test): Likewise.
41563         (atan_test): Likewise.
41564         (atanh_test): Likewise.
41565         (atan2_test): Likewise.
41566         (cabs_test): Likewise.
41567         (cacos_test): Likewise.
41568         (cacosh_test): Likewise.
41569         (carg_test): Likewise.
41570         (casin_test): Likewise.
41571         (casinh_test): Likewise.
41572         (catan_test): Likewise.
41573         (catanh_test): Likewise.
41574         (cbrt_test): Likewise.
41575         (ccos_test): Likewise.
41576         (ccosh_test): Likewise.
41577         (ceil_test): Likewise.
41578         (cexp_test): Likewise.
41579         (cimag_test): Likewise.
41580         (clog_test): Likewise.
41581         (clog10_test): Likewise.
41582         (conj_test): Likewise.
41583         (copysign_test): Likewise.
41584         (cos_test): Likewise.
41585         (cos_test_tonearest): Likewise.
41586         (cos_test_towardzero): Likewise.
41587         (cos_test_downward): Likewise.
41588         (cos_test_upward): Likewise.
41589         (cosh_test): Likewise.
41590         (cosh_test_tonearest): Likewise.
41591         (cosh_test_towardzero): Likewise.
41592         (cosh_test_downward): Likewise.
41593         (cosh_test_upward): Likewise.
41594         (cpow_test): Likewise.
41595         (cproj_test): Likewise.
41596         (creal_test): Likewise.
41597         (csin_test): Likewise.
41598         (csinh_test): Likewise.
41599         (csqrt_test): Likewise.
41600         (ctan_test): Likewise.
41601         (ctan_test_tonearest): Likewise.
41602         (ctan_test_towardzero): Likewise.
41603         (ctan_test_downward): Likewise.
41604         (ctan_test_upward): Likewise.
41605         (ctanh_test): Likewise.
41606         (ctanh_test_tonearest): Likewise.
41607         (ctanh_test_towardzero): Likewise.
41608         (ctanh_test_downward): Likewise.
41609         (ctanh_test_upward): Likewise.
41610         (erf_test): Likewise.
41611         (erfc_test): Likewise.
41612         (exp_test): Likewise.
41613         (exp_test_tonearest): Likewise.
41614         (exp_test_towardzero): Likewise.
41615         (exp_test_downward): Likewise.
41616         (exp_test_upward): Likewise.
41617         (exp10_test): Likewise.
41618         (exp10_test_tonearest): Likewise.
41619         (exp10_test_towardzero): Likewise.
41620         (exp10_test_downward): Likewise.
41621         (exp10_test_upward): Likewise.
41622         (pow10_test): Likewise.
41623         (exp2_test): Likewise.
41624         (expm1_test): Likewise.
41625         (expm1_test_tonearest): Likewise.
41626         (expm1_test_towardzero): Likewise.
41627         (expm1_test_downward): Likewise.
41628         (expm1_test_upward): Likewise.
41629         (fabs_test): Likewise.
41630         (fdim_test): Likewise.
41631         (floor_test): Likewise.
41632         (fma_test): Likewise.
41633         (fma_test_towardzero): Likewise.
41634         (fma_test_downward): Likewise.
41635         (fma_test_upward): Likewise.
41636         (fmax_test): Likewise.
41637         (fmin_test): Likewise.
41638         (fmod_test): Likewise.
41639         (fpclassify_test): Likewise.
41640         (frexp_test): Likewise.
41641         (hypot_test): Likewise.
41642         (ilogb_test): Likewise.
41643         (isfinite_test): Likewise.
41644         (finite_test): Likewise.
41645         (isgreater_test): Likewise.
41646         (isgreaterequal_test): Likewise.
41647         (isinf_test): Likewise.
41648         (isless_test): Likewise.
41649         (islessequal_test): Likewise.
41650         (islessgreater_test): Likewise.
41651         (isnan_test): Likewise.
41652         (isnormal_test): Likewise.
41653         (issignaling_test): Likewise.
41654         (isunordered_test): Likewise.
41655         (j0_test): Likewise.
41656         (j1_test): Likewise.
41657         (jn_test): Likewise.
41658         (ldexp_test): Likewise.
41659         (lgamma_test): Likewise.
41660         (gamma_test): Likewise.
41661         (lrint_test): Likewise.
41662         (lrint_test_tonearest): Likewise.
41663         (lrint_test_towardzero): Likewise.
41664         (lrint_test_downward): Likewise.
41665         (lrint_test_upward): Likewise.
41666         (llrint_test): Likewise.
41667         (llrint_test_tonearest): Likewise.
41668         (llrint_test_towardzero): Likewise.
41669         (llrint_test_downward): Likewise.
41670         (llrint_test_upward): Likewise.
41671         (log_test): Likewise.
41672         (log10_test): Likewise.
41673         (log1p_test): Likewise.
41674         (log2_test): Likewise.
41675         (logb_test): Likewise.
41676         (logb_test_downward): Likewise.
41677         (lround_test): Likewise.
41678         (llround_test): Likewise.
41679         (modf_test): Likewise.
41680         (nearbyint_test): Likewise.
41681         (nextafter_test): Likewise.
41682         (nexttoward_test): Likewise.
41683         (pow_test): Likewise.
41684         (pow_test_tonearest): Likewise.
41685         (pow_test_towardzero): Likewise.
41686         (pow_test_downward): Likewise.
41687         (pow_test_upward): Likewise.
41688         (remainder_test): Likewise.
41689         (drem_test): Likewise.
41690         (remainder_test_tonearest): Likewise.
41691         (drem_test_tonearest): Likewise.
41692         (remainder_test_towardzero): Likewise.
41693         (drem_test_towardzero): Likewise.
41694         (remainder_test_downward): Likewise.
41695         (drem_test_downward): Likewise.
41696         (remainder_test_upward): Likewise.
41697         (drem_test_upward): Likewise.
41698         (remquo_test): Likewise.
41699         (rint_test): Likewise.
41700         (rint_test_tonearest): Likewise.
41701         (rint_test_towardzero): Likewise.
41702         (rint_test_downward): Likewise.
41703         (rint_test_upward): Likewise.
41704         (round_test): Likewise.
41705         (scalb_test): Likewise.
41706         (scalbn_test): Likewise.
41707         (scalbln_test): Likewise.
41708         (signbit_test): Likewise.
41709         (sin_test): Likewise.
41710         (sin_test_tonearest): Likewise.
41711         (sin_test_towardzero): Likewise.
41712         (sin_test_downward): Likewise.
41713         (sin_test_upward): Likewise.
41714         (sincos_test): Likewise.
41715         (sinh_test): Likewise.
41716         (sinh_test_tonearest): Likewise.
41717         (sinh_test_towardzero): Likewise.
41718         (sinh_test_downward): Likewise.
41719         (sinh_test_upward): Likewise.
41720         (sqrt_test): Likewise.
41721         (sqrt_test_tonearest): Likewise.
41722         (sqrt_test_towardzero): Likewise.
41723         (sqrt_test_downward): Likewise.
41724         (sqrt_test_upward): Likewise.
41725         (tan_test): Likewise.
41726         (tan_test_tonearest): Likewise.
41727         (tan_test_towardzero): Likewise.
41728         (tan_test_downward): Likewise.
41729         (tan_test_upward): Likewise.
41730         (tanh_test): Likewise.
41731         (tgamma_test): Likewise.
41732         (trunc_test): Likewise.
41733         (y0_test): Likewise.
41734         (y1_test): Likewise.
41735         (yn_test): Likewise.
41736         (significand_test): Likewise.
41738         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
41739         individual tests in comment.
41740         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
41741         (prev_max_error): New variable.
41742         (prev_real_max_error): Likewise.
41743         (prev_imag_max_error): Likewise.
41744         (compare_ulp_data): Don't refer to test names in comment.
41745         (find_test_ulps): Remove function.
41746         (find_function_ulps): Likewise.
41747         (find_complex_function_ulps): Likewise.
41748         (init_max_error): Take function name as argument.  Look up ulps
41749         for that function.
41750         (print_ulps): Remove function.
41751         (print_max_error): Use prev_max_error instead of calling
41752         find_function_ulps.
41753         (print_complex_max_error): Use prev_real_max_error and
41754         prev_imag_max_error instead of calling find_complex_function_ulps.
41755         (check_float_internal): Take max_ulp parameter instead of calling
41756         find_test_ulps.  Don't call print_ulps.
41757         (check_float): Update call to check_float_internal.
41758         (check_complex): Update calls to check_float_internal.
41759         (START): Pass argument to init_max_error.
41760         * math/gen-libm-test.pl (%results): Don't include "kind"
41761         information.
41762         (parse_ulps): Don't handle ulps of individual tests.
41763         (print_ulps_file): Likewise.
41764         (output_ulps): Likewise.
41765         * math/README.libm-test: Update.
41766         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
41767         individual tests.
41768         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
41769         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
41770         * sysdeps/arm/libm-test-ulps: Likewise.
41771         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
41772         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
41773         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
41774         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
41775         * sysdeps/microblaze/libm-test-ulps: Likewise.
41776         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
41777         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
41778         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41779         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
41780         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41781         * sysdeps/sh/libm-test-ulps: Likewise.
41782         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41783         * sysdeps/tile/libm-test-ulps: Likewise.
41784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41786 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
41788         * math/libm-test.inc (print_complex_max_error): Check separately
41789         whether real and imaginary errors are within allowed range and
41790         pass 0 to print_complex_function_ulps instead of value within
41791         allowed range.
41793 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41795         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
41796         formatting.
41797         (get_handles_fopen): Likewise.
41798         (do_write_test): Likewise.
41800         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
41802         * libio/fileops.c (do_ftell): Use cached offset when
41803         available.
41804         * libio/iofwide.c (do_ftell_wide): Likewise.
41805         * libio/iofdopen.c (_IO_new_fdopen): Don't use
41806         _IO_file_attach.
41807         * libio/wfileops.c (_IO_fwide): Don't cache offset.
41809         [BZ #16532]
41810         * libio/libioP.h (get_file_offset): New function.
41811         * libio/fileops.c (get_file_offset): Likewise.
41812         (do_ftell): Likewise.
41813         (_IO_new_file_seekoff): Split out ftell logic.
41814         * libio/wfileops.c (do_ftell_wide): Likewise.
41815         (_IO_wfile_seekoff): Split out ftell logic.
41816         * libio/tst-ftell-active-handler.c: New test case.
41817         * libio/Makefile (tests): Add it.
41819 2014-03-03  Roland McGrath  <roland@hack.frob.com>
41821         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
41822         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
41824 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41826         [BZ #16639]
41827         * nscd/connections.c (nscd_init): Call do_exit.
41828         (start_threads): Call do_exit and notify_parent.
41829         (begin_drop_privileges): Call do_exit.
41830         (finish_drop_privileges): Likewise.
41831         * nscd/selinux.c (preserve_capabilities): Likewise.
41832         (install_real_capabilities): Likewise.
41833         (nscd_selinux_enabled): Likewise.
41834         (avc_create_thread): Likewise.
41835         (avc_alloc_lock): Likewise.
41836         (nscd_avc_init): Likewise.
41837         * nscd/nscd.c (parent_fd): New static variable.
41838         (main): Create a pipe between parent and child processes.
41839         Skip closing parent_fd.
41840         (monitor_child): New function.
41841         (do_exit): Likewise.
41842         (notify_parent): Likewise.
41843         * nscd/nscd.h (notify_parent): Likewise.
41844         (do_exit): Likewise.
41846 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
41848         * malloc/malloc.c (__libc_calloc): Revert last change.
41850 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41854 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41856         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
41857         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
41858         implementation.
41859         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41860         (__libc_ifunc_impl_list): Likewise.
41861         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
41862         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
41863         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
41864         * string/strrchr.c: Define STRRCHR.
41866 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
41868         * benchtest/bench-strtok.c (simple_strtok): Delete.
41869         (strtok_string): Use as benchmark.
41870         * string/strtok (STRTOK): New macro.
41872 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
41874         * manual/threads.texi: Add header and standard comments to all
41875         functions.
41877         * elf/dl-lookup.c (check_match): New function.
41878         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
41879         (do_lookup_x): Remove nested function check_match. Use non-nested
41880         function check_match.
41882 2014-02-28  Roland McGrath  <roland@hack.frob.com>
41884         * csu/Makefile (generated, before-compile): Use += rather than =.
41885         * catgets/Makefile (generated, generated-dirs): Likewise.
41886         * debug/Makefile (generated): Likewise.
41887         * dlfcn/Makefile (generated): Likewise.
41888         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
41889         * iconvdata/Makefile (before-compile, generated): Likewise.
41890         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
41891         * libio/Makefile (generated): Likewise.
41892         * malloc/Makefile (generated): Likewise.
41893         * manual/Makefile (generated, generated-dirs): Likewise.
41894         * misc/Makefile (generated): Likewise.
41895         * posix/Makefile (generated): Likewise.
41896         * resolv/Makefile (generated): Likewise.
41897         * sunrpc/Makefile (generated, generated-dirs): Likewise.
41898         * timezone/Makefile (generated, generated-dirs): Likewise.
41900         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
41902 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41904         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
41905         power8 implementation.
41906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
41907         file: POWER8 llround ifunc implementation.
41908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
41909         (__lllround): Add POWER8 implementation.
41910         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
41911         POWER8 llround implementation.
41913         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
41914         power8 implementation.
41915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
41916         file: POWER8 llrint ifunc implementation.
41917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
41918         Add POWER8 implementation.
41919         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
41920         POWER8 llrint implementation.
41922         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
41923         power8 implementation.
41924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
41925         file: POWER8 finite ifunc implementation.
41926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
41927         Add POWER8 implementation.
41928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
41929         Likewise.
41930         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
41931         POWER8 finite implementation.
41932         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
41934         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
41935         power8 implementation.
41936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
41937         file: POWER8 isinf ifunc implementation.
41938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
41939         POWER8 implementation.
41940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
41941         Likewise.
41942         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
41943         isinf implementation.
41944         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
41946         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
41947         (INIT_ARCH): Add hwcap2 initialization.
41948         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
41949         power8 implementation.
41950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
41951         file: POWER8 isnan ifunc implementation.
41952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
41953         POWER8 implementation.
41954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
41955         Likewise.
41956         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
41957         isnan implementation.
41958         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
41960 2014-02-27  Joey Ye  <joey.ye@arm.com>
41962         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
41963         (_FP_NANFRAC_Q): Set to zero.
41965 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41967         [BZ #16623]
41968         * math/auto-libm-test-in: New test inputs.
41969         * math/auto-libm-test-out: Regenerate.
41970         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
41971         and DA.
41972         (__cos): Likewise.
41973         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
41975 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
41977         * scripts/evaluate-test.sh: Take new argument indicating whether
41978         failure is expected.
41979         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
41980         indicating whether failure is expected.
41981         * conform/Makefile (test-xfail-run-conformtest): New variable.
41982         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
41983         level.
41984         * posix/Makefile (test-xfail-annexc): New variable.
41985         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
41987 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
41989         * argp/Makefile: Include Makeconfig immediately after defining
41990         subdir.
41991         * assert/Makefile: Likewise.
41992         * benchtests/Makefile: Likewise.
41993         * catgets/Makefile: Likewise.
41994         * conform/Makefile: Likewise.
41995         * crypt/Makefile: Likewise.
41996         * csu/Makefile: Likewise.
41997         (all): Remove target.
41998         * ctype/Makefile: Include Makeconfig immediately after defining
41999         subdir.
42000         * debug/Makefile: Likewise.
42001         * dirent/Makefile: Likewise.
42002         * dlfcn/Makefile: Likewise.
42003         * gmon/Makefile: Likewise.
42004         * gnulib/Makefile: Likewise.
42005         * grp/Makefile: Likewise.
42006         * gshadow/Makefile: Likewise.
42007         * hesiod/Makefile: Likewise.
42008         * hurd/Makefile: Likewise.
42009         (all): Remove target.
42010         * iconvdata/Makefile: Include Makeconfig immediately after
42011         defining subdir.
42012         * inet/Makefile: Likewise.
42013         * intl/Makefile: Likewise.
42014         * io/Makefile: Likewise.
42015         * libio/Makefile: Likewise.
42016         (all): Remove target.
42017         * locale/Makefile: Include Makeconfig immediately after defining
42018         subdir.
42019         * login/Makefile: Likewise.
42020         * mach/Makefile: Likewise.
42021         (all): Remove target.
42022         * malloc/Makefile: Include Makeconfig immediately after defining
42023         subdir.
42024         (all): Remove target.
42025         * manual/Makefile: Include Makeconfig immediately after defining
42026         subdir.
42027         * math/Makefile: Likewise.
42028         * misc/Makefile: Likewise.
42029         * nis/Makefile: Likewise.
42030         * nss/Makefile: Likewise.
42031         * po/Makefile: Likewise.
42032         (all): Remove target.
42033         * posix/Makefile: Include Makeconfig immediately after defining
42034         subdir.
42035         * pwd/Makefile: Likewise.
42036         * resolv/Makefile: Likewise.
42037         * resource/Makefile: Likewise.
42038         * rt/Makefile: Likewise.
42039         * setjmp/Makefile: Likewise.
42040         * shadow/Makefile: Likewise.
42041         * signal/Makefile: Likewise.
42042         * socket/Makefile: Likewise.
42043         * soft-fp/Makefile: Likewise.
42044         * stdio-common/Makefile: Likewise.
42045         * stdlib/Makefile: Likewise.
42046         * streams/Makefile: Likewise.
42047         * string/Makefile: Likewise.
42048         * sunrpc/Makefile: Likewise.
42049         (all): Remove target.
42050         * sysvipc/Makefile: Include Makeconfig immediately after defining
42051         subdir.
42052         * termios/Makefile: Likewise.
42053         * time/Makefile: Likewise.
42054         * timezone/Makefile: Likewise.
42055         (all): Remove target.
42056         * wcsmbs/Makefile: Include Makeconfig immediately after defining
42057         subdir.
42058         * wctype/Makefile: Likewise.
42060 2014-02-26  Steve Ellcey  <sellcey@mips.com>
42062         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
42063         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
42064         (libc_feholdexcept_setround_mips): Ditto.
42065         (libc_feholdsetround): New.
42066         (libc_feholdsetroundf): New.
42067         (libc_feholdsetroundl): New.
42068         (libc_feupdateenv_test_mips): New.
42069         (libc_feupdateenv_test): New.
42070         (libc_feupdateenv_testf): New.
42071         (libc_feupdateenv_testl): New.
42072         (libc_feresetround): New.
42073         (libc_feresetroundf): New.
42074         (libc_feresetroundl): New.
42075         (libc_fetestexcept_mips): New.
42076         (libc_fetestexcept): New.
42077         (libc_fetestexceptf): New.
42078         (libc_fetestexceptl): New.
42079         (HAVE_RM_CTX): New.
42080         (libc_feholdexcept_setround_mips_ctx): New.
42081         (libc_feholdexcept_setround_ctx): New.
42082         (libc_feholdexcept_setroundf_ctx): New.
42083         (libc_feholdexcept_setroundl_ctx): New.
42084         (libc_fesetenv_mips_ctx): New.
42085         (libc_fesetenv_ctx): New.
42086         (libc_fesetenv_ctxf): New.
42087         (libc_fesetenv_ctxl): New.
42088         (libc_feupdateenv_mips_ctx): New.
42089         (libc_feupdateenv_ctx): New.
42090         (libc_feupdateenvf_ctx): New.
42091         (libc_feupdateenvl_ctx): New.
42092         (libc_feholdsetround_mips_ctx): New.
42093         (libc_feholdsetround_ctx): New.
42094         (libc_feholdsetroundf_ctx): New.
42095         (libc_feholdsetroundl_ctx): New.
42096         (libc_feresetround_mips_ctx): New.
42097         (libc_feresetround_ctx): New.
42098         (libc_feresetroundf_ctx): New.
42099         (libc_feresetroundl_ctx): New.
42101 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
42103         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
42105         * manual/ipc.texi: New file.
42106         * manual/Makefile (chapters): Add ipc.
42107         * manual/job.texi: Add "Inter-Process Communication" to next.
42108         * manual/process.texi: Add "Inter-Process Communication" to prev.
42110 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42114 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
42116         * malloc/malloc.c (__libc_calloc): Simplify implementation.
42118         * manual/arith.texi: Fix spaces after sentences.
42119         * manual/charset.texi: Likewise.
42120         * manual/errno.texi: Likewise.
42121         * manual/install.texi: Likewise.
42122         * manual/llio.texi: Likewise.
42123         * manual/locale.texi: Likewise.
42124         * manual/maint.texi: Likewise.
42125         * manual/math.texi: Likewise.
42126         * manual/memory.texi: Likewise.
42127         * manual/message.texi: Likewise.
42128         * manual/probes.texi: Likewise.
42129         * manual/resource.texi: Likewise.
42130         * manual/signal.texi: Likewise.
42131         * manual/socket.texi: Likewise.
42132         * manual/stdio.texi: Likewise.
42133         * manual/string.texi: Likewise.
42134         * manual/time.texi: Likewise.
42135         * manual/users.texi: Likewise.
42137 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
42139         [BZ #16632]
42140         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
42141         _DEFAULT_SOURCE is defined.
42143 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
42144             Carlos O'Donell  <carlos@redhat.com>
42146         [BZ #16613]
42147         * elf/dl-tls.c (_dl_count_modids): New function.
42148         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
42149         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
42150         audit library and increment generation counter.
42151         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
42152         * elf/tst-audit9.c: New file.
42153         * elf/tst-auditmod9a.c: New file.
42154         * elf/tst-auditmod9b.c: New file.
42155         * elf/Makefile: Add rules to build and run tst-audit9.
42157 2014-02-25  Florian Weimer  <fweimer@redhat.com>
42159         [BZ #15347]
42160         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
42162 2014-02-25  Will Newton  <will.newton@linaro.org>
42164         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
42165         (__longjmp): Restore sp and lr before restoring callee
42166         saved registers.  Add longjmp and longjmp_target
42167         SystemTap probe point.
42168         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
42169         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
42170         Define to zero to match jmpbuf layout.
42171         * sysdeps/arm/setjmp.S: Include stap-probe.h.
42172         (__sigsetjmp): Save sp and lr before saving callee
42173         saved registers.  Add setjmp SystemTap probe point.
42175 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
42177         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42179 2014-02-24  Andreas Schwab  <schwab@suse.de>
42181         [BZ #15804]
42182         * elf/pldd.c (wait_for_ptrace_stop): New function.
42183         (main): Call it after attaching.
42185 2014-02-22  Roland McGrath  <roland@hack.frob.com>
42187         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
42188         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
42189         Versions files is now verboten.
42190         * hurd/Versions (libc: GLIBC_2.0):
42191         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
42192         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
42193         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
42194         * mach/Versions: Likewise.
42196         * csu/Versions: Remove unused %include.
42197         * resolv/Versions: Likewise.
42199 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
42201         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
42202         ($(objpfx)check-local-headers.out): Likewise.
42203         ($(objpfx)begin-end-check.out): Likewise.
42204         * Makerules (check-abi-%.out): Likewise.
42205         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
42206         ($(objpfx)test2.cat): Likewise.
42207         ($(objpfx)de/libc.cat): Likewise.
42208         ($(objpfx)test-gencat.out): Likewise.
42209         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
42210         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
42211         ($(objpfx)noload-mem): Likewise.
42212         ($(objpfx)tst-pathopt.out): Likewise.
42213         ($(objpfx)tst-rtld-load-self.out): Likewise.
42214         ($(objpfx)tst-array1-cmp.out): Likewise.
42215         ($(objpfx)tst-array1-static-cmp.out): Likewise.
42216         ($(objpfx)tst-array2-cmp.out): Likewise.
42217         ($(objpfx)tst-array3-cmp.out): Likewise.
42218         ($(objpfx)tst-array4-cmp.out): Likewise.
42219         ($(objpfx)tst-array5-cmp.out): Likewise.
42220         ($(objpfx)tst-array5-static-cmp.out): Likewise.
42221         ($(objpfx)check-textrel.out): Likewise.
42222         ($(objpfx)check-execstack.out): Likewise.
42223         ($(objpfx)check-localplt.out): Likewise.
42224         ($(objpfx)order2-cmp.out): Likewise.
42225         ($(objpfx)tst-leaks1-mem): Likewise.
42226         ($(objpfx)tst-leaks1-static-mem): Likewise.
42227         ($(objpfx)tst-initorder-cmp.out): Likewise.
42228         ($(objpfx)tst-initorder2-cmp.out): Likewise.
42229         ($(objpfx)tst-unused-dep.out): Likewise.
42230         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
42231         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
42232         * iconv/Makefile (test-iconvconfig): Likewise.
42233         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
42234         ($(objpfx)iconv-test.out): Likewise.
42235         ($(objpfx)tst-tables.out): Likewise.
42236         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
42237         ($(objpfx)tst-gettext.out): Likewise.
42238         ($(objpfx)tst-translit.out): Likewise.
42239         ($(objpfx)tst-gettext2.out): Likewise.
42240         ($(objpfx)tst-gettext4.out): Likewise.
42241         ($(objpfx)tst-gettext6.out): Likewise.
42242         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
42243         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
42244         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
42245         ($(objpfx)tst-fopenloc-mem.out): Likewise.
42246         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
42247         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
42248         * posix/Makefile ($(objpfx)globtest.out): Likewise.
42249         ($(objpfx)wordexp-tst.out): Likewise.
42250         ($(objpfx)annexc.out): Likewise.
42251         ($(objpfx)tst-fnmatch-mem): Likewise.
42252         ($(objpfx)bug-regex2-mem): Likewise.
42253         ($(objpfx)bug-regex14-mem): Likewise.
42254         ($(objpfx)bug-regex21-mem): Likewise.
42255         ($(objpfx)bug-regex31-mem): Likewise.
42256         ($(objpfx)tst-vfork3-mem): Likewise.
42257         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
42258         ($(objpfx)tst-pcre-mem): Likewise.
42259         ($(objpfx)tst-boost-mem): Likewise.
42260         ($(objpfx)tst-getconf.out): Likewise.
42261         ($(objpfx)bug-ga2-mem): Likewise.
42262         ($(objpfx)bug-glob2-mem): Likewise.
42263         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
42264         ($(objpfx)mtrace-tst-leaks2): Likewise.
42265         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
42266         ($(objpfx)tst-printf.out): Likewise.
42267         ($(objpfx)tst-setvbuf1.out): Likewise.
42268         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
42269         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
42270         ($(objpfx)tst-fmtmsg.out): Likewise.
42271         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
42272         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
42274         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
42275         * bits/sigaction.h [__USE_MISC]: Likewise.
42276         * bits/waitstatus.h: Update #endif comments.
42277         * ctype/ctype.h: Likewise.
42278         * dirent/dirent.h: Likewise.
42279         [__USE_MISC]: Remove redundant conditionals.
42280         * grp/grp.h: Update #endif comments.
42281         [__USE_GNU]: Remove redundant conditionals.
42282         [__USE_MISC]: Likewise.
42283         * inet/netinet/in.h [__USE_GNU]: Likewise.
42284         * io/sys/stat.h [__USE_MISC]: Likewise.
42285         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
42286         * libio/bits/stdio.h: Update #endif comments.
42287         [__USE_MISC]: Remove redundant conditionals.
42288         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
42289         * libio/stdio.h: Update #endif comments.
42290         [__USE_MISC]: Remove redundant conditionals.
42291         * math/bits/math-finite.h [__USE_MISC]: Likewise.
42292         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
42293         * math/math.h: Update #else and #endif comments.
42294         [__USE_MISC]: Remove redundant conditionals.
42295         * misc/sys/uio.h: Update #endif comments.
42296         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
42297         * posix/glob.h [__USE_MISC]: Likewise.
42298         * posix/sys/types.h: Update #endif comments.
42299         [__USE_MISC]: Remove redundant conditionals.
42300         * posix/sys/wait.h: Update #endif comments.
42301         [__USE_MISC]: Remove redundant conditionals.
42302         * posix/unistd.h: Update #endif comments.
42303         [__USE_MISC]: Remove redundant conditionals.
42304         * pwd/pwd.h [__USE_GNU]: Likewise.
42305         [__USE_MISC]: Likewise.
42306         * resolv/netdb.h [__USE_GNU]: Likewise.
42307         * signal/signal.h: Update #endif comments.
42308         [__USE_MISC]: Remove redundant conditionals.
42309         * stdlib/stdlib.h: Update #else and #endif comments.
42310         [__USE_MISC]: Remove redundant conditionals.
42311         [__USE_GNU]: Likewise.
42312         * string/bits/string2.h [__USE_MISC]: Likewise.
42313         * string/string.h: Update #endif comments.
42314         [__USE_MISC]: Remove redundant conditionals.
42315         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
42316         Likewise.
42317         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
42318         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
42319         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
42320         Likewise.
42321         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
42322         Likewise.
42323         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
42324         comments.
42325         [__USE_MISC]: Remove redundant conditionals.
42326         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
42327         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
42328         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
42329         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
42330         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
42331         Likewise.
42332         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
42333         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
42334         Likewise.
42335         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
42336         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
42337         Likewise.
42338         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
42339         Likewise.
42340         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
42341         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
42342         Likewise.
42343         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
42344         Likewise.
42345         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
42346         * sysdeps/x86/bits/string.h: Update #endif comments.
42347         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
42348         conditionals.
42349         * time/sys/time.h: Update #endif comments.
42350         * time/time.h: Likewise.
42351         [__USE_MISC]: Remove redundant conditionals.
42353 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
42355         [BZ #16600]
42356         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
42358 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
42360         * Versions.def (librt): Add GLIBC_2.17.
42362 2014-02-21  Adam Conrad  <adconrad@0c3.net>
42364         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
42365         synonym for _SYS_AUXV_H to allow direct inclusion.
42366         * sysdeps/sparc/bits/hwcap.h: Likewise.
42367         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
42368         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
42369         * sysdeps/sparc/sysdep.h: Likewise.
42371 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42373         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
42375 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42377         * benchtests/bench-strrchr.c: Print length instead of position.
42379 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
42381         [BZ #16611]
42382         * sysdeps/unix/sysv/linux/kernel-features.h
42383         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
42384         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
42385         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
42386         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
42387         Likewise.
42388         [__i386__ || __powerpc__ || __sh__ || __sparc__]
42389         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42390         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
42391         (__ASSUME_SENDMMSG): Define instead of using previous
42392         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
42393         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42394         (__ASSUME_SENDMMSG_SYSCALL): Define.
42395         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42396         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
42397         Likewise.
42398         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42399         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
42400         Likewise.
42401         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42402         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
42403         Likewise.
42404         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
42405         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
42406         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
42407         [__ASSUME_SENDMMSG]: Change conditionals to
42408         [__ASSUME_SENDMMSG_SOCKETCALL].
42409         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42410         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
42411         Define.
42412         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42413         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
42414         Likewise.
42415         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
42416         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
42417         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
42418         [!__ASSUME_SENDMMSG]: Change conditional to
42419         [!__ASSUME_SENDMMSG_SOCKETCALL].
42420         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42421         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
42422         Define.
42424         [BZ #16610]
42425         * sysdeps/unix/sysv/linux/kernel-features.h
42426         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
42427         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
42428         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
42429         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
42430         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
42431         [__i386__ || __sparc__]
42432         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42433         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
42434         (__ASSUME_RECVMMSG): Define instead of using previous
42435         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
42436         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42437         (__ASSUME_RECVMMSG_SYSCALL): Define.
42438         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42439         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42440         Likewise.
42441         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42442         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42443         Likewise.
42444         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42445         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42446         Likewise.
42447         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
42448         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
42449         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
42450         [__ASSUME_RECVMMSG]: Change condition to
42451         [__ASSUME_RECVMMSG_SOCKETCALL].
42452         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42453         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42454         Define.
42455         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
42456         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42457         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
42458         Likewise.
42459         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
42460         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
42461         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
42462         [!__ASSUME_RECVMMSG]: Change condition to
42463         [!__ASSUME_RECVMMSG_SOCKETCALL].
42464         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42465         (__ASSUME_RECVMMSG_SYSCALL): Define.
42467         [BZ #16609]
42468         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
42469         __powerpc__ || __s390__ || __sh__ || __sparc__]
42470         (__ASSUME_SOCKETCALL): Define.
42471         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
42472         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
42473         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
42474         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
42475         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42476         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
42477         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
42478         (__ASSUME_ACCEPT4): Define instead of using previous
42479         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
42480         __powerpc__ || __sparc__ || __s390__)] condition.
42481         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42482         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
42483         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
42484         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
42485         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
42486         [!__ASSUME_ACCEPT4]: Change condition to
42487         [!__ASSUME_ACCEPT4_SOCKETCALL].
42488         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42489         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
42490         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
42491         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42492         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
42493         __ASSUME_ACCEPT4_SYSCALL.
42494         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
42495         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
42496         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42497         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
42498         __ASSUME_ACCEPT4_SYSCALL.
42499         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
42500         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
42501         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
42502         [__ASSUME_ACCEPT4]: Change condition to
42503         [__ASSUME_ACCEPT4_SOCKETCALL].
42504         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42505         (__ASSUME_SOCKETCALL): Define.
42506         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
42507         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42508         (__ASSUME_SOCKETCALL): Define.
42509         (__ASSUME_ACCEPT4): Remove.
42510         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
42511         Define.
42512         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42513         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
42514         Likewise.
42515         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42516         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
42518         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
42519         macro.
42520         (HWCAP_ARM_LPAE): Likewise.
42521         (HWCAP_ARM_EVTSTRM): Likewise.
42522         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
42523         Add vpfd32, lpae and evtstrm.
42524         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
42525         Increase to 22.
42527 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
42529         * math/auto-libm-test-in: Add tests of clog10.
42530         * math/auto-libm-test-out: Regenerated.
42531         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
42532         * sysdeps/i386/fpu/libm-test-ulps: Update.
42533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42535 2014-02-18  Andreas Schwab  <schwab@suse.de>
42537         [BZ #16574]
42538         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
42539         Store non-zero if the second buffer was newly allocated.
42540         (send_dg): Likewise.
42541         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
42542         to send_vc and send_dg.
42543         (res_nsend): Pass NULL for ansp2_malloced.
42544         * resolv/res_query.c (__libc_res_nquery): Add parameter
42545         answerp2_malloced and pass it down to __libc_res_nsend.
42546         (res_nquery): Pass additional NULL to __libc_res_nquery.
42547         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
42548         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
42549         second answer buffer if answerp2_malloced was set.
42550         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
42551         (__libc_res_nquerydomain): Add parameter
42552         answerp2_malloced and pass it down to __libc_res_nquery.
42553         (res_nquerydomain): Pass additional NULL to
42554         __libc_res_nquerydomain.
42555         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
42556         additional NULL to __libc_res_nsend and __libc_res_nquery.
42557         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
42558         additional NULL to __libc_res_nsearch.
42559         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
42560         parameter of __libc_res_nsearch to check for separately allocated
42561         second buffer.
42562         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
42563         __libc_res_nquery.
42564         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
42565         additional NULL to __libc_res_nquery.
42566         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
42567         __libc_res_nsearch.
42568         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
42569         * include/resolv.h: Update prototypes of __libc_res_nquery,
42570         __libc_res_nsearch, __libc_res_nsend.
42572 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
42574         * math/auto-libm-test-in: Add tests of fma.
42575         * math/auto-libm-test-out: Regenerated.
42576         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
42577         (fma_towardzero_test_data): Likewise.
42578         (fma_downward_test_data): Likewise.
42579         (fma_upward_test_data): Likewise.
42580         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
42581         mpc_mode.
42582         (rounding_modes): Add values for new field.
42583         (func_calc_method): Add value mpfr_fff_f.
42584         (func_calc_desc): Add mpfr_fff_f union field.
42585         (test_function): Add field exact_args.
42586         (FUNC): Add macro argument EXACT_ARGS.
42587         (FUNC_mpfr_f_f): Update call to FUNC.
42588         (FUNC_mpfr_f_f): Likewise.
42589         (FUNC_mpfr_ff_f): Likewise.
42590         (FUNC_mpfr_if_f): Likewise.
42591         (FUNC_mpc_c_f): Likewise.
42592         (FUNC_mpc_c_c): Likewise.
42593         (test_functions): Add fma.  Update calls to FUNC.
42594         (handle_input_arg): Add argument exact_args.
42595         (add_test): Update call to handle_input_arg.
42596         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
42597         (output_for_one_input_case): Update call to calc_generic_results.
42598         Recalculate exact zero results in each rounding mode.
42600         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
42601         non-negative before setting low bit.
42602         * math/auto-libm-test-in: Mark one asin test possibly having
42603         spurious underflow.
42604         * math/auto-libm-test-out: Regenerated.
42605         * sysdeps/i386/fpu/libm-test-ulps: Update.
42606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42608 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
42610         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
42611         * sysdeps/unix/sysv/linux/microblaze: Move directory from
42612         ports/sysdeps/unix/sysv/linux/microblaze.
42613         * README: Add missing listing for microblaze*-*-linux-gnu.
42615 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
42617         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
42618         duplicate code
42620 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
42622         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
42623         * sysdeps/unix/sysv/linux/ia64: Move directory from
42624         ports/sysdeps/unix/sysv/linux/ia64.
42625         * README: Update listing for ia64-*-linux-gnu.
42627 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
42628             Joseph Myers  <joseph@codesourcery.com>
42630         * Makeconfig (test-name): New variable.
42631         (evaluate-test): Likewise.
42632         * Makerules (do-test-clean): Remove .test-result files.
42633         (common-mostlyclean): Likewise.
42634         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
42635         * scripts/evaluate-test.sh: New file.
42637 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
42639         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
42640         separate $(objpfx)tst-fopenloc-cmp.out and
42641         $(objpfx)tst-fopenloc-mem.out targets.
42642         (tests): Update dependencies.
42643         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
42644         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
42645         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
42646         (tst-rxspencer-no-utf8-ARGS): New variable.
42647         (tst-rxspencer-no-utf8-ENV): Likewise.
42648         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
42649         instead of $(objpfx)tst-rxspencer-mem.
42650         ($(objpfx)tst-rxspencer-mem): Change target to
42651         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
42652         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
42653         * posix/tst-rxspencer-no-utf8.c: New file.
42655         * elf/Makefile ($(objpfx)order.out): Remove rule.
42656         [$(run-built-tests) = yes] (tests): Depend on
42657         $(objpfx)order-cmp.out.
42658         ($(objpfx)order-cmp.out): New rule.
42659         [$(run-built-tests) = yes] (tests): Depend on
42660         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
42661         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
42662         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
42663         $(objpfx)tst-array5-static-cmp.out.
42664         ($(objpfx)tst-array1.out): Remove rule.
42665         ($(objpfx)tst-array1-cmp.out): New rule.
42666         ($(objpfx)tst-array1-static.out): Remove rule.
42667         ($(objpfx)tst-array1-static-cmp.out): New rule.
42668         ($(objpfx)tst-array2.out): Remove rule.
42669         ($(objpfx)tst-array2-cmp.out): New rule.
42670         ($(objpfx)tst-array3.out): Remove rule.
42671         ($(objpfx)tst-array3-cmp.out): New rule.
42672         ($(objpfx)tst-array4.out): Remove rule.
42673         ($(objpfx)tst-array4-cmp.out): New rule.
42674         ($(objpfx)tst-array5.out): Remove rule.
42675         ($(objpfx)tst-array5-cmp.out): New rule.
42676         ($(objpfx)tst-array5-static.out): Remove rule.
42677         ($(objpfx)tst-array5-static-cmp.out): New rule.
42678         [$(run-built-tests) = yes] (tests): Depend on
42679         $(objpfx)order2-cmp.out.
42680         ($(objpfx)order2.out): Remove rule.
42681         ($(objpfx)order2-cmp.out): New rule.
42682         ($(objpfx)tst-initorder.out): Remove rule.
42683         [$(run-built-tests) = yes] (tests): Depend on
42684         $(objpfx)tst-initorder-cmp.out.
42685         ($(objpfx)tst-initorder-cmp.out): New rule.
42686         ($(objpfx)tst-initorder2.out): Remove rule.
42687         [$(run-built-tests) = yes] (tests): Depend on
42688         $(objpfx)tst-initorder2-cmp.out.
42689         ($(objpfx)tst-initorder2-cmp.out): New rule.
42690         [$(run-built-tests) = yes] (tests): Depend on
42691         $(objpfx)tst-unused-dep-cmp.out.
42692         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
42693         ($(objpfx)tst-unused-dep-cmp.out): New rule.
42694         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
42695         on $(objpfx)tst-setvbuf1-cmp.out.
42696         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
42697         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
42698         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
42699         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
42700         ($(objpfx)tst-svc.out): Remove rule.
42701         ($(objpfx)tst-svc-cmp.out): New rule.
42703 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
42705         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
42706         * ctype/ctype.h [__USE_MISC]: Likewise.
42707         * dirent/dirent.h [__USE_MISC]: Likewise.
42708         * grp/grp.h [__USE_MISC]: Likewise.
42709         * io/fcntl.h [__USE_MISC]: Likewise.
42710         * io/sys/stat.h [__USE_MISC]: Likewise.
42711         * libio/stdio.h [__USE_MISC]: Likewise.
42712         * posix/unistd.h [__USE_MISC]: Likewise.
42713         * pwd/pwd.h [__USE_MISC]: Likewise.
42714         * stdlib.h [__USE_MISC]: Likewise.
42715         * string/bits/string2.h [__USE_MISC]: Likewise.
42716         * string/string.h [__USE_MISC]: Likewise.
42717         * time/time.h [__USE_MISC]: Likewise.
42719 2014-02-13  Andreas Schwab  <schwab@suse.de>
42721         [BZ #16574]
42722         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
42723         second answer buffer if it was separately allocated.
42725 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
42727         * sysdeps/mips/math-tests.h: Include <features.h>.
42728         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
42729         (ROUNDING_TESTS_long_double): Do not define.
42730         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
42731         (EXCEPTION_TESTS_long_double): Likewise.
42732         * sysdeps/mips/mips64/libm-test-ulps: Update.
42734         * include/features.h (__USE_BSD): Remove macro definitions.
42735         (__USE_SVID): Likewise.
42736         (_BSD_SOURCE): Likewise.
42737         (_SVID_SOURCE): Likewise.
42738         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
42739         from definition of _DEFAULT_SOURCE.
42740         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
42741         [_DEFAULT_SOURCE].
42742         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
42743         * bits/mman.h [__USE_BSD]: Likewise.
42744         * bits/termios.h [__USE_BSD]: Likewise.
42745         * bits/waitstatus.h [__USE_BSD]: Likewise.
42746         * ctype/ctype.h [__USE_SVID]: Likewise.
42747         * dirent/dirent.h [__USE_BSD]: Likewise.
42748         * grp/grp.h [__USE_SVID]: Likewise.
42749         [__USE_BSD]: Likewise.
42750         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
42751         * io/fcntl.h [__USE_BSD]: Likewise.
42752         * io/ftw.h [__USE_BSD]: Likewise.
42753         * io/sys/stat.h [__USE_BSD]: Likewise.
42754         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
42755         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
42756         * libio/stdio.h [__USE_SVID]: Likewise.
42757         [__USE_BSD]: Likewise.
42758         * math/math.h [__USE_SVID]: Likewise.
42759         [__USE_BSD]: Likewise.
42760         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
42761         * misc/bits/syslog.h [__USE_BSD]: Likewise.
42762         * misc/search.h [__USE_SVID]: Likewise.
42763         * misc/sys/mman.h [__USE_BSD]: Likewise.
42764         * misc/sys/syslog.h [__USE_BSD]: Likewise.
42765         * misc/sys/uio.h [__USE_BSD]: Likewise.
42766         * posix/bits/unistd.h [__USE_BSD]: Likewise.
42767         * posix/glob.h [__USE_BSD]: Likewise.
42768         * posix/regex.h [__USE_BSD]: Likewise.
42769         * posix/sys/types.h [__USE_BSD]: Likewise.
42770         [__USE_SVID]: Likewise.
42771         * posix/sys/utsname.h [__USE_SVID]: Likewise.
42772         * posix/sys/wait.h [__USE_BSD]: Likewise.
42773         [__USE_SVID]: Likewise.
42774         * posix/unistd.h [__USE_BSD]: Likewise.
42775         [__USE_SVID]: Likewise.
42776         * pwd/pwd.h [__USE_SVID]: Likewise.
42777         * resolv/netdb.h [__USE_BSD]: Likewise.
42778         * setjmp/setjmp.h [__USE_BSD]: Likewise.
42779         * signal/signal.h [__USE_BSD]: Likewise.
42780         [__USE_SVID]: Likewise.
42781         * socket/sys/socket.h [__USE_BSD]: Likewise.
42782         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
42783         * stdlib/stdlib.h [__USE_BSD]: Likewise.
42784         [__USE_SVID]: Likewise.
42785         * string/bits/string2.h [__USE_BSD]: Likewise.
42786         [__USE_SVID]: Likewise.
42787         * string/bits/string3.h [__USE_BSD]: Likewise.
42788         * string/endian.h [__USE_BSD]: Likewise.
42789         * string/string.h [__USE_SVID]: Likewise.
42790         [__USE_BSD]: Likewise.
42791         * string/strings.h [__USE_BSD]: Likewise.
42792         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
42793         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
42794         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
42795         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
42796         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
42797         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
42798         Likewise.
42799         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
42800         Likewise.
42801         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
42802         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
42803         Likewise.
42804         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
42805         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
42806         Likewise.
42807         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
42808         Likewise.
42809         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
42810         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
42811         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
42812         Likewise.
42813         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
42814         Likewise.
42815         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
42816         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
42817         * termios/termios.h [__USE_BSD]: Likewise.
42818         * time/sys/time.h [__USE_BSD]: Likewise.
42819         * time/time.h [__USE_BSD]: Likewise.
42820         [__USE_SVID]: Likewise.
42822         * Makefile (subdir_targets): Remove subdir_lint.out.
42824         * stdio-common/Makefile (do-tst-unbputc): Remove target.
42825         (do-tst-printf): Likewise.
42826         (tests): Depend directly on $(objpfx)tst-unbputc.out and
42827         $(objpfx)tst-printf.out.
42829         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
42831         * Makerules (check-abi-%): Change target to
42832         $(objpfx)check-abi-%.out.
42833         (check-abi target): Update dependencies.
42834         (check-abi-pattern variable): Redirect output of diff to $@.
42835         (check-abi variable): Likewise.
42836         * elf/Makefile (check-abi): Update dependencies.
42838         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
42839         unused.
42840         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
42841         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
42842         subnormal range.
42843         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
42844         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
42845         value has largest subnormal exponent.
42846         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
42847         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
42848         * sysdeps/aarch64/soft-fp/sfp-machine.h
42849         (_FP_TININESS_AFTER_ROUNDING): New macro.
42850         * sysdeps/alpha/soft-fp/sfp-machine.h
42851         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42852         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42853         Likewise.
42854         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
42855         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42856         * sysdeps/mips/soft-fp/sfp-machine.h
42857         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42858         * sysdeps/powerpc/soft-fp/sfp-machine.h
42859         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42860         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42861         Likewise.
42862         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42863         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42864         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42865         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42866         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42867         Likewise.
42869 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
42871         [BZ #16545]
42872         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
42873         model 1.
42875 2014-02-12  Richard Henderson  <rth@redhat.com>
42877         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
42878         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
42879         * sysdeps/unix/sysv/linux/alpha: Move directory from
42880         ports/sysdeps/unix/sysv/linux/alpha.
42881         * README: Update listing for alpha-*-linux-gnu.
42883 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
42885         * include/features.h: Update comment documenting feature test
42886         macros.
42887         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
42888         _DEFAULT_SOURCE.
42889         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
42890         (_SVID_SOURCE): Likewise.
42891         (_DEFAULT_SOURCE): Update description of default features.
42892         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
42893         with _GNU_SOURCE.
42894         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
42895         (S_ISVTX): Likewise.
42896         * manual/math.texi (Mathematical Constants): Likewise.
42897         * manual/signal.texi (Interrupted Primitives): Likewise.
42898         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
42899         * math/test-matherr.c (_SVID_SOURCE): Do not define.
42900         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
42901         Don't refer to _SVID_SOURCE in warning text.
42903         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42905         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
42906         already defined.
42907         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
42908         * sysdeps/mips/dl-lookup.c: Remove.
42909         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
42911 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42913         [BZ #16447]
42914         * math/auto-libm-test-in: Add testcase for expl.
42915         * math/auto-libm-test-out: Regenerate.
42916         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
42917         calculation of unsafe.
42918         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
42920 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42922         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
42923         * sysdeps/unix/sysv/linux/aarch64: Move directory from
42924         ports/sysdeps/unix/sysv/linux/aarch64.
42925         * README: Update listing for aarch64*-*-linux-gnu.
42927 2014-02-11  Will Newton  <will.newton@linaro.org>
42929         * manual/probes.texi (Mathematical Function Probes): Use
42930         "triggered" instead of "hit".
42932         * manual/probes.texi (Internal Probes): Add documentation
42933         of setjmp, longjmp and longjmp_target probes.
42935         * include/stap-probe.h: Add comment about probe argument
42936         format.
42938         * malloc/mtrace.c (attribute_hidden): Remove unused macro
42939         definition.  (tr_where, tr_freehook, tr_mallochook,
42940         tr_reallochook, tr_memalignhook): Use ANSI protoype.
42942 2014-02-11  David S. Miller  <davem@davemloft.net>
42944         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
42945         processing int_tests.
42947 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
42949         * sysdeps/mips: Move directory from ports/sysdeps/mips.
42950         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
42951         * sysdeps/unix/sysv/linux/mips: Move directory from
42952         ports/sysdeps/unix/sysv/linux/mips.
42953         * README: Update listing for mips-*-linux-gnu and
42954         mips64-*-linux-gnu.
42956 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
42958         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
42959         * sysdeps/unix/sysv/linux/m68k: Move directory from
42960         ports/sysdeps/unix/sysv/linux/m68k.
42961         * README: Update listing for m68k-*-linux-gnu.
42963 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
42965         * sysdeps/tile: Move directory from ports/sysdeps/tile.
42966         * sysdeps/unix/sysv/linux/generic: Move directory from
42967         ports/sysdeps/unix/sysv/linux/generic.
42968         * sysdeps/unix/sysv/linux/tile: Move directory from
42969         ports/sysdeps/unix/sysv/linux/tile.
42970         * README: Update listing for tile*-*-linux-gnu.
42972 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
42974         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
42975         __builtin_expect.
42976         * benchtests/bench-memmem.c (simple_memmem): Likewise.
42977         * catgets/open_catalog.c (__open_catalog): Likewise.
42978         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
42979         * debug/confstr_chk.c: Likewise.
42980         * debug/fread_chk.c (__fread_chk): Likewise.
42981         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
42982         * debug/getgroups_chk.c: Likewise.
42983         * debug/mbsnrtowcs_chk.c: Likewise.
42984         * debug/mbsrtowcs_chk.c: Likewise.
42985         * debug/mbstowcs_chk.c: Likewise.
42986         * debug/memcpy_chk.c: Likewise.
42987         * debug/memmove_chk.c: Likewise.
42988         * debug/mempcpy_chk.c: Likewise.
42989         * debug/memset_chk.c: Likewise.
42990         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
42991         * debug/strcat_chk.c (__strcat_chk): Likewise.
42992         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
42993         * debug/strncat_chk.c (__strncat_chk): Likewise.
42994         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
42995         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
42996         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
42997         * debug/wcpncpy_chk.c: Likewise.
42998         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
42999         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
43000         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
43001         * debug/wcsncpy_chk.c: Likewise.
43002         * debug/wcsnrtombs_chk.c: Likewise.
43003         * debug/wcsrtombs_chk.c: Likewise.
43004         * debug/wcstombs_chk.c: Likewise.
43005         * debug/wmemcpy_chk.c: Likewise.
43006         * debug/wmemmove_chk.c: Likewise.
43007         * debug/wmempcpy_chk.c: Likewise.
43008         * debug/wmemset_chk.c: Likewise.
43009         * dirent/scandirat.c (SCANDIRAT): Likewise.
43010         * dlfcn/dladdr1.c (dladdr1): Likewise.
43011         * dlfcn/dladdr.c (dladdr): Likewise.
43012         * dlfcn/dlclose.c (dlclose_doit): Likewise.
43013         * dlfcn/dlerror.c (__dlerror): Likewise.
43014         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
43015         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
43016         * dlfcn/dlopen.c (dlopen_doit): Likewise.
43017         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
43018         * dlfcn/dlsym.c (dlsym_doit): Likewise.
43019         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
43020         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
43021         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
43022         Likewise.
43023         * elf/dl-conflict.c: Likewise.
43024         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
43025         * elf/dl-dst.h: Likewise.
43026         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
43027         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
43028         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
43029         * elf/dl-init.c (call_init, _dl_init): Likewise.
43030         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
43031         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
43032         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
43033         Likewise.
43034         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
43035         Likewise.
43036         * elf/dl-minimal.c (__libc_memalign): Likewise.
43037         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
43038         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
43039         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
43040         * elf/dl-sym.c (do_sym): Likewise.
43041         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
43042         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
43043         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
43044         * elf/dl-writev.h (_dl_writev): Likewise.
43045         * elf/ldconfig.c (search_dir): Likewise.
43046         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
43047         (dl_main): Likewise.
43048         * elf/setup-vdso.h (setup_vdso): Likewise.
43049         * grp/compat-initgroups.c (compat_call): Likewise.
43050         * grp/fgetgrent.c (fgetgrent): Likewise.
43051         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
43052         * grp/putgrent.c (putgrent): Likewise.
43053         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
43054         Likewise.
43055         * hurd/hurdinit.c: Likewise.
43056         * iconvdata/8bit-gap.c (struct): Likewise.
43057         * iconvdata/ansi_x3.110.c : Likewise.
43058         * iconvdata/big5.c : Likewise.
43059         * iconvdata/big5hkscs.c : Likewise.
43060         * iconvdata/cp1255.c: Likewise.
43061         * iconvdata/cp1258.c : Likewise.
43062         * iconvdata/cp932.c : Likewise.
43063         * iconvdata/euc-cn.c: Likewise.
43064         * iconvdata/euc-jisx0213.c : Likewise.
43065         * iconvdata/euc-jp.c: Likewise.
43066         * iconvdata/euc-jp-ms.c : Likewise.
43067         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
43068         * iconvdata/gb18030.c : Likewise.
43069         * iconvdata/gbbig5.c (const): Likewise.
43070         * iconvdata/gbgbk.c: Likewise.
43071         * iconvdata/gbk.c : Likewise.
43072         * iconvdata/ibm1364.c : Likewise.
43073         * iconvdata/ibm930.c : Likewise.
43074         * iconvdata/ibm932.c: Likewise.
43075         * iconvdata/ibm933.c : Likewise.
43076         * iconvdata/ibm935.c : Likewise.
43077         * iconvdata/ibm937.c : Likewise.
43078         * iconvdata/ibm939.c : Likewise.
43079         * iconvdata/ibm943.c: Likewise.
43080         * iconvdata/iso_11548-1.c: Likewise.
43081         * iconvdata/iso-2022-cn.c : Likewise.
43082         * iconvdata/iso-2022-cn-ext.c : Likewise.
43083         * iconvdata/iso-2022-jp-3.c: Likewise.
43084         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
43085         * iconvdata/iso-2022-kr.c : Likewise.
43086         * iconvdata/iso646.c (gconv_end): Likewise.
43087         * iconvdata/iso_6937-2.c : Likewise.
43088         * iconvdata/iso_6937.c : Likewise.
43089         * iconvdata/iso8859-1.c: Likewise.
43090         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
43091         * iconvdata/shift_jisx0213.c : Likewise.
43092         * iconvdata/sjis.c : Likewise.
43093         * iconvdata/t.61.c : Likewise.
43094         * iconvdata/tcvn5712-1.c : Likewise.
43095         * iconvdata/tscii.c: Likewise.
43096         * iconvdata/uhc.c : Likewise.
43097         * iconvdata/unicode.c (gconv_end): Likewise.
43098         * iconvdata/utf-16.c (gconv_end): Likewise.
43099         * iconvdata/utf-32.c (gconv_end): Likewise.
43100         * iconvdata/utf-7.c (base64): Likewise.
43101         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
43102         * iconv/gconv_close.c (__gconv_close): Likewise.
43103         * iconv/gconv_open.c (__gconv_open): Likewise.
43104         * iconv/gconv_simple.c (internal_ucs4_loop_single)
43105         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
43106         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
43107         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
43108         (ucs4le_internal_loop_single): Likewise.
43109         * iconv/iconv.c (iconv): Likewise.
43110         * iconv/iconv_close.c: Likewise.
43111         * iconv/loop.c (SINGLE): Likewise.
43112         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
43113         * include/atomic.h: Likewise.
43114         * inet/inet6_option.c (option_alloc): Likewise.
43115         * intl/bindtextdom.c (set_binding_values): Likewise.
43116         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
43117         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
43118         * intl/localealias.c (read_alias_file): Likewise.
43119         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
43120         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
43121         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
43122         * libio/fmemopen.c (fmemopen): Likewise.
43123         * libio/iofgets.c (_IO_fgets): Likewise.
43124         * libio/iofgets_u.c (fgets_unlocked): Likewise.
43125         * libio/iofgetws.c (fgetws): Likewise.
43126         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
43127         * libio/iogetdelim.c (_IO_getdelim): Likewise.
43128         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
43129         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
43130         * locale/findlocale.c (_nl_find_locale): Likewise.
43131         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
43132         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
43133         Likewise.
43134         * locale/setlocale.c (setlocale): Likewise.
43135         * login/programs/pt_chown.c (main): Likewise.
43136         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
43137         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
43138         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
43139         (mmap, mmap64, mremap, munmap): Likewise.
43140         * math/e_exp2l.c: Likewise.
43141         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
43142         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
43143         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
43144         * math/s_catan.c (__catan): Likewise.
43145         * math/s_catanf.c (__catanf): Likewise.
43146         * math/s_catanh.c (__catanh): Likewise.
43147         * math/s_catanhf.c (__catanhf): Likewise.
43148         * math/s_catanhl.c (__catanhl): Likewise.
43149         * math/s_catanl.c (__catanl): Likewise.
43150         * math/s_ccosh.c (__ccosh): Likewise.
43151         * math/s_ccoshf.c (__ccoshf): Likewise.
43152         * math/s_ccoshl.c (__ccoshl): Likewise.
43153         * math/s_cexp.c (__cexp): Likewise.
43154         * math/s_cexpf.c (__cexpf): Likewise.
43155         * math/s_cexpl.c (__cexpl): Likewise.
43156         * math/s_clog10.c (__clog10): Likewise.
43157         * math/s_clog10f.c (__clog10f): Likewise.
43158         * math/s_clog10l.c (__clog10l): Likewise.
43159         * math/s_clog.c (__clog): Likewise.
43160         * math/s_clogf.c (__clogf): Likewise.
43161         * math/s_clogl.c (__clogl): Likewise.
43162         * math/s_csin.c (__csin): Likewise.
43163         * math/s_csinf.c (__csinf): Likewise.
43164         * math/s_csinh.c (__csinh): Likewise.
43165         * math/s_csinhf.c (__csinhf): Likewise.
43166         * math/s_csinhl.c (__csinhl): Likewise.
43167         * math/s_csinl.c (__csinl): Likewise.
43168         * math/s_csqrt.c (__csqrt): Likewise.
43169         * math/s_csqrtf.c (__csqrtf): Likewise.
43170         * math/s_csqrtl.c (__csqrtl): Likewise.
43171         * math/s_ctan.c (__ctan): Likewise.
43172         * math/s_ctanf.c (__ctanf): Likewise.
43173         * math/s_ctanh.c (__ctanh): Likewise.
43174         * math/s_ctanhf.c (__ctanhf): Likewise.
43175         * math/s_ctanhl.c (__ctanhl): Likewise.
43176         * math/s_ctanl.c (__ctanl): Likewise.
43177         * math/w_pow.c: Likewise.
43178         * math/w_powf.c: Likewise.
43179         * math/w_powl.c: Likewise.
43180         * math/w_scalb.c (sysv_scalb): Likewise.
43181         * math/w_scalbf.c (sysv_scalbf): Likewise.
43182         * math/w_scalbl.c (sysv_scalbl): Likewise.
43183         * misc/error.c (error_tail): Likewise.
43184         * misc/pselect.c (__pselect): Likewise.
43185         * nis/nis_callback.c (__nis_create_callback): Likewise.
43186         * nis/nis_call.c (__nisfind_server): Likewise.
43187         * nis/nis_creategroup.c (nis_creategroup): Likewise.
43188         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
43189         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
43190         * nis/nis_getservlist.c (nis_getservlist): Likewise.
43191         * nis/nis_lookup.c (nis_lookup): Likewise.
43192         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
43193         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
43194         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
43195         * nis/nis_xdr.c (xdr_endpoint): Likewise.
43196         * nis/nss_compat/compat-grp.c (getgrent_next_file)
43197         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
43198         * nis/nss_compat/compat-initgroups.c (add_group)
43199         (internal_getgrent_r): Likewise.
43200         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
43201         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
43202         * nis/nss_compat/compat-spwd.c (getspent_next_file)
43203         (internal_getspnam_r): Likewise.
43204         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
43205         (_nss_nis_getaliasbyname_r): Likewise.
43206         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
43207         (_nss_nis_getntohost_r): Likewise.
43208         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
43209         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
43210         (_nss_nis_getgrgid_r): Likewise.
43211         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
43212         (internal_nis_gethostent_r, internal_gethostbyname2_r)
43213         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
43214         (_nss_nis_gethostbyname4_r): Likewise.
43215         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
43216         (initgroups_netid): Likewise.
43217         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
43218         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
43219         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
43220         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
43221         (_nss_nis_getprotobynumber_r): Likewise.
43222         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
43223         (_nss_nis_getsecretkey): Likewise.
43224         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
43225         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
43226         (_nss_nis_getpwuid_r): Likewise.
43227         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
43228         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
43229         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
43230         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
43231         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
43232         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
43233         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
43234         Likewise.
43235         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
43236         (_nss_nisplus_getntohost_r): Likewise.
43237         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
43238         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
43239         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
43240         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
43241         Likewise.
43242         * nis/nss_nisplus/nisplus-initgroups.c
43243         (_nss_nisplus_initgroups_dyn): Likewise.
43244         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
43245         (_nss_nisplus_getnetbyaddr_r): Likewise.
43246         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
43247         (_nss_nisplus_getprotobynumber_r): Likewise.
43248         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
43249         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
43250         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
43251         Likewise.
43252         * nis/nss_nisplus/nisplus-service.c
43253         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
43254         (_nss_nisplus_getservbyport_r): Likewise.
43255         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
43256         (_nss_nisplus_getspnam_r): Likewise.
43257         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
43258         Likewise.
43259         * nscd/aicache.c (addhstaiX): Likewise.
43260         * nscd/cache.c (cache_search, prune_cache): Likewise.
43261         * nscd/connections.c (register_traced_file, send_ro_fd)
43262         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
43263         (main_loop_epoll): Likewise.
43264         * nscd/grpcache.c (addgrbyX): Likewise.
43265         * nscd/hstcache.c (addhstbyX): Likewise.
43266         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43267         * nscd/mem.c (gc, mempool_alloc): Likewise.
43268         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
43269         (addinnetgrX): Likewise.
43270         * nscd/nscd-client.h (__nscd_acquire_maplock)
43271         (__nscd_drop_map_ref): Likewise.
43272         * nscd/nscd_getai.c (__nscd_getai): Likewise.
43273         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
43274         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
43275         Likewise.
43276         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
43277         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43278         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
43279         (__nscd_get_map_ref): Likewise.
43280         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
43281         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
43282         Likewise.
43283         * nscd/pwdcache.c (addpwbyX): Likewise.
43284         * nscd/selinux.c (preserve_capabilities): Likewise.
43285         * nscd/servicescache.c (addservbyX): Likewise.
43286         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
43287         * posix/fnmatch.c (fnmatch): Likewise.
43288         * posix/getopt.c (_getopt_internal_r): Likewise.
43289         * posix/glob.c (glob, glob_in_dir): Likewise.
43290         * posix/wordexp.c (exec_comm_child): Likewise.
43291         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
43292         (getanswer_r, gaih_getanswer_slice): Likewise.
43293         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
43294         * resolv/res_init.c: Likewise.
43295         * resolv/res_mkquery.c (res_nmkquery): Likewise.
43296         * resolv/res_query.c (__libc_res_nquery): Likewise.
43297         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
43298         Likewise.
43299         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
43300         * stdio-common/perror.c (perror): Likewise.
43301         * stdio-common/printf_fp.c (___printf_fp): Likewise.
43302         * stdio-common/tmpnam.c (tmpnam): Likewise.
43303         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
43304         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
43305         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
43306         Likewise.
43307         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
43308         * stdlib/putenv.c (putenv): Likewise.
43309         * stdlib/setenv.c (__add_to_environ): Likewise.
43310         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
43311         * stdlib/strtol_l.c (INTERNAL): Likewise.
43312         * string/memmem.c (memmem): Likewise.
43313         * string/strerror.c (strerror): Likewise.
43314         * string/strnlen.c (__strnlen): Likewise.
43315         * string/test-memmem.c (simple_memmem): Likewise.
43316         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
43317         * sunrpc/pm_getport.c (__get_socket): Likewise.
43318         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
43319         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
43320         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
43321         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
43322         Likewise.
43323         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
43324         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
43325         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
43326         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
43327         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
43328         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
43329         Likewise.
43330         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
43331         Likewise.
43332         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
43333         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
43334         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
43335         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
43336         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
43337         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
43338         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
43339         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
43340         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
43341         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
43342         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43343         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
43344         Likewise.
43345         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
43346         Likewise.
43347         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
43348         Likewise.
43349         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
43350         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43351         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
43352         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
43353         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
43354         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
43355         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
43356         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
43357         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
43358         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
43359         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
43360         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43361         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
43362         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
43363         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43364         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
43365         Likewise.
43366         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
43367         Likewise.
43368         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
43369         Likewise.
43370         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
43371         Likewise.
43372         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43373         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43374         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
43375         Likewise.
43376         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
43377         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
43378         * sysdeps/posix/opendir.c (__opendirat): Likewise.
43379         * sysdeps/posix/sleep.c: Likewise.
43380         * sysdeps/posix/tempname.c: Likewise.
43381         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
43382         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
43383         Likewise.
43384         * sysdeps/powerpc/powerpc32/dl-machine.h
43385         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
43386         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
43387         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43388         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
43389         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
43390         Likewise.
43391         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
43392         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
43393         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
43394         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
43395         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
43396         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
43397         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
43398         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
43399         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43400         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
43401         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
43402         (elf_machine_lazy_rel): Likewise.
43403         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43404         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
43405         (elf_machine_lazy_rel): Likewise.
43406         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
43407         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
43408         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
43409         * sysdeps/unix/grantpt.c (grantpt): Likewise.
43410         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
43411         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
43412         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
43413         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43414         Likewise.
43415         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
43416         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
43417         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
43418         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
43419         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
43420         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
43421         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
43422         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
43423         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
43424         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
43425         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
43426         Likewise.
43427         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
43428         (__posix_fallocate64_l64): Likewise.
43429         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
43430         (posix_fallocate): Likewise.
43431         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
43432         Likewise.
43433         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43434         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
43435         (getifaddrs_internal): Likewise.
43436         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
43437         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
43438         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
43439         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
43440         * sysdeps/unix/sysv/linux/posix_fallocate64.c
43441         (__posix_fallocate64_l64): Likewise.
43442         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
43443         Likewise.
43444         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
43445         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
43446         (__get_clockfreq): Likewise.
43447         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
43448         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
43449         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
43450         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43451         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43452         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
43453         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
43454         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
43455         Likewise.
43456         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
43457         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
43458         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
43459         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
43460         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43461         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
43462         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
43463         Likewise.
43464         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43465         (posix_fallocate): Likewise.
43466         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43467         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
43468         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
43469         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
43470         (elf_machine_rela, elf_machine_rela_relative)
43471         (elf_machine_lazy_rel): Likewise.
43472         * time/asctime.c (asctime_internal): Likewise.
43473         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
43474         * time/tzset.c (__tzset_parse_tz): Likewise.
43475         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
43476         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
43477         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
43478         * wcsmbs/wcsmbsload.h: Likewise.
43480         [BZ #15894]
43481         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
43483         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
43484         (arena_get2): Remove THREAD_STATS conditionals.
43485         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
43486         (__malloc_stats, int): Likewise.
43488 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
43490         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
43491         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
43493         * manual/setjmp.texi: Fix typos/grammar errors.
43495         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
43496         Only return early when n is <= 0.  Delete unused return statement.
43498         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
43499         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
43500         * debug/tst-longjmp_chk3.c: New file.
43502         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
43503         (test_main): Replace code with set_fortify_handler call.
43504         * debug/test-strcpy_chk.c: Likewise.
43505         * debug/tst-chk1.c: Likewise.
43506         * debug/tst-longjmp_chk.c: Likewise.
43507         * test-skeleton.c: Include fcntl.h & paths.h
43508         (set_fortify_handler): Define.
43510         * debug/tst-longjmp_chk.c: Add header comment and include
43511         ../test-skeleton.c.
43512         (do_test): Mark static.
43513         (TEST_FUNCTION): Define.
43515         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
43516         (IP_PMTUDISC_INTERFACE): Likewise.
43517         (IP_MULTICAST_IF): Likewise.
43518         (IP_MULTICAST_TTL): Likewise.
43519         (IP_MULTICAST_LOOP): Likewise.
43520         (IP_ADD_MEMBERSHIP): Likewise.
43521         (IP_DROP_MEMBERSHIP): Likewise.
43522         (IP_UNBLOCK_SOURCE): Likewise.
43523         (IP_BLOCK_SOURCE): Likewise.
43524         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
43525         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
43526         (IP_MSFILTER): Likewise.
43527         (MCAST_JOIN_GROUP): Likewise.
43528         (MCAST_BLOCK_SOURCE): Likewise.
43529         (MCAST_UNBLOCK_SOURCE): Likewise.
43530         (MCAST_LEAVE_GROUP): Likewise.
43531         (MCAST_JOIN_SOURCE_GROUP): Likewise.
43532         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
43533         (MCAST_MSFILTER): Likewise.
43534         (IP_MULTICAST_ALL): Likewise.
43535         (IP_UNICAST_IF): Likewise.
43537         * timezone/Makefile: Delete $(have-ksh) check.
43538         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
43539         * timezone/tzselect.ksh: Add +x mode bits.
43541         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
43542         (ANON_INODE_FS_MAGIC): Likewise.
43543         (BDEVFS_MAGIC): Likewise.
43544         (BINFMTFS_MAGIC): Likewise.
43545         (BTRFS_TEST_MAGIC): Likewise.
43546         (CRAMFS_MAGIC_WEND): Likewise.
43547         (DEBUGFS_MAGIC): Likewise.
43548         (ECRYPTFS_SUPER_MAGIC): Likewise.
43549         (EXT3_SUPER_MAGIC): Likewise.
43550         (EXT4_SUPER_MAGIC): Likewise.
43551         (FUTEXFS_SUPER_MAGIC): Likewise.
43552         (HOSTFS_SUPER_MAGIC): Likewise.
43553         (HUGETLBFS_MAGIC): Likewise.
43554         (MINIX3_SUPER_MAGIC): Likewise.
43555         (MTD_INODE_FS_MAGIC): Likewise.
43556         (NILFS_SUPER_MAGIC): Likewise.
43557         (OPENPROM_SUPER_MAGIC): Likewise.
43558         (PIPEFS_MAGIC): Likewise.
43559         (PSTOREFS_MAGIC): Likewise.
43560         (QNX6_SUPER_MAGIC): Likewise.
43561         (RAMFS_MAGIC): Likewise.
43562         (REISERFS_SUPER_MAGIC_STRING): Likewise.
43563         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
43564         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
43565         (SECURITYFS_MAGIC): Likewise.
43566         (SELINUX_MAGIC): Likewise.
43567         (SMACK_MAGIC): Likewise.
43568         (SOCKFS_MAGIC): Likewise.
43569         (SQUASHFS_MAGIC): Likewise.
43570         (STACK_END_MAGIC): Likewise.
43571         (TMPFS_MAGIC): Likewise.
43572         (USBDEVICE_SUPER_MAGIC): Likewise.
43573         (V9FS_MAGIC): Likewise.
43574         (XENFS_SUPER_MAGIC): Likewise.
43575         (CRAMFS_MAGIC): Fix typo in comment.
43576         (EXT2_SUPER_MAGIC): Update comment.
43577         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
43579 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
43581         * sysdeps/arm: Move directory from ports/sysdeps/arm.
43582         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
43583         * sysdeps/unix/sysv/linux/arm: Move directory from
43584         ports/sysdeps/unix/sysv/linux/arm.
43585         * README: Update listing for arm-*-linux-gnueabi.
43587         * README: Remove mention of am33.
43589 2014-02-07  Roland McGrath  <roland@hack.frob.com>
43591         * bits/sigset.h (__sigemptyset): Use a statement expression rather
43592         than the comma operator, to avoid "rhs of comma has no effect"
43593         compiler warnings.
43594         (__sigfillset, __sigandset, __sigorset): Likewise.
43595         * include/signal.h (__sigemptyset): Likewise.
43596         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
43598 2014-02-07  Allan McRae  <allan@archlinux.org>
43600         * version.h (RELEASE): Set to "development".
43601         (VERSION): Set to "2.19.90"
43602         * NEWS: Add 2.20 section.
43604 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
43606         [BZ #16529]
43607         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
43609 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43611         * manual/contrib.texi: Update entry for Carlos O'Donell,
43612         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
43614 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
43616         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
43618         * sysdeps/unix/sysv/linux/kernel-features.h
43619         [__LINUX_KERNEL_VERSION >= 0x020621]
43620         (__ASSUME_PROC_PID_TASK_COMM): Define.
43622 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43624         [BZ #16398]
43625         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
43626         conversion when destination buffer does not have enough space.
43627         * libio/tst-ftell-partial-wide.c: New test case.
43628         * libio/Makefile (tests): Add tst-ftell-partial-wide.
43630         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
43631         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
43632         Leonard and Allan McRae.
43634 2014-02-04  David S. Miller  <davem@davemloft.net>
43636         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
43637         32-bit.
43639 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
43642         New file
43643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
43644         New file
43645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
43646         New file.
43647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
43648         New file.
43649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
43650         New file.
43651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
43652         New file.
43653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
43654         New file.
43655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
43656         New file.
43657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
43658         New file.
43659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
43660         New file.
43661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
43662         New file.
43663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
43664         New file.
43665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
43666         New file.
43668 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43670         * nptl/shlib-versions: Change powerpc*le start to 2.17.
43671         * shlib-versions: Likewise.
43673 2014-02-04  Roland McGrath  <roland@hack.frob.com>
43674             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43676         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
43677         (abilist-pattern): New variable, set to %-le.abilist.
43679         * Makerules (abilist-pattern): New variable.
43680         (vpath): Use $(abilist-pattern) in place of %.abilist.
43681         (check-abi-% pattern rule): Likewise.
43682         (check-abi, update-abi): Likewise.
43684 2014-02-04  Eric Wong  <normalperson@yhbt.net>
43686         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43688 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
43690         * manual/startup.texi: Add next, previous, and top entries for
43691         the `Program Arguments' and `Environment Variables' nodes.
43693 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
43695         * manual/macros.texi: Add comments before MTASC-safety macros.
43697         * manual/users.texi: Document MTASC-safety properties.
43699         * manual/threads.texi (pthread_key_create, pthread_key_delete)
43700         (pthread_getspecific, pthread_setspecific): Format with
43701         @deftypefun, and add @safety note.
43702         * manual/signal.texi: Move comments that analyze the above
43703         functions to their home place.
43705 2014-02-03  Allan McRae  <allan@archlinux.org>
43707         * po/sl.po: Update Slovenian translation from translation project.
43709 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
43711         * manual/time.texi (timegm): Add missing blank after @c.
43712         Reported by Joseph Myers <joseph@codesourcery.com>.
43714 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
43716         * manual/check-safety.sh: New.
43717         * manual/Makefile ($(objpfx)stamp-summary): Run it.
43719         * manual/terminal.texi: Document MTASC-safety properties.
43721         * manual/filesys.texi: Document MTASC-safety properties.
43723         * manual/errno.texi: Document MTASC-safety properties.
43725         * manual/intro.texi: Document safety identifiers and
43726         conditionals.
43728         * manual/string.texi (wcstok): Fix prototype.
43729         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
43731         * manual/time.texi: Document MTASC-safety properties.
43733         * manual/string.texi: Document MTASC-safety properties.
43735         * manual/threads.texi: Document MTASC-safety properties.
43737         * manual/stdio.texi: Document MTASC-safety properties.
43739         * manual/syslog.texi: Document MTASC-safety properties.
43741         * manual/sysinfo.texi: Document MTASC-safety properties.
43743         * manual/startup.texi: Document MTASC-safety properties.
43745         * manual/socket.texi: Document MTASC-safety properties.
43747         * manual/signal.texi: Document MTASC-safety properties.
43749 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
43751         * manual/setjmp.texi: Document MTASC-safety properties.
43753         * manual/search.texi: Document MTASC-safety properties.
43755         * manual/resource.texi: Document MTASC-safety properties.
43757         * manual/process.texi: Document MTASC-safety properties.
43759         * manual/platform.texi: Document MTASC-safety properties.
43761         * manual/pipe.texi: Document MTASC-safety properties.
43763         * manual/pattern.texi: Document MTASC-safety properties.
43765         * manual/message.texi: Document MTASC-safety properties.
43767         [BZ #12751]
43768         * manual/memory.texi: Document MTASC-safety properties.
43770         * manual/math.texi: Document MTASC-safety properties.
43772         * manual/locale.texi: Document MTASC-safety properties.
43774         * manual/llio.texi: Document MTASC-safety properties.
43776         * manual/libdl.texi: New.
43778         * manual/lang.texi: Document MTASC-safety properties.
43780         * manual/job.texi: Document MTASC-safety properties.
43782         * manual/getopt.texi: Document MTASC-safety properties.
43784         * manual/ctype.texi: Document MTASC-safety properties.
43786 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
43788         [BZ #16046]
43789         * csu/libc-tls.c (static_map): Remove variable.
43790         (__libc_setup_tls): Use main executable's link map for TLS data.
43791         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
43792         casing for LM_ID_BASE and GL(dl_nns).
43793         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
43794         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
43795         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
43796         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
43797         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
43798         member.
43799         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
43800         l_phnum members.
43802 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
43804         * manual/debug.texi: Document MTASC-safety properties.
43806 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
43808         [BZ #16510]
43809         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
43810         of __x86_64__ when disabling x87 inline functions.
43812 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
43814         * manual/charset.texi: Document MTASC-safety properties.
43816         * manual/crypt.texi: Document MTASC-safety properties.
43818         * manual/conf.texi: Document MTASC-safety properties.
43820         * manual/arith.texi: Document MTASC-safety properties.
43822         * manual/argp.texi: Document MTASC-safety properties.
43824         * manual/macros.texi: Introduce macros to document multi
43825         thread, asynchronous signal and asynchronous cancellation
43826         safety properties.
43827         * manual/intro.texi: Introduce the properties themselves.
43829 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43831         * sysdeps/sh/sh4/Makefile: New file.
43833 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
43835         * math/gen-libm-test.pl ($srcdir): New variable.
43836         ($auto_input): Use it.
43838 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43840         [BZ #16506]
43841         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
43842         access beyond array bounds when parsing netgroups file.
43844         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
43845         the old buffer before realloc.
43847 2014-01-27  Allan McRae  <allan@archlinux.org>
43849         * po/fr.po: Update French translation from translation project.
43851 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43853         * sysdeps/sh/libm-test-ulps: Regenerate.
43855 2014-01-24  David S. Miller  <davem@davemloft.net>
43857         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
43859 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43861         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
43862         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
43864 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43866         [BZ #16474]
43867         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
43868         string pointers after reallocation.
43870 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43872         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
43873         __SH4A__ instead of __SH_FPU_ANY__.
43875 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43877         * sysdeps/sh/fpu_control.h: New file.
43878         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
43879         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
43880         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
43881         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
43882         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
43883         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
43884         * sysdeps/sh/sys/ucontext.h: Remove.
43885         * sysdeps/sh/sys: Remove directory.
43887 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43889         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
43890         s390/sys/ucontext.h.
43891         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
43892         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
43894 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
43896         [BZ #15605]
43897         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
43899 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43901         [BZ#16431]
43902         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
43903         Adjust the vDSO correctly for internal calls.
43904         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
43906 2014-01-20  Allan McRae  <allan@archlinux.org>
43908         * po/ca.po: Update Catalan translation from translation project.
43910 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
43912         * sysdeps/s390/sotruss-lib.c: New file.
43914 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43916         [BZ#16430]
43917         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
43918         (__GI___gettimeofday): Alias for a different internal symbol to avoid
43919         local calls issues by not having a PLT stub required for IFUNC calls.
43920         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
43922 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
43924         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
43925         * math/test-fpucw-static.c: Likewise.
43927 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43929         [BZ #16453]
43930         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
43932 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43934         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
43935         implementation for powerpc.
43937 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
43939         [BZ #14782]
43940         * sysdeps/posix/system.c (__libc_system): Do not enable
43941         asynchronous cancellation.
43943 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43945         [BZ #16427]
43946         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
43947         handling only for numbers special also in the IEEE case.
43949 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43951         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43953 2014-01-11  Allan McRae  <allan@archlinux.org>
43955         * po/bg.po: Update Bulgarian translation from translation project.
43957         * po/de.po: Update German translation from translation project.
43959 2014-01-10  Roland McGrath  <roland@hack.frob.com>
43961         * sysdeps/generic/gcc-compat.h: New file.
43963 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43965         * benchtests/asin-inputs: Correct slow inputs.
43966         * benchtests/acos-inputs: Likewise.
43968 2014-01-10  Allan McRae  <allan@archlinux.org>
43970         * po:sv.po: Update Swedish translation from translation project.
43972         * po/vi.po: Update Vietnamese translation from translation project.
43974         * po/eo.po: Update Esperanto translation from translation project.
43976         * po/cs.po: Update Czech translation from translation project.
43978         * po/nl.po: Update Dutch translation from translation project.
43980         * po/pl.po: Update Polish translation from translation project.
43982         * po/ru.po: Update Russian translation from translation project.
43984         * po/uk.po: Update Ukrainian translation from translation project.
43986 2014-01-08  Brooks Moses  <bmoses@google.com>
43988         * elf/dl-load.c: Fix comment typo.
43990 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
43992         * po/header.pot: Rename to...
43993         * po/pot.header: ... this.
43994         * po/Makefile: Use pot.header.
43996 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
43997             Maxim Kuvyrkov  <maxim@kugelworks.com>
43999         [BZ #16394]
44000         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
44001         SRC and DEST against LEN.
44003 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44005         [BZ #16414]
44006         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
44007         implementation.
44008         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
44010 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44012         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44014 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
44016         [BZ #16408]
44017         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
44018         for large positive arguments.
44020 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
44022         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
44024         * math/auto-libm-test-in: Mark various tests with
44025         xfail-rounding:ldbl-128ibm.
44026         * math/auto-libm-test-out: Regenerated.
44028         [BZ #16407]
44029         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
44030         Increase overflow threshold.
44032 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
44034         [BZ #14286]
44035         * stdio-common/vfprintf.c: Check for integer overflow.
44037 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44039         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
44040         the first argument and return value of __tls_get_addr_internal.
44042 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44044         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
44045         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
44047 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44049         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
44050         * sysdeps/s390/rtld-global-offsets.sym: New file.
44051         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
44052         GLIBC_2.19 symbol.
44053         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
44054         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
44055         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
44056         ... this.
44057         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
44058         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
44059         ... this.
44060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44061         Regenerate.
44062         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44063         Regenerate.
44064         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
44065         halfs of GPRs for high_gprs contexts.
44066         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
44067         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
44068         field.
44069         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
44070         uc_flags field.
44071         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
44072         64 bit versions:
44073         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
44074         for high GPRs (uc_high_gprs) and for future extensions
44075         (__reserved).
44076         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
44077         for future extensions (__reserved).
44078         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
44079         64 bit versions:
44080         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
44081         SC_HIGHGPRS offset definition.
44082         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
44083         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
44085         * Versions.def: Add GLIBC_2.19 for libpthread.
44086         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
44087         siglongjmp for libpthread with GLIBC_2.19 symver.
44088         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
44089         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
44090         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
44091         * sysdeps/s390/__longjmp.c: New file.
44092         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
44093         * sysdeps/s390/longjmp.c: New file.
44094         * sysdeps/s390/setjmp.S: New file.
44095         * sysdeps/s390/sigjmp.S: New file.
44096         * sysdeps/s390/v1-longjmp.c: New file.
44097         * sysdeps/s390/v1-setjmp.h: New file.
44098         * sysdeps/s390/v1-sigjmp.c: New file.
44099         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
44100         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
44101         GLIBC_2.19 version.
44102         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
44103         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
44104         versioned symbols for ____longjmp_chk.
44105         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
44106         Likewise.
44107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44108         Regenerate.
44109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44110         Regenerate.
44111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44112         Regenerate.
44113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44114         Regenerate.
44115         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
44116         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
44117         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
44118         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
44119         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
44120         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
44121         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
44122         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
44123         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
44124         * sysdeps/s390/rtld-__longjmp.c: New file.
44125         * sysdeps/s390/rtld-setjmp.S: New file.
44127 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
44129         [BZ #16400]
44130         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
44131         Return -__logl (x) for small positive arguments without evaluating
44132         a polynomial.
44134 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
44136         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
44137         Rename to ...
44138         (__ptrace_peeksiginfo_args): ... this.
44139         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44140         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44141         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44143 2014-01-06  Allan McRae  <allan@archlinux.org>
44145         * inet/netinet/in.h: Fix typo in comment.
44147 2014-01-05  Andreas Jaeger  <aj@suse.de>
44149         * sysdeps/i386/fpu/libm-test-ulps: Update.
44151 2014-01-05  Allan McRae  <allan@archlinux.org>
44153         * po/libc.pot: Regenerated.
44155         * malloc/memusagestat.c: Fix gettext call formatting.
44157 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
44159         * nscd/nscd.c: Improve usage() output.
44161 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
44163         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
44164         * sysdeps/unix/sysv/linux/configure: Regenerated.
44165         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
44166         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
44168 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
44170         [BZ #16390]
44171         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
44172         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
44174 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44176         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
44177         extra tokens at end of #undef directive.
44178         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
44179         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
44180         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
44182 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
44184         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
44186         * math/auto-libm-test-in: Mark various tests with
44187         xfail-rounding:ldbl-128ibm.
44188         * math/auto-libm-test-out: Regenerated.
44190 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
44192         [BZ #16386]
44193         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
44194         numbers with subnormal high part when calculating exponent.
44196         [BZ #16385]
44197         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
44198         fabs.
44200         [BZ #16384]
44201         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
44202         M_LN2l.
44203         (__ieee754_acoshl): Use __log1pl not __log1p.
44205 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
44207         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
44208         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
44209         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
44210         (grow_heap, heap_trim, _int_new_arena, get_free_list)
44211         (reused_arena, arena_get2): Convert to GNU style.
44212         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
44213         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
44214         (memalign_check, __malloc_set_state): Likewise.
44215         * malloc/mallocbug.c (main): Likewise.
44216         * malloc/malloc.c (__malloc_assert, malloc_init_state)
44217         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
44218         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
44219         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
44220         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
44221         (__posix_memalign, malloc_info): Likewise.
44222         * malloc/malloc.h: Likewise.
44223         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
44224         (mallochook, memalignhook, reallochook, mabort): Likewise.
44225         * malloc/mcheck.h: Likewise.
44226         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
44227         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
44228         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
44229         * malloc/morecore.c (__default_morecore): Likewise.
44230         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
44231         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
44232         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
44233         (print_and_abort): Likewise.
44234         * malloc/obstack.h: Likewise.
44235         * malloc/set-freeres.c (__libc_freeres): Likewise.
44236         * malloc/tst-mallocstate.c (main): Likewise.
44237         * malloc/tst-mtrace.c (main): Likewise.
44238         * malloc/tst-realloc.c (do_test): Likewise.
44240 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44242         [BZ #16366]
44243         * nscd/netgroupcache.c (do_notfound): New function.
44244         (addgetnetgrentX): Use it.
44246         [BZ # 16365]
44247         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
44248         NSS_STATUS_NOTFOUND.
44250 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
44252         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
44253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44255 2014-01-01  Allan McRae  <allan@archlinux.org>
44257         * scripts/update-copyrights: Update configure input file suffix.
44259         * NEWS: Update copyright year.
44260         * catgets/gencat.c: Likewise.
44261         * csu/version.c: Likewise.
44262         * debug/catchsegv.sh: Likewise.
44263         * debug/pcprofiledump.c: Likewise.
44264         * debug/xtrace.sh: Likewise.
44265         * elf/ldconfig.c: Likewise.
44266         * elf/ldd.bash.in: Likewise.
44267         * elf/pldd.c: Likewise.
44268         * elf/sotruss.ksh: Likewise.
44269         * elf/sprof.c: Likewise.
44270         * iconv/iconv_prog.c: Likewise.
44271         * iconv/iconvconfig.c: Likewise.
44272         * locale/programs/locale.c: Likewise.
44273         * locale/programs/localedef.c: Likewise.
44274         * login/programs/pt_chown.c: Likewise.
44275         * malloc/memusage.sh: Likewise.
44276         * malloc/memusagestat.c: Likewise.
44277         * malloc/mtrace.pl: Likewise.
44278         * manual/libc.texinfo: Likewise.
44279         * nscd/nscd.c: Likewise.
44280         * nss/getent.c: Likewise.
44281         * nss/makedb.c: Likewise.
44282         * posix/getconf.c: Likewise.
44283         * scripts/test-installation.pl: Likewise.
44285         * All files with FSF copyright notices: Update copyright dates
44286         using scripts/update-copyrights.
44287         * intl/plural.c: Regenerated.
44288         * locale/programs/charmap-kw.h: Likewise.
44289         * locale/programs/locfile-kw.h: Likewise.
44291 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
44293         * sysdeps/unix/sysv/linux/configure: Regenerated.
44294         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
44295         the linux/fanotify.h header.
44296         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
44297         HAVE_LINUX_FANOTIFY_H is defined.
44299 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
44301         * benchtests/cos-inputs: New inputs.
44302         * benchtests/sin-inputs: Likewise.
44304         * benchtests/atan-inputs: New inputs. Fix name of multiple
44305         precision fallback inputs.
44307         * benchtests/atanh-inputs: New inputs.
44308         * benchtests/tanh-inputs: Likewise.
44310         * benchtests/acosh-inputs: New inputs.
44311         * benchtests/asinh-inputs: Likewise.
44313         * benchtests/cosh-inputs: New inputs.
44314         * benchtests/sinh-inputs: Likewise.
44316         * benchtests/acos-inputs: Add more inputs.
44317         * benchtests/asin-inputs: Likewise.
44319 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
44321         [BZ #16375]
44322         * manual/arith.texi: Fix spelling.
44323         * manual/charset.texi: Likewise.
44324         * manual/errno.texi: Likewise.
44325         * manual/filesys.texi: Likewise.
44326         * manual/lang.texi: Likewise.
44327         * manual/llio.texi: Likewise.
44328         * manual/locale.texi: Likewise.
44329         * manual/message.texi: Likewise.
44330         * manual/resource.texi: Likewise.
44331         * manual/search.texi: Likewise.
44332         * manual/setjmp.texi: Likewise.
44333         * manual/stdio.texi: Likewise.
44334         * manual/string.texi: Likewise.
44335         * manual/sysinfo.texi: Likewise.
44336         * manual/time.texi: Likewise.
44338 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
44340         * po/sl.po: New file.
44342 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
44344         * .gitignore: Add core/.gdbinit/.gdb_history.
44346 2013-12-27  Allan McRae  <allan@archlinux.org>
44348         [BZ #16369]
44349         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
44350         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
44352 2013-12-24  Brooks Moses  <bmoses@google.com>
44354         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
44355         all compilers that claim C++98 compliance, not just GCC.
44356         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
44357         Likewise.
44359 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
44361         * NEWS: Restore accidentally deleted bug-fix entries.
44363 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
44364             Ondřej Bílka  <neleai@seznam.cz>
44366         [BZ #15073]
44367         * malloc/malloc.c (_int_free): Perform sanity check only if we
44368         have_lock.
44370 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
44372         [BZ #12986]
44373         * manual/stdio.texi (String Input Conversions): Clarify that character
44374         classes are not supported.
44376 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44380 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
44382         [BZ #16337]
44383         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
44384         Calculate results for small negative arguments directly rather
44385         than using reflection formula with special underflow handling.
44387         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
44388         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
44389         sysdeps/unix/bsd/bsd4.4/syscalls.list.
44390         (fchflags): Likewise.
44391         (revoke): Likewise.
44392         (setlogin): Likewise.
44393         (sigaltstack): Likewise.
44394         (wait4): Likewise.
44395         (sigblock): Remove.
44396         (sigsetmask): Likewise.
44397         (wait3): Likewise.
44398         (waitpid): Likewise.
44399         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
44400         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
44401         file.
44402         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
44403         * sysdeps/unix/bsd/Makefile: ... here.
44404         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
44405         * sysdeps/unix/bsd/Versions: ... here.
44406         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
44407         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
44408         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
44409         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
44410         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
44411         * sysdeps/unix/bsd/sigblock.c: ... here.
44412         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
44413         * sysdeps/unix/bsd/sigsetmask.c: ... here.
44414         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
44415         * sysdeps/unix/bsd/sigvec.c: ... here.
44416         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
44417         * sysdeps/unix/bsd/tcdrain.c: ... here.
44418         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
44419         * sysdeps/unix/bsd/tcgetattr.c: ... here.
44420         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
44421         * sysdeps/unix/bsd/tcsetattr.c: ... here.
44422         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
44423         * sysdeps/unix/bsd/wait.c: ... here.
44424         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
44425         * sysdeps/unix/bsd/wait3.c: ... here.
44426         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
44427         * sysdeps/unix/bsd/waitpid.c: ... here.
44429 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
44431         [BZ #16356]
44432         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
44433         round-to-nearest for [!USE_AS_EXPM1L].
44434         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
44435         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
44436         more tests of exp and exp10.  Expect some exp10 tests to miss
44437         exceptions or fail in directed rounding modes.
44438         * math/auto-libm-test-out: Regenerated.
44439         * math/libm-test.inc (exp10_tonearest_test_data): New array.
44440         (exp10_test_tonearest): New function.
44441         (exp10_towardzero_test_data): New array.
44442         (exp10_test_towardzero): New function.
44443         (exp10_downward_test_data): New array.
44444         (exp10_test_downward): New function.
44445         (exp10_upward_test_data): New array.
44446         (exp10_test_upward): New function.
44447         (main): Call the new functions.
44448         * sysdeps/i386/fpu/libm-test-ulps: Update.
44449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44451 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
44453         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
44454         asinh, atan, atan2, atanh, cbrt, cos and cosh.
44455         * math/auto-libm-test-out: Regenerated.
44456         * math/libm-test.inc (acosh_test_data): Add more tests.
44457         (atanh_test_data): Likewise.
44458         (ceil_test_data): Likewise.
44459         (copysign_test_data): Likewise.
44460         * sysdeps/i386/fpu/libm-test-ulps: Update.
44461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44463         * timezone/checktab.awk: Update from tzcode 2013i.
44464         * timezone/private.h: Likewise.
44465         * timezone/scheck.c: Likewise.
44466         * timezone/tzfile.h: Likewise.
44467         * timezone/tzselect.ksh: Likewise.
44468         * timezone/zdump.c: Likewise.
44469         * timezone/zic.c: Likewise.
44471         * math/auto-libm-test-in: Add tests of cpow.
44472         * math/auto-libm-test-out: Regenerated.
44473         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
44474         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44475         mpc_cc_c.
44476         (func_calc_desc): Add mpc_cc_c union field.
44477         (test_functions): Add cpow.
44478         (special_fill_2pi): New function.
44479         (special_real_inputs): Add 2pi.
44480         (calc_generic_results): Handle mpc_cc_c.
44481         * sysdeps/i386/fpu/libm-test-ulps: Update.
44482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44484         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
44485         csqrt, ctan and ctanh.
44486         * math/auto-libm-test-out: Regenerated.
44487         * math/libm-test.inc (TEST_COND_x86_64): New macro.
44488         (TEST_COND_x86): Likewise.
44489         (ccos_test_data): Use AUTO_TESTS_c_c.
44490         (ccosh_test_data): Likewise.
44491         (cexp_test_data): Likewise.
44492         (clog_test_data): Likewise.
44493         (csqrt_test_data): Likewise.
44494         (ctan_test_data): Likewise.
44495         (ctan_tonearest_test_data): Likewise.
44496         (ctan_towardzero_test_data): Likewise.
44497         (ctan_downward_test_data): Likewise.
44498         (ctan_upward_test_data): Likewise.
44499         (ctanh_test_data): Likewise.
44500         (ctanh_tonearest_test_data): Likewise.
44501         (ctanh_towardzero_test_data): Likewise.
44502         (ctanh_downward_test_data): Likewise.
44503         (ctanh_upward_test_data): Likewise.
44504         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44505         mpc_c_c.
44506         (func_calc_desc): Add mpc_c_c union field.
44507         (FUNC_mpc_c_c): New macro.
44508         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
44509         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
44510         ctanh.
44511         (special_fill_min_subnorm_p120): New function.
44512         (special_real_inputs): Add min_subnorm_p120.
44513         (calc_generic_results): Handle mpc_c_c.
44514         * sysdeps/i386/fpu/libm-test-ulps: Update.
44515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44517 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44519         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
44520         (do_sin_slow): New functions.
44521         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
44522         (cslow2, csloww1, csloww2): Use the new functions.
44524         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
44525         Use M to change sign of result instead of X.  Assume X is
44526         positive.
44527         (csloww1): Likewise.
44528         (__sin): Adjust.
44529         (__cos): Adjust.
44531         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
44532         arguments A and DA.
44533         (__sin): Adjust.
44534         (__cos): Likewise.
44536         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
44537         (__cos): Likewise.
44538         (sloww1): Don't adjust sign of DX.
44539         (csloww1): Likewise.
44540         (sloww2): Use X directly and don't adjust sign of DX.
44541         (csloww2): Likewise.
44543 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44545         * math/auto-libm-test-in: Add tests of cabs and carg.
44546         * math/auto-libm-test-out: Regenerated.
44547         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
44548         (carg_test_data): Likewise.
44549         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44550         mpc_c_f.
44551         (func_calc_desc): Add mpc_c_f union field.
44552         (test_functions): Add cabs and carg.
44553         (calc_generic_results): Handle mpc_c_f.
44555         * sysdeps/powerpc/powerpc32/libgcc-compat.S
44556         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
44557         as a macro and a compat symbol.
44558         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
44559         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
44560         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
44561         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
44562         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
44563         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
44564         not use .hidden.
44565         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
44566         Likewise.
44567         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
44568         Likewise.
44569         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
44570         Likewise.
44571         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
44572         Likewise.
44573         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
44574         Likewise.
44575         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
44576         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
44577         from GLIBC_2.3.2.
44579 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44581         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44583 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44585         * manual/texinfo.tex: Update to version 2013-11-26.10 with
44586         trailing whitespace removed.
44587         * scripts/config.guess: Update to version 2013-11-29.
44588         * scripts/config.sub: Update to version 2013-10-01.
44590         * math/auto-libm-test-in: Add tests of sincos.
44591         * math/auto-libm-test-out: Regenerated.
44592         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
44593         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44594         mpfr_f_11.
44595         (func_calc_desc): Add mpfr_f_11 union field.
44596         (test_functions): Add sincos.
44597         (calc_generic_results): Handle mpfr_f_11.
44598         * sysdeps/i386/fpu/libm-test-ulps: Update.
44599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44601 2013-12-19  Andreas Schwab  <schwab@suse.de>
44603         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
44604         CALL_MCOUNT.
44605         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
44606         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
44607         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
44609 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44611         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
44612         * sysdeps/i386/fpu/libm-test-ulps: Update.
44613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44615         [BZ #16293]
44616         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
44617         round-to-nearest mode when using frndint.
44618         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
44619         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44620         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
44621         Likewise.
44622         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
44623         sinh test to fail.
44624         * math/auto-libm-test-out: Regenerated.
44625         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
44626         (TEST_COND_x86): Likewise.
44627         (expm1_tonearest_test_data): New array.
44628         (expm1_test_tonearest): New function.
44629         (expm1_towardzero_test_data): New array.
44630         (expm1_test_towardzero): New function.
44631         (expm1_downward_test_data): New array.
44632         (expm1_test_downward): New function.
44633         (expm1_upward_test_data): New array.
44634         (expm1_test_upward): New function.
44635         (main): Run the new test functions.
44636         * sysdeps/i386/fpu/libm-test-ulps: Update.
44637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44639         * include/features.h: Update comment documenting feature test
44640         macros.  Mention _DEFAULT_SOURCE in comment.
44641         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
44642         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
44643         _BSD_SOURCE and _SVID_SOURCE.
44644         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
44645         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
44646         !_SVID_SOURCE]: Likewise.
44647         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44648         (__USE_POSIX_IMPLICITLY): Define.
44649         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44650         (_POSIX_SOURCE): Undefine and redefine.
44651         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44652         (_POSIX_C_SOURCE): Likewise.
44653         * manual/creature.texi (_DEFAULT_SOURCE): Document.
44654         (Feature Test Macros): Update documentation of default features.
44656 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44658         * benchtests/Makefile: Add bench-strtok.
44659         * benchtests/bench-strtok.c: New file: strtok benchtest.
44661 2013-12-19  Allan McRae  <allan@archlinux.org>
44663         * manual/install.texi: Suppress menu for plain text output.
44664         * INSTALL: Regenerated.
44666 2013-12-18  Brooks Moses  <bmoses@google.com>
44668         [BZ #15846]
44669         * misc/getauxval.c: Include errno.h.
44670         (__getauxval): Set errno to ENOENT if the requested type is not
44671         found.
44672         * misc/sys/auxv.h (getauxval): Document that it may set errno;
44673         don't declare with __attribute_const__.
44674         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
44675         * manual/startup.texi: Document that getauxval sets errno.
44677 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
44679         * math/auto-libm-test-in: Add tests of jn and yn.
44680         * math/auto-libm-test-out: Regenerated.
44681         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
44682         (yn_test_data): Likewise.
44683         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44684         mpfr_if_f.
44685         (func_calc_desc): Add mpfr_if_f union field.
44686         (FUNC_mpfr_if_f): New macro.
44687         (test_functions): Add jn and yn.
44688         (calc_generic_results): Assert type of second input for
44689         mpfr_ff_f.  Handle mpfr_if_f.
44690         (output_for_one_input_case): Disable all checking for arguments
44691         fitting floating-point types in case of an integer argument.
44692         * sysdeps/i386/fpu/libm-test-ulps: Update.
44693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
44696         Don't expect fegetround reference in libm.so.
44698 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44700         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
44701         $(config-cflags-nofma).
44703 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
44705         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
44706         * math/auto-libm-test-out: Regenerated.
44708         [BZ #16338]
44709         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
44710         to determine exponent and adjust argument to have exponent of -1.
44711         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
44712         log2.
44713         * math/auto-libm-test-out: Regenerated.
44714         * sysdeps/i386/fpu/libm-test-ulps: Update.
44715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44717 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
44719         * manual/probes.texi: Remove cases when per-thread arenas are
44720         disabled.
44722 2013-12-18  Andreas Schwab  <schwab@suse.de>
44724         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
44725         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
44726         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
44727         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
44728         * sysdeps/i386/i686/multiarch/Makefile: Update.
44729         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
44731 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
44733         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
44734         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
44736 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
44738         [BZ #15968]
44739         Support TZ transition times < 00:00:00.
44740         This is needed for version-3 tz-format files; it supports time
44741         stamps past 2037 for America/Godthab (the only entry in the tz
44742         database for which this change is relevant).
44743         * manual/time.texi (TZ Variable): Document transition times
44744         from -167:59:59 through -00:00:01.
44745         * time/tzset.c (tz_rule): Time of day is now signed.
44746         (__tzset_parse_tz): Parse negative time of day.
44748         Document TZ transition times >= 25:00:00.
44749         * manual/time.texi (TZ Variable): Document transition times from
44750         25:00:00 through 167:59:59.  These are already supported, and this
44751         support will help with version-3 tz-format files.
44753         * manual/time.texi (TZ Variable): Modernize North America example
44754         to reflect current (i.e., 2007-and-later) daylight saving rules.
44756         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
44758 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
44760         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
44761         * sysdeps/unix/bsd/bits/stat.h: Likewise.
44762         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
44763         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
44764         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
44765         * sysdeps/unix/bsd/bsdstat.h: Likewise.
44766         * sysdeps/unix/bsd/clock.c: Likewise.
44767         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
44768         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
44769         * sysdeps/unix/bsd/init-posix.c: Likewise.
44770         * sysdeps/unix/bsd/poll.c: Likewise.
44771         * sysdeps/unix/bsd/ptsname.c: Likewise.
44772         * sysdeps/unix/bsd/seekdir.c: Likewise.
44773         * sysdeps/unix/bsd/setegid.c: Likewise.
44774         * sysdeps/unix/bsd/seteuid.c: Likewise.
44775         * sysdeps/unix/bsd/setgid.c: Likewise.
44776         * sysdeps/unix/bsd/setrgid.c: Likewise.
44777         * sysdeps/unix/bsd/setruid.c: Likewise.
44778         * sysdeps/unix/bsd/setsid.c: Likewise.
44779         * sysdeps/unix/bsd/setuid.c: Likewise.
44780         * sysdeps/unix/bsd/sigaction.c: Likewise.
44781         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
44782         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
44783         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
44784         * sysdeps/unix/bsd/telldir.c: Likewise.
44785         * sysdeps/unix/bsd/times.c: Likewise.
44786         * sysdeps/unix/bsd/usleep.c: Likewise.
44788         * misc/Makefile (install-lib): Remove libbsd-compat.a.
44789         ($(objpfx)libbsd-compat.a): Remove rule.
44791         * include/features.h (__FAVOR_BSD): Do not define.
44792         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
44793         features conflicting with POSIX.
44794         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
44795         (_BSD_SOURCE): Remove description of not being a subset of other
44796         feature test macros.
44797         * manual/job.texi (getpgrp): Do not document BSD version.
44798         (getpgid): Do not document by reference to BSD getpgrp.
44799         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
44800         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
44801         * signal/signal.h [__FAVOR_BSD]: Likewise.
44802         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
44803         instead of making contents conditional on [__FAVOR_BSD].
44804         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
44806 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44810 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
44812         [BZ #16314]
44813         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
44814         values below 2**-450, not 2**-500.
44815         * math/auto-libm-test-in: Don't allow spurious underflow from
44816         hypot.
44817         * math/auto-libm-test-out: Regenerated.
44819         [BZ #16316]
44820         [BZ #16330]
44821         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
44822         values of ha and hb and sort them after adjusting subnormal
44823         arguments.
44824         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
44825         Likewise.
44826         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
44827         values of ea and eb and sort them after adjusting subnormal
44828         arguments.
44829         * math/auto-libm-test-in: Do not expect some hypot tests of
44830         subnormals to fail.  Add more hypot tests.
44831         * math/auto-libm-test-out: Regenerated.
44833 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44835         [BZ #13304]
44836         * sysdeps/sh/s_fma.c: New file.
44837         * sysdeps/sh/s_fmaf.c: New file.
44838         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
44839         version.
44840         * sysdeps/sh/Implies: Add sh/soft-fp.
44842 2013-12-16  Roland McGrath  <roland@hack.frob.com>
44844         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
44845         level of indirection to members `objname', `errstring', `malloced'.
44846         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
44847         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
44848         it as the __longjmp argument (just pass 1 instead).
44849         (_dl_catch_error): Initialize C with argument pointers and address of
44850         volatile local ERRCODE rather than copying values out of C at return.
44852 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
44854         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
44855         * math/auto-libm-test-out: Regenerated.
44856         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
44857         (hypot_test_data): Likewise.
44858         (pow_test_data): Likewise.
44859         (pow_tonearest_test_data): Likewise.
44860         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44861         mpfr_ff_f.
44862         (func_calc_desc): Add mpfr_ff_f union field.
44863         (FUNC_mpfr_ff_f): New macro.
44864         (test_functions): Add atan2, hypot and pow.
44865         (special_fill_min): New function.
44866         (special_fill_minus_min): Likewise.
44867         (special_fill_min_subnorm): Likewise.
44868         (special_fill_minus_min_subnorm): Likewise.
44869         (special_real_inputs): Add min, -min, min_subnorm and
44870         -min_subnorm.
44871         (calc_generic_results): Handle mpfr_ff_f.
44872         * sysdeps/i386/fpu/libm-test-ulps: Update.
44873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44875 2013-12-16  Will Newton  <will.newton@linaro.org>
44877         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
44878         (Aligned Memory Blocks): Add documentation for aligned_alloc
44879         and suggest it as an alternative to posix_memalign.
44880         (Hooks for Malloc): Document __memalign_hook is also called
44881         for aligned_alloc.  (Summary of Malloc): Add summary for
44882         aligned alloc.  Document __memalign_hook is also called
44883         for aligned_alloc.
44885 2013-12-16  Will Newton  <will.newton@linaro.org>
44887         * manual/memory.texi (Malloc Examples): Clarify default
44888         alignment documentation.  Suggest posix_memalign rather
44889         than memalign or valloc.
44890         (Aligned Memory Blocks): Remove suggestion to use memalign
44891         or valloc.  Remove obsolete comment about BSD.
44892         Document memalign errno values and mark the function obsolete.
44893         Document posix_memalign returned error codes.  Mark valloc
44894         as obsolete.  (Hooks for Malloc): __memalign_hook is also
44895         called for posix_memalign and valloc.
44896         (Summary of Malloc): Add posix_memalign to function summary.
44897         __memalign_hook is also called for posix_memalign and valloc.
44899 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44901         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
44902         TAYLOR_SIN.
44903         (__sin): Adjust.
44904         (__cos): Likewise.
44905         (sloww): Use mynumber union.  Expand ternary operator into
44906         if-else statements.
44907         (cslow): use mynumber union.
44909 2013-12-16  Allan McRae  <allan@archlinux.org>
44911         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
44912         * configure: Regenerated.
44914         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
44916         [BZ #14120]
44917         * configure.ac: Added --enable-maintainer-mode. Check for
44918         autoconf when enabled.
44919         * configure: Regenerated.
44921         * nscd/nscd.service: New file.
44922         * nscd/nscd.tmpfiles: New file.
44924 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
44926         [BZ #12100]
44927         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
44928         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
44929         * sysdeps/x86_64/multiarch/strstr.c: ... here.
44930         (strstr): Add __strstr_sse2_unaligned ifunc.
44931         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
44932         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
44933         (strcasestr): Remove __strcasestr_sse42 ifunc.
44934         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
44935         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
44936         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
44938 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44940         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
44941         * sysdeps/sh/bits/fenv.h: ... here.
44942         * sysdeps/sh/sh4/fpu/bits: Remove directory.
44944 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44946         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
44948         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
44949         hypotf multiarch implementations.
44950         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
44951         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
44952         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
44953         multiarch hypot for PPC64.
44954         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
44955         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
44956         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
44957         multiarch hypotf for PPC64.
44959         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
44960         modff multiarch implementations.
44961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
44962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
44963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
44964         multiarch modf for PPC64.
44965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
44966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
44967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
44968         multiarch modff for PPC64.
44970         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
44971         and logl multiarch implementations.
44972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
44973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
44974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
44975         multiarch logb for PPC64.
44976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
44977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
44978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
44979         multiarch logb for PPC64.
44980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
44981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
44982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
44983         multiarch logb for PPC64.
44985         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
44986         isinff multiarch implementation.
44987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
44988         file.
44989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
44990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
44991         multiarch isinf for PPC64.
44992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
44993         file.
44994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
44995         multiarch isinff for PPC64.
44997         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
44998         finitef multiarch implementation.
44999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
45000         file.
45001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
45002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
45003         multiarch finite for PPC64.
45004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
45005         file.
45006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
45007         multiarch finitef for PPC64.
45009         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
45010         lrint multiarch implementation.
45011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
45012         file.
45013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
45014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
45015         multiarch llrint for PPC64.
45016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
45017         multiarch lrint for PPC64.
45019         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
45020         copysignf multiarch implementation.
45021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
45022         file.
45023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
45024         file.
45025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
45026         multiarch copysign for PPC64.
45027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
45028         multiarch copysignf for PPC64.
45030         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
45031         multiarch implementation.
45032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
45033         file.
45034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
45035         file.
45036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
45037         file.
45038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
45039         file.
45040         multiarch llround for PPC64.
45041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
45042         multiarch trunc for PPC64.
45043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
45044         multiarch truncf for PPC64.
45046         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
45047         multiarch implementation.
45048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
45049         file.
45050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
45051         file.
45052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
45053         file.
45054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
45055         file.
45056         multiarch llround for PPC64.
45057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
45058         multiarch round for PPC64.
45059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
45060         multiarch roundf for PPC64.
45062         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
45063         multiarch implementation.
45064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
45065         file.
45066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
45067         file.
45068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
45069         file.
45070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
45071         file.
45072         multiarch llround for PPC64.
45073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
45074         multiarch floor for PPC64.
45075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
45076         multiarch floorf for PPC64.
45078         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
45079         multiarch implementation.
45080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
45081         file.
45082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
45083         file.
45084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
45085         file.
45086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
45087         file.
45088         multiarch llround for PPC64.
45089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
45090         multiarch ceil for PPC64.
45091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
45092         multiarch ceilf for PPC64.
45094         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
45095         multiarch implementation.
45096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
45097         file.
45098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
45099         file.
45100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
45101         file.
45102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
45103         multiarch llround for PPC64.
45104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
45105         multiarch lround for PPC64.
45107         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
45108         multiarch implementation.
45109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
45110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
45111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
45112         file.
45113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
45114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
45115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
45116         multiarch isnan for PPC64.
45117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
45118         multiarch isnanf for PPC64.
45120         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
45121         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
45122         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
45123         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
45124         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
45125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
45127         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
45128         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45129         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45130         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45132         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
45133         multiarch implementations.
45134         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45135         (__libc_ifunc_impl_list): Likewise.
45136         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
45137         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
45138         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
45139         multiarch stpcpy for PPC64.
45141         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
45142         multiarch implementations.
45143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45144         (__libc_ifunc_impl_list): Likewise.
45145         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
45146         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
45147         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
45148         multiarch strcpy for PPC64.
45150         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
45151         redefine function name.
45152         (_wordcopy_fwd_dest_aligned): Likewise.
45153         (_wordcopy_bwd_aligned): Likewise.
45154         (_wordcopy_bwd_dest_aligned): Likewise.
45155         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
45156         multiarch implementations.
45157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45158         (__libc_ifunc_impl_list): Likewise.
45159         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
45160         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
45161         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
45162         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
45163         multiarch wcscpy for PPC64.
45165         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
45166         multiarch implementations.
45167         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45168         (__libc_ifunc_impl_list): Likewise.
45169         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
45170         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
45171         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
45172         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
45173         multiarch wcscpy for PPC64.
45175         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
45176         multiarch implementations.
45177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45178         (__libc_ifunc_impl_list): Likewise.
45179         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
45180         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
45181         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
45182         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
45183         multiarch wcsrchr for PPC64.
45185         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
45186         multiarch implementations.
45187         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45188         (__libc_ifunc_impl_list): Likewise.
45189         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
45190         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
45191         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
45192         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
45193         multiarch wcschr for PPC64.
45195         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
45196         multiarch implementations.
45197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45198         (__libc_ifunc_impl_list): Likewise.
45199         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
45200         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
45201         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
45202         multiarch strchrnul for PPC64.
45204         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
45205         implementations.
45206         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45207         (__libc_ifunc_impl_list): Likewise.
45208         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
45209         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
45210         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
45211         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
45212         strchr for PPC64.
45214         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
45215         implementations.
45216         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45217         (__libc_ifunc_impl_list): Likewise.
45218         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
45219         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
45220         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
45221         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
45222         strncmp for PPC64.
45224         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
45225         multiarch implementations.
45226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45227         (__libc_ifunc_impl_list): Likewise.
45228         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
45229         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
45230         strncasecmp for PPC64.
45231         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
45232         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
45233         multiarch strncasecmp_l for PPC64.
45235         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
45236         multiarch implementations.
45237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45238         (__libc_ifunc_impl_list): Likewise.
45239         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
45240         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
45241         multiarch strcasecmp for PPC64.
45242         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
45243         file.
45244         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
45245         multiarch strcasecmp_l for PPC64.
45247         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
45248         implementations.
45249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45250         (__libc_ifunc_impl_list): Likewise.
45251         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
45252         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
45253         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
45254         strnlen for PPC64.
45256         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
45257         implementations.
45258         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45259         (__libc_ifunc_impl_list): Likewise.
45260         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
45261         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
45262         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
45263         strlen for PPC64.
45265         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
45266         implementations.
45267         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45268         (__libc_ifunc_impl_list): Likewise.
45269         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
45270         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
45271         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
45272         rawmemrchr for PPC64.
45274         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
45275         implementation.
45276         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45277         (__libc_ifunc_impl_list): Likewise.
45278         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
45279         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
45280         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
45281         memrchr for PPC64.
45283         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
45284         implementation.
45285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45286         (__libc_ifunc_impl_list): Likewise.
45287         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
45288         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
45289         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
45290         memchr for PPC64.
45292         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
45293         implementation.
45294         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45295         (__libc_ifunc_impl_list): Likewise.
45296         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
45297         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
45298         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
45299         mempcpy for PPC64.
45301         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
45302         avoid cretion of __bzero symbol.
45303         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
45304         Likewise.
45305         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
45306         Likewise.
45307         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
45308         Likewise.
45309         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
45310         multiarch implementations.
45311         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45312         (__libc_ifunc_impl_list): Likewise.
45313         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
45314         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
45315         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
45316         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
45317         bzero for PPC32.
45318         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
45319         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
45320         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
45321         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
45322         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
45323         memset for PPC64.
45324         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
45326         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
45327         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
45328         implementations.
45329         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45330         (__libc_ifunc_impl_list): Likewise.
45331         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
45332         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
45333         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
45334         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
45335         memcmp for PPC64.
45337         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
45338         multiarch for POWER/PPC64.
45339         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
45340         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
45341         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
45342         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
45343         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
45344         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
45345         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
45346         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
45347         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
45348         memcpy for PPC64.
45350         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
45351         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
45352         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
45353         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
45354         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
45355         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
45356         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
45357         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
45358         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
45359         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
45360         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
45361         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
45362         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
45363         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
45364         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
45365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
45366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
45367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
45368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
45369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
45370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
45371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
45373 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45375         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
45377 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45379         * benchtests/Makefile (bench): Add exp2 and log2.
45380         (LDLIBS-bench-exp2): Add -lm.
45381         (LDLIBS-bench-log2): Likewise.
45382         * benchtests/exp2-inputs: New inputs file.
45383         * benchtests/log2-inputs: New inputs file.
45384         * benchtests/log-inputs: Add new inputs.
45385         * benchtests/tan-inputs: Likewise.
45387 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45389         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
45390         definition...
45391         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
45392         (csloww2): ... from here.
45394         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
45395         instead of structures.
45396         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
45397         (POLYNOMIAL): Likewise.
45398         (TAYLOR_SLOW): Likewise.
45399         (__sin): Likewise.
45400         (__cos): Likewise.
45401         (slow1): Likewise.
45402         (slow2): Likewise.
45403         (sloww): Likewise.
45404         (sloww1); Likewise.
45405         (sloww2): Likewise.
45406         (bsloww1): Likewise.
45407         (bsloww2): Likewise.
45408         (cslow2): Likewise.
45409         (csloww): Likewise.
45410         (csloww1): Likewise.
45411         (csloww2): Likewise.
45413 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
45415         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
45416         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
45417         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
45418         * malloc/hooks.c (realloc_check): Likewise.
45420         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
45421         * malloc/arena.c: Remove PER_THREAD conditional.
45422         [!PER_THREAD]: Remove code.
45423         (ptmalloc_unlock_all2): Likewise.
45424         (ptmalloc_init): Likewise.
45425         (_int_new_arena): Likewise.
45426         (arena_get2): Likewise.
45427         * malloc/hooks.c (__malloc_get_state): Likewise.
45428         (__malloc_set_state): Likewise.
45429         * malloc/malloc.c: Likewise.
45430         (struct malloc_state): Likewise.
45431         (struct malloc_par): Likewise.
45432         (__libc_realloc): Likewise.
45433         (__libc_mallopt): Likewise.
45435 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45437         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
45439 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
45441         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
45442         macro to a function.  Check for zero perturb_byte.
45443         (_int_malloc, _int_free): Remove zero perturb_byte checks.
45445         * malloc/malloc.c: (force_reg): Remove.
45446         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
45447         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
45448         force_reg by atomic_forced_read.
45449         * malloc/arena.c (ptmalloc_init): Likewise.
45450         * malloc/hooks.c (top_check): Likewise.
45452 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45456 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
45458         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45460 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
45462         * math/auto-libm-test-in: Add tests of lgamma.
45463         * math/auto-libm-test-out: Regenerated.
45464         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
45465         (M_LOG_2_SQRT_PIl): Likewise.
45466         (lgamma_test_data): Use AUTO_TESTS_f_f1.
45467         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45468         mpfr_f_f1.
45469         (func_calc_desc): Add mpfr_f_f1 union field.
45470         (ARGS1): New macro.
45471         (ARGS2): Likewise.
45472         (ARGS3): Likewise.
45473         (ARGS4): Likewise.
45474         (RET1): Likewise.
45475         (RET2): Likewise.
45476         (CALC): Likewise.
45477         (FUNC): Likewise.
45478         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
45479         (test_functions): Add lgamma.
45480         (calc_generic_results): Handle mpfr_f_f1.
45481         * sysdeps/i386/fpu/libm-test-ulps: Update.
45482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45484 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45486         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
45487         __mpn_add_n for PowerPC64/POWER7.
45488         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
45489         __mpn_sub_n for PowerPC64/POWER7.
45491         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
45492         __mpn_addmul_1 for PowerPC64.
45493         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
45494         __mpn_submul_1 for PowerPC64.
45495         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
45496         for PowerPC64.
45497         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
45498         for PowerPC64.
45500 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
45502         [BZ #15089]
45503         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
45505 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45507         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
45509         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
45510         add multiarch folders.
45511         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
45512         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
45513         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
45514         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
45515         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
45516         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
45517         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
45518         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
45519         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
45520         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
45521         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
45522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
45523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
45524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
45525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
45526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
45527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
45529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
45530         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
45531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
45532         New file.
45533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
45534         New file.
45535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
45536         multiarch __ieee754_hypot for PowerPC32.
45537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
45538         New file.
45539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
45540         New file.
45541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
45542         multiarch __ieee754_hypotf for PowerPC32.
45544         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
45545         long_double_symbol only if __logbl is defined.
45546         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
45547         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
45548         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
45549         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
45550         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
45551         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
45552         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
45553         path for implementation.
45554         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
45555         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
45556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
45557         logb, and logbl multiarch implementations for PowerPC32.
45558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
45559         file.
45560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
45561         file.
45562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
45563         multiarch logb for PowerPC32.
45564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
45565         file.
45566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
45567         file.
45568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
45569         multiarch logbf for PowerPC32.
45570         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
45571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
45572         file.
45573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
45574         multiarch logbl implementation for PowerPC32.
45576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
45577         and modff multiarch implementations.
45578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
45579         New file.
45580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
45581         New file.
45582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
45583         multiarch modf for PowerPC32.
45584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
45585         New file.
45586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
45587         New file.
45588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
45589         multiarch modff for PowerPC32.
45591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
45592         and lrintf multiarch implementations.
45593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
45594         New file.
45595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
45596         New file.
45597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
45598         multiarch lrint for PowerPC32.
45599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
45600         file: multiarch lrintf for PowerPC32.
45602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
45603         and lroundf multiarch implementations.
45604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
45605         New file.
45606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
45607         New file.
45608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
45609         New file.
45610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
45611         multiarch lround for PowerPC32.
45612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
45613         file: multiarch lroundf for PowerPC32.
45615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
45616         copysign and copysignf multiarch implementations.
45617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
45618         New file.
45619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
45620         New file.
45621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
45622         file: multiarch copysign for PowerPC32.
45623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
45624         file: multiarch copysignf for PowerPC32.
45626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
45627         and truncf multiarch implementations.
45628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
45629         New file.
45630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
45631         file.
45632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
45633         multiarch trunc for PowerPC32.
45634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
45635         New file.
45636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
45637         New file.
45638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
45639         multiarch truncf for PowerPC32.
45641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
45642         and roundf multiarch implementations.
45643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
45644         New file.
45645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
45646         file.
45647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
45648         multiarch round for PowerPC32.
45649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
45650         New file.
45651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
45652         New file.
45653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
45654         multiarch roundf for PowerPC32.
45656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
45657         and floorf multiarch implementations.
45658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
45659         New file.
45660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
45661         file.
45662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
45663         multiarch floor for PowerPC32.
45664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
45665         New file.
45666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
45667         New file.
45668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
45669         multiarch floorf for PowerPC32.
45671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
45672         and ceilf multiarch implementations.
45673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
45674         New file.
45675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
45676         file.
45677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
45678         multiarch ceil for PowerPC32.
45679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
45680         New file.
45681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
45682         file.
45683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
45684         multiarch ceilf for PowerPC32.
45686         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
45687         is defined.
45688         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
45689         FINITEF is defined.
45690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
45691         and finitef multiarch implementations.
45692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
45693         New file.
45694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
45695         file.
45696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
45697         multiarch finite for PowerPC32.
45698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
45699         New file.
45700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
45701         file: multiarch finitef for PowerPC32.
45703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
45704         and isinff multiarch implementations.
45705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
45706         file.
45707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
45708         file.
45709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
45710         multiarch isinf for PowerPC32.
45711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
45712         New file.
45713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
45714         multiarch isinff for PowerPC32.
45716         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
45717         alias when __isnan is defined.
45718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
45719         and isnanf multiarch implementations.
45720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
45721         file.
45722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
45723         file.
45724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
45725         file.
45726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
45727         file.
45728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
45729         multiarch isnan for PowerPC32.
45730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
45731         New file.
45732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
45733         New file.
45734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
45735         multiarch isnanf for PowerPC32.
45737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
45738         and sqrtf multiarch implementations.
45739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
45740         file.
45741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
45742         file.
45743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
45744         multiarch sqrt for PowerPC32.
45745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
45746         file.
45747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
45748         file.
45749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
45750         multiarch sqrtf for PowerPC32.
45752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
45753         and llroundf multiarch implementations.
45754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
45755         New file.
45756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
45757         New file.
45758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
45759         New file.
45760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
45761         file: multiarch llround for PowerPC32.
45762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
45763         file: multiarch llroundf for PowerPC32.
45765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
45766         multiarch PowerPC32 fpu implementations.
45767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
45768         New file.
45769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
45770         New file.
45771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
45772         multiarch llrint for PowerPC32.
45773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
45774         New file.
45775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
45776         New file.
45777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
45778         file.
45780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
45782         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
45783         file.
45784         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
45785         file.
45786         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
45787         file.
45788         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
45789         multiarch wordcopy for PPC32.
45790         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
45791         wordcopy objects.
45792         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45793         (__libc_ifunc_impl_list): Likewise.
45794         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
45795         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
45796         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
45797         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
45798         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
45799         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
45801         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
45802         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
45803         file.
45804         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
45805         file.
45806         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
45807         file.
45808         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
45809         multiarch wcscpy for PPC32.
45810         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
45811         multiarch objects.
45812         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45813         (__libc_ifunc_impl_list): Likewise.
45814         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
45815         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
45816         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
45817         sysdeps/powerpc/power6/wcscpy.c.
45819         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
45820         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
45821         file.
45822         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
45823         file.
45824         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
45825         file.
45826         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
45827         multiarch wcsrchr for PPC32.
45828         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
45829         multiarch objects.
45830         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45831         (__libc_ifunc_impl_list): Likewise.
45832         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
45833         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
45834         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
45835         sysdeps/powerpc/power6/wcsrchr.c.
45837         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
45838         file.
45839         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
45840         file.
45841         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
45842         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
45843         multiarch wcschr for PPc32.
45844         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
45845         multiarch objects.
45846         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45847         (__libc_ifunc_impl_list): Likewise.
45848         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
45849         * sysdeps/powerpc/power6/wcschr.c: ... to here.
45850         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
45851         sysdeps/powerpc/power6/wcschr.c.
45853         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
45854         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
45855         file.
45856         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
45857         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
45858         file: multiarch strchr for PPC32.
45859         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
45860         multiarch objects.
45861         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45862         (__libc_ifunc_impl_list): Likewise.
45864         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
45865         name.
45866         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
45867         file.
45868         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
45869         file.
45870         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
45871         multiarch strchrnul for PPC32.
45872         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
45873         multiarch objects.
45874         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45875         (__libc_ifunc_impl_list): Likewise.
45877         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
45878         file.
45879         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
45880         multiarch strncasecmp for PPC32.
45881         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
45882         file.
45883         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
45884         multiarch strncasecmp_l for PPC32.
45885         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
45886         strncasecmp multiarch objects.
45887         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45888         (__libc_ifunc_impl_list): Likewise.
45890         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
45891         file.
45892         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
45893         multiarch strncasecmp for PPC32.
45894         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
45895         New file.
45896         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
45897         multiarch strcasecmp_l for PPC32.
45898         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
45899         multiarch objects.
45900         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45901         (__libc_ifunc_impl_list): Likewise.
45903         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
45904         file.
45905         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
45906         file.
45907         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
45908         multiarch strncmp for PPC32.
45909         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
45910         multiarch objects.
45911         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45912         (__libc_ifunc_impl_list): Likewise.
45914         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
45915         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
45916         file.
45917         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
45918         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
45919         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
45920         multiarch objects.
45921         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45922         (__libc_ifunc_impl_list): Likewise.
45924         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
45925         file.
45926         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
45927         file.
45928         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
45929         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
45930         multiarch objects.
45931         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45932         (__libc_ifunc_impl_list): Likewise.
45934         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
45935         file.
45936         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
45937         file.
45938         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
45939         multiarch rawmemchr for PPC32.
45940         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
45941         multiarch objects.
45942         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45943         (__libc_ifunc_impl_list): Likewise.
45945         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
45946         file.
45947         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
45948         file.
45949         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
45950         file: memrchr multiarch for PPC32.
45951         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
45952         multiarch objects.
45953         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45954         (__libc_ifunc_impl_list): Likewise.
45956         * string/memchr.c (__memchr): Using macro to redefine symbol name.
45957         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
45958         file.
45959         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
45960         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
45961         multiarch memchr for PPC32.
45962         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
45963         multiarch objects.
45964         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45965         (__libc_ifunc_impl_list): Likewise.
45967         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
45968         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
45969         file.
45970         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
45971         file.
45972         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
45973         file: multiarch mempcpy for PPC32.
45974         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
45975         multiarch objects.
45976         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45977         (__libc_ifunc_impl_list): Likewise.
45979         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
45980         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
45981         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
45982         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
45983         multiarch bzero for PPC32.
45984         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
45985         file.
45986         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
45987         file.
45988         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
45989         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
45990         file: multiarch memset for PPC32.
45991         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
45992         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
45993         memset multiarch objects.
45994         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45995         (__libc_ifunc_impl_list): Likewise.
45997         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
45998         file.
45999         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
46000         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
46001         memcmp for PPC32.
46002         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
46003         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
46004         multiarch objects.
46005         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46006         (__libc_ifunc_impl_list): Likewise.
46008         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
46009         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
46010         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
46011         file.
46012         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
46013         file.
46014         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
46015         file.
46016         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
46017         multiarch memcpy for PPC32.
46018         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
46019         multiarch objects.
46020         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46021         (__libc_ifunc_impl_list): Likewise.
46023         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
46024         support multiarch for POWER/PPC32.
46025         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
46026         Likewise.
46027         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
46028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
46029         Implies file to make multiarch folder appers before the fpu and
46030         default folder for power4 configuration.
46032 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46034         * scripts/bench.pl: Append volatile keyword to type.
46036 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46038         * sysdeps/sh/sotruss-lib.c: New file.
46039         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
46041 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46045 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
46047         [BZ #6810]
46048         * math/w_tgamma.c: Include <errno.h>.
46049         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
46050         * math/w_tgammaf.c: Include <errno.h>.
46051         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
46052         * math/w_tgammal.c: Include <errno.h>.
46053         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
46054         * math/auto-libm-test-in: Do not allow missing errno on tgamma
46055         underflow.  Add more tgamma tests.
46056         * math/auto-libm-test-out: Regenerated.
46057         * sysdeps/i386/fpu/libm-test-ulps: Update.
46058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46060         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
46061         sin, sinh, tan, tanh, tgamma, y0 and y1.
46062         * math/auto-libm-test-out: Regenerated.
46063         * math/libm-test.inc (TEST_COND_x86_64): New macro.
46064         (TEST_COND_x86): Likewise.
46065         (M_E2l): Remove macro.
46066         (M_E3l): Likewise.
46067         (M_2_SQRT_PIl): Likewise.
46068         (M_SQRT_PIl): Likewise.
46069         (M_1_DIV_El): Likewise.
46070         (log_test_data): Use AUTO_TESTS_f_f.
46071         (log10_test_data): Likewise.
46072         (log1p_test_data): Likewise.
46073         (log2_test_data): Likewise.
46074         (sin_test_data): Likewise.
46075         (sin_tonearest_test_data): Likewise.
46076         (sin_towardzero_test_data): Likewise.
46077         (sin_downward_test_data): Likewise.
46078         (sin_upward_test_data): Likewise.
46079         (sinh_test_data): Likewise.
46080         (sinh_tonearest_test_data): Likewise.
46081         (sinh_towardzero_test_data): Likewise.
46082         (sinh_downward_test_data): Likewise.
46083         (sinh_upward_test_data): Likewise.
46084         (tan_test_data): Likewise.
46085         (tan_tonearest_test_data): Likewise.
46086         (tan_towardzero_test_data): Likewise.
46087         (tan_downward_test_data): Likewise.
46088         (tan_upward_test_data): Likewise.
46089         (tanh_test_data): Likewise.
46090         (tgamma_test_data): Likewise.
46091         (y0_test_data): Likewise.
46092         (y1_test_data): Likewise.
46093         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
46094         (special_real_inputs): Add pi/4.
46095         * sysdeps/i386/fpu/libm-test-ulps: Update.
46096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46098 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46100         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
46101         "longjmp_target" static probes.
46102         (__longjmp): Rename to __longjmp_symbol.
46103         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46104         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
46105         on which longjmp to generate.
46106         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
46107         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
46108         probe.
46109         (__sigsetjmp): Rename to __sigsetjmp_symbol.
46110         (__sigjmp_save): Rename to __sigjmp_save_symbol.
46111         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46112         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
46113         and __sigjmp_save_symbol based on which sigsetjmp to generated.
46114         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
46116         __longjmp_symbol based on which __longjmp to generate.
46117         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
46118         probe.
46119         (setjmp): Rename to setjmp_symbol.
46120         (__sigsetjmp): Rename to __sigsetjmp_symbol.
46121         (_setjmp): Rename to _setjmp_symbol.
46122         (__sigsetjmp): Rename to __sigsetjmp_symbol.
46123         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
46124         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
46125         which setjmp to generate.
46126         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
46127         "longjmp_target" static probes.
46129 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46131         * benchtests/README: Add note about output arguments.
46132         * benchtests/bench-sincos.c: Remove file.
46133         * benchtests/sincos-inputs: New file.
46134         * scripts/bench.pl: Identify output arguments and define
46135         static variables for them.
46137         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
46139         [BZ #15941]
46140         * Makefile (INSTALL): Add install-plain.texi as the primary
46141         dependency.
46142         * manual/install-plain.texi: New file.
46143         * manual/install.texi: Include node directive only for
46144         non-plaintext output.
46146 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
46148         * stdlib/longlong.h: Update from GCC.
46150         [BZ #6807]
46151         [BZ #15901]
46152         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
46153         * math/w_j0f.c (y0f): Likewise.
46154         * math/w_j0l.c (__y0l): Likewise.
46155         * math/w_j1.c (y1): Likewise.
46156         * math/w_j1f.c (y1f): Likewise.
46157         * math/w_j1l.c (__y1l): Likewise.
46158         * math/w_jn.c (yn): Likewise.
46159         * math/w_jnf.c (ynf): Likewise.
46160         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
46161         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
46162         value for Bessel function domain errors outside _SVID_ mode.
46163         Adjust sign of return value for yn (negative integer, 0).
46164         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
46165         by zero in return for negative x and set sign appropriately for
46166         negative n.
46167         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
46168         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
46169         * math/libm-test.inc (y0_test_data): Add more tests and adjust
46170         expectations in error cases.
46171         (y1_test_data): Likewise.
46172         (yn_test_data): Likewise.
46173         * sysdeps/i386/fpu/libm-test-ulps: Update.
46174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46176 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46178         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
46179         "64" to "64-v1".  Add "64-v2".
46180         (abi-64-options): Rename to ...
46181         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
46182         (abi-64-condition): Rename to ...
46183         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
46184         (abi-64-ld-soname): Rename to ...
46185         (abi-64-v1-ld-soname): ... this.
46186         (abi-64-v2-options): Define.
46187         (abi-64-v2-condition): Likewise.
46188         (abi-64-v2-ld-soname): Likewise.
46189         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
46190         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
46191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
46192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
46193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
46195 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46196             Alan Modra  <amodra@gmail.com>
46198         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
46199         New versions for use with the ELFv2 ABI.
46200         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
46201         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
46202         declaration.
46203         (struct La_ppc64v2_retval): Likewise.
46204         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
46205         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
46206         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
46207         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
46208         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
46209         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46210         Do not save or restore CR.
46211         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
46212         (_dl_profile_resolve): Do no save or restore CR.  Support extended
46213         return values for ELFv2 ABI.  Fix location of FPR return registers.
46214         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
46215         updated values for _CALL_ELF == 2.
46216         (La_regs, La_retval, int_retval): Likewise.
46218 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46220         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
46221         (FRAME_MIN_SIZE_PARM): Likewise.
46222         (FRAME_BACKCHAIN): Likewise.
46223         (FRAME_CR_SAVE): Likewise.
46224         (FRAME_LR_SAVE): Likewise.
46225         (FRAME_TOC_SAVE): Likewise.
46226         (FRAME_PARM_SAVE): Likewise.
46227         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
46228         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
46229         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
46230         (call_mcount_parm_offset): New macro.
46231         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
46232         (PROF): Use symbolic stack frame offsets.
46233         (TAIL_CALL_SYSCALL_ERROR): Likewise.
46234         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
46235         Redefine in terms of FRAME_MIN_SIZE.
46236         (_dl_runtime_resolve): Use symbolic stack frame offsets.
46237         (_dl_profile_resolve): Likewise.  Update comment.
46238         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
46239         symbols stack frame offsets.
46240         (__sigsetjmp): Likewise.
46241         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
46242         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
46243         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
46244         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
46246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
46247         (FRAME_BACKCHAIN): Remove.
46248         (FRAME_CR_SAVE): Likewise.
46249         (FRAME_LR_SAVE): Likewise.
46250         (FRAME_COMPILER_DW): Likewise.
46251         (FRAME_LINKER_DW): Likewise.
46252         (FRAME_TOC_SAVE): Likewise.
46253         (FRAME_PARM_SAVE): Likewise.
46254         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
46255         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
46256         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
46257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
46258         (CHECK_SP): Use symbolic stack frame offsets.
46259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
46260         zone" instead of caller's parameter save area for temp storage.
46261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46262         Likewise.  Also, use symbolic stack frame offsets.
46263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
46264         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
46265         our own stack frame instead of the caller's.
46266         (__socket): Use symbolic stack frame offsets.
46268 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46269             Alan Modra  <amodra@gmail.com>
46271         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
46272         Define.
46273         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
46274         (PPC64_LOCAL_ENTRY_OFFSET): Define.
46275         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
46276         New function.
46277         (elf_machine_fixup_plt): Call it.
46278         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
46279         reloc arguments.
46280         (elf_machine_rela): Update call to elf_machine_plt_conflict.
46281         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
46282         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
46283         r2 before calling target.
46285 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46286             Alan Modra  <amodra@gmail.com>
46288         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
46289         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
46290         versions of macros to support ELFv2 ABI.
46291         (LOCALENTRY): New macro.
46292         (ENTRY, EALIGN): Use it.
46293         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
46294         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
46295         fall through into ENTRY entry point.
46296         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
46297         Only define if _CALL_ELF != 2.
46299         (elf_machine_matches_host): Verify ABI version matches.
46300         (RTLD_START): Use LOCALENTRY.
46301         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
46302         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
46303         (PLT_ENTRY_WORDS): New macro.
46304         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
46305         (elf_machine_runtime_setup): Support ELFv2 ABI.
46306         (elf_machine_fixup_plt): Likewise.
46307         (elf_machine_plt_conflict): Likewise.
46308         (resolve_ifunc): Likewise.
46309         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
46310         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
46311         Likewise.
46312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
46313         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
46314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46315         (makecontext): Support ELFv2 ABI.
46316         * elf/elf.h (EF_PPC64_ABI): Define.
46318 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46320         * sysdeps/powerpc/powerpc64/sysdep.h
46321         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
46322         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
46323         (ENTRY) [ASSEMBLER]: ... but instead here ...
46324         (EALIGN) [ASSEMBLER]: ... and here.
46325         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
46326         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
46327         (ENTRY_2) [!ASSEMBLER]: Use it.
46328         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
46329         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
46330         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
46331         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
46332         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
46333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
46334         Use PPC64_LOAD_FUNCPTR.
46336         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
46338 2013-12-04  Alan Modra  <amodra@gmail.com>
46340         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
46341         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
46342         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
46343         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
46345         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
46346         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
46347         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
46348         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
46349         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
46350         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
46352 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
46354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46355         (__makecontext): Fix incorrect CFI when backtracing out of
46356         context created via makecontext.
46357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
46358         (__setcontext): Fix incorrect CFI during switch to new context.
46359         (__novec_setcontext): Likewise.
46361 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
46363         [BZ #4772]
46364         * time/strptime_l.c (__strptime_internal): Allow modifiers
46365         in strptime.
46366         * time/tst-strptime.c (day_tests): Add testcase.
46368 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46370         * scripts/bench.pl: Skip over blank lines.
46372 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
46374         [BZ #926]
46375         * manual/time.texi (Calendar Time): Clarify what timezone functions
46376         use.
46378 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46382 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
46384         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
46385         implementation.
46386         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
46387         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
46388         * debug/memset_chk.c (__memset_chk): Likewise.
46389         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
46390         * debug/strncpy_chk.c: Likewise.
46392 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
46394         [BZ #15268]
46395         [BZ #15425]
46396         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
46397         (__ieee754_exp): For possibly underflowing results, check size of
46398         result and force underflow exception if required.
46399         * math/auto-libm-test-in: Add more tests of exp.
46400         * math/auto-libm-test-out: Regenerated.
46401         * sysdeps/i386/fpu/libm-test-ulps: Update.
46402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46404         [BZ #16283]
46405         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
46406         * math/w_exp2f.c (__exp2f): Likewise.
46407         * math/w_exp2l.c (__exp2l): Likewise.
46408         * math/auto-libm-test-in: Do not allow missing errno on exp2
46409         underflow.
46410         * math/auto-libm-test-out: Regenerated.
46412 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
46414         [BZ #16274]
46415         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
46416         handle filename validation.
46417         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
46418         (do_open): Delete.
46420 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
46422         [BZ #6786]
46423         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
46424         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
46425         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
46426         <float.h>.
46427         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
46428         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
46429         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
46430         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
46431         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
46432         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
46433         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
46434         * math/auto-libm-test-in: Don't allow missing errno from erfc.
46435         Add more erfc tests.
46436         * math/auto-libm-test-out: Regenerated.
46437         * sysdeps/i386/fpu/libm-test-ulps: Update.
46438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46440         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
46441         exp2, expm1, j0 and j1.
46442         * math/auto-libm-test-out: Regenerated.
46443         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
46444         (erfc_test_data): Likewise.
46445         (exp_test_data): Likewise.
46446         (exp_tonearest_test_data): Likewise.
46447         (exp_towardzero_test_data): Likewise.
46448         (exp_downward_test_data): Likewise.
46449         (exp_upward_test_data): Likewise.
46450         (exp10_test_data): Likewise.
46451         (exp2_test_data): Likewise.
46452         (expm1_test_data): Likewise.
46453         (j0_test_data): Likewise.
46454         (j1_test_data): Likewise.
46455         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
46456         (input_flag_type): Add flag_xfail_rounding.
46457         (input_flags): Add xfail-rounding.
46458         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
46459         (output_for_one_input_case): Handle flag_xfail_rounding.
46460         * sysdeps/i386/fpu/libm-test-ulps: Update.
46461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46463 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
46465         [BZ #16289]
46466         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
46467         division by 0.
46469 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
46471         [BZ #16195]
46472         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
46473         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
46474         (STAP_PROBE0): New macro.
46475         (STAP_PROBE1): Likewise.
46476         (STAP_PROBE2): Likewise.
46477         (STAP_PROBE3): Likewise.
46478         (STAP_PROBE4): Likewise.
46480 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
46482         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
46484 2013-12-02  Steve Ellcey  <sellcey@mips.com>
46486         * benchtests/Makefile (bench): Add sqrt.
46487         (LDLIBS-bench-sqrt): New.
46488         * benchtests/sqrt-input: New.
46490 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
46492         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
46493         (GAIH_EAI): Likewise.
46494         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
46495         (gaih_inet): Likewise.
46496         (getaddrinfo): Don't use GAIH_EAI.
46498         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
46499         (struct gaih): Remove definition.
46501 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
46503         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
46504         Use HERRNOP directly.
46506 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46508         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46510 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
46512         * math/gen-auto-libm-tests.c (test_functions): Add more
46513         single-argument functions.
46514         (special_fill_pi_2): New function.
46515         (special_fill_minus_pi_2): Likewise.
46516         (special_fill_pi_6): Likewise.
46517         (special_fill_minus_pi_6): Likewise.
46518         (special_fill_pi_3): Likewise.
46519         (special_fill_2pi_3): Likewise.
46520         (special_fill_e): Likewise.
46521         (special_fill_1_e): Likewise.
46522         (special_fill_e_minus_1): Likewise.
46523         (special_real_inputs): Add more special inputs.
46524         (output_for_one_input_case): Do not require ERANGE on underflow to
46525         zero if round-to-nearest result does not underflow to zero, unless
46526         exact results required.
46527         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
46528         atan, atanh, cbrt, cos and cosh.
46529         * math/auto-libm-test-out: Regenerated.
46530         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
46531         (acos_tonearest_test_data): Likewise.
46532         (acos_towardzero_test_data): Likewise.
46533         (acos_downward_test_data): Likewise.
46534         (acos_upward_test_data): Likewise.
46535         (acosh_test_data): Likewise.
46536         (asin_test_data): Likewise.
46537         (asin_tonearest_test_data): Likewise.
46538         (asin_towardzero_test_data): Likewise.
46539         (asin_upward_test_data): Likewise.
46540         (asinh_test_data): Likewise.
46541         (atan_test_data): Likewise.
46542         (atanh_test_data): Likewise.
46543         (cbrt_test_data): Likewise.
46544         (cos_test_data): Likewise.
46545         (cos_tonearest_test_data): Likewise.
46546         (cos_towardzero_test_data): Likewise.
46547         (cos_downward_test_data): Likewise.
46548         (cos_upward_test_data): Likewise.
46549         (cosh_test_data): Likewise.
46550         (cosh_tonearest_test_data): Likewise.
46551         (cosh_towardzero_test_data): Likewise.
46552         (cosh_downward_test_data): Likewise.
46553         (cosh_upward_test_data): Likewise.
46554         * sysdeps/i386/fpu/libm-test-ulps: Update.
46555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46557 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
46559         [BZ #6787]
46560         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
46561         * math/w_exp10f.c (__exp10f): Likewise.
46562         * math/w_exp10l.c (__exp10l): Likewise.
46563         * math/libm-test.inc (exp10_test_data): Add more tests and expect
46564         errno settings in existing tests.
46566         [BZ #14032]
46567         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
46568         precision control set to double precision.
46569         * sysdeps/i386/fpu/w_sqrt.c: New file.
46570         * math/auto-libm-test-in: Add more tests.
46571         * math/auto-libm-test-out: Update.
46573         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
46574         (sqrt_test_tonearest): New function.
46575         (sqrt_towardzero_test_data): New variable.
46576         (sqrt_test_towardzero): New function.
46577         (sqrt_downward_test_data): New variable.
46578         (sqrt_test_downward): New function.
46579         (sqrt_upward_test_data): New variable.
46580         (sqrt_test_upward): New function.
46581         (main): Call the new functions.
46583         * math/gen-auto-libm-tests.c: New file.
46584         * math/auto-libm-test-in: Likewise.
46585         * math/auto-libm-test-out: New generated file.
46586         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
46587         variables.
46588         (%beautify): Add generated representations of zero.
46589         (top level): Set $auto_input and call parse_auto_input.
46590         (beautify): Remove trailing "f" from hex float constants.
46591         (parse_args): Handle XFAIL_TEST.
46592         (convert_condition): New function.
46593         (or_value): Likewise.
46594         (or_cond_value): Likewise.
46595         (generate_testfile): Handle AUTO_TESTS_* lines.
46596         (parse_auto_input): New function.
46597         * math/libm-test.inc (XFAIL_TEST): New macro.
46598         (ERRNO_UNCHANGED): Update value.
46599         (ERRNO_EDOM): Likewise.
46600         (ERRNO_ERANGE): Likewise.
46601         (IGNORE_RESULT): Likewise.
46602         (TEST_COND_flt_32): New macro.
46603         (TEST_COND_dbl_64): Likewise.
46604         (TEST_COND_ldbl_96_intel): Likewise.
46605         (TEST_COND_ldbl_96_m68k): Likewise.
46606         (TEST_COND_ldbl_128): Likewise.
46607         (TEST_COND_ldbl_128ibm): Likewise.
46608         (TEST_COND_long32): Likewise.
46609         (TEST_COND_long64): Likewise.
46610         (TEST_COND_before_rounding): Likewise.
46611         (TEST_COND_after_rounding): Likewise.
46612         (enable_test): Handle XFAIL_TEST flag.
46613         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
46614         with finite results.
46615         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
46616         auto-libm-test-out.
46618 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46619             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46621         [BZ #16214]
46622         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
46623         __tls_get_addr_internal instead of __tls_get_offset in order to
46624         avoid GOT pointer dependency.  Make rtld export
46625         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
46626         __tls_get_addr since we are a __tls_get_offset platform.
46627         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
46628         GOT pointer being set up before.
46629         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
46631 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
46633         * manual/math.texi (Errors in Math Functions): Document accuracy
46634         goals.
46636         [BZ #15004]
46637         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
46638         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
46639         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46640         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46641         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46642         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46643         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46644         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46645         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46646         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46647         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46648         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46649         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46650         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46651         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46652         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46654         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
46655         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
46656         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
46657         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
46658         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
46659         Likewise.
46660         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
46661         Likewise.
46662         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
46663         Likewise.
46664         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
46665         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
46666         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
46667         atomic-feupdateenv and flt-rounds.
46668         * sysdeps/powerpc/nofpu/Versions (libc): Add
46669         __atomic_feholdexcept, __atomic_feclearexcept,
46670         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
46671         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
46672         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
46673         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
46674         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
46675         here.
46676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
46677         Update.
46679         * manual/arith.texi (FP Exceptions): Document that exceptions may
46680         not be raised when matherr is used.
46681         (Math Error Reporting): Document overflow in directed rounding
46682         modes.  Document that errno may not be set when finite values are
46683         returned on overflow.  Document intent to set errno on underflow
46684         only for underflow to zero.
46686         [BZ #16271]
46687         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
46688         round-to-nearest then adjust result for other rounding modes.
46689         * include/fenv.h (fegetround): Use libm_hidden_proto.
46690         * math/fegetround.c (fegetround): Use libm_hidden_def.
46691         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
46692         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
46693         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
46694         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
46695         Likewise.
46696         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
46697         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46698         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
46699         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
46701 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46703         [BZ #16077]
46704         * nss/Versions (libnss_files): Add
46705         _nss_files_gethostbyname3_r.
46706         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
46707         New function.
46708         (HOST_DB_LOOKUP): Remove macro.
46709         (_nss_files_gethostbyname_r): Implement function without the
46710         HOST_DB_LOOKUP macro.
46711         (_nss_files_gethostbyname2_r): Likewise.
46713 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
46715         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
46717 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
46719         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
46720         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
46721         warning.
46723 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46725         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
46726         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
46727         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
46728         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
46729         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
46730         __fe_nomask_env_priv and attribute_hidden.
46731         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
46732         (libc_feupdateenv_test_ppc): Likewise.
46733         (libc_feresetround_ppc): Likewise.
46734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46735         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
46736         compat_symbol macro.
46737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46738         (__fe_nomask_env): Likewise.
46739         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
46741 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46743         * string/Makefile: Remove ifunc tests.
46744         * string/test-string.h: Define TEST_IFUNC.
46745         * string/test-bcopy-ifunc.c: Remove.
46746         * string/test-bzero-ifunc.c: Likewise.
46747         * string/test-memccpy-ifunc.c: Likewise.
46748         * string/test-memchr-ifunc.c: Likewise.
46749         * string/test-memcmp-ifunc.c: Likewise.
46750         * string/test-memcpy-ifunc.c: Likewise.
46751         * string/test-memmem-ifunc.c: Likewise.
46752         * string/test-memmove-ifunc.c: Likewise.
46753         * string/test-mempcpy-ifunc.c: Likewise.
46754         * string/test-memrchr-ifunc.c: Likewise.
46755         * string/test-memset-ifunc.c: Likewise.
46756         * string/test-rawmemchr-ifunc.c: Likewise.
46757         * string/test-stpcpy-ifunc.c: Likewise.
46758         * string/test-stpncpy-ifunc.c: Likewise.
46759         * string/test-strcasecmp-ifunc.c: Likewise.
46760         * string/test-strcasestr-ifunc.c: Likewise.
46761         * string/test-strcat-ifunc.c: Likewise.
46762         * string/test-strchr-ifunc.c: Likewise.
46763         * string/test-strchrnul-ifunc.c: Likewise.
46764         * string/test-strcmp-ifunc.c: Likewise.
46765         * string/test-strcpy-ifunc.c: Likewise.
46766         * string/test-strcspn-ifunc.c: Likewise.
46767         * string/test-strlen-ifunc.c: Likewise.
46768         * string/test-strncasecmp-ifunc.c: Likewise.
46769         * string/test-strncat-ifunc.c: Likewise.
46770         * string/test-strncmp-ifunc.c: Likewise.
46771         * string/test-strncpy-ifunc.c: Likewise.
46772         * string/test-strnlen-ifunc.c: Likewise.
46773         * string/test-strpbrk-ifunc.c: Likewise.
46774         * string/test-strrchr-ifunc.c: Likewise.
46775         * string/test-strspn-ifunc.c: Likewise.
46776         * string/test-strstr-ifunc.c: Likewise.
46778 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46780         * benchtests/Makefile: Remove ifunc tests.
46781         * benchtests/bench-string.h: Define TEST_IFUNC.
46782         * benchtests/bench-bcopy-ifunc.c: Remove.
46783         * benchtests/bench-bzero-ifunc.c: Likewise.
46784         * benchtests/bench-memccpy-ifunc.c: Likewise.
46785         * benchtests/bench-memchr-ifunc.c: Likewise.
46786         * benchtests/bench-memcmp-ifunc.c: Likewise.
46787         * benchtests/bench-memcpy-ifunc.c: Likewise.
46788         * benchtests/bench-memmem-ifunc.c: Likewise.
46789         * benchtests/bench-memmove-ifunc.c: Likewise.
46790         * benchtests/bench-mempcpy-ifunc.c: Likewise.
46791         * benchtests/bench-memrchr-ifunc.c: Likewise.
46792         * benchtests/bench-memset-ifunc.c: Likewise.
46793         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
46794         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
46795         * benchtests/bench-stpcpy-ifunc.c: Likewise.
46796         * benchtests/bench-stpncpy-ifunc.c: Likewise.
46797         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
46798         * benchtests/bench-strcasestr-ifunc.c: Likewise.
46799         * benchtests/bench-strcat-ifunc.c: Likewise.
46800         * benchtests/bench-strchr-ifunc.c: Likewise.
46801         * benchtests/bench-strchrnul-ifunc.c: Likewise.
46802         * benchtests/bench-strcmp-ifunc.c: Likewise.
46803         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
46804         * benchtests/bench-strcpy-ifunc.c: Likewise.
46805         * benchtests/bench-strcspn-ifunc.c: Likewise.
46806         * benchtests/bench-strlen-ifunc.c: Likewise.
46807         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
46808         * benchtests/bench-strncat-ifunc.c: Likewise.
46809         * benchtests/bench-strncmp-ifunc.c: Likewise.
46810         * benchtests/bench-strncpy-ifunc.c: Likewise.
46811         * benchtests/bench-strnlen-ifunc.c: Likewise.
46812         * benchtests/bench-strpbrk-ifunc.c: Likewise.
46813         * benchtests/bench-strrchr-ifunc.c: Likewise.
46814         * benchtests/bench-strsep-ifunc.c: Likewise.
46815         * benchtests/bench-strspn-ifunc.c: Likewise.
46816         * benchtests/bench-strstr-ifunc.c: Likewise.
46818 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46820         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
46822 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46824         * resolv/netdb.h: Use __glibc_reserved instead __unused.
46825         * rt/aio.h: Likewise.
46826         * sysdeps/gnu/bits/utmp.h: Likewise.
46827         * sysdeps/gnu/bits/utmpx.h: Likewise.
46828         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
46829         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
46830         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
46831         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
46832         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
46833         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
46834         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
46835         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
46836         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
46837         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
46838         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
46839         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
46840         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
46841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
46842         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
46843         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
46844         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
46845         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
46846         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
46847         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
46848         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
46849         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
46850         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
46851         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46852         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
46853         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46854         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
46855         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
46856         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
46857         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
46858         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
46859         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
46860         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
46861         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
46862         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
46863         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
46864         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
46865         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
46866         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
46867         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
46868         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
46869         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
46871 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
46873         [BZ #16245]
46874         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
46875         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
46877 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
46879         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
46880         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
46881         Likewise.
46883 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46885         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
46886         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
46887         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
46888         (__fesetround): Remove define.
46889         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
46890         rounding and exceptions handling.
46891         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
46892         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
46893         (__fe_nomask_env): Likewise.
46894         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
46895         __fegetround instead of fegetround.
46896         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
46897         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
46899 2013-11-21  Roland McGrath  <roland@hack.frob.com>
46901         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
46902         it's there.
46904         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
46906 2013-11-21  Meador Inge  <meadori@codesourcery.com>
46908         [BZ #11157]
46909         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
46910         (encrypt_r): Likewise.
46911         * malloc/obstack.h (obstack_free): Likewise.
46912         * posix/unistd.h (encrypt): Likewise.
46914 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
46916         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
46917         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
46918         DL_CALL_DT_FINI() that call the functions directly.
46919         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
46920         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
46921         * elf/dl-fini.c: Likewise.
46923 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
46925         * malloc/hooks.c (memalign_check): Add alignment rounding.
46926         * malloc/malloc.c (_mid_memalign): New function.
46927         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
46928         Implement by calling _mid_memalign.
46929         * manual/probes.texi (Memory Allocation Probes): Remove
46930         memory_valloc_retry and memory_pvalloc_retry.
46932 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46934         * locale/programs/locarchive.c (open_archive): Add const
46935         qualifier to ARCHIVEFNAME and copy default fname to
46936         DEFAULT_FNAME.
46938         [BZ #15601]
46939         * libio/tst-widetext.input: Rename Oriya to Odia.
46940         * locale/iso-639.def: Likewise.
46942         * manual/probes.texi (Mathematical Function Probes): Add
46943         documentation for sin, cos, asin and acos probes.
46944         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
46945         (__sin32): Add slowasin probe.
46946         (__cos32): Add slowacos probe.
46947         (__mpsin): Add slowsin probe.
46948         (__mpcos): Add slowcos probe.
46950 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
46952         [BZ #15483]
46953         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
46954         thread-local __sim_exceptions_thread and global
46955         __sim_exceptions_global.
46956         (__sim_disabled_exceptions): Change to thread-local
46957         __sim_disabled_exceptions_thread and global
46958         __sim_disabled_exceptions_global.
46959         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
46960         and global __sim_round_mode_global.
46961         (__simulate_exceptions): Use thread-local floating-point state and
46962         set global state from it as needed.
46963         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
46964         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
46965         __sim_round_mode_thread.
46966         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
46967         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
46968         and global __sim_exceptions_global.
46969         (__sim_disabled_exceptions): Change to thread-local
46970         __sim_disabled_exceptions_thread and global
46971         __sim_disabled_exceptions_global.
46972         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
46973         and global __sim_round_mode_global.
46974         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
46975         (SIM_SET_GLOBAL): Likewise.
46976         * sysdeps/powerpc/soft-fp/sfp-machine.h
46977         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
46978         __sim_round_mode_thread.
46979         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
46980         __sim_disabled_exceptions_thread.
46981         (__sim_exceptions): Change to __sim_exceptions_thread.
46982         (__sim_disabled_exceptions): Change to
46983         __sim_disabled_exceptions_thread.
46984         (__sim_round_mode): Change to __sim_round_mode_thread.
46985         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
46986         thread-local floating-point state and set global state from it as
46987         needed.
46988         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
46989         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
46990         (__sim_disabled_exceptions): Remove extern declaration.
46991         (feenableexcept): Use thread-local floating-point state and set
46992         global state from it as needed.
46993         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
46994         extern declaration.
46995         (__sim_disabled_exceptions): Likewise.
46996         (__sim_round_mode): Likewise.
46997         (__fegetenv): Use thread-local floating-point state.
46998         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
46999         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
47000         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
47001         floating-point state and set global state from it as needed.
47002         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
47003         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
47004         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
47005         Likewise.
47006         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
47007         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
47008         Likewise.
47009         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
47010         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
47011         Use __sim_round_mode_thread.
47012         * math/test-fenv-tls.c: New file.
47013         * math/Makefile (tests): Add test-fenv-tls.
47014         ($(objpfx)test-fenv-tls): Depend on
47015         $(common-objpfx)nptl/libpthread.so.
47017 2013-11-19  Andreas Schwab  <schwab@suse.de>
47019         * locale/programs/locale.c (show_info): Decode wordarray elements.
47020         * locale/categories.def (LC_MONETARY): Add element for
47021         _NL_MONETARY_CRNCYSTR.
47022         * locale/C-monetary.c (conversion_rate): New variable.
47023         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
47024         element.
47026 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
47028         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
47029         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
47031 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
47033         * elf/Makefile (tst-auxv): New test.
47034         * elf/tst-auxv.c: New
47035         * elf/rtld.c (dl_main): Adjust AT_EXECFN
47037 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
47039         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
47040         (hidden_proto): Caller changed.
47041         (hidden_tls_proto): New macro.
47042         (libc_hidden_tls_proto): Likewise.
47043         (rtld_hidden_tls_proto): Likewise.
47044         (libm_hidden_tls_proto): Likewise.
47045         (libresolv_hidden_tls_proto): Likewise.
47046         (librt_hidden_tls_proto): Likewise.
47047         (libdl_hidden_tls_proto): Likewise.
47048         (libnss_files_hidden_tls_proto): Likewise.
47049         (libnsl_hidden_tls_proto): Likewise.
47050         (libnss_nisplus_hidden_tls_proto): Likewise.
47051         (libutil_hidden_tls_proto): Likewise.
47053 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
47055         [BZ #10253]
47056         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
47057         (decompose_rpath): Defer expansion to fillin_rpath.
47058         (_dl_init_paths): Pass linkmap to fillin_rpath.
47060 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
47062         * benchtests/Makefile: Add strsep.
47063         * benchtests/bench-strsep.c: New file: strsep benchtest.
47064         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
47066 2013-11-18  Andreas Schwab  <schwab@suse.de>
47068         * locale/programs/locale.c (show_info) [case byte]: Check for
47069         '\377' instead of '\177'.
47070         * locale/C-monetary.c (not_available): Always use "\377".
47071         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
47072         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
47073         detect unavailable sign_posn locale elements.
47074         * locale/localeconv.c (__localeconv): For grouping and
47075         mon_grouping handle "\177" and "\377" like no grouping.
47076         (INT_ELEM): New macro.  Use it to set all numeric members.
47077         * locale/programs/ld-monetary.c (monetary_read)
47078         <tok_mon_grouping>: Normalize single -1 to the empty string.
47079         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
47080         Likewise.
47082 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
47084         [BZ #16055]
47085         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
47086         when we match (nil).
47087         * stdio-common/tst-sscanf.c (struct test): Add testcase.
47089 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
47091         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
47092         (NO_TEST_INLINE): Update value.
47093         (ERRNO_UNCHANGED): Likewise.
47094         (ERRNO_EDOM): Likewise.
47095         (ERRNO_ERANGE): Likewise.
47096         (IGNORE_RESULT): Likewise.
47097         (check_float_internal): Check signs of NaN results if
47098         TEST_NAN_SIGN used.
47099         (check_complex): Pass TEST_NAN_SIGN flag through to second
47100         check_float_internal call.
47101         (copysign_test_data): Add tests with quiet NaNs as second
47102         argument.  Use TEST_NAN_SIGN.
47103         (fabs_test_data): Add test of negative quiet NaN argument.  Use
47104         TEST_NAN_SIGN.
47105         (signbit_test_data): Add tests of quiet NaN argument.
47106         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
47108         * math/gen-libm-test.pl (show_exceptions): Take extra argument
47109         $ignore_result.
47110         (parse_args): Handle function results specified as IGNORE.
47111         * math/libm-test.inc (IGNORE_RESULT): New macro.
47112         (check_float_internal): Do not check numerical result if flag
47113         IGNORE_RESULT set.
47114         (check_complex): Pass through IGNORE_RESULT to second
47115         check_float_internal call.
47116         (check_int): Do not check numerical result if flag IGNORE_RESULT
47117         set.
47118         (check_long): Likewise.
47119         (check_bool): Likewise.
47120         (check_longlong): Likewise.
47121         (lrint_test_data): Add tests of infinite and NaN arguments.
47122         (lrint_tonearest_test_data): Likewise.
47123         (lrint_towardzero_test_data): Likewise.
47124         (lrint_downward_test_data): Likewise.
47125         (lrint_upward_test_data): Likewise.
47126         (llrint_test_data): Likewise.
47127         (llrint_tonearest_test_data): Likewise.
47128         (llrint_towardzero_test_data): Likewise.
47129         (llrint_downward_test_data): Likewise.
47130         (llrint_upward_test_data): Likewise.
47131         (lround_test_data): Likewise.
47132         (llround_test_data): Likewise.
47134         * math/libm-test.inc (NO_TEST_INLINE): New macro.
47135         (ERRNO_UNCHANGED): Update value.
47136         (ERRNO_EDOM): Likewise.
47137         (ERRNO_ERANGE): Likewise.
47138         (NO_TEST_INLINE_FLOAT): New macro.
47139         (NO_TEST_INLINE_DOUBLE): Likewise.
47140         (enable_test): New function.
47141         (RUN_TEST_f_f): Check enable_test before running test.
47142         (RUN_TEST_2_f): Likewise.
47143         (RUN_TEST_fff_f): Likewise.
47144         (RUN_TEST_c_f): Likewise.
47145         (RUN_TEST_f_f1): Likewise.
47146         (RUN_TEST_fF_f1): Likewise.
47147         (RUN_TEST_fI_f1): Likewise.
47148         (RUN_TEST_ffI_f1): Likewise.
47149         (RUN_TEST_c_c): Likewise.
47150         (RUN_TEST_cc_c): Likewise.
47151         (RUN_TEST_f_i): Likewise.
47152         (RUN_TEST_f_i_tg): Likewise.
47153         (RUN_TEST_ff_i_tg): Likewise.
47154         (RUN_TEST_f_b): Likewise.
47155         (RUN_TEST_f_b_tg): Likewise.
47156         (RUN_TEST_f_l): Likewise.
47157         (RUN_TEST_f_L): Likewise.
47158         (RUN_TEST_fFF_11): Likewise.
47159         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
47160         conditionals.
47161         (cosh_test_data): Likewise.
47162         (exp_test_data): Likewise.
47163         (expm1_test_data): Likewise.
47164         (hypot_test_data): Likewise.
47165         (pow_test_data): Likewise.
47166         (sinh_test_data): Likewise.
47167         (tanh_test_data): Likewise.
47168         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
47169         flags argument.
47171         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
47172         tests with quiet NaN input and output.
47173         (acosh_test_data): Likewise.
47174         (asin_test_data): Likewise.
47175         (asinh_test_data): Likewise.
47176         (atan_test_data): Likewise.
47177         (atanh_test_data): Likewise.
47178         (atan2_test_data): Likewise.
47179         (cbrt_test_data): Likewise.
47180         (cos_test_data): Likewise.
47181         (cosh_test_data): Likewise.
47182         (erf_test_data): Likewise.
47183         (erfc_test_data): Likewise.
47184         (exp_test_data): Likewise.
47185         (exp10_test_data): Likewise.
47186         (exp2_test_data): Likewise.
47187         (expm1_test_data): Likewise.
47188         (hypot_test_data): Likewise.
47189         (j0_test_data): Likewise.
47190         (j1_test_data): Likewise.
47191         (jn_test_data): Likewise.
47192         (lgamma_test_data): Likewise.
47193         (log_test_data): Likewise.
47194         (log10_test_data): Likewise.
47195         (log1p_test_data): Likewise.
47196         (log2_test_data): Likewise.
47197         (pow_test_data): Likewise.
47198         (scalb_test_data): Likewise.
47199         (sin_test_data): Likewise.
47200         (sincos_test_data): Likewise.
47201         (sinh_test_data): Likewise.
47202         (tan_test_data): Likewise.
47203         (tanh_test_data): Likewise.
47204         (tgamma_test_data): Likewise.
47205         (y0_test_data): Likewise.
47206         (y1_test_data): Likewise.
47207         (yn_test_data): Likewise.
47209         [BZ #16167]
47210         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
47211         argument being NaN and avoid computations with second argument in
47212         that case.
47213         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47214         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
47215         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47217 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
47219         * locale/iso-639.def: Add Chitwani Tharu (the).
47221 2013-11-14  Andreas Schwab  <schwab@suse.de>
47223         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
47224         word instead of empty string.
47226 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47229         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
47230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47231         (__fe_nomask_env): Likewise.
47233 2013-11-13  Steve Ellcey  <sellcey@mips.com>
47235         * benchtests/bench-timing.h: Include time.h.
47237 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
47239         [BZ #15997]
47240         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
47241         to 3.4.0 for x32.
47242         * sysdeps/unix/sysv/linux/configure: Regenerated.
47244 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
47246         [BZ #16151]
47247         * stdlib/strtod_l.c (round_and_return): Do not consider
47248         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
47249         exponent one less than half the least subnormal exponent.
47250         * stdlib/test-strtod-round-data: Add more tests.
47251         * stdlib/tst-strtod-round.c (tests): Regenerated.
47253 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47255         [BZ #14143]
47256         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
47257         (__fe_mask_env): Likewise.
47258         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
47259         libm_hidden_proto and add function prototype.
47260         (__fe_mask_env): Add function prototype.
47261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47262         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
47263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
47264         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
47265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47266         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
47268 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47270         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
47271         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
47273 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47275         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
47276         of htab_find_slot().
47278 2013-11-11  David S. Miller  <davem@davemloft.net>
47280         [BZ #16150]
47281         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
47282         symbol in the non-vis3 case in static builds.
47283         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
47284         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
47285         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
47286         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
47288 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
47290         [BZ #387]
47291         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
47292         it is empty.
47294 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47296         * benchtests/Makefile: Add bench-strtod.
47297         * benchtests/bench-strtod.c: New file: strtod benchtest
47299 2013-11-11  Andreas Schwab  <schwab@suse.de>
47301         [BZ #16153]
47302         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
47303         terminating NUL in key length.
47305 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47307         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
47308         Add artificial ODP entry for vDSO symbol for PPC64.
47309         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
47310         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
47312 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
47314         [BZ #15374]
47315         * nss/getent.c (services_keys): Recognize services starting with digit.
47317 2013-11-06  David S. Miller  <davem@davemloft.net>
47319         [BZ #15985]
47320         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
47321         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
47323 2013-11-06  Will Newton  <will.newton@linaro.org>
47325         * manual/memory.texi (Malloc Examples): Remove register
47326         keyword from examples.
47328 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
47330         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
47332 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
47334         [BZ #6981]
47335         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
47336         depending on [__GCC_IEC_559 > 0].
47337         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
47338         depending on [__GCC_IEC_559_COMPLEX > 0].
47340 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
47342         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
47343         to iso-639.def.
47345 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
47347         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
47349 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
47351         [BZ #16112]
47352         * malloc/malloc (malloc_info): Do not handle first bin as
47353         special case.
47355 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
47357         * locale/iso-639.def: Add Central Nahuatl (nhn).
47359 2013-11-01  Bruno Haible  <bruno@clisp.org>
47361         [BZ #7003]
47362         * manual/math.texi (BSD Random): Specify range upper bound as
47363         in POSIX.
47365 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
47367         * locale/iso-639.def: Add Meadow Mari (mhr).
47369 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
47371         [BZ #14752], [BZ #15763]
47372         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
47373         Validate name.
47374         * rt/tst_shm.c: Add test for escaping directory.
47376 2013-10-31  Andreas Schwab  <schwab@suse.de>
47378         [BZ #15917]
47379         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
47380         followed by 'x' as part of digit sequence.
47381         * stdio-common/tst-sscanf.c (double_tests2): New tests.
47383 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
47385         [BZ #16037]
47386         * configure.ac: allow GNU Make 4.0 and greater.
47387         * configure: Regenerated.
47389 2013-10-30  Will Newton  <will.newton@linaro.org>
47391         [BZ #16038]
47392         * malloc/hooks.c (memalign_check): Limit alignment to the
47393         maximum representable power of two.
47394         * malloc/malloc.c (__libc_memalign): Likewise.
47395         * malloc/tst-memalign.c (do_test): Add test for very
47396         large alignment values.
47397         * malloc/tst-posix_memalign.c (do_test): Likewise.
47399 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
47401         [BZ #11087]
47402         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
47403         (munmap_chunk): Likewise.
47404         (mremap_chunk): Likewise.
47406 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
47408         [BZ #15799]
47409         * stdlib/div.c (div): Remove obsolete code.
47410         * stdlib/ldiv.c (ldiv): Likewise.
47411         * stdlib/lldiv.c (lldiv): Likewise.
47413 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47415         [BZ #16071]
47416         * nss/nss_files/files-XXX.c (get_contents_ret): New
47417         enumerator.
47418         (get_contents): New function.
47419         (internal_getent): Use it.  Expand size of LINEBUFLEN.
47421 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
47423         * configure.in: Moved to ...
47424         * configure.ac: ... here. Change reference to configure.in
47425         to configure.ac.
47426         * sysdeps/arm/preconfigure.ac: ... here.
47427         configure.in to configure.ac.
47428         * sysdeps/gnu/configure.in: Moved to ...
47429         * sysdeps/gnu/configure.ac: ... here.
47430         * sysdeps/i386/configure.in: Moved to ...
47431         * sysdeps/i386/configure.ac: ... here.
47432         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
47433         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
47434         * sysdeps/mach/configure.in: Moved to ...
47435         * sysdeps/mach/configure.ac: ... here.
47436         * sysdeps/mach/hurd/configure.in: Moved to ...
47437         * sysdeps/mach/hurd/configure.ac: ... here.
47438         * sysdeps/powerpc/configure.in: Moved to ...
47439         * sysdeps/powerpc/configure.ac: ... here.
47440         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
47441         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
47442         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
47443         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
47444         * sysdeps/s390/s390-32/configure.in: Moved to ...
47445         * sysdeps/s390/s390-32/configure.ac: ... here.
47446         * sysdeps/s390/s390-64/configure.in: Moved to ...
47447         * sysdeps/s390/s390-64/configure.ac: ... here.
47448         * sysdeps/sh/configure.in: Moved to ...
47449         * sysdeps/sh/configure.ac: ... here.
47450         * sysdeps/sparc/configure.in: Moved to ...
47451         * sysdeps/sparc/configure.ac: ... here.
47452         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
47453         * sysdeps/unix/sysv/linux/configure.ac: ... here.
47454         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
47455         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
47456         * sysdeps/x86_64/configure.in: Moved to ...
47457         * sysdeps/x86_64/configure.ac: ... here.
47458         * sysdeps/x86_64/preconfigure.in: Moved to ...
47459         * sysdeps/x86_64/preconfigure.ac: ... here.
47460         * aclocal.m4: Change reference to configure.in to configure.ac.
47461         * config.h.in: Likewise.
47462         * manual/install.texi: Likewise.
47463         * manual/maint.texi: Likewise.
47464         * Makefile: Likewise.
47465         * malloc/Makefile: Likewise.
47466         * nscd/Makefile: Likewise.
47467         * Makeconfig: Change reference to configure.in and
47468         preconfigure.in to configure.ac and preconfigure.ac
47469         respectively.
47470         * INSTALL: Regenerated.
47471         * configure: Likewise.
47472         * sysdeps/gnu/configure: Likewise.
47473         * sysdeps/i386/configure: Likewise.
47474         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
47475         * sysdeps/mach/configure: Likewise.
47476         * sysdeps/mach/hurd/configure: Likewise.
47477         * sysdeps/powerpc/configure: Likewise.
47478         * sysdeps/powerpc/powerpc32/configure: Likewise.
47479         * sysdeps/powerpc/powerpc64/configure: Likewise.
47480         * sysdeps/s390/s390-32/configure: Likewise.
47481         * sysdeps/s390/s390-64/configure: Likewise.
47482         * sysdeps/sh/configure: Likewise.
47483         * sysdeps/sparc/configure: Likewise.
47484         * sysdeps/unix/sysv/linux/configure: Likewise.
47485         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
47486         * sysdeps/x86_64/configure: Likewise.
47487         * sysdeps/x86_64/preconfigure: Likewise.
47489 2013-10-29  Andreas Schwab  <schwab@suse.de>
47491         * stdio-common/Makefile (tst-swscanf-ENV): Define.
47493 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47495         * benchtests/pow-inputs: Add new inputs.
47497         * benchtests/exp-inputs: Add new inputs.
47499         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
47500         conditional check for return value.
47501         (__cos32): Likewise.
47503 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47505         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
47506         to provide a boost for large inputs with word alignment.
47507         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
47508         implementation based on optimized PPC64 strcpy.
47509         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
47510         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
47511         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
47512         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
47514 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47516         [BZ #2801]
47517         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
47519 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47521         [BZ #14876]
47522         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
47523         * time/tst-strptime.c (day_tests): Add testcase.
47525 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
47527         [BZ #14029]
47528         * manual/pattern.texi: Acknowledge that fnmatch can fail.
47530 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
47532         [BZ #16074]
47533         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
47534         MAP_FAILED on error.
47536 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47538         [BZ #16072]
47539         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
47540         heap for large requests.
47542 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
47544         [BZ #9954]
47545         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
47546         result if the result has no associated interface.
47547         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
47548         interface for all 127.X.Y.Z addresses.
47550 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
47552         * locale/iso-639.def: Add Ligurian (lij)
47554 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
47556         [BZ #15825]
47557         * sunrpc/rpc_main.c: Document rpcgen -5.
47559 2013-10-19  Michael Stahl  <mstahl@redhat.com>
47561         * elf/rtld.c (do_preload): Print the reason why preloading failed.
47563 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
47565         [BZ #10278]
47566         * posix/glob.c: Match only directories when trailing slash is present.
47567         * posix/tst-gnuglob.c (my_opendir): Do not open files.
47568         (main): Add testcase.
47570 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
47572         [BZ #15670]
47573         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
47575 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
47577         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
47578         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
47579         AUTH_DES and cindex for FIPS 140-2.
47580         (DES Encryption): Add cindex FIPS 46-3.
47582         * locale/locarchive.h (struct locarhandle): Add fname.
47583         * locale/programs/localedef.c (main): Pass ARGV[remaining]
47584         if an optional argument was specified to --list-archive,
47585         otherwise NULL.
47586         * locale/programs/locarchive.c (show_archive_content): Take new
47587         argument fname and pass it via ah.fname to open_archive.
47588         * locale/programs/localedef.h: Update decl.
47589         (open_archive): If AH->fname is non-null, open that file
47590         rather than the default file name, and don't ignore ENOENT.
47591         (create_archive): Set AH.fname to NULL.
47592         (delete_locales_from_archive): Likewise.
47593         (add_locales_to_archive): Likewise.
47594         * locale/programs/locfile.c (write_all_categories): Likewise.
47596 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
47597             Aldy Hernandez  <aldyh@redhat.com>
47599         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
47600         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
47601         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
47602         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
47603         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
47604         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
47605         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
47606         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
47607         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
47608         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
47609         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
47610         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
47611         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
47612         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
47613         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
47614         Likewise.
47615         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
47616         Likewise.
47617         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
47618         Likewise.
47619         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
47620         Likewise.
47621         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
47622         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
47623         Likewise.
47624         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
47625         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
47626         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
47627         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
47628         Likewise.
47629         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
47630         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
47631         * sysdeps/powerpc/preconfigure: Likewise.
47632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
47633         Likewise.
47634         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
47635         Replace contents of file by #include of <fenv_libc.h>.
47636         * sysdeps/powerpc/soft-fp/sfp-machine.h
47637         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
47638         and <sys/prctl.h>.
47639         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
47640         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
47641         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
47642         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
47643         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
47644         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
47645         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
47646         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
47647         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
47648         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
47649         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
47650         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
47651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47652         Allow copysignl PLT reference to be missing.
47654 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
47655             Joseph Myers  <joseph@codesourcery.com
47657         [BZ #15948]
47658         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
47659         single character.
47660         (add_to_tablewc): Assert sequence of wide characters is nonempty.
47662 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47664         * elf/tst-tls-dlinfo.c: Don't include tls.h.
47665         * elf/tst-tls1.c: Likewise.
47666         * elf/tst-tls10.h: Likewise.
47667         * elf/tst-tls14.c: Likewise.
47668         * elf/tst-tls2.c: Likewise.
47669         * elf/tst-tls3.c: Likewise.
47670         * elf/tst-tls4.c: Likewise.
47671         * elf/tst-tls5.c: Likewise.
47672         * elf/tst-tls6.c: Likewise.
47673         * elf/tst-tls7.c: Likewise.
47674         * elf/tst-tls8.c: Likewise.
47675         * elf/tst-tls9.c: Likewise.
47676         * elf/tst-tlsmod1.c: Likewise.
47677         * elf/tst-tlsmod13.c: Likewise.
47678         * elf/tst-tlsmod13a.c: Likewise.
47679         * elf/tst-tlsmod14a.c: Likewise.
47680         * elf/tst-tlsmod16a.c: Likewise.
47681         * elf/tst-tlsmod16b.c: Likewise.
47682         * elf/tst-tlsmod2.c: Likewise.
47683         * elf/tst-tlsmod3.c: Likewise.
47684         * elf/tst-tlsmod4.c: Likewise.
47685         * elf/tst-tlsmod5.c: Likewise.
47686         * elf/tst-tlsmod6.c: Likewise.
47688 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
47690         [BZ #12486]
47691         * malloc/malloc.c: remove checks for statistics.
47693 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
47695         [BZ #15277]
47696         * inet/inet_net.c (inet_network): Detect additional invalid strings.
47697         * inet/tst-network.c: Add testcase.
47699 2013-10-17  Andreas Schwab  <schwab@suse.de>
47701         [BZ #15218]
47702         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
47703         to determine canonical name.
47705 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
47707         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
47708         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
47709         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47710         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47711         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47712         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47713         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47714         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47715         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47716         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47717         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
47718         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47719         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47720         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47721         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47722         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47723         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47724         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47725         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47726         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47727         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47728         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47729         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47730         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
47731         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
47732         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47733         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47734         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
47735         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47736         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
47737         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47738         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47739         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47740         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47741         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47742         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47743         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47744         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47745         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47746         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47747         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47748         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47749         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47750         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47751         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47752         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47753         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47754         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47755         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47756         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47757         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47758         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47759         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47760         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47761         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47762         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47763         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47764         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47766 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
47768         [BZ #16041]
47769         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
47770         make result into a quiet NaN.
47772 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
47774         * soft-fp/adddf3.c: Fix horizontal whitespace.
47775         * soft-fp/addsf3.c: Likewise.
47776         * soft-fp/addtf3.c: Likewise.
47777         * soft-fp/divdf3.c: Likewise.
47778         * soft-fp/divsf3.c: Likewise.
47779         * soft-fp/divtf3.c: Likewise.
47780         * soft-fp/double.h: Likewise.
47781         * soft-fp/eqdf2.c: Likewise.
47782         * soft-fp/eqsf2.c: Likewise.
47783         * soft-fp/eqtf2.c: Likewise.
47784         * soft-fp/extenddftf2.c: Likewise.
47785         * soft-fp/extended.h: Likewise.
47786         * soft-fp/extendsfdf2.c: Likewise.
47787         * soft-fp/extendsftf2.c: Likewise.
47788         * soft-fp/extendxftf2.c: Likewise.
47789         * soft-fp/fixdfdi.c: Likewise.
47790         * soft-fp/fixdfsi.c: Likewise.
47791         * soft-fp/fixdfti.c: Likewise.
47792         * soft-fp/fixsfdi.c: Likewise.
47793         * soft-fp/fixsfsi.c: Likewise.
47794         * soft-fp/fixsfti.c: Likewise.
47795         * soft-fp/fixtfdi.c: Likewise.
47796         * soft-fp/fixtfsi.c: Likewise.
47797         * soft-fp/fixtfti.c: Likewise.
47798         * soft-fp/fixunsdfdi.c: Likewise.
47799         * soft-fp/fixunsdfsi.c: Likewise.
47800         * soft-fp/fixunsdfti.c: Likewise.
47801         * soft-fp/fixunssfdi.c: Likewise.
47802         * soft-fp/fixunssfsi.c: Likewise.
47803         * soft-fp/fixunssfti.c: Likewise.
47804         * soft-fp/fixunstfdi.c: Likewise.
47805         * soft-fp/fixunstfsi.c: Likewise.
47806         * soft-fp/fixunstfti.c: Likewise.
47807         * soft-fp/floatdidf.c: Likewise.
47808         * soft-fp/floatdisf.c: Likewise.
47809         * soft-fp/floatditf.c: Likewise.
47810         * soft-fp/floatsidf.c: Likewise.
47811         * soft-fp/floatsisf.c: Likewise.
47812         * soft-fp/floatsitf.c: Likewise.
47813         * soft-fp/floattidf.c: Likewise.
47814         * soft-fp/floattisf.c: Likewise.
47815         * soft-fp/floattitf.c: Likewise.
47816         * soft-fp/floatundidf.c: Likewise.
47817         * soft-fp/floatundisf.c: Likewise.
47818         * soft-fp/floatunditf.c: Likewise.
47819         * soft-fp/floatunsidf.c: Likewise.
47820         * soft-fp/floatunsisf.c: Likewise.
47821         * soft-fp/floatunsitf.c: Likewise.
47822         * soft-fp/floatuntidf.c: Likewise.
47823         * soft-fp/floatuntisf.c: Likewise.
47824         * soft-fp/floatuntitf.c: Likewise.
47825         * soft-fp/fmadf4.c: Likewise.
47826         * soft-fp/fmasf4.c: Likewise.
47827         * soft-fp/fmatf4.c: Likewise.
47828         * soft-fp/gedf2.c: Likewise.
47829         * soft-fp/gesf2.c: Likewise.
47830         * soft-fp/getf2.c: Likewise.
47831         * soft-fp/ledf2.c: Likewise.
47832         * soft-fp/lesf2.c: Likewise.
47833         * soft-fp/letf2.c: Likewise.
47834         * soft-fp/muldf3.c: Likewise.
47835         * soft-fp/mulsf3.c: Likewise.
47836         * soft-fp/multf3.c: Likewise.
47837         * soft-fp/negdf2.c: Likewise.
47838         * soft-fp/negsf2.c: Likewise.
47839         * soft-fp/negtf2.c: Likewise.
47840         * soft-fp/op-1.h: Likewise.
47841         * soft-fp/op-2.h: Likewise.
47842         * soft-fp/op-4.h: Likewise.
47843         * soft-fp/op-8.h: Likewise.
47844         * soft-fp/op-common.h: Likewise.
47845         * soft-fp/quad.h: Likewise.
47846         * soft-fp/single.h: Likewise.
47847         * soft-fp/soft-fp.h: Likewise.
47848         * soft-fp/sqrtdf2.c: Likewise.
47849         * soft-fp/sqrtsf2.c: Likewise.
47850         * soft-fp/sqrttf2.c: Likewise.
47851         * soft-fp/subdf3.c: Likewise.
47852         * soft-fp/subsf3.c: Likewise.
47853         * soft-fp/subtf3.c: Likewise.
47854         * soft-fp/truncdfsf2.c: Likewise.
47855         * soft-fp/trunctfdf2.c: Likewise.
47856         * soft-fp/trunctfsf2.c: Likewise.
47857         * soft-fp/trunctfxf2.c: Likewise.
47858         * soft-fp/unorddf2.c: Likewise.
47859         * soft-fp/unordsf2.c: Likewise.
47860         * soft-fp/unordtf2.c: Likewise.
47862 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
47864         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
47865         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
47867 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
47869         * elf/dl-libc.c: Clear initfini list after freeing.
47871 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
47873         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
47874         * soft-fp/addsf3.c: Likewise.
47875         * soft-fp/addtf3.c: Likewise.
47876         * soft-fp/divdf3.c: Likewise.
47877         * soft-fp/divsf3.c: Likewise.
47878         * soft-fp/divtf3.c: Likewise.
47879         * soft-fp/double.h: Likewise.
47880         * soft-fp/eqdf2.c: Likewise.
47881         * soft-fp/eqsf2.c: Likewise.
47882         * soft-fp/eqtf2.c: Likewise.
47883         * soft-fp/extenddftf2.c: Likewise.
47884         * soft-fp/extended.h: Likewise.
47885         * soft-fp/extendsfdf2.c: Likewise.
47886         * soft-fp/extendsftf2.c: Likewise.
47887         * soft-fp/extendxftf2.c: Likewise.
47888         * soft-fp/fixdfdi.c: Likewise.
47889         * soft-fp/fixdfsi.c: Likewise.
47890         * soft-fp/fixdfti.c: Likewise.
47891         * soft-fp/fixsfdi.c: Likewise.
47892         * soft-fp/fixsfsi.c: Likewise.
47893         * soft-fp/fixsfti.c: Likewise.
47894         * soft-fp/fixtfdi.c: Likewise.
47895         * soft-fp/fixtfsi.c: Likewise.
47896         * soft-fp/fixtfti.c: Likewise.
47897         * soft-fp/fixunsdfdi.c: Likewise.
47898         * soft-fp/fixunsdfsi.c: Likewise.
47899         * soft-fp/fixunsdfti.c: Likewise.
47900         * soft-fp/fixunssfdi.c: Likewise.
47901         * soft-fp/fixunssfsi.c: Likewise.
47902         * soft-fp/fixunssfti.c: Likewise.
47903         * soft-fp/fixunstfdi.c: Likewise.
47904         * soft-fp/fixunstfsi.c: Likewise.
47905         * soft-fp/fixunstfti.c: Likewise.
47906         * soft-fp/floatdidf.c: Likewise.
47907         * soft-fp/floatdisf.c: Likewise.
47908         * soft-fp/floatditf.c: Likewise.
47909         * soft-fp/floatsidf.c: Likewise.
47910         * soft-fp/floatsisf.c: Likewise.
47911         * soft-fp/floatsitf.c: Likewise.
47912         * soft-fp/floattidf.c: Likewise.
47913         * soft-fp/floattisf.c: Likewise.
47914         * soft-fp/floattitf.c: Likewise.
47915         * soft-fp/floatundidf.c: Likewise.
47916         * soft-fp/floatundisf.c: Likewise.
47917         * soft-fp/floatunsidf.c: Likewise.
47918         * soft-fp/floatunsisf.c: Likewise.
47919         * soft-fp/floatuntidf.c: Likewise.
47920         * soft-fp/floatuntisf.c: Likewise.
47921         * soft-fp/floatuntitf.c: Likewise.
47922         * soft-fp/fmadf4.c: Likewise.
47923         * soft-fp/fmasf4.c: Likewise.
47924         * soft-fp/fmatf4.c: Likewise.
47925         * soft-fp/gedf2.c: Likewise.
47926         * soft-fp/gesf2.c: Likewise.
47927         * soft-fp/getf2.c: Likewise.
47928         * soft-fp/ledf2.c: Likewise.
47929         * soft-fp/lesf2.c: Likewise.
47930         * soft-fp/letf2.c: Likewise.
47931         * soft-fp/muldf3.c: Likewise.
47932         * soft-fp/mulsf3.c: Likewise.
47933         * soft-fp/multf3.c: Likewise.
47934         * soft-fp/negdf2.c: Likewise.
47935         * soft-fp/negsf2.c: Likewise.
47936         * soft-fp/negtf2.c: Likewise.
47937         * soft-fp/op-1.h: Likewise.
47938         * soft-fp/op-2.h: Likewise.
47939         * soft-fp/op-4.h: Likewise.
47940         * soft-fp/op-8.h: Likewise.
47941         * soft-fp/op-common.h: Likewise.
47942         * soft-fp/quad.h: Likewise.
47943         * soft-fp/single.h: Likewise.
47944         * soft-fp/soft-fp.h: Likewise.
47945         * soft-fp/sqrtdf2.c: Likewise.
47946         * soft-fp/sqrtsf2.c: Likewise.
47947         * soft-fp/sqrttf2.c: Likewise.
47948         * soft-fp/subdf3.c: Likewise.
47949         * soft-fp/subsf3.c: Likewise.
47950         * soft-fp/subtf3.c: Likewise.
47951         * soft-fp/truncdfsf2.c: Likewise.
47952         * soft-fp/trunctfdf2.c: Likewise.
47953         * soft-fp/trunctfsf2.c: Likewise.
47954         * soft-fp/trunctfxf2.c: Likewise.
47955         * soft-fp/unorddf2.c: Likewise.
47956         * soft-fp/unordsf2.c: Likewise.
47957         * soft-fp/unordtf2.c: Likewise.
47959 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
47961         [BZ #15672]
47962         * misc/error.c (error_tail): Fix possible buffer overflow.
47964 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
47966         [BZ #13028]
47967         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
47968         address.
47970 2013-10-14  P. J. McDermott  <pj@pehjota.net>
47972         [BZ #832]
47973         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
47974         testing pipefail option.
47976 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
47978         * soft-fp/double.h: Indent preprocessor directives inside #if.
47979         * soft-fp/extended.h: Likewise.
47980         * soft-fp/op-2.h: Likewise.
47981         * soft-fp/op-4.h: Likewise.
47982         * soft-fp/op-common.h: Likewise.
47983         * soft-fp/quad.h: Likewise.
47984         * soft-fp/single.h: Likewise.
47985         * soft-fp/soft-fp.h: Likewise.
47987 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
47989         * iconv/iconv_prog.c: Fix typos.
47990         * stdio-common/psiginfo-data.h: Likewise.
47992 2013-10-12   Reuben Thomas <rrt@sc3d.org>
47994         [BZ #15764]
47995         * locale/setlocale.c: Fix typo.
47997 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
47999         [BZ #16036]
48000         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
48001         signaling NaN arguments.
48002         * soft-fp/unordsf2.c (__unordsf2): Likewise.
48003         * soft-fp/unordtf2.c (__unordtf2): Likewise.
48005         [BZ #14910]
48006         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
48007         unordered operands.
48008         * soft-fp/gesf2.c (__gesf2): Likewise.
48009         * soft-fp/getf2.c (__getf2): Likewise.
48010         * soft-fp/ledf2.c (__ledf2): Likewise.
48011         * soft-fp/lesf2.c (__lesf2): Likewise.
48012         * soft-fp/letf2.c (__letf2): Likewise.
48014         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
48015         * soft-fp/eqsf2.c (__eqsf2): Likewise.
48016         * soft-fp/eqtf2.c (__eqtf2): Likewise.
48017         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
48018         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
48019         * soft-fp/fixdfti.c (__fixdfti): Likewise.
48020         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
48021         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
48022         * soft-fp/fixsfti.c (__fixsfti): Likewise.
48023         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
48024         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
48025         * soft-fp/fixtfti.c (__fixtfti): Likewise.
48026         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
48027         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
48028         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
48029         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
48030         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
48031         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
48032         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
48033         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
48034         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
48035         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
48036         * soft-fp/floatdisf.c (__floatdisf): Likewise.
48037         * soft-fp/floatsisf.c (__floatsisf): Likewise.
48038         * soft-fp/floattidf.c (__floattidf): Likewise.
48039         * soft-fp/floattisf.c (__floattisf): Likewise.
48040         * soft-fp/floattitf.c (__floattitf): Likewise.
48041         * soft-fp/floatundidf.c (__floatundidf): Likewise.
48042         * soft-fp/floatundisf.c (__floatundisf): Likewise.
48043         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
48044         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
48045         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
48046         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
48047         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
48048         * soft-fp/gesf2.c (__gesf2): Likewise.
48049         * soft-fp/getf2.c (__getf2): Likewise.
48050         * soft-fp/ledf2.c (__ledf2): Likewise.
48051         * soft-fp/lesf2.c (__lesf2): Likewise.
48052         * soft-fp/letf2.c (__letf2): Likewise.
48054         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
48055         Undefine and redefine.
48056         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
48057         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
48058         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
48059         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
48060         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48061         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
48062         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48063         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
48064         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48065         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
48066         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48067         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
48068         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48069         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
48070         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48072         [BZ #16032]
48073         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
48074         without decrementing exponent if mantissa >= that for the
48075         denominator, not >.
48076         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
48077         denominator, not >.  Decrement exponent in < case instead of
48078         incrementing in >= case.
48079         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
48080         without decrementing exponent if mantissa >= that for the
48081         denominator, not >.
48083         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
48084         computing saturated result for unsigned overflow.
48086 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48087             Jeff Law  <law@redhat.com>
48089         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
48090         (atan2Mp): Add systemtap probe marker.
48091         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
48092         (__ieee754_log): Add systemtap probe marker.
48093         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
48094         (atanMp): Add systemtap probe marker.
48095         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
48096         (tanMp): Add systemtap probe marker.
48097         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
48098         (__slowexp): Add systemtap probe marker.
48099         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
48100         (__slowpow): Add systemtap probe marker.
48101         * manual/probes.texi: Document probes.
48103 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
48105         [BZ #15362]
48106         * libio/fileops.c (_IO_new_file_write): Return count of bytes
48107         written.
48108         (_IO_new_file_xsputn): Don't return EOF if nothing has been
48109         written.
48110         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
48111         written to buffer but not flushed.
48112         * libio/iofwrite_u.c:  Likewise.
48113         * libio/iopadn.c:  Return bytes returned even if EOF was
48114         encountered.
48115         * libio/iowpadn.c:  Likewise.
48116         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
48117         if _IO_padn does not write the whole buffer.
48118         [!COMPILE_WPRINTF] (PAD): Likewise.
48120 2013-10-10  David S. Miller  <davem@davemloft.net>
48122         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
48123         directory block.
48125 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
48127         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
48128         instead of FSF address.
48129         * soft-fp/fixdfti.c: Likewise.
48130         * soft-fp/fixsfti.c: Likewise.
48131         * soft-fp/fixtfti.c: Likewise.
48132         * soft-fp/fixunsdfti.c: Likewise.
48133         * soft-fp/fixunssfti.c: Likewise.
48134         * soft-fp/fixunstfti.c: Likewise.
48135         * soft-fp/floattidf.c: Likewise.
48136         * soft-fp/floattisf.c: Likewise.
48137         * soft-fp/floattitf.c: Likewise.
48138         * soft-fp/floatuntidf.c: Likewise.
48139         * soft-fp/floatuntisf.c: Likewise.
48140         * soft-fp/floatuntitf.c: Likewise.
48141         * soft-fp/trunctfxf2.c: Likewise.
48143         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
48144         * soft-fp/fixdfti.c: Likewise.
48145         * soft-fp/fixsfti.c: Likewise.
48146         * soft-fp/fixtfti.c: Likewise.
48147         * soft-fp/fixunsdfti.c: Likewise.
48148         * soft-fp/fixunssfti.c: Likewise.
48149         * soft-fp/fixunstfti.c: Likewise.
48150         * soft-fp/floattidf.c: Likewise.
48151         * soft-fp/floattisf.c: Likewise.
48152         * soft-fp/floattitf.c: Likewise.
48153         * soft-fp/floatuntidf.c: Likewise.
48154         * soft-fp/floatuntisf.c: Likewise.
48155         * soft-fp/floatuntitf.c: Likewise.
48156         * soft-fp/trunctfxf2.c: Likewise.
48158 2013-10-10  David S. Miller  <davem@davemloft.net>
48160         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48162 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
48164         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
48165         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
48166         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
48167         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
48168         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
48169         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
48170         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
48172         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
48173         for NaNs before doing comparisons on argument.
48174         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
48175         Likewise.
48177 2013-10-10  Will Newton  <will.newton@linaro.org>
48179         * malloc/hooks.c (memalign_check): Ensure the value of bytes
48180         passed to _int_memalign does not overflow.
48182 2013-10-10  Torvald Riegel  <triegel@redhat.com>
48184         * scripts/bench.pl: Add include-sources directive.
48185         * benchtests/README: Update documentation.
48187 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
48189         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
48190         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
48191         instead of FP_INIT_ROUNDMODE.
48192         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
48193         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
48195         [BZ #16034]
48196         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
48197         copy class of input value.
48198         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
48199         not handle exceptions.
48200         * soft-fp/negsf2.c (__negsf2): Likewise.
48201         * soft-fp/negtf2.c (__negtf2): Likewise.
48202         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
48204 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
48206         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
48207         semicolon.  From Linux kernel.
48209 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
48211         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
48213 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
48215         [BZ #156]
48216         * manual/socket.texi: Added statement about buffer
48217         for gethostbyname2_r.
48219 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
48221         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
48222         Use .p2align directive instead, throughout.
48223         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
48224         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
48225         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
48226         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
48227         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
48228         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
48229         * sysdeps/x86_64/strchr.S: Likewise.
48230         * sysdeps/x86_64/strrchr.S: Likewise.
48232 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48234         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
48236         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
48238         * sysdeps/generic/math_private.h (__mpsin1): Remove
48239         declaration.
48240         (__mpcos1): Likewise.
48241         (__mpsin): New argument __range_reduce.
48242         (__mpcos): Likewise.
48243         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48244         (slow): Use __mpsin and __mpcos.
48245         (slow1): Likewise.
48246         (slow2): Likewise.
48247         (sloww): Likewise.
48248         (sloww1): Likewise.
48249         (sloww2): Likewise.
48250         (bsloww): Likewise.
48251         (bsloww1): Likewise.
48252         (bsloww2): Likewise.
48253         (cslow2): Likewise.
48254         (csloww): Likewise.
48255         (csloww1): Likewise.
48256         (csloww2): Likewise.
48257         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
48258         range_reduce.  Merge in __mpsin1.
48259         (__mpcos): Likewise.
48260         (__mpsin1): Remove.
48261         (__mpcos1): Likewise.
48263 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
48265         * locale/loadlocale.c (_nl_intern_locale_data): Use
48266         LOCFILE_ALIGNED_P.
48267         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
48268         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
48269         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
48270         obstack data is appropriately aligned.
48271         (obstack_int32_grow_fast): Likewise.
48272         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
48273         * locale/programs/locfile.c (add_locale_uint32): Likewise.
48274         (add_locale_uint32_array): Likewise.
48276 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
48278         * benchtests/Makefile: Remove ARGLIST and RET variables.
48279         ($(objpfx)bench-%.c): Pass only function name to the script.
48280         * benchtests/README: Update documentation.
48281         * benchtests/acos-inputs: Add new directives.
48282         * benchtests/acosh-inputs: Likewise.
48283         * benchtests/asin-inputs: Likewise.
48284         * benchtests/asinh-inputs: Likewise.
48285         * benchtests/atan-inputs: Likewise.
48286         * benchtests/atanh-inputs: Likewise.
48287         * benchtests/cos-inputs: Likewise.
48288         * benchtests/cosh-inputs: Likewise.
48289         * benchtests/exp-inputs: Likewise.
48290         * benchtests/log-inputs: Likewise.
48291         * benchtests/pow-inputs: Likewise.
48292         * benchtests/rint-inputs: Likewise.
48293         * benchtests/sin-inputs: Likewise.
48294         * benchtests/sinh-inputs: Likewise.
48295         * benchtests/tan-inputs: Likewise.
48296         * benchtests/tanh-inputs: Likewise.
48297         * scripts/bench.pl: Add support for new directives.
48299 2013-10-07  Alan Modra  <amodra@gmail.com>
48301         * README: Fix careless merge.
48303 2013-10-05  Alan Modra  <amodra@gmail.com>
48305         * NEWS: Mention powerpc64le support and bugs fixed.
48306         * README: Both big-endian and little-endian powerpc64 supported.
48308 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48310         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
48311         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
48312         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
48313         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
48315 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
48317         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
48318         match prototype.
48320 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
48322         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
48323         Move -mhard-float appending from
48324         ports/sysdeps/powerpc/powerpc32/Makefile.
48325         [$(with-fp) = yes] (ASFLAGS): Likewise.
48326         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
48327         * sysdeps/powerpc/nofpu: Move directory from
48328         ports/sysdeps/powerpc/nofpu.
48329         * sysdeps/powerpc/soft-fp: Move directory from
48330         ports/sysdeps/powerpc/soft-fp.
48331         * sysdeps/powerpc/powerpc32/405: Move directory from
48332         ports/sysdeps/powerpc/powerpc32/405.
48333         * sysdeps/powerpc/powerpc32/440: Move directory from
48334         ports/sysdeps/powerpc/powerpc32/440.
48335         * sysdeps/powerpc/powerpc32/464: Move directory from
48336         ports/sysdeps/powerpc/powerpc32/464.
48337         * sysdeps/powerpc/powerpc32/476: Move directory from
48338         ports/sysdeps/powerpc/powerpc32/476.
48339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
48340         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
48341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
48342         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
48343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
48344         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
48345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
48346         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
48347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
48348         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
48349         * README: Update for powerpc-*-linux-gnu software floating point
48350         support in libc.
48352         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
48353         case to powerpc/powerpc32*.
48354         * sysdeps/unix/sysv/linux/configure: Regenerated.
48356         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
48357         (_FPU_MASK_OM): Define as 0x04.
48358         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
48359         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
48360         0x00c10080.
48361         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
48362         0x0000003c.
48363         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
48365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
48366         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
48367         getcontext_e500.
48368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
48369         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
48370         setcontext_e500.
48371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
48372         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
48373         and setcontext_e500.
48375 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
48377         * locale/iso-3166.def: Update iso-1366.def and related occurrences
48379 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48381         * manual/threads.texi (Default Thread Attributes): Fix typo.
48383 2013-10-04  Will Newton  <will.newton@linaro.org>
48385         * malloc/Makefile: Add tst-memalign.
48386         * malloc/tst-memalign.c: New file.
48388         * malloc/tst-posix_memalign.c: Add comments.
48389         (do_test): Add comments and call free on all potentially
48390         allocated pointers. Add space after cast.
48392         * malloc/tst-pvalloc.c: Add comments.
48393         (do_test): Add comments and call free on all potentially
48394         allocated pointers. Remove duplicate check for NULL pointer.
48395         Add space after cast.
48397         * malloc/tst-valloc.c: Add comments.
48398         (do_test): Add comments and call free on all potentially
48399         allocated pointers. Remove duplicate check for NULL pointer.
48400         Add space after cast.
48402 2013-10-04  Alan Modra  <amodra@gmail.com>
48404         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
48405         Use stdint types in rather than __attribute__((mode())).
48406         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
48408 2013-10-04  Alan Modra  <amodra@gmail.com>
48410         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
48411         Correct handling of unaligned relocs for little-endian.
48412         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
48414 2013-10-04  Alan Modra  <amodra@gmail.com>
48416         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
48417         * configure: Regenerate.
48418         * nptl/shlib-versions: Powerpc*le starts at 2.18.
48419         * shlib-versions: Likewise.
48421 2013-10-04  Alan Modra  <amodra@gmail.com>
48423         * string/tester.c (test_memrchr): Increment reported test cycle.
48425 2013-10-04  Alan Modra  <amodra@gmail.com>
48427         * string/test-memcpy.c (do_one_test): When reporting errors, print
48428         string address and don't overrun end of string.
48430 2013-10-04  Alan Modra  <amodra@gmail.com>
48432         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
48433         insrdi.  Make better use of reg selection to speed exit slightly.
48434         Schedule entry path a little better.  Remove useless "are we done"
48435         checks on entry to main loop.  Handle wrapping around zero address.
48436         Correct main loop count.  Handle single left-over word from main
48437         loop inline rather than by using loop_small.  Remove extra word
48438         case in loop_small caused by wrong loop count.  Add little-endian
48439         support.
48440         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
48441         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
48442         cache hint.
48443         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
48444         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
48445         support.  Avoid rlwimi.
48446         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
48448 2013-10-04  Alan Modra  <amodra@gmail.com>
48450         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
48451         insrdi.  Formatting.
48452         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
48453         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
48454         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
48455         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
48456         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
48457         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
48459 2013-10-04  Alan Modra  <amodra@gmail.com>
48461         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
48462         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48463         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
48464         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
48465         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
48466         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48467         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48468         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48469         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
48470         use of regs.  Use power7 mtocrf.  Tidy function tails.
48472 2013-10-04  Alan Modra  <amodra@gmail.com>
48474         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
48475         Formatting.  Consistently use rXXX register defines or rN defines.
48476         Use early exit labels that avoid restoring unused non-volatile regs.
48477         Make cr field use more consistent with rWORDn compares.  Rename
48478         regs used as shift registers for unaligned loop, using rN defines
48479         for short lifetime/multiple use regs.
48480         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48481         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
48482         addi 1,1,64 to pop stack frame.  Simplify return value code.
48483         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48485 2013-10-04  Alan Modra  <amodra@gmail.com>
48487         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
48488         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
48489         rather than rlwimi.
48490         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
48491         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
48492         little-endian support.  Correct typos.
48493         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
48494         rather than rlwimi.
48495         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
48496         in loop and entry code to keep "and." results.
48497         (strchr): Add little-endian support.  Comment.  Move cntlzd
48498         earlier in tail.
48499         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
48501 2013-10-04  Alan Modra  <amodra@gmail.com>
48503         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
48504         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
48505         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
48506         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
48508 2013-10-04  Alan Modra  <amodra@gmail.com>
48510         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
48511         (rTMP): Define as r11.
48512         (strcmp): Add little-endian support.  Optimise tail.
48513         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
48514         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48515         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
48516         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
48517         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
48518         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48519         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
48521 2013-10-04  Alan Modra  <amodra@gmail.com>
48523         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
48524         little-endian support.  Remove unnecessary "are we done" tests.
48525         Handle "s" wrapping around zero and extremely large "size".
48526         Correct main loop count.  Handle single left-over word from main
48527         loop inline rather than by using small_loop.  Correct comments.
48528         Delete "zero" tail, use "end_max" instead.
48529         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
48531 2013-10-04  Alan Modra  <amodra@gmail.com>
48533         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
48534         support.  Don't branch over align.
48535         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
48536         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
48537         support.  Rearrange tmp reg use to suit.  Comment.
48538         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
48540 2013-10-04  Alan Modra  <amodra@gmail.com>
48542         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
48544 2013-10-04  Alan Modra  <amodra@gmail.com>
48546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
48547         conditional form of branch and link when obtaining pc.
48548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48550 2013-10-04  Alan Modra  <amodra@gmail.com>
48552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
48553         HIWORD/LOWORD.
48554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
48555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
48557 2013-10-04  Alan Modra  <amodra@gmail.com>
48559         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
48560         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
48561         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
48562         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
48563         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
48564         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48565         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
48566         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48567         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
48568         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
48570 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48571             Alistair Popple <alistair@ozlabs.au.ibm.com>
48572             Alan Modra <amodra@gmail.com>
48574         [BZ #15723]
48575         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
48576         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
48577         _dl_hwcap access for little-endian.
48578         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
48579         destroy vmx regs when saving unaligned.
48580         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
48581         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
48582         destroy vmx regs when saving unaligned.
48584 2013-10-04  Alan Modra  <amodra@gmail.com>
48586         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
48587         Don't use a union to pack hi/low value.
48589 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48591         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
48592         for little-endian.
48593         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
48594         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
48595         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
48596         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
48597         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
48599 2013-10-04  Alan Modra  <amodra@gmail.com>
48601         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
48602         constants to usual value for .cst8 section, and remove redundant
48603         high address load.
48604         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
48605         constant for 0x1p52.  Load little-endian words of double from
48606         correct stack offsets.
48608 2013-10-04  Alan Modra  <amodra@gmail.com>
48610         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
48611         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
48612         words of double from correct stack offsets.
48613         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
48614         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
48615         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
48616         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
48617         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
48618         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
48619         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
48620         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
48621         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
48622         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
48623         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
48624         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
48625         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48626         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48627         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48628         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
48629         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
48631 2013-10-04  Alan Modra  <amodra@gmail.com>
48633         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
48634         64-bit int/double union.
48635         (_FPU_SETCW): Likewise.
48636         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
48637         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
48639 2013-10-04  Alan Modra  <amodra@gmail.com>
48641         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
48642         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
48644 2013-10-04  Alan Modra  <amodra@gmail.com>
48646         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
48647         use vector int constants.
48648         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
48650 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48652         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
48653         array with long long.
48654         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
48655         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
48656         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
48657         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
48658         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
48659         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
48660         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
48661         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
48662         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
48663         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
48664         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
48665         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
48666         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
48668 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48670         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
48671         (__signbit): Likewise.  Correct for little-endian.
48672         (__signbitl): Call __signbit.
48673         (lrint): Correct for little-endian.
48674         (lrintf): Call lrint.
48676 2013-10-04  Alan Modra  <amodra@gmail.com>
48678         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
48679         union 32-bit int array member with 64-bit int array.
48680         (t515, tm256): Double rather than long double.
48681         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
48683 2013-10-04  Alan Modra  <amodra@gmail.com>
48685         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
48686         Delete.
48687         (IEEE854_LONG_DOUBLE_BIAS): Delete.
48688         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
48689         version of math_ldbl.h.
48691 2013-10-04  Alan Modra  <amodra@gmail.com>
48693         [BZ #15734], [BZ #15735]
48694         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
48695         all uses of ieee875 long double macros and unions.  Simplify test
48696         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
48697         ldbl_extract_mantissa value for ix,iy exponents.  Properly
48698         normalize after ldbl_extract_mantissa, and don't add hidden bit
48699         already handled.  Don't treat low word of ieee854 mantissa like
48700         low word of IBM long double and mask off bit when testing for
48701         zero.
48702         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
48703         all uses of ieee875 long double macros and unions.  Simplify tests
48704         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
48705         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
48706         two1022, instead use their values.  Recognise that tests for large
48707         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
48708         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
48709         Rewrite all uses of ieee875 long double macros and unions.  Simplify
48710         test for 0.0L and nan.  Correct negation.
48711         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
48712         ieee875 long double macros and unions.  Correct output for large
48713         magnitude x.  Correct absolute value calculation.
48714         (__erfcl): Likewise.
48715         * math/libm-test.inc: Add tests for errors discovered in IBM long
48716         double versions of fmodl, remainderl, erfl and erfcl.
48718 2013-10-04  Alan Modra  <amodra@gmail.com>
48720         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
48721         all uses of ieee854 long double macros and unions.  Simplify tests
48722         for long doubles that are fully specified by the high double.
48723         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
48724         Likewise.
48725         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
48726         Remove dead code too.
48727         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
48728         (__ieee754_ynl): Likewise.
48729         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
48730         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
48731         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
48732         Remove dead code too.
48733         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
48734         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
48735         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
48736         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
48737         Simplify.
48738         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
48739         Simplify.
48740         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
48741         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
48742         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
48743         Comment on variable precision.
48744         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
48745         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
48746         Likewise.
48747         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
48748         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48749         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48750         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
48751         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
48753 2013-10-04  Alan Modra  <amodra@gmail.com>
48755         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
48756         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
48757         all uses of ieee854 long double macros and unions.
48758         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
48759         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48760         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
48761         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
48762         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
48763         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
48764         Likewise.
48765         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
48766         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
48767         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
48768         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
48769         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
48770         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
48771         Simplify sign and nan test too.
48772         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
48773         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
48774         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
48775         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
48776         Likewise.
48777         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
48778         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
48779         Likewise.
48780         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48781         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
48782         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
48783         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
48784         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
48785         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
48787 2013-10-04  Alan Modra  <amodra@gmail.com>
48789         * stdio-common/printf_size.c (__printf_size): Don't use
48790         union ieee854_long_double in fpnum union.
48791         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
48792         signbit macro to retrieve sign from long double.
48793         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
48794         retrieve sign from long double.
48795         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
48796         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
48797         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
48798         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48799         * math/test-misc.c (main): Don't use union ieee854_long_double.
48801 2013-10-04  Alan Modra  <amodra@gmail.com>
48803         [BZ #15680]
48804         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
48805         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
48806         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
48807         calculation.  Remove unnecessary test for denormal exponent.
48808         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
48809         Correct handling of denormals.  Avoid undefined shift behaviour.
48810         Correct normalisation of low mantissa when low double is denormal.
48811         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
48812         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
48813         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
48814         Correct normalisation of low mantissa.  Test for overflow of high
48815         mantissa and normalise.
48816         (ldbl_nearbyint): Use more readable constant for two52.
48817         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
48818         (__mpn_construct_long_double): Fix test for overflow of high
48819         mantissa and correct normalisation.  Avoid undefined shift.
48821 2013-10-04  Alan Modra  <amodra@gmail.com>
48823         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
48824         (union ibm_extended_long_double): Define as an array of ieee754_double.
48825         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
48826         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
48827         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
48828         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48829         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48830         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
48831         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48832         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
48833         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48834         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
48835         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
48837 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
48839         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
48840         page size instead of calling getpagesize.
48842         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
48843         (LOCFILE_ALIGN_MASK): Likewise.
48844         (LOCFILE_ALIGN_UP): Likewise.
48845         (LOCFILE_ALIGNED_P): Likewise.
48846         * locale/programs/ld-collate.c (collate_output): Use the new
48847         macros instead of __alignof__ (int32_t).
48848         * locale/weight.h (findidx): Likewise.
48850 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
48852         [BZ #431]
48853         * manual/string.texi: Fix strncat and wcsncat.
48855 2013-10-03  Brooks Moses  <bmoses@google.com>
48857         [BZ #15915]
48858         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
48859         * Makerules: ...here, and adjust associated comments.
48861 2013-10-02  Will Newton  <will.newton@linaro.org>
48863         * malloc/Makefile: Add tst-pvalloc.
48864         * malloc/tst-pvalloc.c: New file.
48866 2013-10-02  Will Newton  <will.newton@linaro.org>
48868         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
48869         improve test coverage.
48871 2013-10-02  Will Newton  <will.newton@linaro.org>
48873         * malloc/Makefile: Add tst-posix_memalign.
48874         * malloc/tst-posix_memalign.c: New file.
48876 2013-10-01  Eric Blake  <eblake@redhat.com>
48878         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
48879         Use __THROWNL rather than __THROW on static functions.
48881 2013-09-30  Petr Machata  <pmachata@redhat.com>
48883         * elf/elf.h (R_AARCH64_ABS16): New macro.
48884         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
48885         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
48886         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
48887         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
48888         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
48889         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
48890         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
48891         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
48892         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
48893         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
48894         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
48895         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
48896         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
48897         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
48898         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
48899         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
48900         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
48901         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
48902         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
48903         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
48904         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
48905         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
48906         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
48907         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
48908         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
48909         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
48910         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
48911         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
48912         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
48913         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
48914         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
48915         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
48916         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
48917         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
48918         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
48919         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
48920         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
48921         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
48922         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
48923         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
48924         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
48925         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
48926         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
48927         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
48928         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
48929         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
48930         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
48931         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
48932         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
48933         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
48934         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
48935         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
48936         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
48937         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
48938         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
48939         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
48940         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
48941         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
48942         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
48943         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
48944         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
48945         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
48946         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
48947         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
48948         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
48949         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
48950         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
48951         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
48952         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
48953         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
48954         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
48955         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
48956         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
48957         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
48958         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
48959         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
48960         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
48961         (R_AARCH64_TLSDESC_LDR): Likewise.
48962         (R_AARCH64_TLSDESC_ADD): Likewise.
48963         (R_AARCH64_TLSDESC_CALL): Likewise.
48965 2013-09-30  Andreas Schwab  <schwab@suse.de>
48967         [BZ #15048]
48968         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
48969         the nss database lookup.
48970         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48971         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48973 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
48975         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
48977 2013-09-28  P. J. McDermott  <pj@pehjota.net>
48979         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
48980         ${Bash-specific parameter/pattern/string} parameter expansion.
48981         * sysdeps/unix/make-syscalls.sh: Likewise.
48983 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48985         * sysdeps/sh/stackguard-macros.h: New file.
48987 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
48989         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
48990         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
48991         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
48992         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
48993         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48994         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
48996 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48998         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
48999         Fix thread ID register.
49001 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
49003         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
49004         [POSIX || UNIX98]: Require rather than permitting all symbols from
49005         <time.h>.
49006         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
49007         element of struct sched_param.
49008         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
49009         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
49010         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
49011         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
49012         constant.
49014 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
49016         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
49017         argument calculation.
49019 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
49021         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
49022         Expect macro.
49023         [POSIX] (pthread_attr_t): Do not require type.
49024         [POSIX] (pthread_cond_t): Likewise.
49025         [POSIX] (pthread_condattr_t): Likewise.
49026         [POSIX] (pthread_key_t): Likewise.
49027         [POSIX] (pthread_mutex_t): Likewise.
49028         [POSIX] (pthread_mutexattr_t): Likewise.
49029         [POSIX] (pthread_once_t): Likewise.
49030         [POSIX] (pthread_t): Likewise.
49031         [POSIX-based standards] (pthread_atfork): Expect function.
49033 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
49034             Richard Sandiford  <richard@codesourcery.com>
49036         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
49037         (swap_endianness_p): New extern variable.
49038         (set_big_endian): New inline function.
49039         (maybe_swap_uint32): Likewise.
49040         (maybe_swap_uint32_array): Likewise.
49041         (maybe_swap_uint32_obstack): Likewise.
49042         * locale/programs/locfile.c: Include <stdbool.h>.
49043         (swap_endianness_p): New variable.
49044         (add_locale_uint32): Call maybe_swap_uint32.
49045         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
49046         (write_locale_data): Call maybe_swap_uint32_array.
49047         * locale/programs/ld-collate.c (obstack_int32_grow): Call
49048         maybe_swap_uint32.
49049         (obstack_int32_grow_fast): Likewise.
49050         (output_weightwc): Call maybe_swap_uint32_obstack.
49051         (collate_output): Likewise.
49052         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
49053         (OPT_LITTLE_ENDIAN): Likewise.
49054         (options): Add --little-endian and --big-endian options.
49055         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
49056         * locale/programs/locarchive.c: Include "locfile.h".
49057         (GET): New macro.
49058         (SET): Likewise.
49059         (INC): Likewise.
49060         (create_archive): Use the new macros to access fields of
49061         structures directly mapped from or written to locale archives.
49062         (oldlocrecentcmp): Likewise.
49063         (enlarge_archive): Likewise.
49064         (insert_name): Likewise.
49065         (add_alias): Likewise.
49066         (add_locale): Likewise.
49067         (delete_locales_from_archive): Likewise.
49068         (show_archive_content): Likewise.
49069         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
49070         locale data.
49072 2013-09-24  Roland McGrath  <roland@hack.frob.com>
49074         * manual/freemanuals.texi: Updated from (newly) canonical copy at
49075         http://www.gnu.org/doc/freemanuals.texi.
49076         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
49078 2013-09-24  Will Newton  <will.newton@linaro.org>
49080         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
49081         macro.
49083 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
49085         * locale/hashval.h (compute_hashval): Interpret bytes of key as
49086         unsigned char.
49088 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
49090         * manual/threads.texi (POSIX Threads): Fix a typo.
49092 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49094         [BZ #14547]
49095         * string/tst-strcoll-overflow.c: New test case.
49096         * string/Makefile (xtests): Add tst-strcoll-overflow.
49097         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
49098         cache if string sizes may cause integer overflow.
49100         [BZ #14547]
49101         * string/strcoll_l.c (coll_seq): New members rule, idx,
49102         save_idx and back_us.
49103         (get_next_seq_nocache): New function.
49104         (do_compare_nocache): New function.
49105         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
49106         when malloc fails.
49108 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
49110         [BZ #15754]
49111         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
49112         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
49113         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
49115         [BZ #15754]
49116         * elf/Makefile (tests): Add tst-ptrguard1.
49117         (tests-static): Add tst-ptrguard1-static.
49118         (tst-ptrguard1-ARGS): Define.
49119         (tst-ptrguard1-static-ARGS): Define.
49120         * elf/tst-ptrguard1.c: New file.
49121         * elf/tst-ptrguard1-static.c: New file.
49122         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
49123         * sysdeps/i386/stackguard-macros.h: Likewise.
49124         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
49125         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
49126         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
49127         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
49128         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
49129         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
49131 2013-09-23  Hector Marco  <hecmargi@upv.es>
49132             Ismael Ripoll  <iripoll@disca.upv.es>
49133             Carlos O'Donell  <carlos@redhat.com>
49135         [BZ #15754]
49136         * sysdeps/generic/stackguard-macros.h: Define
49137         __pointer_chk_guard_local and POINTER_CHK_GUARD.
49138         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
49139         Define __pointer_chk_guard_local.
49140         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
49141         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
49143 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
49145         [BZ #15859]
49146         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
49148 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
49150         * include/string.h (__ffs): Declare as hidden.
49151         * string/ffs.c (__ffs): Define as hidden.
49152         * sysdeps/i386/ffs.c (__ffs): Likewise.
49153         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
49154         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
49155         * sysdeps/s390/ffs.c (__ffs): Likewise.
49156         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
49158 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
49160         * NEWS: Mention malloc probes.
49162         * malloc/arena.c (new_heap): New memory_heap_new probe.
49163         (grow_heap): New memory_heap_more probe.
49164         (shrink_heap): New memory_heap_less probe.
49165         (heap_trim): New memory_heap_free probe.
49166         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
49167         (systrim): New memory_sbrk_less probe.
49168         * manual/probes.texi: Document them.
49170         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
49171         * manual/probes.texi: Document it.
49173         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
49174         (__libc_realloc): Add memory_realloc_retry probe.
49175         (__libc_memalign): Add memory_memalign_retry probe.
49176         (__libc_valloc): Add memory_valloc_retry probe.
49177         (__libc_pvalloc): Add memory_pvalloc_retry probe.
49178         (__libc_calloc): Add memory_calloc_retry probe.
49179         * manual/probes.texi: Document them.
49181         * malloc/arena.c (get_free_list): Add probe
49182         memory_arena_reuse_free_list.
49183         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
49184         and memory_arena_reuse.
49185         (arena_get2) [!PER_THREAD]: Likewise.
49186         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
49187         memory_arena_reuse_realloc.
49188         * manual/probes.texi: Document them.
49190         * malloc/malloc.c (__libc_free): Add
49191         memory_mallopt_free_dyn_thresholds probe.
49192         (__libc_mallopt): Add multiple memory_mallopt probes.
49193         * manual/probes.texi: Document them.
49195         * malloc/malloc.c: Include stap-probe.h.
49196         (__libc_mallopt): Add memory_mallopt probe.
49197         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
49198         * manual/probes.texi: New.
49199         * manual/Makefile (chapters): Add probes.
49200         * manual/threads.texi: Set next node.
49202 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
49204         [BZ #15963, #13985]
49205         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
49206         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
49207         Add `Chinese' to `nan' entry name.
49209 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49211         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
49212         (POLYNOMIAL): Likewise.
49213         (TAYLOR_SINCOS): Likewise.
49214         (TAYLOR_SLOW): Likewise.
49215         (__sin): Use TAYLOR_SINCOS.
49216         (__cos): Likewise.
49217         (slow): Use TAYLOR_SLOW.
49218         (sloww): Likewise.
49219         (bsloww): Likewise.
49220         (csloww): Likewise.
49222 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49224         * stdlib/strtod_l.c: Fix buffer overrun.
49226 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49228         * benchtests/Makefile (bench): Add sincos.
49229         * benchtests/bench-sincos.c: New file.
49231         * math/libm-test.inc (cos_test_data): New test inputs.
49232         (sin_test_data): Likewise.
49234         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
49235         macro.
49236         (__sin): Use it.
49237         (__cos): Likewise.
49238         (slow1): Likewise.
49239         (slow2): Likewise.
49240         (sloww1): Likewise.
49241         (sloww2): Likewise.
49242         (bsloww1): Likewise.
49243         (bsloww2): Likewise.
49244         (cslow2): Likewise.
49245         (csloww1): Likewise.
49246         (csloww2): Likewise.
49248         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
49249         function.
49250         (__sin): Use it.
49251         (__cos): Likewise.
49253         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
49254         gotos.
49255         (__cos): Likewise.
49257 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
49259         * config.h.in (HAVE_MIPS_NAN2008): New macro.
49260         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
49261         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
49262         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
49263         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
49264         * elf/cache.c (print_entry): Handle the new cache flags.
49266 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
49267             Aldy Hernandez  <aldyh@redhat.com>
49269         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
49270         Change condition to [_SOFT_FLOAT].
49271         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
49272         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
49273         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
49274         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
49275         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
49276         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
49277         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
49278         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
49279         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
49280         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
49281         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
49282         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
49283         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
49284         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
49285         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
49286         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
49287         declaration.
49289 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
49291         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
49292         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
49293         (__longjmp): Use LOAD_GP to load saved GPRs.
49294         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
49295         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
49296         (__sigsetjmp): Use SAVE_GP to save GPRs.
49298         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
49299         Do not append -msoft-float.
49300         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
49302 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49304         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
49306 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
49308         [BZ #15966]
49309         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
49310         (_FPU_GETCW): Use initial "__" on variable and field names but not
49311         on macro parameter name.
49312         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
49313         parentheses around reference to macro parameter.
49315 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
49317         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
49318         prototype.
49319         (ctype_startup): Use uint32_t in cast and sizeof for
49320         ctype->charnames.
49322 2013-09-11  Jia Liu  <proljc@gmail.com>
49324         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
49325         __daddr_t_defined.
49326         [__FreeBSD__]: Likewise.
49328 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
49330         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
49331         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
49332         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
49333         (strchr): Remove __strchr_sse42 ifunc selection.
49334         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
49335         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
49337 2013-09-11  Will Newton  <will.newton@linaro.org>
49339         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
49340         parameter to RES. Remove hardcoded 1000 value.
49341         * benchtests/bench-skeleton.c (main): Pass RES parameter
49342         to TIMING_INIT and multiply result by 1000.
49344 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49348 2013-09-11  Andreas Schwab  <schwab@suse.de>
49350         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
49351         if not defined.
49352         (O_TMPFILE) [__USE_GNU]: Define.
49353         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
49354         Define.
49356 2013-09-11  Will Newton  <will.newton@linaro.org>
49358         [BZ #15857]
49359         * malloc/malloc.c (__libc_memalign): Check the value of bytes
49360         does not overflow.
49362 2013-09-11  Will Newton  <will.newton@linaro.org>
49364         [BZ #15856]
49365         * malloc/malloc.c (__libc_valloc): Check the value of bytes
49366         does not overflow.
49368 2013-09-11  Will Newton  <will.newton@linaro.org>
49370         [BZ #15855]
49371         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
49372         does not overflow.
49374 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
49376         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
49377         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49378         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49379         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49380         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49382 2013-09-10  Allan McRae  <allan@archlinux.org>
49384         [BZ #15748]
49385         * manual/arith.texi (Parsing of Floats): Clarify
49386         cross-reference.
49388         [BZ #15849]
49389         * manual/install.texi (Running make install): Mention
49390         --enable-pt-chown.
49391         * INSTALL: Regenerated.
49393 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
49395         * csu/init-first.c (_init): Remove the !SHARED condition around
49396         FPU control word initialization.
49397         * elf/dl-support.c (_dl_fpu_control): New variable.
49398         (_dl_aux_init) <AT_FPUCW>: Initialize it.
49399         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
49400         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
49401         * math/test-fpucw-static.c: New file.
49402         * math/test-fpucw-ieee.c: New file.
49403         * math/test-fpucw-ieee-static.c: New file.
49404         * math/Makefile (tests): Add `test-fpucw-ieee' and
49405         `$(tests-static)'.
49406         (tests-static): New variable.
49407         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
49408         dependency to...
49409         [($(build-shared),yes)]
49410         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
49411         ... this.
49412         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
49413         New dependency.
49415 2013-09-09  Allan McRae  <allan@archlinux.org>
49417         [BZ #15939]
49418         * manual/string.texi (Collation Functions): Fix typo in
49419         strcoll example.
49420         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
49422         [BZ #15893]
49423         * stdlib/isomac.c (get_null_defines): Fix memory leak.
49425         [BZ #15892]
49426         * libio/memstream.c (open_memstream): Fix memory leak.
49427         * libio/wmemstream.c (open_wmemstream): Likewise.
49429         [BZ #15895]
49430         * nscd/netgroupcache.c: Fix nesting of ifdefs.
49432 2013-09-09  Will Newton  <will.newton@linaro.org>
49434         * malloc/Makefile: Add tst-realloc to tests.
49435         * malloc/tst-realloc.c: New file.
49437 2013-09-09  Allan McRae  <allan@archlinux.org>
49439         [BZ #15844]
49440         * COPYING: Update from GNU website to fix FSF address.
49441         * COPYING.LIB: Likewise.
49443 2013-09-06  David S. Miller  <davem@davemloft.net>
49445         * po/zh_TW.po: Update Chinese (traditional) translation from
49446         translation project.
49448 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
49449             Joseph Myers  <joseph@codesourcery.com>
49451         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
49452         "localeinfo.h".
49453         (obstack_chunk_alloc): New macro.
49454         (obstack_chunk_free): Likewise.
49455         (record_offset): New function.
49456         (init_locale_data): Likewise.
49457         (align_locale_data): Likewise.
49458         (add_locale_empty): Likewise.
49459         (add_locale_raw_data): Likewise.
49460         (add_locale_raw_obstack): Likewise.
49461         (add_locale_string): Likewise.
49462         (add_locale_wstring): Likewise.
49463         (add_locale_uint32): Likewise.
49464         (add_locale_uint32_array): Likewise.
49465         (add_locale_char): Likewise.
49466         (start_locale_structure): Likewise.
49467         (end_locale_structure): Likewise.
49468         (start_locale_prelude): Likewise.
49469         (end_locale_prelude): Likewise.
49470         (write_locale_data): Take locale_file structure rather than an
49471         iovec.
49472         * locale/programs/locfile.h: Include "obstack.h".
49473         (struct locale_file): Change to store locale file contents instead
49474         of header.
49475         (init_locale_data): New prototype.
49476         (align_locale_data): Likewise.
49477         (add_locale_empty): Likewise.
49478         (add_locale_raw_data): Likewise.
49479         (add_locale_raw_obstack): Likewise.
49480         (add_locale_string): Likewise.
49481         (add_locale_wstring): Likewise.
49482         (add_locale_uint32): Likewise.
49483         (add_locale_uint32_array): Likewise.
49484         (add_locale_char): Likewise.
49485         (start_locale_structure): Likewise.
49486         (end_locale_structure): Likewise.
49487         (start_locale_prelude): Likewise.
49488         (end_locale_prelude): Likewise.
49489         (write_locale_data): Update prototype.
49490         * locale/programs/3level.h (struct TABLE): Remove result field.
49491         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
49492         Use new locale_file interface.
49493         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
49494         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
49495         * locale/programs/ld-address.c (address_output): Use new
49496         locale_file interface.
49497         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
49498         NO_ADD_LOCALE.
49499         (collate_finish): Don't call collseq_table_finalize.
49500         (collate_output): Use new locale_file interface.
49501         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
49502         in file.
49503         (NO_FINALIZE): Change to NO_ADD_LOCALE.
49504         (TABLE): Move defines earlier in file.
49505         (ELEMENT): Likewise.
49506         (DEFAULT): Likewise.
49507         (wctrans_table_add): Move macro and inline function earlier in
49508         file.
49509         (struct wctype_table): Move type earlier in file.
49510         (add_locale_wctype_table): New static prototype.
49511         (struct locale_ctype_t): Use logical types instead of struct iovec
49512         pointers for members.
49513         (ctype_output): Use new locale_file interface.
49514         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
49515         new locale_file interface.
49516         (allocate_arrays): Update for use of new locale_file interface.
49517         * locale/programs/ld-identification.c (identification_output): Use
49518         new locale_file interface.
49519         * locale/programs/ld-measurement.c (measurement_output): Likewise.
49520         * locale/programs/ld-messages.c (messages_output): Likewise.
49521         * locale/programs/ld-monetary.c (monetary_output): Likewise.
49522         * locale/programs/ld-name.c (name_output): Likewise.
49523         * locale/programs/ld-numeric.c (numeric_output): Likewise.
49524         * locale/programs/ld-paper.c (paper_output): Likewise.
49525         * locale/programs/ld-telephone.c (telephone_output): Likewise.
49526         * locale/programs/ld-time.c (time_output): Likewise.
49528 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49530         * benchtests/Makefile: Add memrchr benchmark.
49531         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
49532         benchmark as memrchr.
49533         * benchtests/bench-memrchr-ifunc.c: New file.
49534         * benchtests/bench-memrchr.c: New file.
49536 2013-09-06   Will Newton  <will.newton@linaro.org>
49538         * benchtests/Makefile (string-bench): Add memcpy.
49540 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
49541             Cong Wang  <amwang@redhat.com>
49543         [BZ #15850]
49544         * sysdeps/unix/sysv/linux/bits/in.h
49545         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
49546         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
49547         before __USE_KERNEL_IPV6_DEFS uses.
49548         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
49549         IPPROTO_BEETPH.
49550         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
49551         sockaddr_in6, or ipv6_mreq.
49553 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49555         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
49556         memory access for final bytes in some large inputs.
49557         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
49559 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49561         * string/test-memrchr.c: New file.
49562         * string/test-memrchr-ifunc.c: New file.
49563         * string/Makefile: Add new memrchr testcase.
49565 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
49567         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
49568         fanotify_init returns EPERM.
49570 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
49572         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
49573         errors.
49574         (top level): Treat second token from macro or constant entries for
49575         allowed headers as allowed.
49576         * include/complex.h: Condition internal declarations on
49577         [!_ISOMAC].
49578         * include/fenv.h: Condition include of <stdbool.h> and internal
49579         declarations on [!_ISOMAC].
49581 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
49583         [BZ #15923]
49584         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
49586 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
49588         * configure.in (--enable-versioning): Remove configure option.
49589         (libc_cv_asm_symver_directive): Remove configure test.
49590         (libc_cv_ld_version_script_option): Likewise.
49591         (VERSIONING): Remove variable and AC_SUBST.
49592         (DO_VERSIONING): Remove AC_DEFINE.
49593         * configure: Regenerated.
49594         * config.h.in (DO_VERSIONING): Remove macro.
49595         * Makerules [$(versioning) = yes]: Change conditionals to
49596         [$(build-shared) = yes].
49597         * config.make.in (versioning): Remove variable.
49598         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
49599         [$(build-shared) = yes].
49600         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
49601         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
49602         * elf/Makefile [$(versioning) = yes]: Change conditionals to
49603         [$(build-shared) = yes].
49604         * extra-lib.mk [$(versioning) = yes]: Likewise.
49605         * hurd/Makefile [$(versioning) = yes]: Likewise.
49606         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
49607         [SHARED].
49608         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
49609         [SHARED].
49610         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
49611         [SHARED && !NO_HIDDEN].
49612         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
49613         [SHARED].
49614         [SHARED && DO_VERSIONING]: Likewise..
49615         * libio/Makefile [$(versioning) = yes]: Change conditionals to
49616         [$(build-shared) = yes].
49617         * manual/install.texi (--disable-versioning): Remove
49618         documentation.
49619         * INSTALL: Regenerated.
49620         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
49621         to [SHARED].
49622         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
49623         [$(build-shared) = yes].
49624         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
49625         * sysdeps/i386/i686/multiarch/strstr-c.c
49626         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
49627         [SHARED && !NO_HIDDEN].
49628         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
49629         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
49630         * sysdeps/powerpc/powerpc32/dl-machine.c
49631         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
49632         * sysdeps/powerpc/powerpc32/sysdep.h
49633         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
49634         to [SHARED && PIC && !NO_HIDDEN].
49635         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
49636         conditional to [SHARED].
49638 2013-09-04   Will Newton  <will.newton@linaro.org>
49640         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
49641         * benchtests/bench-string.h: Include bench-timing.h instead
49642         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
49643         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
49644         call to HP_TIMING_DIFF_INIT.
49645         * benchtests/bench-memccpy.c: Use bench-timing.h macros
49646         instead of hp-timing.h macros.
49647         * benchtests/bench-memchr.c: Likewise.
49648         * benchtests/bench-memcmp.c: Likewise.
49649         * benchtests/bench-memcpy.c: Likewise.
49650         * benchtests/bench-memmem.c: Likewise.
49651         * benchtests/bench-memmove.c: Likewise.
49652         * benchtests/bench-memset.c: Likewise.
49653         * benchtests/bench-rawmemchr.c: Likewise.
49654         * benchtests/bench-strcasecmp.c: Likewise.
49655         * benchtests/bench-strcasestr.c: Likewise.
49656         * benchtests/bench-strcat.c: Likewise.
49657         * benchtests/bench-strchr.c: Likewise.
49658         * benchtests/bench-strcmp.c: Likewise.
49659         * benchtests/bench-strcpy.c: Likewise.
49660         * benchtests/bench-strcpy_chk.c: Likewise.
49661         * benchtests/bench-strlen.c: Likewise.
49662         * benchtests/bench-strncasecmp.c: Likewise.
49663         * benchtests/bench-strncat.c: Likewise.
49664         * benchtests/bench-strncmp.c: Likewise.
49665         * benchtests/bench-strncpy.c: Likewise.
49666         * benchtests/bench-strnlen.c: Likewise.
49667         * benchtests/bench-strpbrk.c: Likewise.
49668         * benchtests/bench-strrchr.c: Likewise.
49669         * benchtests/bench-strspn.c: Likewise.
49670         * benchtests/bench-strstr.c: Likewise.
49672 2013-09-04  Will Newton  <will.newton@linaro.org>
49674         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
49676 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
49678         [BZ #15427]
49679         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
49680         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
49681         * math/libm-test.inc (lgamma_test_data): Add more tests.
49682         * sysdeps/i386/fpu/libm-test-ulps: Update.
49683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49685 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
49687         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
49688         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49689         Add ifunc.
49690         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49691         Add strcmp-sse2-unaligned
49692         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
49694 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
49696         * Versions.def (libc): Add GLIBC_2.19.
49698 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
49700         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
49701         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
49703 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
49705         [BZ #14155]
49706         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
49707         intermediate calculations in recurrence.
49708         (__ieee754_ynf): Likewise.
49709         * math/libm-test.inc (jn_test_data): Do not allow spurious
49710         underflow exception.  Add more tests.
49711         (yn_test_data): Add more tests.
49712         * sysdeps/i386/fpu/libm-test-ulps: Update.
49713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49715 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
49717         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
49719 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
49721         * csu/init-first.c: Fix then/than typos.
49722         * locale/programs/ld-collate.c: Likewise.
49723         * locale/programs/linereader.h: Likewise.
49724         * manual/charset.texi: Likewise.
49725         * manual/filesys.texi: Likewise.
49726         * manual/stdio.texi: Likewise.
49727         * manual/string.texi: Likewise.
49728         * stdlib/fmtmsg.c: Likewise.
49729         * sysdeps/i386/stpncpy.S: Likewise.
49730         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49731         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
49732         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49733         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
49735 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
49737         * elf/dl-open.c: Fix typos.
49738         * iconvdata/gbbig5.c: Likewise.
49739         * iconvdata/iso-2022-jp.c: Likewise.
49740         * iconv/gconv_int.h: Likewise.
49741         * iconv/loop.c: Likewise.
49742         * nis/rpcsvc/nis.h: Likewise.
49743         * resolv/ns_name.c: Likewise.
49744         * stdio-common/vfscanf.c: Likewise.
49745         * streams/stropts.h: Likewise.
49746         * sunrpc/rpc_thread.c: Likewise.
49747         * sysdeps/i386/strpbrk.S: Likewise.
49748         * sysdeps/ieee754/k_standard.c: Likewise.
49749         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49750         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49751         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
49752         * sysdeps/mach/hurd/profil.c: Likewise.
49753         * sysdeps/s390/dl-procinfo.h: Likewise.
49754         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
49755         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
49756         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
49757         * sysdeps/x86_64/dl-trampoline.S: Likewise.
49758         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49760 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
49762         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
49763         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
49765 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
49767         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
49768         aix specific files.
49769         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
49770         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
49771         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
49772         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
49773         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
49774         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
49775         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
49776         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
49778 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
49779             Roland McGrath  <roland@hack.frob.com>
49781         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
49782         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
49784 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49786         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
49787         __executable_start symbol instead of _start.
49789 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
49791         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
49792         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
49793         Move macros to...
49794         * sysdeps/gnu/ldsodefs.h: ... this new file.
49796         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
49797         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
49798         instead of ELFOSABI_LINUX.
49800         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
49801         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
49802         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
49803         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
49804         Likewise.
49805         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
49806         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
49807         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
49808         Likewise.
49809         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
49810         (ibm_extended_long_double): Add ieee_nan member.
49811         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
49812         (do_test): New function.
49814         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
49815         TEST_TRUNC.
49816         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
49817         functions, renamed from truncdfsf_test, trunctfsf_test,
49818         trunctfdf_test.
49819         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
49820         functions.
49821         (do_test): Run all these.
49823 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
49825         * argp/argp-help.c: Fix typos.
49826         * argp/argp-parse.c: Likewise.
49827         * debug/backtracesyms.c: Likewise.
49828         * elf/elf.h: Likewise.
49829         * malloc/malloc.c: Likewise.
49830         * nis/nis_print.c: Likewise.
49831         * resolv/res_comp.c: Likewise.
49832         * stdlib/stdlib.h: Likewise.
49833         * sunrpc/clnt_tcp.c: Likewise.
49834         * sunrpc/clnt_udp.c: Likewise.
49835         * sunrpc/clnt_unix.c: Likewise.
49836         * sysdeps/unix/bsd/ptsname.c: Likewise.
49837         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
49838         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
49839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
49840         Likewise.
49841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
49842         Likewise.
49843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
49844         Likewise.
49845         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49847 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49849         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
49850         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49852 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
49854         [BZ #15897]
49855         * dlfcn/Makefile (tests): Add bug-dl-leaf.
49856         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
49857         ($(objpfx)bug-dl-leaf): New rule.
49858         ($(objpfx)bug-dl-leaf.so): Likewise.
49859         ($(objpfx)bug-dl-leaf.out): Likewise.
49860         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
49861         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
49862         * dlfcn/bug-dl-leaf.c: New test.
49863         * dlfcn/bug-dl-leaf-lib.c: Likewise.
49864         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
49865         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
49866         (dlclose): Likewise.
49867         (dlmopen): Likewise.
49869 2013-08-27  Roland McGrath  <roland@hack.frob.com>
49871         * include/netdb.h [!_ISOMAC]:
49872         Don't include <tls.h>.
49873         (h_errno, __libc_h_errno): Move declaration and macros out of
49874         [_LIBC_REENTRANT].
49876         * include/resolv.h [_RESOLV_H_]:
49877         Don't include <tls.h>.
49878         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
49879         * resolv/res_libc.c: Don't include <tls.h>.
49880         (_res): Use __attribute__ ((nocommon)) in place of
49881         __attribute__ ((section (".bss"))).
49883         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
49884         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
49886         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
49888         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
49889         only under [SIOCGIFCONF && SIOCGIFNETMASK].
49891         * resolv/res_mkquery.c: Include <sys/time.h>.
49893         * inet/ifreq.c: Moved to ...
49894         * sysdeps/unix/ifreq.c: ... here.
49895         * inet/ifreq.c: New file, true stub version.
49897         * socket/sa_len.c: New file.
49898         * socket/Makefile (aux): Add it.
49899         * sysdeps/unix/sysv/linux/Makefile
49900         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
49901         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
49902         and #include <socket/sa_len.c>.
49903         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
49904         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
49906         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
49907         * bits/socket.h: ... here.
49909         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
49910         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
49911         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
49913 2013-08-27  Andreas Schwab  <schwab@suse.de>
49915         [BZ #15736]
49916         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
49917         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
49918         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
49919         * string/test-strcasecmp.c (test_main): Run tests in several
49920         locales.
49921         * string/test-strncasecmp.c (test_main): Likewise.
49923         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
49924         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
49925         to __strcasecmp_nonascii and __strncasecmp_nonascii.
49926         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
49927         (__strncasecmp_ssse3) [PIC]: Likewise.
49929 2013-08-26  Roland McGrath  <roland@hack.frob.com>
49931         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
49933         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
49934         instead of explicitly declaring xdecrypt.
49935         * nis/nss_nis/nis-publickey.c: Likewise.
49937 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49939         [BZ #15890]
49940         * nscd/aicache.c: Include res_hconf.h.
49941         (addhstaiX): Initialize res_hconf.
49943 2013-08-26  Andreas Schwab  <schwab@suse.de>
49945         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
49946         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
49948 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49950         * nscd/aicache.c (addhstaiX): Fix indentation.
49952 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
49954         * configure.ac: Quote $build_pt_chown test.
49955         * configure: Regenerated.
49957 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
49959         [BZ #15532]
49960         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
49961         * math/s_cexpf.c (__cexpf): Likewise.
49962         * math/s_cexpl.c (__cexpl): Likewise.
49963         * math/libm-test.inc (cexp_test_data): Correct expected return
49964         value for NaN + i0.  Add another test.
49966 2013-08-22  David S. Miller  <davem@davemloft.net>
49968         * po/ca.po: Update Catalan translation from translation project.
49969         * po/uk.po: Add Ukrainian translations from translation project.
49971 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
49973         [BZ #15797]
49974         * math/s_fdim.c (__fdim): Check for infinite arguments if result
49975         is infinite, not alongside NaN test.
49976         * math/s_fdimf.c (__fdimf): Likewise.
49977         * math/s_fdiml.c (__fdiml): Likewise.
49978         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
49979         errno is unchanged.
49981 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
49983         * argp/argp-help.c: Fix typos.
49984         * crypt/speeds.c: Likewise.
49985         * csu/check_fds.c: Likewise.
49986         * elf/dl-load.c: Likewise.
49987         * elf/dl-open.c: Likewise.
49988         * elf/reldep3.c: Likewise.
49989         * elf/reldep.c: Likewise.
49990         * elf/sprof.c: Likewise.
49991         * iconv/iconv_charmap.c: Likewise.
49992         * iconv/skeleton.c: Likewise.
49993         * iconv/strtab.c: Likewise.
49994         * io/lockf64.c: Likewise.
49995         * libio/libioP.h: Likewise.
49996         * resolv/gai_notify.c: Likewise.
49997         * resolv/ns_name.c: Likewise.
49998         * resolv/ns_samedomain.c: Likewise.
49999         * resolv/res_send.c: Likewise.
50000         * stdlib/random.c: Likewise.
50001         * sunrpc/rpc/xdr.h: Likewise.
50002         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
50003         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50004         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50005         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50006         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50007         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50008         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50009         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50010         * sysdeps/mach/hurd/check_fds.c: Likewise.
50011         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
50012         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
50013         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50014         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
50015         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
50016         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
50017         * sysdeps/pthread/aio_notify.c: Likewise.
50018         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
50019         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
50020         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
50021         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50022         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
50024 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50026         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
50027         version if bit_Slow_SSE4_2 is set.
50028         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50029         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50031 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50033         [BZ #15867]
50034         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
50035         trampoline stack frame information.
50036         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
50037         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
50038         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
50039         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
50040         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
50041         * sysdeps/unix/sysv/linux/powerpc/init-first.c
50042         (_libc_vdso_platform_setup): Initialize the signal trampolines.
50043         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
50044         sa_flags value.
50045         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
50046         interrupting a syscall and set with option SA_SIGINFO.
50048 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
50050         [BZ #15531]
50051         * math/s_cproj.c (__cproj): Only return an infinity if one part of
50052         argument is infinite.
50053         * math/s_cprojf.c (__cprojf): Likewise.
50054         * math/s_cprojl.c (__cprojl): Likewise.
50055         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
50056         * math/libm-test.inc (cproj_test_data): Add more tests.
50058         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
50060         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
50061         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
50062         size.  Use __ffs to determine corresponding shift.
50064 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
50065             Roland McGrath  <roland@hack.frob.com>
50067         * Makefile (INSTALL): Remove trailing blank lines from output of
50068         makeinfo.
50070 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50072         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
50073         Align 32 bit compat elf_greg to 8 bytes.
50075 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
50077         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
50079 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50081         * string/strcoll_l.c (coll_seq): New structure.
50082         (get_next_seq_cached): New function.
50083         (get_next_seq): New function.
50084         (do_compare): New function.
50085         (STRCOLL): Use GNU style definition.  Simplify implementation
50086         by using get_next_seq, get_next_seq_cached and do_compare.
50088 2013-08-16  Florian Weimer  <fweimer@redhat.com>
50090         [BZ #14699]
50091         CVE-2013-4237
50092         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
50093         member.
50094         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
50095         member.
50096         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
50097         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
50098         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
50099         conditional.
50100         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
50101         GETDENTS_64BIT_ALIGNED.
50102         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
50103         * manual/filesys.texi (Reading/Closing Directory): Document
50104         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
50105         strongly.
50106         * manual/conf.texi (Limits for Files): Add portability note to
50107         NAME_MAX, PATH_MAX.
50108         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
50110 2013-08-13  Andreas Schwab  <schwab@suse.de>
50112         [BZ #15749]
50113         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
50114         of fabs.
50115         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
50116         LDBL_MAX_EXP >= 16384]: Add tests for it.
50118 2013-08-12  David S. Miller  <davem@davemloft.net>
50120         * version.h (RELEASE): Set to "development".
50121         (VERSION): Set to "2.18.90".
50122         * NEWS: Add 2.19 section.
50124 2013-08-03  David S. Miller  <davem@davemloft.net>
50126         * po/ko.po: Update Korean translation from translation project.
50128 2013-08-01  David S. Miller  <davem@davemloft.net>
50130         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
50131         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
50132         Bilka.
50134 2013-07-30  David S. Miller  <davem@davemloft.net>
50136         * po/fr.po: Update French translation from translation project.
50138 2013-07-28  David S. Miller  <davem@davemloft.net>
50140         * po/cs.po: Update Czech translation from translation project.
50142         * po/sv.po: Update Swedish translation from translation project.
50144 2013-07-27  David S. Miller  <davem@davemloft.net>
50146         * po/eo.po: Update Esperanto translation from translation project.
50148         * po/vi.po: Update Vietnamese translation from translation project.
50150         * po/de.po: Update German translation from translation project.
50152 2013-07-26  David S. Miller  <davem@davemloft.net>
50154         * po/bg.po: Update Bulgarian translation from translation project.
50156         * po/nl.po: Update Dutch translation from translation project.
50157         * po/pl.po: Update Polish translation from translation project.
50158         * po/ru.po: Update Russian translation from translation project.
50160 2013-07-24  David S. Miller  <davem@davemloft.net>
50162         * po/libc.pot: Update.
50164 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50166         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
50167         variable page size.
50168         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
50169         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
50170         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
50172 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50174         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
50176 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50177             Andreas Schwab  <schwab@suse.de>
50178             Roland McGrath  <roland@hack.frob.com>
50179             Joseph Myers  <joseph@codesourcery.com>
50180             Carlos O'Donell  <carlos@redhat.com>
50182         [BZ #15755]
50183         * config.h.in: Define HAVE_PT_CHOWN.
50184         * config.make.in (build-pt-chown): New variable.
50185         * configure.in (--enable-pt_chown): New configure option.
50186         * configure: Regenerate.
50187         * login/Makefile: Include Makeconfig.  Build pt_chown only if
50188         build-pt-chown is enabled.
50189         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
50190         pt_chown to fix pty ownership.
50191         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
50192         CLOSE_ALL_FDS.
50193         * manual/install.texi (Configuring and compiling): Mention
50194         --enable-pt_chown. Add @findex for grantpt.
50195         * INSTALL: Regenerate.
50197 2013-07-20  David S. Miller  <davem@davemloft.net>
50199         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
50200         difference between 32-bit and 64-bit.
50202 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
50204         [BZ #15711]
50205         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
50206         Avoid system header dependency with -ffreestanding.
50207         ($(objpfx)bits/syscall%d): Likewise.
50209 2013-07-13  David S. Miller  <davem@davemloft.net>
50211         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
50212         underflows from atanl/atan2l due to bug 15319.
50213         (casinh_test_data): Likewise.
50215 2013-07-07  David S. Miller  <davem@davemloft.net>
50217         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
50219 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
50221         * sysdeps/i386/fpu/libm-test-ulps: Update.
50222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50224 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50226         * configure.in (--enable-lock-elision): Fix message text.
50227         * INSTALL: Regenerate.
50228         * configure: Regenerate.
50230 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50232         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50234 2013-07-03  Andreas Jaeger  <aj@suse.de>
50236         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
50237         define.
50238         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
50239         (ptrace_peeksiginfo_args): Add.
50240         (__ptrace_peeksiginfo_flags): Add.
50241         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50242         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50243         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50245 2013-07-03  Allan McRae  <allan@archlinux.org>
50247         * sysdeps/i386/fpu/libm-test-ulps: Update.
50249 2013-07-02  David S. Miller  <davem@davemloft.net>
50251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50253 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
50255         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50257 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
50259         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
50260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50262 2013-07-02  Andi Kleen <ak@linux.intel.com>
50264         * config.h.in (ENABLE_LOCK_ELISION): Add.
50265         * configure.in (--enable-lock-elision): Add option.
50266         * manual/install.texi: Document --enable lock elision.
50267         * configure: Regenerate
50268         * INSTALL: Regenerate.
50270 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
50272         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
50273         SSE4.2 strcasecmp for libc.a.
50274         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
50276 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
50278         [BZ #13304]
50279         * soft-fp/op-common.h (_FP_FMA): New macro.
50280         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
50281         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
50282         (_FP_MUL_MEAT_1_imm): ... here.
50283         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
50284         (_FP_MUL_MEAT_1_wide): ... here.
50285         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
50286         (_FP_MUL_MEAT_1_hard): ... here.
50287         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
50288         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
50289         (_FP_MUL_MEAT_2_wide): ... here.
50290         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
50291         (_FP_MUL_MEAT_2_wide_3mul): ... here.
50292         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
50293         (_FP_MUL_MEAT_2_gmp): ... here.
50294         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
50295         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
50296         (_FP_MUL_MEAT_4_wide): ... here.
50297         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
50298         (_FP_MUL_MEAT_4_gmp): ... here.
50299         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
50300         (_FP_WFRACBITS_DW_S): Likewise.
50301         (_FP_WFRACXBITS_DW_S): Likewise.
50302         (_FP_HIGHBIT_DW_S): Likewise.
50303         (FP_FMA_S): Likewise.
50304         (_FP_FRAC_HIGH_DW_S): Likewise.
50305         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
50306         (_FP_WFRACBITS_DW_D): Likewise.
50307         (_FP_WFRACXBITS_DW_D): Likewise.
50308         (_FP_HIGHBIT_DW_D): Likewise.
50309         (FP_FMA_D): Likewise.
50310         (_FP_FRAC_HIGH_DW_D): Likewise.
50311         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
50312         (_FP_WFRACBITS_DW_E): Likewise.
50313         (_FP_WFRACXBITS_DW_E): Likewise.
50314         (_FP_HIGHBIT_DW_E): Likewise.
50315         (FP_FMA_E): Likewise.
50316         (_FP_FRAC_HIGH_DW_E): Likewise.
50317         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
50318         (_FP_WFRACBITS_DW_Q): Likewise.
50319         (_FP_WFRACXBITS_DW_Q): Likewise.
50320         (_FP_HIGHBIT_DW_Q): Likewise.
50321         (FP_FMA_Q): Likewise.
50322         (_FP_FRAC_HIGH_DW_Q): Likewise.
50323         * soft-fp/fmasf4.c: New file.
50324         * soft-fp/fmadf4.c: Likewise.
50325         * soft-fp/fmatf4.c: Likewise.
50327 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50329         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
50330         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
50331         Silvermont.
50332         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
50333         macro.
50334         (index_Slow_SSE4_2): Likewise.
50335         (index_Prefer_PMINUB_for_stringop): Likewise.
50336         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
50337         bit_Slow_SSE4_2 is set.
50338         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
50339         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50341 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50343         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
50344         rtld_global._dl_hwcap2.
50345         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
50346         POWER8.
50347         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
50348         POWER8 feature descriptions defined in _dl_hwcap2.
50349         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
50350         string handling for POWER8 feature bits.
50351         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
50352         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
50353         _dl_powerpc_cap_flags.
50354         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
50355         * sysdeps/powerpc/rtld-global-offsets.sym
50356         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
50357         _dl_hwcap2 in the rtld_global_ro structure.
50359 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50361         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
50362         hardware capabilities in support of AT_HWCAP2.
50363         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
50364         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
50365         GLRO(dl_hwcap2).
50366         (_dl_show_auxv): Add support for calling _dl_procinfo to display
50367         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
50368         explicitly the unknown a_type display mechanism is used.
50369         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
50370         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
50371         struct member.
50372         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
50373         to macro prototype for AT_HWCAP2 support.
50374         * sysdeps/i386/dl-procinfo.h: Likewise.
50375         * sysdeps/s390/dl-procinfo.h: Likewise.
50376         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
50377         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
50378         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
50379         return -1 for unknown a_type display fallback.
50380         * sysdeps/sparc/dl-procinfo.h: Likewise.
50381         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
50382         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
50384 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
50386         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
50387         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
50389 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
50391         [BZ #12492]
50392         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
50393         mprotect making __stack_prot writable.
50395 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
50396             Joseph Myers  <joseph@codesourcery.com>
50398         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
50399         as being properly aligned.
50401 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
50403         * dlfcn/modstatic5.c: New file.
50404         * dlfcn/tststatic5.c: New file.
50405         * dlfcn/Makefile (tests): Add tststatic5.
50406         (tests-static): Likewise.
50407         (modules-names): Add modstatic5.
50408         (tststatic5-ENV): New variable.
50409         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
50411         [BZ #15022]
50412         * elf/dl-support.c (_dl_main_map): New variable.
50413         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
50414         (_dl_nns, _dl_load_adds): Set to 1.
50415         (_dl_initial_searchlist): Refer to _dl_main_map.
50416         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
50417         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
50418         call to _dl_get_origin.
50419         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
50420         around call_map.
50421         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
50422         * dlfcn/modstatic3.c: New file.
50423         * dlfcn/tststatic3.c: New file.
50424         * dlfcn/tststatic4.c: New file.
50425         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
50426         (tests-static): Likewise.
50427         (modules-names): Add modstatic3.
50428         (tststatic3-ENV, tststatic4-ENV): New variables.
50429         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
50430         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
50432 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
50434         * configure.in (CC): Require GCC version 4.4 or later.
50435         * configure: Regenerated.
50436         * manual/install.texi (Tools for Compilation): Update GCC version
50437         requirement.
50438         * INSTALL: Regenerated.
50440 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50442         [BZ #15674]
50443         * string/test-memcmp.c (check2): New.
50444         (main): Call check2.
50446         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
50448 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
50450         [BZ #15022]
50451         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
50452         over to...
50453         (dl_open_worker) [!SHARED]: ... here.
50455 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50457         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
50459 2013-06-25  Richard Henderson  <rth@redhat.com>
50461         * locale/programs/locarchive.c: Include <libc-internal.h>
50463 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
50465         * manual/texinfo.tex: Update to version 2013-06-21.17, with
50466         trailing whitespace removed.
50468 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
50470         [BZ #10283]
50471         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
50472         * locale/programs/locarchive.c: Include libc-mmap.h.
50473         (prepare_address_space): Take two new outputs (the mmap base and len).
50474         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
50475         values.
50476         (create_archive): Declare new mmap base and len values for
50477         prepare_address_space, and store the result in ah.
50478         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
50479         (enlarge_archive): If ah->mmap_base is not NULL, use that and
50480         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
50481         Declare new mmap base and len values for
50482         prepare_address_space, and store the result in new_ah.
50483         (open_archive): Declare new mmap base and len values for
50484         prepare_address_space, and store the result in ah.
50485         (close_archive): If ah->mmap_base is not NULL, use that and
50486         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
50487         * sysdeps/generic/libc-mmap.h: New file.
50489 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
50491         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
50492         (ALIGN_UP): Likewise.
50493         (PTR_ALIGN_DOWN): Likewise.
50494         (PTR_ALIGN_UP): Likewise.
50496 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50498         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
50499         entry mapped to PPC_PLATFORM_POWER8.
50500         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
50501         POWER8.
50502         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
50503         (_dl_string_platform): Add case for exporting platform position for
50504         POWER8.
50505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
50506         search path to sysdeps/powerpc/powerpc32/power8 directory.
50507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
50508         search path to sysdeps/powerpc/powerpc64/power8 directory.
50509         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
50510         power7 directories.
50511         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
50512         power7 directories.
50514 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50516         * INSTALL: Regenerate.
50518         * nscd/connections.c (nscd_init): Fix comment.
50520 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
50522         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
50524         [BZ #15667]
50525         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
50526         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
50528 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
50530         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
50531         DL_DST_REQ_STATIC.
50532         (DL_DST_REQ_STATIC): Remove macro.
50534 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
50536         [BZ #7006]
50537         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
50538         with a shift of 0 bits.
50540 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
50542         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
50543         $(tststatic-ENV).
50545 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50547         [BZ #15655]
50548         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
50550 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50552         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
50553         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
50554         accepts -fno-tree-loop-distribute-patterns.
50555         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
50556         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
50557         recursive call.
50558         * string/memset.c (memset): Likewise.
50559         * string/test-memmove.c (simple_memmove): Disable loop transformation
50560         to library calls.
50561         * string/test-memset.c (simple_memset): Likewise.
50562         * benchtests/bench-memmove.c (simple_memmove): Likewise.
50563         * benchtests/bench-memset.c (simple_memset): Likewise.
50564         * configure: Regenerated.
50566 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
50568         * math/test-misc.c (main): Ignore fesetround failure when failures
50569         of subsequent rounding tests would be ignored.
50571         [BZ #15654]
50572         * math/fedisblxcpt.c (fedisableexcept): Return 0.
50573         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
50574         * math/fegetenv.c (__fegetenv): Return 0.
50575         * math/fegetexcept.c (fegetexcept): Return 0.
50576         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
50577         FE_TONEAREST.
50578         * math/feholdexcpt.c (feholdexcept): Return 0.
50579         * math/fesetenv.c (__fesetenv): Return 0.
50580         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
50581         argument FE_TONEAREST.
50582         * math/feupdateenv.c (__feupdateenv): Return 0.
50583         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
50585 2013-06-18  Roland McGrath  <roland@hack.frob.com>
50587         * elf/rtld-Rules (rtld-compile-command.S): New variable.
50588         (rtld-compile-command.s, rtld-compile-command.c): New variables.
50589         ($(objpfx)rtld-%.os rules): Use them.
50591 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50593         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
50594         fields.
50596 2013-06-17  Roland McGrath  <roland@hack.frob.com>
50598         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
50599         length of target pattern, then descending length of dependency pattern.
50600         * configure.in (AWK): Require gawk 3.1.2 or newer.
50601         * manual/install.texi (Tools for Compilation): Say that we do.
50602         * configure: Regenerated.
50604         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
50605         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
50606         * scripts/sysd-rules.awk: ... this new script.
50607         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
50608         than a glob-style pattern.
50610 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
50612         * math/test-misc.c (main): Do not treat incorrectly rounded
50613         conversions as failure unless ROUNDING_TESTS passes.
50615 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
50617         [BZ #15631]
50618         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
50619         restore exception state around main square root computation, then
50620         check for inexactness explicitly.
50622         * math/libm-test.inc (fma_test_data): Add another test.
50624 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50626         * manual/threads.texi (Non-POSIX Extensions): New document
50627         node.  Document pthread_getattr_default_np and
50628         pthread_setattr_default_np.
50630         * Versions.def (libpthread): Add GLIBC_2.18.
50631         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
50632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50633         Likewise.
50634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50635         Likewise.
50636         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50637         Likewise.
50638         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50639         Likewise.
50640         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
50641         Likewise.
50642         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50643         Likewise.
50644         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50645         Likewise.
50646         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50647         Likewise.
50648         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
50649         Likewise.
50651 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50653         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50654         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
50656 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50657             H.J. Lu  <hjl.tools@gmail.com>
50659         [BZ #15627]
50660         * sysdeps/x86_64/rtld-memset.c: Remove file.
50661         * sysdeps/x86_64/rtld-memset.S: New file.
50663 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
50665         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
50666         (test_in_one_mode): Take arguments for whether the rounding mode
50667         is supported for each floating-point type.
50668         (do_test): Pass new arguments to test_in_one_mode using
50669         ROUNDING_TESTS.
50671 2013-06-13  Roland McGrath  <roland@hack.frob.com>
50673         * posix/tst-waitid.c (do_test): Distinguish different instances of
50674         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
50675         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
50676         before entering the kernel for waitpid.
50678 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50680         * NEWS: Fix note on clock function precision.  Text by Roland
50681         McGrath.
50683 2013-06-13  Roland McGrath  <roland@hack.frob.com>
50685         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
50686         it into place only when and if the sanity check passes.
50688 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
50690         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
50691         output for whether conversion result is exact.  Take argument
50692         indicating whether type is IBM long double.
50693         (round_for_all): Change need_exact field to ibm_ld.
50694         * stdlib/tst-strtod-round.c (struct exactness): New type.
50695         (struct test): Change bool ld_ok field to struct exactness exact.
50696         (TEST): Update all definitions for change to field.
50697         (tests): Regenerate array contents.
50698         (test_in_one_mode): Take pointer to new field instead of old ld_ok
50699         field value.  Check for IBM long double here.
50700         (do_test): Update calls to test_in_one_mode.
50702 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50704         [BZ #12515]
50705         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
50706         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
50708 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50710         [BZ #15605]
50711         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
50712         generated by the compiler on loop optimizations.
50713         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
50714         general definitions.
50716 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
50718         * math/bug-nextafter.c: Include <math-tests.h>.
50719         (main): Only test for exceptions if EXCEPTION_TESTS is true for
50720         the relevant type.
50721         * math/bug-nexttoward.c: Include <math-tests.h>.
50722         (main): Only test for exceptions if EXCEPTION_TESTS is true for
50723         the relevant type.
50724         * math/test-misc.c: Include <math-tests.h>.
50725         (main): Only test for exceptions if EXCEPTION_TESTS is true for
50726         the relevant type.
50728 2013-06-12  Andreas Jaeger  <aj@suse.de>
50730         * po/ia.po: Update Interlingua translation from translation
50731         project.
50733 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50735         * include/fenv.h: Include stdbool.h.
50736         (struct rm_ctx): New structure.
50737         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
50738         Define macro.
50739         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
50740         (SET_RESTORE_ROUNDF): Likewise.
50741         (SET_RESTORE_ROUNDL): Likewise.
50742         (SET_RESTORE_ROUND_NOEX): Likewise.
50743         (SET_RESTORE_ROUND_NOEXF): Likewise.
50744         (SET_RESTORE_ROUND_NOEXL): Likewise.
50745         (SET_RESTORE_ROUND_53BIT): Likewise.
50746         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
50747         (libc_feresetround_noexf_ctx): Likewise.
50748         (libc_feresetround_noexl_ctx): Likewise.
50749         (libc_feholdsetround_53bit_ctx): Likewise.
50750         (libc_feresetround_53bit_ctx): Likewise.
50751         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
50752         (libc_feholdexcept_setround_sse_ctx): New function.
50753         (libc_fesetenv_sse_ctx): Likewise.
50754         (libc_feupdateenv_sse_ctx): Likewise.
50755         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
50756         (libc_feholdexcept_setround_387_ctx): Likewise.
50757         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
50758         (libc_feholdsetround_387_prec_ctx): Likewise.
50759         (libc_feholdsetround_387_ctx): Likewise.
50760         (libc_feholdsetround_387_53bit_ctx): Likewise.
50761         (libc_feholdsetround_sse_ctx): Likewise.
50762         (libc_feresetround_sse_ctx): Likewise.
50763         (libc_feresetround_387_ctx): Likewise.
50764         (libc_feupdateenv_387_ctx): Likewise.
50765         (libc_feholdexcept_setroundf_ctx): Define macro.
50766         (libc_fesetenvf_ctx): Likewise.
50767         (libc_feupdateenvf_ctx): Likewise.
50768         (libc_feholdsetroundf_ctx): Likewise.
50769         (libc_feresetroundf_ctx): Likewise.
50770         (libc_feholdexcept_setround_ctx): Likewise.
50771         (libc_fesetenv_ctx): Likewise.
50772         (libc_feupdateenv_ctx): Likewise.
50773         (libc_feholdsetround_ctx): Likewise.
50774         (libc_feresetround_ctx): Likewise.
50775         (libc_feholdexcept_setroundl_ctx): Likewise.
50776         (libc_feupdateenvl_ctx): Likewise.
50777         (libc_feholdsetroundl_ctx): Likewise.
50778         (libc_feresetroundl_ctx): Likewise.
50779         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
50780         (libc_feresetround_53bit_ctx): Likewise.
50782 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50784         * locale/iso-639.def: Convert to UTF-8.
50786 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
50788         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
50789         (EXCEPTION_TESTS_double): Likewise.
50790         (EXCEPTION_TESTS_long_double): Likewise.
50791         (EXCEPTION_TESTS): Likewise.
50792         * math/libm-test.inc (test_exceptions): Only test exceptions if
50793         EXCEPTION_TESTS (FLOAT).
50795 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50797         * benchtests/Makefile (string-bench): Add strcpy_chk and
50798         stpcpy_chk.
50799         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
50800         * benchtests/bench-stpcpy_chk.c: New file.
50801         * benchtests/bench-strcpy_chk-ifunc.c: New file.
50802         * benchtests/bench-strcpy_chk.c: New file.
50803         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
50804         code.
50805         (do_test): Likewise.
50807 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50809         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
50810         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
50811         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
50812         with tabs where appropriate.
50813         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
50814         dl-procinfo.h.
50815         [PPC_PLATFORM_PPC440]: Likewise.
50816         [PPC_PLATFORM_PPC464]: Likewise.
50817         [PPC_PLATFORM_PPC476]: Likewise.
50818         (_dl_string_platform): Add support for detecting ppc405, ppc440,
50819         ppc464, and ppc476 platform strings merging from ports/
50820         dl-procinfo.h.
50822 2013-06-11  Andreas Schwab  <schwab@suse.de>
50824         [BZ #14991]
50825         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
50826         (from_ucs4_idx): Regenerate.
50827         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
50828         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
50829         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
50830         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
50831         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
50832         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
50833         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
50834         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
50835         from FROM_LOOP and TO_LOOP specific macros.
50836         (BODY): Handle combining characters.
50837         * iconvdata/BIG5HKSCS.irreversible: Update.
50838         * iconvdata/BIG5HKSCS.precomposed: New file.
50839         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
50840         characters.
50841         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
50843 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50845         * include/sys/time.h: Fix indentation and add copyright header.
50847         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
50848         (do_test): Likewise.
50849         * string/test-memchr.c (do_one_test): Likewise.
50850         (do_test): Likewise.
50851         * string/test-memcmp.c (do_one_test): Likewise.
50852         (do_test): Likewise.
50853         * string/test-memcpy.c (do_one_test): Likewise.
50854         (do_test): Likewise.
50855         * string/test-memmem.c (do_one_test): Likewise.
50856         (do_test): Likewise.
50857         (do_random_tests): Likewise.
50858         * string/test-memmove.c (do_one_test): Likewise.
50859         (do_test): Likewise.
50860         * string/test-memset.c (do_one_test): Likewise.
50861         (do_test): Likewise.
50862         * string/test-rawmemchr.c (do_one_test): Likewise.
50863         (do_test): Likewise.
50864         * string/test-strcasecmp.c (do_one_test): Likewise.
50865         (do_test): Likewise.
50866         * string/test-strcasestr.c (do_one_test): Likewise.
50867         (do_test): Likewise.
50868         * string/test-strcat.c (do_one_test): Likewise.
50869         (do_test): Likewise.
50870         * string/test-strchr.c (do_one_test): Likewise.
50871         (do_test): Likewise.
50872         * string/test-strcmp.c (do_one_test): Likewise.
50873         (do_test): Likewise.
50874         * string/test-strcpy.c (do_one_test): Likewise.
50875         (do_test): Likewise.
50876         * string/test-string.h: Likewise.
50877         (test_init): Likewise.
50878         * string/test-strlen.c (do_one_test): Likewise.
50879         (do_test): Likewise.
50880         * string/test-strncasecmp.c (do_one_test): Likewise.
50881         (do_test): Likewise.
50882         * string/test-strncat.c (do_one_test): Likewise.
50883         (do_test): Likewise.
50884         * string/test-strncmp.c (do_one_test): Likewise.
50885         (do_test_limit): Likewise.
50886         (do_test): Likewise.
50887         * string/test-strncpy.c (do_one_test): Likewise.
50888         (do_test): Likewise.
50889         * string/test-strnlen.c (do_one_test): Likewise.
50890         (do_test): Likewise.
50891         * string/test-strpbrk.c (do_one_test): Likewise.
50892         (do_test): Likewise.
50893         * string/test-strrchr.c (do_one_test): Likewise.
50894         (do_test): Likewise.
50895         * string/test-strspn.c (do_one_test): Likewise.
50896         (do_test): Likewise.
50897         * string/test-strstr.c (do_one_test): Likewise.
50898         (do_test): Likewise.
50900         * benchtests/Makefile (string-bench): Add string benchmarks.
50901         * benchtests/bench-bcopy-ifunc.c: New file.
50902         * benchtests/bench-bcopy.c: New file.
50903         * benchtests/bench-bzero-ifunc.c: New file.
50904         * benchtests/bench-bzero.c: New file.
50905         * benchtests/bench-memccpy-ifunc.c: New file.
50906         * benchtests/bench-memccpy.c: New file.
50907         * benchtests/bench-memchr-ifunc.c: New file.
50908         * benchtests/bench-memchr.c: New file.
50909         * benchtests/bench-memcmp-ifunc.c: New file.
50910         * benchtests/bench-memcmp.c: New file.
50911         * benchtests/bench-memmem-ifunc.c: New file.
50912         * benchtests/bench-memmem.c: New file.
50913         * benchtests/bench-memmove-ifunc.c: New file.
50914         * benchtests/bench-memmove.c: New file.
50915         * benchtests/bench-mempcpy-ifunc.c: New file.
50916         * benchtests/bench-mempcpy.c: New file.
50917         * benchtests/bench-memset-ifunc.c: New file.
50918         * benchtests/bench-memset.c: New file.
50919         * benchtests/bench-rawmemchr-ifunc.c: New file.
50920         * benchtests/bench-rawmemchr.c: New file.
50921         * benchtests/bench-stpcpy-ifunc.c: New file.
50922         * benchtests/bench-stpcpy.c: New file.
50923         * benchtests/bench-stpncpy-ifunc.c: New file.
50924         * benchtests/bench-stpncpy.c: New file.
50925         * benchtests/bench-strcasecmp-ifunc.c: New file.
50926         * benchtests/bench-strcasecmp.c: New file.
50927         * benchtests/bench-strcasestr-ifunc.c: New file.
50928         * benchtests/bench-strcasestr.c: New file.
50929         * benchtests/bench-strcat-ifunc.c: New file.
50930         * benchtests/bench-strcat.c: New file.
50931         * benchtests/bench-strchr-ifunc.c: New file.
50932         * benchtests/bench-strchr.c: New file.
50933         * benchtests/bench-strchrnul-ifunc.c: New file.
50934         * benchtests/bench-strchrnul.c: New file.
50935         * benchtests/bench-strcmp-ifunc.c: New file.
50936         * benchtests/bench-strcmp.c: New file.
50937         * benchtests/bench-strcpy-ifunc.c: New file.
50938         * benchtests/bench-strcpy.c: New file.
50939         * benchtests/bench-strcspn-ifunc.c: New file.
50940         * benchtests/bench-strcspn.c: New file.
50941         * benchtests/bench-strlen-ifunc.c: New file.
50942         * benchtests/bench-strlen.c: New file.
50943         * benchtests/bench-strncasecmp-ifunc.c: New file.
50944         * benchtests/bench-strncasecmp.c: New file.
50945         * benchtests/bench-strncat-ifunc.c: New file.
50946         * benchtests/bench-strncat.c: New file.
50947         * benchtests/bench-strncmp-ifunc.c: New file.
50948         * benchtests/bench-strncmp.c: New file.
50949         * benchtests/bench-strncpy-ifunc.c: New file.
50950         * benchtests/bench-strncpy.c: New file.
50951         * benchtests/bench-strnlen-ifunc.c: New file.
50952         * benchtests/bench-strnlen.c: New file.
50953         * benchtests/bench-strpbrk-ifunc.c: New file.
50954         * benchtests/bench-strpbrk.c: New file.
50955         * benchtests/bench-strrchr-ifunc.c: New file.
50956         * benchtests/bench-strrchr.c: New file.
50957         * benchtests/bench-strspn-ifunc.c: New file.
50958         * benchtests/bench-strspn.c: New file.
50959         * benchtests/bench-strstr-ifunc.c: New file.
50960         * benchtests/bench-strstr.c: New file.
50962         * benchtests/Makefile: Disable parallel execution of targets.
50963         (string-bench): Add memcpy.
50964         (benchset): New variable to store a list of benchmark sets.
50965         (bench-func): Renamed from bench.
50966         (bench-set): New target.
50967         (bench): Depend on bench-func and bench-set.
50968         * benchtests/README: Add section on benchmark sets.
50969         * benchtests/bench-memcpy-ifunc.c: New file.
50970         * benchtests/bench-memcpy.c: New file.
50971         * benchtests/bench-string.h: New file.
50973 2013-06-11  Andreas Schwab  <schwab@suse.de>
50975         [BZ #15577]
50976         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
50977         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
50978         values in the triple.
50979         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
50980         terminator in the group key.
50982 2013-06-11  Andreas Jaeger  <aj@suse.de>
50984         * po/zh_TW.po: Update Chinese (traditional) translation from
50985         translation project.
50987 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50989         * include/time.h (__clock_gettime): Add libc_hidden_proto.
50990         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
50991         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
50992         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
50993         (clock_getcpuclockid): Likewise.
50994         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
50995         Add weak_alias and libc_hidden_def.
50996         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
50997         * rt/clock_gettime.c (clock_gettime): Rename to
50998         __clock_gettime.  Add weak_alias and libc_hidden_def.
50999         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
51000         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
51001         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
51002         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
51003         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
51004         Likewise.
51005         * rt/clock_settime.c (clock_settime): Rename to
51006         __clock_settime.  Add weak_alias and libc_hidden_def.
51007         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
51009 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
51011         * mach/err_boot.sub: Remove trailing whitespace.
51012         * mach/err_ipc.sub: Likewise.
51013         * mach/err_mach.sub: Likewise.
51015         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
51016         (ROUNDING_TESTS_double): Likewise.
51017         (ROUNDING_TESTS_long_double): Likewise.
51018         (ROUNDING_TESTS): Likewise.
51019         * math/libm-test.inc: Include <math-tests.h>.
51020         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
51021         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51022         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51023         (IF_ROUND_INIT_FE_UPWARD): Likewise.
51025 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51027         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
51028         of assigning.
51030 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
51032         * sysdeps/gnu/errlist.awk: Do not generate space at end of
51033         otherwise empty TRANS lines.
51034         * sysdeps/gnu/errlist.c: Regenerated.
51036         * catgets/gencat.c (error_print): Use (void) in function
51037         definition.
51038         * crypt/crypt_util.c (__init_des): Likewise.
51039         * crypt/speeds.c (Stop): Likewise.
51040         (main): Likewise.
51041         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
51042         * inet/ruserpass.c (token): Likewise.
51043         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
51044         * intl/localealias.c (extend_alias_table): Likewise.
51045         * intl/plural-exp.c (init_germanic_plural): Likewise.
51046         * libio/fcloseall.c (__fcloseall): Likewise.
51047         * libio/genops.c (_IO_flush_all): Likewise.
51048         (_IO_flush_all_linebuffered): Likewise.
51049         (_IO_cleanup): Likewise.
51050         (_IO_iter_begin): Likewise.
51051         (_IO_iter_end): Likewise.
51052         (_IO_list_lock): Likewise.
51053         (_IO_list_unlock): Likewise.
51054         (_IO_list_resetlock): Likewise.
51055         * libio/getchar.c (getchar): Likewise.
51056         * libio/getchar_u.c (getchar_unlocked): Likewise.
51057         * libio/getwchar.c (getwchar): Likewise.
51058         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
51059         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
51060         * login/getpt.c (__getpt): Likewise.
51061         * login/tst-utmp.c (main): Likewise.
51062         * malloc/hooks.c (__malloc_check_init): Likewise.
51063         * malloc/malloc.c (__malloc_stats): Likewise.
51064         * malloc/mtrace.c (tr_break): Likewise.
51065         (mtrace): Likewise.
51066         (muntrace): Likewise.
51067         * misc/fstab.c (endfsent): Likewise.
51068         * misc/getclktck.c (__getclktck): Likewise.
51069         * misc/getdtsz.c (__getdtablesize): Likewise.
51070         * misc/gethostid.c (gethostid): Likewise.
51071         * misc/getpagesize.c (__getpagesize): Likewise.
51072         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
51073         (__get_nprocs): Likewise.
51074         (__get_phys_pages): Likewise.
51075         (__get_avphys_pages): Likewise.
51076         * misc/getttyent.c (getttyent): Likewise.
51077         (setttyent): Likewise.
51078         (endttyent): Likewise.
51079         * misc/getusershell.c (getusershell): Likewise.
51080         (endusershell): Likewise.
51081         (setusershell): Likewise.
51082         (initshells): Likewise.
51083         * misc/hsearch.c (__hdestroy): Likewise.
51084         * misc/sync.c (sync): Likewise.
51085         * misc/syslog.c (closelog_internal): Likewise.
51086         (closelog): Likewise.
51087         * misc/ttyslot.c (ttyslot): Likewise.
51088         * misc/vhangup.c (vhangup): Likewise.
51089         * posix/fork.c (__fork): Likewise.
51090         * posix/getegid.c (__getegid): Likewise.
51091         * posix/geteuid.c (__geteuid): Likewise.
51092         * posix/getgid.c (__getgid): Likewise.
51093         * posix/getpid.c (__getpid): Likewise.
51094         * posix/getppid.c (__getppid): Likewise.
51095         * posix/getuid.c (__getuid): Likewise.
51096         * posix/pause.c (pause): Likewise.
51097         * posix/setpgrp.c (setpgrp): Likewise.
51098         * posix/setsid.c (__setsid): Likewise.
51099         * posix/test-vfork.c (noop): Likewise.
51100         * resolv/gethnamaddr.c (_endhtent): Likewise.
51101         (_gethtent): Likewise.
51102         (ht_endhostent): Likewise.
51103         (gethostent): Likewise.
51104         (dns_service): Likewise.
51105         * stdlib/drand48.c (drand48): Likewise.
51106         * stdlib/lrand48.c (lrand48): Likewise.
51107         * stdlib/mrand48.c (mrand48): Likewise.
51108         * stdlib/rand.c (rand): Likewise.
51109         * stdlib/random.c (__random): Likewise.
51110         * stdlib/setenv.c (clearenv): Likewise.
51111         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
51112         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
51113         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
51114         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
51115         (__get_nprocs): Likewise.
51116         (__get_phys_pages): Likewise.
51117         (__get_avphys_pages): Likewise.
51118         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
51119         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
51120         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
51121         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
51122         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
51123         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
51124         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
51125         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
51126         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
51127         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
51128         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
51129         * sysdeps/mach/hurd/sync.c (sync): Likewise.
51130         * sysdeps/posix/clock.c (clock): Likewise.
51131         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
51132         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
51133         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
51134         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
51135         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
51136         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
51137         (__get_nprocs_conf): Likewise.
51138         (__get_phys_pages): Likewise.
51139         (__get_avphys_pages): Likewise.
51140         * time/clock.c (clock): Likewise.
51141         * time/tzset.c (__tzname_max): Likewise.
51143 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
51145         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
51146         (__bswap_32): Do not use "register".
51147         * crypt/crypt.c (_ufc_doit_r): Likewise.
51148         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
51149         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
51150         * gmon/gmon.c (__monstartup): Likewise.
51151         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
51152         * hurd/hurdmalloc.c (more_memory): Likewise.
51153         (malloc): Likewise.
51154         (free): Likewise.
51155         (realloc): Likewise.
51156         (malloc_fork_prepare): Likewise.
51157         (malloc_fork_parent): Likewise.
51158         (malloc_fork_child): Likewise.
51159         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
51160         (_svcauth_des): Likewise.
51161         * inet/inet_lnaof.c (inet_lnaof): Likewise.
51162         * inet/inet_net.c (inet_network): Likewise.
51163         * inet/inet_netof.c (inet_netof): Likewise.
51164         * inet/rcmd.c (__validuser2_sa): Likewise.
51165         * io/fts.c (fts_open): Likewise.
51166         (fts_load): Likewise.
51167         (fts_close): Likewise.
51168         (fts_read): Likewise.
51169         (fts_children): Likewise.
51170         (fts_build): Likewise.
51171         (fts_stat): Likewise.
51172         (fts_sort): Likewise.
51173         (fts_alloc): Likewise.
51174         (fts_lfree): Likewise.
51175         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
51176         (_IO_file_xsgetn): Likewise.
51177         (_IO_file_xsgetn_mmap): Likewise.
51178         * libio/iofopncook.c (_IO_cookie_read): Likewise.
51179         (_IO_cookie_write): Likewise.
51180         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
51181         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
51182         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
51183         * malloc/obstack.c (_obstack_begin): Likewise.
51184         (_obstack_begin_1): Likewise.
51185         (_obstack_newchunk): Likewise.
51186         (_obstack_allocated_p): Likewise.
51187         (obstack_free): Likewise.
51188         (_obstack_memory_used): Likewise.
51189         * misc/getttyent.c (getttynam): Likewise.
51190         (getttyent): Likewise.
51191         (skip): Likewise.
51192         (value): Likewise.
51193         * misc/getusershell.c (initshells): Likewise.
51194         * misc/syslog.c (__vsyslog_chk): Likewise.
51195         * misc/ttyslot.c (ttyslot): Likewise.
51196         * nis/nis_hash.c (__nis_hash): Likewise.
51197         * posix/fnmatch_loop.c (FCT): Likewise.
51198         * posix/getconf.c (print_all): Likewise.
51199         (main): Likewise.
51200         * posix/getopt.c (exchange): Likewise.
51201         * posix/glob.c (globfree): Likewise.
51202         (prefix_array): Likewise.
51203         (__glob_pattern_type): Likewise.
51204         * resolv/arpa/nameser.h (NS_GET16): Likewise.
51205         (NS_GET32): Likewise.
51206         (NS_PUT16): Likewise.
51207         (NS_PUT32): Likewise.
51208         * resolv/gethnamaddr.c (getanswer): Likewise.
51209         (gethostbyname2): Likewise.
51210         (gethostbyaddr): Likewise.
51211         (_gethtent): Likewise.
51212         (_gethtbyname2): Likewise.
51213         (_gethtbyaddr): Likewise.
51214         * resolv/ns_print.c (dst_s_get_int16): Likewise.
51215         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
51216         * resolv/res_init.c (__res_vinit): Likewise.
51217         (net_mask): Likewise.
51218         * resolv/res_mkquery.c (outchar): Likewise.
51219         (PRINT): Likewise.
51220         * stdio-common/printf_fp.c (outchar): Likewise.
51221         (PRINT): Likewise.
51222         * stdio-common/printf_fphex.c (outchar): Likewise.
51223         (PRINT): Likewise.
51224         * stdio-common/printf_size.c (outchar): Likewise.
51225         (PRINT): Likewise.
51226         * stdio-common/test_rdwr.c (main): Likewise.
51227         * stdio-common/tfformat.c (matches): Likewise.
51228         * stdio-common/vfprintf.c (outchar): Likewise.
51229         (printf_unknown): Likewise.
51230         (buffered_vfprintf): Likewise.
51231         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
51232         * stdio-common/xbug.c (AppendToBuffer): Likewise.
51233         (ReadFile): Likewise.
51234         * stdlib/qsort.c (SWAP): Likewise.
51235         (_quicksort): Likewise.
51236         * stdlib/setenv.c (__add_to_environ): Likewise.
51237         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
51238         * stdlib/strtol_l.c (__strtol_l): Likewise.
51239         * stdlib/tst-strtod.c (main): Likewise.
51240         * stdlib/tst-strtol.c (main): Likewise.
51241         * stdlib/tst-strtoll.c (main): Likewise.
51242         * string/bits/string2.h (__strcmp_cc): Likewise.
51243         (__strcmp_cg): Likewise.
51244         (__strcspn_c1): Likewise.
51245         (__strcspn_c2): Likewise.
51246         (__strcspn_c3): Likewise.
51247         (__strspn_c1): Likewise.
51248         (__strspn_c2): Likewise.
51249         (__strspn_c3): Likewise.
51250         (__strsep_1c): Likewise.
51251         (__strsep_2c): Likewise.
51252         (__strsep_3c): Likewise.
51253         * string/memccpy.c (__memccpy): Likewise.
51254         * string/stpcpy.c (__stpcpy): Likewise.
51255         * string/strcmp.c (strcmp): Likewise.
51256         * string/strrchr.c (strrchr): Likewise.
51257         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
51258         Likewise.
51259         * sysdeps/mach/hurd/getcwd.c
51260         (_hurd_canonicalize_directory_name_internal): Likewise.
51261         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
51262         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
51263         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
51264         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
51265         Likewise, in both definitions.
51266         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
51267         definitions.
51268         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
51269         64] (__bswap_64): Likewise.
51270         * time/test_time.c (main): Likewise.
51271         * time/tzfile.c (__tzfile_read): Likewise.
51272         (__tzfile_compute): Likewise.
51273         * time/tzset.c (__tzset_parse_tz): Likewise.
51274         (tzset_internal): Likewise.
51275         (compute_change): Likewise.
51276         * wcsmbs/wcscat.c (__wcscat): Likewise.
51277         * wcsmbs/wcschr.c (wcschr): Likewise.
51278         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
51279         * wcsmbs/wcscspn.c (wcscspn): Likewise.
51280         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
51281         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
51282         * wcsmbs/wcsspn.c (wcsspn): Likewise.
51283         * wcsmbs/wcsstr.c (wcsstr): Likewise.
51284         * wcsmbs/wmemchr.c (wmemchr): Likewise.
51285         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51286         * wcsmbs/wmemset.c (wmemset): Likewise.
51288 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
51290         * scripts/config.guess: Update to version 2013-05-16.
51291         * scripts/config.sub: Update to version 2013-04-24.
51292         * scripts/install-sh: Update to version 2011-11-20.07.
51293         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
51294         * scripts/move-if-change: Update to version 2012-01-06 07:23.
51296 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
51298         * debug/fgetws_u_chk.c: Fix leading whitespaces.
51299         * elf/sln.c: Likewise.
51300         * hurd/hurd/ioctl.h: Likewise.
51301         * hurd/hurdmalloc.c: Likewise.
51302         * hurd/xattr.c: Likewise.
51303         * include/shlib-compat.h: Likewise.
51304         * inet/ruserpass.c: Likewise.
51305         * libio/iofgets_u.c: Likewise.
51306         * libio/iofgetws_u.c: Likewise.
51307         * locale/programs/ld-identification.c: Likewise.
51308         * locale/programs/ld-time.c: Likewise.
51309         * mach/msg-destroy.c: Likewise.
51310         * nss/nss_files/files-netgrp.c: Likewise.
51311         * resolv/res_data.c: Likewise.
51312         * soft-fp/op-1.h: Likewise.
51313         * soft-fp/op-2.h: Likewise.
51314         * soft-fp/op-4.h: Likewise.
51315         * soft-fp/op-common.h: Likewise.
51316         * stdio-common/printf_fphex.c: Likewise.
51317         * stdlib/strtod_l.c: Likewise.
51318         * sunrpc/rpc/clnt.h: Likewise.
51319         * sysdeps/generic/framestate.c: Likewise.
51320         * sysdeps/i386/bsd-_setjmp.S: Likewise.
51321         * sysdeps/i386/bsd-setjmp.S: Likewise.
51322         * sysdeps/i386/__longjmp.S: Likewise.
51323         * sysdeps/i386/setjmp.S: Likewise.
51324         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51325         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51326         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51327         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51328         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51329         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
51330         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51331         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51332         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51333         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
51334         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
51335         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
51336         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
51337         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
51338         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
51339         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51340         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
51341         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
51342         * sysdeps/ieee754/support.c: Likewise.
51343         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51344         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
51345         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
51346         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
51347         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
51348         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
51349         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
51350         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
51351         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
51352         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
51353         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
51354         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
51355         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
51356         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
51357         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
51358         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
51359         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
51360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
51362 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
51364         * posix/transbug.c: Remove executable mode.
51366 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
51368         * crypt/speeds.c: Remove trailing whitespace.
51369         * dlfcn/default.c: Likewise.
51370         * elf/ifuncdep2.c: Likewise.
51371         * elf/ifuncmain1.c: Likewise.
51372         * elf/ifuncmain1vis.c: Likewise.
51373         * elf/testobj.h: Likewise.
51374         * elf/tst-stackguard1.c: Likewise.
51375         * gmon/sys/gmon.h: Likewise.
51376         * hurd/hurdmsg.c: Likewise.
51377         * hurd/new-fd.c: Likewise.
51378         * hurd/ports-get.c: Likewise.
51379         * iconvdata/ibm1008_420.c: Likewise.
51380         * inet/tst-getni1.c: Likewise.
51381         * inet/tst-getni2.c: Likewise.
51382         * libio/ioungetc.c: Likewise.
51383         * libio/wfiledoalloc.c: Likewise.
51384         * manual/libm-err-tab.pl: Likewise.
51385         * math/w_dremf.c: Likewise.
51386         * misc/ftruncate.c: Likewise.
51387         * posix/bug-glob2.c: Likewise.
51388         * posix/tst-pcre.c: Likewise.
51389         * posix/wait4.c: Likewise.
51390         * resolv/README: Likewise.
51391         * resolv/res_debug.h: Likewise.
51392         * resolv/tst-inet_ntop.c: Likewise.
51393         * setjmp/bug269-setjmp.c: Likewise.
51394         * soft-fp/extended.h: Likewise.
51395         * soft-fp/op-1.h: Likewise.
51396         * soft-fp/op-2.h: Likewise.
51397         * soft-fp/op-4.h: Likewise.
51398         * soft-fp/op-8.h: Likewise.
51399         * soft-fp/testit.c: Likewise.
51400         * stdio-common/bug16.c: Likewise.
51401         * stdlib/random.c: Likewise.
51402         * sunrpc/rpcsvc/rquota.x: Likewise.
51403         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
51404         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51405         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51406         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51407         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51408         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51409         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51410         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51411         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51412         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51413         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51414         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
51415         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51416         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
51417         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51418         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
51419         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
51420         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51421         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
51422         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51423         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51424         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51425         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
51426         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
51427         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
51428         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
51429         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51430         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
51431         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51432         * sysdeps/ieee754/s_lib_version.c: Likewise.
51433         * sysdeps/mach/hurd/check_fds.c: Likewise.
51434         * sysdeps/mach/hurd/getsockname.c: Likewise.
51435         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
51436         * sysdeps/mach/hurd/recvfrom.c: Likewise.
51437         * sysdeps/powerpc/bits/link.h: Likewise.
51438         * sysdeps/powerpc/dl-procinfo.c: Likewise.
51439         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
51440         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
51441         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
51442         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
51443         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51444         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
51445         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
51446         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
51447         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51448         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
51449         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
51450         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
51451         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51452         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51453         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51454         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
51455         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
51456         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51457         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51458         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51459         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
51460         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51461         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
51462         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
51463         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
51464         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
51465         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51466         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51467         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
51468         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
51469         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
51470         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51471         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
51472         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
51473         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
51474         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
51475         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
51476         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
51477         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
51478         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
51479         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
51480         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
51481         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
51482         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
51483         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
51484         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
51485         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
51486         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
51487         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
51488         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51489         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51490         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51491         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51492         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
51493         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
51494         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
51495         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51496         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
51497         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
51498         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
51499         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
51500         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
51501         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51502         * sysdeps/powerpc/sysdep.h: Likewise.
51503         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
51504         * sysdeps/s390/s390-64/sub_n.S: Likewise.
51505         * sysdeps/sh/dl-trampoline.S: Likewise.
51506         * sysdeps/sh/memset.S: Likewise.
51507         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
51508         * sysdeps/sh/strlen.S: Likewise.
51509         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
51510         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
51511         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
51512         * sysdeps/sparc/sparc32/rem.S: Likewise.
51513         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
51514         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
51515         * sysdeps/sparc/sparc32/strchr.S: Likewise.
51516         * sysdeps/sparc/sparc32/udiv.S: Likewise.
51517         * sysdeps/sparc/sparc32/urem.S: Likewise.
51518         * sysdeps/sparc/sparc64/add_n.S: Likewise.
51519         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
51520         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
51521         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
51522         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
51523         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
51524         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
51525         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
51526         * sysdeps/unix/bsd/times.c: Likewise.
51527         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
51528         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
51529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
51530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
51531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51532         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
51533         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
51534         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
51535         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
51536         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
51537         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
51538         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51539         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
51540         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51541         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51542         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
51543         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51544         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
51545         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
51546         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
51547         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
51548         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
51549         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51550         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
51551         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
51552         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
51553         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
51554         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51555         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
51556         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
51557         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
51558         * sysdeps/x86_64/strcspn.S: Likewise.
51560 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51562         * locale/C-translit.h: Revert #include <stdint.h> because this is a
51563         generated file.  Regenerate properly from gen-translit.pl.
51564         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
51565         locale/C-translit.h.
51567 2013-06-05  Andreas Schwab  <schwab@suse.de>
51569         [BZ #15100]
51570         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
51571         week as 6 instead of -1.
51572         * time/tst-strptime.c (day_tests): Add test case.
51574 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51576         * sysdeps/generic/math_private.h
51577         (libc_feholdexcept_setround_53bit): Replace with
51578         libc_feholdsetround_53bit.
51579         (libc_feupdateenv_53bit): Replace with
51580         libc_feresetround_53bit.
51581         (SET_RESTORE_ROUND_53BIT): Adjust.
51583 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51585         * string/test-strchrnul.c: Add copyright header.
51587         * posix/tst-getaddrinfo4.c: Increase test timeout.
51589 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
51591         [BZ #15536]
51592         * math/libm-test.inc (MAX_EXP): Remove
51593         (MIN_EXP): Define.
51594         (ulp): Use MIN_EXP - MANT_DIG.
51595         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
51597 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
51599         * po/be.po: Revert last change.
51600         * po/zh_CN.po: Likewise.
51601         * po/header.pot: Likewise.
51603 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
51605         * Makefile ($(common-objpfx)linkobj/libc.so): Define
51606         link-libc-deps to empty as target-specific variable.
51607         * Makerules (link-libc-args): New variable.
51608         (libc-for-link): Likewise.
51609         (link-libc-deps): Likewise.
51610         (lib%.so): Depend on $(link-libc-deps).  Link with
51611         $(link-libc-args).
51612         (build-module): Link with $(link-libc-args).
51613         (build-module-asneeded): Likewise.
51614         (build-module-helper-objlist): Filter out $(link-libc-deps) from
51615         list of objects.
51616         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
51617         target-specific variable.
51618         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
51619         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
51620         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
51621         libc.
51622         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
51623         libc and ld.so.
51624         ($(objpfx)libpcprofile.so): Likewise.
51625         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
51626         libc_nonshared.a.
51627         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
51628         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
51629         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
51630         $(link-libc-deps).
51631         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
51632         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
51633         * login/Makefile ($(objpfx)libutil.so): Likewise.
51634         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
51635         * math/Makefile ($(objpfx)libm.so): Likewise.
51636         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
51637         $(objpfx)libnsl.so): Define libc-for-link as target-specific
51638         variable instead of depending directly on libc.
51639         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
51640         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
51641         $(link-libc-deps).
51642         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
51643         libc.
51644         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
51645         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
51646         ($(objpfx)libanl.so): Likewise.
51647         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
51648         ld.so.
51649         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
51650         $(link-libc-deps).
51651         * sysdeps/i386/fpu/Makefile: Remove file.
51652         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
51653         ($(objpfx)libm.so): Remove dependency on ld.so.
51655 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
51657         [BZ # 15553]
51658         * nis/yp_xdr.c (XDRMAXNAME): Define.
51659         (XDRMAXRECORD): Define.
51660         (xdr_domainname): Use XDRMAXNAME.
51661         (xdr_mapname): Likewise.
51662         (xdr_peername): Likewise.
51663         (xdr_keydat): Use XDRMAXRECORD.
51664         (xdr_valdat): Likewise.
51666 2013-05-30  Jeff Law  <law@redhat.com>
51668         [BZ #14256]
51669         * manual/errno.texi (ESTALE): Update to account for more than
51670         just NFS file systems.
51671         * sysdeps/gnu/errlist.c: Regenerated.
51673 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51675         [BZ #15465]
51676         * elf/Makefile (tests): Add tst-null-argv.
51677         (modules-names):  Add tst-null-argv-lib.
51678         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
51679         (tst-null-argv-ENV): Set environment for tst-null-argv.
51680         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
51681         (RTLD_PROGNAME): New macro.
51682         * elf/tst-null-argv.c: New test case.
51683         * elf/tst-null-argv-lib.c: Library for test case.
51684         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
51685         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
51686         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
51687         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
51688         * elf/dl-init.c (call_init): Likewise.
51689         (_dl_init): Likewise.
51690         * elf/dl-load.c (print_search_path): Likewise.
51691         (_dl_map_object): Likewise.
51692         * elf/dl-lookup.c (do_lookup_x): Likewise.
51693         (add_dependency): Likewise.
51694         (_dl_lookup_symbol_x): Likewise.
51695         (_dl_debug_bindings): Likewise.
51696         * elf/dl-open.c (_dl_show_scope): Likewise.
51697         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
51698         * elf/dl-version.c (match_symbol): Likewise.
51699         (_dl_check_map_versions): Likewise.
51700         * elf/rtld.c (dl_main): Likewise.
51701         (print_unresolved): Use RTLD_PROGNAME.
51702         (print_missing_version): Likewise.
51703         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
51704         (elf_machine_rela): Likewise.
51705         * sysdeps/powerpc/powerpc32/dl-machine.c
51706         (__process_machine_rela): Likewise.
51707         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51708         Likewise.
51709         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
51710         Likewise.
51711         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
51712         Likewise.
51713         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51714         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
51715         Likewise.
51716         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
51717         Likewise.
51718         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51720 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
51722         * po/be.po: Add descriptive title.
51723         * po/zh_CN.po: Likewise.
51724         * po/header.pot: Likewise.
51726 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
51728         * locale/programs/locarchive.c (create_archive): Inlucde fname in
51729         error message.
51730         (enlarge_archive): Likewise.
51732 2013-05-28  Ben North  <ben@redfrontdoor.org>
51734         * manual/arith.texi (frexp): It is the magnitude of the return
51735         value which lies in [0.5, 1), not the return value itself.
51737 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51741 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
51743         * stdio-common/bug26.c (main): Correct fscanf template.
51745         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
51746         declare _dl_skip_args.
51748         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
51749         Don't declare.
51751         * manual/platform.texi: Add missing @end deftypefun.
51753 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
51755         [BZ #15529]
51756         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
51757         bit of mantissa of 2^16382.
51758         * math/libm-test.inc (hypot_test_data): Add more tests.
51760         * math/libm-test.inc: Add drem and pow10 to list of tested
51761         functions.
51762         (pow10_test): New function.
51763         (drem_test): Likewise.
51764         (drem_test_tonearest): Likewise.
51765         (drem_test_towardzero): Likewise.
51766         (drem_test_downward): Likewise.
51767         (drem_test_upward): Likewise.
51768         (main): Call the new functions.
51770         * math/libm-test.inc (finite_test_data): Remove.
51771         (finite_test): Run tests from isfinite_test_data.
51772         (gamma_test_data): Remove.
51773         (gamma_test): Run tests from lgamma_test_data.
51774         * sysdeps/i386/fpu/libm-test-ulps: Update.
51775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51777 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51779         * manual/platform.texi: Add PowerPC PPR function set documentation.
51780         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
51781         implementation.
51783 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
51785         * math/libm-test.inc (MAX_EXP): Define.
51786         (ULPDIFF): Define.
51787         (ulp): New function.
51788         (check_float_internal): Use ULPDIFF.
51789         (cpow_test): Disable failing test.
51790         (check_ulp): Test ulp() implemetnation.
51791         (main): Call check_ulp before starting tests.
51793 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
51795         * math/gen-libm-test.pl (generate_testfile): Do not handle
51796         START_DATA and END_DATA.
51797         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
51798         END_DATA.
51799         (acos_tonearest_test_data): Likewise.
51800         (acos_towardzero_test_data): Likewise.
51801         (acos_downward_test_data): Likewise.
51802         (acos_upward_test_data): Likewise.
51803         (acosh_test_data): Likewise.
51804         (asin_test_data): Likewise.
51805         (asin_tonearest_test_data): Likewise.
51806         (asin_towardzero_test_data): Likewise.
51807         (asin_downward_test_data): Likewise.
51808         (asin_upward_test_data): Likewise.
51809         (asinh_test_data): Likewise.
51810         (atan_test_data): Likewise.
51811         (atanh_test_data): Likewise.
51812         (atan2_test_data): Likewise.
51813         (cabs_test_data): Likewise.
51814         (cacos_test_data): Likewise.
51815         (cacosh_test_data): Likewise.
51816         (carg_test_data): Likewise.
51817         (casin_test_data): Likewise.
51818         (casinh_test_data): Likewise.
51819         (catan_test_data): Likewise.
51820         (catanh_test_data): Likewise.
51821         (cbrt_test_data): Likewise.
51822         (ccos_test_data): Likewise.
51823         (ccosh_test_data): Likewise.
51824         (ceil_test_data): Likewise.
51825         (cexp_test_data): Likewise.
51826         (cimag_test_data): Likewise.
51827         (clog_test_data): Likewise.
51828         (clog10_test_data): Likewise.
51829         (conj_test_data): Likewise.
51830         (copysign_test_data): Likewise.
51831         (cos_test_data): Likewise.
51832         (cos_tonearest_test_data): Likewise.
51833         (cos_towardzero_test_data): Likewise.
51834         (cos_downward_test_data): Likewise.
51835         (cos_upward_test_data): Likewise.
51836         (cosh_test_data): Likewise.
51837         (cosh_tonearest_test_data): Likewise.
51838         (cosh_towardzero_test_data): Likewise.
51839         (cosh_downward_test_data): Likewise.
51840         (cosh_upward_test_data): Likewise.
51841         (cpow_test_data): Likewise.
51842         (cproj_test_data): Likewise.
51843         (creal_test_data): Likewise.
51844         (csin_test_data): Likewise.
51845         (csinh_test_data): Likewise.
51846         (csqrt_test_data): Likewise.
51847         (ctan_test_data): Likewise.
51848         (ctan_tonearest_test_data): Likewise.
51849         (ctan_towardzero_test_data): Likewise.
51850         (ctan_downward_test_data): Likewise.
51851         (ctan_upward_test_data): Likewise.
51852         (ctanh_test_data): Likewise.
51853         (ctanh_tonearest_test_data): Likewise.
51854         (ctanh_towardzero_test_data): Likewise.
51855         (ctanh_downward_test_data): Likewise.
51856         (ctanh_upward_test_data): Likewise.
51857         (erf_test_data): Likewise.
51858         (erfc_test_data): Likewise.
51859         (exp_test_data): Likewise.
51860         (exp_tonearest_test_data): Likewise.
51861         (exp_towardzero_test_data): Likewise.
51862         (exp_downward_test_data): Likewise.
51863         (exp_upward_test_data): Likewise.
51864         (exp10_test_data): Likewise.
51865         (exp2_test_data): Likewise.
51866         (expm1_test_data): Likewise.
51867         (fabs_test_data): Likewise.
51868         (fdim_test_data): Likewise.
51869         (finite_test_data): Likewise.
51870         (floor_test_data): Likewise.
51871         (fma_test_data): Likewise.
51872         (fma_towardzero_test_data): Likewise.
51873         (fma_downward_test_data): Likewise.
51874         (fma_upward_test_data): Likewise.
51875         (fmax_test_data): Likewise.
51876         (fmin_test_data): Likewise.
51877         (fmod_test_data): Likewise.
51878         (fpclassify_test_data): Likewise.
51879         (frexp_test_data): Likewise.
51880         (gamma_test_data): Likewise.
51881         (hypot_test_data): Likewise.
51882         (ilogb_test_data): Likewise.
51883         (isfinite_test_data): Likewise.
51884         (isgreater_test_data): Likewise.
51885         (isgreaterequal_test_data): Likewise.
51886         (isinf_test_data): Likewise.
51887         (isless_test_data): Likewise.
51888         (islessequal_test_data): Likewise.
51889         (islessgreater_test_data): Likewise.
51890         (isnan_test_data): Likewise.
51891         (isnormal_test_data): Likewise.
51892         (issignaling_test_data): Likewise.
51893         (isunordered_test_data): Likewise.
51894         (j0_test_data): Likewise.
51895         (j1_test_data): Likewise.
51896         (jn_test_data): Likewise.
51897         (ldexp_test_data): Likewise.
51898         (lgamma_test_data): Likewise.
51899         (lrint_test_data): Likewise.
51900         (lrint_tonearest_test_data): Likewise.
51901         (lrint_towardzero_test_data): Likewise.
51902         (lrint_downward_test_data): Likewise.
51903         (lrint_upward_test_data): Likewise.
51904         (llrint_test_data): Likewise.
51905         (llrint_tonearest_test_data): Likewise.
51906         (llrint_towardzero_test_data): Likewise.
51907         (llrint_downward_test_data): Likewise.
51908         (llrint_upward_test_data): Likewise.
51909         (log_test_data): Likewise.
51910         (log10_test_data): Likewise.
51911         (log1p_test_data): Likewise.
51912         (log2_test_data): Likewise.
51913         (logb_test_data): Likewise.
51914         (logb_downward_test_data): Likewise.
51915         (lround_test_data): Likewise.
51916         (llround_test_data): Likewise.
51917         (modf_test_data): Likewise.
51918         (nearbyint_test_data): Likewise.
51919         (nextafter_test_data): Likewise.
51920         (nexttoward_test_data): Likewise.
51921         (pow_test_data): Likewise.
51922         (pow_tonearest_test_data): Likewise.
51923         (pow_towardzero_test_data): Likewise.
51924         (pow_downward_test_data): Likewise.
51925         (pow_upward_test_data): Likewise.
51926         (remainder_test_data): Likewise.
51927         (remainder_tonearest_test_data): Likewise.
51928         (remainder_towardzero_test_data): Likewise.
51929         (remainder_downward_test_data): Likewise.
51930         (remainder_upward_test_data): Likewise.
51931         (remquo_test_data): Likewise.
51932         (rint_test_data): Likewise.
51933         (rint_tonearest_test_data): Likewise.
51934         (rint_towardzero_test_data): Likewise.
51935         (rint_downward_test_data): Likewise.
51936         (rint_upward_test_data): Likewise.
51937         (round_test_data): Likewise.
51938         (scalb_test_data): Likewise.
51939         (scalbn_test_data): Likewise.
51940         (scalbln_test_data): Likewise.
51941         (signbit_test_data): Likewise.
51942         (sin_test_data): Likewise.
51943         (sin_tonearest_test_data): Likewise.
51944         (sin_towardzero_test_data): Likewise.
51945         (sin_downward_test_data): Likewise.
51946         (sin_upward_test_data): Likewise.
51947         (sincos_test_data): Likewise.
51948         (sinh_test_data): Likewise.
51949         (sinh_tonearest_test_data): Likewise.
51950         (sinh_towardzero_test_data): Likewise.
51951         (sinh_downward_test_data): Likewise.
51952         (sinh_upward_test_data): Likewise.
51953         (sqrt_test_data): Likewise.
51954         (tan_test_data): Likewise.
51955         (tan_tonearest_test_data): Likewise.
51956         (tan_towardzero_test_data): Likewise.
51957         (tan_downward_test_data): Likewise.
51958         (tan_upward_test_data): Likewise.
51959         (tanh_test_data): Likewise.
51960         (tgamma_test_data): Likewise.
51961         (trunc_test_data): Likewise.
51962         (y0_test_data): Likewise.
51963         (y1_test_data): Likewise.
51964         (yn_test_data): Likewise.
51965         (significand_test_data): Likewise.
51967         * math/gen-libm-test.pl (@functions): Remove variable.
51968         (generate_testfile): Don't handle START and END lines.
51969         * math/libm-test.inc (START): New macro.
51970         (END): Likewise.
51971         (END_COMPLEX): Likewise.
51972         (acos_test): Use END macro without arguments.
51973         (acos_test_tonearest): Likewise.
51974         (acos_test_towardzero): Likewise.
51975         (acos_test_downward): Likewise.
51976         (acos_test_upward): Likewise.
51977         (acosh_test): Likewise.
51978         (asin_test): Likewise.
51979         (asin_test_tonearest): Likewise.
51980         (asin_test_towardzero): Likewise.
51981         (asin_test_downward): Likewise.
51982         (asin_test_upward): Likewise.
51983         (asinh_test): Likewise.
51984         (atan_test): Likewise.
51985         (atanh_test): Likewise.
51986         (atan2_test): Likewise.
51987         (cabs_test): Likewise.
51988         (cacos_test): Use END_COMPLEX macro without arguments.
51989         (cacosh_test): Likewise.
51990         (carg_test): Use END macro without arguments.
51991         (casin_test): Use END_COMPLEX macro without arguments.
51992         (casinh_test): Likewise.
51993         (catan_test): Likewise.
51994         (catanh_test): Likewise.
51995         (cbrt_test): Use END macro without arguments.
51996         (ccos_test): Use END_COMPLEX macro without arguments.
51997         (ccosh_test): Likewise.
51998         (ceil_test): Use END macro without arguments.
51999         (cexp_test): Use END_COMPLEX macro without arguments.
52000         (cimag_test): Use END macro without arguments.
52001         (clog_test): Use END_COMPLEX macro without arguments.
52002         (clog10_test): Likewise.
52003         (conj_test): Likewise.
52004         (copysign_test): Use END macro without arguments.
52005         (cos_test): Likewise.
52006         (cos_test_tonearest): Likewise.
52007         (cos_test_towardzero): Likewise.
52008         (cos_test_downward): Likewise.
52009         (cos_test_upward): Likewise.
52010         (cosh_test): Likewise.
52011         (cosh_test_tonearest): Likewise.
52012         (cosh_test_towardzero): Likewise.
52013         (cosh_test_downward): Likewise.
52014         (cosh_test_upward): Likewise.
52015         (cpow_test): Use END_COMPLEX macro without arguments.
52016         (cproj_test): Likewise.
52017         (creal_test): Use END macro without arguments.
52018         (csin_test): Use END_COMPLEX macro without arguments.
52019         (csinh_test): Likewise.
52020         (csqrt_test): Likewise.
52021         (ctan_test): Likewise.
52022         (ctan_test_tonearest): Likewise.
52023         (ctan_test_towardzero): Likewise.
52024         (ctan_test_downward): Likewise.
52025         (ctan_test_upward): Likewise.
52026         (ctanh_test): Likewise.
52027         (ctanh_test_tonearest): Likewise.
52028         (ctanh_test_towardzero): Likewise.
52029         (ctanh_test_downward): Likewise.
52030         (ctanh_test_upward): Likewise.
52031         (erf_test): Use END macro without arguments.
52032         (erfc_test): Likewise.
52033         (exp_test): Likewise.
52034         (exp_test_tonearest): Likewise.
52035         (exp_test_towardzero): Likewise.
52036         (exp_test_downward): Likewise.
52037         (exp_test_upward): Likewise.
52038         (exp10_test): Likewise.
52039         (exp2_test): Likewise.
52040         (expm1_test): Likewise.
52041         (fabs_test): Likewise.
52042         (fdim_test): Likewise.
52043         (finite_test): Likewise.
52044         (floor_test): Likewise.
52045         (fma_test): Likewise.
52046         (fma_test_towardzero): Likewise.
52047         (fma_test_downward): Likewise.
52048         (fma_test_upward): Likewise.
52049         (fmax_test): Likewise.
52050         (fmin_test): Likewise.
52051         (fmod_test): Likewise.
52052         (fpclassify_test): Likewise.
52053         (frexp_test): Likewise.
52054         (gamma_test): Likewise.
52055         (hypot_test): Likewise.
52056         (ilogb_test): Likewise.
52057         (isfinite_test): Likewise.
52058         (isgreater_test): Likewise.
52059         (isgreaterequal_test): Likewise.
52060         (isinf_test): Likewise.
52061         (isless_test): Likewise.
52062         (islessequal_test): Likewise.
52063         (islessgreater_test): Likewise.
52064         (isnan_test): Likewise.
52065         (isnormal_test): Likewise.
52066         (issignaling_test): Likewise.
52067         (isunordered_test): Likewise.
52068         (j0_test): Likewise.
52069         (j1_test): Likewise.
52070         (jn_test): Likewise.
52071         (ldexp_test): Likewise.
52072         (lgamma_test): Likewise.
52073         (lrint_test): Likewise.
52074         (lrint_test_tonearest): Likewise.
52075         (lrint_test_towardzero): Likewise.
52076         (lrint_test_downward): Likewise.
52077         (lrint_test_upward): Likewise.
52078         (llrint_test): Likewise.
52079         (llrint_test_tonearest): Likewise.
52080         (llrint_test_towardzero): Likewise.
52081         (llrint_test_downward): Likewise.
52082         (llrint_test_upward): Likewise.
52083         (log_test): Likewise.
52084         (log10_test): Likewise.
52085         (log1p_test): Likewise.
52086         (log2_test): Likewise.
52087         (logb_test): Likewise.
52088         (logb_test_downward): Likewise.
52089         (lround_test): Likewise.
52090         (llround_test): Likewise.
52091         (modf_test): Likewise.
52092         (nearbyint_test): Likewise.
52093         (nextafter_test): Likewise.
52094         (nexttoward_test): Likewise.
52095         (pow_test): Likewise.
52096         (pow_test_tonearest): Likewise.
52097         (pow_test_towardzero): Likewise.
52098         (pow_test_downward): Likewise.
52099         (pow_test_upward): Likewise.
52100         (remainder_test): Likewise.
52101         (remainder_test_tonearest): Likewise.
52102         (remainder_test_towardzero): Likewise.
52103         (remainder_test_downward): Likewise.
52104         (remainder_test_upward): Likewise.
52105         (remquo_test): Likewise.
52106         (rint_test): Likewise.
52107         (rint_test_tonearest): Likewise.
52108         (rint_test_towardzero): Likewise.
52109         (rint_test_downward): Likewise.
52110         (rint_test_upward): Likewise.
52111         (round_test): Likewise.
52112         (scalb_test): Likewise.
52113         (scalbn_test): Likewise.
52114         (scalbln_test): Likewise.
52115         (signbit_test): Likewise.
52116         (sin_test): Likewise.
52117         (sin_test_tonearest): Likewise.
52118         (sin_test_towardzero): Likewise.
52119         (sin_test_downward): Likewise.
52120         (sin_test_upward): Likewise.
52121         (sincos_test): Likewise.
52122         (sinh_test): Likewise.
52123         (sinh_test_tonearest): Likewise.
52124         (sinh_test_towardzero): Likewise.
52125         (sinh_test_downward): Likewise.
52126         (sinh_test_upward): Likewise.
52127         (sqrt_test): Likewise.
52128         (tan_test): Likewise.
52129         (tan_test_tonearest): Likewise.
52130         (tan_test_towardzero): Likewise.
52131         (tan_test_downward): Likewise.
52132         (tan_test_upward): Likewise.
52133         (tanh_test): Likewise.
52134         (tgamma_test): Likewise.
52135         (trunc_test): Likewise.
52136         (y0_test): Likewise.
52137         (y1_test): Likewise.
52138         (yn_test): Likewise.
52139         (significand_test): Likewise.
52141 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
52143         [BZ #15381]
52144         * libio/genops.c (_IO_no_init): Initialize wide struct info.
52146 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
52148         [BZ #14894]
52149         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
52150         __ppc_mdoio and __ppc_mdoom.
52151         * manual/platform.texi: Document new functions __ppc_yield,
52152         __ppc_mdoio and __ppc_mdoom.
52154 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
52156         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
52157         (main): Mention "tls" pseudo-hwcap is legacy.
52158         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
52160 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
52162         * math/gen-libm-test.pl (parse_args): Output only string of
52163         arguments as text for test name, not full call or descriptions of
52164         tests for extra outputs.
52165         (generate_testfile): Do not pass function name to parse_args.
52166         Generate this_func variable from START.
52167         * math/libm-test.inc (struct test_f_f_data): Rename test_name
52168         field to arg_str.
52169         (struct test_ff_f_data): Likewise.
52170         (test_ff_f_data_nexttoward): Likewise.
52171         (struct test_fi_f_data): Likewise.
52172         (struct test_fl_f_data): Likewise.
52173         (struct test_if_f_data): Likewise.
52174         (struct test_fff_f_data): Likewise.
52175         (struct test_c_f_data): Likewise.
52176         (struct test_f_f1_data): Likewise.  Remove field extra_name.
52177         (struct test_fF_f1_data): Likewise.
52178         (struct test_ffI_f1_data): Likewise.
52179         (struct test_c_c_data): Rename test_name field to arg_str.
52180         (struct test_cc_c_data): Likewise.
52181         (struct test_f_i_data): Likewise.
52182         (struct test_ff_i_data): Likewise.
52183         (struct test_f_l_data): Likewise.
52184         (struct test_f_L_data): Likewise.
52185         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
52186         and extra2_name.
52187         (COMMON_TEST_SETUP): New macro.
52188         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
52189         (COMMON_TEST_CLEANUP): Likewise.
52190         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
52191         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
52192         macros.
52193         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
52194         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
52195         macros.
52196         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
52197         (RUN_TEST_fff_f): Take argument string.  Call new setup and
52198         cleanup macros.
52199         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
52200         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
52201         macros.
52202         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
52203         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
52204         macros.
52205         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
52206         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
52207         cleanup macros.
52208         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
52209         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
52210         cleanup macros.
52211         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
52212         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
52213         cleanup macros.
52214         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
52215         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
52216         macros.
52217         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
52218         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
52219         macros.
52220         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
52221         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
52222         macros.
52223         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
52224         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
52225         cleanup macros.
52226         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
52227         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
52228         cleanup macros.
52229         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
52230         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
52231         macros.
52232         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
52233         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
52234         cleanup macros.
52235         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
52236         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
52237         macros.
52238         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
52239         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
52240         macros.
52241         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
52242         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
52243         cleanup macros.
52244         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
52246 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
52248         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
52249         to _sifields.sigfault.
52250         (si_addr_lsb): Define new macro.
52251         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
52252         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52253         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
52255 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
52257         [BZ #15441]
52258         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
52259         returns -1.
52260         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
52261         null return -1.
52262         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
52263         loading the domain.
52265 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
52267         * math/gen-libm-test.pl (parse_args): Do not include expected
52268         result in test name.
52269         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
52270         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52271         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
52272         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52273         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
52274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52276 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52278         * benchtests/Makefile: Sort function entries.
52280         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
52281         tanh, asinh, acosh, atanh.
52282         * benchtests/acos-inputs: New file.
52283         * benchtests/acosh-inputs: New file.
52284         * benchtests/asin-inputs: New file.
52285         * benchtests/asinh-inputs: New file.
52286         * benchtests/atanh-inputs: New file.
52287         * benchtests/cosh-inputs: New file.
52288         * benchtests/log-inputs: New file.
52289         * benchtests/sinh-inputs: New file.
52290         * benchtests/tanh-inputs: New file.
52292 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
52294         [BZ #15339]
52295         * posix/tst-getaddrinfo4.c: New test.
52296         * posix/Makefile (tests): Add it.
52298 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52300         [BZ #15339]
52301         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
52302         when no services were used.
52303         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
52304         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
52306 2013-05-21  Andreas Schwab  <schwab@suse.de>
52308         [BZ #15014]
52309         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
52310         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
52311         successful.
52312         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
52313         redundant variable declarations and reallocation of buffer when
52314         parsing as IPv6 address.  Always set NSS status when called from
52315         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
52316         buffer too small.  Correct computation of needed size.
52317         * nss/Makefile (tests): Add test-digits-dots.
52318         * nss/test-digits-dots.c: New test.
52320 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52322         * benchtests/Makefile: Remove instructions for adding
52323         benchmark tests.
52324         * benchtests/README: New file to explain how to execute and
52325         enhance the benchmark tests.
52327 2013-05-21  Andreas Schwab  <schwab@suse.de>
52329         [BZ #15493]
52330         * setjmp/Makefile (tests): Add tst-sigsetjmp.
52331         * setjmp/tst-sigsetjmp.c: New test.
52333 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
52335         * sysdeps/x86_64/memset.S (memset): New implementation.
52336         (__bzero): Likewise.
52337         (__memset_tail): New function.
52339 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
52341         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
52342         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
52343         __memcpy_sse2_unaligned ifunc selection.
52344         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52345         Add memcpy-sse2-unaligned.S.
52346         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52347         Add: __memcpy_sse2_unaligned.
52349 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
52351         [BZ #15490]
52352         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
52353         math_force_eval before restoring floating-point envrionment.
52354         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
52355         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
52356         Likewise.
52357         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
52358         <math_private.h>.
52359         (__nearbyintl): Use math_force_eval before restoring
52360         floating-point environment.
52361         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
52363         * math/gen-libm-test.pl (special_functions): Remove.
52364         (parse_args): Don't handle TEST_extra.  Handle functions with no
52365         return value.
52366         * math/libm-test.inc (struct test_sincos_data): Replace with
52367         struct test_fFF_11_data.
52368         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
52369         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
52370         (sincos_test_data): Change element type to struct
52371         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
52372         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
52373         RUN_TEST_LOOP_sincos.
52374         * math/README.libm-test: Don't mention special handling of
52375         individual functions.
52376         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
52377         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52378         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
52379         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52380         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
52381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52383         * math/gen-libm-test.pl (get_variable): Remove function.
52384         (parse_args): Don't show pointer parameters to call in test
52385         names.  Use "extra output N" in test names for extra outputs
52386         rather than naming variables.
52388 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
52390         [BZ #15488]
52391         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
52392         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
52393         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
52394         double tests.
52395         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
52396         disable.
52397         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
52398         check_long_double.
52400         * math/gen-libm-test.pl (@tests): Remove variable.
52401         ($count): Likewise.
52402         (new_test): Remove function.
52403         (show_exceptions): New function.
52404         (special_functions): Use show_exceptions instead of new_test.
52405         (parse_args): Likewise.
52406         (generate_testfile): Pass only function name in generated call to
52407         print_max_error or print_complex_max_error.
52408         (get_ulps): Do not handle complex tests specially.
52409         (output_test): Rename to ...
52410         (get_all_ulps_for_test): ... this.  Return a string rather than
52411         printing to a file.  Require ulps to be present.
52412         (output_ulps): Generate arrays rather than #defines.
52413         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
52414         (struct ulp_data): New type.
52415         (BUILD_COMPLEX_ULP): Remove macro.
52416         (compare_ulp_data): New function.
52417         (find_ulps): Likewise.
52418         (find_test_ulps): Likewise.
52419         (find_function_ulps): Likewise.
52420         (find_complex_function_ulps): Likewise.
52421         (print_max_error): Determine allowed ulps using
52422         find_function_ulps.
52423         (print_complex_max_error): Determine allowed ulps using
52424         find_complex_function_ulps.
52425         (check_float_internal): Determine max ulps using find_test_ulps.
52426         (check_float): Do not take max_ulp parameter.  Update call to
52427         check_float_internal.
52428         (check_complex): Likewise.
52429         (check_int): Do not take max_ulp parameter.
52430         (check_long): Likewise.
52431         (check_bool): Likewise.
52432         (check_longlong): Likewise.
52433         (struct test_f_f_data): Remove max_ulp field.
52434         (struct test_ff_f_data): Likewise.
52435         (struct test_ff_f_data_nexttoward): Likewise.
52436         (struct test_fi_f_data): Likewise.
52437         (struct test_fl_f_data): Likewise.
52438         (struct test_if_f_data): Likewise.
52439         (struct test_fff_f_data): Likewise.
52440         (struct test_c_f_data): Likewise.
52441         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
52442         (struct test_fF_f1_data): Likewise.
52443         (struct test_ffI_f1_data): Likewise.
52444         (struct test_c_c_data): Remove max_ulp field.
52445         (struct test_cc_c_data): Likewise.
52446         (struct test_f_i_data): Likewise.
52447         (struct test_ff_i_data): Likewise.
52448         (struct test_f_l_data): Likewise.
52449         (struct test_f_L_data): Likewise.
52450         (struct test_sincos_data): Likewise.
52451         (RUN_TEST_f_f): Do not handle ulps.
52452         (RUN_TEST_LOOP_f_f): Likewise.
52453         (RUN_TEST_2_f): Likewise.
52454         (RUN_TEST_LOOP_2_f): Likewise.
52455         (RUN_TEST_fff_f): Likewise.
52456         (RUN_TEST_LOOP_fff_f): Likewise.
52457         (RUN_TEST_c_f): Likewise.
52458         (RUN_TEST_LOOP_c_f): Likewise.
52459         (RUN_TEST_f_f1): Likewise.
52460         (RUN_TEST_LOOP_f_f1): Likewise.
52461         (RUN_TEST_fF_f1): Likewise.
52462         (RUN_TEST_LOOP_fF_f1): Likewise.
52463         (RUN_TEST_fI_f1): Likewise.
52464         (RUN_TEST_LOOP_fI_f1): Likewise.
52465         (RUN_TEST_ffI_f1): Likewise.
52466         (RUN_TEST_LOOP_ffI_f1): Likewise.
52467         (RUN_TEST_c_c): Likewise.
52468         (RUN_TEST_LOOP_c_c): Likewise.
52469         (RUN_TEST_cc_c): Likewise.
52470         (RUN_TEST_LOOP_cc_c): Likewise.
52471         (RUN_TEST_f_i): Likewise.
52472         (RUN_TEST_LOOP_f_i): Likewise.
52473         (RUN_TEST_f_i_tg): Likewise.
52474         (RUN_TEST_LOOP_f_i_tg): Likewise.
52475         (RUN_TEST_ff_i_tg): Likewise.
52476         (RUN_TEST_LOOP_ff_i_tg): Likewise.
52477         (RUN_TEST_f_b): Likewise.
52478         (RUN_TEST_LOOP_f_b): Likewise.
52479         (RUN_TEST_f_b_tg): Likewise.
52480         (RUN_TEST_LOOP_f_b_tg): Likewise.
52481         (RUN_TEST_f_l): Likewise.
52482         (RUN_TEST_LOOP_f_l): Likewise.
52483         (RUN_TEST_f_L): Likewise.
52484         (RUN_TEST_LOOP_f_L): Likewise.
52485         (RUN_TEST_sincos): Likewise.
52486         (RUN_TEST_LOOP_sincos): Likewise.
52488 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
52490         [BZ #15480]
52491         [BZ #15485]
52492         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
52493         main case of finite arguments, set rounding mode to FE_TONEAREST
52494         and discard exceptions.
52495         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
52496         exceptions.
52497         (remainder_tonearest_test_data): New variable.
52498         (remainder_test_tonearest): New function.
52499         (remainder_towardzero_test_data): New variable.
52500         (remainder_test_towardzero): New function.
52501         (remainder_downward_test_data): New variable.
52502         (remainder_test_downward): New function.
52503         (remainder_upward_test_data): New variable.
52504         (remainder_test_upward): New function.
52505         (main): Call the new test functions.
52507         * math/libm-test.inc (struct test_f_f1_data): Remove field
52508         extra_init.
52509         (struct test_fF_f1_data): Likewise.
52510         (struct test_ffI_f1_data): Likewise.
52511         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
52512         based on value of EXTRA_EXPECTED.
52513         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
52514         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
52515         EXTRA_VAR based on value of EXTRA_EXPECTED.
52516         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
52517         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
52518         EXTRA_VAR based on value of EXTRA_EXPECTED.
52519         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
52520         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
52521         EXTRA_VAR based on value of EXTRA_EXPECTED.
52522         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
52523         * math/gen-libm-test.pl (parse_args): Don't output initializers
52524         for extra output values.
52526         * math/libm-test.inc (check_int): Expect result to be exactly
52527         equal to expected value and do not handle ulps.
52528         (check_long): Likewise.
52529         (check_longlong): Likewise.
52531         * math/libm-test.inc (ceil_test_data): Test for "inexact"
52532         exceptions.
52533         (cimag_test_data): Likewise.
52534         (conj_test_data): Likewise.
52535         (copysign_test_data): Likewise.
52536         (cproj_test_data): Likewise.
52537         (creal_test_data): Likewise.
52538         (fabs_test_data): Likewise.
52539         (fdim_test_data): Likewise.
52540         (finite_test_data): Likewise.
52541         (floor_test_data): Likewise.
52542         (fmax_test_data): Likewise.
52543         (fmin_test_data): Likewise.
52544         (fmod_test_data): Likewise.
52545         (fpclassify_test_data): Likewise.
52546         (frexp_test_data): Likewise.
52547         (ilogb_test_data): Likewise.
52548         (isfinite_test_data): Likewise.
52549         (isgreater_test_data): Likewise.
52550         (isgreaterequal_test_data): Likewise.
52551         (isinf_test_data): Likewise.
52552         (isless_test_data): Likewise.
52553         (islessequal_test_data): Likewise.
52554         (islessgreater_test_data): Likewise.
52555         (isnan_test_data): Likewise.
52556         (isnormal_test_data): Likewise.
52557         (issignaling_test_data): Likewise.
52558         (isunordered_test_data): Likewise.
52559         (ldexp_test_data): Likewise.
52560         (lrint_test_data): Likewise.
52561         (lrint_test_data) [TEST_FLOAT]: Disable one test.
52562         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
52563         (lrint_tonearest_test_data): Test for "inexact" exceptions.
52564         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
52565         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
52566         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
52567         test input.
52568         (lrint_towardzero_test_data): Test for "inexact" exceptions.
52569         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
52570         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
52571         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
52572         that test input.
52573         (lrint_downward_test_data): Test for "inexact" exceptions.
52574         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
52575         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
52576         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
52577         test input.
52578         (lrint_upward_test_data): Test for "inexact" exceptions.
52579         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
52580         test input.
52581         (llrint_test_data): Test for "inexact" exceptions.
52582         (llrint_test_data) [TEST_FLOAT]: Disable one test.
52583         (llrint_tonearest_test_data): Test for "inexact" exceptions.
52584         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
52585         (llrint_towardzero_test_data): Test for "inexact" exceptions.
52586         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
52587         (llrint_downward_test_data): Test for "inexact" exceptions.
52588         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
52589         (llrint_upward_test_data): Test for "inexact" exceptions.
52590         (logb_test_data): Likewise.
52591         (logb_downward_test_data): Likewise.
52592         (nextafter_test_data): Likewise.
52593         (nexttoward_test_data): Likewise.
52594         (remainder_test_data): Likewise.
52595         (remquo_test_data): Likewise.
52596         (scalbn_test_data): Likewise.
52597         (scalbln_test_data): Likewise.
52598         (signbit_test_data): Likewise.
52599         (sqrt_test_data): Likewise.
52600         (significand_test_data): Likewise.
52602 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52604         [BZ #15424]
52605         * benchtests/bench-modf.c (struct args): Mark arg0 as
52606         volatile.
52607         * scripts/bench.pl: Mark members of struct args as volatile.
52609 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52611         [BZ # 15497]
52612         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
52613         negative infinity on POWER6 or lower.
52614         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
52616 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
52618         [BZ #15442]
52619         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
52620         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
52621         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
52622         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
52623         (_FP_SETQNAN): New macro.
52624         (_FP_SETQNAN_SEMIRAW): Likewise.
52625         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
52626         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
52627         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
52628         (FP_EXTEND): Use _FP_FRAC_SNANP.
52629         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
52630         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
52631         into account.
52632         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
52633         New macro.
52634         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
52635         Likewise.
52637 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52639         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
52640         with DIVIDE_BY_ZERO_EXCEPTION.
52641         (gamma_test_data): Likewise.
52642         (lgamma_test_data): Likewise.
52643         (log_test_data): Likewise.
52644         (log10_test_data): Likewise.
52645         (log2_test_data): Likewise.
52646         (tgamma_test_data): Likewise.
52648         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
52649         (acos_test_tonearest): Likewise.
52650         (acos_test_towardzero): Likewise.
52651         (acos_test_downward): Likewise.
52652         (acos_test_upward): Likewise.
52653         (acosh_test): Likewise.
52654         (asin_test): Likewise.
52655         (asin_test_tonearest): Likewise.
52656         (asin_test_towardzero): Likewise.
52657         (asin_test_downward): Likewise.
52658         (asin_test_upward): Likewise.
52659         (asinh_test): Likewise.
52660         (atan_test): Likewise.
52661         (atanh_test): Likewise.
52662         (atan2_test): Likewise.
52663         (cabs_test): Likewise.
52664         (cacos_test): Likewise.
52665         (cacosh_test): Likewise.
52666         (casin_test): Likewise.
52667         (casinh_test): Likewise.
52668         (catan_test): Likewise.
52669         (catanh_test): Likewise.
52670         (cbrt_test): Likewise.
52671         (ccos_test): Likewise.
52672         (ccosh_test): Likewise.
52673         (cexp_test): Likewise.
52674         (clog_test): Likewise.
52675         (clog10_test): Likewise.
52676         (cos_test): Likewise.
52677         (cos_test_tonearest): Likewise.
52678         (cos_test_towardzero): Likewise.
52679         (cos_test_downward): Likewise.
52680         (cos_test_upward): Likewise.
52681         (cosh_test): Likewise.
52682         (cosh_test_tonearest): Likewise.
52683         (cosh_test_towardzero): Likewise.
52684         (cosh_test_downward): Likewise.
52685         (cosh_test_upward): Likewise.
52686         (cpow_test): Likewise.
52687         (csin_test): Likewise.
52688         (csinh_test): Likewise.
52689         (csqrt_test): Likewise.
52690         (ctan_test): Likewise.
52691         (ctan_test_tonearest): Likewise.
52692         (ctan_test_towardzero): Likewise.
52693         (ctan_test_downward): Likewise.
52694         (ctan_test_upward): Likewise.
52695         (ctanh_test): Likewise.
52696         (ctanh_test_tonearest): Likewise.
52697         (ctanh_test_towardzero): Likewise.
52698         (ctanh_test_downward): Likewise.
52699         (ctanh_test_upward): Likewise.
52700         (erf_test): Likewise.
52701         (erfc_test): Likewise.
52702         (exp_test): Likewise.
52703         (exp_test_tonearest): Likewise.
52704         (exp_test_towardzero): Likewise.
52705         (exp_test_downward): Likewise.
52706         (exp_test_upward): Likewise.
52707         (exp10_test): Likewise.
52708         (exp2_test): Likewise.
52709         (expm1_test): Likewise.
52710         (fmod_test): Likewise.
52711         (gamma_test): Likewise.
52712         (hypot_test): Likewise.
52713         (j0_test): Likewise.
52714         (j1_test): Likewise.
52715         (jn_test): Likewise.
52716         (lgamma_test): Likewise.
52717         (log_test): Likewise.
52718         (log10_test): Likewise.
52719         (log1p_test): Likewise.
52720         (log2_test): Likewise.
52721         (logb_test_downward): Likewise.
52722         (pow_test): Likewise.
52723         (pow_test_tonearest): Likewise.
52724         (pow_test_towardzero): Likewise.
52725         (pow_test_downward): Likewise.
52726         (pow_test_upward): Likewise.
52727         (remainder_test): Likewise.
52728         (remquo_test): Likewise.
52729         (sin_test): Likewise.
52730         (sin_test_tonearest): Likewise.
52731         (sin_test_towardzero): Likewise.
52732         (sin_test_downward): Likewise.
52733         (sin_test_upward): Likewise.
52734         (sincos_test): Likewise.
52735         (sinh_test): Likewise.
52736         (sinh_test_tonearest): Likewise.
52737         (sinh_test_towardzero): Likewise.
52738         (sinh_test_downward): Likewise.
52739         (sinh_test_upward): Likewise.
52740         (sqrt_test): Likewise.
52741         (tan_test): Likewise.
52742         (tan_test_tonearest): Likewise.
52743         (tan_test_towardzero): Likewise.
52744         (tan_test_downward): Likewise.
52745         (tan_test_upward): Likewise.
52746         (tanh_test): Likewise.
52747         (tgamma_test): Likewise.
52748         (y0_test): Likewise.
52749         (y1_test): Likewise.
52750         (yn_test): Likewise.
52752         * math/gen-libm-test.pl (adjust_arg): Remove function.
52753         (special_function): Remove argument $in_func.  Only handle
52754         generating output for tables of tests, not inside functions.
52755         (parse_args): Likewise.
52756         (generate_testfile): Remove variable $in_func.  Update call to
52757         parse_args.
52758         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
52759         (MINUS_ZERO_INIT): Rename macro to minus_zero.
52760         (PLUS_INFTY_INIT): Rename macro to plus_infty.
52761         (MINUS_INFTY_INIT): Rename macro to minus_infty.
52762         (QNAN_VALUE_INIT): Rename macro to qnan_value.
52763         (MAX_VALUE_INIT): Rename macro to max_value.
52764         (MIN_VALUE_INIT): Rename macro to min_value.
52765         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
52766         (plus_zero): Remove variable.
52767         (minus_zero): Likewise.
52768         (plus_infty): Likewise.
52769         (minus_infty): Likewise.
52770         (qnan_value): Likewise.
52771         (max_value): Likewise.
52772         (min_value): Likewise.
52773         (min_subnorm_value): Likewise.
52775 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52777         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
52778         uint64_t or uint32_t usage.
52779         * crypt/sha256-block.c: Likewise.
52780         * crypt/sha256-crypt.c: Likewise.
52781         * crypt/sha256.c: Likewise.
52782         * crypt/sha512-block.c: Likewise.
52783         * crypt/sha512-crypt.c: Likewise.
52784         * crypt/sha512.c: Likewise.
52785         * debug/backtrace-tst.c: Likewise.
52786         * debug/pcprofiledump.c: Likewise.
52787         * elf/cache.c: Likewise.
52788         * elf/dl-cache.c: Likewise.
52789         * elf/dl-misc.c: Likewise.
52790         * elf/dl-profile.c: Likewise.
52791         * elf/dl-support.c: Likewise.
52792         * elf/ldconfig.c: Likewise.
52793         * elf/sprof.c: Likewise.
52794         * iconv/dummy-repertoire.c: Likewise.
52795         * iconv/iconv_charmap.c: Likewise.
52796         * iconv/skeleton.c: Likewise.
52797         * iconvdata/8bit-generic.c: Likewise.
52798         * iconvdata/cp737.h: Likewise.
52799         * iconvdata/cp775.h: Likewise.
52800         * iconvdata/ibm1008.h: Likewise.
52801         * iconvdata/ibm1025.h: Likewise.
52802         * iconvdata/ibm1046.h: Likewise.
52803         * iconvdata/ibm1097.h: Likewise.
52804         * iconvdata/ibm1112.h: Likewise.
52805         * iconvdata/ibm1122.h: Likewise.
52806         * iconvdata/ibm1123.h: Likewise.
52807         * iconvdata/ibm1124.h: Likewise.
52808         * iconvdata/ibm1129.h: Likewise.
52809         * iconvdata/ibm1130.h: Likewise.
52810         * iconvdata/ibm1132.h: Likewise.
52811         * iconvdata/ibm1133.h: Likewise.
52812         * iconvdata/ibm1137.h: Likewise.
52813         * iconvdata/ibm1140.h: Likewise.
52814         * iconvdata/ibm1141.h: Likewise.
52815         * iconvdata/ibm1142.h: Likewise.
52816         * iconvdata/ibm1143.h: Likewise.
52817         * iconvdata/ibm1144.h: Likewise.
52818         * iconvdata/ibm1145.h: Likewise.
52819         * iconvdata/ibm1146.h: Likewise.
52820         * iconvdata/ibm1147.h: Likewise.
52821         * iconvdata/ibm1148.h: Likewise.
52822         * iconvdata/ibm1149.h: Likewise.
52823         * iconvdata/ibm1153.h: Likewise.
52824         * iconvdata/ibm1154.h: Likewise.
52825         * iconvdata/ibm1155.h: Likewise.
52826         * iconvdata/ibm1156.h: Likewise.
52827         * iconvdata/ibm1157.h: Likewise.
52828         * iconvdata/ibm1158.h: Likewise.
52829         * iconvdata/ibm1160.h: Likewise.
52830         * iconvdata/ibm1161.h: Likewise.
52831         * iconvdata/ibm1162.h: Likewise.
52832         * iconvdata/ibm1163.h: Likewise.
52833         * iconvdata/ibm1164.h: Likewise.
52834         * iconvdata/ibm1166.h: Likewise.
52835         * iconvdata/ibm1167.h: Likewise.
52836         * iconvdata/ibm12712.h: Likewise.
52837         * iconvdata/ibm1390.h: Likewise.
52838         * iconvdata/ibm1399.h: Likewise.
52839         * iconvdata/ibm16804.h: Likewise.
52840         * iconvdata/ibm4517.h: Likewise.
52841         * iconvdata/ibm4899.h: Likewise.
52842         * iconvdata/ibm4909.h: Likewise.
52843         * iconvdata/ibm4971.h: Likewise.
52844         * iconvdata/ibm5347.h: Likewise.
52845         * iconvdata/ibm803.h: Likewise.
52846         * iconvdata/ibm856.h: Likewise.
52847         * iconvdata/ibm901.h: Likewise.
52848         * iconvdata/ibm902.h: Likewise.
52849         * iconvdata/ibm9030.h: Likewise.
52850         * iconvdata/ibm9066.h: Likewise.
52851         * iconvdata/ibm921.h: Likewise.
52852         * iconvdata/ibm922.h: Likewise.
52853         * iconvdata/ibm9448.h: Likewise.
52854         * iconvdata/isiri-3342.h: Likewise.
52855         * iconvdata/jis0201.h: Likewise.
52856         * include/link.h: Likewise.
52857         * include/netdb.h: Likewise.
52858         * inet/check_native.c: Likewise.
52859         * inet/check_pf.c: Likewise.
52860         * inet/getipv4sourcefilter.c: Likewise.
52861         * inet/getnameinfo.c: Likewise.
52862         * inet/getsourcefilter.c: Likewise.
52863         * inet/htonl.c: Likewise.
52864         * inet/setipv4sourcefilter.c: Likewise.
52865         * inet/setsourcefilter.c: Likewise.
52866         * inet/test-inet6_opt.c: Likewise.
52867         * inet/tst-network.c: Likewise.
52868         * locale/C-collate.c: Likewise.
52869         * locale/C-ctype.c: Likewise.
52870         * locale/C-time.c: Likewise.
52871         * locale/C-translit.h: Likewise.
52872         * locale/loadarchive.c: Likewise.
52873         * locale/programs/3level.h: Likewise.
52874         * locale/programs/charmap.c: Likewise.
52875         * locale/programs/charmap.h: Likewise.
52876         * locale/programs/ld-address.c: Likewise.
52877         * locale/programs/ld-collate.c: Likewise.
52878         * locale/programs/ld-ctype.c: Likewise.
52879         * locale/programs/ld-identification.c: Likewise.
52880         * locale/programs/ld-measurement.c: Likewise.
52881         * locale/programs/ld-messages.c: Likewise.
52882         * locale/programs/ld-monetary.c: Likewise.
52883         * locale/programs/ld-name.c: Likewise.
52884         * locale/programs/ld-numeric.c: Likewise.
52885         * locale/programs/ld-paper.c: Likewise.
52886         * locale/programs/ld-telephone.c: Likewise.
52887         * locale/programs/ld-time.c: Likewise.
52888         * locale/programs/linereader.c: Likewise.
52889         * locale/programs/locale.c: Likewise.
52890         * locale/programs/locarchive.c: Likewise.
52891         * locale/programs/locfile.h: Likewise.
52892         * locale/programs/repertoire.c: Likewise.
52893         * locale/programs/simple-hash.c: Likewise.
52894         * locale/programs/simple-hash.h: Likewise.
52895         * malloc/memusage.c: Likewise.
52896         * malloc/memusagestat.c: Likewise.
52897         * nis/nis_defaults.c: Likewise.
52898         * nis/nis_hash.c: Likewise.
52899         * nis/nis_print.c: Likewise.
52900         * nis/nis_xdr.c: Likewise.
52901         * nscd/connections.c: Likewise.
52902         * nscd/hstcache.c: Likewise.
52903         * nscd/nscd_gethst_r.c: Likewise.
52904         * nscd/nscd_getserv_r.c: Likewise.
52905         * nscd/nscd_helper.c: Likewise.
52906         * nscd/servicescache.c: Likewise.
52907         * nss/makedb.c: Likewise.
52908         * nss/nss_db/db-XXX.c: Likewise.
52909         * nss/nss_db/db-initgroups.c: Likewise.
52910         * nss/nss_db/db-netgrp.c: Likewise.
52911         * nss/nss_files/files-network.c: Likewise.
52912         * nss/nss_files/files-parse.c: Likewise.
52913         * posix/bug-regex5.c: Likewise.
52914         * posix/fnmatch_loop.c: Likewise.
52915         * posix/regcomp.c: Likewise.
52916         * posix/regexec.c: Likewise.
52917         * posix/tst-rfc3484-2.c: Likewise.
52918         * posix/tst-rfc3484-3.c: Likewise.
52919         * posix/tst-rfc3484.c: Likewise.
52920         * resolv/nss_dns/dns-canon.c: Likewise.
52921         * resolv/nss_dns/dns-network.c: Likewise.
52922         * resolv/res_init.c: Likewise.
52923         * resolv/res_mkquery.c: Likewise.
52924         * resolv/tst-aton.c: Likewise.
52925         * stdlib/cxa_atexit.c: Likewise.
52926         * stdlib/cxa_finalize.c: Likewise.
52927         * stdlib/gen-fpioconst.c: Likewise.
52928         * stdlib/strtol_l.c: Likewise.
52929         * string/tst-endian.c: Likewise.
52930         * sunrpc/auth_des.c: Likewise.
52931         * sunrpc/clnt_udp.c: Likewise.
52932         * sunrpc/rtime.c: Likewise.
52933         * sunrpc/svcauth_des.c: Likewise.
52934         * sunrpc/xdr.c: Likewise.
52935         * sunrpc/xdr_intXX_t.c: Likewise.
52936         * sunrpc/xdr_rec.c: Likewise.
52937         * sysdeps/generic/ldconfig.h: Likewise.
52938         * sysdeps/generic/ldsodefs.h: Likewise.
52939         * sysdeps/generic/memusage.h: Likewise.
52940         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52941         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
52942         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
52943         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52944         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52945         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52946         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52947         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52948         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52949         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52950         * sysdeps/posix/getaddrinfo.c: Likewise.
52951         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52952         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52953         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52954         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52955         * sysdeps/powerpc/test-gettimebase.c: Likewise.
52956         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
52957         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
52958         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
52959         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
52960         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
52961         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
52962         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
52963         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
52964         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
52965         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
52966         * sysdeps/x86_64/dl-tls.h: Likewise.
52967         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
52968         * time/alt_digit.c: Likewise.
52969         * time/era.c: Likewise.
52970         * wcsmbs/tst-c16c32-1.c: Likewise.
52972 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52974         * math/libm-test.inc (struct test_sincos_data): New type.
52975         (RUN_TEST_LOOP_sincos): New macro.
52976         (sincos_test_data): New variable.
52977         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
52979 2013-05-16  Richard Henderson  <rth@redhat.com>
52981         * math/atest-exp2.c (LIMB64): New macro.
52982         (CONSTSZ): New macro.
52983         (mp_exp1, mp_exp_m1, mp_log2): New variables.
52984         (hexdig): Move ...
52985         (print_mpn_fp): ... to function scope.
52986         (read_mpn_hex): Remove.
52987         (get_log2): Remove.
52988         (exp2_mpn): Use mp_log2.
52989         (main): Use mp_exp1.
52991 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52993         * math/libm-test.inc: Remove comment about not testing "inexact"
52994         exceptions.
52995         (INEXACT_EXCEPTION): New macro.
52996         (NO_INEXACT_EXCEPTION): Likewise.
52997         (INVALID_EXCEPTION_OK): Update value.
52998         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52999         (OVERFLOW_EXCEPTION_OK): Likewise.
53000         (UNDERFLOW_EXCEPTION_OK): Likewise.
53001         (IGNORE_ZERO_INF_SIGN): Likewise.
53002         (ERRNO_UNCHANGED): Likewise.
53003         (ERRNO_EDOM): Likewise.
53004         (ERRNO_ERANGE): Likewise.
53005         (test_exceptions): Handle testing "inexact" exceptions.
53006         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
53007         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
53008         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
53009         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
53010         INEXACT_EXCEPTION.
53011         (rint_towardzero_test_data): Likewise.
53012         (rint_downward_test_data): Likewise.
53013         (rint_upward_test_data): Likewise.
53015         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
53016         with OVERFLOW_EXCEPTION.
53017         (exp10_test_data): Likewise.
53018         (exp2_test_data): Likewise.
53019         (expm1_test_data): Likewise.
53020         (lgamma_test_data): Likewise.
53021         (pow_test_data): Likewise.
53022         (tgamma_test_data): Likewise.
53023         (yn_test_data): Remove duplicate test of overflow.
53025         * math/libm-test.inc (struct test_cc_c_data): New type.
53026         (RUN_TEST_LOOP_cc_c): New macro.
53027         (cpow_test_data): New variable.
53028         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
53030         * math/libm-test.inc (struct test_f_L_data): New type.
53031         (RUN_TEST_LOOP_f_L): New macro.
53032         (llrint_test_data): New variable.
53033         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
53034         (llrint_tonearest_test_data): New variable.
53035         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
53036         (llrint_towardzero_test_data): New variable.
53037         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
53038         (llrint_downward_test_data): New variable.
53039         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
53040         (llrint_upward_test_data): New variable.
53041         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
53042         (llround_test_data): New variable.
53043         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
53045 2013-05-13  Peter Collingbourne  <pcc@google.com>
53047         * math/atest-exp2.c (get_log2): Remove const attribute.
53049 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
53051         * math/libm-test.inc (struct test_f_l_data): New type.
53052         (RUN_TEST_LOOP_f_l): New macro.
53053         (lrint_test_data): New variable.
53054         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
53055         (lrint_tonearest_test_data): New variable.
53056         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
53057         (lrint_towardzero_test_data): New variable.
53058         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
53059         (lrint_downward_test_data): New variable.
53060         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
53061         (lrint_upward_test_data): New variable.
53062         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
53063         (lround_test_data): New variable.
53064         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
53066 2013-05-15  Peter Collingbourne  <pcc@google.com>
53068         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
53069         (EXTRACT_WORDS64) Use where appropriate.
53070         (INSERT_WORDS64) Likewise.
53072         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
53073         constraints with x constraints.
53074         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
53076         * malloc/obstack.c (_obstack_compat): Add initializer.
53078 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
53080         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
53081         si_trapno and add si_addr_lsb to _sifields.sigfault.
53082         (si_trapno): Remove macro.
53083         (si_addr_lsb): Define new macro.
53084         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
53086 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
53088         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
53089         instead of TEST_f_l.
53090         (llrint_test_tonearest): Likewise.
53091         (llrint_test_towardzero): Likewise.
53092         (llrint_test_downward): Likewise.
53093         (llrint_test_upward): Likewise.
53094         (llround_test): Likewise.
53096         * math/libm-test.inc (struct test_f_i_data): Add comment.
53097         (RUN_TEST_LOOP_f_b): New macro.
53098         (RUN_TEST_LOOP_f_b_tg): Likewise.
53099         (finite_test_data): New variable.
53100         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
53101         (isfinite_test_data): New variable.
53102         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53103         (isinf_test_data): New variable.
53104         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53105         (isnan_test_data): New variable.
53106         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53107         (isnormal_test_data): New variable.
53108         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53109         (issignaling_test_data): New variable.
53110         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53111         (signbit_test_data): New variable.
53112         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
53114         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
53115         with INVALID_EXCEPTION.
53116         (acosh_test_data): Likewise.
53117         (asin_test_data): Likewise.
53118         (atanh_test_data): Likewise.
53119         (fmod_test_data): Likewise.
53120         (log_test_data): Likewise.
53121         (log10_test_data): Likewise.
53122         (log2_test_data): Likewise.
53123         (pow_test_data): Likewise.
53124         (sqrt_test_data): Likewise.
53125         (y0_test_data): Likewise.
53126         (y1_test_data): Likewise.
53127         (yn_test_data): Likewise.
53129         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
53130         function contents.
53132         * math/libm-test.inc (struct test_ff_i_data): New type.
53133         (RUN_TEST_LOOP_ff_i_tg): New macro.
53134         (isgreater_test_data): New variable.
53135         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53136         (isgreaterequal_test_data): New variable.
53137         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53138         (isless_test_data): New variable.
53139         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53140         (islessequal_test_data): New variable.
53141         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53142         (islessgreater_test_data): New variable.
53143         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53144         (isunordered_test_data): New variable.
53145         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
53147 2013-05-14  David S. Miller  <davem@davemloft.net>
53149         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53151 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
53153         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
53155         * math/libm-test.inc (struct test_fF_f1_data): Change type of
53156         extra_test to int.
53157         (struct test_f_i_data): Change type of max_ulp to int.
53159         * math/libm-test.inc (test_ffI_f1_data): New type.
53160         (RUN_TEST_LOOP_ffI_f1): New macro.
53161         (remquo_test_data): New variable.
53162         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
53164         * setjmp/tst-setjmp-fp.c: New file.
53165         * setjmp/Makefile (tests): Add tst-setjmp-fp.
53166         (link-libm): New variable.
53167         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
53169         * math/libm-test.inc (struct test_f_i_data): New type.
53170         (RUN_TEST_LOOP_f_i): New macro.
53171         (RUN_TEST_LOOP_f_i_tg): Likewise.
53172         (fpclassify_test_data): New variable.
53173         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
53174         (ilogb_test_data): New variable.
53175         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
53177         * math/libm-test.inc (scalbln_test): Correct function name in END
53178         call.
53180         * math/libm-test.inc (struct test_f_f1_data): Add comment.
53181         (RUN_TEST_LOOP_fI_f1): New macro.
53182         (frexp_test_data): New variable.
53183         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
53185         * math/libm-test.inc (struct test_fF_f1_data): New type.
53186         (RUN_TEST_LOOP_fF_f1): New macro.
53187         (modf_test_data): New variable.
53188         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
53190         * math/libm-test.inc (struct test_f_f1_data): New type.
53191         (RUN_TEST_LOOP_f_f1): New macro.
53192         (gamma_test_data): New variable.
53193         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
53194         (lgamma_test_data): New variable.
53195         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
53197 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
53199         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
53200         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
53201         (main): Comment "tls" pseudo-hwcap.
53203 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
53205         * math/libm-test.inc (struct test_fl_f_data): New type.
53206         (RUN_TEST_LOOP_fl_f): New variable.
53207         (scalbln_test_data): New variable.
53208         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
53210         * math/libm-test.inc (struct test_fi_f_data): New type.
53211         (RUN_TEST_LOOP_fi_f): New macro.
53212         (ldexp_test_data): New variable.
53213         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
53214         (scalbn_test_data): New variable.
53215         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
53217         * math/libm-test.inc (struct test_c_f_data): New type.
53218         (RUN_TEST_LOOP_c_f): New macro.
53219         (cabs_test_data): New variable.
53220         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
53221         (carg_test_data): New variable.
53222         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
53223         (cimag_test_data): New variable.
53224         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
53225         (creal_test_data): New variable.
53226         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
53228         * math/libm-test.inc (struct test_if_f_data): New type.
53229         (RUN_TEST_LOOP_if_f): New macro.
53230         (jn_test_data): New variable.
53231         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
53232         (yn_test_data): New variable.
53233         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
53235         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
53237 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53239         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
53240         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
53242 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
53244         * benchtests/Makefile (CPPFLAGS-nonlib): Add
53245         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
53246         (bench-deps): Add bench-timing.h.
53247         * benchtests-bench-skeleton.c: Include bench-timing.h.
53248         (main): Use TIMING_* macros instead of clock_gettime.
53249         * benchtests/bench-timing.h: New file.
53251         [BZ #14582]
53252         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
53253         Renamed from _LIB_VERSION.
53254         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
53256 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
53258         * math/libm-test.inc (struct test_fff_f_data): New type.
53259         (RUN_TEST_LOOP_fff_f): New macro.
53260         (fma_test_data): New variable.
53261         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
53262         (fma_towardzero_test_data): New variable.
53263         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
53264         (fma_downward_test_data): New variable.
53265         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
53266         (fma_upward_test_data): New variable.
53267         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
53269         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
53270         (struct test_c_c_data): New type.
53271         (RUN_TEST_LOOP_c_c): New macro.
53272         (cacos_test_data): New variable.
53273         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
53274         (cacosh_test_data): New variable.
53275         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
53276         (casin_test_data): New variable.
53277         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
53278         (casinh_test_data): New variable.
53279         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
53280         (catan_test_data): New variable.
53281         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
53282         (catanh_test_data): New variable.
53283         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
53284         (ccos_test_data): New variable.
53285         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
53286         (ccosh_test_data): New variable.
53287         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
53288         (cexp_test_data): New variable.
53289         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
53290         (clog_test_data): New variable.
53291         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
53292         (clog10_test_data): New variable.
53293         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
53294         (conj_test_data): New variable.
53295         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
53296         (cproj_test_data): New variable.
53297         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
53298         (csin_test_data): New variable.
53299         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
53300         (csinh_test_data): New variable.
53301         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
53302         (csqrt_test_data): New variable.
53303         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
53304         (ctan_test_data): New variable.
53305         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
53306         (ctan_tonearest_test_data): New variable.
53307         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
53308         (ctan_towardzero_test_data): New variable.
53309         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
53310         (ctan_downward_test_data): New variable.
53311         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
53312         (ctan_upward_test_data): New variable.
53313         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
53314         (ctanh_test_data): New variable.
53315         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
53316         (ctanh_tonearest_test_data): New variable.
53317         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
53318         (ctanh_towardzero_test_data): New variable.
53319         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
53320         (ctanh_downward_test_data): New variable.
53321         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
53322         (ctanh_upward_test_data): New variable.
53323         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
53324         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
53325         of BUILD_COMPLEX.
53327         * math/libm-test.inc (struct test_ff_f_data): New type.
53328         (struct test_ff_f_data_nexttoward): Likewise.
53329         (RUN_TEST_LOOP_2_f): New macro.
53330         (RUN_TEST_LOOP_ff_f): Likewise.
53331         (atan2_test_data): New variable.
53332         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
53333         (copysign_test_data): New variable.
53334         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
53335         (fdim_test_data): New variable.
53336         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
53337         (fmax_test_data): New variable.
53338         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
53339         (fmin_test_data): New variable.
53340         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
53341         (fmod_test_data): New variable.
53342         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
53343         (hypot_test_data): New variable.
53344         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
53345         (nextafter_test_data): New variable.
53346         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
53347         (nexttoward_test_data): New variable.
53348         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
53349         (pow_test_data): New variable.
53350         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
53351         (pow_tonearest_test_data): New variable.
53352         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
53353         (pow_towardzero_test_data): New variable.
53354         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
53355         (pow_downward_test_data): New variable.
53356         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
53357         (pow_upward_test_data): New variable.
53358         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
53359         (remainder_test_data): New variable.
53360         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
53361         (scalb_test_data): New variable.
53362         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
53363         * sysdeps/i386/fpu/libm-test-ulps: Update.
53365 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
53367         * math/libm-test.inc (fma_test): Use max_value instead of local
53368         variable fltmax.
53369         (nextafter_test): Likewise.
53371         * math/libm-test.inc (acos_towardzero_test_data): New variable.
53372         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53373         (acos_downward_test_data): New variable.
53374         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53375         (acos_upward_test_data): New variable.
53376         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53377         (acosh_test_data): New variable.
53378         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
53379         (asin_test_data): New variable.
53380         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
53381         (asin_tonearest_test_data): New variable.
53382         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53383         (asin_towardzero_test_data): New variable.
53384         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53385         (asin_downward_test_data): New variable.
53386         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53387         (asin_upward_test_data): New variable.
53388         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53389         (asinh_test_data): New variable.
53390         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
53391         (atan_test_data): New variable.
53392         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
53393         (atanh_test_data): New variable.
53394         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
53395         (cbrt_test_data): New variable.
53396         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
53397         (ceil_test_data): New variable.
53398         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
53399         (cos_test_data): New variable.
53400         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
53401         (cos_tonearest_test_data): New variable.
53402         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53403         (cos_towardzero_test_data): New variable.
53404         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53405         (cos_downward_test_data): New variable.
53406         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53407         (cos_upward_test_data): New variable.
53408         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53409         (cosh_test_data): New variable.
53410         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
53411         (cosh_tonearest_test_data): New variable.
53412         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53413         (cosh_towardzero_test_data): New variable.
53414         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53415         (cosh_downward_test_data): New variable.
53416         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53417         (cosh_upward_test_data): New variable.
53418         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53419         (erf_test_data): New variable.
53420         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
53421         (erfc_test_data): New variable.
53422         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
53423         (exp_test_data): New variable.
53424         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
53425         (exp_tonearest_test_data): New variable.
53426         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53427         (exp_towardzero_test_data): New variable.
53428         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53429         (exp_downward_test_data): New variable.
53430         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53431         (exp_upward_test_data): New variable.
53432         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53433         (exp10_test_data): New variable.
53434         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
53435         (exp2_test_data): New variable.
53436         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
53437         (expm1_test_data): New variable.
53438         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
53439         (fabs_test_data): New variable.
53440         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
53441         (floor_test_data): New variable.
53442         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
53443         (j0_test_data): New variable.
53444         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
53445         (j1_test_data): New variable.
53446         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
53447         (log_test_data): New variable.
53448         (log_test): Run tests with RUN_TEST_LOOP_f_f.
53449         (log10_test_data): New variable.
53450         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
53451         (log1p_test_data): New variable.
53452         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
53453         (log2_test_data): New variable.
53454         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
53455         (logb_test_data): New variable.
53456         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
53457         (logb_downward_test_data): New variable.
53458         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53459         (nearbyint_test_data): New variable.
53460         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
53461         (rint_test_data): New variable.
53462         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
53463         (rint_tonearest_test_data): New variable.
53464         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53465         (rint_towardzero_test_data): New variable.
53466         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53467         (rint_downward_test_data): New variable.
53468         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53469         (rint_upward_test_data): New variable.
53470         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53471         (round_test_data): New variable.
53472         (round_test): Run tests with RUN_TEST_LOOP_f_f.
53473         (sin_test_data): New variable.
53474         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
53475         (sin_tonearest_test_data): New variable.
53476         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53477         (sin_towardzero_test_data): New variable.
53478         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53479         (sin_downward_test_data): New variable.
53480         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53481         (sin_upward_test_data): New variable.
53482         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53483         (sinh_test_data): New variable.
53484         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
53485         (sinh_tonearest_test_data): New variable.
53486         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53487         (sinh_towardzero_test_data): New variable.
53488         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53489         (sinh_downward_test_data): New variable.
53490         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53491         (sinh_upward_test_data): New variable.
53492         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53493         (sqrt_test_data): New variable.
53494         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
53495         (tan_test_data): New variable.
53496         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
53497         (tan_tonearest_test_data): New variable.
53498         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53499         (tan_towardzero_test_data): New variable.
53500         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
53501         (tan_downward_test_data): New variable.
53502         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
53503         (tan_upward_test_data): New variable.
53504         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
53505         (tanh_test_data): New variable.
53506         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
53507         (tgamma_test_data): New variable.
53508         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
53509         (trunc_test_data): New variable.
53510         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
53511         (y0_test_data): New variable.
53512         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
53513         (y1_test_data): New variable.
53514         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
53515         (significand_test_data): New variable.
53516         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
53518 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
53520         [BZ #12387]
53521         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
53523 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
53525         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
53527 2013-05-10  Andreas Jaeger  <aj@suse.de>
53529         [BZ #15448]
53530         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
53531         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
53533 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
53535         * math/gen-libm-test.pl (adjust_arg): New function.
53536         (special_functions): Handle generating output in both functions
53537         and arrays.
53538         (parse_args): Likewise.
53539         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
53540         $in_func argument to parse_args.
53541         * math/libm-test.inc (struct test_f_f_data): New type.
53542         (IF_ROUND_INIT_): New macro.
53543         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
53544         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
53545         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
53546         (IF_ROUND_INIT_FE_UPWARD): Likewise.
53547         (ROUND_RESTORE_): Likewise.
53548         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
53549         (ROUND_RESTORE_FE_TONEAREST): Likewise.
53550         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
53551         (ROUND_RESTORE_FE_UPWARD): Likewise.
53552         (RUN_TEST_LOOP_f_f): New macro.
53553         (acos_test_data): New variable.
53554         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
53555         (acos_tonearest_test_data): New variable.
53556         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53558 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53560         * benchtests/bench-skeleton.c (startup): Fix coding style.
53562 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
53564         [BZ #6809]
53565         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
53566         negative infinity argument.
53567         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
53568         negative infinity argument.
53569         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
53570         negative infinity argument.
53571         * math/libm-test.inc (tgamma_test): Expect errno to be set for
53572         domain errors.
53574 2013-05-10  Florian Weimer  <fweimer@redhat.com>
53576         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
53577         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
53578         * iconv/iconv_prog.c (main): Likewise.
53579         * locale/programs/charmap-dir.c (charmap_readdir)
53580         (fopen_uncompressed): Likewise.
53581         * locale/programs/locfile.c (siblings_uncached)
53582         (write_locale_data): Use lstat64 instead of lstat.
53583         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
53584         stat.
53586 2013-05-10  Andreas Jaeger  <aj@suse.de>
53588         [BZ #15395]
53589         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
53590         localization.
53591         Include <locale.h>.
53593 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
53595         * elf/dl-close.c (_dl_close_worker): Add comments.
53597 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
53599         [BZ #15359]
53600         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
53601         high part of pi/2.
53602         (__ieee754_rem_pio2l): Update comments.
53604         [BZ #15429]
53605         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
53606         high part of pi/2.
53607         (__ieee754_rem_pio2l): Update comments.
53609         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
53610         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
53612         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
53613         M_PI_4l.
53615         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
53616         (M_PI_34_LOG10El): Likewise.
53617         (M_PI2_LOG10El): Likewise.
53618         (M_PI4_LOG10El): Likewise.
53619         (M_PI_LOG10El): Likewise.
53621 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53623         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53625 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
53627         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
53628         (MINUS_ZERO_INIT): Likewise.
53629         (PLUS_INFTY_INIT): Likewise.
53630         (MINUS_INFTY_INIT): Likewise.
53631         (QNAN_VALUE_INIT): Likewise.
53632         (MAX_VALUE_INIT): Likewise.
53633         (MIN_VALUE_INIT): Likewise.
53634         (MIN_SUBNORM_VALUE_INIT): Likewise.
53635         (plus_zero): Initialize with PLUS_ZERO_INIT.
53636         (minus_zero): Initialize with MINUS_ZERO_INIT.
53637         (plus_infty): Initialize with PLUS_INFTY_INIT.
53638         (minus_infty): Initialize with MINUS_INFTY_INIT.
53639         (qnan_value): Initialize with QNAN_VALUE_INIT.
53640         (max_value): Initialize with MAX_VALUE_INIT.
53641         (min_value): Initialize with MIN_VALUE_INIT.
53642         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
53644         * math/libm-test.inc (RUN_TEST_if_f): New macro.
53645         (jn_test): Use TEST_if_f instead of TEST_ff_f.
53646         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
53647         (yn_test): Use TEST_if_f instead of TEST_ff_f.
53649         * math/libm-test.inc (RUN_TEST_f_f): New macro.
53650         (RUN_TEST_2_f): Likewise.
53651         (RUN_TEST_ff_f): Likewise.
53652         (RUN_TEST_fi_f): Likewise.
53653         (RUN_TEST_fl_f): Likewise.
53654         (RUN_TEST_fff_f): Likewise.
53655         (RUN_TEST_c_f): Likewise.
53656         (RUN_TEST_f_f1): Likewise.
53657         (RUN_TEST_fF_f1): Likewise.
53658         (RUN_TEST_fI_f1): Likewise.
53659         (RUN_TEST_ffI_f1): Likewise.
53660         (RUN_TEST_c_c): Likewise.
53661         (RUN_TEST_cc_c): Likewise.
53662         (RUN_TEST_f_i): Likewise.
53663         (RUN_TEST_f_i_tg): Likewise.
53664         (RUN_TEST_ff_i_tg): Likewise.
53665         (RUN_TEST_f_b): Likewise.
53666         (RUN_TEST_f_b_tg): Likewise.
53667         (RUN_TEST_f_l): Likewise.
53668         (RUN_TEST_f_L): Likewise.
53669         (RUN_TEST_sincos): Likewise.
53670         * math/gen-libm-test.pl (new_test): Take new argument to indicate
53671         whether to show exceptions.  Do not include ");\n" in return
53672         value.
53673         (special_functions): Output call to RUN_TEST_sincos instead of
53674         check_float calls.  Update calls to new_test.
53675         (parse_args): Output call to single RUN_TEST_* macro instead of
53676         check_* calls and other assignments.  Update calls to new_test.
53678         [BZ #2546]
53679         [BZ #2560]
53680         [BZ #5159]
53681         [BZ #15426]
53682         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
53683         input to result for tgamma overflow.
53684         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
53685         (gamma_coeff): New variable.
53686         (NCOEFF): New macro.
53687         (gamma_positive): New function.
53688         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
53689         underflow here.  Use gamma_positive instead of exp (lgamma) for
53690         other arguments.
53691         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
53692         (gamma_coeff): New variable.
53693         (NCOEFF): New macro.
53694         (gammaf_positive): New function.
53695         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
53696         underflow here.  Use gamma_positive instead of exp (lgamma) for
53697         other arguments.
53698         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
53699         (gamma_coeff): New variable.
53700         (NCOEFF): New macro.
53701         (gammal_positive): New function.
53702         (__ieee754_gammal_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-128ibm/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, overflow and
53710         underflow here.  Handle NaN the same as positive infinity.  Remove
53711         check x < 0xffffffff for negative integers.  Use gamma_positive
53712         instead of exp (lgamma) for other arguments.
53713         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
53714         (gamma_coeff): New variable.
53715         (NCOEFF): New macro.
53716         (gammal_positive): New function.
53717         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
53718         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
53719         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
53720         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
53721         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
53722         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
53723         * sysdeps/generic/math_private.h (__gamma_productf): New
53724         prototype.
53725         (__gamma_product): Likewise.
53726         (__gamma_productl): Likewise.
53727         * math/Makefile (libm-calls): Add gamma_product.
53728         * math/libm-test.inc (tgamma_test): Add more tests.
53729         * sysdeps/i386/fpu/libm-test-ulps: Update.
53730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53732 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
53734         * benchtests/bench-skeleton.c (main): Preheat CPU.
53736 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
53738         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
53740 2013-05-07  Roland McGrath  <roland@hack.frob.com>
53742         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
53743         and _dl_skip_args_internal.
53745 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
53747         * manual/message.texi (Message Translation): Talk about users.
53748         Message to key mapping impacts design.
53750 2013-05-06  Roland McGrath  <roland@hack.frob.com>
53752         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
53754         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
53756         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
53757         * sysdeps/wordsize-64/glob64.c: ... here.
53759         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
53760         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
53761         New macros.
53763         * debug/getlogin_r_chk.c: Moved to ...
53764         * login/getlogin_r_chk.c: ... here.
53765         * debug/Makefile (routines): Move getlogin_r_chk to ...
53766         * login/Makefile (routines): ... here.
53767         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
53768         * login/Versions (libc: GLIBC_2.4): ... here.
53770         * io/poll.c (__poll): Renamed from poll.
53771         Add libc_hidden_def.
53772         (poll): Define as weak alias.
53774         * debug/ptsname_r_chk.c: Moved to ...
53775         * login/ptsname_r_chk.c: ... here.
53776         * debug/Makefile (routines): Move ptsname_r_chk to ...
53777         * login/Makefile (routines): ... here.
53778         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
53779         * login/Versions (libc: GLIBC_2.4): ... here.
53781         * posix/getlogin.c: Moved to ...
53782         * login/getlogin.c: ... here.
53783         * posix/getlogin_r.c: Moved to ...
53784         * login/getlogin_r.c: ... here.
53785         * posix/getlogin_r.c: Moved to ...
53786         * login/getlogin_r.c: ... here.
53787         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
53788         * login/Makefile (routines): ... here.
53789         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
53790         * login/Versions (libc: GLIBC_2.0): ... here.
53792         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
53793         (setrlimit): Define as weak alias.
53795         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
53796         Call __ names for open, ftruncate, and close.
53797         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
53798         (truncate): Define as weak alias.
53800 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
53802         * math/gen-libm-test.pl (parse_args): Initialize x before each
53803         test of frexp, modf and remquo.
53805         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
53806         test signgam value.
53808 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53810         [BZ #15418]
53811         [BZ #15419]
53812         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
53813         internal tests.
53814         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53816 2013-05-06  Roland McGrath  <roland@hack.frob.com>
53818         * elf/dl-writev.h: New file.
53819         * elf/dl-misc.c: Include it.
53820         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
53821         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
53823 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
53825         * math/libm-test.inc (noXFails): Remove variable.
53826         (noXPasses): Likewise.
53827         (BUILD_COMPLEX_INT): Remove macro.
53828         (print_screen): Remove xfail argument.
53829         (print_screen_max_error): Likewise.
53830         (update_stats): Likewise.
53831         (print_max_error): Likewise.  Update calls to other affected
53832         functions.
53833         (print_complex_max_error): Likewise.
53834         (test_single_exception): Update calls to print_screen.
53835         (test_single_errno): Likewise.
53836         (check_float_internal): Remove xfail argument.  Update calls to
53837         other affected functions.
53838         (check_float): Likewise.
53839         (check_complex): Likewise.
53840         (check_int): Likewise.
53841         (check_long): Likewise.
53842         (check_bool): Likewise.
53843         (check_longlong): Likewise.
53844         (main): Don't print noXFails and noXPasses.
53845         * math/gen-libm-test.pl (top level): Don't mention expected
53846         failure handling in comment.
53847         (new_test): Don't handle expected failures.
53848         (parse_args): Don't mention expected failure handling in comment.
53849         (generate_testfile): Don't handle expected failures.
53850         (parse_ulps): Likewise.
53851         (print_ulps_file): Likewise.
53852         (get_failure): Remove function.
53853         (output_test): Don't handle expected failures.
53854         * make/README.libm-test: Don't mention expected failure handling.
53856         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
53857         (minus_zero): Likewise.
53858         (plus_infty): Likewise.
53859         (minus_infty): Likewise.
53860         (qnan_value): Likewise.
53861         (max_value): Likewise.
53862         (min_value): Likewise.
53863         (min_subnorm_value): Likewise.
53864         (initialize): Do not initialize those variables dynamically.
53866 2013-05-03  Roland McGrath  <roland@hack.frob.com>
53868         * io/open.c (__open_2): Moved to ...
53869         * io/open_2.c: ... this new file.
53870         * io/open64.c (__open64_2): Moved to ...
53871         * io/open64_2.c: ... this new file.
53872         * io/openat.c (__openat_2): Moved to ...
53873         * io/openat_2.c: ... this new file.
53874         * io/openat64.c (__openat64_2): Moved to ...
53875         * io/openat64_2.c: ... this new file.
53876         * io/Makefile (routines): Add them.
53877         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
53878         * sysdeps/unix/sysv/linux/open_2.c: File removed.
53879         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
53880         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
53881         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
53882         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
53883         (__openat64): Add hidden_ver.
53884         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
53885         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
53887         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
53888         Separately conditionalize setting of GLRO(dl_sysinfo) so
53889         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
53890         as well, but the actual setting is only under [NEED_DL_SYSINFO].
53892 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53894         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
53895         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
53896         definition.
53897         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
53898         * sysdeps/unix/sysv/linux/powerpc/init-first.c
53899         (_libc_vdso_platform_setup): Add __vdso_time initialization.
53900         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
53901         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
53903 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
53905         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
53906         test signgam value.
53908         * math/libm-test.inc (hypot_test): Do not use
53909         IGNORE_ZERO_INF_SIGN.
53911 2013-05-03  Andreas Jaeger  <aj@suse.de>
53913         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
53914         Linux 3.9.
53915         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
53916         (PF_MAX): Adjust for VSOCK change.
53918 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53922 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
53924         [BZ #15264]
53925         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
53926         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
53927         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
53929 2013-05-02  David S. Miller  <davem@davemloft.net>
53931         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53933 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
53935         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
53937 2013-05-01  Roland McGrath  <roland@hack.frob.com>
53939         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
53941 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
53943         [BZ #14952]
53944         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
53945         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
53946         Use __attribute__ ((__gnu_inline__)).
53947         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
53948         Don't use __attribute__ ((__gnu_inline__)).
53950 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
53952         [BZ #15423]
53953         * math/s_catan.c (__catan): Handle small real or imaginary part of
53954         input specially to avoid spurious underflow.
53955         * math/s_catanf.c (__catanf): Likewise.
53956         * math/s_catanh.c (__catanh): Likewise.
53957         * math/s_catanhf.c (__catanhf): Likewise.
53958         * math/s_catanhl.c (__catanhl): Likewise.
53959         * math/s_catanl.c (__catanl): Likewise.
53960         * math/libm-test.inc (catan_test): Add more tests.
53961         (catanh_test): Likewise.
53962         * sysdeps/i386/fpu/libm-test-ulps: Update.
53963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53965 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53967         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53969 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
53971         [BZ #15416]
53972         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
53973         accurately for denominator in atan2.
53974         * math/s_catanf.c (__catanf): Likewise.
53975         * math/s_catanh.c (__catanh): Likewise.
53976         * math/s_catanhf.c (__catanhf): Likewise.
53977         * math/s_catanhl.c (__catanhl): Likewise.
53978         * math/s_catanl.c (__catanl): Likewise.
53979         * math/libm-test.inc (catan_test): Add more tests.
53980         (catanh_test): Likewise.
53981         * sysdeps/i386/fpu/libm-test-ulps: Update.
53982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53984 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53986         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
53988         * benchtests/Makefile (bench): Remove slow benchmarks.
53989         * benchtests/atan-inputs: Add slow benchmark inputs.
53990         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
53991         (BENCH_FUNC): Accept variant offset.
53992         (VARIANT): Define.
53993         * benchtests/bench-skeleton.c (main): Run benchmark for each
53994         variant.
53995         * benchtests/cos-inputs: Add slow benchmark inputs.
53996         * benchtests/exp-inputs: Likewise.
53997         * benchtests/pow-inputs: Likewise.
53998         * benchtests/sin-inputs: Likewise.
53999         * benchtests/slowatan-inputs: Remove.
54000         * benchtests/slowatan.c: Remove.
54001         * benchtests/slowcos-inputs: Remove.
54002         * benchtests/slowcos.c: Remove.
54003         * benchtests/slowexp-inputs: Remove.
54004         * benchtests/slowexp.c: Remove.
54005         * benchtests/slowpow-inputs: Remove.
54006         * benchtests/slowpow.c: Remove.
54007         * benchtests/slowsin-inputs: Remove.
54008         * benchtests/slowsin.c: Remove.
54009         * benchtests/slowtan-inputs: Remove.
54010         * benchtests/slowtan.c: Remove.
54011         * benchtests/tan-inputs: Add slow benchmark inputs.
54012         * scripts/bench.pl: Parse comments and directives.
54014         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
54015         in CPPFLAGS.
54016         ($(objpfx)bench-%.c): Remove *-ITER.
54017         * benchtests/bench-modf.c: Remove definition of ITER.
54018         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
54019         (main): Loop for DURATION seconds instead of fixed number of
54020         iterations.
54021         * scripts/bench.pl: Don't expect iterations in parameters.
54023 2013-04-29  Roland McGrath  <roland@hack.frob.com>
54025         * io/fchdir.c (__fchdir): Renamed from fchdir.
54026         (fchdir): Define as weak alias.
54028 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
54030         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
54031         (ERRNO_EDOM): Likewise.
54032         (ERRNO_ERANGE): Likewise.
54033         (noErrnoTests): New variable.
54034         (init_max_error): Set errno to 0.
54035         (test_single_errno): New function.
54036         (test_errno): Likewise.
54037         (check_float_internal): Call test_errno.  Set errno to 0.
54038         (check_complex): Refer to errno tests in comment.
54039         (check_int): Call test_errno.  Set errno to 0.
54040         (check_long): Likewise.
54041         (check_bool): Likewise.
54042         (check_longlong): Likewise.
54043         (cos_test): Use ERRNO_* flags for errno tests instead of
54044         check_int.
54045         (expm1_test): Likewise.
54046         (fmod_test): Likewise.
54047         (ilogb_test): Likewise.
54048         (lgamma_test): Likewise.
54049         (pow_test): Likewise.
54050         (remainder_test): Likewise.
54051         (sin_test): Likewise.
54052         (tan_test): Likewise.
54053         (yn_test): Likewise.
54054         (initialize): Set errno to 0.
54055         (main): Print number of errno tests.
54056         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
54058 2013-04-29  Andreas Jaeger  <aj@suse.de>
54060         [BZ #15084]
54061         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
54062         and RES_USEVC.
54064         [BZ #15085]
54065         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
54066         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
54067         unimplemented.
54069         [BZ #15380]
54070         * stdlib/random.c (__initstate): Return NULL if
54071         __initstate fails.
54073         [BZ #15086]
54074         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
54075         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
54076         RES_SNGLKUPREOP.
54078 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54080         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54082 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
54084         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
54085         of individual tests.
54086         (casin_test): Likewise.
54087         (casinh_test): Likewise.
54089 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
54091         [BZ #15409]
54092         * math/s_catan.c (__catan): Handle arguments with large real or
54093         imaginary part separately without squaring.
54094         * math/s_catanf.c (__catanf): Likewise.
54095         * math/s_catanh.c (__catanh): Likewise.
54096         * math/s_catanhf.c (__catanhf): Likewise.
54097         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
54098         and redefine.
54099         (__catanhl): Handle arguments with large real or imaginary part
54100         separately without squaring.
54101         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
54102         and redefine.
54103         (__catanl): Handle arguments with large real or imaginary part
54104         separately without squaring.
54105         * math/libm-test.inc (catan_test): Add more tests.
54106         (catanh_test): Likewise.
54107         * sysdeps/i386/fpu/libm-test-ulps: Update.
54108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54110 2013-04-27  Andreas Jaeger  <aj@suse.de>
54112         [BZ #15007]
54113         * stdlib/stdlib.h: Update guards for qecvt.
54114         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
54115         <stdlib.h>.
54117 2013-04-27  Allan McRae  <allan@archlinux.org>
54119         * sysdeps/i386/fpu/libm-test-ulps: Update.
54121 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
54123         [BZ #15406]
54124         * math/s_catan.c: Include <float.h>.
54125         (__catan): Ensure underflow exception occurs for underflowed
54126         result.
54127         * math/s_catanf.c: Include <float.h>.
54128         (__catanf): Ensure underflow exception occurs for underflowed
54129         result.
54130         * math/s_catanh.c: Include <float.h>.
54131         (__catanh): Ensure underflow exception occurs for underflowed
54132         result.
54133         * math/s_catanhf.c: Include <float.h>.
54134         (__catanhf): Ensure underflow exception occurs for underflowed
54135         result.
54136         * math/s_catanhl.c: Include <float.h>.
54137         (__catanhl): Ensure underflow exception occurs for underflowed
54138         result.
54139         * math/s_catanl.c: Include <float.h>.
54140         (__catanl): Ensure underflow exception occurs for underflowed
54141         result.
54142         * math/libm-test.inc (catan_test): Add more tests.
54143         (catanh_test): Likewise.
54145         [BZ #15405]
54146         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
54147         underflowed result.
54148         * math/s_ccoshf.c (__ccoshf): Likewise.
54149         * math/s_ccoshl.c (__ccoshl): Likewise.
54150         * math/s_csin.c (__csin): Likewise.
54151         * math/s_csinf.c (__csinf): Likewise.
54152         * math/s_csinh.c (__csinh): Likewise.
54153         * math/s_csinhf.c (__csinhf): Likewise.
54154         * math/s_csinhl.c (__csinhl): Likewise.
54155         * math/s_csinl.c (__csinl): Likewise.
54156         * math/libm-test.inc (ccos_test): Add more tests.
54157         (ccosh_test): Likewise.
54158         (csin_test): Likewise.
54159         (csinh_test): Likewise.
54161 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54163         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
54164         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
54165         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
54166         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
54167         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
54168         powerpc/power5+/fpu folders.
54169         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
54172 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
54174         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54176 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
54178         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
54179         additions to variable.
54180         [$(config-machine) = x86_64] (modules-names): Likewise.
54181         ($(objpfx)tst-audit3): Remove dependency.
54182         ($(objpfx)tst-audit3.out): Likewise.
54183         ($(objpfx)tst-audit4): Likewise.
54184         ($(objpfx)tst-audit4.out): Likewise.
54185         ($(objpfx)tst-audit5): Likewise.
54186         ($(objpfx)tst-audit5.out): Likewise.
54187         ($(objpfx)tst-audit6): Likewise.
54188         ($(objpfx)tst-audit6.out): Likewise.
54189         ($(objpfx)tst-audit7): Likewise.
54190         ($(objpfx)tst-audit7.out): Likewise.
54191         (tst-audit3-ENV): Remove variable.
54192         (tst-audit4-ENV): Likewise.
54193         (tst-audit5-ENV): Likewise.
54194         (tst-audit6-ENV): Likewise.
54195         (tst-audit7-ENV): Likewise.
54196         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
54197         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
54198         addition to variable.
54199         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
54200         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
54201         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
54202         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
54203         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
54204         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
54205         tst-audit3, tst-audit4 and tst-audit5.
54206         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
54207         tst-audit6 and tst-audit7.
54208         [$(subdir) = elf] (modules-names): Add audit modules for those
54209         tests.
54210         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
54211         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
54212         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
54213         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
54214         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
54215         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
54216         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
54217         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
54218         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
54219         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
54220         [$(subdir) = elf] (tst-audit3-ENV): New variable.
54221         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
54222         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
54223         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
54224         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
54225         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
54226         Likewise.
54227         [$(subdir) = elf && $(config-cflags-avx) = yes]
54228         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
54229         [$(subdir) = elf && $(config-cflags-avx) = yes]
54230         (CFLAGS-tst-auditmod4a.c): Likewise.
54231         [$(subdir) = elf && $(config-cflags-avx) = yes]
54232         (CFLAGS-tst-auditmod4b.c): Likewise.
54233         [$(subdir) = elf && $(config-cflags-avx) = yes]
54234         (CFLAGS-tst-auditmod6b.c): Likewise.
54235         [$(subdir) = elf && $(config-cflags-avx) = yes]
54236         (CFLAGS-tst-auditmod6c.c): Likewise.
54237         [$(subdir) = elf && $(config-cflags-avx) = yes]
54238         (CFLAGS-tst-auditmod7b.c): Likewise.
54239         * elf/tst-audit3.c: Move to ...
54240         * sysdeps/x86_64/tst-audit3.c: ... here.
54241         * elf/tst-audit4.c: Move to ...
54242         * sysdeps/x86_64/tst-audit4.c: ... here.
54243         * elf/tst-audit5.c: Move to ...
54244         * sysdeps/x86_64/tst-audit5.c: ... here.
54245         * elf/tst-audit6.c: Move to ...
54246         * sysdeps/x86_64/tst-audit6.c: ... here.
54247         * elf/tst-audit7.c: Move to ...
54248         * sysdeps/x86_64/tst-audit7.c: ... here.
54249         * elf/tst-auditmod3a.c: Move to ...
54250         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
54251         * elf/tst-auditmod3b.c: Move to ...
54252         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
54253         * elf/tst-auditmod4a.c: Move to ...
54254         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
54255         * elf/tst-auditmod4b.c: Move to ...
54256         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
54257         * elf/tst-auditmod5a.c: Move to ...
54258         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
54259         * elf/tst-auditmod5b.c: Move to ...
54260         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
54261         * elf/tst-auditmod6a.c: Move to ...
54262         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
54263         * elf/tst-auditmod6b.c: Move to ...
54264         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
54265         * elf/tst-auditmod6c.c: Move to ...
54266         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
54267         * elf/tst-auditmod7a.c: Move to ...
54268         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
54269         * elf/tst-auditmod7b.c: Move to ...
54270         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
54272 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
54274         [BZ #15366]
54275         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
54276         define unconditionally.
54277         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
54278         define unconditionally.
54279         (INT8_C, INT16_C, etc.): Likewise.
54281 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
54283         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
54284         __ehdr_start with hidden visibility.
54286         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
54288 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
54290         * math/libm-test.inc (cos_test): Use accurate hex constants.
54291         (sincost_test): Likewise.
54293 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
54295         * math/libm-test.inc (catan_test): Add more tests.
54296         (catanh_test): Likewise.
54298         * math/s_catanf.c (__catanf): Use suffixed floating-point
54299         constants.
54300         * math/s_catanhf.c (__catanhf): Likewise.
54301         * math/s_catanhl.c (__catanhl): Likewise.
54302         * math/s_catanl.c (__catanl): Likewise.
54304         [BZ #15394]
54305         * math/s_catan.c (__catan): Calculate imaginary part of result
54306         with log1p not log unless computing log of number close to 0.
54307         * math/s_catanf.c (__catanf): Likewise.
54308         * math/s_catanl.c (__catanl): Likewise.
54309         * math/s_catanh.c (__catanh): Calculate real part of result with
54310         log1p not log unless computing log of number close to 0.
54311         * math/s_catanhf.c (__catanhf): Likewise.
54312         * math/s_catanhl.c (__catanhl): Likewise.
54313         * math/libm-test.inc (catan_test): Add more tests.
54314         (catanh_test): Likewise.
54315         * sysdeps/i386/fpu/libm-test-ulps: Update.
54316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54318 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
54320         * benchtests/Makefile: Mention files in which fast and slow
54321         paths of math functions are implemented.
54323 2013-04-23  Roland McGrath  <roland@hack.frob.com>
54325         * sysdeps/posix/timespec_get.c: New file.
54327 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54329         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
54330         POWER.
54331         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
54332         for POWER.
54333         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
54334         powerpc/power5/fpu folders.
54335         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
54336         * benchtests/Makefile: Add modf testcase.
54337         * benchtests/bench-modf.c: New file: Benchmark test for mo
54339 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
54341         [BZ #14888]
54342         * time/Makefile (tests): Add tst-strptime-whitespace.
54343         * time/strptime_l.c (get_number): Use ISSPACE.
54344         (__strptime_internal): Likewise.
54345         * time/tst-strptime-whitespace.c: New test case.
54347 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
54349         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
54350         member.
54351         (_nss_files_init): Set it here.
54353 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
54355         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
54356         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
54357         unsigned.
54359 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
54361         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
54363 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
54365         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
54366         size just once.
54368 2013-04-21  David S. Miller  <davem@davemloft.net>
54370         * po/ru.po: Update Russion translation from translation project.
54372 2013-04-17  Adam Conrad  <adconrad@0c3.net>
54374         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
54375         and setfsgid.
54377 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
54379         * configure.in: Remove i386 configure warning. Remove i386 case.
54380         * configure: Regenerate.
54381         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
54382         Add example to error message.
54383         * sysdeps/i386/configure: Regenerate.
54385 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54387         * benchtests/Makefile (bench): Add cos, tan, slowcos and
54388         slowtan.
54389         * benchtests/cos-inputs: New file.
54390         * benchtests/slowcos-inputs: New file.
54391         * benchtests/slowcos.c: New file.
54392         * benchtests/slowtan-inputs: New file.
54393         * benchtests/slowtan.c: New file.
54394         * benchtests/tan-inputs: New file.
54396 2013-04-16  Roland McGrath  <roland@hack.frob.com>
54398         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
54399         considered kosher.
54401 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54403         * benchtests/Makefile: Include cppflags-iterator.mk to add
54404         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
54406         * Makefile.in (bench-clean): New target.
54407         * benchtests/Makefile (bench-clean): Likewise.
54409 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
54411         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
54413 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
54415         * stdio-common/tstdiomisc.c: Fix coding-style violation.
54417 2013-04-15  Andreas Schwab  <schwab@suse.de>
54419         * nscd/grpcache.c (cache_addgr): Properly check for short write.
54420         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54421         * nscd/pwdcache.c (cache_addpw): Likewise.
54422         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
54423         more than recsize.
54425 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54427         * benchtests/Makefile (bench): Write all output to
54428         bench-out.tmp together.
54430 2013-04-15  Andreas Schwab  <schwab@suse.de>
54432         * nscd/nscd.c (main): Don't fork again after closing files.
54434 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54436         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
54438         * benchtests/Rules (bench-deps): Collect dependencies into a
54439         single variable.  Add Makefile to dependencies.
54440         ($(objpfx)bench-%.c): Depend on bench-deps.
54442 2013-04-12  Roland McGrath  <roland@hack.frob.com>
54443             Xavier Roche  <roche+kml2@exalead.com>
54445         [BZ #15361]
54446         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
54447         just that it's a file descriptor.
54448         * manual/llio.texi (Synchronizing AIO Operations): Update description
54449         for EBADF error from aio_fsync.
54451 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54453         * Rules (bench): Move target definition...
54454         * benchtests/Makefile: ... here.
54456 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
54458         * math/libm-test.inc (cos_test): Fix PI/2 test.
54459         (sincos_test): Likewise.
54460         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
54461         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
54463 2013-04-11  Andreas Schwab  <schwab@suse.de>
54465         [BZ #13988]
54466         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
54467         accept exponent character only when digits were seen.
54468         * stdio-common/Makefile (tests): Add bug26.
54469         * stdio-common/bug26.c: New file.
54471         [BZ #14293]
54472         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
54473         non-freeable.
54475 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54477         * Makeconfig (rtld-prefix): Define built linker prefix.
54478         * Rules (run-bench): Use it.
54479         * math/Makefile (run-regen-ulps): Likewise.
54481         * Rules (bench): Remove eval.
54483 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54484             Roland McGrath  <roland@hack.frob.com>
54485             Ondrej Bilka  <neleai@seznam.cz>
54487         [BZ #15346]
54488         * time/getdate.c: Include ctype.h and alloca.h.
54489         (__getdate_r): Trim leading and trailing spaces of input.
54490         * time/tst-getdate.c (tests): Add tests with leading and
54491         trailing spaces.
54493 2013-04-08  Roland McGrath  <roland@hack.frob.com>
54495         [BZ #14280]
54496         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
54497         when computing value.
54499 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54501         * math/README.libm-test (How can I generate "libm-test-ulps"?):
54502         Use testrun.sh to run libm tests.
54504         [BZ #15309]
54505         * elf/dl-open.c (dl_open_worker): memset all of seen array.
54507 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
54509         [BZ #15264]
54510         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
54512 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54514         * Makefile.in (regen-ulps): New target.
54515         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
54516         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
54517         [ifneq (no,$(PERL)] (regen-ulps): New target.
54518         [ifeq (no,$(PERL)] (regen-ulps): New target.
54519         * math/libm-test.inc (ulps_file_name): Define.
54520         (output_dir): New variable.
54521         (options): Add "output-dir" option.
54522         (parse_opt): Handle 'o' case.
54523         (main): If output_dir is non-NULL use it as a prefix
54524         otherwise use "".
54525         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
54527 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54529         [BZ #10060, #10062]
54530         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
54531         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
54532         fail configure if __sync_val_compare_and_swap is not inlined.
54533         * sysdeps/i386/configure: Regenerate.
54534         * configure.in: Build for i686 when configured for i386.
54535         * configure: Regenerate.
54536         * README: Remove i386 reference.
54538 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54540         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
54541         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54543 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
54545         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
54546         (lmsnanval): New variables.
54547         (F): Add conversion tests.
54548         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
54549         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
54551         * stdio-common/tstdiomisc.c (F): Properly collect individual
54552         tests' results.
54554         [BZ #14686, #15336]
54555         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
54556         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
54557         Instead, use input NaN values or generate a qNaN by arithmetic
54558         operation.  Also fix bugs to comply with the standard.
54559         * math/libm-test.inc (remainder_test): Add more tests.
54561         [BZ #15335, #15342]
54562         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
54563         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
54564         input NaN values or generate a qNaN by arithmetic operation.
54566         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
54567         unreachable code.
54569         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
54570         definitions.
54572 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
54574         [BZ #14478]
54575         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
54576         underflowed result.
54577         * math/s_cexpf.c (__cexpf): Likewise.
54578         * math/s_cexpl.c (__cexpl): Likewise.
54579         * math/libm-test.inc (cexp_test): Add more tests.
54581 2013-04-03  Andreas Schwab  <schwab@suse.de>
54583         [BZ #15330]
54584         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
54585         order arrays from heap if bigger than alloca cutoff.
54587 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
54589         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
54590         (SNAN_TESTS_double): Refer to GCC PR56831.
54591         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
54592         GCC PR56828.
54594 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54596         * Rules (bench): Move bench.out after the run is complete.
54598         * Rules (bench): Echo currently running benchmark.
54600         * benchtests/Makefile (bench): Add atan and slowatan.
54601         * benchtests/atan-inputs: New file.
54602         * benchtests/slowatan-inputs: New file.
54603         * benchtests/slowatan.c: New file.
54605         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
54606         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
54607         its value.
54609         [BZ #15305]
54610         * sysdeps/unix/sysv/linux/kernel-features.h
54611         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
54612         __ASSUME_XFS_RESTRICTED_CHOWN.
54613         * sysdeps/unix/sysv/linux/pathconf.c
54614         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
54615         Save and restore errno.
54617 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
54619         [BZ #15327]
54620         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
54621         arguments using __kernel_casinh.
54622         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
54623         arguments using __kernel_casinhf.
54624         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
54625         arguments using __kernel_casinhl.
54626         * math/libm-test.inc (cacosh_test): Add more tests.
54627         * sysdeps/i386/fpu/libm-test-ulps: Update.
54628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54630 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54632         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
54633         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
54635         * bench/Makefile (bench): Add sin and slowsin.
54636         * benchtests/sin-inputs: New file.
54637         * benchtests/slowsin-inputs: New file.
54638         * benchtests/slowsin.c: New file.
54640         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
54641         (bench): Add slowexp and slowpow.
54642         (exp-ITER): Increase iterations.
54643         (pow-ITER): Likewise.
54644         * benchtests/exp-inputs: Change input.
54645         * benchtests/pow-inputs: Likewise.
54646         * benchtests/slowexp-inputs: New file.
54647         * benchtests/slowexp.c: New file.
54648         * benchtests/slowpow-inputs: New file.
54649         * benchtests/slowpow.c: New file.
54651 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54653         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
54654         instructions.
54655         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
54656         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
54657         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
54658         * benchtests/Makefile: Add rint benchtest.
54659         * benchtests/rint-inputs: Input for rint benchtest.
54661 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
54663         * Versions.def (libm): Add GLIBC_2.18.
54664         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
54665         hidden libm prototypes.
54666         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
54667         * math/Makefile (libm-calls): Add s_issignaling.
54668         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
54669         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
54670         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
54671         declaration.
54672         * math/math.h [__USE_GNU] (issignaling): New macro.
54673         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
54674         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
54675         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
54676         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
54677         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
54678         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
54679         * manual/arith.texi (issignaling): New section.
54680         * manual/libm-err-tab.pl (@all_functions): Update comment.
54681         * math/gen-libm-test.pl (parse_args): Apply special handling for
54682         issignaling.
54683         * math/libm-test.inc (print_float, issignaling_test): New
54684         functions.
54685         (check_float_internal): Add issignaling checks.
54686         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
54687         default definition.
54688         * sysdeps/powerpc/math-tests.h: New file.
54689         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
54690         tests.
54691         * math/test-snan.c (TEST_FUNC): Likewise.
54693 2013-03-30  David S. Miller  <davem@davemloft.net>
54695         * po/de.po: Update from translation team.
54697 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
54699         [BZ #10357]
54700         * math/k_casinh.c (__kernel_casinh): Handle arguments with
54701         imaginary part less than 1.0 and real part less than 0.5
54702         specially.
54703         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54704         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54705         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
54706         (cacos_test): Add more tests.
54707         (casin_test): Likewise.
54708         (casinh_test): Likewise.
54709         * sysdeps/i386/fpu/libm-test-ulps: Update.
54710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54712 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54714         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
54715         ONE with its value.
54717         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
54718         (__pow_mp): Replace ONE and MONE with their values.
54719         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54720         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
54721         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54722         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
54723         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
54724         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54726         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
54728         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
54729         (__pow_mp): Replace ZERO and MZERO with their values.
54730         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
54731         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54732         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54733         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
54734         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
54735         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
54736         (__sqr): Likewise.
54738         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
54740         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
54742 2013-03-28  Roland McGrath  <roland@hack.frob.com>
54744         * include/stdlib.h [!SHARED] (__call_tls_dtors):
54745         Declare with __attribute__ ((weak)).
54746         * stdlib/exit.c (__libc_atexit) [!SHARED]:
54747         Call __call_tls_dtors only if it's not NULL.
54749 2013-03-28  Roland McGrath  <roland@hack.frob.com>
54751         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
54752         didn't do it already, then set _dl_phdr and _dl_phnum based on the
54753         magic __ehdr_start linker symbol if it's defined.
54754         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
54755         them up here if it was already done.
54757         * elf/dl-support.c (_dl_phdr): Make pointer to const.
54758         (_dl_aux_init): Use const in cast when setting it.
54759         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
54760         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
54761         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
54763         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
54764         Declare them here.
54765         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
54766         * csu/libc-tls.c: Nor here.
54767         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
54769         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
54770         (__libc_message): Never call vsyslog.
54772 2013-03-28  Alan Modra  <amodra@gmail.com>
54774         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
54775         Define as empty.
54776         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
54777         Likewise.
54779 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54781         [BZ #15214]
54782         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
54783         underflow.
54784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54786 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54788         [BZ #15304]
54789         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
54790         Don't add gid passed as argument.
54792         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
54794 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
54796         [BZ #15307]
54797         * math/k_casinh.c (__kernel_casinh): Handle arguments with
54798         imaginary part between 1.0 and 1.5 and real part less than 0.5
54799         specially.
54800         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54801         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54802         * math/libm-test.inc (cacos_test): Add more tests.
54803         (casin_test): Likewise.
54804         (casinh_test): Likewise.
54805         * sysdeps/i386/fpu/libm-test-ulps: Update.
54806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54808 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54810         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
54811         constants.
54812         (norm): Likewise.
54813         (denorm): Likewise.
54814         (__dbl_mp): Likewise.
54815         (add_magnitudes): Likewise.
54816         (sub_magnitudes): Likewise.
54817         (__add): Likewise.
54818         (__sub): Likewise.
54819         (__mul): Likewise.
54820         (__sqr): Likewise.
54821         (__inv): Likewise.
54822         (__dvd): Likewise.
54824         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
54825         commented code.
54826         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
54827         (__dubcos): Likewise.
54828         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
54829         (__ieee754_acos): Likewise.
54830         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
54831         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
54832         (__exp1): Likewise.
54833         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54834         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54835         (log1): Likewise.
54836         (my_log2): Likewise.
54837         (checkint): Likewise.
54838         * sysdeps/ieee754/dbl-64/e_remainder.c
54839         (__ieee754_remainder): Likewise.
54840         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
54841         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
54842         (bsloww): Likewise.
54843         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54845         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
54846         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
54847         MANTISSA_STORE_T to store computations on mantissa.  Use
54848         macros for rounding and division.
54849         (denorm): Likewise.
54850         (__dbl_mp): Likewise.
54851         (add_magnitudes): Likewise.
54852         (sub_magnitudes): Likewise.
54853         (__mul): Likewise.
54854         (__sqr): Likewise.
54855         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
54856         powers of two in terms of TWOPOW macro.
54857         (mp_no): Make type of mantissa as MANTISSA_T.
54858         [!RADIXI]: Define RADIXI.
54859         [!TWO52]: Define TWO52.
54860         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
54862 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54864         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
54865         llroundl symbol when building for PPC32.
54867 2013-03-24  Mark H Weaver  <mhw@netris.org>
54869         * manual/arith.texi (Normalization Functions): Fix prototypes for
54870         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
54872 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54874         [BZ #13889]
54875         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
54876         high value to check if expl overflow.
54877         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
54878         to check for underflow and overflow.
54879         * math/libm-test.inc: Add exp test.
54881 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
54883         [BZ #11120]
54884         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
54885         with NOT_IN_libc.
54887 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54889         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
54890         symbol.
54892 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
54894         * math/gen-libm-test.pl (parse_args, special_functions): Properly
54895         wrap blocks consisting of several statements.
54897         * sysdeps/generic/math-tests.h: New file.
54898         * sysdeps/i386/fpu/math-tests.h: Likewise.
54899         * math/test-snan.c: Include it.
54900         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
54902 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
54904         [BZ #15285]
54905         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
54906         (__ieee754_j0l): Do not improve calculations using cos of twice
54907         input for inputs above LDBL_MAX / 2.0L.
54908         (__ieee754_y0l): Likewise.
54909         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
54910         (__ieee754_j1l): Do not improve calculations using cos of twice
54911         input for inputs above LDBL_MAX / 2.0L.
54912         (__ieee754_y1l): Likewise.
54913         * math/libm-test.inc (j0_test): Add another test.
54914         (j1_test): Likewise.
54915         (y0_test): Likewise.
54916         (y1_test): Likewise.
54917         * sysdeps/i386/fpu/libm-test-ulps: Update.
54919 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54921         * Rules ($(objpfx)bench-%.c): Include code from a C source
54922         file.
54924 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
54926         [BZ #15287]
54927         * math/k_casinh.c (__kernel_casinh): Handle arguments with
54928         imaginary part 1.0 and real part less than 0.5 specially.
54929         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54930         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54931         * math/libm-test.inc (cacos_test): Add more tests.
54932         (casin_test): Likewise.
54933         (casinh_test): Likewise.
54934         * sysdeps/i386/fpu/libm-test-ulps: Update.
54935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54937 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54939         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
54940         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
54942 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
54944         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
54945         * config.make.in (config-cflags-sse4): Remove variable.
54946         (config-cflags-avx): Likewise.
54947         (config-cflags-sse2avx): Likewise.
54948         (config-cflags-novzeroupper): Likewise.
54949         (config-asflags-i686): Likewise.
54950         (have-mfma4): Likewise.
54951         (have-as-vis3): Likewise.
54952         (MIG): Likewise.
54953         * configure.in (MIG): Do not AC_SUBST.
54954         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
54955         (libc_cv_cc_sse4): Do not AC_SUBST.
54956         (libc_cv_cc_avx): Likewise.
54957         (libc_cv_cc_sse2avx): Likewise.
54958         (libc_cv_cc_novzeroupper): Likewise.
54959         (libc_cv_cc_fma4): Likewise.
54960         (libc_cv_as_i686): Likewise.
54961         (libc_cv_sparc_as_vis3): Likewise.
54962         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
54963         LIBC_CONFIG_VAR.
54964         (config-asflags-i686): Likewise.
54965         (config-cflags-avx): Likewise.
54966         (config-cflags-sse2avx): Likewise.
54967         (have-mfma4): Likewise.
54968         (config-cflags-novzeroupper): Likewise.
54969         * sysdeps/mach/configure.in (MIG): Likewise.
54970         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
54971         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
54972         LIBC_CONFIG_VAR.
54973         (config-cflags-avx): Likewise.
54974         (config-cflags-sse2avx): Likewise.
54975         (have-mfma4): Likewise.
54976         (config-cflags-novzeroupper): Likewise.
54977         * configure: Regenerated.
54978         * sysdeps/i386/configure: Likewise.
54979         * sysdeps/mach/configure: Likewise.
54980         * sysdeps/sparc/configure: Likewise.
54981         * sysdeps/x86_64/configure: Likewise.
54983 2013-03-20  Roland McGrath  <roland@hack.frob.com>
54985         [BZ #14812]
54986         * locale/programs/localedef.c (options): Put N_ translation marker
54987         on argument names, not just descriptions.
54989 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54991         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
54993 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
54995         [BZ #14176]
54996         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
54998 2013-03-19  Roland McGrath  <roland@hack.frob.com>
55000         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
55001         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
55002         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
55003         [!BEFORE_ABORT] (before_abort): New function.
55004         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
55005         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
55006         (writev_for_fatal): New function.
55007         (WRITEV_FOR_FATAL): New macro; call that.
55008         (backtrace_and_maps): New function.
55009         (BEFORE_ABORT): New macro; call that.
55010         (struct str_list): Type removed.
55011         (__libc_message, __libc_fatal): Functions removed.
55012         Include <sysdeps/posix/libc_fatal.c> instead.
55014 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
55016         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
55017         constants.
55018         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
55019         double constants.
55021 2013-03-19  Andreas Schwab  <schwab@suse.de>
55023         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
55024         * sysdeps/gnu/configure: Regenerate.
55026         * configure.in: Substitute libc_cv_rtlddir.
55027         * configure: Regenerate.
55028         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
55029         * Makeconfig (rtlddir, inst_rtlddir): New variables.
55030         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
55031         * elf/Makefile (install-others, CFLAGS-interp.c)
55032         (ldso_install, common-ldd-rewrite): Likewise.
55033         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
55034         $(inst_slibdir)/$(rtld-installed-name).
55035         * scripts/rellns-sh: Add -p option.
55036         * Makerules (make-shlib-link): Use rellns-sh to get relative name
55037         for source.
55039 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55041         * manual/nptl.texi: Renamed to ...
55042         * manual/threads.texi: ... this.
55043         * manual/Makefile (chapters): Update.
55045 2013-03-18  Roland McGrath  <roland@hack.frob.com>
55047         [BZ #14812]
55048         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
55049         on argument names, not just descriptions.
55050         * malloc/memusagestat.c (options): Likewise.
55051         * nss/getent.c (options): Likewise.
55053 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
55055         [BZ #14812]
55056         * iconv/iconv_prog.c (options): Put N_ translation marker
55057         on argument names, not just descriptions.
55058         * iconv/iconvconfig.c (options): Likewise.
55060 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
55062         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
55063         implementation which is faster on all x86_64 architectures.
55064         Tested on AMD, Intel Nehalem, SNB, IVB.
55065         * sysdeps/x86_64/strnlen.S: Likewise.
55067         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55068         Remove all multiarch strlen and strnlen versions.
55069         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
55070         Remove strlen and strnlen related parts.
55072         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
55073         Inline strlen part.
55074         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
55076         * sysdeps/x86_64/multiarch/strlen.S: Remove.
55077         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
55078         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
55079         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
55080         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
55081         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
55083 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
55085         * manual/memory.texi (Malloc Tunable Parameters):
55086         Sort parameters alphabetically. Add comments for missing entries.
55088 2013-03-17  David S. Miller  <davem@davemloft.net>
55090         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55092 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
55094         [BZ #15283]
55095         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
55096         for arguments at most half maximum finite value.
55097         * math/libm-test.inc (j0_test): Add more tests.
55098         (j1_test): Likewise.
55099         (y0_test): Likewise.
55100         (y1_test): Likewise.
55101         * sysdeps/i386/fpu/libm-test-ulps: Update.
55102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55104         [BZ #14155]
55105         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
55106         1 / x and functions P and Q for arguments above 0x1p256L.
55107         (__ieee754_y0l): Likewise.
55108         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
55109         (__ieee754_y1l): Likewise.
55110         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
55111         (j1_test): Likewise.
55112         (y0_test): Likewise.
55113         (y1_test): Likewise.
55115 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
55117         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
55118         variable.
55120 2013-03-15  Roland McGrath  <roland@hack.frob.com>
55122         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
55123         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
55124         zero since it's initialized to EXEC_PAGESIZE.
55126         * sysdeps/unix/sysv/linux/ldsodefs.h
55127         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
55128         * sysdeps/generic/ldsodefs.h: ... here.
55130 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
55132         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
55134         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
55135         math/test-snan.c.
55136         * math/test-snan.c: Renamed from
55137         sysdeps/powerpc/fpu/test-powerpc-snan.c.
55138         * math/Makefile (tests): Add test-snan.
55139         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
55140         test-powerpc-snan.
55142         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
55143         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
55144         functions.
55145         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
55146         __builtin_nan family of functions.
55147         * math/libm-test.inc (initialize): Initialize qnan_value with
55148         __builtin_nan family of functions.
55149         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
55150         Remove variables.
55151         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
55152         Remove functions.
55153         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
55154         storage class.  Initialize qNaN_var and sNaN_var with
55155         __builtin_nan and __builtin_nans families of functions,
55156         respectively.
55158         * math/libm-test.inc (acosh_test): Also test with qNaN input.
55159         (sqrt_test): Remove duplicate test with qNaN input.
55160         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
55161         (round_test, signbit_test, significand_test): Note missing +/-Inf
55162         as well as qNaN tests.
55164         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
55165         qNaN_var.  Fix a few strings, too.
55166         * math/libm-test.inc (nan_value): Rename to qnan_value.
55167         * math/gen-libm-test.pl (%beautify): Adjust to that.
55168         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
55169         * math/test-misc.c (main): Likewise.
55170         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
55171         to __qnan_bytes, and __qnan_union, respectively.
55172         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
55173         Likewise.
55174         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
55175         and lqnanval, respectively.
55176         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
55177         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
55178         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
55179         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
55181         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
55182         * math/test-misc.c (main) [__x86_64__]: Enable test for long
55183         doubles.
55185         * math/test-misc.c (main): Fix copy'n'pastos.
55186         * misc/tst-efgcvt.c (special): Likewise.
55188         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
55189         Remove declarations.
55191 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55193         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
55194         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
55195         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
55196         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
55198 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55200         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
55201         macro to return vdso values correctly in IFUNC implementations.
55202         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
55203         Optimization by using IFUNC.
55205 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55206             Richard Henderson  <rth@redhat.com>
55207             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55209         * Makefile.in (bench): New target.
55210         * NEWS: Mention the benchmark framework.
55211         * Rules (bench): Likewise.
55212         (binaries-bench): Generate binaries for functions to
55213         benchmark.
55214         * benchtests/Makefile: New makefile for benchmark tests.
55215         * benchtests/bench-skeleton.c: New skeleton file for benchmark
55216         programs.
55217         * benchtests/exp-inputs: New input file for EXP function.
55218         * benchtests/pow-inputs: New input file for POW function.
55219         * scripts/bench.pl: New script to generate source files for
55220         benchmark programs.
55222 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55224         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
55225         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
55226         computations on mantissa.  Use macros for rounding and
55227         division.
55228         (denorm): Likewise.
55229         (__dbl_mp): Likewise.
55230         (add_magnitudes): Likewise.
55231         (sub_magnitudes): Likewise.
55232         (__mul): Likewise.
55233         (__sqr): Likewise.
55234         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
55235         powers of two in terms of TWOPOW macro.
55236         (mp_no): Make type of mantissa as MANTISSA_T.
55237         [!RADIXI]: Define RADIXI.
55238         [!TWO52]: Define TWO52.
55239         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
55241         * manual/nptl.texi (cindex): Modify threads to pthreads.
55243 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
55245         * sysdeps/x86_64/preconfigure: Regenerated.
55247 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
55249         [BZ #14155]
55250         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
55251         0x1p28 and above.
55252         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
55253         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
55254         0x1p28 and above.
55255         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
55256         * math/libm-test.inc (j0_test): Do not allow one spurious
55257         underflow exception.
55258         (y1_test): Likewise.
55260 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55262         * manual/Makefile (chapters): Add nptl.
55263         * manual/debug.texi (Debugging Support): Add link to Threads
55264         chapter.
55265         * manual/nptl.texi: New file.
55267         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
55269 2013-03-14  Petr Baudis  <pasky@ucw.cz>
55271         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
55272         for non-NULL pointer before the memory validity test. Pointed
55273         out by Holger Brunck <holger.brunck@keymile.com>.
55275 2013-03-13  Andreas Schwab  <schwab@suse.de>
55277         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
55278         instead of .os.
55280 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
55282         * timezone/zic.c: Update from tzcode 2013b.
55284 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
55286         * manual/install.texi (Configuring and compiling):
55287         Mention i686 and i586.
55288         * INSTALL: Regenerate.
55290 2013-03-12  Roland McGrath  <roland@hack.frob.com>
55292         * sysdeps/init_array/elf-init.c: New file.
55293         * csu/elf-init.c
55294         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
55295         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
55297         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
55298         __gmon_start__ as global, but as static with a .preinit_array pointer.
55299         * sysdeps/init_array/gmon-start.c: New file.  Use that.
55300         * sysdeps/init_array/crti.S: New file, empty except for comments.
55301         * sysdeps/init_array/crtn.S: Likewise.
55303 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
55305         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
55306         definining bcopy.
55307         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55308         Remove Prefer_SSE_for_memop.
55309         * sysdeps/x86_64/multiarch/init-arch.h: Remove
55310         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
55311         HAS_PREFER_SSE_FOR_MEMOP.
55312         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
55313         memset-x86-64.
55314         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55315         Remove bzero, memset ifunc support.
55316         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
55317         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
55318         * sysdeps/x86_64/multiarch/memset.S: Likewise.
55319         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
55321 2013-03-11  Andreas Schwab  <schwab@suse.de>
55323         [BZ #15234]
55324         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
55325         by SHLIB_COMPAT.
55326         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
55327         (GLIBC_2.16): Remove pthread_atfork.
55329 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
55331         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
55332         (ptestcases.h): Likewise.
55334 2013-03-08  Roland McGrath  <roland@hack.frob.com>
55336         * Makeconfig ($(common-objpfx)config.status): Depend on
55337         sysdeps/*/preconfigure{,.in} too.
55339 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
55341         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
55342         (__free_hook): Use void * instead of __malloc_ptr_t.
55343         (__malloc_hook): Likewise.
55344         (__realloc_hook): Likewise.
55345         (__memalign_hook): Likewise.
55346         (__after_morecore_hook): Likewise.
55347         * malloc/arena.c (save_malloc_hook): Likewise.
55348         (save_free_hook): Likewise.
55349         * malloc/hooks.c (malloc_hook_ini): Likewise.
55350         (realloc_hook_ini): Likewise.
55351         (memalign_hook_ini): Likewise.
55352         * malloc/malloc.c (malloc_hook_ini): Likewise.
55353         (realloc_hook_ini): Likewise.
55354         (memalign_hook_ini): Likewise.
55355         (__free_hook): Likewise.
55356         (__malloc_hook): Likewise.
55357         (__realloc_hook): Likewise.
55358         (__memalign_hook): Likewise.
55359         (__libc_malloc): Likewise.
55360         (__libc_free): Likewise.
55361         (__libc_realloc): Likewise.
55362         (__libc_memalign): Likewise.
55363         (__libc_valloc): Likewise.
55364         (__libc_pvalloc): Likewise.
55365         (__libc_calloc): Likewise.
55366         (__posix_memalign): Likewise.
55367         * malloc/morecore.c (__sbrk): Likewise.
55368         (__default_morecore): Likewise.
55370         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
55372         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
55373         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
55374         __malloc_ptrdiff_t.
55376         * malloc/malloc.h (__malloc_size_t): Remove macro.
55377         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
55378         __malloc_size_t.
55379         (old_memalign_hook): Likewise.
55380         (old_realloc_hook): Likewise.
55381         (struct hdr): Likewise.
55382         (flood): Likewise.
55383         (mallochook): Likewise.
55384         (memalignhook): Likewise.
55385         (reallochook): Likewise.
55386         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
55387         (tr_old_realloc_hook): Likewise.
55388         (tr_old_memalign_hook): Likewise.
55389         (tr_mallochook): Likewise.
55390         (tr_reallochook): Likewise.
55391         (tr_memalignhook): Likewise.
55393 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55395         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
55396         default_ldbl_pack and using as default implementation.
55397         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
55398         implementation.
55399         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
55400         redundant definition.
55401         (ldbl_insert_mantissa): Likewise.
55402         (ldbl_canonicalize): Likewise.
55403         (ldbl_nearbyint): Likewise.
55404         (ldbl_pack): Rename to ldbl_pack_ppc.
55405         (ldbl_unpack): Rename to ldbl_unpack_ppc.
55406         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
55407         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
55409 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
55411         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
55412         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
55413         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
55414         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
55415         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
55416         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
55417         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
55418         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
55420 2013-03-07  Andreas Jaeger  <aj@suse.de>
55422         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55423         bits/mman-linux.h.
55425 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55427         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
55428         Include mpa.h and declare __MPEXP.
55429         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
55430         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
55431         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
55432         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
55433         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
55434         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
55435         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
55437         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
55438         (__slowpow): Use long double EXPL and LOGL functions to
55439         compute POW.
55440         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
55441         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
55442         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
55443         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
55444         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
55445         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
55447         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
55448         intermediate variable to calculate exponent.
55449         (__sqr): Likewise.
55450         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
55451         Likewise.
55452         (__sqr): Likewise.
55454         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
55455         [!NO__SQR]: Define __sqr.
55456         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
55457         and NO__SQR.  Remove all code except __mul and __sqr.  Include
55458         sysdeps/ieee754/dbl-64/mpa.c.
55459         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55461         [BZ #12723]
55462         * posix/Makefile (tests): Add tst-pathconf.
55463         * posix/tst-pathconf.c: New test case.
55464         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
55465         _PC_PIPE_BUF.
55466         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
55468 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
55470         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
55472 2013-03-06  Andreas Jaeger  <aj@suse.de>
55474         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
55475         definition via __MAP_ANONYMOUS.
55477         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
55478         it's not part of Linux headers.
55480         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
55481         (MAP_HUGE_MASK): Define.
55483         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55484         Define.
55485         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55486         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55487         Define.
55488         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55489         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
55490         Define.
55491         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55492         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
55493         Define.
55494         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
55496         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
55497         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
55498         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
55499         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
55500         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
55501         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
55503         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55504         Handle f2fs.
55506         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55507         Handle f2fs and efivarfs.
55509         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
55510         f2fs.
55512         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
55513         (EFIVARFS_MAGIC): Add.
55514         (F2FS_LINK_MAX): Add.
55516 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
55518         * stdio-common/vfprintf.c: Replace __builtin_expect with
55519         __glibc_unlikely.
55521 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
55523         [BZ #13550]
55524         * sysdeps/generic/bp-sym.h: Remove file.
55525         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
55526         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
55527         <bp-sym.h> and <bp-asm.h>.
55528         (__longjmp): Don't use BP_SYM.
55529         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
55530         and <bp-asm.h>.
55531         (memcpy): Don't use BP_SYM.
55532         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
55533         <bp-sym.h> and <bp-asm.h>.
55534         (memcpy): Don't use BP_SYM.
55535         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
55536         <bp-asm.h>.
55537         (memcpy): Don't use BP_SYM.
55538         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
55539         <bp-asm.h>.
55540         (memset): Don't use BP_SYM.
55541         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55542         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55543         (__bzero): Don't use BP_SYM.
55544         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55545         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55546         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
55547         <bp-sym.h> and <bp-asm.h>.
55548         (memcmp): Don't use BP_SYM.  Remove comment about bounded
55549         pointers.
55550         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
55551         <bp-sym.h> and <bp-asm.h>.
55552         (memcpy): Don't use BP_SYM.
55553         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
55554         <bp-sym.h> and <bp-asm.h>.
55555         (memset): Don't use BP_SYM.
55556         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55557         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55558         (__bzero): Don't use BP_SYM.
55559         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55560         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55561         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
55562         <bp-sym.h> and <bp-asm.h>.
55563         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55564         pointers.
55565         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
55566         <bp-sym.h> and <bp-asm.h>.
55567         (memcpy): Don't use BP_SYM.
55568         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
55569         <bp-sym.h> and <bp-asm.h>.
55570         (memset): Don't use BP_SYM.
55571         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55572         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55573         (__bzero): Don't use BP_SYM.
55574         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55575         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55576         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
55577         <bp-sym.h> and <bp-asm.h>.
55578         (__memchr): Don't use BP_SYM.
55579         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
55580         <bp-sym.h> and <bp-asm.h>.
55581         (memcmp): Don't use BP_SYM.  Remove comment about bounded
55582         pointers.
55583         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
55584         <bp-sym.h> and <bp-asm.h>.
55585         (memcpy): Don't use BP_SYM.
55586         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
55587         <bp-sym.h> and <bp-asm.h>.
55588         (__mempcpy): Don't use BP_SYM.
55589         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
55590         <bp-sym.h> and <bp-asm.h>.
55591         (__memrchr): Don't use BP_SYM.
55592         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
55593         <bp-sym.h> and <bp-asm.h>.
55594         (memset): Don't use BP_SYM.
55595         (__bzero): Likewise.
55596         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
55597         <bp-sym.h> and <bp-asm.h>.
55598         (__rawmemchr): Don't use BP_SYM.
55599         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
55600         <bp-sym.h> and <bp-asm.h>.
55601         (__STRCMP): Don't use BP_SYM.
55602         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
55603         <bp-sym.h> and <bp-asm.h>.
55604         (strchr): Don't use BP_SYM.
55605         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
55606         <bp-sym.h> and <bp-asm.h>.
55607         (__strchrnul): Don't use BP_SYM.
55608         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
55609         <bp-sym.h> and <bp-asm.h>.
55610         (strlen): Don't use BP_SYM.
55611         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
55612         <bp-sym.h> and <bp-asm.h>.
55613         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55614         pointers.
55615         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
55616         <bp-sym.h> and <bp-asm.h>.
55617         (__strnlen): Don't use BP_SYM.
55618         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
55619         <bp-sym.h> and <bp-asm.h>.
55620         (__GI__setjmp): Don't use BP_SYM.
55621         (_setjmp): Likewise.
55622         (__sigsetjmp): Likewise.
55623         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
55624         (L(start_addresses)): Don't use BP_SYM.
55625         (_start): Likewise.
55626         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
55627         <bp-asm.h>.
55628         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
55629         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
55630         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55631         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55632         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
55633         <bp-asm.h>.
55634         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
55635         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
55636         about bounded pointers.
55637         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55638         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55639         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
55640         <bp-asm.h>.
55641         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
55642         about bounded pointers.  Remove GKM FIXME comments.
55643         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55644         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
55645         <bp-asm.h>.
55646         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
55647         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
55648         Remove GKM FIXME comments.
55649         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55650         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55651         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
55652         <bp-asm.h>.
55653         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
55654         about bounded pointers.  Remove GKM FIXME comment.
55655         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
55656         and <bp-asm.h>.
55657         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55658         pointers.
55659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
55660         <bp-sym.h> and <bp-asm.h>.
55661         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
55662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
55663         <bp-sym.h> and <bp-asm.h>.
55664         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
55665         comment.
55667 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55669         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
55670         call free(NULL).
55672 2013-03-05  David S. Miller  <davem@davemloft.net>
55674         * po/es.po: Update from translation team.
55676 2013-03-05  Andreas Jaeger  <aj@suse.de>
55678         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
55679         <bits/mman-linux.h>.
55680         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
55681         is fine.
55682         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
55683         <bits/mman-linux.h> to end of file.
55684         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
55685         is fine.
55686         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
55687         <bits/mman-linux.h> to end of file.
55688         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
55689         is fine.
55690         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
55691         <bits/mman-linux.h> to end of file.
55693         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
55694         (MCL_CURRENT, MCL_FUTURE): Define here.
55696 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55698         [BZ #15232]
55699         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
55700         attribute_hidden.
55701         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
55703 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55705         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
55706         fourth parameter needed for rt_sigprocmask syscall.
55707         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
55708         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
55709         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
55710         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
55711         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
55712         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
55714 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
55716         [BZ #13550]
55717         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
55718         comment about bounded pointers.
55719         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
55720         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
55722 2013-03-04  Andreas Jaeger  <aj@suse.de>
55724         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
55725         common definitions.
55727         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
55728         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
55729         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
55730         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55731         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55732         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55734 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55736         [BZ #15055]
55737         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
55738         __ieee754_sqrl instead of __sqrl.
55740 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
55742         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
55743         * sysdeps/powerpc/fpu_control.h: ... here.
55744         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
55745         * sysdeps/powerpc/bits/fenvinline.h: ... here.
55746         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
55747         * sysdeps/powerpc/bits/mathinline.h: ... here.
55749 2013-03-01  Roland McGrath  <roland@hack.frob.com>
55751         * elf/dl-hwcaps.c (_dl_important_hwcaps):
55752         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
55753         to just [NEED_DL_SYSINFO_DSO].
55754         * elf/dl-support.c: Likewise.
55755         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
55756         * elf/rtld.c (dl_main): Likewise.
55757         * elf/setup-vdso.h (setup_vdso): Likewise.
55758         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
55759         * sysdeps/unix/sysv/linux/dl-sysdep.c
55760         (_dl_discover_osversion): Likewise.
55762 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
55764         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
55765         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
55767 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
55769         * NEWS: Mention libm performance improvements and non-x86 PI
55770         futex support.
55772         * csu/libc-start.c (__pthread_initialize_minimal): Change
55773         function arguments.
55774         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
55776 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
55778         [BZ #13550]
55779         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
55780         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
55781         <bp-sym.h> and <bp-asm.h>.
55782         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
55783         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
55784         and <bp-asm.h>.
55785         (memcpy): Don't use BP_SYM.
55786         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
55787         <bp-asm.h>.
55788         (__mpn_add_n): Don't use BP_SYM.
55789         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
55790         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
55791         and <bp-asm.h>.
55792         (__mpn_addmul_1): Don't use BP_SYM.
55793         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55794         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
55795         <bp-sym.h>.
55796         (_setjmp): Don't use BP_SYM.
55797         (__novmx_setjmp): Likewise.
55798         (__GI__setjmp): Likewise.
55799         (__vmx_setjmp): Likewise.
55800         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
55801         <bp-sym.h>.
55802         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
55803         (__bzero): Don't use BP_SYM.
55804         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55805         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55806         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
55807         <bp-sym.h> and <bp-asm.h>.
55808         (memcpy): Don't use BP_SYM.
55809         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
55810         <bp-sym.h> and <bp-asm.h>.
55811         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
55812         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
55813         <bp-sym.h> and <bp-asm.h>.
55814         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
55815         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
55816         <bp-asm.h>.
55817         (__mpn_lshift): Don't use BP_SYM.
55818         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55819         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
55820         <bp-asm.h>.
55821         (memset): Don't use BP_SYM.
55822         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55823         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55824         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
55825         <bp-asm.h>.
55826         (__mpn_mul_1): Don't use BP_SYM.
55827         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55828         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
55829         <bp-sym.h> and <bp-asm.h>.
55830         (memcmp): Don't use BP_SYM.
55831         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
55832         <bp-sym.h> and <bp-asm.h>.
55833         (memcpy): Don't use BP_SYM.
55834         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
55835         <bp-sym.h> and <bp-asm.h>.
55836         (memset): Don't use BP_SYM.
55837         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
55838         <bp-sym.h> and <bp-asm.h>.
55839         (strncmp): Don't use BP_SYM.
55840         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
55841         <bp-sym.h> and <bp-asm.h>.
55842         (memcpy): Don't use BP_SYM.
55843         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
55844         <bp-sym.h> and <bp-asm.h>.
55845         (memset): Don't use BP_SYM.
55846         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
55847         <bp-sym.h> and <bp-asm.h>.
55848         (__memchr): Don't use BP_SYM.
55849         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
55850         <bp-sym.h> and <bp-asm.h>.
55851         (memcmp): Don't use BP_SYM.
55852         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
55853         <bp-sym.h> and <bp-asm.h>.
55854         (memcpy): Don't use BP_SYM.
55855         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
55856         <bp-sym.h> and <bp-asm.h>.
55857         (__mempcpy): Don't use BP_SYM.
55858         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
55859         <bp-sym.h> and <bp-asm.h>.
55860         (__memrchr): Don't use BP_SYM.
55861         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
55862         <bp-sym.h> and <bp-asm.h>.
55863         (memset): Don't use BP_SYM.
55864         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
55865         <bp-sym.h> and <bp-asm.h>.
55866         (__rawmemchr): Don't use BP_SYM.
55867         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
55868         <bp-sym.h> and <bp-asm.h>.
55869         (__STRCMP): Don't use BP_SYM.
55870         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
55871         <bp-sym.h> and <bp-asm.h>.
55872         (strchr): Don't use BP_SYM.
55873         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
55874         <bp-sym.h> and <bp-asm.h>.
55875         (__strchrnul): Don't use BP_SYM.
55876         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
55877         <bp-sym.h> and <bp-asm.h>.
55878         (strlen): Don't use BP_SYM.
55879         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
55880         <bp-sym.h> and <bp-asm.h>.
55881         (strncmp): Don't use BP_SYM.
55882         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
55883         <bp-sym.h> and <bp-asm.h>.
55884         (__strnlen): Don't use BP_SYM.
55885         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
55886         <bp-asm.h>.
55887         (__mpn_rshift): Don't use BP_SYM.
55888         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55889         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
55890         <bp-sym.h> and <bp-asm.h>.
55891         (__sigsetjmp): Don't use BP_SYM.
55892         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
55893         (L(start_addresses)): Don't use BP_SYM.
55894         (_start): Likewise.
55895         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
55896         <bp-asm.h>.
55897         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
55898         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55899         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55900         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
55901         <bp-asm.h>.
55902         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
55903         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55904         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55905         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
55906         <bp-asm.h>.
55907         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
55908         comments.
55909         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55910         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
55911         <bp-asm.h>.
55912         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
55913         FIXME comments.
55914         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55915         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55916         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
55917         <bp-asm.h>.
55918         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
55919         comment.
55920         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
55921         and <bp-asm.h>.
55922         (strncmp): Don't use BP_SYM,
55923         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
55924         <bp-asm.h>.
55925         (__mpn_sub_n): Don't use BP_SYM.
55926         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55927         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
55928         and <bp-asm.h>.
55929         (__mpn_submul_1): Don't use BP_SYM.
55930         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
55932         <bp-sym.h> and <bp-asm.h>.
55933         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
55934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
55935         <bp-sym.h> and <bp-asm.h>.
55936         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
55937         comment.
55939 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55941         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
55942         Use ZK to minimize writes to Z.
55943         (sub_magnitudes): Simplify code a bit.
55944         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
55945         Use ZK to minimize writes to Z.
55946         (sub_magnitudes): Simplify code a bit.
55948 2013-02-27  Roland McGrath  <roland@hack.frob.com>
55950         * csu/gmon-start.c: Add special exception to license text.
55952 2013-02-27  Richard Henderson  <rth@redhat.com>
55954         * scripts/config.guess: Update from config.git.
55955         * scripts/config.sub: Likewise.
55957 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55959         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
55961         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
55963         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
55965         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
55967         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
55969 2013-02-26  Roland McGrath  <roland@hack.frob.com>
55971         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
55972         [$(build-shared = yes].
55974 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55976         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
55977         (__mul): Reduce iterations for calculating mantissa.
55979         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
55980         MPTWO.
55981         (__mpranred): Likewise.
55983         [BZ #15160]
55984         * malloc/memusagestat.c (main): Draw graphs for heap and stack
55985         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
55987 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
55989         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
55990         Define __attribute__.
55992 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55994         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
55995         unused.
55996         * posix/regex_internal.h (__attribute): Remove.
55997         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
55998         (re_string_context_at): Likewise.
55999         (bitset_not): Use __attribute__ and mark function as possibly
56000         unused.
56001         (bitset_merge): Likewise.
56002         (bitset_mask): Likewise.
56003         (re_string_char_size_at): Likewise.
56004         (re_string_wchar_at): Likewise.
56005         (re_string_elem_size_at): Likewise.
56007 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56009         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
56010         code.
56011         (cc32): Likewise.
56013         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
56014         (__acr): Likewise.
56015         (__cpy): Likewise.
56016         (norm): Likewise.
56017         (denorm): Likewise.
56018         (__dbl_mp): Likewise.
56019         (add_magnitudes): Likewise.
56020         (sub_magnitudes): Likewise.
56021         (__mul): Likewise.
56022         (__inv): Likewise.
56024         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
56025         style.
56027         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
56028         style.
56030         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
56031         code.
56033         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
56034         up changes with default code.
56035         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
56036         Likewise.
56038 2013-02-24  Allan McRae  <allan@archlinux.org>
56040         * manual/socket.texi (The Internet Namespace): Order menu items
56041         to match that in the file.
56043         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
56044         node listing of the info page menu.
56046 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
56048         [BZ #13550]
56049         * sysdeps/i386/bp-asm.h: Remove file.
56050         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
56051         (PARMS): Do not use macros from bp-asm.h.
56052         (S1): Likewise.
56053         (S2): Likewise.
56054         (SIZE): Likewise.
56055         (__mpn_add_n): Do not use BP_SYM
56056         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
56057         "bp-asm.h".
56058         (PARMS): Do not use macros from bp-asm.h.
56059         (S1): Likewise.
56060         (SIZE): Likewise.
56061         (__mpn_addmul_1): Do not use BP_SYM
56062         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
56063         "bp-asm.h".
56064         (PARMS): Do not use macros from bp-asm.h.
56065         (SIGMSK): Likewise.
56066         (_setjmp): Likewise.  Do not use BP_SYM.
56067         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
56068         "bp-asm.h".
56069         (PARMS): Do not use macros from bp-asm.h.
56070         (SIGMSK): Likewise.
56071         (setjmp): Likewise.  Do not use BP_SYM.
56072         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
56073         "bp-asm.h".
56074         (PARMS): Do not use macros from bp-asm.h.
56075         (__frexp): Do not use BP_SYM.
56076         (frexp): Likewise.
56077         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
56078         "bp-asm.h".
56079         (PARMS): Do not use macros from bp-asm.h.
56080         (__frexpf): Do not use BP_SYM.
56081         (frexpf): Likewise.
56082         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
56083         "bp-asm.h".
56084         (PARMS): Do not use macros from bp-asm.h.
56085         (__frexpl): Do not use BP_SYM.
56086         (frexpl): Likewise.
56087         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
56088         "bp-asm.h".
56089         (PARMS): Do not use macros from bp-asm.h.
56090         (__remquo): Do not use BP_SYM.
56091         (remquo): Likewise.
56092         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
56093         "bp-asm.h".
56094         (PARMS): Do not use macros from bp-asm.h.
56095         (__remquof): Do not use BP_SYM.
56096         (remquof): Likewise.
56097         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
56098         "bp-asm.h".
56099         (PARMS): Do not use macros from bp-asm.h.
56100         (__remquol): Do not use BP_SYM.
56101         (remquol): Likewise.
56102         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
56103         "bp-asm.h".
56104         (PARMS): Do not use macros from bp-asm.h.
56105         (DEST): Likewise.
56106         (SRC): Likewise.
56107         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
56108         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
56109         "bp-asm.h".
56110         (PARMS): Do not use macros from bp-asm.h.
56111         (strlen): Do not use BP_SYM.
56112         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
56113         "bp-asm.h".
56114         (PARMS): Do not use macros from bp-asm.h.
56115         (S1): Likewise.
56116         (S2): Likewise.
56117         (SIZE): Likewise.
56118         (__mpn_add_n): Do not use BP_SYM.
56119         * sysdeps/i386/i586/addmul_1.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         (SIZE): Likewise.
56124         (__mpn_addmul_1): Do not use BP_SYM.
56125         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
56126         weak_alias.
56127         (bzero): Likewise.
56128         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
56129         "bp-asm.h".
56130         (PARMS): Do not use macros from bp-asm.h.
56131         (S): Likewise.
56132         (SIZE): Likewise.
56133         (__mpn_lshift): Do not use BP_SYM.
56134         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
56135         "bp-asm.h".
56136         (PARMS): Do not use macros from bp-asm.h.
56137         (DEST): Likewise.
56138         (SRC): Likewise.
56139         (LEN): Likewise.
56140         (memcpy): Likewise.  Do not use BP_SYM.
56141         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
56142         libc_hidden_def and weak_alias.
56143         (mempcpy): Do not use BP_SYM in weak_alias.
56144         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
56145         "bp-asm.h".
56146         (PARMS): Do not use macros from bp-asm.h.
56147         (DEST): Likewise.
56148         (LEN): Likewise.
56149         [!BZERO_P] (CHR): Likewise.
56150         (memset): Likewise.  Do not use BP_SYM.
56151         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
56152         "bp-asm.h".
56153         (PARMS): Do not use macros from bp-asm.h.
56154         (S1): Likewise.
56155         (SIZE): Likewise.
56156         (__mpn_mul_1): Do not use BP_SYM.
56157         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
56158         "bp-asm.h".
56159         (PARMS): Do not use macros from bp-asm.h.
56160         (S): Likewise.
56161         (SIZE): Likewise.
56162         (__mpn_rshift): Do not use BP_SYM.
56163         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
56164         "bp-asm.h".
56165         (PARMS): Do not use macros from bp-asm.h.
56166         (STR): Likewise.
56167         (CHR): Likewise.
56168         (strchr): Likewise.  Do not use BP_SYM.
56169         (index): Do not use BP_SYM in weak_alias.
56170         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
56171         "bp-asm.h".
56172         (PARMS): Do not use macros from bp-asm.h.
56173         (DEST): Likewise.
56174         (SRC): Likewise.
56175         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
56176         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
56177         "bp-asm.h".
56178         (PARMS): Do not use macros from bp-asm.h.
56179         (strlen): Do not use BP_SYM.
56180         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
56181         "bp-asm.h".
56182         (PARMS): Do not use macros from bp-asm.h.
56183         (S1): Likewise.
56184         (S2): Likewise.
56185         (SIZE): Likewise.
56186         (__mpn_sub_n): Do not use BP_SYM.
56187         * sysdeps/i386/i586/submul_1.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         (SIZE): Likewise.
56192         (__mpn_submul_1): Do not use BP_SYM.
56193         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
56194         "bp-asm.h".
56195         (PARMS): Do not use macros from bp-asm.h.
56196         (S1): Likewise.
56197         (S2): Likewise.
56198         (SIZE): Likewise.
56199         (__mpn_add_n): Do not use BP_SYM.
56200         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
56201         weak_alias.
56202         (bzero): Likewise.
56203         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
56204         "bp-asm.h".
56205         (PARMS): Do not use macros from bp-asm.h.
56206         (BLK2): Likewise.
56207         (LEN): Likewise.
56208         (memcmp): Do not use BP_SYM.
56209         (bcmp): Do not use BP_SYM in weak_alias.
56210         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
56211         "bp-asm.h".
56212         (PARMS): Do not use macros from bp-asm.h.
56213         (DEST): Likewise.
56214         (SRC): Likewise.
56215         (LEN): Likewise.
56216         (memcpy): Likewise.  Do not use BP_SYM.
56217         * sysdeps/i386/i686/memmove.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         (memmove): Likewise.  Do not use BP_SYM.
56224         * sysdeps/i386/i686/mempcpy.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         (__mempcpy): Likewise.  Do not use BP_SYM.
56231         (mempcpy): Do not use BP_SYM in weak_alias.
56232         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
56233         "bp-asm.h".
56234         (PARMS): Do not use macros from bp-asm.h.
56235         (DEST): Likewise.
56236         (LEN): Likewise.
56237         [!BZERO_P] (CHR): Likewise.
56238         (memset): Likewise.  Do not use BP_SYM.
56239         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
56240         "bp-asm.h".
56241         (PARMS): Do not use macros from bp-asm.h.
56242         (STR2): Likewise.
56243         (strcmp): Do not use BP_SYM.
56244         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
56245         "bp-asm.h".
56246         (PARMS): Do not use macros from bp-asm.h.
56247         (STR): Likewise.
56248         (DELIM): Likewise.
56249         [USE_AS_STRTOK_R] (SAVE): Likewise.
56250         (FUNCTION): Likewise.  Do not use BP_SYM.
56251         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
56252         aliases.
56253         (strtok_r): Likewise.
56254         (__GI___strtok_r): Likewise.
56255         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
56256         (PARMS): Do not use macros from bp-asm.h.
56257         (S): Likewise.
56258         (SIZE): Likewise.
56259         (__mpn_lshift): Do not use BP_SYM.
56260         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
56261         (PARMS): Do not use macros from bp-asm.h.
56262         (STR): Likewise.
56263         (CHR): Likewise.
56264         (__memchr): Do not use BP_SYM.
56265         (memchr): Do not use BP_SYM in weak_alias.
56266         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
56267         (PARMS): Do not use macros from bp-asm.h.
56268         (BLK2): Likewise.
56269         (LEN): Likewise.
56270         (memcmp): Do not use BP_SYM.
56271         (bcmp): Do not use BP_SYM in weak_alias.
56272         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
56273         (PARMS): Do not use macros from bp-asm.h.
56274         (S1): Likewise.
56275         (SIZE): Likewise.
56276         (__mpn_mul_1): Do not use BP_SYM.
56277         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
56278         "bp-asm.h".
56279         (PARMS): Do not use macros from bp-asm.h.
56280         (STR): Likewise.
56281         (CHR): Likewise.
56282         (__rawmemchr): Do not use BP_SYM.
56283         (rawmemchr): Do not use BP_SYM in weak_alias.
56284         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
56285         (PARMS): Do not use macros from bp-asm.h.
56286         (S): Likewise.
56287         (SIZE): Likewise.
56288         (__mpn_rshift): Do not use BP_SYM.
56289         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
56290         (PARMS): Do not use macros from bp-asm.h.
56291         (SIGMSK): Likewise.
56292         (__sigsetjmp): Likewise.  Do not use BP_SYM.
56293         * sysdeps/i386/start.S: Do not include "bp-sym.h".
56294         (_start): Do not use BP_SYM.
56295         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
56296         (PARMS): Do not use macros from bp-asm.h.
56297         (DEST): Likewise.
56298         (SRC): Likewise.
56299         (__stpcpy): Likewise.  Do not use BP_SYM.
56300         (stpcpy): Do not use BP_SYM in weak_alias.
56301         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
56302         "bp-asm.h".
56303         (PARMS): Do not use macros from bp-asm.h.
56304         (DEST): Likewise.
56305         (SRC): Likewise.
56306         (LEN): Likewise.
56307         (__stpncpy): Likewise.  Do not use BP_SYM.
56308         (stpncpy): Do not use BP_SYM in weak_alias.
56309         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
56310         (PARMS): Do not use macros from bp-asm.h.
56311         (STR): Likewise.
56312         (CHR): Likewise.
56313         (strchr): Likewise.  Do not use BP_SYM.
56314         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
56315         "bp-asm.h".
56316         (PARMS): Do not use macros from bp-asm.h.
56317         (STR): Likewise.
56318         (CHR): Likewise.
56319         (__strchrnul): Likewise.  Do not use BP_SYM.
56320         (strchrnul): Do not use BP_SYM in weak_alias.
56321         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
56322         "bp-asm.h".
56323         (PARMS): Do not use macros from bp-asm.h.
56324         (STOP): Likewise.
56325         (strcspn): Do not use BP_SYM.
56326         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
56327         "bp-asm.h".
56328         (PARMS): Do not use macros from bp-asm.h.
56329         (STR): Likewise.
56330         (STOP): Likewise.
56331         (strpbrk): Likewise.  Do not use BP_SYM.
56332         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
56333         "bp-asm.h".
56334         (PARMS): Do not use macros from bp-asm.h.
56335         (STR): Likewise.
56336         (CHR): Likewise.
56337         (strrchr): Likewise.  Do not use BP_SYM.
56338         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
56339         (PARMS): Do not use macros from bp-asm.h.
56340         (SKIP): Likewise.
56341         (strspn): Do not use BP_SYM.
56342         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
56343         (PARMS): Do not use macros from bp-asm.h.
56344         (STR): Likewise.
56345         (DELIM): Likewise.
56346         (SAVE): Likewise.
56347         (FUNCTION): Likewise.  Do not use BP_SYM.
56348         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
56349         aliases.
56350         (strtok_r): Likewise.
56351         (__GI___strtok_r): Likewise.
56352         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
56353         (PARMS): Do not use macros from bp-asm.h.
56354         (S1): Likewise.
56355         (S2): Likewise.
56356         (SIZE): Likewise.
56357         (__mpn_sub_n): Do not use BP_SYM.
56358         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
56359         "bp-asm.h".
56360         (PARMS): Do not use macros from bp-asm.h.
56361         (S1): Likewise.
56362         (SIZE): Likewise.
56363         (__mpn_submul_1): Do not use BP_SYM.
56364         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
56365         <bp-sym.h>.
56366         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
56367         and <bp-asm.h>.
56368         (PARMS): Do not use macros from bp-asm.h.
56369         (FLAGS): Likewise.
56370         (PTID): Likewise.
56371         (TLS): Likewise.
56372         (CTID): Likewise.
56373         (__clone): Do not use BP_SYM.
56374         (clone): Do not use BP_SYM in weak_alias.
56375         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
56376         and <bp-asm.h>.
56377         (PARMS): Do not use macros from bp-asm.h.
56378         (LEN): Likewise.
56379         (__mmap64): Do not use BP_SYM.
56380         (mmap64): Do not use BP_SYM in weak_alias.
56381         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
56382         <bp-sym.h> and <bp-asm.h>.
56383         (PARMS): Do not use macros from bp-asm.h.
56384         (__posix_fadvise64_l64): Do not use BP_SYM.
56385         * sysdeps/unix/sysv/linux/i386/semtimedop.S
56386         (PARMS): Do not use macros from bp-asm.h.
56387         (NSOPS): Likewise.
56388         (semtimedop): Do not use BP_SYM.
56389         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
56390         and <bp-asm.h>.
56392 2013-02-21  Allan McRae  <allan@archlinux.org>
56394         * manual/message.texi (Charset conversion in gettext):
56395         Move @end statement to beginning of line.
56397 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56399         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
56400         static.
56401         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
56402         Likewise.
56404         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
56405         (denorm): Likewise.
56406         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
56407         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
56409 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56411         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
56412         tail-call to the resolved function if pltexit isn't needed.
56414 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56416         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
56417         or Y being zero as being unlikely.
56418         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
56419         Likewise.
56421 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
56423         * manual/nss.texi (System Databases and Name Service Switch):
56424         Remove frobnicate @pxref.
56426 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
56428         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
56429         __attribute__ ((unused)) to __attribute__ ((__unused__)).
56431 2013-02-20  Petr Machata  <pmachata@redhat.com>
56433         * elf/elf.h (R_ARM_TARGET1): New macro.
56434         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
56435         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
56436         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
56437         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
56438         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
56439         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
56440         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
56441         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
56442         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
56443         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
56444         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
56445         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
56446         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
56447         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
56448         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
56449         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
56450         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
56451         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
56452         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
56453         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
56454         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
56455         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
56456         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
56457         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
56458         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
56459         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
56460         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
56461         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
56462         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
56463         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
56464         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
56465         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
56466         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
56467         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
56468         (R_ARM_THM_GOT_BREL12): Likewise.
56469         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
56470         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
56471         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
56472         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
56473         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
56474         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
56475         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
56476         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
56477         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
56479 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
56481         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
56482         __attribute_used__ to __attribute__ ((unused)).
56484 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56486         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
56487         powerpc mpa.c.
56488         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
56489         comment formatting.
56490         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
56492 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
56494         [BZ #13550]
56495         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
56496         Remove macro.
56497         (ENTER): Remove both macro definitions.
56498         (LEAVE): Likewise.
56499         (CHECK_BOUNDS_LOW): Likewise.
56500         (CHECK_BOUNDS_HIGH): Likewise.
56501         (CHECK_BOUNDS_BOTH): Likewise.
56502         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
56503         (RETURN_BOUNDED_POINTER): Likewise.
56504         (RETURN_NULL_BOUNDED_POINTER): Likewise.
56505         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
56506         (POP_ERRNO_LOCATION_RETURN): Likewise.
56507         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
56508         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56509         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
56510         macros.
56511         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56512         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
56513         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
56514         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
56515         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
56516         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
56517         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
56518         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
56519         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
56520         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
56521         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
56522         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
56523         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56524         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
56525         removed macros.
56526         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56527         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
56528         macros.
56529         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56530         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
56531         * sysdeps/i386/i586/memset.S (memset): Likewise.
56532         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
56533         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56534         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
56535         macros.
56536         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56537         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
56538         Change uses of L(2) to L(out).
56539         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
56540         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
56541         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
56542         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56543         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
56544         removed macros.
56545         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56546         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
56547         macros.
56548         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56549         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
56550         (RETURN): Do not use macro LEAVE.
56551         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
56552         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
56553         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
56554         * sysdeps/i386/i686/memset.S (memset): Likewise.
56555         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
56556         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
56557         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56558         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
56559         Likewise.
56560         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56561         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
56562         L(1_2) and L(1_3) into L(1).
56563         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
56564         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
56565         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56566         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
56567         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56568         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
56569         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
56570         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56571         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
56572         macros.
56573         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
56574         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56575         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
56576         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
56577         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
56578         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56579         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
56580         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
56581         * sysdeps/i386/strcspn.S (strcspn): Likewise.
56582         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
56583         * sysdeps/i386/strrchr.S (strrchr): Likewise.
56584         * sysdeps/i386/strspn.S (strspn): Likewise.
56585         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
56586         conditional code.
56587         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56588         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
56589         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
56590         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
56591         L(1_3) into L(1_1).
56592         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
56593         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56594         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
56595         macros.
56596         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56598 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
56600         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
56601         macro.
56603 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56605         * math/atest-exp.c (exp_mpn): Remove ROUND.
56606         * math/atest-exp2.c (exp_mpn): Likewise.
56607         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
56609         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
56610         * stdlib/tst-tls-atexit-lib.c: Likewise.
56611         * stdlib/tst-tls-atexit.c: Likewise.
56613 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56615         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
56616         and __attribute_alloc_size__.
56618 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56620         * include/programs/xmalloc.h: Change __attribute_alloc_size to
56621         __attribute_alloc_size__.
56622         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
56623         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
56625 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56627         * include/programs/xmalloc.h: New file.
56628         * catgets/gencat.c: Include it.
56629         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
56630         * elf/pldd.c: Likewise.
56631         * iconv/iconv_charmap.c: Likewise.
56632         * iconv/iconvconfig.c: Likewise.
56633         * iconv/strtab.c: Likewise.
56634         * locale/programs/locale.c: Likewise.
56635         * locale/programs/localedef.h: Likewise.
56636         * locale/programs/simple-hash.c: Likewise.
56637         * nscd/nscd.h: Likewise.
56638         * nss/makedb.c: Likewise.
56639         * sysdeps/generic/ldconfig.h: Likewise.
56641 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56643         * Versions.def: Add GLIBC_2.18.
56644         * include/link.h (struct link_map): New member l_tls_dtor_count.
56645         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
56646         (__call_tls_dtors): Likewise.
56647         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
56648         __cxa_thread_atexit_impl.
56649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56650         Likewise.
56651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56652         Likewise.
56653         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56654         Likewise.
56655         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56656         Likewise.
56657         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
56659         Likewise.
56660         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
56661         Likewise.
56662         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56663         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
56664         Likewise.
56665         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
56666         (tests): Add test case tst-tls-atexit.
56667         (modules-names): Add shared library for tst-tls-atexit.
56668         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
56669         (GLIBC_PRIVATE): Add __call_tls_dtors.
56670         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
56671         for libstdc++.
56672         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
56673         * stdlib/tst-tls-atexit.c: New test case.
56674         * stdlib/tst-tls-atexit-lib.c: New test case.
56676         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
56678         * elf/Versions (ld): Add _dl_find_dso_for_object.
56679         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
56680         * elf/dl-open.c (_dl_find_dso_for_object): New function.
56681         (dl_open_worker): Use _dl_find_dso_for_object.
56682         * elf/dl-sym.c (do_sym): Likewise.
56683         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
56685 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56687         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
56688         Syntactic changes only.
56689         (_dl_runtime_profile): Do a tail-call to the resolved function.
56691 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
56693         [BZ #13550]
56694         * sysdeps/x86_64/bp-asm.h: Remove file.
56695         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
56696         <bp-sym.h> and <bp-asm.h>.
56697         (__clone): Do not use BP_SYM.
56698         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
56699         <bp-sym.h> and <bp-asm.h>.
56700         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56701         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
56702         "bp-asm.h".
56703         (_setjmp): Do not use BP_SYM.
56704         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
56705         "bp-asm.h".
56706         (setjmp): Do not use BP_SYM.
56707         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
56708         libc_hidden_def.
56709         (mempcpy): Do not use BP_SYM in weak_alias.
56710         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
56711         "bp-asm.h".
56712         (strchr): Do not use BP_SYM.
56713         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
56714         "bp-asm.h".
56715         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
56716         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
56717         (_start): Do not use BP_SYM.
56718         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
56719         "bp-asm.h".
56720         (strcat): Do not use BP_SYM.
56721         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
56722         "bp-asm.h".
56723         (STRCMP): Do not use BP_SYM.
56724         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
56725         "bp-asm.h".
56726         (STRCPY): Do not use BP_SYM.
56727         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
56728         "bp-asm.h".
56729         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
56730         "bp-asm.h".
56731         (FUNCTION): Do not use BP_SYM.
56732         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
56733         weak_alias.
56734         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
56736 2013-02-17  Andreas Jaeger  <aj@suse.de>
56738         * time/Versions: Sort entries.
56739         * string/Versions: Likewise.
56740         * resolv/Versions: Likewise.
56741         * posix/Versions: Likewise.
56742         * iconv/Versions: Likewise.
56743         * elf/Versions: Likewise.
56744         * wcsmbs/Versions: Likewise.
56746 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56748         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
56749         loop termination condition.
56751         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
56752         variable to calculate EZ.
56753         (__sqr): Likewise.
56755         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
56756         the lower precision input.
56758 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
56760         [BZ #13550]
56761         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
56762         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
56763         (run-via-rtld-prefix): Do not handle %-bp tests.
56764         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
56765         (all-object-suffixes): Remove .ob.
56766         (bppfx): Remove variable.
56767         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
56768         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
56769         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
56770         [$(build-bounded) = yes] (libtype.ob): Likewise.
56771         * Makerules (elide-routines.ob): Remove variable.
56772         (do-tests-clean): Do not handle *-bp.out.
56773         (common-mostlyclean): Do not handle *-bp and *-bp.out.
56774         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
56775         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
56776         (tests): Do not include $(tests-bp.out).
56777         (xtests): Do not include $(xtests-bp.out).
56778         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
56779         [$(build-bounded) = yes] ($(addprefix
56780         $(objpfx),$(binaries-bounded))): Remove rule.
56781         ($(objpfx)%-bp.out): Remove rule.
56782         * config.make.in (build-bounded): Remove variable.
56783         * crypt/Makefile [$(build-bounded) = yes]
56784         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
56785         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
56786         append to variable.
56787         [$(build-bounded) = yes] (install-lib): Likewise.
56788         [$(build-bounded) = yes] (generated): Likewise.
56789         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
56790         Remove rule.
56791         * intl/Makefile [$(build-bounded) = yes]
56792         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
56793         * math/Makefile [$(build-bounded) = yes]
56794         ($(tests:%=$(objpfx)%-bp): Likewise.
56795         * misc/Makefile [$(build-bounded) = yes]
56796         ($(objpfx)tst-tsearch-bp): Likewise.
56797         * nptl/Makeconfig (bounded-thread-library): Remove variable.
56798         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
56799         Remove dependency.
56800         * string/Makefile (o-objects.ob): Remove variable.
56801         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
56802         (CFLAGS-.ob): Remove variable.
56803         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
56804         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
56805         both definitions of variable.
56806         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
56807         (ASFLAGS-.ob): Remove variable.
56809 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
56811         [BZ #13550]
56812         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
56813         Remove __BOUNDED_POINTERS__ from condition.
56814         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
56815         * string/bits/string2.h [!__NO_STRING_INLINES &&
56816         !__BOUNDED_POINTERS__]: Likewise.
56817         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
56818         Likewise.
56819         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
56820         Remove conditional code.
56821         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
56822         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
56823         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
56824         condition.
56826         [BZ #13550]
56827         * csu/libc-start.c: Do not include <bp-sym.h>.
56828         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
56829         * elf/dl-open.c: Do not include <bp-sym.h>.
56830         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
56831         * math/fegetenv.c: Do not include <bp-sym.h>.
56832         (fegetenv): Do not use BP_SYM in versioned symbols.
56833         * nptl/sysdeps/pthread/bits/libc-lockP.h
56834         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
56835         <bp-sym.h>.
56836         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56837         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
56838         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56839         (__pthread_mutex_destroy): Likewise.
56840         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56841         (__pthread_mutex_lock): Likewise.
56842         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56843         (__pthread_mutex_trylock): Likewise.
56844         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56845         (__pthread_mutex_unlock): Likewise.
56846         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56847         (__pthread_mutexattr_init): Likewise.
56848         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56849         (__pthread_mutexattr_destroy): Likewise.
56850         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56851         (__pthread_mutexattr_settype): Likewise.
56852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56853         (__pthread_rwlock_init): Likewise.
56854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56855         (__pthread_rwlock_destroy): Likewise.
56856         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56857         (__pthread_rwlock_rdlock): Likewise.
56858         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56859         (__pthread_rwlock_tryrdlock): Likewise.
56860         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56861         (__pthread_rwlock_wrlock): Likewise.
56862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56863         (__pthread_rwlock_trywrlock): Likewise.
56864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56865         (__pthread_rwlock_unlock): Likewise.
56866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56867         (__pthread_key_create): Likewise.
56868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56869         (__pthread_setspecific): Likewise.
56870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56871         (__pthread_getspecific): Likewise.
56872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
56873         Likewise.
56874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56875         (_pthread_cleanup_push_defer): Likewise.
56876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56877         (_pthread_cleanup_pop_restore): Likewise.
56878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56879         (pthread_setcancelstate): Likewise.
56880         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
56881         <bp-sym.h>.
56882         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
56883         (memchr): Do not use BP_SYM in weak_alias.
56884         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
56885         (fegetenv): Do not use BP_SYM in versioned symbols.
56886         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
56887         (fesetenv): Do not use BP_SYM in versioned symbols.
56888         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
56889         (feupdateenv): Do not use BP_SYM in versioned symbols.
56890         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
56891         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
56892         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
56893         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
56894         (open64): Do not use BP_SYM in weak_alias.
56895         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
56896         (fegetenv): Do not use BP_SYM in versioned symbols.
56897         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
56898         (fesetenv): Do not use BP_SYM in versioned symbols.
56899         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
56900         (feupdateenv): Do not use BP_SYM in versioned symbols.
56901         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
56902         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
56903         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
56904         (feraiseexcept): Do not use BP_SYM in versioned symbols.
56905         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
56906         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
56907         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
56908         <bp-sym.h>.
56909         (__libc_start_main): Do not use BP_SYM.
56911 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56913         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
56914         redundant return line.
56915         (norm): Likewise.
56916         (denorm): Likewise.
56917         (dbl_mp): Likewise.
56918         (sub_magnitudes): Likewise.
56919         (__add): Likewise.
56920         (__sub): Likewise.
56921         (__mul): Likewise.
56922         (__inv): Likewise.
56923         (__dvd): Likewise.
56924         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
56925         (norm): Likewise.
56926         (denorm): Likewise.
56927         (dbl_mp): Likewise.
56928         (sub_magnitudes): Likewise.
56929         (__add): Likewise.
56930         (__sub): Likewise.
56931         (__mul): Likewise.
56932         (__inv): Likewise.
56933         (__dvd): Likewise.
56935         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
56936         instead of __mul.
56937         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56938         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
56939         (cc32): Likewise.
56941         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
56942         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
56943         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
56944         of __mul for squares.
56945         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
56946         function
56947         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
56948         Likewise.
56949         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
56950         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56952 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
56954         [BZ #13550]
56955         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
56956         code.
56957         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
56958         prototype or function definition.  Rename ubp_* variables and
56959         parameters.  Remove argv definitions conditional on
56960         [__BOUNDED_POINTERS__].
56961         * debug/backtrace.c (__backtrace): Do not use __unbounded.
56962         * elf/dl-runtime.c (_dl_fixup): Likewise.
56963         * include/set-hooks.h (RUN_HOOK): Likewise.
56964         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
56965         definition.
56966         * string/strcpy.c (strcpy): Do not use __unbounded.
56967         * sysdeps/generic/frame.h (struct layout): Likewise.
56968         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
56969         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
56970         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
56971         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
56972         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
56973         (__backtrace): Likewise.
56974         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
56975         use __ptrvalue.
56976         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
56977         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
56978         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
56979         Likewise.
56980         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
56981         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
56982         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
56983         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
56984         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
56985         Do not use __unbounded.
56986         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
56987         Rename __unboundedrlimits parameter to rlimits in prototype.
56988         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
56989         Do not use __unbounded.
56990         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
56991         not use __ptrvalue.
56992         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
56993         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
56994         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
56995         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
56996         __ptrvalue or __unbounded.
56997         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
56998         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
56999         use __unbounded.
57000         (__new_msgctl): Do not use __ptrvalue.
57001         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
57002         __unbounded.
57003         (__libc_msgrcv): Do not use __ptrvalue.
57004         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
57005         startup_info): Do not use __unbounded.
57006         (__libc_start_main): Likewise.  Rename ubp_* variables and
57007         parameters.  Remove argv definitions conditional on
57008         [__BOUNDED_POINTERS__].
57009         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
57010         __ptrvalue.
57011         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
57012         use __unbounded.
57013         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
57014         or __ptrvalue.
57015         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
57016         use __unbounded.
57017         (__new_shmctl): Do not use __ptrvalue.
57018         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
57019         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
57020         Likewise.
57021         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
57022         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
57023         (__libc_sigaction): Likewise.
57024         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
57025         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
57026         Likewise.
57027         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
57029 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
57031         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
57033         * string/mempcpy.c: Implement by calling memcpy.
57035 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57037         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
57039         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
57040         evaluation.
57042         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
57043         values in the mantissa.
57045         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
57046         minimize writes to Z.
57047         (sub_magnitudes): Simplify code a bit.
57049 2013-02-12  Roland McGrath  <roland@hack.frob.com>
57051         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
57052         from the message.  The linker prefixes all warnings with that already.
57054 2013-02-12  Andreas Schwab  <schwab@suse.de>
57056         [BZ #15078]
57057         * posix/regexec.c (extend_buffers): Add parameter min_len.
57058         (check_matching): Pass minimum needed length.
57059         (clean_state_log_if_needed): Likewise.
57060         (get_subexp): Likewise.
57061         * posix/Makefile (tests): Add bug-regex34.
57062         (bug-regex34-ENV): Define.
57063         * posix/bug-regex34.c: New file.
57065         [BZ #11561]
57066         * posix/regcomp.c (parse_bracket_exp): When looking up collating
57067         elements compare against the byte sequence of it, not its name.
57068         * posix/Makefile (tests): Add bug-regex35.
57069         (bug-regex35-ENV): Define.
57070         * posix/bug-regex35.c: New file.
57072 2013-02-11  Tom de Vries  <tom@codesourcery.com>
57074         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
57075         comment.
57076         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
57077         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
57078         (CHECK_EOL): Add undef.
57080 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
57082         * bits/stdlib-bsearch.h: New file.
57083         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
57084         * stdlib/stdlib.h: Likewise.
57086 2013-02-11  Roland McGrath  <roland@hack.frob.com>
57088         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
57089         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
57090         declaration.
57091         * manual/search.texi (Array Search Function): Add missing const in
57092         lfind prototype.
57093         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
57094         declaration to use rlim_t.
57095         (Basic Scheduling Functions): Remove erroneous const from
57096         sched_getparam prototype.  Remove erroneous * from
57097         sched_get_priority_max and sched_get_priority_min prototypes.
57098         (Resource Usage): Fix summary @comment on vtimes to refer to
57099         sys/vtimes.h rather than vtimes.h.
57100         Add missing *s in vtimes prototype.
57101         (Limits on Resources): Fix ulimit prototype to return long int.
57102         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
57103         prototypes to use long int rather than double.
57104         (BSD Random): Fix initstate and setstate to use char *, not void *.
57105         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
57106         prototype to make second argument 'struct aiocb64 *const[]'.
57107         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
57108         (Status of AIO Operations): Remove erroneous const in aio_return and
57109         aio_return64 prototypes.
57110         (Synchronizing I/O): Fix sync prototype to return void.
57111         * manual/startup.texi (Suboptions): Remove an erroneous const in
57112         getsubopt prototype.
57113         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
57114         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
57115         use size_t rather than int.
57116         (Scanning All Users): Likewise for getpwent_r.
57117         (Setting Groups): Add missing const to setgroups prototype.
57118         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
57119         * manual/socket.texi (Host Names): Fix gethostbyaddr and
57120         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
57121         'const void *' rather than 'const char *'.
57122         (Host Address Functions): Likewise for inet_ntop.
57123         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
57124         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
57125         ssize_t for return value.
57126         (Sending Data): Likewise for send, sendto, sendmsg.
57127         (Socket Option Functions): Add a missing const in setsockopt prototype.
57128         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
57129         use wchar_t for the argument.
57130         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
57131         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
57132         take no arguments.
57133         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
57134         double/float/long double for second argument.
57135         Fix return types of significand, significandf, significandl.
57136         * manual/filesys.texi (Setting Permissions): Use mode_t for second
57137         argument in fchmod prototype.
57138         (File Owner): Use uid_t and gid_t in fchown prototype.
57139         (File Times): Add const to utimes, futimes, and lutimes prototypes.
57140         (Making Special Files): Use mode_t and dev_t in mknod prototype.
57141         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
57142         use 'const struct dirent **' as argument types to CMP function pointer
57143         argument.
57144         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
57145         (File Times): Fix summary magic @comment for struct utimbuf and utime
57146         to refer to utime.h, not time.h.
57147         * manual/string.texi (Argz Functions): Add missing const in
57148         argz_extract and argz_next prototypes.
57149         (Finding Tokens in a String): Likewise for basename.
57150         (String/Array Comparison): Fix typo in wcscasecmp prototype.
57151         (Copying and Concatenation): Fix typo in wmemmove prototype.
57152         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
57153         (Signal Stack): Remove erroneous const in sigstack prototype.
57154         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
57155         prototype.
57156         (Simple Calendar Time): Likewise for stime.
57157         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
57158         prototype.
57159         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
57160         say sys/sysctl.h instead.
57161         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
57162         and vsyslog prototypes.
57164 2013-02-11  Tom de Vries  <tom@codesourcery.com>
57166         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
57167         Remove.
57169 2013-02-11  Roland McGrath  <roland@hack.frob.com>
57171         * misc/sys/mman.h: Fix typo in mremap comment.
57173 2013-02-08  Roland McGrath  <roland@hack.frob.com>
57175         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
57176         the '\0' terminator.
57178 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
57180         [BZ #13550]
57181         * debug/segfault.c: Don't include <bp-checks.h>.
57182         * sysdeps/generic/bp-checks.h: Remove file.
57183         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
57184         (__GETDENTS): Don't use CHECK_N.
57185         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
57186         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
57187         (__getgroups): Don't use CHECK_N.
57188         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
57189         (setgroups): Don't use CHECK_N.
57190         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
57191         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
57192         (__libc_msgrcv): Don't use CHECK_N.
57193         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
57194         (__libc_msgsnd): Don't use CHECK_N.
57195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
57196         <bp-checks.h>.
57197         (__libc_pread): Don't use CHECK_N.
57198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
57199         include <bp-checks.h>.
57200         (__libc_pread64): Don't use CHECK_N.
57201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
57202         include <bp-checks.h>.
57203         (__libc_pwrite): Don't use CHECK_N.
57204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
57205         include <bp-checks.h>.
57206         (__libc_pwrite64): Don't use CHECK_N.
57207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
57208         <bp-checks.h>.
57209         (__libc_pread): Don't use CHECK_N.
57210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
57211         include <bp-checks.h>.
57212         (__libc_pread64): Don't use CHECK_N.
57213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
57214         include <bp-checks.h>.
57215         (__libc_pwrite): Don't use CHECK_N.
57216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
57217         include <bp-checks.h>.
57218         (__libc_pwrite64): Don't use CHECK_N.
57219         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
57220         (do_pread): Don't use CHECK_N.
57221         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
57222         (do_pread64): Don't use CHECK_N.
57223         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
57224         (do_pwrite): Don't use CHECK_N.
57225         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
57226         (do_pwrite64): Don't use CHECK_N.
57227         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
57228         (__libc_readv): Don't use CHECK_N.
57229         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
57230         (semop): Don't use CHECK_N.
57231         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
57232         <bp-checks.h>.
57233         (semtimedop): Don't use CHECK_N.
57234         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
57235         (__libc_pread): Don't use CHECK_N.
57236         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
57237         <bp-checks.h>.
57238         (__libc_pread64): Don't use CHECK_N.
57239         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
57240         <bp-checks.h>.
57241         (__libc_pwrite): Don't use CHECK_N.
57242         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
57243         <bp-checks.h>.
57244         (__libc_pwrite64): Don't use CHECK_N.
57245         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
57246         <bp-checks.h>.
57247         (__libc_msgrcv): Don't use CHECK_N.
57248         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
57249         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
57250         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
57251         (__libc_writev): Don't use CHECK_N.
57253 2013-02-08  Roland McGrath  <roland@hack.frob.com>
57255         * string/strcpy.c: Removed unused variable.
57257         * Makeconfig (+sysdep-includes): Define with := rather than =.
57258         Use an existing include/ subdir of each sysdeps dir before it.
57260 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
57262         * nscd/connection.c (register_traced_file): Comment function.
57263         [HAVE_INOTIFY] (union __inev): Define.
57264         [HAVE_INOTIFY] (inotify_check_files): New function.
57265         [HAVE_INOTIFY] (clear_db_cache): Likewise.
57266         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
57267         clear_db_cache.
57268         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
57270 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
57272         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
57273         loaded if not already and that a failure is permanent.
57275 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
57277         [BZ #15006]
57278         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
57279         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
57281 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
57283         [BZ #13550]
57284         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
57285         (CHECK_1_NULL_OK): Likewise.
57286         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
57287         (__fxstat): Do not use CHECK_1.
57288         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
57289         <bp-checks.h>.
57290         (___fxstat64): Do not use CHECK_1.
57291         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
57292         <bp-checks.h>.
57293         (__fxstatat): Do not use CHECK_1.
57294         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
57295         <bp-checks.h>.
57296         (__fxstatat64): Do not use CHECK_1.
57297         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
57298         <bp-checks.h>.
57299         (__fxstat): Do not use CHECK_1.
57300         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
57301         <bp-checks.h>.
57302         (__fxstatat): Do not use CHECK_1.
57303         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
57304         <bp-checks.h>.
57305         (__getresgid): Do not use CHECK_1.
57306         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
57307         <bp-checks.h>.
57308         (__getresuid): Do not use CHECK_1.
57309         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
57310         <bp-checks.h>.
57311         (__lxstat): Do not use CHECK_1.
57312         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
57313         <bp-checks.h>.
57314         (__old_msgctl): Do not use CHECK_1.
57315         (__new_msgctl): Likewise.
57316         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
57317         <bp-checks.h>.
57318         (__new_setrlimit): Do not use CHECK_1.
57319         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
57320         <bp-checks.h>.
57321         (__old_shmctl): Do not use CHECK_1.
57322         (__new_shmctl): Likewise.
57323         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
57324         <bp-checks.h>.
57325         (__xstat): Do not use CHECK_1.
57326         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
57327         (__lxstat): Do not use CHECK_1.
57328         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
57329         <bp-checks.h>.
57330         (___lxstat64): Do not use CHECK_1.
57331         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
57332         (__old_msgctl): Do not use CHECK_1.
57333         (__new_msgctl): Likewise.
57334         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
57335         <bp-checks.h>.
57336         (__gettimeofday): Do not use CHECK_1.
57337         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
57338         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
57339         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
57340         <bp-checks.h>.
57341         (__gettimeofday): Do not use CHECK_1.
57342         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
57343         (__old_shmctl): Do not use CHECK_1_NULL_OK.
57344         (__new_shmctl): Do not use CHECK_1.
57345         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
57346         <bp-checks.h>.
57347         (do_sigtimedwait): Do not use CHECK_1.
57348         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
57349         <bp-checks.h>.
57350         (do_sigwaitinfo): Do not use CHECK_1.
57351         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
57352         <bp-checks.h>.
57353         (msgctl): Do not use CHECK_1.
57354         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
57355         <bp-checks.h>.
57356         (shmctl): Do not use CHECK_1.
57357         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
57358         (ustat): Do not use CHECK_1.
57359         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
57360         <bp-checks.h>.
57361         (__fxstat): Do not use CHECK_1.
57362         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
57363         <bp-checks.h>.
57364         (__fxstatat): Do not use CHECK_1.
57365         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
57366         <bp-checks.h>.
57367         (__lxstat): Do not use CHECK_1.
57368         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
57369         <bp-checks.h>.
57370         (__xstat): Do not use CHECK_1.
57371         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
57372         (__xstat): Do not use CHECK_1.
57373         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
57374         (___xstat64): Do not use CHECK_1.
57376         [BZ #13550]
57377         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
57378         definitions.
57379         (CHECK_BOUNDS_HIGH): Likewise.
57380         * string/strcpy.c: Do not include <bp-checks.h>.
57381         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
57383 2013-02-07  Roland McGrath  <roland@hack.frob.com>
57385         * nscd/nscd-client.h (__nscd_drop_map_ref):
57386         Add __attribute__ ((unused)).
57387         * nis/nss-nisplus.h (niserr2nss): Likewise.
57389         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
57390         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
57392         * csu/libc-tls.c (init_static_tls, init_slotinfo):
57393         Remove inline keyword.
57394         * include/rounding-mode.h (round_away): Likewise.
57395         * libio/wfileops.c (adjust_wide_data): Likewise.
57396         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
57397         (__m128i_strloadu_tolower): Likewise.
57398         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
57399         (__m128i_strloadu_tolower): Likewise.
57400         * time/mktime.c (ydhms_diff): Likewise.
57401         * locale/elem-hash.h (elem_hash): Likewise.
57402         * locale/setlocale.c (setdata): Likewise.
57403         * posix/regex_internal.h (re_string_char_size_at): Likewise.
57404         (re_string_wchar_at): Likewise.
57405         (bitset_not, bitset_merge, bitset_mask): Likewise.
57406         [!(__GNUC__ > 3)] (inline): Remove macro.
57407         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
57408         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
57409         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
57410         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
57411         * string/memcmp.c (memcmp_bytes): Likewise.
57412         * locale/programs/locarchive.c (compute_hashval): Likewise.
57413         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
57414         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
57415         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
57416         * nss/getent.c (print_rpc, print_protocols): Likewise.
57417         (print_passwd, print_group, print_aliases): Likewise.
57418         * nis/nss-nisplus.h (niserr2nss): Likewise.
57419         * nscd/connections.c (restart_p): Likewise.
57420         Change return type to bool.
57422 2013-02-05  Roland McGrath  <roland@hack.frob.com>
57424         * Makeconfig (all-Depend-files): Add existing
57425         $(sorted-subdirs:=/Depend) files.
57426         (all-subdirs): Remove nss.
57427         * sysdeps/unix/inet/Subdirs: Add it here instead.
57428         * hesiod/Depend: New file.
57430         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
57431         instead of calling alloca.
57433         * io/lseek.c (__lseek): Rename to __libc_lseek.
57434         Define __lseek as an alias.
57436         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
57438 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
57440         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
57441         else clause and remove check for non-standard endianness.
57443 2013-02-04  David S. Miller  <davem@davemloft.net>
57445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57447 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
57449         [BZ #13550]
57450         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
57451         (__ubp_memchr): Remove prototype.
57452         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
57453         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
57454         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
57455         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
57456         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
57457         Remove alias.
57458         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
57459         (__ubp_memchr): Likewise.
57460         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
57461         (__ubp_memchr): Likewise.
57462         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
57463         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
57464         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
57465         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
57466         CHECK_STRING.
57467         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57468         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
57469         (__getcwd): Do not use CHECK_STRING.
57470         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
57471         <bp-checks.h>.
57472         (__real_chown): Do not use CHECK_STRING.
57473         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
57474         <bp-checks.h>.
57475         (fchownat): Do not use CHECK_STRING.
57476         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
57477         CHECK_STRING.
57478         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
57479         <bp-checks.h>.
57480         (__lchown): Do not use CHECK_STRING.
57481         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
57482         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
57483         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
57484         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
57485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
57486         include <bp-checks.h>.
57487         (truncate64): Do not use CHECK_STRING.
57488         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
57489         <bp-checks.h>.
57490         (__real_chown): Do not use CHECK_STRING.
57491         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
57492         <bp-checks.h>.
57493         (__lchown): Do not use CHECK_STRING.
57494         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
57495         <bp-checks.h>.
57496         (__chown): Do not use CHECK_STRING.
57497         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
57498         <bp-checks.h>.
57499         (truncate64): Do not use CHECK_STRING.
57500         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
57501         Likewise.
57502         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
57503         (__xmknod): Do not use CHECK_STRING.
57504         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
57505         <bp-checks.h>.
57506         (__xmknodat): Do not use CHECK_STRING.
57507         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
57508         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
57510 2013-02-04  Andreas Schwab  <schwab@suse.de>
57512         [BZ #14142]
57513         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
57514         * include/netdb.h: Likewise for h_errno.
57515         * elf/tst-stackguard1.c: Include <tls.h>.
57517 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
57519         * elf/link.h (struct link_map): Extend the l_addr comment.
57520         * include/link.h (struct link_map): Likewise.
57522 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
57524         [BZ #13550]
57525         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
57526         (BOUNDED_1): Remove macro.
57527         * debug/backtrace.c: Don't include <bp-checks.h>.
57528         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
57529         (__backtrace): Likewise.
57530         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
57531         <bp-checks.h>.
57532         (__backtrace): Don't use BOUNDED_1.
57533         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
57534         <bp-checks.h>.
57535         (__backtrace): Don't use BOUNDED_1.
57536         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
57537         (__backtrace): Don't use BOUNDED_1.
57538         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
57539         (shmat): Don't use BOUNDED_N.
57541 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
57543         [BZ #13550]
57544         * sysdeps/generic/bp-start.h: Remove file.
57545         * csu/libc-start.c: Don't include <bp-start.h>.
57546         (LIBC_START_MAIN): Set up __environ directly instead of using
57547         INIT_ARGV_and_ENVIRON.
57548         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
57549         <bp-start.h>.
57551         [BZ #13550]
57552         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
57553         definitions.
57554         (CHECK_FCNTL): Likewise.
57555         (CHECK_N_PAGES): Likewise.
57557         [BZ #13550]
57558         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
57559         definitions.
57560         (CHECK_SIGSET_NULL_OK): Likewise.
57561         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
57562         <bp-checks.h>.
57563         (sigpending): Don't use CHECK_SIGSET.
57564         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
57565         <bp-checks.h>.
57566         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57567         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
57568         <bp-checks.h>.
57569         (do_sigsuspend): Don't use CHECK_SIGSET.
57570         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
57571         use CHECK_SIGSET.
57572         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
57573         (do_sigwait): Don't use CHECK_SIGSET.
57574         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
57575         use CHECK_SIGSET.
57576         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
57577         include <bp-checks.h>.
57578         (sigpending): Don't use CHECK_SIGSET.
57579         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
57580         include <bp-checks.h>.
57581         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57582         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
57583         <bp-checks.h>.
57584         (sigpending): Don't use CHECK_SIGSET.
57585         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
57586         <bp-checks.h>.
57587         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57589         [BZ #13550]
57590         * sysdeps/generic/bp-semctl.h: Remove file.
57591         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
57592         <bp-checks.h> and <bp-semctl.h>.
57593         (__old_semctl): Don't use CHECK_SEMCTL.
57594         (__new_semctl): Likewise.
57595         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
57596         and <bp-semctl.h>.
57597         (__old_semctl): Don't use CHECK_SEMCTL.
57598         (__new_semctl): Likewise.
57599         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
57600         <bp-checks.h> and <bp-semctl.h>.
57601         (__old_semctl): Don't use CHECK_SEMCTL.
57602         (__new_semctl): Likewise.
57603         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
57604         <bp-checks.h> and <bp-semctl.h>.
57605         (semctl): Don't use CHECK_SEMCTL.
57607         [BZ #13550]
57608         * Makerules (elide-bp-thunks): Remove variable.
57609         (elide-routines.oS): Don't use $(elide-bp-thunks).
57610         (elide-routines.os): Likewise.
57611         (elide-routines.o): Likewise.
57612         (elide-routines.op): Likewise.
57613         (elide-routines.og): Likewise.
57614         (objects): Don't use $(bp-thunks).
57615         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
57616         include.
57617         (common-generated): Do not add s-proto-bp.d.
57618         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
57619         (int): Likewise.
57620         (typ): Likewise.
57621         Do not generate makefile rules for bounded-pointer thunks.
57622         * sysdeps/generic/bp-thunks.h: Remove file.
57623         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
57624         * sysdeps/unix/s-proto-bp.S: Likewise.
57626         [BZ #15062]
57627         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
57628         parts of result separately when argument is not close to line from
57629         -i to i and one part of argument is small.
57630         * math/k_casinhf.c (__kernel_casinhf): Likewise.
57631         * math/k_casinhl.c (__kernel_casinhl): Likewise.
57632         * math/libm-test.inc (cacos_test): Add more tests.
57633         (casin_test): Likewise.
57634         (casinh_test): Likewise.
57635         * sysdeps/i386/fpu/libm-test-ulps: Update.
57636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57638 2013-01-31  David S. Miller  <davem@davemloft.net>
57640         * po/de.po: Update from translation team.
57642 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
57644         * time/tzfile.c: Include stdint.h for SIZE_MAX.
57646 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
57648         * configure.in (_AC_PROG_CC_C89): New definition.
57649         * configure: Regenerate.
57651         * configure.in (AC_PROG_CPP): New definition.
57652         * configure: Regenerate.
57654 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
57656         * debug/tst-backtrace.h: New file.
57657         * debug/tst-backtrace2.c: Include tst-backtrace.h.
57658         (ret): Remove variable.
57659         (x): Likewise.
57660         (FAIL): Remove macro.
57661         (NO_INLINE): Likewise.
57662         (fn1): Use match function instead of strstr.
57663         * debug/tst-backtrace3.c: Include tst-backtrace.h.
57664         (ret): Remove variable.
57665         (x): Likewise.
57666         (FAIL): Remove macro.
57667         (NO_INLINE): Likewise.
57668         (fn): Use match function instead of strstr.
57669         * debug/tst-backtrace4.c: Include tst-backtrace.h.
57670         (ret): Remove variable.
57671         (x): Likewise.
57672         (FAIL): Remove macro.
57673         (NO_INLINE): Likewise.
57674         (handle_signal): Use match function instead of strstr.
57675         * debug/tst-backtrace5.c: Include tst-backtrace.h.
57676         (ret): Remove variable.
57677         (x): Likewise.
57678         (FAIL): Remove macro.
57679         (NO_INLINE): Likewise.
57680         (handle_signal): Use match function instead of strstr.
57682 2013-01-23  Roland McGrath  <roland@hack.frob.com>
57684         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
57686 2013-01-23  David S. Miller  <davem@davemloft.net>
57688         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
57689         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
57690         argument of CAS if possible.
57691         * sysdeps/sparc/sparc64/bits/atomic.h
57692         (__arch_compare_and_exchange_val_32_acq): Likewise.
57693         (__arch_compare_and_exchange_val_64_acq): Likewise.
57695 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
57697         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
57698         * sysdeps/posix/ulimit.c: ... this.
57699         Include <limits.h>.
57700         * sysdeps/unix/bsd/ulimit.c: Remove file.
57702 2013-01-23  Adam Conrad  <adconrad@0c3.net>
57704         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
57705         (LDFLAGS-tst-array5): Likewise.
57707 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
57709         [BZ #15036]
57710         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
57711         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
57712         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
57713         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
57715 2013-01-21  David S. Miller  <davem@davemloft.net>
57717         * sysdeps/sparc/backtrace.c: New file.
57718         * sysdeps/sparc/sparc32/backtrace.h: New file.
57719         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
57720         * sysdeps/sparc/sparc64/backtrace.h: New file.
57721         * sysdeps/sparc/sparc64/backtrace.c: Delete.
57722         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
57723         -funwind-tables.
57725 2013-01-21  Andreas Schwab  <schwab@suse.de>
57727         [BZ #15020]
57728         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
57729         closed its stdout.
57731 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
57733         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
57734         "mpa2.h".
57735         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57737 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
57738             Mark Mitchell  <mark@codesourcery.com>
57739             Tom de Vries  <tom@codesourcery.com>
57740             Paul Pluzhnikov  <ppluzhnikov@google.com>
57742         * debug/tst-backtrace2.c: New file.
57743         * debug/tst-backtrace3.c: Likewise.
57744         * debug/tst-backtrace4.c: Likewise.
57745         * debug/tst-backtrace5.c: Likewise.
57746         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
57747         (CFLAGS-tst-backtrace3.c): Likewise.
57748         (CFLAGS-tst-backtrace4.c): Likewise.
57749         (CFLAGS-tst-backtrace5.c): Likewise.
57750         (LDFLAGS-tst-backtrace2): Likewise.
57751         (LDFLAGS-tst-backtrace3): Likewise.
57752         (LDFLAGS-tst-backtrace4): Likewise.
57753         (LDFLAGS-tst-backtrace5): Likewise.
57754         (tests): Add new tests tst-backtrace2, tst-backtrace3,
57755         tst-backtrace4 and tst-backtrace5.
57757 2013-01-18  Anton Blanchard  <anton@samba.org>
57758             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57760         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
57761         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
57762         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
57763         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
57764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57765         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
57766         "+r" and remove output regs list as redundant.  Add explicit inline
57767         asm to specify register of return val to work around compiler codegen
57768         bug.  Remove (int) cast on return value.  Add return type parameter to
57769         use in macro so that this macro does not truncate return value for
57770         64-bit values.
57771         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
57772         pass to INTERNAL_VSYSCALL_NCS.
57773         (INLINE_VSYSCALL): Add 'long int' as return type to
57774         INTERNAL_VSYSCALL_NCS macro invocation.
57775         (INTERNAL_VSYSCALL): Add 'long int' as return type to
57776         INTERNAL_VSYSCALL_NCS macro invocation.
57777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57779 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57781         [BZ #14496]
57782         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
57783         Fix application of SIMD FP exception mask.
57785         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
57786         mp_no from a power of two.
57787         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
57788         __mpexp_twomm1.  Use __pow_mp.
57790         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
57791         multiplication.
57793 2013-01-17  David S. Miller  <davem@davemloft.net>
57795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57797 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
57799         [BZ #15023]
57800         * include/complex.h: Condition contents on [!_COMPLEX_H].
57801         (__kernel_casinhf): New prototype.
57802         (__kernel_casinh): Likewise.
57803         (__kernel_casinhl): Likewise.
57804         * math/Makefile (libm_calls): Add k_casinh.
57805         * math/k_casinh.c: New file.
57806         * math/k_casinhf.c: Likewise.
57807         * math/k_casinhl.c: Likewise.
57808         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
57809         finite nonzero arguments.
57810         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
57811         finite nonzero arguments.
57812         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
57813         finite nonzero arguments.
57814         * math/s_casinh.c: Do not include <float.h>.
57815         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
57816         * math/s_casinhf.c: Do not include <float.h>.
57817         (__casinhf): Move code for finite nonzero arguments to
57818         k_casinhf.c.
57819         * math/s_casinhl.c: Do not include <float.h>.
57820         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
57821         redefine.
57822         (__casinhl): Move code for finite nonzero arguments to
57823         k_casinhl.c.
57824         * math/libm-test.inc (cacos_test): Add more tests.
57825         * sysdeps/i386/fpu/libm-test-ulps: Update.
57826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57828 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
57830         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
57831         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
57832         [!HAVE_MREMAP]: Remove [defined linux] case.
57833         * malloc/arena.c: Do not include <malloc-sysdep.h>.
57835 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
57837         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
57839 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
57841         * elf/elf.h (R_386_SIZE32): New relocation.
57842         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
57843         R_386_SIZE32.
57844         (elf_machine_rela): Likewise.
57845         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
57846         R_X86_64_SIZE64 and R_X86_64_SIZE32.
57848 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
57850         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
57851         (FP_FAST_FMA): Do not define.
57852         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
57853         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
57854         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
57855         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
57856         !_SOFT_FLOAT]: Likewise.
57857         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
57858         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
57859         value.
57860         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
57861         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
57862         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
57863         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
57864         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
57865         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
57866         file.
57868 2013-01-16  Andreas Schwab  <schwab@suse.de>
57870         [BZ #14327]
57871         * include/stdlib.h (__mktemp): Add declaration.
57872         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
57873         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
57875 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57877         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
57878         definitions.
57879         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
57880         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
57881         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
57882         definitions here.
57883         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
57884         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
57885         definitions.
57886         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
57887         and ONE.
57888         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
57889         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
57890         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
57891         definitions.
57892         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
57893         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
57894         definitions.
57895         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57897         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
57899 2013-01-15  David S. Miller  <davem@davemloft.net>
57901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57902         trunc{,f} to libm-sysdep_routes.
57903         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
57905         file.
57906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
57907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
57908         file.
57909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
57910         file.
57911         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
57912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
57913         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
57914         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
57915         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
57916         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
57917         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
57918         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
57920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57921         nearbyint{,f} to libm-sysdep_routes.
57922         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
57924         New file.
57925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
57926         file.
57927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
57928         New file.
57929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
57930         file.
57931         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
57932         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
57933         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
57934         file.
57935         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
57936         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
57937         file.
57938         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
57939         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
57940         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
57942         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
57943         libc_feholdexcept and libc_fesetenv.
57945 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
57947         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
57949 2013-01-14  David S. Miller  <davem@davemloft.net>
57951         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
57952         (SPARC_ASM_VIS2_IFUNC): Likewise.
57953         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
57954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
57955         use of 'siam' instruction.
57956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
57957         Likewise.
57958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
57959         Likewise.
57960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
57961         Likewise.
57962         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
57963         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
57964         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
57965         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
57966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
57967         file.
57968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
57969         file.
57970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
57971         file.
57972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
57973         file.
57974         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
57975         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
57976         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
57977         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
57978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
57979         new VIS2 routines.
57980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
57981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
57982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
57983         Likewise.
57984         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
57985         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
57986         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
57987         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
57988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
57989         routines to libm-sysdep_routines.
57990         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57993         fdim/fdimf to libm-sysdep_routines.
57994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
57995         file.
57996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
57997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
57998         file.
57999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
58000         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
58001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
58002         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
58003         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
58004         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
58005         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
58007 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58009         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
58010         to optimize copies.
58012         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
58013         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
58014         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58016         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
58017         local variable MPTWO.
58018         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
58019         Likewise.
58021 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
58023         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
58024         GLOB_NOESCAPE.
58026 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
58028         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
58030 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
58032         * manual/pattern.texi (glob_t): Document gl_flags.
58033         (glob64_t): Likewise.
58035 2013-01-11  David S. Miller  <davem@davemloft.net>
58037         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
58038         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
58039         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
58040         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
58041         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
58042         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
58043         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
58044         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
58045         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
58046         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
58047         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
58048         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
58049         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
58051         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
58052         sparc V9 rather than using V8 code.
58053         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
58054         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
58056         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
58057         Move to...
58058         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
58059         Here.
58061 2013-01-11  Roland McGrath  <roland@hack.frob.com>
58063         [BZ #14941]
58064         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
58065         not in the main loop.
58066         * configure: Regenerated.
58068 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
58070         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
58071         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
58072         to just #else.
58073         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
58074         [!__GLIBC_HAVE_LONG_LONG] case.
58075         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
58076         condition to just #else.
58077         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
58078         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
58079         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
58080         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
58081         unconditional.
58082         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
58083         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
58084         #elif condition to just #else.
58085         * sysdeps/unix/sysv/linux/sys/sysmacros.h
58086         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
58087         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
58088         #elif condition to just #else.
58090 2013-01-11  Steve Ellcey  <sellcey@mips.com>
58092         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
58093         (EF_MIPS_ARCH_64): Fix value.
58094         (EF_MIPS_ARCH_32R2): New.
58095         (EF_MIPS_ARCH_64R2): New.
58097 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
58099         * Makeconfig (+link-pie-before-libc): New.
58100         (+link-pie-after-libc): Likewise.
58101         (+link-pie-tests): Likewise.
58102         (+link-pie): Rewritten.
58103         (link-before-libc): Remove $(config-LDFLAGS).
58104         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
58105         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
58106         (config-LDFLAGS): Renamed to ...
58107         (rtld-LDFLAGS): This.
58108         (rtld-tests-LDFLAGS): New macro.
58109         (link-libc-rpath-link): Likewise.
58110         (link-libc-tests-rpath-link): Likewise.
58111         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
58112         (link-libc): Prepand $(link-libc-rpath-link).
58113         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
58114         (test-program-prefix): New macro.
58115         (test-via-rtld-prefix): Likewise.
58116         (test-program-cmd): Likewise.
58117         (host-test-program-cmd): Likewise.
58118         * Makefile ($(common-objpfx)testrun.sh): Replace
58119         $(run-program-prefix) with $(test-program-prefix).
58120         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
58121         $(rtld-LDFLAGS).
58122         ($(common-objpfx)shlib.lds): Likewise.
58123         (build-module-helper): Likewise.
58124         ($(common-objpfx)format.lds): Likewise.
58125         * Rules (binaries-pie-tests): New.
58126         (binaries-pie-notests): Likewise.
58127         (binaries-pie): Rewritten.
58128         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
58129         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
58130         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
58131         (make-test-out): Replace $(host-built-program-cmd) with
58132         $(host-test-program-cmd).
58133         * config.make.in (build-hardcoded-path-in-tests): New variable.
58134         * configure.in (--enable-hardcoded-path-in-tests): New configure
58135         option.
58136         (hardcoded_path_in_tests): New AC_SUBST.
58137         * configure: Regenerated.
58138         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
58139         $(built-program-cmd) with $(test-program-cmd).
58140         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
58141         (test_program_cmd): This.
58142         * elf/Makefile ($(objpfx)order.out): Run test with
58143         $(test-program-prefix).
58144         ($(objpfx)order2.out): Likewise.
58145         ($(objpfx)tst-initorder.out): Likewise.
58146         ($(objpfx)tst-initorder2.out): Likewise.
58147         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
58148         $(test-program-cmd).
58149         ($(objpfx)tst-array1-static.out): Likewise.
58150         ($(objpfx)tst-array2.out): Likewise.
58151         ($(objpfx)tst-array3.out): Likewise.
58152         ($(objpfx)tst-array4.out): Likewise.
58153         ($(objpfx)tst-array5.out): Likewise.
58154         ($(objpfx)tst-array5-static.out): Likewise.
58155         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
58156         $(test-program-cmd).
58157         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
58158         $(run-program-prefix) with $(test-program-prefix).
58159         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
58160         (test_program_prefix): This.
58161         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
58162         $(run-program-prefix) with $(test-program-prefix).
58163         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
58164         (test_program_prefix): This.
58165         * iconvdata/tst-tables.sh: Likewise.
58166         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
58167         $(run-program-prefix) with $(test-program-prefix).
58168         ($(objpfx)tst-translit.out): Likewise.
58169         ($(objpfx)tst-gettext2.out): Likewise.
58170         ($(objpfx)tst-gettext4.out): Likewise.
58171         ($(objpfx)tst-gettext6.out): Likewise.
58172         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
58173         (test_program_prefix): This.
58174         * intl/tst-gettext2.sh: Likewise.
58175         * intl/tst-gettext4.sh  Likewise.
58176         * intl/tst-gettext6.sh: Likewise.
58177         * intl/tst-translit.sh: Likewise.
58178         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
58179         with $(test-program-cmd).
58180         * libio/Makefile ($(objpfx)test-freopen.out): Replace
58181         $(run-program-prefix) with $(test-program-prefix).
58182         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
58183         (test_program_prefix): This.
58184         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
58185         $(run-program-prefix) with $(test-program-prefix).
58186         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
58187         (test_program_prefix): This.
58188         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
58189         * posix/Makefile ($(objpfx)globtest.out): Replace
58190         $(run-via-rtld-prefix) and $(test-wrapper) with
58191         $(test-program-prefix) and $(test-via-rtld-prefix).
58192         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
58193         $(test-program-prefix).
58194         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
58195         $(host-test-program-cmd).
58196         (tst-spawn-ARGS): Likewise.
58197         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
58198         $(test-program-prefix).
58199         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
58200         (test_via_rtld_prefix): This.
58201         (test_wrapper): Renamed to ...
58202         (test_program_prefix): This.
58203         (run_program_prefix): Replaced by test_program_prefix.
58204         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
58205         (test_program_prefix): This.
58206         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
58207         with $(host-test-program-cmd).
58208         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
58209         $(run-program-prefix) with $(test-program-prefix).
58210         ($(objpfx)tst-printf.out): Likewise.
58211         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
58212         $(test-program-cmd).
58213         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
58214         (test_program_prefix): This.
58215         * stdio-common/tst-unbputc.sh: Likewise.
58216         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
58217         $(run-program-prefix) with $(test-program-prefix).
58218         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
58219         (test_program_prefix): This.
58220         * string/Makefile ($(objpfx)tst-svc.out):  Replace
58221         $(built-program-cmd) with $(test-program-cmd).
58223 2013-01-11  Andreas Jaeger  <aj@suse.de>
58225         [BZ #15003]
58226         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
58227         value. Sync with Linux 3.7.
58229 2013-01-10  David S. Miller  <davem@davemloft.net>
58231         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
58232         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
58233         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
58235 2013-01-10  Roland McGrath  <roland@hack.frob.com>
58237         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
58238         never set.
58239         * configure: Regenerated.
58241 2013-01-10  David S. Miller  <davem@davemloft.net>
58243         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
58244         sparc V9 rather than using V8 code.
58245         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
58246         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
58248 2013-01-10  Roland McGrath  <roland@hack.frob.com>
58250         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
58251         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
58252         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
58253         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
58254         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
58255         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
58256         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
58257         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
58258         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
58259         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
58260         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
58261         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
58262         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
58263         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
58264         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
58265         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
58266         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
58267         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
58268         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
58269         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
58270         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
58271         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
58272         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
58273         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
58274         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
58275         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
58276         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
58278 2013-01-10  David S. Miller  <davem@davemloft.net>
58280         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58282 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
58284         * posix/Makefile (tests-static): New variable.
58285         (tests): Add $(tests-static).
58286         (tst-exec-static-ARGS): New variable.
58287         (tst-spawn-static-ARGS): Likewise.
58288         * posix/tst-exec-static.c: New file.
58289         * posix/tst-spawn-static.c: Likewise.
58290         * posix/tst-exec.c: Support run directly.
58291         * posix/tst-spawn.c: Likewise.
58293 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
58295         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
58296         long.
58297         * math/bits/mathcalls.h (llrint): Likewise.
58298         (llround): Likewise.
58299         * stdlib/stdlib.h (struct drand48_data): Likewise.
58300         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
58301         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
58302         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
58303         Likewise.
58304         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
58305         Likewise.
58306         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
58307         (elf_greg_t): Likewise.
58308         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
58309         (__jmp_buf): Likewise.
58310         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
58311         definitions.
58312         (llrint): Likewise, for all definitions.
58313         (llrintl): Likewise.
58315         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
58316         Remove [__GNUC__] condition.
58317         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
58318         condition to just [__USE_ISOC99].
58319         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
58321 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
58323         [BZ #14200]
58324         * sysdeps/unix/sysv/linux/x86/bits/environments.h
58325         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
58326         defined.
58327         (_POSIX_V6_ILP32_OFF32): Likewise.
58328         (_XBS5_ILP32_OFF32): Likewise.
58329         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
58330         (__ILP32_OFFBIG_LDFLAGS): Likewise.
58332 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58334         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
58336         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
58337         doubles __mpexp_twomm1.  Adjust usage.
58338         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
58339         Remove.
58341 2013-01-10  Andreas Schwab  <schwab@suse.de>
58343         [BZ #14964]
58344         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
58345         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
58347 2013-01-09  David S. Miller  <davem@davemloft.net>
58349         [BZ #15003]
58350         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
58351         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
58352         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
58353         (TCP_FASTOPEN): Define.
58354         (tcp_repair_opt): New structure.
58355         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
58356         enum values.
58357         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
58358         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
58359         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
58360         (tcp_cookie_transactions): New structure.
58362 2013-01-09  Anton Blanchard  <anton@samba.org>
58364         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
58365         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
58366         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
58367         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
58369 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
58371         * include/features.h (__USE_ANSI): Remove.
58373 2013-01-09  Roland McGrath  <roland@hack.frob.com>
58375         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
58377         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
58379 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
58381         * sysdeps/s390/fpu/libm-test-ulps: Update.
58383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58385         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
58386         (__acr): Likewise.
58387         (__cpy): Likewise.
58388         (norm): Likewise.
58389         (denorm): Likewise.
58390         (__mp_dbl): Likewise.
58391         (__dbl_mp): Likewise.
58392         (add_magnitudes): Likewise.
58393         (sub_magnitudes): Likewise.
58394         (__add): Likewise.
58395         (__sub): Likewise.
58396         (__mul): Likewise.
58397         (__inv): Likewise.
58398         (__dvd): Likewise.
58399         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
58400         (__acr): Likewise.
58401         (__cpy): Likewise.
58402         (norm): Likewise.
58403         (denorm): Likewise.
58404         (__mp_dbl): Likewise.
58405         (__dbl_mp): Likewise.
58406         (add_magnitudes): Likewise.
58407         (sub_magnitudes): Likewise.
58408         (__add): Likewise.
58409         (__sub): Likewise.
58410         (__mul): Likewise.
58411         (__inv): Likewise.
58412         (__dvd): Likewise.
58413         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
58414         (__acr): Likewise.
58415         (__cpy): Likewise.
58416         (norm): Likewise.
58417         (denorm): Likewise.
58418         (__mp_dbl): Likewise.
58419         (__dbl_mp): Likewise.
58420         (add_magnitudes): Likewise.
58421         (sub_magnitudes): Likewise.
58422         (__add): Likewise.
58423         (__sub): Likewise.
58424         (__mul): Likewise.
58425         (__inv): Likewise.
58426         (__dvd): Likewise.
58428 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
58430         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
58431         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
58432         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
58433         2 && __USE_EXTERN_INLINES]: Likewise.
58435 2013-01-08  Andreas Jaeger  <aj@suse.de>
58437         [BZ# 14985]
58438         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
58439         Remove.
58440         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
58441         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
58443 2013-01-07  Anton Blanchard  <anton@samba.org>
58445         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
58446         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
58447         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
58448         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
58449         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
58450         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58451         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
58452         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
58453         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
58454         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
58455         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58456         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58457         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
58458         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58459         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
58460         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58461         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58462         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58463         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
58464         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
58465         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
58466         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
58467         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58468         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
58469         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
58470         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
58471         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
58472         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
58473         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
58474         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
58475         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
58476         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58477         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
58478         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
58479         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
58480         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58481         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58482         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
58483         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
58484         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58485         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
58486         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58487         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58489 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
58491         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
58492         (__MALLOC_PMT): Likewise.
58493         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
58494         [__GNUC__], only on [_LIBC].
58495         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
58496         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
58497         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
58498         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
58499         forward declaration.
58500         (realloc_hook_ini): Likewise.
58501         (memalign_hook_ini): Likewise.
58502         (__libc_memalign): Do not use __MALLOC_PMT in variable
58503         declaration.
58504         (__libc_valloc): Likewise.
58505         (__libc_pvalloc): Likewise.
58506         (__libc_calloc): Likewise.
58507         (__posix_memalign): Likewise.
58509         [BZ #14996]
58510         * math/s_casinh.c: Include <float.h>.
58511         (__casinh): Do not do computation with squaring and square root
58512         for large arguments.
58513         * math/s_casinhf.c: Include <float.h>.
58514         (__casinhf): Do not do computation with squaring and square root
58515         for large arguments.
58516         * math/s_casinhl.c: Include <float.h>.
58517         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
58518         (__casinhl): Do not do computation with squaring and square root
58519         for large arguments.
58520         * math/libm-test.inc (casin_test): Add more tests.
58521         (casinh_test): Likewise.
58522         * sysdeps/i386/fpu/libm-test-ulps: Update.
58523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58525 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
58527         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
58528         (__x86_64_raw_data_cache_size): Likewise.
58529         (__x86_64_data_cache_size_half): Likewise.
58530         (__x86_64_raw_data_cache_size_half): Likewise.
58531         (__x86_64_shared_cache_size): Likewise.
58532         (__x86_64_raw_shared_cache_size): Likewise.
58533         (__x86_64_shared_cache_size_half): Likewise.
58534         (__x86_64_raw_shared_cache_size_half): Likewise.
58535         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
58536         to ...
58537         (__x86_data_cache_size): This.
58538         (__x86_64_raw_data_cache_size): Renamed to ...
58539         (__x86_raw_data_cache_size): This.
58540         (__x86_64_data_cache_size_half): Renamed to ...
58541         (__x86_data_cache_size_half): This.
58542         (__x86_64_raw_data_cache_size_half): Renamed to ...
58543         (__x86_raw_data_cache_size_half): This.
58544         (__x86_64_shared_cache_size): Renamed to ...
58545         (__x86_shared_cache_size): This.
58546         (__x86_64_raw_shared_cache_size): Renamed to ...
58547         (__x86_raw_shared_cache_size): This.
58548         (__x86_64_shared_cache_size_half): Renamed to ...
58549         (__x86_shared_cache_size_half): This.
58550         (__x86_64_raw_shared_cache_size_half): Renamed to ...
58551         (__x86_raw_shared_cache_size_half): This.
58552         * sysdeps/x86_64/memcpy.S: Updated.
58553         * sysdeps/x86_64/memset.S: Likewise.
58554         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
58555         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58556         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58558 2013-01-04  David S. Miller  <davem@davemloft.net>
58560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58562 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
58564         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
58565         1 to avoid redefinition warning.
58566         (__USE_GNU): Don't define.
58567         (init_signaling_nan): Protoize.
58569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58571 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58573         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
58574         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
58575         (__cpymn): Likewise.
58576         (norm): Remove commented code.
58577         (denorm): Likewise.
58578         (__mp_dbl): Likewise.
58579         (__inv): Likewise.
58580         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
58581         (__cpymn): Likewise.
58582         (norm): Remove commented code.
58583         (denorm): Likewise.
58584         (__mp_dbl): Likewise.
58585         (__inv): Likewise.
58587         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
58588         mp_no value for 1.0 and 2.0.
58589         (norm): Use RADIXI instead of radixi.d.
58590         (denorm): Likewise.
58591         (__mul): Use 0.0 instead of zero.d.
58592         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
58593         mp_no value for 1.0 and 2.0.
58594         (norm): Use RADIXI instead of radixi.d.
58595         (denorm): Likewise.
58596         (__mul): Use 0.0 instead of zero.d.
58598 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
58600         [BZ #14994]
58601         * math/s_casinh.c (__casinh): Reduce finite argument to first
58602         quadrant then set signs of results at the end.
58603         * math/s_casinhf.c (__casinhf): Likewise.
58604         * math/s_casinhl.c (__casinhl): Likewise.
58605         * math/libm-test.inc (casin_test): Add more tests.
58606         (casinh_test): Likewise.
58607         * sysdeps/i386/fpu/libm-test-ulps: Update.
58608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58610 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58612         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
58614         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
58616         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
58617         declarations.
58618         (denorm): Likewise.
58619         (__mp_dbl): Likewise.
58620         (__inv): Likewise.
58622         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
58623         and adjust the header comment.
58625         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
58626         variable name from declaration.
58628 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
58630         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58631         Initialize COMMON_CPUID_INDEX_7 element.
58632         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
58633         (CPUID_RTM): Likewise.
58634         (HAS_RTM): Likewise.
58635         (COMMON_CPUID_INDEX_7): New enum.
58637 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
58639         [BZ #14981]
58640         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
58641         size is zero, record memory as freed.
58643 2013-01-03  Andreas Jaeger  <aj@suse.de>
58645         * po/ia.po: Add new Interlingua translation.
58647 2012-01-03  Allan McRae  <allan@archlinux.org>
58649         * locale/programs/localedef.c: Fix description of '--posix' flag.
58651 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
58653         * NEWS: Update dates in second copyright notice.
58654         * README: Update copyright dates in example.
58655         * manual/libc.texinfo: Update copyright dates.
58656         * scripts/test-installation.pl: Update copyright date in --version
58657         output.
58659         * hurd/ctty-input.c: Fix copyright notice formatting.
58660         * hurd/ctty-output.c: Likewise.
58661         * hurd/dtable.c: Likewise.
58662         * hurd/hurd-raise.c: Likewise.
58663         * hurd/hurdprio.c: Likewise.
58664         * hurd/msgportdemux.c: Likewise.
58665         * misc/sys/file.h: Likewise.
58666         * misc/sys/ioctl.h: Likewise.
58667         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
58668         * sysdeps/mach/hurd/chdir.c: Likewise.
58669         * sysdeps/mach/hurd/fchdir.c: Likewise.
58670         * sysdeps/mach/hurd/rename.c: Likewise.
58671         * sysdeps/mach/hurd/rmdir.c: Likewise.
58672         * sysdeps/mach/hurd/seekdir.c: Likewise.
58673         * sysdeps/mach/hurd/setsid.c: Likewise.
58674         * sysdeps/posix/wait3.c: Likewise.
58676         * All files with FSF copyright notices: Update copyright dates
58677         using scripts/update-copyrights.
58678         * intl/plural.c: Regenerated.
58679         * locale/programs/charmap-kw.h: Likewise.
58680         * locale/programs/locfile-kw.h: Likewise.
58682 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
58684         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
58685         four values.
58687         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
58688         calculation loop and add branch prediction.
58690         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
58691         check access beyond bounds of m1np.
58693         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
58694         MPTWO.
58695         (__inv): Remove local variable MPTWO to use the global
58696         constant.
58697         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
58698         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
58699         variable MPTWO.
58700         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
58701         MP3HALFS static const.
58703 2013-01-01  David S. Miller  <davem@davemloft.net>
58705         * po/ca.po: Update from translation team.
58707 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
58709         * scripts/update-copyrights: New file.
58710         * Makeconfig: Reformat copyright notice.
58711         * ctype/ctype.h: Likewise.
58712         * debug/swprintf_chk.c: Likewise.
58713         * elf/dl-cache.c: Likewise.
58714         * elf/dl-debug.c: Likewise.
58715         * elf/dl-object.c: Likewise.
58716         * grp/initgroups.c: Likewise.
58717         * hurd/Makefile: Likewise.
58718         * hurd/hurd/signal.h: Likewise.
58719         * hurd/hurdfault.c: Likewise.
58720         * hurd/hurdioctl.c: Likewise.
58721         * hurd/hurdlookup.c: Likewise.
58722         * hurd/intr-msg.c: Likewise.
58723         * iconv/gconv_open.c: Likewise.
58724         * libio/swprintf.c: Likewise.
58725         * locale/lc-ctype.c: Likewise.
58726         * locale/nl_langinfo.c: Likewise.
58727         * mach/Machrules: Likewise.
58728         * mach/Makefile: Likewise.
58729         * malloc/obstack.h: Likewise.
58730         * manual/Makefile: Likewise.
58731         * manual/tsort.awk: Likewise.
58732         * misc/bits/stab.def: Likewise.
58733         * nis/nis_print_group_entry.c: Likewise.
58734         * nis/nis_table.c: Likewise.
58735         * nis/nss_compat/compat-pwd.c: Likewise.
58736         * nis/nss_compat/compat-spwd.c: Likewise.
58737         * po/Makefile: Likewise.
58738         * posix/fnmatch.c: Likewise.
58739         * posix/regex.h: Likewise.
58740         * resolv/Makefile: Likewise.
58741         * resolv/nss_dns/dns-network.c: Likewise.
58742         * resolv/res_hconf.c: Likewise.
58743         * scripts/gen-sorted.awk: Likewise.
58744         * soft-fp/soft-fp.h: Likewise.
58745         * stdio-common/printf.h: Likewise.
58746         * stdlib/monetary.h: Likewise.
58747         * stdlib/random.c: Likewise.
58748         * stdlib/random_r.c: Likewise.
58749         * sysdeps/generic/Makefile: Likewise.
58750         * sysdeps/gnu/Makefile: Likewise.
58751         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58752         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58753         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58754         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58755         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58756         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58757         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58758         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58759         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58760         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58761         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58762         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58763         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58764         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58765         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
58766         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58767         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58768         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58769         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58770         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58771         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58772         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58773         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58774         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
58775         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
58776         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58777         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
58778         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
58779         * sysdeps/mach/hurd/errnos.awk: Likewise.
58780         * sysdeps/mach/hurd/fork.c: Likewise.
58781         * sysdeps/mach/hurd/getcwd.c: Likewise.
58782         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
58783         * sysdeps/mach/hurd/mmap.c: Likewise.
58784         * sysdeps/mach/hurd/utimes.c: Likewise.
58785         * sysdeps/mach/hurd/xmknod.c: Likewise.
58786         * sysdeps/posix/profil.c: Likewise.
58787         * sysdeps/posix/readdir_r.c: Likewise.
58788         * sysdeps/powerpc/bits/mathdef.h: Likewise.
58789         * sysdeps/powerpc/bits/setjmp.h: Likewise.
58790         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
58791         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
58792         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
58793         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
58794         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
58795         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58796         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58797         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
58798         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
58799         * sysdeps/pthread/lio_listio.c: Likewise.
58800         * sysdeps/sparc/dl-procinfo.h: Likewise.
58801         * sysdeps/unix/i386/sysdep.S: Likewise.
58802         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
58803         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
58804         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
58805         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
58806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58807         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
58808         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
58809         * sysdeps/unix/sysv/linux/speed.c: Likewise.
58810         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
58811         * sysdeps/wordsize-32/divdi3.c: Likewise.
58812         * time/sys/time.h: Likewise.
58813         * wcsmbs/Makefile: Likewise.
58815 2013-01-01  David S. Miller  <davem@davemloft.net>
58817         * po/fr.po: Update from translation team.
58819         * catgets/gencat.c: Update copyright year.
58820         * csu/version.c: Likewise.
58821         * debug/catchsegv.sh: Likewise.
58822         * debug/pcprofiledump.c: Likewise.
58823         * debug/xtrace.sh: Likewise.
58824         * elf/ldconfig.c: Likewise.
58825         * elf/ldd.bash.in: Likewise.
58826         * elf/pldd.c: Likewise.
58827         * elf/sotruss.ksh: Likewise.
58828         * elf/sprof.c: Likewise.
58829         * iconv/iconv_prog.c: Likewise.
58830         * iconv/iconvconfig.c: Likewise.
58831         * locale/programs/locale.c: Likewise.
58832         * locale/programs/localedef.c: Likewise.
58833         * login/programs/pt_chown.c: Likewise.
58834         * malloc/memusage.sh: Likewise.
58835         * malloc/memusagestat.c: Likewise.
58836         * malloc/mtrace.pl: Likewise.
58837         * nscd/nscd.c: Likewise.
58838         * nss/getent.c: Likewise.
58839         * nss/makedb.c: Likewise.
58840         * posix/getconf.c: Likewise.
58842 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
58844         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
58845         numbers.
58847 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
58849         * math/bits/mathcalls.h (modf): Use __nonnull.
58851 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58853         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
58854         (split): Use macro CN instead of the bare value.
58855         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
58856         could be used.
58857         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
58858         instead of the bare value.
58859         (power1): Likewise.
58861 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58863         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
58864         __ATAN_TWOM.
58865         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58867         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
58868         their values.
58869         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
58870         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58871         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
58872         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
58874 2012-12-28  Andreas Jaeger  <aj@suse.de>
58876         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
58877         values are from Linux 3.7.
58879         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
58880         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
58882 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58884         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
58885         TRUE case.
58887         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
58888         (norm): Likewise.
58889         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
58890         variables with preprocessor constants.
58891         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58892         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58893         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58895 2012-12-27  Bruno Haible  <bruno@clisp.org>
58897         [BZ #14317]
58898         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
58899         only if needed.
58901 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58903         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
58904         and use variable directly.
58905         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
58907         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
58908         MPONE.
58909         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
58910         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
58911         variable MPONE.
58912         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58913         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
58914         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
58915         include directive.  Remove local variable MPONE.
58916         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
58917         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
58918         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58920 2012-12-25  David S. Miller  <davem@davemloft.net>
58922         * version.h (RELEASE): Set to "development".
58923         (VERSION): Set to "2.17.90".
58924         * NEWS: Add 2.18 section.
58926 2012-12-21  David S. Miller  <davem@davemloft.net>
58928         * po/hr.po: Update from translation team.
58930 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58932         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
58934 2012-12-19  Steve Ellcey  <sellcey@mips.com>
58936         * NEWS:  Mention new memcpy for MIPS.
58938 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58940         * manual/contrib.texi (Contributors): Spelling correction.
58942 2012-12-15  David S. Miller  <davem@davemloft.net>
58944         * po/ru.po: Update from translation team.
58946 2012-12-13  David S. Miller  <davem@davemloft.net>
58948         * NEWS: Mention IFUNC testsuite enhancements.
58950         * po/pl.po: Update from translation team.
58951         * po/bg.po: Likewise.
58953         * manual/contrib.texi (Contributors): Update entries for Hongjiu
58954         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
58956 2012-12-11  David S. Miller  <davem@davemloft.net>
58958         * po/sv.po: Update from translation team.
58960         * po/vi.po: Update from translation team.
58962         * po/cs.po: Update from translation team.
58964         * po/de.po: Update from translation team.
58965         * po/eo.po: Likewise.
58966         * po/nl.po: Likewise.
58968 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58970         [BZ #14246]
58971         * manual/argp.texi (Argp Helper Functions): Move node to follow
58972         Argp Parsing State.
58974         [BZ #14872]
58975         * manual/conf.texi (Limits on File System Capacity): Mention if
58976         terminating null is included in the max size.
58978 2012-12-10  Andreas Jaeger  <aj@suse.de>
58980         * po/cs.po: Update from translation team.
58982 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
58984         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
58985         void pointer and cast to uintptr_t.
58986         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
58987         path.
58988         * sysdeps/s390/s390-64/memcpy.S: Likewise.
58989         * sysdeps/s390/s390-64/memset.S: Likewise.
58991 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
58993         [BZ #14833]
58994         * menual/message.texi (Message Translation): Fix typos.
58995         (Helper programs for gettext): Likewise.
58997 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
58999         [BZ #14898]
59000         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
59001         Change to -1.
59003 2012-12-07  David S. Miller  <davem@davemloft.net>
59005         * po/libc.pot: Update.
59007 2012-12-07  Richard Henderson  <rth@redhat.com>
59009         [BZ #10114]
59010         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
59011         normal/normal case to before the switch.
59012         (_FP_DIV): Likewise.
59014 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
59015             Mike Frysinger  <vapier@gentoo.org>
59017         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
59018         check for __NR_fadvise64_64.
59020 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
59022         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
59023         0, not just to plain "0" as a statement.
59024         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
59025         with cw.
59027 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
59029         * NEWS: Use sourceware.org in Bugzilla URL.
59031 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
59033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
59034         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
59036         * stdio-common/tst-put-error.c (do_test): Add newline to the
59037         padded test to ensure flush.
59039 2012-12-05  Jeff Law  <law@redhat.com>
59041         * sunrpc/etc.rpc (fedfs_admin): Add entry.
59043 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
59045         * README: Don't refer to ports add-on as distributed separately.
59046         Mention AArch64 in list of systems supported in the ports add-on.
59048         * LICENSES: Add more non-FSF copyright and license notices.
59050         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
59051         ((unused)).
59053         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
59055         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
59056         10000 as width of padded output.
59058 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
59060         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
59062         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
59063         variable LX with __attribute__ ((unused)).
59064         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
59065         Likewise.
59066         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
59067         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59068         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
59069         with __attribute__ ((unused)).
59071 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
59073         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
59075 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
59077         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
59078         (CFLAGS-nldbl-acos.c): New variable.
59079         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
59080         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
59081         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
59082         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
59083         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
59084         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
59085         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
59086         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
59087         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
59088         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
59089         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
59090         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
59091         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
59092         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
59093         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
59094         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
59095         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
59096         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
59097         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
59098         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
59099         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
59100         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
59101         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
59102         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
59103         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
59104         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
59105         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
59106         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
59107         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
59108         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
59109         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
59110         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
59111         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
59112         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
59113         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
59114         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
59115         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
59116         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
59117         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
59118         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
59119         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
59120         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
59121         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
59122         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
59123         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
59124         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
59125         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
59126         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
59127         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
59128         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
59129         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
59130         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
59131         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
59132         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
59133         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
59134         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
59135         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
59136         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
59137         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
59138         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
59139         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
59140         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
59141         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
59142         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
59143         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
59144         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
59145         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
59146         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
59147         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
59148         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
59149         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
59150         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
59151         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
59152         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
59153         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
59154         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
59155         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
59156         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
59157         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
59158         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
59159         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
59160         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
59161         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
59162         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
59163         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
59164         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
59165         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
59166         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
59167         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
59168         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
59169         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
59170         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
59171         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
59172         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
59173         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
59174         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
59175         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
59177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
59178         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
59180         [BZ #14914]
59181         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
59182         whole low double instead of just low 47 bits when splitting values
59183         into two parts.
59185 2012-12-03  Allan McRae  <allan@archlinux.org>
59187         * manual/stdio.texi (Predefined Printf Handlers): Remove
59188         @hsep and @vsep usage.
59190 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
59192         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
59193         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
59195 2012-12-03  Jeff Law  <law@redhat.com>
59197         * time/sys/time.h (settimeofday): Do not mark TV argument
59198         as __nonnull.
59200 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
59202         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
59203         when currently writing and seek to current position when not.
59204         * libio/Makefile (tests): Remove bug-fclose1.
59205         * libio/bug-fclose1.c: Delete.
59207 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
59209         * manual/arith.texi (feenableexcept): Fix typo.
59210         (fedisableexcept): Likewise.
59212 2012-11-30  Roland McGrath  <roland@hack.frob.com>
59214         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
59215         second, differently-typed declaration, rather than a cast.
59217 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
59219         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
59220         * include/rpc/svc.h: ... here.
59222 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
59224         [BZ #13013]
59225         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
59226         depending n and resplen2 to catch cases where answer
59227         equals answerp2.
59229 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
59231         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
59232         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
59234 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
59236         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
59238 2012-11-29  Roland McGrath  <roland@hack.frob.com>
59240         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
59242 2012-11-28  Jeff Law  <law@redhat.com>
59244         [BZ #13761]
59245         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
59246         dataset_temporary.  Track alloca usage into alloca_used.
59247         If dataset is large allocate and release it via malloc/free.
59249 2012-06-04  Florian Weimer  <fweimer@redhat.com>
59251         [BZ #14197]
59252         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
59254 2012-11-28  David S. Miller  <davem@davemloft.net>
59256         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59258 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
59260         [BZ #14803]
59261         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
59262         of pi/2 rounded to nearest to 64 bits.
59263         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
59264         nearest to 64 bits.
59265         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
59266         bits.
59268 2012-11-28  Jeff Law <law@redhat.com>
59269             Martin Osvald <mosvald@redhat.com>
59271         [BZ #14889]
59272         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
59273         * sunrpc/svc.c: Include time.h.
59274         (__svc_accept_failed): New function.
59275         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
59276         any reason other than EINTR, call __svc_accept_failed.
59277         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
59278         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
59280 2012-11-28  Andreas Schwab  <schwab@suse.de>
59282         * scripts/abilist.awk: Also handle indirect functions in .opd
59283         section.
59285 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
59287         [BZ #13881]
59288         * sysdeps/x86/fpu/powl_helper.c: New file.
59289         * sysdeps/x86/fpu/Makefile: Likewise.
59290         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
59291         (p3): New object.
59292         (__ieee754_powl): Use __powl_helper for finite arguments except
59293         integer exponents below 8.
59294         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
59295         (p3): New object.
59296         (__ieee754_powl): Use __powl_helper for finite arguments except
59297         integer exponents below 8.
59298         * math/libm-test.inc (pow_test): Add more tests and enable some
59299         previously disabled tests.
59300         * sysdeps/i386/fpu/libm-test-ulps: Update.
59301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59303 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59304             Carlos O'Donell  <carlos_odonell@mentor.com>
59306         * nss/makedb.c (is_prime): Assert that input is odd and greater
59307         than 4.  Note that fact in a comment too.
59308         (next_prime): Add 4 to input.
59310 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
59312         [BZ #11741]
59313         * libio/Makefile (tests): Add test case tst-fwrite-error.
59314         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
59315         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
59316         * libio/tst-fwrite-error.c: New test case.
59318 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
59320         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
59321         before casting to void *.
59322         * include/libc-internal.h (__pointer_type): New macro.
59323         (__integer_if_pointer_type_sub): Likewise.
59324         (__integer_if_pointer_type): Likewise.
59325         (cast_to_integer): Likewise.
59326         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
59327         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
59328         before casting to atomic64_t.
59329         (atomic_exchange_acq): Likewise.
59330         (__arch_exchange_and_add_body): Likewise.
59331         (__arch_add_body): Likewise.
59332         (atomic_add_negative): Likewise.
59333         (atomic_add_zero): Likewise.
59335 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
59337         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
59338         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
59339         (add_fdes): Likewise.
59340         (linear_search_fdes): Likewise.
59341         (binary_search_unencoded_fdes): Likewise.
59343 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
59345         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
59347 2012-11-24  Adam Conrad  <adconrad@0c3.net>
59349         * configure.in: Autodetect C++ header directories.
59350         * configure: Regenerated.
59352 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
59354         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
59356 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
59358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59360 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
59362         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
59363         LDBL_MANT_DIG == 106]: Disable some tests.
59364         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
59365         Likewise.
59366         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
59367         Likewise.
59369         [BZ #14871]
59370         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
59371         input for small inputs.  Return +/- pi/2 for large inputs.
59372         * math/libm-test.inc (atan_test): Add more tests.
59374         * sysdeps/generic/unwind-dw2-fde-glibc.c
59375         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
59376         __attribute__ ((unused)).
59378         [BZ #14645]
59379         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
59380         x * y if x and y are nonzero and z is zero.
59382         [BZ #14811]
59383         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
59384         nonzero exponents with absolute value below 0x1p-117 to +/-
59385         0x1p-117.
59387         [BZ #14869]
59388         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
59389         up arguments below 2**-450, not just those below 2**-500.
59390         * math/libm-test.inc (hypot_test): Add another test.
59392         [BZ #14868]
59393         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
59394         Return a+b for ratio over 2**120, not 2**60.
59395         * math/libm-test.inc (hypot_test): Add another test.
59397         * math/libm-test.inc (clog_test): Use
59398         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
59399         (clog10_test): Likewise.
59401         [BZ #6778]
59402         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
59404 2012-11-22  Andreas Schwab  <schwab@suse.de>
59406         * sysdeps/i386/fpu/libm-test-ulps: Update.
59408 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
59410         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
59411         printf output with newline.
59413 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
59415         [BZ #14865]
59416         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
59417         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
59418         -z nodlopen, -z initfirst and -z execstack support.
59419         * configure: Regenerated.
59421         * elf/elf.h (DF_1_NODIRECT): New macro.
59422         (DF_1_IGNMULDEF): Likewise.
59423         (DF_1_NOKSYMS): Likewise.
59424         (DF_1_NOHDR): Likewise.
59425         (DF_1_EDITED): Likewise.
59426         (DF_1_NORELOC): Likewise.
59427         (DF_1_SYMINTPOSE): Likewise.
59428         (DF_1_GLOBAUDIT): Likewise.
59429         (DF_1_SINGLETON): Likewise.
59430         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
59431         DT_1_SUPPORTED_MASK bits.
59432         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
59434 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
59436         * sysdeps/unix/make-syscalls.sh: Document prefixes.
59438 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
59440         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
59441         macro.
59443         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
59444         (sendmmsg): Move declarations...
59445         * socket/sys/socket.h: ... here.
59446         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
59447         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
59448         include it from...
59449         * socket/recvmmsg.c: ... this new file.
59450         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
59451         (sendmmsg): Rename to __sendmmsg, create weak alias and make
59452         definition of __sendmmsg hidden.
59453         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
59454         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
59455         Move ENOSYS stub into and include it from...
59456         * socket/sendmmsg.c: ... this new file.
59457         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
59458         (sysdep_routines): Move recvmmsg and sendmmsg...
59459         * socket/Makefile (routines): ... here.
59460         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
59461         (GLIBC_PRIVATE): Add __sendmmsg.
59462         * include/sys/socket.h (__sendmmsg): Add declarations.
59463         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
59464         sendmmsg.
59466 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
59468         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
59469         variable I1 with __attribute__ ((unused)).
59470         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
59472 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
59474         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
59475         DUMMY variables with __attribute__ ((unused)).
59477         * bits/byteswap.h: Include <bits/types.h>.
59478         (__bswap_64): Use __uint64_t instead of unsigned long long int.
59480 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
59482         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
59483         string_t.  Do not manually set errno.
59484         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
59485         length with __strnlen.  Make sure to both set errno and return it on
59486         failure.
59488 2012-11-19  David S. Miller  <davem@davemloft.net>
59490         With help from Joseph Myers.
59491         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
59492         very large arguments properly.
59493         * math/libm-test.inc (atan_test): New tests.
59494         (atan2_test): New tests.
59495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59496         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59498 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
59500         [BZ #14856]
59501         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
59502         Define to 3.
59504         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
59505         [POSIX] (EADDRNOTAVAIL): Likewise.
59506         [POSIX] (EAFNOSUPPORT): Likewise.
59507         [POSIX] (EALREADY): Likewise.
59508         [POSIX] (ECONNABORTED): Likewise.
59509         [POSIX] (ECONNREFUSED): Likewise.
59510         [POSIX] (ECONNRESET): Likewise.
59511         [POSIX] (EDESTADDRREQ): Likewise.
59512         [POSIX] (EDQUOT): Likewise.
59513         [POSIX] (EHOSTUNREACH): Likewise.
59514         [POSIX] (EIDRM): Likewise.
59515         [POSIX] (EISCONN): Likewise.
59516         [POSIX] (ELOOP): Likewise.
59517         [POSIX] (EMULTIHOP): Likewise.
59518         [POSIX] (ENETDOWN): Likewise.
59519         [POSIX] (ENETUNREACH): Likewise.
59520         [POSIX] (ENOBUFS): Likewise.
59521         [POSIX] (ENODATA): Likewise.
59522         [POSIX] (ENOLINK): Likewise.
59523         [POSIX] (ENOMSG): Likewise.
59524         [POSIX] (ENOPROTOOPT): Likewise.
59525         [POSIX] (ENOSR): Likewise.
59526         [POSIX] (ENOSTR): Likewise.
59527         [POSIX] (ENOTCONN): Likewise.
59528         [POSIX] (ENOTSOCK): Likewise.
59529         [POSIX] (EOPNOTSUPP): Likewise.
59530         [POSIX] (EOVERFLOW): Likewise.
59531         [POSIX] (EPROTO): Likewise.
59532         [POSIX] (EPROTONOSUPPORT): Likewise.
59533         [POSIX] (EPROTOTYPE): Likewise.
59534         [POSIX] (ESTALE): Likewise.
59535         [POSIX] (ETIME): Likewise.
59536         [POSIX] (ETXTBSY): Likewise.
59537         [POSIX] (EWOULDBLOCK): Likewise.
59538         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
59539         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
59540         [POSIX] (SEEK_CUR): Likewise.
59541         [POSIX] (SEEK_END): Likewise.
59542         [POSIX || UNIX98] (mode_t): Do not require.
59543         [POSIX] (off_t): Likewise.
59544         [POSIX] (pid_t): Likewise.
59545         [POSIX] (sys/stat.h): Do not allow header.
59546         [POSIX] (unistd.h): Likewise.
59547         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
59548         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
59549         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
59550         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
59551         require.
59552         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
59553         sigevent): Specify elements.
59554         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
59555         entry.
59556         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
59557         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
59559         * conform/data/cpio.h-data [POSIX]: Disable whole file.
59560         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
59561         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
59562         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
59563         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
59564         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
59565         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
59566         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
59567         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
59568         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
59569         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
59570         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
59571         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
59572         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
59573         Likewise.
59574         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
59575         Likewise.
59576         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
59577         Likewise.
59578         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
59579         Likewise.
59580         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
59581         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
59582         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
59583         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
59584         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
59585         Specify lower bound on value.
59586         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
59587         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
59588         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
59589         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
59590         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
59591         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
59592         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
59593         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
59594         value.
59595         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
59596         as optional.
59597         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
59598         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
59599         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
59600         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
59601         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
59602         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
59603         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
59604         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
59605         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
59606         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
59607         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
59608         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
59609         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
59610         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
59611         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
59612         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
59613         entry.
59614         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
59615         optional.
59616         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
59617         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
59618         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
59619         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
59620         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
59621         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
59622         Likewise.
59623         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
59624         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
59625         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
59626         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
59627         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
59628         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
59629         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
59630         as optional.
59631         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
59632         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
59633         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
59634         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
59635         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
59636         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
59637         specify as optional.
59638         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
59639         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
59640         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
59641         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
59642         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
59643         [XPG3] (NL_LANGMAX): Likewise.
59644         [POSIX || XPG3] (NL_MSGMAX): Likewise.
59645         [POSIX || XPG3] (NL_NMAX): Likewise.
59646         [POSIX || XPG3] (NL_SETMAX): Likewise.
59647         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
59648         [XPG3] (NZERO): Likewise.
59649         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
59650         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
59651         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
59652         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
59653         (REG_ERANGE): Expect.
59654         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
59655         optional-constant.
59656         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
59657         Use (void) in prototype.
59658         [POSIX] (*_t): Allow.
59659         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
59660         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
59661         (WRDE_BADVAL): Expect.
59663         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
59664         expect.
59665         [XPG3 || XPG4] (O_RSYNC): Likewise.
59666         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
59667         Likewise.
59668         [XPG3 || XPG4] (pthread_sigmask): Likewise.
59669         [XPG3 || XPG4] (sigqueue): Likewise.
59670         [XPG3 || XPG4] (sigtimedwait): Likewise.
59671         [XPG3 || XPG4] (sigwaitinfo): Likewise.
59672         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
59673         [XPG3 || XPG4] (vsnprintf): Likewise.
59674         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
59675         Likewise.
59676         [XPG3 || XPG4] (blksize_t): Likewise.
59677         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
59678         Likewise.
59679         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
59680         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
59681         [XPG3 || XPG4] (struct itimerspec): Likewise.
59682         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
59683         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
59684         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
59685         [XPG3 || XPG4] (clockid_t): Likewise.
59686         [XPG3 || XPG4] (timer_t): Likewise.
59687         [XPG3 || XPG4] (clock_getres): Likewise.
59688         [XPG3 || XPG4] (clock_gettime): Likewise.
59689         [XPG3 || XPG4] (clock_settime): Likewise.
59690         [XPG3 || XPG4] (nanosleep): Likewise.
59691         [XPG3 || XPG4] (timer_create): Likewise.
59692         [XPG3 || XPG4] (timer_delete): Likewise.
59693         [XPG3 || XPG4] (timer_gettime): Likewise.
59694         [XPG3 || XPG4] (timer_getoverrun): Likewise.
59695         [XPG3 || XPG4] (timer_settime): Likewise.
59696         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
59697         [XPG3 || XPG4] (getlogin_r): Likewise.
59698         [XPG3 || XPG4] (pread): Likewise.
59699         [XPG3 || XPG4] (pthread_atfork): Likewise.
59700         [XPG3 || XPG4] (pwrite): Likewise.
59702         [BZ #14835]
59703         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
59704         <bits/siginfo.h>.
59706 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
59708         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
59709         finalizing MALLSTREAM.
59711         * sysdeps/mach/hurd/syncfs.c: New file.
59713 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59715         [BZ #14719]
59716         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
59717         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
59718         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
59719         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
59720         (_nss_dns_gethostbyname4_r): Likewise.
59721         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
59722         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
59724 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
59726         [BZ #13763]
59727         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
59729 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
59731         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
59732         * elf/cache.c (print_entry): Print ",AArch64" for
59733         FLAG_AARCH64_LIB64
59735         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
59736         * elf/cache.c (print_entry): Print ",hard-float" for
59737         FLAG_ARM_LIBHF.
59739 2012-11-18  David S. Miller  <davem@davemloft.net>
59741         With help from Joseph Myers.
59742         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
59743         cutoff to 2**-13.
59744         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
59745         cutoff to 2**-25.
59746         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
59747         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
59748         small.
59749         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
59750         * math/libm-test.inc (y0_test): New tests.
59751         (y1_test): New tests.
59752         * sysdeps/i386/fpu/libm-test-ulps: Update.
59753         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59754         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59756 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
59758         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
59759         64-bit targets.
59760         * configure: Regenerated.
59762 2012-11-17  David S. Miller  <davem@davemloft.net>
59764         [BZ #14811]
59765         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
59766         nonzero exponents with absolute value below 0x1p-128 to +/-
59767         0x1p-128.
59769 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
59771         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
59773         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
59775         * posix/getconf-speclist.c: New file.
59776         * posix/posix-envs.def: Likewise.
59777         * posix/confstr.c (START_ENV_GROUP): New macro.
59778         (END_ENV_GROUP): Likewise.
59779         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
59780         (KNOWN_PRESENT_ENV_STRING): Likewise.
59781         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
59782         (UNKNOWN_ENVIRONMENT): Likewise.
59783         (confstr): Include posix-envs.def instead of handling
59784         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
59785         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
59786         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
59787         (END_ENV_GROUP): Likewise.
59788         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
59789         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
59790         (UNKNOWN_ENVIRONMENT): Likewise.
59791         (__sysconf): Include posix-envs.def instead of handling associated
59792         cases directly here.
59793         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
59794         preprocessing getconf-speclist.c rather than running getconf or
59795         generating empty file.
59797 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
59799         * scripts/check-local-headers.sh: Ignore 'mach' headers.
59801 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
59803         [BZ #14672]
59804         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
59806 2012-11-16  David S. Miller  <davem@davemloft.net>
59808         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
59809         smaller than LDBL_EPSILON/2.0L, just return xm1.
59811 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
59813         * elf/tst-array1.c (init): Set constructor priority to 1000.
59814         (fini): Set destructor priority to 1000.
59815         * elf/tst-array2dep.c: Likewise.
59817 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59819         [BZ #11741]
59820         * libio/fileops.c (_IO_new_file_write): Correctly return error.
59821         (_IO_new_file_xsputn): Also return EOF if none of the input
59822         data was written when overflow failed.
59823         * libio/iopadn.c (_IO_padn): Likewise.
59824         * libio/iowpadn.c (_IO_wpadn): Likewise.
59825         * stdio-common/tst-put-error.c: Add copyright notice.
59826         (do_test): Add case for printing padded string.
59827         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
59828         _IO_padn returned error.
59829         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
59830         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
59831         return EOF.
59833 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59835         * libio/libioP.h: Add comment note that the references to C++
59836         bits are now obsolete.
59838 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59840         * math/libm-test.inc (check_complex): Use asprintf.
59842 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
59844         * debug/pcprofiledump.c (print_version): Update copyright year.
59845         * malloc/memusagestat.c (print_version): Likewise.
59847 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
59849         [BZ #14831]
59850         * elf/Makefile (tests): Add tst-audit8.
59851         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
59852         ($(objpfx)tst-audit8.out): New target.
59853         (tst-audit8-ENV): New variable.
59854         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
59855         audit if l_reloc_result is NULL.
59856         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
59857         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
59858         * elf/tst-audit8.c: New file.
59860 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59862         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
59863         * misc/Makefile (CFLAGS-select.c): Define.
59864         * posix/Makefile (CFLAGS-pause.c): Define.
59866 2012-11-13  David S. Miller  <davem@davemloft.net>
59868         * crypt/Makefile: Move test targets after toplevel Rules
59869         inclusion.  Grab any necessary sysdep routines when linking.
59870         * crypt/md5.c (md5_process_block): Remove define, we will always
59871         name it __md5_process_block.
59872         (md5_finish_ctx): Update md5_process_block call.
59873         (md5_stream): Likewise.
59874         (md5_process_bytes): Likewise.
59875         (md5_process_block): Rename to __md5_process_block and move to ...
59876         * crypt/md5-block.c: ... here.
59877         * crypt/sha256.c (sha256_process_block): Move to ...
59878         * crypt/sha256-block.c: ... here.
59879         * crypt/sha512.c (sha512_process_block): Move to ...
59880         * crypt/sha512-block.c: ... here.
59881         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
59882         path.
59883         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
59884         * sysdeps/sparc/sparc64/multiarch/Makefile
59885         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
59886         crypt subdir.
59887         (localedef-aux): Add md5 crypto assembler when in locale subdir.
59888         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
59889         multiarch changes.
59890         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
59891         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
59892         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
59893         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
59894         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
59895         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
59896         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
59897         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
59898         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
59899         file.
59900         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
59901         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
59902         file.
59903         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
59905 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
59907         * timezone/tzselect.ksh: Update from tzcode git revision
59908         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
59909         * timezone/zdump.c: Likewise.
59910         * timezone/zic.c: Likewise.
59911         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
59912         in TZVERSION setting, not $(PKGVERSION).
59913         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
59914         REPORT_BUGS_TO settings.
59916         [BZ #14838]
59917         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
59918         macro.
59920 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59922         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
59923         detection to immediately after _FP_ROUND().
59924         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
59925         bits are 0.
59927 2012-11-11  David S. Miller  <davem@davemloft.net>
59929         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
59930         inttypes.h
59931         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
59932         __close rather than their public counterparts.
59934 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
59936         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
59937         file.
59938         [UNIX98] (sem_timedwait): Do not expect.
59939         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
59940         [XPG4 || UNIX98] (sockatmark): Do not expect.
59941         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
59942         (clock_getcpuclockid): Do not expect.
59943         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
59944         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
59945         Do not expect.
59946         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
59947         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
59948         [UNIX98] (vwscanf): Likewise.
59949         [UNIX98] (vswscanf): Likewise.
59951 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
59953         * timezone/version.h: Remove file.
59954         * timezone/README: Do not refer to version.h.
59955         * timezone/Makefile ($(objpfx)zic.o): New dependency on
59956         $(objpfx)version.h.
59957         ($(objpfx)zdump.o): Likewise.
59958         ($(objpfx)version.h): New target.
59960         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
59961         2012i.
59962         * timezone/README: Don't mention modification to tzselect.ksh.
59963         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
59964         work on unmodified tzselect.ksh.  Substitute version numbers in
59965         tzselect.ksh.
59967         * Makefile (format-me): Remove.
59968         (INSTALL): Adjust indentation.  Use commands directly instead of
59969         using $(format-me).
59971         * aclocal.m4 (ACX_PKGVERSION): New macro.
59972         (ACX_BUGURL): Likewise.
59973         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
59974         (PKGVERSION): New AC_DEFINE_UNQUOTED.
59975         (REPORT_BUGS_TO): Likewise.
59976         * configure: Regenerated.
59977         * config.h.in (PKGVERSION): New macro.
59978         (REPORT_BUGS_TO): Likewise.
59979         * config.make.in (PKGVERSION): New variable.
59980         (PKGVERSION_TEXI): Likewise.
59981         (REPORT_BUGS_TO): Likewise.
59982         (REPORT_BUGS_TEXI): Likewise.
59983         * Makefile (format-me): Use -I$(common-objpfx)manual.
59984         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
59985         ($(common-objpfx)manual/%): New target.
59986         (manual/%): Remove target.
59987         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
59988         (print_version): Use PKGVERSION.
59989         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
59990         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
59991         and REPORT_BUGS_TO.
59992         ($(objpfx)xtrace): Likewise.
59993         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
59994         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
59995         (print_version): Use PKGVERSION.
59996         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
59997         (do_version): Use PKGVERSION.
59998         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
59999         REPORT_BUGS_TO.
60000         (common-ldd-rewrite): Likewise.
60001         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
60002         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
60003         (print_version): Use PKGVERSION.
60004         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
60005         * elf/pldd.c (argp_program_bug_address): Remove variable.
60006         (more_help): New function.
60007         (argp): Use more_help.
60008         (print_version): Use PKGVERSION.
60009         * elf/sln.c (main): Use PKGVERSION.
60010         (usage): Use REPORT_BUGS_TO.
60011         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
60012         (top level): Use PKGVERSION.
60013         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
60014         (print_version): Use PKGVERSION.
60015         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
60016         (print_version): Use PKGVERSION.
60017         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
60018         (print_version): Use PKGVERSION.
60019         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
60020         (print_version): Use PKGVERSION.
60021         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
60022         (print_version): Use PKGVERSION.
60023         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
60024         (print_version): Use PKGVERSION.
60025         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
60026         and BUGURL.
60027         ($(objpfx)memusage): Likewise.
60028         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
60029         (do_version): Use PKGVERSION.
60030         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
60031         (print_version): Use PKGVERSION.
60032         * malloc/mtrace.pl ($PACKAGE): Remove variable.
60033         ($PKGVERSION): New variable.
60034         ($REPORT_BUGS_TO): Likewise.
60035         (usage): Use $REPORT_BUGS_TO.
60036         (top level): Use $PKGVERSION.
60037         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
60038         ($(objpfx)pkgvers.texi): New rule.
60039         ($(objpfx)stamp-pkgvers): Likewise.
60040         * manual/install.texi: Include pkgvers.texi.
60041         (--with-pkgversion): Document new configure option.
60042         (--with-bugurl): Likewise.
60043         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
60044         than necessarily for this particular distribution.  Use
60045         REPORT_BUGS_TO for where to report bugs.
60046         * INSTALL: Regenerated.
60047         * manual/libc.texinfo: Include pkgvers.texi.
60048         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
60049         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
60050         (print_version): Use PKGVERSION.
60051         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
60052         (print_version): Use PKGVERSION.
60053         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
60054         (print_version): Use PKGVERSION.
60055         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
60056         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
60057         macro.
60058         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
60059         (print_version): Use PKGVERSION.
60060         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
60061         (print_version): Use PKGVERSION.
60062         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
60063         and PKGVERSION.
60065         * timezone/checktab.awk: Update from tzcode 2012i.
60066         * timezone/ialloc.c: Likewise.
60067         * timezone/private.h: Likewise.
60068         * timezone/scheck.c: Likewise.
60069         * timezone/tzfile.h: Likewise.
60070         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
60071         (TZVERSION): Hardcode tzcode version number.
60072         * timezone/zdump.c: Update from tzcode 2012i.
60073         * timezone/zic.c: Likewise.
60074         * timezone/version.h: New file.
60075         * timezone/README: Describe version.h.  Update upstream location.
60077         [BZ #14824]
60078         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
60079         (mktemp): Enable declaration.
60080         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
60081         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
60082         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
60083         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
60084         Likewise.
60085         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
60086         Likewise.
60087         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
60088         Likewise.
60089         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
60090         Likewise.
60091         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
60092         Likewise.
60093         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
60094         Likewise.
60096         [BZ #14821]
60097         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
60098         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
60099         for copies of such integer values.
60100         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60101         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60103 2012-11-09  Andreas Jaeger  <aj@suse.de>
60105         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
60106         definitions and declarations that are provided by
60107         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
60109 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60111         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
60112         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
60113         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
60114         definition.
60116 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60118         * elf/elf.h: Update comment before AArch64 relocations.
60120 2012-11-07  David S. Miller  <davem@davemloft.net>
60122         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
60123         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
60124         (__start_context): Declare.
60125         (__makecontext_ret): Delete.
60126         (__makecontext): Hook up __start_context instead of
60127         __makecontext_ret.
60128         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
60129         (sysdep_routines): Add __start_context when in stdlib.
60131 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60133         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
60134         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
60135         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
60136         hardcoded "nm".
60137         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
60138         (READELF): New variable.  Use it instead of hardcoded "readelf".
60140 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
60142         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
60143         * sysdeps/x86/Makefile: Here.
60144         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
60145         * sysdeps/x86/tst-xmmymm.sh: This.
60147 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60149         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
60150         expectations.
60151         [UNIX98] (pthread_barrier_t): Do not expect.
60152         [UNIX98] (pthread_barrierattr_t): Likewise.
60153         [UNIX98] (pthread_spinlock_t): Likewise.
60154         [UNIX98] (pthread_barrier_destroy): Likewise.
60155         [UNIX98] (pthread_barrier_init): Likewise.
60156         [UNIX98] (pthread_barrier_wait): Likewise.
60157         [UNIX98] (pthread_barrierattr_destroy): Likewise.
60158         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
60159         [UNIX98] (pthread_barrierattr_init): Likewise.
60160         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
60161         [UNIX98] (pthread_getcpuclockid): Likewise.
60162         [UNIX98] (pthread_mutex_timedlock): Likewise.
60163         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
60164         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
60165         [UNIX98] (pthread_sigmask): Likewise.
60166         [UNIX98] (pthread_spin_destroy): Likewise.
60167         [UNIX98] (pthread_spin_init): Likewise.
60168         [UNIX98] (pthread_spin_lock): Likewise.
60169         [UNIX98] (pthread_spin_trylock): Likewise.
60170         [UNIX98] (pthread_spin_unlock): Likewise.
60171         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
60172         Do not expect.
60173         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
60174         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
60175         [XPG3 || XPG4] (pthread_cond_t): Likewise.
60176         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
60177         [XPG3 || XPG4] (pthread_key_t): Likewise.
60178         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
60179         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
60180         [XPG3 || XPG4] (pthread_once_t): Likewise.
60181         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
60182         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
60183         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
60184         [XPG3 || XPG4] (pthread_t): Likewise.
60186         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
60187         not expect.
60188         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
60190         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
60191         Change function return type to int.
60193         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
60194         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
60195         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
60196         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
60197         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
60198         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
60199         [!POSIX] (posix_madvise): Likewise.
60200         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
60201         && !UNIX98].
60202         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
60203         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
60204         (mode_t): Likewise.
60205         (posix_mem_offset): Likewise.
60206         (posix_typed_mem_get_info): Likewise.
60207         (posix_typed_mem_open): Likewise.
60209         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
60210         Change condition to [XOPEN2K8].
60212         * conform/conformtest.pl: Preprocess allow-header data with -x c
60213         instead of from stdin.
60214         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
60215         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
60216         [C99-based standards] (cerfc): Likewise.
60217         [C99-based standards] (cexp2): Likewise.
60218         [C99-based standards] (cexpm1): Likewise.
60219         [C99-based standards] (clog10): Likewise.
60220         [C99-based standards] (clog1p): Likewise.
60221         [C99-based standards] (clog2): Likewise.
60222         [C99-based standards] (clgamma): Likewise.
60223         [C99-based standards] (ctgamma): Likewise.
60224         [C99-based standards] (cerff): Likewise.
60225         [C99-based standards] (cerfcf): Likewise.
60226         [C99-based standards] (cexp2f): Likewise.
60227         [C99-based standards] (cexpm1f): Likewise.
60228         [C99-based standards] (clog10f): Likewise.
60229         [C99-based standards] (clog1pf): Likewise.
60230         [C99-based standards] (clog2f): Likewise.
60231         [C99-based standards] (clgammaf): Likewise.
60232         [C99-based standards] (ctgammaf): Likewise.
60233         [C99-based standards] (cerfl): Likewise.
60234         [C99-based standards] (cerfcl): Likewise.
60235         [C99-based standards] (cexp2l): Likewise.
60236         [C99-based standards] (cexpm1l): Likewise.
60237         [C99-based standards] (clog10l): Likewise.
60238         [C99-based standards] (clog1pl): Likewise.
60239         [C99-based standards] (clog2l): Likewise.
60240         [C99-based standards] (clgammal): Likewise.
60241         [C99-based standards] (ctgammal): Likewise.
60242         * conform/data/inttypes.h-data [C99-based standards]: Include
60243         stdint.h-data.  Remove all expectations for stdint.h contents.
60244         [C99-based standards] (PRI*): Do not allow.
60245         [C99-based standards] (SCN*): Likewise.
60246         [C99-based standards] (*_t): Likewise.
60247         [C99-based-standards] (PRId8): Expect macro.
60248         [C99-based-standards] (PRIi8): Likewise.
60249         [C99-based-standards] (PRIo8): Likewise.
60250         [C99-based-standards] (PRIu8): Likewise.
60251         [C99-based-standards] (PRIx8): Likewise.
60252         [C99-based-standards] (PRIX8): Likewise.
60253         [C99-based-standards] (SCNd8): Likewise.
60254         [C99-based-standards] (SCNi8): Likewise.
60255         [C99-based-standards] (SCNo8): Likewise.
60256         [C99-based-standards] (SCNu8): Likewise.
60257         [C99-based-standards] (SCNx8): Likewise.
60258         [C99-based-standards] (PRIdLEAST8): Likewise.
60259         [C99-based-standards] (PRIiLEAST8): Likewise.
60260         [C99-based-standards] (PRIoLEAST8): Likewise.
60261         [C99-based-standards] (PRIuLEAST8): Likewise.
60262         [C99-based-standards] (PRIxLEAST8): Likewise.
60263         [C99-based-standards] (PRIXLEAST8): Likewise.
60264         [C99-based-standards] (SCNdLEAST8): Likewise.
60265         [C99-based-standards] (SCNiLEAST8): Likewise.
60266         [C99-based-standards] (SCNoLEAST8): Likewise.
60267         [C99-based-standards] (SCNuLEAST8): Likewise.
60268         [C99-based-standards] (SCNxLEAST8): Likewise.
60269         [C99-based-standards] (PRIdFAST8): Likewise.
60270         [C99-based-standards] (PRIiFAST8): Likewise.
60271         [C99-based-standards] (PRIoFAST8): Likewise.
60272         [C99-based-standards] (PRIuFAST8): Likewise.
60273         [C99-based-standards] (PRIxFAST8): Likewise.
60274         [C99-based-standards] (PRIXFAST8): Likewise.
60275         [C99-based-standards] (SCNdFAST8): Likewise.
60276         [C99-based-standards] (SCNiFAST8): Likewise.
60277         [C99-based-standards] (SCNoFAST8): Likewise.
60278         [C99-based-standards] (SCNuFAST8): Likewise.
60279         [C99-based-standards] (SCNxFAST8): Likewise.
60280         [C99-based-standards] (PRId16): Likewise.
60281         [C99-based-standards] (PRIi16): Likewise.
60282         [C99-based-standards] (PRIo16): Likewise.
60283         [C99-based-standards] (PRIu16): Likewise.
60284         [C99-based-standards] (PRIx16): Likewise.
60285         [C99-based-standards] (PRIX16): Likewise.
60286         [C99-based-standards] (SCNd16): Likewise.
60287         [C99-based-standards] (SCNi16): Likewise.
60288         [C99-based-standards] (SCNo16): Likewise.
60289         [C99-based-standards] (SCNu16): Likewise.
60290         [C99-based-standards] (SCNx16): Likewise.
60291         [C99-based-standards] (PRIdLEAST16): Likewise.
60292         [C99-based-standards] (PRIiLEAST16): Likewise.
60293         [C99-based-standards] (PRIoLEAST16): Likewise.
60294         [C99-based-standards] (PRIuLEAST16): Likewise.
60295         [C99-based-standards] (PRIxLEAST16): Likewise.
60296         [C99-based-standards] (PRIXLEAST16): Likewise.
60297         [C99-based-standards] (SCNdLEAST16): Likewise.
60298         [C99-based-standards] (SCNiLEAST16): Likewise.
60299         [C99-based-standards] (SCNoLEAST16): Likewise.
60300         [C99-based-standards] (SCNuLEAST16): Likewise.
60301         [C99-based-standards] (SCNxLEAST16): Likewise.
60302         [C99-based-standards] (PRIdFAST16): Likewise.
60303         [C99-based-standards] (PRIiFAST16): Likewise.
60304         [C99-based-standards] (PRIoFAST16): Likewise.
60305         [C99-based-standards] (PRIuFAST16): Likewise.
60306         [C99-based-standards] (PRIxFAST16): Likewise.
60307         [C99-based-standards] (PRIXFAST16): Likewise.
60308         [C99-based-standards] (SCNdFAST16): Likewise.
60309         [C99-based-standards] (SCNiFAST16): Likewise.
60310         [C99-based-standards] (SCNoFAST16): Likewise.
60311         [C99-based-standards] (SCNuFAST16): Likewise.
60312         [C99-based-standards] (SCNxFAST16): Likewise.
60313         [C99-based-standards] (PRId32): Likewise.
60314         [C99-based-standards] (PRIi32): Likewise.
60315         [C99-based-standards] (PRIo32): Likewise.
60316         [C99-based-standards] (PRIu32): Likewise.
60317         [C99-based-standards] (PRIx32): Likewise.
60318         [C99-based-standards] (PRIX32): Likewise.
60319         [C99-based-standards] (SCNd32): Likewise.
60320         [C99-based-standards] (SCNi32): Likewise.
60321         [C99-based-standards] (SCNo32): Likewise.
60322         [C99-based-standards] (SCNu32): Likewise.
60323         [C99-based-standards] (SCNx32): Likewise.
60324         [C99-based-standards] (PRIdLEAST32): Likewise.
60325         [C99-based-standards] (PRIiLEAST32): Likewise.
60326         [C99-based-standards] (PRIoLEAST32): Likewise.
60327         [C99-based-standards] (PRIuLEAST32): Likewise.
60328         [C99-based-standards] (PRIxLEAST32): Likewise.
60329         [C99-based-standards] (PRIXLEAST32): Likewise.
60330         [C99-based-standards] (SCNdLEAST32): Likewise.
60331         [C99-based-standards] (SCNiLEAST32): Likewise.
60332         [C99-based-standards] (SCNoLEAST32): Likewise.
60333         [C99-based-standards] (SCNuLEAST32): Likewise.
60334         [C99-based-standards] (SCNxLEAST32): Likewise.
60335         [C99-based-standards] (PRIdFAST32): Likewise.
60336         [C99-based-standards] (PRIiFAST32): Likewise.
60337         [C99-based-standards] (PRIoFAST32): Likewise.
60338         [C99-based-standards] (PRIuFAST32): Likewise.
60339         [C99-based-standards] (PRIxFAST32): Likewise.
60340         [C99-based-standards] (PRIXFAST32): Likewise.
60341         [C99-based-standards] (SCNdFAST32): Likewise.
60342         [C99-based-standards] (SCNiFAST32): Likewise.
60343         [C99-based-standards] (SCNoFAST32): Likewise.
60344         [C99-based-standards] (SCNuFAST32): Likewise.
60345         [C99-based-standards] (SCNxFAST32): Likewise.
60346         [C99-based-standards] (PRId64): Likewise.
60347         [C99-based-standards] (PRIi64): Likewise.
60348         [C99-based-standards] (PRIo64): Likewise.
60349         [C99-based-standards] (PRIu64): Likewise.
60350         [C99-based-standards] (PRIx64): Likewise.
60351         [C99-based-standards] (PRIX64): Likewise.
60352         [C99-based-standards] (SCNd64): Likewise.
60353         [C99-based-standards] (SCNi64): Likewise.
60354         [C99-based-standards] (SCNo64): Likewise.
60355         [C99-based-standards] (SCNu64): Likewise.
60356         [C99-based-standards] (SCNx64): Likewise.
60357         [C99-based-standards] (PRIdLEAST64): Likewise.
60358         [C99-based-standards] (PRIiLEAST64): Likewise.
60359         [C99-based-standards] (PRIoLEAST64): Likewise.
60360         [C99-based-standards] (PRIuLEAST64): Likewise.
60361         [C99-based-standards] (PRIxLEAST64): Likewise.
60362         [C99-based-standards] (PRIXLEAST64): Likewise.
60363         [C99-based-standards] (SCNdLEAST64): Likewise.
60364         [C99-based-standards] (SCNiLEAST64): Likewise.
60365         [C99-based-standards] (SCNoLEAST64): Likewise.
60366         [C99-based-standards] (SCNuLEAST64): Likewise.
60367         [C99-based-standards] (SCNxLEAST64): Likewise.
60368         [C99-based-standards] (PRIdFAST64): Likewise.
60369         [C99-based-standards] (PRIiFAST64): Likewise.
60370         [C99-based-standards] (PRIoFAST64): Likewise.
60371         [C99-based-standards] (PRIuFAST64): Likewise.
60372         [C99-based-standards] (PRIxFAST64): Likewise.
60373         [C99-based-standards] (PRIXFAST64): Likewise.
60374         [C99-based-standards] (SCNdFAST64): Likewise.
60375         [C99-based-standards] (SCNiFAST64): Likewise.
60376         [C99-based-standards] (SCNoFAST64): Likewise.
60377         [C99-based-standards] (SCNuFAST64): Likewise.
60378         [C99-based-standards] (SCNxFAST64): Likewise.
60379         [C99-based-standards] (PRIdMAX): Likewise.
60380         [C99-based-standards] (PRIiMAX): Likewise.
60381         [C99-based-standards] (PRIoMAX): Likewise.
60382         [C99-based-standards] (PRIuMAX): Likewise.
60383         [C99-based-standards] (PRIxMAX): Likewise.
60384         [C99-based-standards] (PRIXMAX): Likewise.
60385         [C99-based-standards] (SCNdMAX): Likewise.
60386         [C99-based-standards] (SCNiMAX): Likewise.
60387         [C99-based-standards] (SCNoMAX): Likewise.
60388         [C99-based-standards] (SCNuMAX): Likewise.
60389         [C99-based-standards] (SCNxMAX): Likewise.
60390         [C99-based-standards] (PRIdPTR): Likewise.
60391         [C99-based-standards] (PRIiPTR): Likewise.
60392         [C99-based-standards] (PRIoPTR): Likewise.
60393         [C99-based-standards] (PRIuPTR): Likewise.
60394         [C99-based-standards] (PRIxPTR): Likewise.
60395         [C99-based-standards] (PRIXPTR): Likewise.
60396         [C99-based-standards] (SCNdPTR): Likewise.
60397         [C99-based-standards] (SCNiPTR): Likewise.
60398         [C99-based-standards] (SCNoPTR): Likewise.
60399         [C99-based-standards] (SCNuPTR): Likewise.
60400         [C99-based-standards] (SCNxPTR): Likewise.
60401         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
60402         allow.
60403         * conform/data/stdint.h-data: Update comments to clarify
60404         requirements.
60405         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
60406         type.
60407         [C99-based standards] (INT8_MAX): Likewise.
60408         [C99-based standards] (INT16_MIN): Likewise.
60409         [C99-based standards] (INT16_MAX): Likewise.
60410         [C99-based standards] (INT32_MIN): Likewise.
60411         [C99-based standards] (INT32_MAX): Likewise.
60412         [C99-based standards] (INT64_MIN): Likewise.
60413         [C99-based standards] (INT64_MAX): Likewise.
60414         [C99-based standards] (UINT8_MAX): Likewise.
60415         [C99-based standards] (UINT16_MAX): Likewise.
60416         [C99-based standards] (UINT32_MAX): Likewise.
60417         [C99-based standards] (UINT64_MAX): Likewise.
60418         [C99-based standards] (INT_LEAST8_MIN): Likewise.
60419         [C99-based standards] (INT_LEAST8_MAX): Likewise.
60420         [C99-based standards] (INT_LEAST16_MIN): Likewise.
60421         [C99-based standards] (INT_LEAST16_MAX): Likewise.
60422         [C99-based standards] (INT_LEAST32_MIN): Likewise.
60423         [C99-based standards] (INT_LEAST32_MAX): Likewise.
60424         [C99-based standards] (INT_LEAST64_MIN): Likewise.
60425         [C99-based standards] (INT_LEAST64_MAX): Likewise.
60426         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
60427         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
60428         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
60429         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
60430         [C99-based standards] (INT_FAST8_MIN): Likewise.
60431         [C99-based standards] (INT_FAST8_MAX): Likewise.
60432         [C99-based standards] (INT_FAST16_MIN): Likewise.
60433         [C99-based standards] (INT_FAST16_MAX): Likewise.
60434         [C99-based standards] (INT_FAST32_MIN): Likewise.
60435         [C99-based standards] (INT_FAST32_MAX): Likewise.
60436         [C99-based standards] (INT_FAST64_MIN): Likewise.
60437         [C99-based standards] (INT_FAST64_MAX): Likewise.
60438         [C99-based standards] (UINT_FAST8_MAX): Likewise.
60439         [C99-based standards] (UINT_FAST16_MAX): Likewise.
60440         [C99-based standards] (UINT_FAST32_MAX): Likewise.
60441         [C99-based standards] (UINT_FAST64_MAX): Likewise.
60442         [C99-based standards] (INTPTR_MIN): Likewise.
60443         [C99-based standards] (INTPTR_MAX): Likewise.
60444         [C99-based standards] (UINTPTR_MAX): Likewise.
60445         [C99-based standards] (INTMAX_MIN): Likewise.
60446         [C99-based standards] (INTMAX_MAX): Likewise.
60447         [C99-based standards] (UINTMAX_MAX): Likewise.
60448         [C99-based standards] (PTRDIFF_MIN): Likewise.
60449         [C99-based standards] (PTRDIFF_MAX): Likewise.
60450         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
60451         [C99-based standards] (SIZE_MAX): Likewise.
60452         [C99-based standards] (WCHAR_MAX): Likewise.
60453         [C99-based standards] (WINT_MAX): Likewise.
60454         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
60455         constraint on value.
60456         [C99-based standards] (WCHAR_MIN): Likewise.
60457         [C99-based standards] (WINT_MIN): Likewise.
60458         [C99-based standards] (*_t): Allow.
60459         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
60460         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
60461         Include math.h-data and complex.h-data.  Remove all expectations
60462         of math.h and complex.h contents.
60463         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
60464         at end of line.
60465         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
60466         (struct tm): Expect tag.
60467         [C99-based-standards] (wcstof): Expect function.
60468         [C99-based-standards] (wcstold): Likewise.
60469         [C99-based-standards] (wcstoll): Likewise.
60470         [C99-based-standards] (wcstoull): Likewise.
60471         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
60472         macro-int-constant.  Specify type.
60473         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
60474         constraint on value.
60475         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
60476         Specify type.
60477         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
60478         Specify value.
60479         [ISO C standards]: Do not allow headers.
60480         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
60481         wcs[abcdefghijklmnopqrstuvwxyz]*.
60482         [ISO C standards] (*_t): Do not allow.
60483         * conform/data/wctype.h-data [C99-based standards] (iswblank):
60484         Expect function.
60485         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
60486         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
60487         Specify type.
60488         [ISO C standards]: Do not allow headers.
60489         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
60490         is[abcdefghijklmnopqrstuvwxyz]*.
60491         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
60492         to[abcdefghijklmnopqrstuvwxyz]*.
60493         [ISO C standards] (*_t): Do not allow.
60494         * conform/data/stdalign.h-data: New file.
60495         * conform/data/stdbool.h-data: Likewise.
60496         * conform/data/stdnoreturn.h-data: Likewise.
60498 2012-11-07  Roland McGrath  <roland@hack.frob.com>
60500         [BZ #14815]
60501         * manual/filesys.texi (Directory Entries): Typo fix.
60502         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
60504 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60506         * elf/elf.h (EM_AARCH64): New macro.
60507         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
60508         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
60509         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
60510         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
60511         (R_AARCH64_TLSDESC): Likewise.
60512         (NT_ARM_TLS): Likewise.
60513         (NT_ARM_HW_BREAK): Likewise.
60514         (NT_ARM_HW_WATCH): Likewise.
60516 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60518         [BZ #14811]
60519         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
60520         (__ieee754_powl): Saturate nonzero exponents with absolute value
60521         below 0x1p-79 to +/- 0x1p-79.
60522         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
60523         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
60524         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
60525         nonzero exponents with absolute value below 0x1p-32 to +/-
60526         0x1p-32.
60527         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
60528         (__ieee754_powl): Saturate nonzero exponents with absolute value
60529         below 0x1p-79 to +/- 0x1p-79.
60530         * math/libm-test.inc (pow_test): Add more tests.
60532 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60534         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
60535         _dl_s390_cap_flags with kernel. Increase string length.
60536         (_dl_s390_platforms): Add z196 and zEC12.
60538 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60540         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
60541         Change XOPEN21K to XOPEN2K.
60543 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
60545         * string/memmove.c: Use memcpy when possible.
60547 2012-11-06  Andreas Jaeger  <aj@suse.de>
60549         * po/eo.po: Update from translation team.
60551 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
60553         [BZ #14793]
60554         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
60555         exponent and small x and y exponents, scale x or y up.  Increase
60556         by 2 the exponent used in scaling up.
60557         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60558         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60559         * math/libm-test.inc (fma_test): Add more tests.
60560         (fma_test_towardzero): Likewise.
60561         (fma_test_downward): Likewise.
60562         (fma_test_upward): Likewise.
60564 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
60566         [BZ #14805]
60567         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
60568         fenv_t *.
60570         [BZ #14801]
60571         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
60572         namespace for names of struct fields.
60573         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
60574         fenv_t fields.
60575         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
60576         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
60578 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60580         [BZ #3665]
60581         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
60583 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
60585         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
60586         PTR_DEMANGLE.
60588         [BZ #5246]
60589         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
60590         PTR_DEMANGLE.
60592 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
60594         [BZ #14797]
60595         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
60596         definitely overflow as x * y not x * y + z.
60597         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60598         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60599         * math/libm-test.inc (fma_test): Add more tests.
60600         (fma_test_towardzero): Likewise.
60601         (fma_test_downward): Likewise.
60602         (fma_test_upward): Likewise.
60604 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
60606         [BZ #157]
60608         * include/stub-tag.h: Remove file.
60609         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
60610         '#include' of it.
60611         * manual/maint.texi (Porting): Don't reference it.
60612         * Makerules ($(objpfx)stubs): Likewise.
60613         * dirent/closedir.c: Don't include <stub-tag.h>.
60614         * dirent/dirfd.c: Likewise.
60615         * dirent/fdopendir.c: Likewise.
60616         * dirent/getdents.c: Likewise.
60617         * dirent/getdents64.c: Likewise.
60618         * dirent/opendir.c: Likewise.
60619         * dirent/readdir.c: Likewise.
60620         * dirent/readdir64.c: Likewise.
60621         * dirent/readdir64_r.c: Likewise.
60622         * dirent/readdir_r.c: Likewise.
60623         * dirent/rewinddir.c: Likewise.
60624         * dirent/seekdir.c: Likewise.
60625         * dirent/telldir.c: Likewise.
60626         * gmon/profil.c: Likewise.
60627         * grp/setgroups.c: Likewise.
60628         * inet/if_index.c: Likewise.
60629         * io/access.c: Likewise.
60630         * io/chdir.c: Likewise.
60631         * io/chmod.c: Likewise.
60632         * io/chown.c: Likewise.
60633         * io/close.c: Likewise.
60634         * io/dup.c: Likewise.
60635         * io/dup2.c: Likewise.
60636         * io/dup3.c: Likewise.
60637         * io/euidaccess.c: Likewise.
60638         * io/faccessat.c: Likewise.
60639         * io/fchdir.c: Likewise.
60640         * io/fchmod.c: Likewise.
60641         * io/fchmodat.c: Likewise.
60642         * io/fchown.c: Likewise.
60643         * io/fchownat.c: Likewise.
60644         * io/fcntl.c: Likewise.
60645         * io/flock.c: Likewise.
60646         * io/fstatfs.c: Likewise.
60647         * io/fstatfs64.c: Likewise.
60648         * io/fstatvfs.c: Likewise.
60649         * io/fstatvfs64.c: Likewise.
60650         * io/futimens.c: Likewise.
60651         * io/fxstat.c: Likewise.
60652         * io/fxstat64.c: Likewise.
60653         * io/fxstatat.c: Likewise.
60654         * io/fxstatat64.c: Likewise.
60655         * io/getcwd.c: Likewise.
60656         * io/isatty.c: Likewise.
60657         * io/lchmod.c: Likewise.
60658         * io/lchown.c: Likewise.
60659         * io/link.c: Likewise.
60660         * io/linkat.c: Likewise.
60661         * io/lseek.c: Likewise.
60662         * io/lseek64.c: Likewise.
60663         * io/lxstat64.c: Likewise.
60664         * io/mkdir.c: Likewise.
60665         * io/mkdirat.c: Likewise.
60666         * io/mkfifo.c: Likewise.
60667         * io/mkfifoat.c: Likewise.
60668         * io/open.c: Likewise.
60669         * io/open64.c: Likewise.
60670         * io/openat.c: Likewise.
60671         * io/openat64.c: Likewise.
60672         * io/pipe.c: Likewise.
60673         * io/pipe2.c: Likewise.
60674         * io/poll.c: Likewise.
60675         * io/posix_fadvise.c: Likewise.
60676         * io/posix_fadvise64.c: Likewise.
60677         * io/posix_fallocate.c: Likewise.
60678         * io/posix_fallocate64.c: Likewise.
60679         * io/read.c: Likewise.
60680         * io/readlink.c: Likewise.
60681         * io/readlinkat.c: Likewise.
60682         * io/rmdir.c: Likewise.
60683         * io/sendfile.c: Likewise.
60684         * io/sendfile64.c: Likewise.
60685         * io/statfs.c: Likewise.
60686         * io/statfs64.c: Likewise.
60687         * io/statvfs.c: Likewise.
60688         * io/statvfs64.c: Likewise.
60689         * io/symlink.c: Likewise.
60690         * io/symlinkat.c: Likewise.
60691         * io/ttyname.c: Likewise.
60692         * io/ttyname_r.c: Likewise.
60693         * io/umask.c: Likewise.
60694         * io/unlink.c: Likewise.
60695         * io/unlinkat.c: Likewise.
60696         * io/utime.c: Likewise.
60697         * io/utimensat.c: Likewise.
60698         * io/write.c: Likewise.
60699         * io/xmknod.c: Likewise.
60700         * io/xmknodat.c: Likewise.
60701         * io/xstat.c: Likewise.
60702         * io/xstat64.c: Likewise.
60703         * login/getpt.c: Likewise.
60704         * login/grantpt.c: Likewise.
60705         * login/unlockpt.c: Likewise.
60706         * math/e_acoshl.c: Likewise.
60707         * math/e_acosl.c: Likewise.
60708         * math/e_asinl.c: Likewise.
60709         * math/e_atan2l.c: Likewise.
60710         * math/e_atanhl.c: Likewise.
60711         * math/e_coshl.c: Likewise.
60712         * math/e_expl.c: Likewise.
60713         * math/e_fmodl.c: Likewise.
60714         * math/e_gammal_r.c: Likewise.
60715         * math/e_hypotl.c: Likewise.
60716         * math/e_j0l.c: Likewise.
60717         * math/e_j1l.c: Likewise.
60718         * math/e_jnl.c: Likewise.
60719         * math/e_lgammal_r.c: Likewise.
60720         * math/e_log10l.c: Likewise.
60721         * math/e_log2l.c: Likewise.
60722         * math/e_logl.c: Likewise.
60723         * math/e_powl.c: Likewise.
60724         * math/e_rem_pio2l.c: Likewise.
60725         * math/e_sinhl.c: Likewise.
60726         * math/e_sqrtl.c: Likewise.
60727         * math/fclrexcpt.c: Likewise.
60728         * math/fedisblxcpt.c: Likewise.
60729         * math/feenablxcpt.c: Likewise.
60730         * math/fegetenv.c: Likewise.
60731         * math/fegetexcept.c: Likewise.
60732         * math/fegetround.c: Likewise.
60733         * math/feholdexcpt.c: Likewise.
60734         * math/fesetenv.c: Likewise.
60735         * math/fesetround.c: Likewise.
60736         * math/feupdateenv.c: Likewise.
60737         * math/fgetexcptflg.c: Likewise.
60738         * math/fraiseexcpt.c: Likewise.
60739         * math/fsetexcptflg.c: Likewise.
60740         * math/ftestexcept.c: Likewise.
60741         * math/k_cosl.c: Likewise.
60742         * math/k_rem_pio2l.c: Likewise.
60743         * math/k_sinl.c: Likewise.
60744         * math/k_tanl.c: Likewise.
60745         * math/s_asinhl.c: Likewise.
60746         * math/s_atanl.c: Likewise.
60747         * math/s_cbrtl.c: Likewise.
60748         * math/s_erfl.c: Likewise.
60749         * math/s_expm1l.c: Likewise.
60750         * math/s_log1pl.c: Likewise.
60751         * math/s_tanhl.c: Likewise.
60752         * misc/acct.c: Likewise.
60753         * misc/brk.c: Likewise.
60754         * misc/chflags.c: Likewise.
60755         * misc/chroot.c: Likewise.
60756         * misc/fchflags.c: Likewise.
60757         * misc/fgetxattr.c: Likewise.
60758         * misc/flistxattr.c: Likewise.
60759         * misc/fremovexattr.c: Likewise.
60760         * misc/fsetxattr.c: Likewise.
60761         * misc/fsync.c: Likewise.
60762         * misc/ftruncate.c: Likewise.
60763         * misc/futimes.c: Likewise.
60764         * misc/futimesat.c: Likewise.
60765         * misc/getdomain.c: Likewise.
60766         * misc/getdtsz.c: Likewise.
60767         * misc/gethostid.c: Likewise.
60768         * misc/gethostname.c: Likewise.
60769         * misc/getloadavg.c: Likewise.
60770         * misc/getpagesize.c: Likewise.
60771         * misc/getsysstats.c: Likewise.
60772         * misc/getxattr.c: Likewise.
60773         * misc/gtty.c: Likewise.
60774         * misc/ioctl.c: Likewise.
60775         * misc/lgetxattr.c: Likewise.
60776         * misc/listxattr.c: Likewise.
60777         * misc/llistxattr.c: Likewise.
60778         * misc/lremovexattr.c: Likewise.
60779         * misc/lsetxattr.c: Likewise.
60780         * misc/lutimes.c: Likewise.
60781         * misc/madvise.c: Likewise.
60782         * misc/mincore.c: Likewise.
60783         * misc/mlock.c: Likewise.
60784         * misc/mlockall.c: Likewise.
60785         * misc/mmap.c: Likewise.
60786         * misc/mprotect.c: Likewise.
60787         * misc/msync.c: Likewise.
60788         * misc/munlock.c: Likewise.
60789         * misc/munlockall.c: Likewise.
60790         * misc/munmap.c: Likewise.
60791         * misc/preadv.c: Likewise.
60792         * misc/preadv64.c: Likewise.
60793         * misc/ptrace.c: Likewise.
60794         * misc/pwritev.c: Likewise.
60795         * misc/pwritev64.c: Likewise.
60796         * misc/readv.c: Likewise.
60797         * misc/reboot.c: Likewise.
60798         * misc/remap_file_pages.c: Likewise.
60799         * misc/removexattr.c: Likewise.
60800         * misc/revoke.c: Likewise.
60801         * misc/select.c: Likewise.
60802         * misc/setdomain.c: Likewise.
60803         * misc/setegid.c: Likewise.
60804         * misc/seteuid.c: Likewise.
60805         * misc/sethostid.c: Likewise.
60806         * misc/sethostname.c: Likewise.
60807         * misc/setregid.c: Likewise.
60808         * misc/setreuid.c: Likewise.
60809         * misc/setxattr.c: Likewise.
60810         * misc/sstk.c: Likewise.
60811         * misc/stty.c: Likewise.
60812         * misc/swapoff.c: Likewise.
60813         * misc/swapon.c: Likewise.
60814         * misc/sync.c: Likewise.
60815         * misc/syncfs.c: Likewise.
60816         * misc/syscall.c: Likewise.
60817         * misc/truncate.c: Likewise.
60818         * misc/ualarm.c: Likewise.
60819         * misc/usleep.c: Likewise.
60820         * misc/ustat.c: Likewise.
60821         * misc/utimes.c: Likewise.
60822         * misc/vhangup.c: Likewise.
60823         * misc/writev.c: Likewise.
60824         * posix/_exit.c: Likewise.
60825         * posix/alarm.c: Likewise.
60826         * posix/execve.c: Likewise.
60827         * posix/fexecve.c: Likewise.
60828         * posix/fork.c: Likewise.
60829         * posix/fpathconf.c: Likewise.
60830         * posix/getaddrinfo.c: Likewise.
60831         * posix/getegid.c: Likewise.
60832         * posix/geteuid.c: Likewise.
60833         * posix/getgid.c: Likewise.
60834         * posix/getgroups.c: Likewise.
60835         * posix/getlogin.c: Likewise.
60836         * posix/getlogin_r.c: Likewise.
60837         * posix/getpgid.c: Likewise.
60838         * posix/getpid.c: Likewise.
60839         * posix/getppid.c: Likewise.
60840         * posix/getresgid.c: Likewise.
60841         * posix/getresuid.c: Likewise.
60842         * posix/getsid.c: Likewise.
60843         * posix/getuid.c: Likewise.
60844         * posix/glob64.c: Likewise.
60845         * posix/nanosleep.c: Likewise.
60846         * posix/pathconf.c: Likewise.
60847         * posix/pause.c: Likewise.
60848         * posix/posix_madvise.c: Likewise.
60849         * posix/pread.c: Likewise.
60850         * posix/pread64.c: Likewise.
60851         * posix/pwrite.c: Likewise.
60852         * posix/pwrite64.c: Likewise.
60853         * posix/sched_getaffinity.c: Likewise.
60854         * posix/sched_getp.c: Likewise.
60855         * posix/sched_gets.c: Likewise.
60856         * posix/sched_primax.c: Likewise.
60857         * posix/sched_primin.c: Likewise.
60858         * posix/sched_rr_gi.c: Likewise.
60859         * posix/sched_setaffinity.c: Likewise.
60860         * posix/sched_setp.c: Likewise.
60861         * posix/sched_sets.c: Likewise.
60862         * posix/sched_yield.c: Likewise.
60863         * posix/setgid.c: Likewise.
60864         * posix/setlogin.c: Likewise.
60865         * posix/setpgid.c: Likewise.
60866         * posix/setresgid.c: Likewise.
60867         * posix/setresuid.c: Likewise.
60868         * posix/setsid.c: Likewise.
60869         * posix/setuid.c: Likewise.
60870         * posix/sleep.c: Likewise.
60871         * posix/spawni.c: Likewise.
60872         * posix/sysconf.c: Likewise.
60873         * posix/times.c: Likewise.
60874         * posix/wait.c: Likewise.
60875         * posix/wait3.c: Likewise.
60876         * posix/wait4.c: Likewise.
60877         * posix/waitpid.c: Likewise.
60878         * resolv/gai_sigqueue.c: Likewise.
60879         * resource/getpriority.c: Likewise.
60880         * resource/getrlimit.c: Likewise.
60881         * resource/getrusage.c: Likewise.
60882         * resource/nice.c: Likewise.
60883         * resource/setpriority.c: Likewise.
60884         * resource/setrlimit.c: Likewise.
60885         * resource/ulimit.c: Likewise.
60886         * rt/aio_cancel.c: Likewise.
60887         * rt/aio_fsync.c: Likewise.
60888         * rt/aio_read.c: Likewise.
60889         * rt/aio_sigqueue.c: Likewise.
60890         * rt/aio_suspend.c: Likewise.
60891         * rt/aio_write.c: Likewise.
60892         * rt/clock_getres.c: Likewise.
60893         * rt/clock_gettime.c: Likewise.
60894         * rt/clock_nanosleep.c: Likewise.
60895         * rt/clock_settime.c: Likewise.
60896         * rt/lio_listio.c: Likewise.
60897         * rt/mq_close.c: Likewise.
60898         * rt/mq_getattr.c: Likewise.
60899         * rt/mq_notify.c: Likewise.
60900         * rt/mq_open.c: Likewise.
60901         * rt/mq_receive.c: Likewise.
60902         * rt/mq_send.c: Likewise.
60903         * rt/mq_setattr.c: Likewise.
60904         * rt/mq_timedreceive.c: Likewise.
60905         * rt/mq_timedsend.c: Likewise.
60906         * rt/mq_unlink.c: Likewise.
60907         * rt/shm_open.c: Likewise.
60908         * rt/shm_unlink.c: Likewise.
60909         * rt/timer_create.c: Likewise.
60910         * rt/timer_delete.c: Likewise.
60911         * rt/timer_getoverr.c: Likewise.
60912         * rt/timer_gettime.c: Likewise.
60913         * rt/timer_settime.c: Likewise.
60914         * setjmp/__longjmp.c: Likewise.
60915         * setjmp/setjmp.c: Likewise.
60916         * signal/kill.c: Likewise.
60917         * signal/killpg.c: Likewise.
60918         * signal/raise.c: Likewise.
60919         * signal/sigaction.c: Likewise.
60920         * signal/sigaltstack.c: Likewise.
60921         * signal/sigblock.c: Likewise.
60922         * signal/sigignore.c: Likewise.
60923         * signal/sigintr.c: Likewise.
60924         * signal/signal.c: Likewise.
60925         * signal/sigpause.c: Likewise.
60926         * signal/sigpending.c: Likewise.
60927         * signal/sigqueue.c: Likewise.
60928         * signal/sigreturn.c: Likewise.
60929         * signal/sigset.c: Likewise.
60930         * signal/sigsetmask.c: Likewise.
60931         * signal/sigstack.c: Likewise.
60932         * signal/sigsuspend.c: Likewise.
60933         * signal/sigtimedwait.c: Likewise.
60934         * signal/sigvec.c: Likewise.
60935         * signal/sigwait.c: Likewise.
60936         * signal/sigwaitinfo.c: Likewise.
60937         * signal/sysv_signal.c: Likewise.
60938         * socket/accept.c: Likewise.
60939         * socket/accept4.c: Likewise.
60940         * socket/bind.c: Likewise.
60941         * socket/connect.c: Likewise.
60942         * socket/getpeername.c: Likewise.
60943         * socket/getsockname.c: Likewise.
60944         * socket/getsockopt.c: Likewise.
60945         * socket/isfdtype.c: Likewise.
60946         * socket/listen.c: Likewise.
60947         * socket/recv.c: Likewise.
60948         * socket/recvfrom.c: Likewise.
60949         * socket/recvmsg.c: Likewise.
60950         * socket/send.c: Likewise.
60951         * socket/sendmsg.c: Likewise.
60952         * socket/sendto.c: Likewise.
60953         * socket/setsockopt.c: Likewise.
60954         * socket/shutdown.c: Likewise.
60955         * socket/sockatmark.c: Likewise.
60956         * socket/socket.c: Likewise.
60957         * socket/socketpair.c: Likewise.
60958         * stdio-common/ctermid.c: Likewise.
60959         * stdio-common/cuserid.c: Likewise.
60960         * stdio-common/remove.c: Likewise.
60961         * stdio-common/rename.c: Likewise.
60962         * stdio-common/renameat.c: Likewise.
60963         * stdio-common/tempname.c: Likewise.
60964         * stdlib/getcontext.c: Likewise.
60965         * stdlib/makecontext.c: Likewise.
60966         * stdlib/setcontext.c: Likewise.
60967         * stdlib/swapcontext.c: Likewise.
60968         * stdlib/system.c: Likewise.
60969         * streams/fattach.c: Likewise.
60970         * streams/fdetach.c: Likewise.
60971         * streams/getmsg.c: Likewise.
60972         * streams/getpmsg.c: Likewise.
60973         * streams/putmsg.c: Likewise.
60974         * streams/putpmsg.c: Likewise.
60975         * sysdeps/unix/bsd/getpt.c: Likewise.
60976         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
60977         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
60978         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
60979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60980         Likewise.
60981         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
60982         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60983         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
60984         * sysvipc/msgctl.c: Likewise.
60985         * sysvipc/msgget.c: Likewise.
60986         * sysvipc/msgrcv.c: Likewise.
60987         * sysvipc/msgsnd.c: Likewise.
60988         * sysvipc/semctl.c: Likewise.
60989         * sysvipc/semget.c: Likewise.
60990         * sysvipc/semop.c: Likewise.
60991         * sysvipc/semtimedop.c: Likewise.
60992         * sysvipc/shmat.c: Likewise.
60993         * sysvipc/shmctl.c: Likewise.
60994         * sysvipc/shmdt.c: Likewise.
60995         * sysvipc/shmget.c: Likewise.
60996         * termios/tcdrain.c: Likewise.
60997         * termios/tcflow.c: Likewise.
60998         * termios/tcflush.c: Likewise.
60999         * termios/tcgetattr.c: Likewise.
61000         * termios/tcgetpgrp.c: Likewise.
61001         * termios/tcsendbrk.c: Likewise.
61002         * termios/tcsetattr.c: Likewise.
61003         * termios/tcsetpgrp.c: Likewise.
61004         * time/adjtime.c: Likewise.
61005         * time/clock.c: Likewise.
61006         * time/getitimer.c: Likewise.
61007         * time/gettimeofday.c: Likewise.
61008         * time/setitimer.c: Likewise.
61009         * time/settimeofday.c: Likewise.
61010         * time/stime.c: Likewise.
61011         * time/time.c: Likewise.
61013 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
61015         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
61016         /usr/old/bin.
61018         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
61019         instead of spaces.
61020         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
61022 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
61024         [BZ #14796]
61025         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
61026         FE_TONEAREST before applying Dekker multiplication and Knuth
61027         addition.  Clear inexact exceptions and check for exact zero
61028         results afterwards.
61029         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61030         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
61031         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61032         * math/libm-test.inc (fma_test): Add more tests.
61033         (fma_test_towardzero): Likewise.
61034         (fma_test_downward): Likewise.
61035         (fma_test_upward): Likewise.
61036         * sysdeps/generic/math_private.h (default_libc_fesetround): New
61037         function.
61038         (libc_fesetround): New macro.
61039         (libc_fesetroundf): Likewise.
61040         (libc_fesetroundl): Likewise.
61041         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
61042         function.
61043         (libc_fesetround_387): Likewise.
61044         (libc_fesetroundf): New macro.
61045         (libc_fesetround): Likewise.
61046         (libc_fesetroundl): Likewise.
61047         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
61048         function.
61049         (libc_fesetroundf): New macro.
61050         (libc_fesetround): Likewise.
61051         (libc_fesetroundl): Likewise.
61052         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
61053         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
61054         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
61055         libm_hidden_ver.
61056         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
61057         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
61058         libm_hidden_def.
61059         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
61060         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
61061         libm_hidden_ver.
61062         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
61063         libm_hidden_def.
61065         [BZ #3439]
61066         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
61067         integer constant usable in #if and use that to give value to enum
61068         constant.
61069         (FE_DIVBYZERO): Likewise.
61070         (FE_UNDERFLOW): Likewise.
61071         (FE_OVERFLOW): Likewise.
61072         (FE_INVALID): Likewise.
61073         (FE_INVALID_SNAN): Likewise.
61074         (FE_INVALID_ISI): Likewise.
61075         (FE_INVALID_IDI): Likewise.
61076         (FE_INVALID_ZDZ): Likewise.
61077         (FE_INVALID_IMZ): Likewise.
61078         (FE_INVALID_COMPARE): Likewise.
61079         (FE_INVALID_SOFTWARE): Likewise.
61080         (FE_INVALID_SQRT): Likewise.
61081         (FE_INVALID_INTEGER_CONVERSION): Likewise.
61082         (FE_TONEAREST): Likewise.
61083         (FE_TOWARDZERO): Likewise.
61084         (FE_UPWARD): Likewise.
61085         (FE_DOWNWARD): Likewise.
61086         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
61087         (FE_DIVBYZERO): Likewise.
61088         (FE_OVERFLOW): Likewise.
61089         (FE_UNDERFLOW): Likewise.
61090         (FE_INEXACT): Likewise.
61091         (FE_TONEAREST): Likewise.
61092         (FE_DOWNWARD): Likewise.
61093         (FE_UPWARD): Likewise.
61094         (FE_TOWARDZERO): Likewise.
61095         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
61096         (FE_UNDERFLOW): Likewise.
61097         (FE_OVERFLOW): Likewise.
61098         (FE_DIVBYZERO): Likewise.
61099         (FE_INVALID): Likewise.
61100         (FE_TONEAREST): Likewise.
61101         (FE_TOWARDZERO): Likewise.
61102         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
61103         (FE_OVERFLOW): Likewise.
61104         (FE_UNDERFLOW): Likewise.
61105         (FE_DIVBYZERO): Likewise.
61106         (FE_INEXACT): Likewise.
61107         (FE_TONEAREST): Likewise.
61108         (FE_TOWARDZERO): Likewise.
61109         (FE_UPWARD): Likewise.
61110         (FE_DOWNWARD): Likewise.
61111         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
61112         (FE_DIVBYZERO): Likewise.
61113         (FE_OVERFLOW): Likewise.
61114         (FE_UNDERFLOW): Likewise.
61115         (FE_INEXACT): Likewise.
61116         (FE_TONEAREST): Likewise.
61117         (FE_DOWNWARD): Likewise.
61118         (FE_UPWARD): Likewise.
61119         (FE_TOWARDZERO): Likewise.
61121 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
61123         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
61125 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
61127         * scripts/cross-test-ssh.sh (command): Use newlines to separate
61128         commands.  Quote $PWD.
61129         (blacklist_exports): Don't use remove_newlines.  Replace "declare
61130         -x" by "export".
61131         (remove_newlines): Remove.
61133 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
61135         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
61136         * stdlib/stdlib.h (atof): Moved to ...
61137         * include/bits/stdlib-float.h: Here.  New file.
61138         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
61139         * stdlib/bits/stdlib-float.h: New file.
61140         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
61141         -mno-sse -mno-mmx.
61142         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
61143         <xmmintrin.h>.
61145 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
61147         * conform/conformtest.pl (@headers): Add fenv.h.
61148         * conform/data/fenv.h-data: New file.
61149         * include/fenv.h [_ISOMAC]: Disable all contents of file except
61150         include of <math/fenv.h>.
61152         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
61153         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
61154         && !UNIX98].  Enables tests for XOPEN2K8.
61155         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
61156         POSIX2008]: Likewise.
61158         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
61159         (struct rusage): Do not expect type or its members.
61161         [BZ #3439]
61162         * math/math.h (FP_NAN): Define macro to integer constant usable in
61163         #if and use that to give value to enum constant.
61164         (FP_INFINITE): Likewise.
61165         (FP_ZERO): Likewise.
61166         (FP_SUBNORMAL): Likewise.
61167         (FP_NORMAL): Likewise.
61169 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
61171         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
61172         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
61173         arguments.
61175 2012-11-02  Roland McGrath  <roland@hack.frob.com>
61177         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
61178         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
61179         autoconf-time if not.
61180         * configure.in: Remove AC_PREREQ.
61182 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61184         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
61185         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
61186         of the internal implementation.
61188 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
61190         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
61191         except include of <misc/sys/syslog.h>.
61193 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
61195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
61196         function returns with a NULL context exit with zero.
61198 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61200         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
61202 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
61204         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
61205         (run_program_cmd): This.
61206         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
61207         (tst_langinfo): New variable.  Use it.
61209 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
61211         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
61212         floating point opcodes.
61214 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
61216         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
61217         variable.
61219         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
61221         * sysdeps/mach/hurd/powerpc: Remove directory.
61222         * sysdeps/mach/powerpc: Likewise.
61224 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
61226         * scripts/check-local-headers.sh: Ignore c++ headers.
61228 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
61230         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
61231         __libc_cleanup_region_start argument.
61233 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
61235         [BZ #14784]
61236         [BZ #14785]
61237         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
61238         x * y using scaling, not as x * y + z.
61239         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61240         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61241         * math/libm-test.inc (fma_test): Add more tests.
61242         (fma_test_towardzero): Likewise.
61243         (fma_test_downward): Likewise.
61244         (fma_test_upward): Likewise.
61246 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
61248         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
61250 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
61252         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
61253         New variable.
61255 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
61257         * rt/tst-shm.c (worker): Correct checking for mmap failure.
61259 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
61261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61262         Fix sort order.
61263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61264         Likewise.
61266 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61269         Fix the order of the list for glibc 2.17.
61270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61271         Likewise.
61273 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
61275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61277 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
61279         [BZ #14610]
61280         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
61281         for low part of x being zero before using __atanl (y).
61282         * math/libm-test.inc (atan2_test): Add another test.
61284         * manual/install.texi (Configuring and compiling): Document
61285         general use of test-wrapper and test-wrapper-env.
61286         * INSTALL: Regenerated.
61288         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
61289         (__fma): Do not extract and scale down low bits on after-rounding
61290         systems when result rounded to normal precision would have normal
61291         exponent.
61292         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
61293         (__fmal): Do not extract and scale down low bits on after-rounding
61294         systems when result rounded to normal precision would have normal
61295         exponent.
61296         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
61297         (__fmal): Do not extract and scale down low bits on after-rounding
61298         systems when result rounded to normal precision would have normal
61299         exponent.
61300         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
61301         macro.
61302         (fma_test): Add more tests.
61303         (fma_test_towardzero): Likewise.
61304         (fma_test_downward): Likewise.
61305         (fma_test_upward): Likewise.
61307 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
61309         * sysdeps/i386/tininess.h: Renamed to ...
61310         * sysdeps/x86/tininess.h: This.
61311         * sysdeps/x86_64/tininess.h: Removed.
61313 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
61315         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
61316         input.  Use $(build-program-cmd).
61317         ($(objpfx)tst-array1-static.out): Likewise.
61318         ($(objpfx)tst-array2.out): Likewise.
61319         ($(objpfx)tst-array3.out): Likewise.
61320         ($(objpfx)tst-array4.out): Likewise.
61321         ($(objpfx)tst-array5.out): Likewise.
61322         ($(objpfx)tst-array5-static.out): Likewise.
61324 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
61326         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
61327         if defined.
61329         * nss/nsswitch.h (nss_interface_function): Provide new
61330         macro for use with NSS functions.
61331         * grp/initgroups.c: Use new macro.
61332         * nss/getXXbyYY.c: Likewise.
61333         * nss/getXXbyYY_r.c: Likewise.
61334         * nss/getXXent.c: Likewise.
61335         * nss/getXXent_r.c: Likewise.
61336         * sysdeps/posix/getaddrinfo.c: Likewise.
61338 2012-10-30  Andreas Jaeger  <aj@suse.de>
61340         * po/ru.po: Update Russion translation from translation project.
61342 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
61344         [BZ #14152]
61345         [BZ #14783]
61346         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
61347         result and shift together with sticky bit instead of replicating
61348         round-to-nearest rounding.
61349         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61350         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61351         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
61352         missing underflow exceptions.
61353         (fma_test_towardzero): Add more tests.
61354         (fma_test_downward): Likewise.
61355         (fma_test_upward): Likewise.
61357         [BZ #14047]
61358         * sysdeps/generic/tininess.h: New file.
61359         * sysdeps/i386/tininess.h: Likewise.
61360         * sysdeps/sh/tininess.h: Likewise.
61361         * sysdeps/x86_64/tininess.h: Likewise.
61362         * stdlib/tst-strtod-underflow.c: Likewise.
61363         * stdlib/tst-tininess.c: Likewise.
61364         * stdlib/strtod_l.c: Include <tininess.h>.
61365         (round_and_return): Do not set errno for exact underflow cases.
61366         Force an underflow exception when setting errno for underflow.
61367         Determine underflow based on rounding to normal precision if
61368         TININESS_AFTER_ROUNDING.
61369         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
61370         ERANGE for exact underflow cases.
61371         * stdlib/Makefile (tests): Add tst-tininess and
61372         tst-strtod-underflow.
61373         ($(objpfx)tst-tininess): Use $(link-libm).
61374         ($(objpfx)tst-strtod-underflow): Likewise.
61376 2012-10-30  Andreas Jaeger  <aj@suse.de>
61378         [BZ#14767]
61379         * elf/Makefile (tests): Remove conditional for have-initfini-array
61380         since this is now always required and the variable does not exist
61381         anymore.
61382         (tests-static): Likewise.
61383         (modules-names): Likewise.
61385         * po/eo.po: Add Esperanto translation from translation project.
61387         * elf/tst-array1.c (fini_array): Make writeable so that it can be
61388         merged with constructor/destructor.
61389         (init_array): Likewise.
61390         * elf/tst-array2dep.c (fini_array): Likewise.
61391         (init_array): Likewise.
61393 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
61395         * manual/message.texi: Delete @cartouche tags.
61397 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
61399         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
61400         EOPNOTSUPP.
61401         * sysdeps/mach/hurd/fsync.c: Likewise.
61403         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
61404         [_POSIX_REALTIME_SIGNALS]: Change condition to
61405         [_POSIX_REALTIME_SIGNALS > 0].
61407 2012-10-27  Andreas Jaeger  <aj@suse.de>
61409         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
61410         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
61411         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
61412         [__WORDSIZE != 64]: Likewise.
61414 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
61416         *  iconvdata/tst-table.sh: Remove ${SHELL}.
61417         *  iconvdata/tst-tables.sh: Likewise.
61419 2012-10-25  David S. Miller  <davem@davemloft.net>
61421         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61422         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
61423         of strtoull.
61425         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
61426         ifunc-impl-list.c
61427         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61428         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
61429         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
61430         file.
61432 2012-10-25  Roland McGrath  <roland@hack.frob.com>
61434         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61435         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
61436         __getdirentries.
61438 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
61439             Jim Blandy  <jimb@codesourcery.com>
61441         * scripts/cross-test-ssh.sh: New file.
61442         * manual/install.texi (Configuring and compiling): Document use of
61443         cross-test-ssh.sh.
61444         * INSTALL: Regenerated.
61446 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
61448         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
61449         EOPNOTSUPP.
61451 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
61453         * Makeconfig (run-program-prefix): Fix comment.
61455 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
61456             Jim Blandy  <jimb@codesourcery.com>
61458         * Makeconfig (test-wrapper): New variable,
61459         (test-wrapper-env): Likewise.
61460         [$(cross-compiling) = yes && $(test-wrapper) != ""]
61461         (run-built-tests): Define to yes.
61462         (run-program-prefix): Use $(test-wrapper).
61463         (built-program-cmd): Likewise.
61464         * Rules (make-test-out): Use $(test-wrapper-env) and
61465         $(host-built-program-cmd).
61466         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
61467         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
61468         tst-pathopt.sh.
61469         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
61470         $(test-wrapper-env) to tst-rtld-load-self.sh.
61471         ($(objpfx)order2.out): Use $(test-wrapper).
61472         ($(objpfx)tst-initorder.out): Likewise.
61473         ($(objpfx)tst-initorder2.out): Likewise.
61474         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
61475         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
61476         (test_wrapper_env): New variable.  Use it to run ld.so.
61477         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
61478         Use it to run ld.so.
61479         (test_wrapper_env): Likewise.
61480         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
61481         $(test-wrapper) to run-iconv-test.sh.
61482         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
61483         (ICONV): Use $test_wrapper.
61484         * posix/Makefile ($(objpfx)globtest.out): Pass
61485         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
61486         globtest.sh, not $(run-program-prefix).
61487         * posix/globtest.sh (run_via_rtld_prefix): New variable.
61488         (test_wrapper): Likewise.
61489         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
61490         set together with run_via_rtld_prefix.
61491         (run_program_prefix): Define in terms of test_wrapper and
61492         run_via_rtld_prefix.
61494 2012-10-24  Roland McGrath  <roland@hack.frob.com>
61496         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
61497         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
61498         Targets removed.
61500         [BZ #14743]
61501         * include/time.h: Remove librt_hidden_proto (clock_gettime).
61502         Declare __clock_getres, __clock_gettime, __clock_settime,
61503         __clock_nanosleep, and __clock_getcpuclockid.
61504         * rt/clock_gettime.c: Define __clock_gettime as an alias.
61505         Remove librt_hidden_def (clock_gettime).
61506         * sysdeps/unix/clock_gettime.c: Likewise.
61507         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
61508         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
61509         * rt/clock_getres.c: Define __clock_getres as an alias.
61510         * sysdeps/posix/clock_getres.c: Likewise.
61511         * rt/clock_settime.c: Define __clock_settime as an alias.
61512         * sysdeps/unix/clock_settime.c: Likewise.
61513         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
61514         * sysdeps/unix/clock_nanosleep.c: Likewise.
61515         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
61516         * rt/clock-compat.c: New file.
61517         * rt/Makefile (librt-routines): Add clock-compat and move
61518         $(clock-routines) to ...
61519         (routines): ... here, new variable.
61520         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
61521         Don't add get_clockfreq here.
61522         * rt/Versions (libc: GLIBC_2.17): New version set.
61523         Add clock_* symbols here.
61524         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
61525         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
61526         (GLIBC_2.17): Add clock_* symbols.
61527         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
61528         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
61529         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
61530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61531         Likewise.
61532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61533         Likewise.
61534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
61535         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
61536         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
61537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
61538         * NEWS: Mention the move.
61540         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
61541         Use __open, __read, __close rather than their public counterparts.
61542         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61543         (__get_clockfreq_via_cpuinfo): Likewise.
61544         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
61545         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
61547         * config.h.in (HAVE_IFUNC): New #undef.
61548         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
61549         was successful.
61550         * configure: Regenerated.
61552 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
61554         * configure.in: Move READELF check to start of file.
61555         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
61556         libc_cv_asm_gnu_indirect_function in the process.
61557         * configure: Regenerated.
61559 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
61561         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
61562         send the output to /dev/null.
61563         (libc_cv_cc_with_libunwind): Likewise.
61564         (libc_cv_as_noexecstack): Likewise.
61565         * configure: Regenerate.
61567 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
61569         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
61571         * posix/globtest.sh (TMPDIR): Do not set.
61572         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
61573         (testout): Likewise.
61575 2012-10-24  Andreas Jaeger  <aj@suse.de>
61577         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
61578         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
61579         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
61580         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
61581         posix_fadvise64, posix_fallocate64.
61583         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
61584         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
61585         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
61586         Likewise.
61587         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
61588         Likewise.
61589         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
61591         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
61592         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
61593         <bits/fcntl-linux.h>.
61594         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
61596         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
61597         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
61598         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
61599         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
61600         [__WORDSIZE != 64]: Likewise.
61602 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
61604         * Makeconfig (run-built-tests): New variable.
61605         * Rules [$(cross-compiling) = yes]: Change condition to
61606         [$(run-built-tests) = no].
61607         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
61608         to [$(run-built-tests) = yes].
61609         * elf/Makefile [$(cross-compiling) = no]: Likewise.
61610         * grp/Makefile [$(cross-compiling) = no]: Likewise.
61611         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
61612         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
61613         * intl/Makefile [$(cross-compiling) = no]: Likewise.
61614         * io/Makefile [$(cross-compiling) = no]: Likewise.
61615         * libio/Makefile [$(cross-compiling) = no]: Likewise.
61616         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
61617         * misc/Makefile [$(cross-compiling) = no]: Likewise.
61618         * posix/Makefile [$(cross-compiling) = no]: Likewise.
61619         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
61620         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
61621         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
61622         * string/Makefile [$(cross-compiling) = no]: Likewise.
61624         * posix/Makefile ($(objpfx)globtest.out): Pass
61625         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
61626         $(rtld-installed-name).
61627         * posix/globtest.sh (elf_objpfx): Remove variable.
61628         (rtld_installed_name): Likewise.
61629         (library_path): Likewise.
61630         (run_program_prefix): New variable.  Use for running globtest
61631         binary.
61633 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
61634             Joseph Myers  <joseph@codesourcery.com>
61636         * Makeconfig (host-built-program-cmd): New variable.
61637         * elf/Makefile (tst-stackguard1-ARGS): Use
61638         $(host-built-program-cmd).
61639         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
61640         (tst-spawn-ARGS): Likewise.
61641         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
61643 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
61644             Jim Blandy  <jimb@codesourcery.com>
61646         * Makeconfig (run-via-rtld-prefix): New variable.
61647         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
61648         (built-program-cmd): Likewise.
61650 2012-10-22  Andreas Jaeger  <aj@suse.de>
61652         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
61653         __O_RSYNC if it exists, otherwise to O_SYNC.
61655 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
61656             Joseph Myers  <joseph@codesourcery.com>
61658         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
61659         /dev/null.
61660         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
61661         from /dev/null
61662         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
61663         /dev/null.
61665 2012-10-22  Andreas Jaeger  <aj@suse.de>
61667         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
61668         Define always.
61669         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
61671         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61672         bits/fcntl-linux.h.
61674         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
61675         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
61677         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
61678         to __O_LARGEFILE.
61679         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
61680         to __O_LARGEFILE.
61682 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
61683             Joseph Myers  <joseph@codesourcery.com>
61685         * config.make.in (NM): New variable.
61687 2012-10-21  Andreas Jaeger  <aj@suse.de>
61689         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
61690         definitions and declarations that are provided by
61691         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
61693 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
61695         [BZ #14683]
61696         * elf/Makefile (tests-static): Add tst-leaks1-static.
61697         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
61698         ($(objpfx)tst-leaks1-static): New rule.
61699         ($(objpfx)tst-leaks1-static-mem): Likewise.
61700         (tst-leaks1-static-ENV): New macro.
61701         * elf/dl-open.c (dl_open_worker): Check the main application
61702         only if SHARED is defined.
61703         * elf/tst-leaks1-static.c: New file.
61705 2012-10-20  Andreas Jaeger  <aj@suse.de>
61707         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
61708         generic values for Linux.
61709         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
61710         and declarations that are provided by <bits/fcntl-linux.h> and
61711         include <bits/fcntl-linux.h>.
61712         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61713         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61715 2012-10-20  Roland McGrath  <roland@hack.frob.com>
61717         * io/fcntl.h: Move include of <bits/types.h> to the top and
61718         include it unconditionally.
61720 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
61722         * wcsmbs/Makefile (tests-ifunc): New variable.
61723         (tests): Add $(tests-ifunc).
61724         * wcsmbs/test-wcschr-ifunc.c: New file.
61725         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
61726         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
61727         * wcsmbs/test-wcslen-ifunc.c: Likewise.
61728         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
61729         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
61731         * string/Makefile (tests-ifunc): New variable.
61732         (tests): Add $(tests-ifunc).
61733         * string/test-memccpy.c (TEST_NAME): New macro.
61734         * string/test-memchr.c (TEST_NAME): Likewise.
61735         * string/test-memcmp.c (TEST_NAME): Likewise.
61736         * string/test-memcpy.c (TEST_NAME): Likewise.
61737         * string/test-memmem.c (TEST_NAME): Likewise.
61738         * string/test-memmove.c (TEST_NAME): Likewise.
61739         * string/test-memset.c (TEST_NAME): Likewise.
61740         * string/test-rawmemchr.c (TEST_NAME): Likewise.
61741         * string/test-stpcpy.c (TEST_NAME): Likewise.
61742         * string/test-stpncpy.c (TEST_NAME): Likewise.
61743         * string/test-strcasecmp.c (TEST_NAME): Likewise.
61744         * string/test-strcasestr.c (TEST_NAME): Likewise.
61745         * string/test-strcat.c (TEST_NAME): Likewise.
61746         * string/test-strchr.c (TEST_NAME): Likewise.
61747         * string/test-strcmp.c(TEST_NAME): Likewise.
61748         * string/test-strcpy.c (TEST_NAME): Likewise.
61749         * string/test-strcspn.c (TEST_NAME): Likewise.
61750         * string/test-strlen.c (TEST_NAME): Likewise.
61751         * string/test-strncasecmp.c (TEST_NAME): Likewise.
61752         * string/test-strncmp.c (TEST_NAME): Likewise.
61753         * string/test-strncpy.c (TEST_NAME): Likewise.
61754         * string/test-strnlen.c (TEST_NAME): Likewise.
61755         * string/test-strpbrk.c (TEST_NAME): Likewise.
61756         * string/test-strrchr.c (TEST_NAME): Likewise.
61757         * string/test-strspn.c (TEST_NAME): Likewise.
61758         * string/test-strstr.c (TEST_NAME): Likewise.
61759         * string/test-bcopy-ifunc.c: New file.
61760         * string/test-bzero-ifunc.c: Likewise.
61761         * string/test-memccpy-ifunc.c: Likewise.
61762         * string/test-memchr-ifunc.c: Likewise.
61763         * string/test-memcmp-ifunc.c: Likewise.
61764         * string/test-memcpy-ifunc.c: Likewise.
61765         * string/test-memmem-ifunc.c: Likewise.
61766         * string/test-memmove-ifunc.c: Likewise.
61767         * string/test-mempcpy-ifunc.c: Likewise.
61768         * string/test-memset-ifunc.c: Likewise.
61769         * string/test-rawmemchr-ifunc.c: Likewise.
61770         * string/test-stpcpy-ifunc.c: Likewise.
61771         * string/test-stpncpy-ifunc.c: Likewise.
61772         * string/test-strcasecmp-ifunc.c: Likewise.
61773         * string/test-strcasestr-ifunc.c: Likewise.
61774         * string/test-strcat-ifunc.c: Likewise.
61775         * string/test-strchr-ifunc.c: Likewise.
61776         * string/test-strchrnul-ifunc.c: Likewise.
61777         * string/test-strcmp-ifunc.c: Likewise.
61778         * string/test-strcpy-ifunc.c: Likewise.
61779         * string/test-strcspn-ifunc.c: Likewise.
61780         * string/test-strlen-ifunc.c: Likewise.
61781         * string/test-strncasecmp-ifunc.c: Likewise.
61782         * string/test-strncat-ifunc.c: Likewise.
61783         * string/test-strncmp-ifunc.c: Likewise.
61784         * string/test-strncpy-ifunc.c: Likewise.
61785         * string/test-strnlen-ifunc.c: Likewise.
61786         * string/test-strpbrk-ifunc.c: Likewise.
61787         * string/test-strrchr-ifunc.c: Likewise.
61788         * string/test-strspn-ifunc.c: Likewise.
61789         * string/test-strstr-ifunc.c: Likewise.
61791         * debug/Makefile (tests-ifunc): New variable.
61792         (tests): Add $(tests-ifunc).
61793         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
61794         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
61795         * debug/test-stpcpy_chk-ifunc.c: New file.
61796         * debug/test-strcpy_chk-ifunc.c: Likewise.
61798 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
61800         [BZ #13601]
61801         * elf/dl-load.c (open_verify): Retry read if the entire ELF
61802         header is not read in.
61804 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
61806         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
61807         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
61808         directly.  Pass built executable to script as
61809         $(built-program-cmd).
61810         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
61811         $testprogram without using LD_LIBRARY_PATH and $ldso.
61813         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
61814         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
61815         $(rtld-installed-name).
61816         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
61817         (rtld_installed_name): Likewise.
61818         (library_path): Likewise.
61819         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
61820         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
61821         $(run-program-prefix) to tst-tables.sh.
61822         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
61823         it to run tst-table-from and tst-table-to.
61824         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
61825         Pass it to tst-table.sh.
61826         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
61827         $(run-program-prefix) to tst-gettext.sh.
61828         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
61829         tst-translit.sh.
61830         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
61831         tst-gettext2.sh.
61832         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
61833         to run tst-gettext.
61834         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
61835         to run tst-gettext2.
61836         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
61837         to run tst-translit.
61838         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
61839         $(run-program-prefix) to tst-mtrace.sh.
61840         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
61841         to run tst-mtrace.
61842         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
61843         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
61844         $(rtld-installed-name).
61845         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
61846         (rtld_installed_name): Likewise.
61847         (run_program_prefix): New variable.  Use it to run wordexp-test.
61849         * Makeconfig (ARCH): Remove all definitions.
61850         (machine): Likewise.
61851         [ARCH]: Remove conditional code.
61852         [!objdir]: Give error.
61853         [!objdir] (objpfx): Remove.
61854         [!objdir] (common-objpfx): Likewise.
61855         [!objdir] (common-objdir): Likewise.
61856         * configure.in (config_makefile): Remove.  Hardcode Makefile in
61857         AC_CONFIG_FILES call.
61858         * configure: Regenerated.
61860         [BZ #13888]
61861         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
61862         or TMPDIR.
61863         (testout): Likewise.
61865         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
61866         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
61867         $(rtld-installed-name).
61868         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
61869         (rtld_installed_name): Likwise.
61870         (runit): Remove function.
61871         (run_getconf): New variable,  Use it for running getconf binary.
61873 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
61875         [BZ #14716]
61876         * string/test-memmem.c (check_result): New function.
61877         (do_one_test): Use it.
61878         (check1): New function.
61879         (test_main): Use it.
61881 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
61883         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
61885 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
61887         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
61888         (_G_LSEEK64): Likewise.
61889         (_G_MMAP64): Likewise.
61890         (_G_FSTAT64): Likewise.
61891         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
61892         (_G_LSEEK64): Likewise.
61893         (_G_MMAP64): Likewise.
61894         (_G_FSTAT64): Likewise.
61895         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
61896         unconditional.  Call __mmap64 directly.
61897         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
61898         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
61899         __lseek64 directly.
61900         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
61901         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
61902         __mmap64 directly.
61903         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
61904         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
61905         __lseek64 directly.
61906         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
61907         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
61908         __lseek64 directly.
61909         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
61910         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
61911         __lseek64 directly.
61912         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
61913         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
61914         __fxstat64 directly.
61915         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
61916         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
61917         unconditional.
61918         (freopen64) [!_G_OPEN64]: Remove conditional code.
61919         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
61920         unconditional.
61921         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
61922         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
61923         unconditional.
61924         (ftello64) [!_G_LSEEK64]: Remove conditional code.
61925         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
61926         unconditional.
61927         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
61928         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
61929         unconditional.
61930         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
61931         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
61932         unconditional.
61933         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
61934         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
61935         unconditional.
61936         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
61937         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
61938         unconditional.
61939         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
61941 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61943         [BZ #12140]
61944         * manual/memory.texi (Malloc Tunable Parameters): Add note
61945         about free list pointers overwriting some perturb bytes.
61946         Wording suggested by Roland McGrath.
61948 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
61950         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
61951         (lgamma_test): Likewise.
61952         (tgamma_test): Likewise.
61954 2012-10-16  Florian Weimer  <fweimer@redhat.com>
61956         [BZ #14700]
61957         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
61958         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
61960 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
61962         * NEWS: Mention BZ #14716.
61963         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
61964         when removing AVAILABLE1_USES_J macro.
61966 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
61968         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
61969         (__bswap_64): __uint64_t for unsigned 64-bit int.
61971 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
61973         * include/string.h (memmem): Declare libc hidden alias.
61974         * string/memmem.c (memmem): Define libc hidden alias.
61975         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
61976         __read, __close instead of open, read, close.
61978 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
61980         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
61981         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
61982         global and hidden.
61983         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
61984         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
61985         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
61986         Likewise.
61987         (__rawmemchr_sse2): Likewise.
61988         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
61989         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
61990         (__strchr_sse2): Likewise.
61991         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
61992         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
61993         (__strcasecmp_sse2): Likewise.
61994         (__strncasecmp_sse2): Likewise.
61995         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
61996         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
61997         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
61998         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
61999         (__strrchr_sse2): Likewise.
62000         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
62001         ifunc-impl-list.c.
62002         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
62003         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
62004         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
62005         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62006         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
62007         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
62008         * sysdeps/x86_64/multiarch/memset.S: Likewise.
62009         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
62010         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
62011         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
62012         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
62013         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
62014         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
62015         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
62016         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
62017         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
62018         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
62019         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
62020         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
62021         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
62022         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
62023         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
62024         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
62025         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
62026         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
62027         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62028         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
62029         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
62030         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
62031         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
62033         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
62034         global and hidden.
62035         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
62036         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
62037         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
62038         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
62039         Likewise.
62040         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
62041         Likewise.
62042         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
62043         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
62044         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
62045         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
62046         ifunc-impl-list.c.
62047         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
62048         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
62049         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
62050         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
62051         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
62052         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
62053         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
62054         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
62055         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
62056         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
62057         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
62058         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
62059         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
62060         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
62061         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
62062         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62063         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
62064         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
62065         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
62066         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
62067         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62068         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
62069         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
62070         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
62071         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62072         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
62073         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
62074         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
62075         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
62076         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
62077         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
62078         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
62079         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
62080         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
62081         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
62082         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
62083         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
62084         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
62085         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
62086         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
62087         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
62089         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
62090         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
62091         * include/ifunc-impl-list.h: New file.
62092         * misc/ifunc-impl-list.c: Likewise.
62093         * misc/Makefile (routines): Add ifunc-impl-list.
62094         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
62095         * string/test-string.h: Include <ifunc-impl-list.h>.
62096         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
62097         TEST_NAME]: New variables.
62098         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
62099         are defined.
62100         (test_init): Call __libc_ifunc_impl_list to initialize
62101         func_list if TEST_IFUNC and TEST_NAME are defined.
62103         * string/Makefile (strop-tests): Add bcopy and bzero.
62104         * string/test-bcopy.c: New file.
62105         * string/test-bzero.c: Likewise.
62106         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
62107         defined.
62108         * string/test-memset.c: Support bzero test if TEST_BZERO is
62109         defined.
62110         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
62111         __libc_memmove.
62112         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
62113         __libc_memset.
62114         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
62115         of memset.
62117 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
62119         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
62120         * configure: Regenerated.
62122         * Makeconfig (+link-static-before-libc): Don't include
62123         $(link-static-libc).
62125         * libio/libio.h (_IO_pos_t): Remove.
62127 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
62129         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
62130         McGrath.
62132 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
62134         * crypt/crypt-entry.c: Include fips-private.h.
62135         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
62136         * crypt/md5c-test.c (main): Tolerate disabled MD5.
62137         * sysdeps/unix/sysv/linux/fips-private.h: New file.
62138         * sysdeps/generic/fips-private.h: New file, dummy fallback.
62140 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
62142         * crypt/crypt-private.h: Include stdbool.h.
62143         (_ufc_setup_salt_r): Return bool.
62144         * crypt/crypt-entry.c: Include errno.h.
62145         (__crypt_r): Return NULL with EINVAL for bad salt.
62146         * crypt/crypt_util.c (bad_for_salt): New.
62147         (_ufc_setup_salt_r): Check that salt is long enough and within
62148         the specified alphabet.
62149         * crypt/badsalttest.c: New file.
62150         * crypt/Makefile (tests): Add it.
62151         ($(objpfx)badsalttest): New.
62153 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
62155         * NEWS: Add entry for BZ #14602.
62157 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
62159         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
62160         type-generic.
62161         * math/libm-test.inc: Update comment listing what functions and
62162         macros are tested.
62163         (isgreater_test): New function.
62164         (isgreaterequal_test): Likewise.
62165         (isless_test): Likewise.
62166         (islessequal_test): Likewise.
62167         (islessgreater_test): Likewise.
62168         (isunordered_test): Likewise.
62169         (main): Call the new functions.
62171 2012-10-09  Roland McGrath  <roland@hack.frob.com>
62173         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
62174         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
62175         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
62176         * sysdeps/i386/configure: Regenerated.
62177         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
62178         * sysdeps/mach/configure: Regenerated.
62179         * sysdeps/mach/hurd/configure: Regenerated.
62180         * sysdeps/powerpc/configure: Regenerated.
62181         * sysdeps/powerpc/powerpc32/configure: Regenerated.
62182         * sysdeps/powerpc/powerpc64/configure: Regenerated.
62183         * sysdeps/s390/s390-32/configure: Regenerated.
62184         * sysdeps/s390/s390-64/configure: Regenerated.
62185         * sysdeps/sh/configure: Regenerated.
62186         * sysdeps/sparc/configure: Regenerated.
62187         * sysdeps/unix/sysv/linux/configure: Regenerated.
62188         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
62189         * sysdeps/x86_64/configure: Regenerated.
62191         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
62192         defined.  Don't check if MAP is NULL.
62194 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
62196         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
62197         (_G_stat64): Likewise.
62198         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
62199         (_G_stat64): Likewise.
62200         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
62201         instead of struct _G_stat64.
62202         * libio/fileops.c (mmap_remap_check): Likewise.
62203         (decide_maybe_mmap): Likewise.
62204         (_IO_new_file_seekoff): Likewise.
62205         (_IO_file_stat): Likewise.
62206         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
62207         _G_off64_t.
62208         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
62209         instead of struct _G_stat64.
62210         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
62212 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
62214         [BZ #14602]
62215         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
62216         Replace with ...
62217         (CHECK_EOL): New macro.
62218         (two_way_short_needle): Check beginning of haystack for EOL.  Use
62219         CHECK_EOL.
62220         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
62221         Replace with CHECK_EOL.
62222         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
62223         Replace with CHECK_EOL.
62225 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
62227         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
62228         type-generic.
62229         * math/libm-test.inc: Update comment listing what functions and
62230         macros are tested.
62231         (finite_test): New function.
62232         (isinf_test): Likewise.
62233         (isnan_test): Likewise.
62234         (fpclassify_test): Test subnormal input.
62235         (isfinite_test): Likewise.
62236         (isnormal_test): Likewise.
62237         (main): Call the new functions.
62239 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
62241         [BZ #14660]
62242         * Makerules (%.dynsym): Force C locale when running
62243         $(OBJDUMP) --dynamic-syms.
62245 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
62247         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
62248         <stdint.h>.
62250 2012-10-06  David S. Miller  <davem@davemloft.net>
62252         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
62253         upper 32-bits of the length value in %o2 since we use branch-on-register
62254         tests which consider the entire 64-bit register.
62256 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
62258         * string/test-strstr.c (check2): Add a test for page boundary.
62260 2012-10-05  David S. Miller  <davem@davemloft.net>
62262         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
62263         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
62264         file.
62265         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
62266         sysdep_routines.
62267         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
62268         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
62269         and bzero when HWCAP_SPARC_CRYPTO is present.
62271 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
62273         [BZ #14602]
62274         * string/test-strstr.c (check2): New function.
62275         (test_main): Call check2.
62277         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
62278         and bug-strchr1.
62279         * string/bug-strcasestr1.c (do_test): Moved to ...
62280         * string/test-strcasestr.c (check1): Here.  New function.
62281         (do_one_test): Break out result checking code into ...
62282         (check_result): This.  New function.
62283         (do_one_test): Call check_result.
62284         (test_main): Call check1.
62285         * string/bug-strchr1.c (do_test): Moved to ...
62286         * string/test-strchr.c (check1): Here.  New function.
62287         (do_one_test): Break out result checking code into ...
62288         (check_result): This.  New function.
62289         (do_one_test): Call check_result.
62290         (test_main): Call check1.
62291         * string/bug-strstr1.c (main): Moved to ...
62292         * string/test-strstr.c (check1): Here.  New function.
62293         (do_one_test): Break out result checking code into ...
62294         (check_result): This.  New function.
62295         (do_one_test): Call check_result.
62296         (test_main): Call check1.
62297         * string/bug-strcasestr1.c: Removed.
62298         * string/bug-strchr1.c: Likewise.
62299         * string/bug-strstr1.c: Likewise.
62301         * elf/Makefile (dl-routines): Add hwcaps.
62302         * elf/dl-support.c (_dl_important_hwcaps): Removed.
62303         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
62304         (_dl_important_hwcaps): Moved to ...
62305         * elf/dl-hwcaps.c: Here.  New file.
62306         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
62308         [BZ #14557]
62309         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
62310         if IS_IN_rtld isn't defined.
62312         * elf/dl-support.c (_dl_sysinfo_map): New.
62313         Include "get-dynamic-info.h" and "setup-vdso.h".
62314         (_dl_non_dynamic_init): Call setup_vdso.
62315         * elf/dynamic-link.h: Don't include <assert.h>.
62316         (elf_get_dynamic_info): Moved to ...
62317         * elf/get-dynamic-info.h: Here.  New file.
62318         * elf/dynamic-link.h: Include "get-dynamic-info.h".
62319         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
62320         * elf/setup-vdso.h: Here.  New file.
62321         * elf/rtld.c: Include "setup-vdso.h".
62322         (dl_main): Call setup_vdso.
62324 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
62326         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
62327         creal in comment listing functions tested.  List finite, isinf,
62328         isnan, isless, islessequal, isgreater, isgreaterequal,
62329         islessgreater, isunordered, lgamma_r and pow10 as functions and
62330         macros not tested.  Mention which functions not tested are aliases
62331         for other functions.  Fix typo.  Note that signs of NaNs are not
62332         tested.
62334         * scripts/config.guess: Update from config.git.
62335         * scripts/config.sub: Likewise.
62337 2012-10-04  Roland McGrath  <roland@hack.frob.com>
62339         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
62340         * misc/madvise.c (madvise): Renamed to __madvise.
62341         Make madvise a weak alias.
62342         * include/sys/mman.h: Declare __madvise.
62343         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
62344         * sysdeps/unix/syscalls.list
62345         (madvise): Make __madvise the strong name, and madvise a weak alias.
62346         * sysdeps/unix/sysv/linux/syscalls.list
62347         (madvise, mmap): Remove redundant entries.
62348         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
62349         * malloc/malloc.c (mtrim): Likewise.
62350         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
62352 2012-10-03  Roland McGrath  <roland@hack.frob.com>
62354         * sysdeps/mach/hurd/dl-cache.c: File removed.
62355         * config.h.in (USE_LDCONFIG): New #undef.
62356         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
62357         * configure: Regenerated.
62358         * elf/Makefile (dl-routines): Add dl-cache only under
62359         [$(use-ldconfig) = yes].
62360         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
62361         cache on [USE_LDCONFIG].
62362         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
62363         [USE_LDCONFIG].
62364         * elf/rtld.c (dl_main): Likewise.
62366 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
62368         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
62369         _SC_LEVEL4_CACHE_LINESIZE.
62371 2012-10-03  Roland McGrath  <roland@hack.frob.com>
62373         * sysdeps/unix/bsd/confstr.h: File removed.
62375 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
62377         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
62378         sys/sdt-config.h.
62380 2012-10-02  Roland McGrath  <roland@hack.frob.com>
62382         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
62383         Make 'mapoff' field ElfW(Off) rather than off_t.
62385 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
62387         * nscd/Makefile: Remove nscd-cflags and all its users.
62388         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
62389         (CFLAGS-nonlib): Add compiler flags for nscd modules.
62391         [BZ #10631]
62392         * malloc.c (malloc_printerr): Clarify error message.
62394 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
62396         [BZ #14648]
62397         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62398         Set bit_FMA_Usable if FMA is supported.
62399         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
62400         macro.
62401         (bit_FMA4_Usable): Updated.
62402         (index_FMA_Usable): New macro.
62403         (CPUID_FMA): Likewise.
62404         (HAS_FMA): Defined with bit_FMA_Usable.
62406 2012-10-01  Roland McGrath  <roland@hack.frob.com>
62408         * bits/types.h (__swblk_t): Type removed.
62409         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
62410         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
62411         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
62412         (__SWBLK_T_TYPE): Likewise.
62413         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
62414         (__SWBLK_T_TYPE): Likewise.
62415         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
62416         (__SWBLK_T_TYPE): Likewise.
62417         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
62418         (__SWBLK_T_TYPE): Likewise.
62420 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
62421             Honza Horak <hhorak@redhat.com>
62423         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
62424         (xdr_mapname): Use YPMAXMAP as maxsize.
62425         (xdr_peername): Use YPMAXPEER as maxsize.
62426         (xdr_keydat): Use YPAXRECORD as maxsize.
62427         (xdr_valdat): Use YPMAXRECORD as maxsize.
62429 2012-10-01  Roland McGrath  <roland@hack.frob.com>
62431         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
62433         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
62434         * csu/init-first.c: ... here.
62435         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
62436         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
62437         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
62438         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
62439         * sysdeps/i386/init-first.c: File removed.
62440         * sysdeps/sh/init-first.c: File removed.
62442 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
62444         [BZ #14645]
62445         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
62446         if x * y might underflow to zero and z is zero.
62447         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62448         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62449         * math/libm-test.inc (min_subnorm_value): New variable.
62450         (fma_test): Add more tests.
62451         (fma_test_towardzero): Likewise.
62452         (fma_test_downward): Likewise.
62453         (fma_test_upward): Likewise.
62454         (initialize): Set min_subnorm_value.
62456 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
62458         [BZ #14638]
62459         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
62460         0 + 0.
62461         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
62462         mode for addition resulting in exact zero.
62463         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
62464         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
62465         exact 0 + 0.
62466         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
62467         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62468         * math/libm-test.inc (fma_test): Add more tests.
62469         (fma_test_towardzero): New function.
62470         (fma_test_downward): Likewise.
62471         (fma_test_upward): Likewise.
62472         (main): Call the new functions.
62474 2012-09-28  David S. Miller  <davem@davemloft.net>
62476         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
62478 2012-09-28  Roland McGrath  <roland@hack.frob.com>
62480         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
62481         instead of SIGALRM.
62483         * sysdeps/gnu/_G_config.h: Moved to ...
62484         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
62485         * sysdeps/mach/hurd/_G_config.h: Moved to ...
62486         * sysdeps/generic/_G_config.h: ... here.
62488         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
62490         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
62492         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
62493         Conditionalize target on [libnss_test1.so-version].
62495         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
62497         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
62498         (elfobjdir): Move out of conditionals.
62500         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
62501         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
62502         (__nss_lookup_function): Conditionalize label remove_from_tree on
62503         [!DO_STATIC_NSS || SHARED], matching its only use.
62505 2012-09-28  David S. Miller  <davem@davemloft.net>
62507         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
62508         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
62509         file.
62510         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
62511         sysdep_routines.
62512         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
62513         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
62514         when HWCAP_SPARC_CRYPTO is present.
62516 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62518         * io/tst-mknodat.c: Create a FIFO instead of a socket.
62520 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
62522         [BZ #6530]
62523         * stdio-common/vfprintf.c (process_string_arg): Revert
62524         2000-07-22 change.
62526 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
62528         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
62529         for testcase.
62530         * stdio-common/tst-sprintf.c: Include <locale.h>
62531         (main): Test sprintf's handling of incomplete multibyte
62532         characters.
62534 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
62536         * elf/dl-runtime.c (VERSYMIDX): Removed.
62537         * elf/dl-version.c (VERSYMIDX): Likewise.
62538         * elf/do-rel.h (VERSYMIDX): Likewise.
62539         (VALIDX): Likewise.
62540         * elf/dynamic-link.h (VERSYMIDX): Likewise.
62541         * elf/rtld.c (VALIDX): Likewise.
62542         (ADDRIDX): Likewise.
62543         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
62544         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
62545         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
62546         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
62547         (VALIDX): Likewise.
62548         (ADDRIDX): Likewise.
62550 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62552         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
62554 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
62556         [BZ #11438]
62557         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
62558         to global scope.
62559         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
62560         addresses are in the same scope as 192.0.2/24.
62561         * posix/gai.conf: Document new scope table defaults.
62563 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62565         [BZ #5298]
62566         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
62567         for ftell.  Compute offsets from write pointers instead.
62568         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
62570 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62572         [BZ #14543]
62573         * libio/Makefile (tests): New test case tst-fseek.
62574         * libio/tst-fseek.c: New test case to verify that fseek/ftell
62575         combination works in wide mode.
62576         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
62577         state when the external buffer state changes.
62579 2012-09-27  David S. Miller  <davem@davemloft.net>
62581         [BZ #14376]
62582         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
62583         pass reloc->r_addend in as the 'high' argument to
62584         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
62586         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62588 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62590         * rt/tst-aio2.c: Include <pthread.h>.
62591         * rt/tst-aio3.c: Likewise.
62593 2012-09-27  Steve Ellcey  <sellcey@mips.com>
62595         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
62597 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
62599         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
62600         contents on [SHARED].
62602 2012-09-26  Marek Polacek  <polacek@redhat.com>
62604         [BZ #14530]
62605         [BZ #13741]
62606         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
62607         for C++ and GCC <4.3 as well as for non GCC compilers.
62609 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
62611         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62613 2012-09-25  Roland McGrath  <roland@hack.frob.com>
62615         * Makefile.in (all, install): Declare with .PHONY.
62616         Reported by Michael Hope <michael.hope@linaro.org>.
62618 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62620         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
62621         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
62622         system header.
62623         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
62624         Likewise.
62625         (sydep_routines): Add the new and the internal functions.
62626         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
62627         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
62628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
62629         (GLIBC_2.17): Add the new function.
62630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
62631         (GLIBC_2.17): Likewise.
62632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
62633         (GLIBC_2.17): Likewise.
62634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
62635         (GLIBC_2.17): Likewise.
62636         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
62638 2012-09-25  Alan Modra  <amodra@gmail.com>
62640         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
62641         Add release barrier before setting once_control to say
62642         initialisation is done.  Add hints on lwarx.  Use macro in
62643         place of isync.
62644         (clear_once_control): Add release barrier.
62646 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
62648         [BZ #13629]
62649         * math/s_clog.c (__clog): Handle more values close to |z| = 1
62650         specially.
62651         * math/s_clog10.c (__clog10): Likewise.
62652         * math/s_clog10f.c (__clog10f): Likewise.
62653         * math/s_clog10l.c (__clog10l): Likewise.
62654         * math/s_clogf.c (__clogf): Likewise.
62655         * math/s_clogl.c (__clogl): Likewise.
62656         * math/Makefile (libm-calls): Add x2y2m1.
62657         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
62658         (__x2y2m1): Likewise.
62659         (__x2y2m1l): Likewise.
62660         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
62661         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
62662         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
62663         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
62664         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
62665         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
62666         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
62667         * sysdeps/i386/fpu/libm-test-ulps: Update.
62668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62670         [BZ #14621]
62671         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
62672         int as type of variable DEPTH.
62673         (glob): Use size_t instead of int as type of variables NEWCOUNT
62674         and OLD_PATHC.
62676 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62678         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
62679         Add s_sincosf-sse2.
62680         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
62681         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
62682         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
62683         macros for using routine as __sincosf_ia32.
62684         Use macro for function declaration and weak_alias.
62685         * sysdeps/i386/fpu/libm-test-ulps: Update.
62687         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
62688         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62690         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
62691         subnormal argument.
62692         * math/s_cexpf.c (__cexpf): Likewise.
62693         * math/s_csinf.c (__csinf): Likewise.
62694         * math/s_csinhf.c (__csinhf): Likewise.
62695         * math/s_ctanf.c (__ctanf): Likewise.
62696         * math/s_ctanhf.c (__ctanhf): Likewise.
62697         * math/s_ccosh.c (__ccoshf): Likewise.
62698         * math/s_cexp.c (__cexpl): Likewise.
62699         * math/s_csin.c (__csin): Likewise.
62700         * math/s_csinh.c (__csinh): Likewise.
62701         * math/s_ctan.c (__ctan): Likewise.
62702         * math/s_ctanh.c (ctanh): Likewise.
62703         * math/s_ccoshl.c (__ccoshl): Likewise.
62704         * math/s_cexpl.c (__cexpl): Likewise.
62705         * math/s_csinl.c (__csinl): Likewise.
62706         * math/s_csinhl.c (__csinhl): Likewise.
62707         * math/s_ctanl.c (__ctanl): Likewise.
62708         * math/s_ctanhl.c (__ctanhl): Likewise.
62710 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
62712         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
62713         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
62714         (_IO_off_t): Define to __off_t, not _G_off_t.
62715         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
62716         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
62717         (_IO_wint_t): Define to wint_t, not _G_wint_t.
62718         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
62719         type of __dummy and __dummy2 fields.
62720         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
62721         (_G_ssize_t): Likewise.
62722         (_G_off_t): Likewise.
62723         (_G_pid_t): Likewise.
62724         (_G_uid_t): Likewise.
62725         (_G_wchar_t): Likewise.
62726         (_G_wint_t): Likewise.
62727         * sysdeps/gnu/_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/mach/hurd/_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.
62742 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62744         * malloc/arena.c: Include malloc-sysdep.h.
62745         (shrink_heap): Use check_may_shrink_heap to decide if madvise
62746         is sufficient to shrink the heap or an unmap is needed.
62747         * sysdeps/generic/malloc-sysdep.h: New file.  Define
62748         new function check_may_shrink_heap.
62749         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
62750         new function check_may_shrink_heap.
62752 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62754         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
62755         comments.
62757 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
62759         * catgets/test-gencat.sh: Add "set -e".
62760         * elf/tst-pathopt.sh: Likewise.
62761         * grp/tst_fgetgrent.sh: Likewise.
62762         * iconvdata/run-iconv-test.sh: Likewise.
62763         * intl/tst-gettext.sh: Likewise.
62764         * intl/tst-gettext2.sh: Likewise.
62765         * intl/tst-gettext4.sh: Likewise.
62766         * intl/tst-gettext6.sh: Likewise.
62767         * intl/tst-translit.sh: Likewise.
62768         * io/ftwtest-sh: Likewise.
62769         * libio/test-freopen.sh: Likewise.
62770         * malloc/tst-mtrace.sh: Likewise.
62771         * posix/globtest.sh: Likewise.
62772         * posix/tst-getconf.sh: Likewise.
62773         * posix/wordexp-tst.sh: Likewise.
62774         * stdio-common/tst-printf.sh: Likewise.
62775         * stdio-common/tst-unbputc.sh: Likewise.
62776         * stdlib/tst-fmtmsg.sh: Likewise.
62777         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
62778         * catgets/Makefile: Do not specify -e option when running
62779         testsuite shell scripts.
62780         * elf/Makefile: Likewise.
62781         * grp/Makefile: Likewise.
62782         * iconvdata/Makefile: Likewise.
62783         * intl/Makefile: Likewise.
62784         * io/Makefile: Likewise.
62785         * libio/Makefile: Likewise.
62786         * malloc/Makefile: Likewise.
62787         * posix/Makefile: Likewise.
62788         * stdio-common/Makefile: Likewise.
62789         * stdlib/Makefile: Likewise.
62790         * sysdeps/x86_64/Makefile: Likewise.
62792         * io/ftwtest-sh: Add copyright header.
62793         * posix/globtest.sh: Likewise.
62794         * posix/tst-getconf.sh: Likewise.
62795         * posix/wordexp-tst.sh: Likewise.
62796         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
62798 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
62800         [BZ #13679]
62801         * Makeconfig (+link): Defined as $(+link-static) if
62802         $(build-shared) isn't yes.
62803         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
62804         isn't yes.
62805         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
62807         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
62809         [BZ #14562]
62810         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
62811         new chunk size with MALLOC_ALIGN_MASK.
62813 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
62815         [BZ #5044]
62816         * stdio-common/printf_fphex.c: Include <stdbool.h> and
62817         <rounding-mode.h>.
62818         (__printf_fphex): Determine rounding using get_rounding_mode and
62819         round_away.
62820         * stdio-common/tst-printf-round.c (struct hex_test): New
62821         structure.
62822         (hex_tests): New variable.
62823         (test_hex_in_one_mode): New function.
62824         (do_test): Also run tests for hex float output.
62826 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
62828         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
62829         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
62830         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
62831         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
62832         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
62833         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
62834         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
62835         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
62837 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
62839         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
62840         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
62841         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
62842         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
62844 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
62846         [BZ #14579]
62847         * elf/rtld.c (dl_main): Limit the check for self loading to normal
62848         mode only.
62849         * elf/tst-rtld-load-self.sh: New test.
62850         * elf/Makefile: Run it.
62852 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
62854         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
62855         (tst-writev-ENV): Remove.
62856         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
62858 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
62860         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
62862 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
62864         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
62865         unconditional.
62866         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
62867         Likewise.
62868         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
62869         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
62870         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
62871         Likewise.
62873 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
62875         [BZ #14587]
62876         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
62877         * config.make.in (have-cpp-asm-debuginfo): Removed.
62878         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
62879         * configure: Regenerated.
62881 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
62883         [BZ #5044]
62884         * stdio-common/printf_fp.c: Include <stdbool.h> and
62885         <rounding-mode.h>.
62886         (___printf_fp): Determine rounding using get_rounding_mode and
62887         round_away.
62888         * stdio-common/tst-printf-round.c: New file.
62889         * stdio-common/Makefile (tests): Add tst-printf-round.
62890         (link-libm): New variable.
62891         ($(objpfx)tst-printf-round): Depend in $(link-libm).
62893 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
62895         [BZ #14576]
62896         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
62897         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
62898         Likewise.
62899         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
62900         Likewise.
62902 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
62904         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
62905         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62906         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62907         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62909 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
62911         [BZ #14518]
62912         * include/rounding-mode.h: New file.
62913         * sysdeps/generic/get-rounding-mode.h: Likewise.
62914         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
62915         * stdlib/strtod_l.c: Include <rounding-mode.h>.
62916         (MAX_VALUE): New macro.
62917         (MIN_VALUE): Likewise.
62918         (overflow_value): New function.
62919         (underflow_value): Likewise.
62920         (round_and_return): Use overflow_value and underflow_value to
62921         determine return values in overflow and underflow cases.  Use
62922         round_away to determine rounding depending on rounding mode.
62923         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
62924         determine return values in overflow and underflow cases.
62925         * stdlib/tst-strtod-round.c: Include <fenv.h>.
62926         (struct test_results): New structure.
62927         (struct test): Use struct test_results to store expected results
62928         for all rounding modes.
62929         (TEST): Include expected results for all rounding modes.
62930         (test_in_one_mode): New function.
62931         (do_test): Use test_in_one_mode to compute and check results.
62932         Check results for all rounding modes.
62933         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
62934         $(link-libm).
62936 2012-12-09  Allan McRae  <allan@archlinux.org>
62938         * sysdeps/i386/fpu/libm-test-ulps: Update
62940 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
62942         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
62943         (_G_int32_t): Likewise.
62944         (_G_uint16_t): Likewise.
62945         (_G_uint32_t): Likewise.
62946         (_G_HAVE_BOOL): Likewise.
62947         (_G_HAVE_ATEXIT): Likewise.
62948         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62949         (_G_HAVE_IO_FILE_OPEN): Likewise.
62950         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
62951         (_G_int32_t): Likewise.
62952         (_G_uint16_t): Likewise.
62953         (_G_uint32_t): Likewise.
62954         (_G_HAVE_BOOL): Likewise.
62955         (_G_HAVE_ATEXIT): Likewise.
62956         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62957         (_G_HAVE_IO_FILE_OPEN): Likewise.
62958         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
62959         (_G_int32_t): Likewise.
62960         (_G_uint16_t): Likewise.
62961         (_G_uint32_t): Likewise.
62962         (_G_HAVE_BOOL): Likewise.
62963         (_G_HAVE_ATEXIT): Likewise.
62964         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62965         (_G_HAVE_IO_FILE_OPEN): Likewise.
62967 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
62969         * csu/libc-tls.c: Update copyright years.
62971 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
62973         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
62974         [!_G_USING_THUNKS]: Remove conditional code.
62975         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
62976         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
62978         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
62979         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
62980         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62981         (_G_VTABLE_LABEL_PREFIX): Likewise.
62982         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62983         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62984         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62985         (_G_VTABLE_LABEL_PREFIX): Likewise.
62986         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
62987         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62988         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62989         (_G_VTABLE_LABEL_PREFIX): Likewise.
62990         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
62992 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
62994         * libio/Makefile: Include ../Makeconfig before tests.
62995         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
62996         only if $(build-shared) is yes.
62998         * iconv/gconv_db.c: Update copyright years.
63000 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63002         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
63003         unwind info if defined PIC. Fix special cases description.
63004         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
63006         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
63007         DP_HI_MASK entry.
63008         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
63010 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
63012         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
63014         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
63015         is NULL.
63017         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
63018         (LDLIBS-tst-chk4): This.
63019         (LDFLAGS-tst-chk5): Renamed to ...
63020         (LDLIBS-tst-chk5): This.
63021         (LDFLAGS-tst-chk6): Renamed to ...
63022         (LDLIBS-tst-chk6): This.
63023         (LDFLAGS-tst-lfschk4): Renamed to ...
63024         (LDLIBS-tst-lfschk4): This.
63025         (LDFLAGS-tst-lfschk5): Renamed to ...
63026         (LDLIBS-tst-lfschk5): This.
63027         (LDFLAGS-tst-lfschk6): Renamed to ...
63028         (LDLIBS-tst-lfschk6): This.
63030         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
63031         on $(common-objpfx)soversions.mk.
63033 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
63035         [BZ #10014]
63036         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
63037         example host name.
63039 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
63041         * malloc/arena.c (arena_get_retry): New function that gets
63042         another arena for the caller to try its request on.
63043         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
63044         current arena cannot fulfill the request.
63045         (__libc_memalign): Likewise.
63046         (__libc_memalign): Likewise.
63047         (__libc_pvalloc): Likewise.
63048         (__libc_calloc): Likewise.
63050 2012-09-05  John Tobey  <john.tobey@gmail.com>
63052         [BZ #13542]
63053         * manual/arith.texi (Operations on Complex): Fix description
63054         of carg branch cut.
63056 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
63058         [BZ #10014]
63059         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
63060         host name.
63062         [BZ #10038]
63063         * manual/memory.texi (Memory): Make order of menu items match
63064         order of sections.
63066 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63068         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
63069         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
63070         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
63072 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63074         * csu/libc-tls.c (static_dtv): Renamed to ...
63075         (_dl_static_dtv): This.  Make it global.
63076         (_dl_initial_dtv): Removed.
63077         (__libc_setup_tls): Updated.
63078         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
63079         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
63080         DL_INITIAL_DTV.
63082 2012-09-06  Petr Machata  <pmachata@redhat.com>
63084         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
63085         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
63086         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
63087         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
63089 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63091         [BZ #14545]
63092         * csu/libc-tls.c (_dl_initial_dtv): New variable.
63093         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
63094         freeing dtv[-1].
63096 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63098         [BZ #14544]
63099         * Makeconfig (link-static-before-libc): Replace $(+prector)
63100         with $(+prectorT).
63101         (link-static-after-libc): Replace $(+postctor) with
63102         $(+postctorT).
63103         (link-bounded): Replace $(+prector)/$(+postctor) with
63104         $(+prectorT)/$(+postctorT).
63105         (+prectorT): New macro.
63106         (+postctorT): Likewise.
63108 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
63110         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
63111         (round_str): Handle values above the maximum for IBM long double
63112         as inexact.
63113         * stdlib/tst-strtod-round.c (tests): Regenerated.
63115 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63117         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
63118         assembler flag.
63119         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
63120         zarch_nohighgprs around the zarch optimized routines.
63121         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
63122         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
63123         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
63124         for zarch.
63126 2012-09-05  David S. Miller  <davem@davemloft.net>
63128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63130         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
63131         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
63132         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
63133         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
63134         entries.
63136 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63138         * malloc/arena.c: Fold copyright years.
63139         * malloc/mcheck.c, malloc/memusage.c: Likewise.
63141 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63143         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
63145 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63147         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
63149 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63151         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
63152         change internal state upon failure.
63154 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
63156         * malloc/mcheck.c (mcheck_check_all): Fix typo.
63157         * malloc/memusage.c (mmap): Likewise.
63158         (mmap64, mremap): Likewise.  Adjust name in comment.
63160 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
63162         * libio/fileops.c: Fix typos in comments.
63163         * libio/oldfileops.c: Likewise.
63164         * libio/wfileops.c: Likewise.
63166 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
63168         [BZ #1349]
63169         * malloc/Makefile (tests): Add tst-malloc-usable test case.
63170         (tst-malloc-usable-ENV): Set environment for test case.
63171         * malloc/hooks.c (malloc_check_get_size): New function to get
63172         requested size.
63173         * malloc/malloc.c (musable): Use malloc_check_get_size.
63174         * malloc/tst-malloc-usable.c: New test case.
63176 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63178         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
63180 2012-09-05  Allan McRae  <allan@archlinux.org>
63182         [BZ #13966]
63183         * configure.in (CXX_SYSINCLUDES): Use compiler output to
63184         determine header location.
63185         * configure: Regenerated.
63187 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
63189         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
63190         float format.
63191         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
63192         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
63193         format.
63194         (test): Regenerate.
63196 2012-09-04  David S. Miller  <davem@davemloft.net>
63198         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
63199         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
63200         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
63202 2012-09-04  Florian Weimer  <fweimer@redhat.com>
63204         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
63205         failures.
63207         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
63209 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
63211         [BZ #9914]
63212         * libio/iogetdelim.c: Include <limits.h>.
63213         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
63214         + len + 1 would overflow.
63216 2012-09-03  Andreas Jaeger  <aj@suse.de>
63218         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63219         * sysdeps/i386/fpu/libm-test-ulps: Update.
63221 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63223         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
63224         Add s_sinf-sse2, s_conf-sse2.
63226         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
63227         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
63228         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
63229         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
63231         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
63232         for using routine as __sinf_ia32.
63233         Use macro for function declaration and weak_alias.
63234         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
63235         for using routine as __cosf_ia32.
63236         Use macro for function declaration and weak_alias.
63238         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
63239         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
63241         * sysdeps/x86_64/fpu/s_sinf.S: New file.
63242         * sysdeps/x86_64/fpu/s_cosf.S: New file.
63243         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63245         * math/libm-test.inc (cos_test): Add more test cases.
63246         (sin_test): Likewise.
63247         (sincos_test): Likewise.
63249 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63251         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
63252         (IFUNC_RESOLVE): Make pointers to the specialized implementations
63253         hidden.
63254         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
63256 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
63258         [BZ #14538]
63259         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
63260         first element of the GOT.
63261         (elf_machine_load_address): Return the difference between
63262         the runtime address of _DYNAMIC and elf_machine_dynamic ().
63264 2012-09-01  Allan McRae  <allan@archlinux.org>
63266         [BZ #13412]
63267         * configure.in (AWK): Require gawk version 3.0 or later.
63268         * configure: Regenerated.
63270 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
63272         * sysdeps/unix/sysv/linux/kernel-features.h
63273         (__ASSUME_POSIX_CPU_TIMERS): Remove.
63274         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63275         [__NR_clock_getres]: Make code unconditional.
63276         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
63277         (clock_getcpuclockid): Remove code left unreachable by removal of
63278         conditionals.
63279         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
63280         code unconditional.
63281         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
63282         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
63283         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
63284         Make code unconditional.
63285         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
63286         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
63287         * sysdeps/unix/sysv/linux/clock_settime.c
63288         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
63289         conditional code.
63290         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
63291         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
63293 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
63295         [BZ #14476]
63296         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
63297         scripts/test-installation.pl.
63299         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
63300         and $ld_so_version if it is set.
63302 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
63304         [BZ #14516]
63305         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
63306         failure if reading from procfs failed.
63307         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
63309 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
63311         * sysdeps/unix/sysv/linux/kernel-features.h
63312         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
63313         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
63314         Remove conditional code.
63315         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63316         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
63317         Remove conditional code.
63318         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63319         * sysdeps/unix/sysv/linux/i386/fxstat.c
63320         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
63321         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63322         * sysdeps/unix/sysv/linux/i386/fxstatat.c
63323         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
63324         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63325         * sysdeps/unix/sysv/linux/i386/lxstat.c
63326         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
63327         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63328         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
63329         Remove conditional code.
63330         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63331         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
63332         Remove conditional code.
63333         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63334         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
63335         <kernel-features.h>.
63336         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
63337         Remove.
63338         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
63339         Remove conditional code.
63340         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
63341         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
63342         Remove conditional.
63344 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
63346         [BZ #5400]
63347         * NEWS: Add fixed bug number.
63349 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
63351         [BZ #14519]
63352         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
63353         underflowing exponent in case of negative sign.
63354         * stdlib/tst-strtod-round-data: Add more tests.
63355         * stdlib/tst-strtod-round.c (tests): Regenerated.
63357         [BZ #3479]
63358         * stdlib/strtod_l.c (NDIG): Remove.
63359         (HEXNDIG): Likewise.
63360         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
63361         smallest representable value.
63362         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
63363         lie within an exact representation of 1/2 ulp of the result.
63364         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
63365         unconditionally.
63366         (TENS_P9_IDX): Define unconditionally.
63367         (TENS_P9_SIZE): Likewise.
63368         (TENS_P10_IDX): Likewise.
63369         (TENS_P10_SIZE): Likewise.
63370         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
63371         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
63372         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
63373         entries for 10^2^13 and 10^2^14.
63374         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
63375         (TENS_P13_IDX): Define.
63376         (TENS_P13_SIZE): Likewise.
63377         (TENS_P14_IDX): Likewise.
63378         (TENS_P14_SIZE): Likewise.
63379         (_fpioconst_pow10): Change array size to
63380         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
63381         unconditional.
63382         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
63383         1024]: Add entries for 10^2^13 and 10^2^14.
63384         [LAST_POW10 > _LAST_POW10]: Remove #error.
63385         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
63386         (_fpioconst_pow10): Change array size to
63387         FPIOCONST_POW10_ARRAY_SIZE.
63388         * stdlib/gen-fpioconst.c: New file.
63389         * stdlib/gen-tst-strtod-round.c: Likewise.
63390         * stdlib/tst-strtod-round-data: Likewise.
63391         * stdlib/tst-strtod-round.c: Likewise.
63392         * stdlib/Makefile (tests): Add tst-strtod-round.
63394         [BZ #14459]
63395         * stdlib/strtod_l.c: Include <stdint.h>.
63396         (NDEBUG): Do not define.
63397         (round_and_return): Change EXPONENT parameter to type intmax_t.
63398         Rearrange calculations to avoid internal overflow possibilities.
63399         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
63400         Rearrange calculations to avoid internal overflow possibilities.
63401         Assert that number fits inside MPNSIZE limbs.
63402         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
63403         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
63404         calculations and add assertions to avoid internal overflow
63405         possibilities.  Add casts to avoid signed/unsigned operations.
63406         * stdlib/tst-strtod-overflow.c: New file.
63407         * stdlib/Makefile (tests): Add tst-strtod-overflow.
63409 2012-08-25  Marek Polacek  <polacek@redhat.com>
63411         * time/time.h: Fix some typos in comments.
63413 2012-08-23  Roland McGrath  <roland@hack.frob.com>
63415         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
63416         * posix/tst-rfc3484-2.c: Likewise.
63417         * posix/tst-rfc3484-3.c: Likewise.
63419 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
63421         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
63422         (EF_ARM_ABI_FLOAT_HARD): Likewise.
63424 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
63426         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
63427         #include of fxstatat64.c.
63429 2012-08-22  Roland McGrath  <roland@hack.frob.com>
63431         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
63432         * shadow/getspent_r.c: Likewise.
63433         * shadow/getspnam.c: Likewise.
63434         * shadow/getspnam_r.c: Likewise.
63435         * gshadow/getsgent.c: Likewise.
63436         * gshadow/getsgent_r.c: Likewise.
63437         * gshadow/getsgnam.c: Likewise.
63438         * gshadow/getsgnam_r.c: Likewise.
63439         * inet/getnetbyad.c: Likewise.
63440         * inet/getnetbyad_r.c: Likewise.
63441         * inet/getnetbynm.c: Likewise.
63442         * inet/getnetbynm_r.c: Likewise.
63443         * inet/getnetent.c: Likewise.
63444         * inet/getnetent_r.c: Likewise.
63445         * inet/getproto.c: Likewise.
63446         * inet/getproto_r.c: Likewise.
63447         * inet/getprtent.c: Likewise.
63448         * inet/getprtent_r.c: Likewise.
63449         * inet/getprtname.c: Likewise.
63450         * inet/getprtname_r.c: Likewise.
63451         * inet/getrpcbyname.c: Likewise.
63452         * inet/getrpcbyname_r.c: Likewise.
63453         * inet/getrpcbynumber.c: Likewise.
63454         * inet/getrpcbynumber_r.c: Likewise.
63455         * inet/getrpcent.c: Likewise.
63456         * inet/getrpcent_r.c: Likewise.
63457         * inet/getaliasent.c: Likewise.
63458         * inet/getaliasent_r.c: Likewise.
63459         * inet/getaliasname.c: Likewise.
63460         * inet/getaliasname_r.c: Likewise.
63461         * nscd/getgrgid_r.c: Likewise.
63462         * nscd/getgrnam_r.c: Likewise.
63463         * nscd/gethstbyad_r.c: Likewise.
63464         * nscd/gethstbynm3_r.c: Likewise.
63465         * nscd/getpwnam_r.c: Likewise.
63466         * nscd/getpwuid_r.c: Likewise.
63467         * nscd/getsrvbynm_r.c: Likewise.
63468         * nscd/getsrvbypt_r.c: Likewise.
63469         * nscd/gai.c: Likewise.
63471         * configure.in (build_nscd): New substituted variable, set
63472         by --disable-build-nscd and defaults to $use_nscd.
63473         * configure: Regenerated.
63474         * config.make.in (build-nscd): New substituted variable.
63475         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
63476         Change conditional to require [$(build-nscd) = yes] as well.
63477         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
63479         [BZ# 13696]
63480         * configure.in (use_nscd): New substituted variable, set by
63481         --disable-nscd.  If enabled, define USE_NSCD.
63482         * configure: Regenerated.
63483         * config.h.in: Add USE_NSCD.
63484         * config.make.in (use-nscd): New substituted variable.
63485         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
63486         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
63487         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
63488         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
63489         (CFLAGS-getgrnam_r.c): Likewise.
63490         (CFLAGS-initgroups.c): Likewise.
63491         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
63492         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
63493         Variables removed.
63494         * inet/getnetgrent_r.c
63495         (nscd_setnetgrent): New function, broken out of ...
63496         (setnetgrent): ... here.  Call it.
63497         (innetgr): Conditionalize nscd bits on [USE_NSCD].
63498         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
63499         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
63500         * nscd/Makefile (routines, aux): Move definitions after include of
63501         Makeconfig.  Conditionalize on [$(use-nscd) != no].
63502         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
63503         Conditionalize on [USE_NSCD].
63504         (is_nscd, nscd_init_cb): Likewise.
63505         (nss_load_library): Conditionalize init callback on [USE_NSCD].
63506         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
63507         * nss/nss_db/db-init.c: Likewise.
63508         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
63509         [USE_NSCD].
63510         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
63511         (make_request): Use it.
63512         (cache_valid_p): New function.
63513         (__check_pf): Use it.
63514         * NEWS: Add item for --disable-nscd.
63516 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
63518         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
63519         to support sed >= 4.2.1-20-ga9bf076.
63520         * configure: Regenerated.
63522 2012-08-22  Roland McGrath  <roland@hack.frob.com>
63524         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
63525         Conditionalize whole body on [IREL].
63527 2012-08-22  Jeff Law <law@redhat.com>
63529         [BZ #14505]
63530         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
63531         if the family is PF_UNSPEC.
63533 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
63535         * Makerules (lib-version): Rename from V.
63536         (install-lib-nosubdir): Change V to lib-version.
63538 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
63540         [BZ #14252]
63541         * powerpc32/power6/wcschr.c: New file.
63542         * powerpc32/power6/wcscpy.c: New file.
63543         * powerpc32/power6/wcsrchr.c: New file.
63544         * powerpc64/power6/wcschr.c: New file.
63545         * powerpc64/power6/wcscpy.c: New file.
63546         * powerpc64/power6/wcsrchr.c: New file.
63548 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
63550         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
63551         (two_way_short_needle): Use it.
63552         * string/strstr.c (AVAILABLE1_USES_J): Define.
63553         * string/strcasestr.c: Likewise.
63555         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
63556         array references.
63557         * string/strcasestr.c (TOLOWER): Make side-effect safe.
63559         [BZ #11607]
63560         * NEWS: Add an entry.
63561         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
63562         define their defaults.
63563         (two_way_short_needle): Detect end-of-string on-the-fly.
63564         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
63565         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
63566         * string/bug-strcasestr1.c: New test.
63567         * string/Makefile: Run it.
63569 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
63571         [BZ #11607]
63572         * string/str-two-way.h (two_way_short_needle): Optimize matching of
63573         the first character.
63575 2012-08-21  Roland McGrath  <roland@hack.frob.com>
63577         * csu/elf-init.c (__libc_csu_irel): Function removed.
63578         * csu/libc-start.c (apply_irel): New function.
63579         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
63581 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
63583         * sysdeps/unix/sysv/linux/kernel-features.h
63584         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
63585         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
63586         <kernel-features.h>.
63587         [__NR_fadvise64_64]: Make code unconditional.
63588         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
63589         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
63590         !__NR_fadvise64_64)]: Likewise.
63591         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
63592         !__NR_fadvise64_64))]: Likewise.
63593         [__NR_fadvise64]: Make code unconditional.
63594         [!__NR_fadvise64]: Remove conditional code.
63595         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
63596         <kernel-features.h>.
63597         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63598         unconditional.
63599         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63600         conditional code.
63601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
63602         not include <kernel-features.h>.
63603         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63604         unconditional.
63605         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63606         conditional code.
63607         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
63608         include <kernel-features.h>.
63609         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63610         unconditional.
63611         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63612         conditional code.
63614 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
63616         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
63617         slight instruction rearrangements per scrollpipe analysis.
63618         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
63620 2012-08-20  Roland McGrath  <roland@hack.frob.com>
63622         * manual/syslog.texi (syslog; vsyslog, closelog):
63623         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
63624         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
63626         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
63627         DSOCAPS to match condition on defining it.
63629 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
63631         * sysdeps/unix/sysv/linux/kernel-features.h
63632         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
63633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
63634         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63635         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
63637         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63638         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
63640         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63641         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63643         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
63644         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
63646         * sysdeps/unix/sysv/linux/kernel-features.h
63647         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
63648         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
63649         unconditional.
63650         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63651         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
63652         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
63653         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63654         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
63655         Make code unconditional.
63656         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63657         (__mmap64) [!__NR_mmap2]: Likewise.
63658         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
63659         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
63660         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63661         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
63662         [__NR_mmap2]: Make code unconditional.
63663         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63664         (__mmap64) [!__NR_mmap2]: Likewise.
63666 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63668         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
63670 2012-08-18  Andreas Jaeger  <aj@suse.de>
63672         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
63674 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
63676         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
63677         * include/unistd.h (__have_sock_cloexec): Likewise.
63678         (__have_pipe2): Likewise.
63679         (__have_dup3): Likewise.
63681 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
63683         [BZ #9685]
63684         * include/unistd.h (__have_pipe2): Change define into an extern int.
63685         (__have_dup3): Likewise.
63686         * socket/have_sock_cloexec.c: Include fcntl.h.
63687         (__have_pipe2): New variable.
63688         (__have_dup3): Likewise.
63690 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
63692         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
63694 2012-08-17  Marek Polacek  <polacek@redhat.com>
63696         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
63697         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
63699 2012-08-17  Roland McGrath  <roland@hack.frob.com>
63701         * configure.in: Add AC_SUBST for sysheaders.
63702         * configure: Regenerated.
63703         * config.make.in (sysheaders): New substituted variable.
63705         * sysdeps/unix/mkfifo.c: Moved ...
63706         * sysdeps/posix/mkfifo.c: ... here.
63707         * sysdeps/unix/mkfifoat.c: Moved ...
63708         * sysdeps/posix/mkfifoat.c: ... here.
63710         * sysdeps/unix/utime.c: Moved ...
63711         * sysdeps/posix/utime.c: ... here.
63713         * sysdeps/unix/time.c: Moved ...
63714         * sysdeps/posix/time.c: ... here.
63715         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
63716         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
63718         * sysdeps/unix/nice.c: Moved ...
63719         * sysdeps/posix/nice.c: ... here.
63721         * sysdeps/unix/alarm.c: Moved ...
63722         * sysdeps/posix/alarm.c: ... here.
63724         * intl/Makefile ($(codeset_mo)): Depend on the input file.
63726 2012-08-17  Jeff Law <law@redhat.com>
63728         * intl/Makefile (codeset_mo): New variable.
63729         ($(codeset_mo)): New target.
63730         (tst-codeset.out): Depend on that.  Remove explicit rule.
63731         (tst-gettext3.out, tst-gettext5.out): Likewise.
63732         (LOCPATH-ENV, tst-codeset-ENV): New variables.
63733         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
63734         * intl/tst-codeset.sh: Remove.
63735         * intl/tst-gettext3.sh: Likewise.
63736         * intl/tst-gettext5.sh: Likewise.
63738 2012-08-17  Roland McGrath  <roland@hack.frob.com>
63740         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
63741         * sysdeps/unix/syscalls.list: ... here.
63743         * sysdeps/posix/getaddrinfo.c
63744         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
63745         (gaiconf_init, gaiconf_reload): Use them.
63746         [!_STATBUF_ST_NSEC]
63747         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
63748         Define using time_t rather than struct timespec.
63750         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
63751         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
63752         Macros removed.
63753         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
63754         [!NO_THREADS].
63755         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
63756         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
63757         Likewise.
63759         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
63760         __libc_cleanup_push argument.
63762         * bits/param.h: New file.
63763         * misc/sys/param.h: New file.
63764         * include/sys/param.h: New file.
63765         * misc/Makefile (headers): Add bits/param.h.
63766         * sysdeps/generic/sys/param.h: File removed.
63767         * sysdeps/unix/sysv/linux/bits/param.h: New file.
63768         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
63769         * sysdeps/mach/hurd/bits/param.h: New file.
63770         * sysdeps/mach/hurd/sys/param.h: File removed.
63772         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
63773         last change.
63775         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
63776         [_IO_MTSAFE_IO].
63777         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
63778         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
63779         New macros.
63781         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
63782         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
63783         rather than -D_IO_MTSAFE_IO conditionally.
63784         * stdio-common/Makefile (CPPFLAGS): Likewise.
63785         * wcsmbs/Makefile (CPPFLAGS): Likewise.
63786         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
63787         Use $(libio-mtsafe).
63788         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
63789         of -D_IO_MTSAFE_IO.
63790         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
63791         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
63792         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
63793         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
63794         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
63795         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
63796         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
63797         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
63798         (CFLAGS-fread_u_chk.c): Likewise.
63799         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
63800         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
63801         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
63802         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
63803         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
63804         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
63805         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
63806         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
63807         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
63809         * libio/Makefile: Test [$(libc-reentrant) = yes]
63810         instead of [$(filter %REENTRANT, $(defines)) nonempty].
63812         * Makeconfig
63813         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
63814         * sysdeps/pthread/configure: File removed.
63815         * sysdeps/pthread/Makeconfig: New file.
63816         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
63817         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
63819 2012-08-16  Gary Benson  <gbenson@redhat.com>
63821         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
63822         unmapping the first object in a namespace.
63824 2012-08-16  Roland McGrath  <roland@hack.frob.com>
63826         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
63827         (__internal_setnetgrent): ... this.  Add internal_function to
63828         definition.  Add libc_hidden_def.
63829         (setnetgrent): Update caller.
63830         (internal_endnetgrent): Renamed to ...
63831         (__internal_endnetgrent): ... this.  Add internal_function to
63832         definition.  Add libc_hidden_def.
63833         (endnetgrent): Update caller.
63834         (internal_getnetgrent_r): Renamed to ...
63835         (__internal_getnetgrent_r): ... this.  Add internal_function to
63836         definition.  Add libc_hidden_def.
63837         (__getnetgrent_r): Update caller.
63838         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
63840 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
63842         * stdlib/longlong.h: Update from GCC.
63844 2012-08-16  Roland McGrath  <roland@hack.frob.com>
63846         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
63847         on _QL, which is set by umul_ppmm but never used.
63848         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
63849         variables, which are set by GMP macros but never used.
63850         * stdio-common/_itowa.c (_itowa): Likewise.
63851         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
63852         * stdlib/mod_1.c (mpn_mod_1): Likewise.
63854 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
63856         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
63857         struct La_sh_regs is not constant.
63858         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
63859         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
63860         and struct La_sparc64_regs are not constant.
63862 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
63864         * sysdeps/unix/sysv/linux/kernel-features.h
63865         (__ASSUME_POSIX_TIMERS): Remove.
63866         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63867         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63868         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
63869         Make code unconditional.
63870         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63871         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
63872         Make code unconditional.
63873         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63874         * sysdeps/unix/sysv/linux/clock_nanosleep.c
63875         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
63876         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63877         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
63878         Make code unconditional.
63879         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63880         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
63881         (__libc_missing_posix_timers): Remove.
63883 2012-08-15  Roland McGrath  <roland@hack.frob.com>
63885         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
63886         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
63888         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
63890         * elf/dl-sym.c: Include <stdlib.h>.
63892         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
63893         constants, which avoids warnings in 32-bit builds.
63895         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
63896         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
63898         * misc/lseek.c: File moved to ...
63899         * io/lseek.c: ... here.
63901         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
63903         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
63904         shifting LEN more than 31 bits at once.
63906 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63908         [BZ #14195]
63909         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
63910         segmentation fault for a case of two empty input strings.
63911         * string/test-strncasecmp.c (check1): Renamed to...
63912         (bz12205): ...this.
63913         (bz14195): Add new testcase for two empty input strings and N > 0.
63914         (test_main): Call new testcase, adapt for renamed function.
63916 2012-08-15  Andreas Jaeger  <aj@suse.de>
63918         [BZ #14090]
63919         * crypt/md5test2.c: New test, based on test supplied by Serge
63920         Belyshev <belyshev@depni.sinp.msu.ru>.
63921         * crypt/Makefile (xtests): Add md5test-giant..
63922         * crypt/Makefile ($(objpfx)md5test-giant): Add.
63924 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
63926         [BZ #14090]
63927         * crypt/md5.c (md5_process_block): Don't assume the buffer
63928         length is less than 2**32.
63929         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
63930         length is less than 2**64.
63932 2012-08-15  Roland McGrath  <roland@hack.frob.com>
63934         * string/str-two-way.h: Include <sys/param.h>.
63935         (MAX): Macro removed.
63937         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
63938         Move #define and #undef of memmove to just before and after
63939         including <string.h>.
63941         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
63942         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
63943         and after including <string.h>.  Move declarations of
63944         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
63945         to before #include "string/memmove.c".
63947         * include/dirent.h: Declare __getdirentries.
63949         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
63950         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
63952 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
63954         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
63955         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
63956         * sysdeps/i386/configure: Regenerated.
63957         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
63958         STABS_CURRENT_FILE, and STABS_FUN.
63959         (END): Remove call to STABS_FUN_END.
63960         (STABS_CURRENT_FILE1): Delete.
63961         (STABS_CURRENT_FILE): Likewise.
63962         (STABS_FUN): Likewise.
63963         (STABS_FUN_END): Likewise.
63964         (STABS_FUN2): Likewise.
63965         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
63966         * sysdeps/x86_64/configure: Regenerated.
63968 2012-08-14  Roland McGrath  <roland@hack.frob.com>
63970         * elf/dl-open.c: Include <atomic.h>.
63971         * elf/dl-lookup.c: Likewise.
63973 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
63975         * sysdeps/unix/sysv/linux/kernel-features.h
63976         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
63977         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
63978         unconditionally.
63979         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
63980         unconditionally.
63981         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
63982         condition on __ASSUME_CLONE_THREAD_FLAGS.
63984 2012-08-14  Andreas Jaeger  <aj@suse.de>
63986         * sysdeps/i386/fpu/libm-test-ulps: Update.
63988 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
63990         * include/atomic.h (atomic_exchange_and_add): Split into ...
63991         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
63992         New atomic macros.
63994 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
63996         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63998 2012-08-13  Jeff Law <law@redhat.com>
64000         * manual/stdio.texi (snprintf): Clarify handling of the trailing
64001         null byte in the output string.
64003 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
64005         * sysdeps/unix/sysv/linux/kernel-features.h
64006         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
64007         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
64008         (__ASSUME_ARG_MAX_STACK_BASED): Define.
64009         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
64010         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
64011         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
64012         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
64014 2012-08-09  Jeff Law <law@redhat.com>
64016         [BZ #13939]
64017         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
64018         When avoid_arena is set, don't retry in the that arena.  Pick the
64019         next one, whatever it might be.
64020         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
64021         (arena_lock): Pass in new parameter to arena_get2.
64022         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
64023         arena_get2.
64024         (__libc_malloc): Unify retrying after main arena failure with
64025         __libc_memalign version.
64026         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
64028 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
64030         [BZ #14166]
64031         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
64032         to __redirect_strstr.
64033         (__strstr_sse42): Use typeof __redirect_strstr.
64034         (__strstr_ia32): Likewise.
64035         (__libc_strstr): New prototype.
64036         (strstr): Renamed to ...
64037         (__libc_strstr): This.
64038         (strstr): New strong alias of __libc_strstr.
64039         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
64040         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
64041         __redirect_time.
64042         Include <time.h>.
64043         (__libc_time): New prototype.
64044         (time_ifunc): Replace time with __libc_time.
64045         (time): New strong alias and hidden definition of __libc_time.
64046         (__GI_time): Remove strong alias.
64047         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
64048         Include <stddef.h>.
64049         (memmove): Redefined to __redirect_memmove.
64050         (__memmove_sse2): Use typeof __redirect_memmove.
64051         (__memmove_ssse3): Likewise.
64052         (__memmove_ssse3_back): Likewise.
64053         (__libc_memmove): New prototype.
64054         (memmove): Renamed to ...
64055         (__libc_memmove): This.
64056         (memmove): New strong alias of __libc_memmove.
64058 2012-08-08  Mark Salter  <msalter@redhat.com>
64060         * elf/elf.h
64061         (R_MN10300_TLS_GD): Define.
64062         (R_MN10300_TLS_LD): Likewise.
64063         (R_MN10300_TLS_LDO): Likewise.
64064         (R_MN10300_TLS_GOTIE): Likewise.
64065         (R_MN10300_TLS_IE): Likewise.
64066         (R_MN10300_TLS_LE): Likewise.
64067         (R_MN10300_TLS_DTPMOD): Likewise.
64068         (R_MN10300_TLS_DTPOFF): Likewise.
64069         (R_MN10300_TLS_TPOFF): Likewise.
64070         (R_MN10300_SYM_DIFF): Likewise.
64071         (R_MN10300_ALIGN): Likewise.
64072         (R_MN10300_NUM): Update.
64074 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
64076         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
64077         Remove.
64079 2012-08-08  Roland McGrath  <roland@hack.frob.com>
64081         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
64083         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
64084         sysdeps/unix -> sysdeps/posix move.
64085         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64087 2012-08-07      Allan McRae     <allan@archlinux.org>
64089         [BZ #14303]
64090         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
64091         (SUNOS_CPP): Likewise.
64092         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
64093         not found.
64094         (open_input): Call CPP using execvp.
64096 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
64098         * sysdeps/unix/sysv/linux/kernel-features.h
64099         (__ASSUME_PROT_GROWSUPDOWN): Remove.
64100         (__ASSUME_NO_CLONE_DETACHED): Likewise.
64101         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
64102         (__ASSUME_WAITID_SYSCALL): Likewise.
64103         * sysdeps/unix/sysv/linux/dl-execstack.c
64104         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
64105         code unconditional.
64106         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
64107         conditional code.
64108         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
64109         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
64110         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
64111         code.
64112         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
64113         unconditional.
64114         [__ASSUME_WAITID_SYSCALL]: Likewise.
64115         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
64117 2012-08-07  Roland McGrath  <roland@hack.frob.com>
64119         * sysdeps/unix/closedir.c: Renamed to ...
64120         * sysdeps/posix/closedir.c: ... here.
64121         * sysdeps/unix/dirfd.c: Renamed to ...
64122         * sysdeps/posix/dirfd.c: ... here.
64123         * sysdeps/unix/dirstream.h: Renamed to ...
64124         * sysdeps/posix/dirstream.h: ... here.
64125         * sysdeps/unix/fdopendir.c: Renamed to ...
64126         * sysdeps/posix/fdopendir.c: ... here.
64127         * sysdeps/unix/opendir.c: Renamed to ...
64128         * sysdeps/posix/opendir.c: ... here.
64129         * sysdeps/unix/readdir.c: Renamed to ...
64130         * sysdeps/posix/readdir.c: ... here.
64131         * sysdeps/unix/readdir_r.c: Renamed to ...
64132         * sysdeps/posix/readdir_r.c: ... here.
64133         * sysdeps/unix/rewinddir.c: Renamed to ...
64134         * sysdeps/posix/rewinddir.c: ... here.
64135         * sysdeps/unix/seekdir.c: Renamed to ...
64136         * sysdeps/posix/seekdir.c: ... here.
64137         * sysdeps/unix/telldir.c: Renamed to ...
64138         * sysdeps/posix/telldir.c: ... here.
64139         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
64140         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
64141         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
64142         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
64144         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
64145         * bits/fcntl.h: ... here.
64147         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
64148         not 0.
64149         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
64150         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
64151         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
64152         (struct flock): Move l_start, l_len to the beginning.
64153         Use __pid_t for l_pid.
64154         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
64155         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
64156         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
64157         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
64158         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
64159         [__USE_LARGEFILE64] (struct flock64): New type.
64160         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
64162         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
64163         * bits/dirent.h: ... here.
64165         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
64166         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
64168 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
64170         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64171         Change from 2.6.0 to 2.6.16.
64172         * sysdeps/unix/sysv/linux/configure: Regenerated.
64173         * sysdeps/unix/sysv/linux/kernel-features.h
64174         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
64175         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
64176         version.
64177         (__ASSUME_UTIMES): Likewise.
64178         (__ASSUME_CLONE_STOPPED): Remove.
64179         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
64180         architectures, not kernel version.
64181         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
64182         (__ASSUME_NO_CLONE_DETACHED): Likewise.
64183         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
64184         (__ASSUME_WAITID_SYSCALL): Likewise.
64185         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
64186         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
64187         * README: State 2.6.16 as minimum Linux kernel version.  Do not
64188         refer to older versions.
64190 2012-08-06  Roland McGrath  <roland@hack.frob.com>
64192         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
64193         Define alphasort64 as an alias.
64194         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
64195         Define versionsort64 as an alias.
64196         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
64197         Define scandir64 as an alias.
64198         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
64199         Define scandirat64 as an alias.
64200         * dirent/alphasort64.c (alphasort64):
64201         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
64202         * dirent/versionsort64.c: Likewise.
64203         * dirent/scandir64.c: Likewise.
64204         * dirent/scandirat64.c: Likewise.
64205         * sysdeps/wordsize-64/alphasort.c: File removed.
64206         * sysdeps/wordsize-64/alphasort64.c: File removed.
64207         * sysdeps/wordsize-64/scandir.c: File removed.
64208         * sysdeps/wordsize-64/scandir64.c: File removed.
64209         * sysdeps/wordsize-64/scandirat.c: File removed.
64210         * sysdeps/wordsize-64/scandirat64.c: File removed.
64211         * sysdeps/wordsize-64/versionsort.c: File removed.
64212         * sysdeps/wordsize-64/versionsort64.c: File removed.
64213         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
64214         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
64215         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
64216         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
64217         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
64218         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
64219         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
64220         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
64222         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
64223         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
64224         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
64225         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64226         [defined __arch64__ || defined __sparcv9]
64227         (__INO_T_MATCHES_INO64_T): New macro.
64228         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
64229         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
64230         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
64231         * sysdeps/unix/sysv/linux/bits/dirent.h
64232         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
64233         (_DIRENT_MATCHES_DIRENT64): New macro.
64235         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
64236         Define lockf64 as an alias.
64237         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
64238         Define fseeko64 as an alias.
64239         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
64240         Define ftello64 as an alias.
64241         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
64242         Define _IO_fgetpos64 and fgetpos64 as aliases.
64243         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
64244         Define _IO_fsetpos64 and fsetpos64 as aliases.
64245         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
64246         Conditionalize body on this.
64247         * libio/fseeko64.c: Likewise.
64248         * libio/ftello64.c: Likewise.
64249         * libio/iofgetpos64.c: Likewise.
64250         * libio/iofsetpos64.c: Likewise.
64251         * sysdeps/wordsize-64/lockf.c: File removed.
64252         * sysdeps/wordsize-64/lockf64.c: File removed.
64253         * sysdeps/wordsize-64/fseeko.c: File removed.
64254         * sysdeps/wordsize-64/fseeko64.c: File removed.
64255         * sysdeps/wordsize-64/ftello.c: File removed.
64256         * sysdeps/wordsize-64/ftello64.c: File removed.
64257         * sysdeps/wordsize-64/iofgetpos.c: File removed.
64258         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
64259         * sysdeps/wordsize-64/iofsetpos.c: File removed.
64260         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
64261         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
64262         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
64263         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
64264         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
64265         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
64266         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
64267         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
64268         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
64269         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
64270         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
64272         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
64273         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
64274         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
64275         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64276         [defined __arch64__ || defined __sparcv9]
64277         (__OFF_T_MATCHES_OFF64_T): New macro.
64278         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
64279         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
64280         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64281         (__OFF_T_MATCHES_OFF64_T): New macro.
64283 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
64285         * stdlib/secure-getenv.c (__secure_getenv): Replace
64286         GLIBC_2_16 with GLIBC_2_17.
64288 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
64290         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
64291         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
64293 2012-08-03  David S. Miller  <davem@davemloft.net>
64295         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64297 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
64299         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
64300         Remove.
64301         (__ASSUME_CORRECT_SI_PID): Likewise.
64302         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
64303         (__ASSUME_TMPFS_NAME): Likewise.
64304         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
64305         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
64306         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
64307         (HAVE_AUX_SECURE): Make definition unconditional.
64308         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
64309         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
64311 2012-08-03  Roland McGrath  <roland@hack.frob.com>
64313         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
64314         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
64315         * sysdeps/mach/hurd/eloop-threshold.h: New file.
64316         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
64317         __eloop_threshold instead of SYMLOOP_MAX.
64319         * sysdeps/generic/eloop-threshold.h: New file.
64320         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
64321         of MAXSYMLINKS.
64322         * elf/chroot_canon.c (chroot_canon): Likewise.
64324 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
64326         [BZ #13717]
64327         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64328         Change to 2.6.0 everywhere.
64329         * sysdeps/unix/sysv/linux/configure: Regenerated.
64330         * sysdeps/unix/sysv/linux/kernel-features.h
64331         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
64332         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
64333         kernel versions.
64334         (__ASSUME_POSIX_TIMERS): Define unconditionally.
64335         (__ASSUME_FUTEX_REQUEUE): Remove.
64336         (__ASSUME_STATFS64): Define unconditionally.
64337         (__ASSUME_AT_SECURE): Likewise.
64338         (__ASSUME_CORRECT_SI_PID): Likewise.
64339         (__ASSUME_TGKILL): Define without depending on kernel version for
64340         i386.
64341         (__ASSUME_UTIMES): Likewise.
64342         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
64343         kernel version.
64344         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
64345         (__ASSUME_TMPFS_NAME): Likewise.
64346         * README: Update reference to Linux kernel versions.
64348 2012-08-02  Marek Polacek  <polacek@redhat.com>
64350         [BZ# 14150]
64351         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
64352         libc_cv_asm_type_prefix with %.
64353         * configure: Regenerated.
64354         * include/libc-symbols.h: Remove comment about
64355         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
64356         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
64357         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
64358         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
64359         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
64360         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
64361         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
64362         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
64363         * elf/tst-unique2mod1.c: Likewise.
64364         * elf/tst-unique1mod2.c: Likewise.
64365         * elf/tst-unique1mod1.c: Likewise.
64366         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
64367         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
64368         Replace ASM_TYPE_DIRECTIVE with .type.
64369         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64370         * sysdeps/i386/sysdep.h: Likewise.
64371         * sysdeps/x86_64/sysdep.h: Likewise.
64372         * sysdeps/sh/sysdep.h: Likewise.
64373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
64374         Do not define ASM_TYPE_DIRECTIVE.
64375         * sysdeps/powerpc/sysdep.h: Likewise.
64376         * sysdeps/powerpc/powerpc32/sysdep.h:
64377         Replace ASM_TYPE_DIRECTIVE with .type.
64378         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
64379         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64380         * sysdeps/i386/fpu/e_powf.S: Likewise.
64381         * sysdeps/i386/fpu/e_expl.S: Likewise.
64382         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
64383         * sysdeps/i386/fpu/e_acosh.S: Likewise.
64384         * sysdeps/i386/fpu/e_pow.S: Likewise.
64385         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
64386         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
64387         * sysdeps/i386/fpu/s_expm1.S: Likewise.
64388         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
64389         * sysdeps/i386/fpu/e_log2.S: Likewise.
64390         * sysdeps/i386/fpu/e_log2l.S: Likewise.
64391         * sysdeps/i386/fpu/e_scalb.S: Likewise.
64392         * sysdeps/i386/fpu/e_powl.S: Likewise.
64393         * sysdeps/i386/fpu/e_log10f.S: Likewise.
64394         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
64395         * sysdeps/i386/fpu/e_logl.S: Likewise.
64396         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
64397         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
64398         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
64399         * sysdeps/i386/fpu/e_log2f.S: Likewise.
64400         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
64401         * sysdeps/i386/fpu/e_log.S: Likewise.
64402         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
64403         * sysdeps/i386/fpu/e_logf.S: Likewise.
64404         * sysdeps/i386/fpu/e_log10l.S: Likewise.
64405         * sysdeps/i386/fpu/e_atanh.S: Likewise.
64406         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
64407         * sysdeps/i386/fpu/e_log10.S: Likewise.
64408         * sysdeps/i386/fpu/s_frexp.S: Likewise.
64409         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
64410         * sysdeps/i386/fpu/s_asinh.S: Likewise.
64411         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
64412         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
64413         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
64414         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
64415         * sysdeps/i386/i686/strtok.S: Likewise.
64416         * sysdeps/i386/i386-mcount.S: Likewise.
64417         * sysdeps/i386/strtok.S: Likewise.
64418         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
64419         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
64420         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64421         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
64422         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
64423         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
64424         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
64425         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
64426         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
64427         * sysdeps/x86_64/_mcount.S: Likewise.
64428         * sysdeps/x86_64/strtok.S: Likewise.
64429         * sysdeps/sh/_mcount.S: Likewise.
64431 2012-08-01  Roland McGrath  <roland@hack.frob.com>
64433         * libio/iofopen.c: Include <fcntl.h>.
64434         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
64435         (_IO_fopen64, fopen64): Define as aliases.
64436         * libio/iofopen64.c: Include <fcntl.h>.
64437         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
64438         Conditionalize body on this.
64439         * sysdeps/wordsize-64/iofopen.c: File removed.
64440         * sysdeps/wordsize-64/iofopen64.c: File removed.
64442 2012-08-01  Marek Polacek  <polacek@redhat.com>
64444         * libc/Makeconfig: Use elf in place of binfmt-subdir.
64445         Use dlfcn directly instead of a variable.
64446         (binfmt-subdir): Do not define.
64447         (dlfcn): Likewise.
64449 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
64451         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
64452         Remove all definitions.
64453         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
64454         <kernel-features.h>.
64455         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
64456         (miss_F_GETOWN_EX): Remove all definitions.
64457         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
64458         macro definition.
64459         [!__ASSUME_FCNTL64]: Remove conditional code.
64460         [__ASSUME_FCNTL64]: Make code unconditional.
64461         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
64462         <kernel-features.h>.
64463         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
64464         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
64465         (lockf64) [__NR_fcntl64]: Make code unconditional.
64466         (lockf64) [__ASSUME_FCNTL64]: Likewise.
64468         * sysdeps/unix/sysv/linux/kernel-features.h
64469         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
64470         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
64471         Make code unconditional.
64472         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64473         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
64475         [__NR_vfork]: Make code unconditional.
64476         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64477         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
64479         [__NR_vfork]: Make code unconditional.
64480         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
64481         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
64483 2012-08-01  Roland McGrath  <roland@hack.frob.com>
64485         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
64486         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
64488         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64489         Define mkstemp64 as an alias.
64490         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64491         Define mkstemps64 as an alias.
64492         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64493         Define mkostemp64 as an alias.
64494         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
64495         Define mkostemps64 as an alias.
64496         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
64497         Conditionalize body on this.
64498         * misc/mkostemp64.c: Likewise.
64499         * misc/mkostemps64.c: Likewise.
64500         * misc/mkstemps64.c: Likewise.
64501         * sysdeps/wordsize-64/mkstemp64.c: File removed.
64502         * sysdeps/wordsize-64/mkostemp64.c: File removed.
64503         * sysdeps/wordsize-64/mkostemp.c: File removed.
64504         * sysdeps/wordsize-64/mkstemp.c: File removed.
64505         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
64506         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
64507         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
64508         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
64510         [BZ #14138]
64511         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
64512         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
64513         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
64514         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
64516         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
64517         compat_symbol macros from <shlib-compat.h> rather than the underlying
64518         default_symbol_version and symbol_version macros, so that DEFAULT
64519         lines in shlib-versions are respected.
64520         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
64522 2012-08-01  Florian Weimer  <fweimer@redhat.com>
64524         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
64525         Declare with warn_unused_result.
64526         (setgid, setregid, setegid, setresgid): Likewise.
64527         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
64528         Likewise.
64529         * WUR-REPORT: Remove set*id functions.
64531 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
64533         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
64535 2012-07-31  Roland McGrath  <roland@hack.frob.com>
64537         [BZ #10191]
64538         * include/sys/socket.h (__libc_accept, __libc_accept4):
64539         Add attribute_hidden.
64540         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
64542         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
64543         use of PTR_MANGLE.
64544         * inet/getnetgrent_r.c (setup): Likewise.
64546         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
64548 2012-07-31  David S. Miller  <davem@davemloft.net>
64550         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64552 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
64554         [BZ #13629]
64555         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
64556         value between 1.0 and 2.0 and smaller part has absolute value less
64557         than 1.0.
64558         * math/s_clog10.c (__clog10): Likewise.
64559         * math/s_clog10f.c (__clog10f): Likewise.
64560         * math/s_clog10l.c (__clog10l): Likewise.
64561         * math/s_clogf.c (__clogf): Likewise.
64562         * math/s_clogl.c (__clogl): Likewise.
64563         * math/libm-test.inc (clog_test): Add more tests.
64564         (clog10_test): Likewise.
64565         * sysdeps/i386/fpu/libm-test-ulps: Update.
64566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64568 2012-07-31  Florian Weimer  <fweimer@redhat.com>
64570         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
64571         Exit with zero in case no suitable GID is found, and write a
64572         message to standard error.
64574 2012-07-30  Roland McGrath  <roland@hack.frob.com>
64576         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
64577         rather than to 1.
64578         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
64579         (MAXPATHLEN): Removed.
64580         (NOGROUP, NODEV): New macros.
64581         (setbit, clrbit, isset, isclr): New macros.
64582         (howmany, roundup, powerof2): New macros.
64583         (DEV_BSIZE): New macro.
64585         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
64586         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
64588         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
64589         definition on [!__NO_LONG_DOUBLE_MATH].
64591         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
64592         PTR_MANGLE and PTR_DEMANGLE.
64594         * socket/accept4.c (accept4): Rename to __libc_accept4.
64595         Define accept4 as a weak alias.
64597         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
64598         on [_DIRENT_HAVE_D_TYPE].
64599         * io/ftw.c (ftw_dir): Likewise.
64601         * io/xmknod.c (__xmknod): Don't check PATH for being null.
64603         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
64605         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
64606         Use the BSD numbers rather than the arbitrary ones we had.
64607         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
64608         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
64609         (SIGXCPU, SIGXFSZ): New macros.
64610         (_NSIG): Now 32.
64612         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
64613         initializer on [_LIBC_REENTRANT].
64615         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
64616         definitions inside [_POSIX_MAPPED_FILES].
64618         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
64620         * dirent/opendir.c: Include <fcntl.h>.
64622         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
64623         (__libc_getspecific): Likewise.
64624         (__libc_key_create): Likewise.
64626         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
64627         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
64628         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
64629         (tmpfile64): Define as alias.
64630         * sysdeps/wordsize-64/tmpfile.c: File removed.
64631         * sysdeps/wordsize-64/tmpfile64.c: File removed.
64632         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
64633         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
64635         * stdio-common/vfscanf.c: Include <stdbool.h>.
64636         * nss/makedb.c: Likewise.
64637         * stdio-common/_i18n_number.h: Likewise.
64638         * argp/argp-help.c: Likewise.
64639         * posix/wordexp.c: Likewise.
64640         * sysdeps/posix/spawni.c: Likewise.
64641         * nss/nss_files/files-initgroups.c: Likewise.
64642         * stdio-common/reg-modifier.c: Include <stdlib.h>.
64643         * nss/nss_files/files-initgroups.c: Likewise.
64644         * nss/nss_db/db-netgrp.c: Likewise.
64645         * nss/nss_db/db-initgroups.c: Likewise.
64646         * io/fchmodat.c: Include <sys/stat.h>.
64648         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
64649         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
64651         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
64652         [HAVE_MMAP].
64654         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
64655         Add multiple inclusion protection.
64657 2012-07-27  David S. Miller  <davem@davemloft.net>
64659         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64661 2012-07-27  Gary Benson  <gbenson@redhat.com>
64663         [BZ #14298]
64664         * elf/rtld.c: Include <stap-probe.h>.
64665         (dl_main): Added static probes "init_start" and "init_complete".
64666         * elf/dl-load.c: Include <stap-probe.h>.
64667         (lose): Take new parameter "nsid".
64668         Added static probe "map_failed".
64669         (_dl_map_object_from_fd): Pass namespace id to lose.
64670         Added static probe "map_start".
64671         (open_verify): Pass namespace id to lose.
64672         * elf/dl-open.c: Include <stap-probe.h>.
64673         (dl_open_worker) Added static probes "map_complete", "reloc_start"
64674         and "reloc_complete".
64675         * elf/dl-close.c: Include <stap-probe.h>.
64676         (_dl_close_worker): Added static probes "unmap_start" and
64677         "unmap_complete".
64678         * elf/rtld-debugger-interface.txt: New file documenting the above.
64680 2012-07-26  Roland McGrath  <roland@hack.frob.com>
64682         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
64683         rather than a string variable.
64684         * sunrpc/rpc_main.c (h_output): Likewise.
64685         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
64687 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
64689         * inet/check_native.c: New file.
64691 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
64693         [BZ #13629]
64694         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
64695         if larger part has absolute value 1.0.
64696         * math/s_clog10.c (__clog10): Likewise.
64697         * math/s_clog10f.c (__clog10f): Likewise.
64698         * math/s_clog10l.c (__clog10l): Likewise.
64699         * math/s_clogf.c (__clogf): Likewise.
64700         * math/s_clogl.c (__clogl): Likewise.
64701         * math/libm-test.inc (clog_test): Add more tests.
64702         (clog10_test): Likewise.
64703         * sysdeps/i386/fpu/libm-test-ulps: Update.
64704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64706         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
64707         (pltexit): Likewise.
64708         (La_regs): Likewise.
64709         (La_retval): Likewise.
64710         (int_retval): Likewise.
64711         Update #error for removed macros to refer only to definitions in
64712         tst-audit.h.
64713         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
64714         macro.
64715         (pltexit): Likewise.
64716         (La_regs): Likewise.
64717         (La_retval): Likewise.
64718         (int_retval): Likewise.
64719         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
64720         macro.
64721         (pltexit): Likewise.
64722         (La_regs): Likewise.
64723         (La_retval): Likewise.
64724         (int_retval): Likewise.
64725         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
64726         macro.
64727         (pltexit): Likewise.
64728         (La_regs): Likewise.
64729         (La_retval): Likewise.
64730         (int_retval): Likewise.
64731         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
64732         macro.
64733         (pltexit): Likewise.
64734         (La_regs): Likewise.
64735         (La_retval): Likewise.
64736         (int_retval): Likewise.
64737         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
64738         macro.
64739         (pltexit): Likewise.
64740         (La_regs): Likewise.
64741         (La_retval): Likewise.
64742         (int_retval): Likewise.
64743         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
64744         macro.
64745         (pltexit): Likewise.
64746         (La_regs): Likewise.
64747         (La_retval): Likewise.
64748         (int_retval): Likewise.
64749         * sysdeps/generic/tst-audit.h: Update comment to refer only to
64750         macro definitions in tst-audit.h.
64751         * sysdeps/i386/tst-audit.h: New file.
64752         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
64753         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
64754         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
64755         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
64756         * sysdeps/sh/tst-audit.h: Likewise.
64757         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
64758         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
64759         * sysdeps/x86_64/tst-audit.h: Likewise.
64761 2012-07-26  Andreas Jaeger  <aj@suse.de>
64763         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
64764         ptrace.
64766         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
64767         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
64768         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
64769         PTRACE_O_MASK.
64770         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
64771         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
64772         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
64774         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
64775         value.
64777         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
64778         _sigsys.
64779         (si_call_addr, si_syscall, si_arch): Define new macro.
64780         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
64781         _sigsys.
64782         (si_call_addr, si_syscall, si_arch): Define new marcro.
64783         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
64784         _sigsys.
64785         (si_call_addr, si_syscall, si_arch): Define new macro.
64786         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
64787         _sigsys.
64788         (si_call_addr, si_syscall, si_arch): Define new macro.
64790 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
64792         [BZ #13717]
64793         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64794         Change to 2.4.21 where previously 2.4.1.
64795         * sysdeps/unix/sysv/linux/configure: Regenerated.
64796         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
64797         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
64798         Linux kernel version.
64799         (__ASSUME_STD_AUXV): Remove.
64800         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
64801         kernel version.
64802         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
64803         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
64804         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
64805         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
64806         (__ASSUME_NETLINK_SUPPORT): Likewise.
64807         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
64808         (__no_netlink_support): Remove conditional definition.
64809         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
64810         Remove.
64811         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
64812         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
64813         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
64814         (if_nameindex_ioctl): Remove.
64815         (if_nameindex_netlink): Do not handle __no_netlink_support.
64816         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
64817         code.
64818         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
64819         Remove conditional code.
64820         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
64821         code.
64822         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
64823         unconditional.
64824         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
64825         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
64826         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
64827         Remove.
64828         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
64829         [!__ASSUME_STD_AUXV]: Remove conditional code.
64830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
64831         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
64832         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
64833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
64834         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
64835         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
64836         code.
64837         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
64838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
64839         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
64840         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
64841         conditional code.
64842         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
64843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
64844         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
64845         code.
64846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
64847         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
64848         conditional code.
64849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
64850         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64851         code unconditional.
64852         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64853         conditional code.
64854         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64855         unconditional.
64856         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64857         conditional code.
64858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
64859         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64860         unconditional.
64861         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64862         conditional code.
64863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
64864         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64865         code unconditional.
64866         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64867         conditional code.
64868         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64869         unconditional.
64870         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64871         conditional code.
64872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
64873         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64874         code unconditional.
64875         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64876         conditional code.
64877         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64878         unconditional.
64879         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64880         conditional code.
64882 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
64884         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
64885         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
64886         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
64887         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
64888         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
64889         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
64890         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
64891         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
64892         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
64893         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
64894         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
64895         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
64896         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
64897         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
64898         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
64899         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
64900         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
64901         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
64902         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
64903         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
64904         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
64905         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
64906         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
64908 2012-07-25  Florian Weimer  <fweimer@redhat.com>
64910         * Versions.def: Add GLIBC_2.17.
64911         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
64912         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
64913         Introduce __libc_secure_getenv.
64914         * stdlib/Versions (2.17): Add secure_getenv
64915         (GLIBC_PRIVATE): Add __libc_secure_getenv.
64916         * stdlib/secure-getenv.c: Rename __secure_getenv to
64917         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
64918         symbol __secure_getenv for GLIBC_2.0.
64919         * stdlib/tst-secure-getenv.c: New.
64920         * stdlib/Makefile (tests): Add testcase.
64921         * manual/startup.texi (Environment Access): Document
64922         secure_getenv.
64923         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
64924         __libc_secure_getenv.
64925         * inet/ruserpass.c (ruserpass): Likewise.
64926         * malloc/mtrace.c (mtrace): Likewise.
64927         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
64928         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
64929         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
64930         * sysdeps/posix/tempname.c: Likewise.  Evaluate
64931         HAVE_SECURE_GETENV.
64932         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
64933         __secure_getenv to __libc_secure_getenv.
64934         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
64935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64936         Likewise.
64937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64938         Likewise.
64939         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
64940         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
64941         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64942         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
64943         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
64944         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
64947 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
64949         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
64950         (struct La_i86_retval): Likewise.
64951         (struct La_x86_64_regs): Likewise.
64952         (struct La_x86_64_retval): Likewise.
64953         (struct La_x32_regs): Likewise.
64954         (struct La_x32_retval): Likewise.
64955         (struct La_ppc32_regs): Likewise.
64956         (struct La_ppc32_retval): Likewise.
64957         (struct La_ppc64_regs): Likewise.
64958         (struct La_ppc64_retval): Likewise.
64959         (struct La_sh_regs): Likewise.
64960         (struct La_sh_retval): Likewise.
64961         (struct La_s390_32_regs): Likewise.
64962         (struct La_s390_32_retval): Likewise.
64963         (struct La_s390_64_regs): Likewise.
64964         (struct La_s390_64_retval): Likewise.
64965         (struct La_sparc32_regs): Likewise.
64966         (struct La_sparc32_retval): Likewise.
64967         (struct La_sparc64_regs): Likewise.
64968         (struct La_sparc64_retval): Likewise.
64969         (struct audit_ifaces): Remove architecture-specific pltenter and
64970         pltexit members.
64971         * sysdeps/i386/ldsodefs.h: New file.
64972         * sysdeps/powerpc/ldsodefs.h: Likewise.
64973         * sysdeps/s390/ldsodefs.h: Likewise.
64974         * sysdeps/sh/ldsodefs.h: Likewise.
64975         * sysdeps/sparc/ldsodefs.h: Likewise.
64976         * sysdeps/x86_64/ldsodefs.h: Likewise.
64978 2012-07-25  Marek Polacek  <polacek@redhat.com>
64980         [BZ #6808]
64981         * math/libm-test.inc (yn_test): Add another test.
64982         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
64983         to ERANGE when the result is +-Inf.
64984         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
64985         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
64986         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
64987         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
64989 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
64991         * conform/data/time.h-data (NULL): Use macro-constant.  Require
64992         equal to 0.
64993         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
64994         clock_t.
64995         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
64997 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
64999         * configure.in <sysdeps resolving>: Correct printing
65000         Implies_before.
65001         * configure: Regenerate.
65003 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
65005         * math/w_ilogb.c: Include <limits.h>.
65006         * math/w_ilogbl.c: Likewise.
65008 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
65010         * manual/lang.texi (__va_copy): Document primarily as ISO C99
65011         va_copy.  Document allowing for unavailable va_copy only as
65012         pre-C99 compatibility.
65013         * manual/string.texi (Copying and Concatenation): Use va_copy
65014         instead of __va_copy in concat example.
65016 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
65018         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
65019         (__sendto): Use create_address_port.  Initialize APORT and deallocate
65020         it if not null.
65022         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
65023         with O_NOLINK passed to __file_name_lookup.
65025         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
65026         with O_NOLINK passed to __file_name_lookup.
65028         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
65029         negative N or less than NGIDS.
65031         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
65032         type to string_t.  Set ERANGE as errno and return it if NAME is not big
65033         enough.  Use memcpy instead of strncpy.
65035 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
65037         * elf/Makefile (check-data): Remove.
65038         (localplt.data): New vpath directive.
65039         ($(objpfx)check-localplt.out): Use localplt.data from vpath
65040         instead of $(check-data).
65041         * scripts/data/localplt-generic.data: Move to ...
65042         * sysdeps/generic/localplt.data: ... here.
65043         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
65044         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
65045         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
65046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
65047         ... here.
65048         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
65049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
65050         ... here.
65051         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
65052         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
65053         ... here.
65054         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
65055         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
65056         ... here.
65057         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
65058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
65059         ... here.
65060         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
65061         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
65062         ... here.
65064 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65066         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
65067         PPC32 and PPC64 files.
65068         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
65069         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
65071 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65073         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
65074         __makecontext_ret to ...
65075         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
65076         ... here and call exit if uc_link is NULL.  New file.
65077         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
65078         __makecontext_ret.S.
65079         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
65080         __makecontext_ret to ...
65081         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
65082         ... here and call exit if uc_link is NULL.  New file.
65083         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
65084         __makecontext_ret.S.
65086 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65088         * elf/elf.h (R_390_IRELATIVE): New definition.
65089         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
65090         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
65091         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
65092         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
65093         (elf_machine_lazy_rel): Likewise.
65094         * sysdeps/s390/dl-irel.h: New file.
65095         * sysdeps/s390/s390-64/memcpy.S: New asm code.
65096         * sysdeps/s390/s390-64/memset.S: New asm code.
65097         * sysdeps/s390/s390-64/memcmp.S: New asm code.
65098         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
65099         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
65100         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
65101         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
65102         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
65103         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
65104         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
65105         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
65106         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
65107         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
65108         * sysdeps/s390/s390-32/memcpy.S: New asm code.
65109         * sysdeps/s390/s390-32/memset.S: New asm code.
65110         * sysdeps/s390/s390-32/memcmp.S: New asm code.
65112 2012-07-17  Marek Polacek  <polacek@redhat.com>
65114         [BZ #14349]
65115         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
65116         * sysdeps/s390/s390-64/configure.in: Likewise.
65117         * sysdeps/sparc/configure.in: Likewise.
65118         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
65119         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
65120         * sysdeps/i386/configure.in: Likewise.
65121         * sysdeps/x86_64/configure.in: Likewise.
65122         * sysdeps/sh/configure.in: Likewise.
65123         * sysdeps/s390/s390-32/configure: Regenerated.
65124         * sysdeps/s390/s390-64/configure: Likewise.
65125         * sysdeps/x86_64/configure: Likewise.
65126         * sysdeps/sh/configure: Likewise.
65127         * sysdeps/powerpc/powerpc64/configure: Likewise.
65128         * sysdeps/powerpc/powerpc32/configure: Likewise.
65129         * sysdeps/sparc/configure: Likwise.
65130         * sysdeps/i386/configure: Likewise.
65132         * elf/dl-open.c: Comment fixes.
65134 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
65136         * Makefile [CXX] (check-data): Remove.
65137         [CXX] (c++-types.data): New vpath directive.
65138         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
65139         vpath.  Do not allow for C++ type data being missing.
65140         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
65141         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
65142         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
65143         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
65144         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
65145         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
65146         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
65147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
65148         ... here.
65149         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
65150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
65151         ... here.
65152         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
65153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
65154         ... here.
65155         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
65156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
65157         ... here.
65158         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
65159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
65160         ... here.
65161         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
65162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
65163         ... here.
65164         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
65165         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
65166         ... here.
65167         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
65168         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
65170         * elf/tls-macros.h (TLS_LE): Move architecture-specific
65171         definitions to architecture-specific files.
65172         (TLS_IE): Likewise.
65173         (TLS_LD): Likewise.
65174         (TLS_GD): Likewise.
65175         * sysdeps/i386/tls-macros.h: New file.
65176         * sysdeps/powerpc/tls-macros.h: Likewise.
65177         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
65178         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
65179         * sysdeps/sh/tls-macros.h: Likewise.
65180         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
65181         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
65182         * sysdeps/x86_64/tls-macros.h: Likewise.
65184 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
65186         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
65187         zero value for regular exit case.
65189         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
65190         (__start_context): Preserve zero value for regular exit case.
65192 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
65193             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65195         * manual/setjmp.texi (setcontext): Clarify normal process
65196         termination when uc_link is the null pointer.
65197         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
65198         exit call.
65200 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
65202         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
65203         preprocessor.  Test for each exception mask separately.
65205 2012-07-16  Andreas Jaeger  <aj@suse.de>
65207         * po/ru.po: Update from translation team.
65209 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
65211         * conform/data/string.h-data (NULL): Use macro-constant.  Require
65212         equal to 0.
65213         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
65214         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
65215         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
65216         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
65217         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65219 2012-07-13  Andreas Jaeger  <aj@suse.de>
65221         * po/fr.po: Update from translation team.
65223 2012-07-12  Marek Polacek  <polacek@redhat.com>
65225         [BZ #14173]
65226         * math/libm-test.inc (yn_test): Add test for BZ #14173.
65227         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
65228         loop condition.
65230 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
65232         [BZ #13717]
65233         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65234         Change to 2.4.1 where previously 2.4.0.
65235         * sysdeps/unix/sysv/linux/configure: Regenerated.
65236         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
65237         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
65238         version.
65239         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
65240         (__ASSUME_AT_CLKTCK): Remove.
65241         (__ASSUME_AT_PAGESIZE): Likewise.
65242         (__ASSUME_AT_XID): Likewise.
65243         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
65244         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
65245         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
65246         unconditionally.
65247         (HAVE_AUX_PAGESIZE): Likewise.
65248         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
65249         [__ASSUME_AT_CLKTCK]: Make code unconditional.
65250         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
65252 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
65254         [BZ #14307]
65255         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
65256         the temporary buffer used to invoke __gethostbyname2_r,
65257         __gethostbyaddr_r and gethostbyname4_r to make room for struct
65258         host_data / struct gaih_addrtuple.
65259         * resolv/nss_dns/dns-host.c (global scope): Move definition of
65260         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
65261         header file nss/nsswitch.h.
65262         * nss/nsswitch.h (global scope): Add definition of implementation
65263         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
65264         resolv/nss_dns/dns-host.c).
65266 2012-07-11  Andreas Jaeger  <aj@suse.de>
65268         * po/fr.po: Update from translation team.
65270         * po/sv.po: Update from translation team
65271         * po/fr.po: Another update from translation team.
65273 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65275         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
65276         for subnormals or multiply small sinh result by itself.
65277         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
65278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65280 2012-07-11  David S. Miller  <davem@davemloft.net>
65282         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65284 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
65286         [BZ #14347]
65287         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
65288         (INTERNAL_MARK): Shift it here.
65290 2012-07-10  Marek Polacek  <polacek@redhat.com>
65292         [BZ #14151]
65293         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
65294         libc_cv_asm_global_directive with .globl.
65295         * configure: Regenerated.
65296         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
65297         with .globl.
65298         * sysdeps/i386/configure: Regenerated.
65299         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
65300         with .globl.
65301         * sysdeps/x86_64/configure: Regenerated.
65302         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
65303         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
65304         * elf/tst-unique2mod2.c: Likewise.
65305         * elf/tst-unique2mod1.c: Likewise.
65306         * elf/tst-unique1mod2.c: Likewise.
65307         * elf/tst-unique1mod1.c: Likewise.
65308         * sysdeps/s390/s390-32/sysdep.h: Likewise.
65309         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
65310         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65311         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65312         * sysdeps/mach/sysdep.h: Likewise.
65313         * sysdeps/i386/sysdep.h: Likewise.
65314         * sysdeps/i386/i386-mcount.S: Likewise.
65315         * sysdeps/x86_64/_mcount.S: Likewise.
65316         * sysdeps/x86_64/sysdep.h: Likewise.
65317         * sysdeps/sh/_mcount.S: Likewise.
65318         * sysdeps/sh/sysdep.h: Likewise.
65319         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
65320         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
65321         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
65322         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65323         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
65324         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
65325         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
65326         * locale/localeinfo.h: Likewise.
65327         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
65328         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
65330 2012-07-09  Roland McGrath  <roland@hack.frob.com>
65332         [BZ #14336]
65333         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
65334         system".
65335         * manual/message.texi (The Uniforum approach): Likewise.
65336         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
65337         (glibc iconv Implementation): Likewise.
65339 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
65341         [BZ #14337]
65342         * math/s_clog.c (__clog): Avoid scaling a value down where that
65343         could result in underflow.
65344         * math/s_clog10.c (__clog10): Likewise.
65345         * math/s_clog10f.c (__clog10f): Likewise.
65346         * math/s_clog10l.c (__clog10l): Likewise.
65347         * math/s_clogf.c (__clogf): Likewise.
65348         * math/s_clogl.c (__clogl): Likewise.
65349         * math/libm-test.inc (clog_test): Add more tests.
65350         (clog10_test): Likewise.
65351         * sysdeps/i386/fpu/libm-test-ulps: Update.
65352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65354 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
65356         [BZ #14283]
65357         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
65358         by 7 not 8 to examine high bit of fractional part.
65360         [BZ #14042]
65361         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
65362         for call to __mcount_internal.
65363         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
65364         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
65365         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
65367 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
65369         [BZ #14154]
65370         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
65371         approximation for values within 0x1p-13f of an odd multiple of
65372         pi/4.
65373         * math/libm-test.inc (tan_test): Do not allow spurious underflow
65374         exception.  Add more tests.
65375         * sysdeps/i386/fpu/libm-test-ulps: Update.
65377         [BZ #6778]
65378         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
65379         inputs and return -1 for them.  Do not check for +Inf in case not
65380         reachable for +Inf.
65381         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
65382         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
65383         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
65384         and return -1 for them.  Do not check for +Inf in case not
65385         reachable for +Inf.
65386         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
65387         define.
65388         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
65389         and return -1 for them.  Do not check for +Inf in case not
65390         reachable for +Inf.
65391         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
65392         spurious underflow.
65393         * sysdeps/i386/fpu/libm-test-ulps: Update.
65394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65396 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
65398         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
65400 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
65402         [BZ #14157]
65403         [BZ #14331]
65404         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
65405         could result in spurious underflow.  Scale down values above
65406         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
65407         * math/s_csqrtf.c (__csqrtf): Likewise.
65408         * math/s_csqrtl.c (__csqrtl): Likewise.
65409         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
65410         spurious underflow.
65411         * sysdeps/i386/fpu/libm-test-ulps: Update.
65412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65414 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
65416         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
65417         xopen-msg.sed.
65418         * catgets/xopen-msg.awk: New file.
65419         * catgets/xopen-msg.sed: Removed.
65421         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
65422         po2text.sed.
65423         * intl/po2test.awk: New file.
65424         * intl/po2test.sed: Removed.
65426 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
65428         [BZ #14328]
65429         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
65430         or multiply small sinh result by itself.
65431         * math/s_ctanf.c (__ctanf): Likewise.
65432         * math/s_ctanh.c (__ctanh): Likewise.
65433         * math/s_ctanhf.c (__ctanhf): Likewise.
65434         * math/s_ctanhl.c (__ctanhl): Likewise.
65435         * math/s_ctanl.c (__ctanl): Likewise.
65436         * math/libm-test.inc (ctan_test_tonearest): New function.
65437         (ctan_test_towardzero): Likewise.
65438         (ctan_test_downward): Likewise.
65439         (ctan_test_upward): Likewise.
65440         (ctanh_test_tonearest): Likewise.
65441         (ctanh_test_towardzero): Likewise.
65442         (ctanh_test_downward): Likewise.
65443         (ctanh_test_upward): Likewise.
65444         (main): Call these new functions.
65445         * sysdeps/i386/fpu/libm-test-ulps: Update.
65446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65448 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
65450         * .gitignore: Delete /ports entry.
65452 2012-07-03  Andreas Jaeger  <aj@suse.de>
65454         * po/bg.po: Update from translation team.
65455         * po/cs.po: Likewise.
65456         * po/de.po: Likewise.
65457         * po/hr.po: Likewise.
65458         * po/nl.pl: Likewise.
65459         * po/pl.po: Likewise.
65460         * po/vi.po: Likewise.
65462 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
65464         * Makeconfig [!+link] (+link-before-libc): New variable.
65465         [!+link] (+link-after-libc): Likewise.
65466         [!+link] (+link-tests): Likewise.
65467         [!+link] (+link): Define in terms of $(+link-before-libc) and
65468         $(+link-after-libc).
65469         [!+link-static] (+link-static-before-libc): New variable.
65470         [!+link-static] (+link-static-after-libc): Likewise.
65471         [!+link-static] (+link-static-tests): Likewise.
65472         [!+link-static] (+link-static): Define in terms of
65473         $(+link-static-before-libc) and $(+link-static-after-libc).
65474         [build-shared] (link-libc-before-gnulib): New variable.
65475         [build-shared] (link-libc-tests): Likewise.
65476         [build-shared] (link-libc): Define in terms of
65477         $(link-libc-before-gnulib).
65478         [!build-shared] (link-libc-tests): New variable.
65479         (link-libc-static-tests): New variable.
65480         [!gnulib] (gnulib-arch): New variable.
65481         [!gnulib] (gnulib-tests): Likewise.
65482         [!gnulib] (static-gnulib-arch): Likewise.
65483         [!gnulib] (static-gnulib-tests): Likewise.
65484         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
65485         Define with "=" instead of ":=".
65486         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
65487         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
65488         * Rules (binaries-all-notests): New variable.
65489         (binaries-all-tests): Likewise.
65490         (binaries-static-notests): Likewise.
65491         (binaries-static-tests): Likewise.
65492         (binaries-all): Define using $(binaries-all-notests) and
65493         $(binaries-all-tests).
65494         (binaries-static): Define using $(binaries-static-notests) and
65495         $(binaries-static-tests).
65496         (binaries-shared-tests): New variable.
65497         (binaries-shared-notests): Likewise.
65498         (binaries-shared): Remove variable.
65499         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
65500         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
65501         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
65502         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
65503         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
65504         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
65505         * elf/Makefile (sln-modules): New variable.
65506         (extra-objs): Add $(sln-modules:=.o).
65507         (ldconfig-modules): Add static-stubs.
65508         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
65509         * elf/static-stubs.c: New file.
65511         [BZ #14283]
65512         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
65513         by 7 not 8 to examine high bit of fractional part.  Use volatile
65514         variables when splitting into final array of floats if
65515         __FLT_EVAL_METHOD__ != 0.
65516         * math/libm-test.inc (cos_test): Add another test.
65517         (sin_test): Likewise.
65518         * sysdeps/i386/fpu/libm-test-ulps: Update.
65520         [BZ #14273]
65521         * math/libm-test.inc (cosh_test): Add more tests.
65523         * version.h (RELEASE): Set to "development".
65524         (VERSION): Set to "2.16.90".
65526 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
65528         * NEWS: Update copyright. Remove last-updated date.
65529         Mention math library bug fixes and timezone data changes.
65530         * README: Mention GNU/Hurd, x32, and HPPA support status.
65532 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
65534         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
65536 2012-06-27  Andreas Jaeger  <aj@suse.de>
65538         * manual/contrib.texi (Contributors): Add Samuel Thibault.
65540 2012-06-25  Andreas Jaeger  <aj@suse.de>
65542         * sysdeps/s390/fpu/libm-test-ulps: Update.
65544 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
65545             Thomas Schwinge  <thomas@codesourcery.com>
65547         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
65548         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
65549         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
65550         fanotify_mark.
65552 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
65554         * sysdeps/mach/start.c: Remove file.
65555         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
65556         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
65557         * sysdeps/sh/init-first.c: Likewise.
65559         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
65560         registers for frame unwinding purposes, add CFI directives.
65561         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
65562         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
65563         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
65564         Likewise.
65566         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
65567         __fortify_fail returning.
65568         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
65570         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
65571         sysdeps/sh/____longjmp_chk.S.
65572         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
65573         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
65574         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
65575         (gen-as-const-headers): Append sigaltstack-offsets.sym.
65577         * sysdeps/sh/abort-instr.h: New file.
65578         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
65579         process in case exit returns.
65581         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
65582         initialize the GOT register before use.
65584         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
65585         calculation of ARGC > 4.
65587         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
65588         meaningful names to some local labels.
65590 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65591             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65593         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
65594         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
65595         (__arch_compare_and_exchange_val_16_acq): Likewise.
65596         (__arch_compare_and_exchange_val_32_acq): Likewise.
65597         (atomic_exchange_and_add): Fix gUSA sequence.
65598         (atomic_add): Likewise.
65599         (atomic_add_negative): Likewise.
65600         (atomic_add_zero): Likewise.
65601         (atomic_bit_test_set): Likewise.
65603 2012-06-22  Andreas Schwab  <schwab@redhat.com>
65605         [BZ #13579]
65606         * include/link.h (struct link_map): Add l_free_initfini.
65607         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
65608         l_initfini.
65609         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
65610         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
65611         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
65612         set.
65614 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
65616         * configure.in: Use AC_LANG_SOURCE.
65617         * configure: Regenerate.
65619 2012-06-22  Roland McGrath  <roland@hack.frob.com>
65621         * configure.in (libc_cv_localstatedir): New substituted variable.
65622         * configure: Regenerated.
65623         * config.make.in (localstatedir): New variable, substituted from
65624         libc_cv_localstatedir.
65625         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
65626         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
65627         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
65628         * sysdeps/gnu/configure: Regenerated.
65630 2012-06-21  Jeff Law  <law@redhat.com>
65632         [BZ #14277]
65633         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
65634         free.  Simplify list management for _LIBC case.
65636 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
65638         [BZ #14273]
65639         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
65640         Clear sign bit of 64-bit integer value before comparing against
65641         overflow value.
65643         * sysdeps/mach/configure: Regenerated.
65645 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
65647         [BZ #14278]
65648         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
65650 2012-06-21  Jeff Law  <law@redhat.com>
65652         [BZ #13882]
65653         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
65654         uint16_t for elements in the "seen" array to avoid char overflows.
65655         * elf/dl-fini.c (_dl_sort_fini): Likewise.
65656         * elf/dl-open.c (dl_open_worker): Likewise.
65658 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
65660         * scripts/list-sources.sh: Scan PORTS for translations.
65661         * po/libc.pot: Regenerated.
65663 2012-06-21  Andreas Jaeger  <aj@suse.de>
65665         [BZ #12194]
65666         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
65667         warning.
65668         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
65669         * bits/byteswap-16.h (__bswap_16): Likewise.
65670         * bits/byteswap.h (__bswap_constant_16): Likewise.
65672 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
65674         [BZ #14117]
65675         * sysdeps/i386/fpu_control.h: Removed.
65676         * sysdeps/x86_64/fpu_control.h: Moved to ...
65677         * sysdeps/x86/fpu_control.h: Here.
65679         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
65680         (_FPU_SETCW): Likewise.
65682 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
65684         [BZ #14117]
65685         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
65686         * sysdeps/x86/fpu/bits/mathinline.h: This.
65687         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
65689         [BZ #14050]
65690         [BZ #14117]
65691         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
65692         functions if __x86_64__ is defined.
65694 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
65696         * string/endian.h: Add !__ASSEMBLER__ condition for including
65697         conversion interfaces.
65699 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
65701         [BZ #14241]
65702         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
65703         of ABS(x) in calculating zero to negative powers other than odd
65704         integers.
65705         * math/libm-test.inc (pow_test): Add more tests.
65707 2012-06-15  Andreas Jaeger  <aj@suse.de>
65709         * manual/contrib.texi (Contributors): Update entry of Liubov
65710         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
65711         Machado Filho.
65713 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
65715         * string/string.h: Add __wur to GNU version of strerror_r.
65717 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
65719         [BZ #14229]
65720         * string/Makefile (tests): Add tst-strtok_r.
65721         * string/tst-strtok_r.c: New file.
65722         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
65723         RAX_LP/RDX_LP on SAVE_PTR.
65725 2012-06-14  Roland McGrath  <roland@hack.frob.com>
65727         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
65729 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
65731         * libm_test.inc (csqrt_test): Allow more spurious underflow
65732         exceptions.
65733         (j0_test): Likewise.
65734         (j1_test): Likewise.
65735         (y0_test): Likewise.
65736         (y1_test): Likewise.
65738 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
65740         * po/Makefile (libc.pot): Use UTF-8 charset.
65742 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
65744         [BZ #14210]
65745         Suppress sign-conversion warning from FD_SET.
65746         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
65747         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
65748         not unsigned long int.
65749         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
65751 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
65753         [BZ #14050]
65754         [BZ #14117]
65755         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
65756         __extern_always_inline instead of __extern_inline.
65757         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
65758         (__signbit): Likewise.
65759         (__signbitl): Support C++ namespace.
65760         (lrintf): New inline function.
65761         (lrint): Likewise.
65762         (llrintf): Likewise.
65763         (llrint): Likewise.
65764         (fmaxf): Likewise.
65765         (fmax): Likewise.
65766         (fminf): Likewise.
65767         (fmin): Likewise.
65768         (rint): Likewise.
65769         (rintf): Likewise.
65770         (ceil): Likewise.
65771         (ceilf): Likewise.
65772         (floor): Likewise.
65773         (floorf): Likewise.
65774         (nearbyint): Likewise.
65775         (nearbyintf): Likewise.
65777 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
65779         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
65780         non-default versions.
65782 2012-06-11  Roland McGrath  <roland@hack.frob.com>
65784         [BZ #14218]
65785         * manual/argp.texi (Argp): Reword argp_parse description slightly.
65787 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
65789         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
65790         (FE_UPWARD, FE_DOWNWARD): Don't define.
65791         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
65792         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
65794         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
65795         reading it.
65796         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
65797         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65799 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65801         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
65802         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
65803         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
65804         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
65806 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
65808         [BZ #14117]
65809         * sysdeps/i386/fpu/bits/fenv.h: Removed.
65810         * sysdeps/i386/fpu/Implies: New file.
65811         * sysdeps/x86_64/fpu/Implies: Likewise.
65812         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
65813         * sysdeps/x86/fpu/bits/fenv.h: This.
65815         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
65816         __SSE_MATH__.
65818 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
65820         [BZ #14134]
65821         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
65822         character 0xffff that matches the last element of the
65823         conversion table.
65825 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65827         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
65828         fmodl commit.
65830 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65832         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
65833         values higher than 25.6283.
65835 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65837         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
65838         subnormal exponent extraction and add some __builtin_expect.
65839         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
65840         Fix for subnormal mantissa calculation.
65842 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
65844         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
65845         cpu2 is -1 and errno is not ENOSYS.
65847 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
65849         [BZ #14117]
65850         * sysdeps/i386/i486/bits/string.h: Renamed to ...
65851         * sysdeps/x86/bits/string.h: This.
65852         * sysdeps/x86_64/bits/string.h: Removed.
65854         * sysdeps/i386/i486/bits/string.h: Define inline functions only
65855         if not compiling for x86-64, but compiling for >= i486.
65857         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
65858         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
65860         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
65861         New macro from Linux kernel 3.4.0.
65862         (FP_XSTATE_MAGIC2): Likewise.
65863         (FP_XSTATE_MAGIC2_SIZE): Likewise.
65864         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
65865         (struct _fpx_sw_bytes): New struct.
65866         (struct _xsave_hdr): Likewise.
65867         (struct _ymmh_state): Likewise.
65868         (struct _xstate): Likewise.
65870         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
65871         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
65872         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
65873         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
65874         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
65875         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
65877         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
65878         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
65879         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
65880         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
65881         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
65882         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
65884 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65886         [BZ #13743]
65887         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
65888         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
65889         (sysdep_headers): Include sys/platform/ppc.h.
65890         * sysdeps/powerpc/test-gettimebase.c: Test for
65891         __ppc_get_timebase() to catch future ISA opcode/insn changes.
65892         * manual/Makefile (appendices): Include platform.texi.
65893         * manual/contrib.texi (Contributors): Update @node pointers.
65894         * manual/maint.texi (Maintenance): Likewise.
65895         (Platform): New node.
65896         * manual/platform.texi: New file.  Document the new features.
65898 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
65899             Jakub Jelinek  <jakub@redhat.com>
65901         [BZ #14188]
65902         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
65903         where __builtin_expect is unavailable.
65905 2012-06-03  David S. Miller  <davem@davemloft.net>
65907         * stdlib/longlong.h: Updated from GCC.
65909 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
65911         [BZ #14042]
65912         * sysdeps/powerpc/powerpc32/mcount.c: New file.
65913         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
65914         __mcount_internal.
65915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
65916         (GLIBC_2.16): Likewise.
65918 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
65920         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
65922 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
65924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
65925         (default-abi): New variable.
65926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
65927         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
65928         variable.
65929         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
65930         Likewise.
65931         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
65932         Likewise.
65933         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
65934         Likewise.
65936         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
65937         definition.  Document in comment.
65939 2012-06-01  David S. Miller  <davem@davemloft.net>
65941         * stdlib/longlong.h: Updated from GCC.
65943 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
65945         [BZ #14117]
65946         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
65947         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
65948         sys/debugreg.h sys/io.h here.
65949         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
65950         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
65951         sys/io.h.
65952         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
65953         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
65954         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
65955         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
65956         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
65957         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
65959         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
65960         Define only if __x86_64__ is defined.
65962 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
65964         [BZ #14048]
65965         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
65966         Use int64_t for variable i.
65967         * math/libm-test.inc (fmod_test): Add more tests.
65969         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
65970         z computation is not scheduled after fetestexcept.
65971         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
65972         Use math_force_eval instead of asm to ensure calculation scheduled
65973         before exception test.
65974         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
65975         Ensure a1 + u.d computation is not scheduled after fetestexcept.
65977 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
65979         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
65980         computation is not scheduled after fetestexcept.
65982 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
65984         [BZ #14117]
65985         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
65986         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
65988 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65990         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
65991         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
65993 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
65995         [BZ #14117]
65996         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
65997         <bits/wordsize.h>.
65998         (__WCHAR_MIN): Support __WORDSIZE == 64.
65999         (__WCHAR_MAX): Likewise.
66001         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
66002         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
66004         [BZ #14183]
66005         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
66006         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
66008         [BZ #14117]
66009         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
66010         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
66012         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
66013         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
66015         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
66016         Defined to 1 if __x86_64__ isn't defined.
66017         (_STAT_VER_LINUX_OLD): New.
66018         (st_atime): Remove duplicate.
66019         (st_mtime): Likewise.
66020         (st_ctime): Likewise.
66022 2012-05-31  David S. Miller  <davem@davemloft.net>
66024         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
66025         entries.
66027 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
66029         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
66030         gen-libm-test.pl.
66032         [BZ #14132]
66033         * elf/dl-reloc.c: Include <_itoa.h>.
66034         (_dl_reloc_bad_type): Remove use of INTUSE.
66035         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
66036         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
66037         * stdio-common/psiginfo.c (psiginfo): Likewise.
66038         * stdio-common/psignal.c (psignal): Likewise.
66039         * string/strsignal.c (strsignal): Likewise.
66040         * include/signal.h (_sys_siglist): Declare hidden proto.
66041         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
66042         INTVARDEF with libc_hidden_data_def.
66043         * stdio-common/itoa-udigits.c: Likewise.
66044         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
66045         (_itoa_lower_digits_internal): Remove declaration.
66046         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
66047         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
66048         (_sys_sigabbrev_internal): Remove aliases.
66049         (_sys_siglist): Define hidden alias.
66051 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
66053         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66054         bits/sysctl.h.
66056 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
66058         [BZ #14117]
66059         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
66060         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
66062         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
66063         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
66064         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
66065         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
66066         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
66067         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
66069         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
66070         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
66071         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
66073         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
66074         with __addr.
66075         (insw): Likewise.
66076         (insl): Likewise.
66077         (outsb): Likewise.
66078         (outsw): Likewise.
66079         (outsl): Likewise.
66081         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
66082         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
66083         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
66085         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
66086         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
66087         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
66088         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
66089         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
66090         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
66092         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
66093         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
66095         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
66096         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
66098         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
66099         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
66100         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
66102         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
66103         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
66104         to ...
66105         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
66107         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
66108         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
66109         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
66111         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
66112         for x86-64.
66113         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
66115 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
66117         * math/math.h (M_El): Use two more decimal places.
66118         (M_LOG2El): Likewise.
66119         (M_LOG10El): Likewise.
66120         (M_LN2l): Likewise.
66121         (M_LN10l): Likewise.
66122         (M_PIl): Likewise.
66123         (M_PI_2l): Likewise.
66124         (M_PI_4l): Likewise.
66125         (M_1_PIl): Likewise.
66126         (M_2_PIl): Likewise.
66127         (M_2_SQRTPIl): Likewise.
66128         (M_SQRT2l): Likewise.
66129         (M_SQRT1_2l): Likewise.
66131 2012-05-31  David S. Miller  <davem@davemloft.net>
66133         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
66134         values between float registers.
66135         * sysdeps/sparc/sparc64/memset.S: Likewise.
66136         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
66138 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
66140         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
66141         -D_FORTIFY_SOURCE=1.
66142         (CPPFLAGS-tst-longjmp_chk.c): Define.
66143         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
66144         (CPPFLAGS-tst-longjmp_chk2.c): Define.
66145         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
66146         CFLAGS-tst-wchar-h.c.
66148 2012-05-31  Marek Polacek  <polacek@redhat.com>
66150         [BZ #14132]
66151         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
66152         __endmntent_internal): Remove declaration.
66153         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
66154         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
66155         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
66157 2012-05-30  David S. Miller  <davem@davemloft.net>
66159         * sysdeps/sparc/sparc32/soft-fp/q_util.c
66160         (___Q_simulate_exceptions): Use real FP ops rather than writing
66161         into the %fsr.
66162         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
66163         Likewise.
66165 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
66167         [BZ #14117]
66168         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
66169         * sysdeps/x86/bits/xtitypes.h: This.
66171         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
66172         * sysdeps/x86/bits/wordsize.h: This.
66174         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
66175         * sysdeps/x86/bits/huge_vall.h: This.
66177         * sysdeps/i386/bits/select.h: Removed.
66178         * sysdeps/x86_64/bits/select.h: Renamed to ...
66179         * sysdeps/x86/bits/select.h: This.
66181         * sysdeps/i386/bits/setjmp.h: Removed.
66182         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
66183         * sysdeps/x86/bits/setjmp.h: This.
66185         * sysdeps/i386/bits/mathdef.h: Removed.
66186         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
66187         * sysdeps/x86/bits/mathdef.h: This.
66189 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
66191         [BZ #14132]
66192         * include/sys/socket.h (__connect_internal)
66193         (__libc_sa_len_internal): Remove declaration.
66194         (__connect, __libc_sa_len): Declare hidden_proto.
66195         (SA_LEN): Remove use of INTUSE.
66196         * socket/connect.c: Add libc_hidden_def.
66197         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
66198         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
66199         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
66200         alias.
66201         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
66202         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
66203         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
66204         of adding _internal alias.
66206 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
66208         [BZ #14117]
66209         * sysdeps/i386/bits/link.h: Removed.
66210         * sysdeps/i386/bits/linkmap.h: Likewise.
66211         * sysdeps/x86_64/bits/link.h: Renamed to ...
66212         * sysdeps/x86/bits/link.h: This.
66213         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
66214         * sysdeps/x86/bits/linkmap.h: This.
66216         * sysdeps/i386/bits/endian.h: Removed.
66217         * sysdeps/x86_64/bits/endian.h: Renamed to ...
66218         * sysdeps/x86/bits/endian.h: This.
66220         * sysdeps/i386/bits/byteswap.h: Removed.
66221         * sysdeps/i386/bits/byteswap-16.h: Likewise.
66222         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
66223         * sysdeps/x86/bits/byteswap.h: This.
66224         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
66225         * sysdeps/x86/bits/byteswap-16.h: This.
66226         * sysdeps/i386/Implies: Add x86.
66227         * sysdeps/x86_64/Implies: Likewise.
66229 2012-05-30  David S. Miller  <davem@davemloft.net>
66231         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
66232         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
66233         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
66234         (FP_TRAPPING_EXCEPTIONS): Define.
66235         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
66236         (FP_TRAPPING_EXCEPTIONS): Define.
66237         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
66238         subnormals only when inexact has been signalled or underflow
66239         exceptions are enabled.
66240         (_FP_PACK_CANONICAL): Likewise.
66242 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
66244         [BZ #14183]
66245         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
66246         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
66248 2012-05-30  Richard Henderson  <rth@twiddle.net>
66250         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
66251         with #ifndef NOT_IN_libc.
66253         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
66254         marked to avoid plt entry.
66256 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
66258         [BZ #14112]
66259         * Makeconfig (default-abi): New macro.
66260         (abi-includes): Likewise.
66261         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
66262         $(abi-$(default-abi)-lib-soname) for soname if defined.
66263         ($(common-objpfx)gnu/lib-names.stmp): Generate from
66264         abi-variants.
66265         * Makefile (installed-stubs): Likewise.
66266         * include/stubs-biarch.h: Removed.
66267         * scripts/lib-names.awk: Only handle one library at a time.
66268         * scripts/soversions.awk: Remove WORDSIZE support.
66269         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
66270         entries.
66271         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
66272         Removed.
66273         (syscall-list-default-condition): Likewise.
66274         (syscall-list-default-condition): Likewise.
66275         (syscall-list-includes): Likewise.
66276         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
66277         syscall-list-* with abi-*.  Handle undefined abi-variants.
66278         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
66279         * sysdeps/unix/sysv/linux/i386/Implies: New file.
66280         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
66281         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
66282         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
66283         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
66284         Removed.
66285         (syscall-list-32-options): Likewise.
66286         (syscall-list-32-condition): Likewise.
66287         (syscall-list-64-options): Likewise.
66288         (syscall-list-64-condition): Likewise.
66289         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
66290         macro.
66291         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
66292         Renamed to ...
66293         (abi-*): This.
66294         (abi-64-ld-soname): New macro.
66295         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
66296         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
66297         Renamed to ...
66298         (abi-*): This.
66299         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
66300         * sysdeps/x86_64/x32/shlib-versions: Likewise.
66302 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
66304         * sysdeps/unix/sysv/linux/kernel-features.h
66305         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
66306         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
66307         include <kernel-features.h>.
66308         [!__NR_ftruncate64]: Remove conditional code.
66309         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66310         [__NR_ftruncate64]: Make code unconditional.
66311         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66312         * sysdeps/unix/sysv/linux/truncate64.c: Do not
66313         include <kernel-features.h>.
66314         [!__NR_ftruncate64]: Remove conditional code.
66315         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66316         [__NR_ftruncate64]: Make code unconditional.
66317         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
66319         include <kernel-features.h>.
66320         [!__NR_ftruncate64]: Remove conditional code.
66321         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66322         [__NR_ftruncate64]: Make code unconditional.
66323         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
66325         include <kernel-features.h>.
66326         [!__NR_ftruncate64]: Remove conditional code.
66327         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66328         [__NR_ftruncate64]: Make code unconditional.
66329         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
66331         * configure.in (libc_cv_fpie): Weaken to a compile test using
66332         LIBC_TRY_CC_OPTION.
66333         * configure: Regenerated.
66335 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
66338         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
66339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
66340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
66341         Refreshed.
66342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
66343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
66344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
66345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
66346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
66347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
66348         Refreshed.
66350 2012-05-27  David S. Miller  <davem@davemloft.net>
66352         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
66353         (___Q_zero): New.
66354         (__Q_simulate_exceptions): Return void.  Change to simulate
66355         exceptions by writing into the %fsr.
66356         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
66357         (__Qp_handle_exceptions): Likewise.
66358         (numbers): Delete.
66359         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
66360         __Qp_handle_exceptions.
66361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
66362         __Qp_handle_exceptions.
66363         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
66364         as unused and give dummy FP_RND_NEAREST initializer.
66365         (FP_INHIBIT_RESULTS): Define.
66366         (___Q_simulate_exceptions): Update declaration.
66367         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
66368         formatting.
66369         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
66370         as unused and give dummy FP_RND_NEAREST initializer.
66371         (__Qp_handle_exceptions): Update declaration.
66372         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
66373         formatting.
66375 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
66377         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
66378         the temporary FPU control word.
66379         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
66380         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
66381         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
66382         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
66383         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
66384         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
66385         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
66386         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
66387         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
66388         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
66389         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
66391 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66393         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
66394         fields.
66396 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
66398         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
66399         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
66400         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
66401         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
66402         Likewise.
66403         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
66404         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
66405         Likewise.
66407 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
66409         * po/h.po: Update from translation team.
66411 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
66413         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
66415         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
66416         handling of denormals.
66417         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
66418         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
66419         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
66420         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
66421         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66422         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
66423         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
66424         Likewise.
66426 2012-05-26  Marek Polacek  <polacek@redhat.com>
66428         [BZ #14152]
66429         * math/libm-test.inc (fma_test): Don't always expect underflow
66430         exception.
66432 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66434         [BZ #12416]
66435         * elf/tst-execstack.c: Include stackinfo.h.
66436         (do_test): Adjust test case to ensure that pthread_getattr_np
66437         behaviour remains the same after marking stack executable.
66439 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
66441         * sysdeps/unix/sysv/linux/kernel-features.h
66442         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
66443         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
66444         kernel-features.h.
66445         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
66446         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
66447         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
66448         kernel-features.h.
66449         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
66450         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
66452 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
66454         * configure.in: Define the default includes to being none.
66455         * configure: Regenerated.
66457 2012-05-25  Roland McGrath  <roland@hack.frob.com>
66459         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
66460         * sysdeps/x86_64/setjmp.S: Likewise.
66461         * sysdeps/i386/bsd-setjmp.S: Likewise.
66462         * sysdeps/i386/bsd-_setjmp.S: Likewise.
66463         * sysdeps/i386/setjmp.S: Likewise.
66464         * sysdeps/i386/__longjmp.S: Likewise.
66465         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
66466         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
66468         * include/stap-probe.h: New file.
66469         * configure.in: Handle --enable-systemtap.
66470         * configure: Regenerated.
66471         * config.h.in (USE_STAP_PROBE): New #undef.
66472         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
66473         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
66474         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
66476 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
66478         [BZ #13717]
66479         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
66480         to 2.4.0 where earlier.
66481         * sysdeps/unix/sysv/linux/configure: Regenerated.
66482         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
66483         <kernel-features.h>.
66484         [__ASSUME_32BITUIDS]: Make code unconditional.
66485         [!__ASSUME_32BITUIDS]: Remove conditional code.
66486         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
66487         <kernel-features.h>.
66488         [__ASSUME_32BITUIDS]: Make code unconditional.
66489         [!__ASSUME_32BITUIDS]: Remove conditional code.
66490         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
66491         [__ASSUME_32BITUIDS]: Make code unconditional.
66492         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
66493         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.c: Do not include
66498         <kernel-features.h>.
66499         [__ASSUME_32BITUIDS]: Make code unconditional.
66500         [!__ASSUME_32BITUIDS]: Remove conditional code.
66501         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
66502         <kernel-features.h>.
66503         [__ASSUME_32BITUIDS]: Make code unconditional.
66504         [!__ASSUME_32BITUIDS]: Remove conditional code.
66505         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
66506         <kernel-features.h>.
66507         [__ASSUME_32BITUIDS]: Make code unconditional.
66508         [!__ASSUME_32BITUIDS]: Remove conditional code.
66509         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
66510         <kernel-features.h>.
66511         [__ASSUME_32BITUIDS]: Make code unconditional.
66512         [!__ASSUME_32BITUIDS]: Remove conditional code.
66513         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
66514         <kernel-features.h>.
66515         [__ASSUME_32BITUIDS]: Make code unconditional.
66516         [!__ASSUME_32BITUIDS]: Remove conditional code.
66517         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
66518         <kernel-features.h>.
66519         [__ASSUME_32BITUIDS]: Make code unconditional.
66520         [!__ASSUME_32BITUIDS]: Remove conditional code.
66521         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
66522         <kernel-features.h>.
66523         [__ASSUME_32BITUIDS]: Make code unconditional.
66524         [!__ASSUME_32BITUIDS]: Remove conditional code.
66525         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
66526         <kernel-features.h>.
66527         [__ASSUME_32BITUIDS]: Make code unconditional.
66528         [!__ASSUME_32BITUIDS]: Remove conditional code.
66529         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
66530         <kernel-features.h>.
66531         [__ASSUME_32BITUIDS]: Make code unconditional.
66532         [!__ASSUME_32BITUIDS]: Remove conditional code.
66533         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
66534         <kernel-features.h>.
66535         [__NR_setresgid] (__setresgid): Do not declare.
66536         [__ASSUME_32BITUIDS]: Make code unconditional.
66537         [!__ASSUME_32BITUIDS]: Remove conditional code.
66538         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
66539         <kernel-features.h>.
66540         [__NR_setresuid] (__setresuid): Do not declare.
66541         [__ASSUME_32BITUIDS]: Make code unconditional.
66542         [!__ASSUME_32BITUIDS]: Remove conditional code.
66543         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
66544         <kernel-features.h>.
66545         [__ASSUME_32BITUIDS]: Make code unconditional.
66546         [!__ASSUME_32BITUIDS]: Remove conditional code.
66547         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
66548         <kernel-features.h>.
66549         [__ASSUME_32BITUIDS]: Make code unconditional.
66550         [!__ASSUME_32BITUIDS]: Remove conditional code.
66551         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
66552         <kernel-features.h>.
66553         [__ASSUME_32BITUIDS]: Make code unconditional.
66554         [!__ASSUME_32BITUIDS]: Remove conditional code.
66555         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
66556         <kernel-features.h>.
66557         [__ASSUME_32BITUIDS]: Make code unconditional.
66558         [!__ASSUME_32BITUIDS]: Remove conditional code.
66559         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
66560         <kernel-features.h>.
66561         [__ASSUME_32BITUIDS]: Make code unconditional.
66562         [!__ASSUME_32BITUIDS]: Remove conditional code.
66563         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
66564         <kernel-features.h>.
66565         [__ASSUME_32BITUIDS]: Make code unconditional.
66566         [!__ASSUME_32BITUIDS]: Remove conditional code.
66567         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
66568         <kernel-features.h>.
66569         [__ASSUME_32BITUIDS]: Make code unconditional.
66570         [!__ASSUME_32BITUIDS]: Remove conditional code.
66571         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
66572         <kernel-features.h>.
66573         [__ASSUME_32BITUIDS]: Make code unconditional.
66574         [!__ASSUME_32BITUIDS]: Remove conditional code.
66575         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
66576         <kernel-features.h>.
66577         [__ASSUME_32BITUIDS]: Make code unconditional.
66578         [!__ASSUME_32BITUIDS]: Remove conditional code.
66579         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
66580         <kernel-features.h>.
66581         [__ASSUME_32BITUIDS]: Make code unconditional.
66582         [!__ASSUME_32BITUIDS]: Remove conditional code.
66583         * sysdeps/unix/sysv/linux/kernel-features.h
66584         (__ASSUME_SETRESUID_SYSCALL): Remove.
66585         (__ASSUME_SETRESGID_SYSCALL): Likewise.
66586         (__ASSUME_32BITUIDS): Likewise.
66587         (__ASSUME_LDT_WORKS): Likewise.
66588         (__ASSUME_O_DIRECTORY): Likewise.
66589         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
66590         architecture but not kernel version.
66591         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
66592         (__ASSUME_MMAP2_SYSCALL): Likewise.
66593         (__ASSUME_STAT64_SYSCALL): Likewise.
66594         (__ASSUME_IPC64): Likewise.
66595         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
66596         <kernel-features.h>.
66597         [__ASSUME_32BITUIDS]: Make code unconditional.
66598         [!__ASSUME_32BITUIDS]: Remove conditional code.
66599         * sysdeps/unix/sysv/linux/opendir.c: Do not include
66600         <kernel-features.h>.
66601         [__ASSUME_O_DIRECTORY]: Make code unconditional.
66602         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
66603         132096]: Remove conditional code.
66604         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
66605         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
66606         <kernel-features.h>.
66607         [__ASSUME_32BITUIDS]: Make code unconditional.
66608         [!__ASSUME_32BITUIDS]: Remove conditional code.
66609         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
66610         <kernel-features.h>.
66611         [__ASSUME_32BITUIDS]: Make code unconditional.
66612         [!__ASSUME_32BITUIDS]: Remove conditional code.
66613         * sysdeps/unix/sysv/linux/setegid.c: Do not include
66614         <kernel-features.h>.
66615         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
66616         unconditional.
66617         (__setresgid): Do not declare.
66618         [__ASSUME_32BITUIDS]: Make code unconditional.
66619         [!__ASSUME_32BITUIDS]: Remove conditional code.
66620         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
66621         <kernel-features.h>.
66622         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
66623         unconditional.
66624         (__setresuid): Do not declare.
66625         [__ASSUME_32BITUIDS]: Make code unconditional.
66626         [!__ASSUME_32BITUIDS]: Remove conditional code.
66627         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
66628         <kernel-features.h>.
66629         [__ASSUME_32BITUIDS]: Make code unconditional.
66630         [!__ASSUME_32BITUIDS]: Remove conditional code.
66631         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
66632         <kernel-features.h>.
66633         [__ASSUME_32BITUIDS]: Make code unconditional.
66634         [!__ASSUME_32BITUIDS]: Remove conditional code.
66636 2012-05-25  Richard Henderson  <rth@twiddle.net>
66638         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
66639         dl_hwcap to ifunc resolver.
66640         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
66641         elf_ifunc_invoke.
66642         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
66643         dl_hwcap to ifunc resolver.
66644         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
66646 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66648         [BZ #14153]
66649         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
66650         for |x| <= 2**-26, not 2**-57.
66651         * math/libm-test.inc (acos_test): Do not allow spurious underflow
66652         exception.
66654 2012-05-24  Jeff Law  <law@redhat.com>
66656         * stdio-common/Makefile (tests): Add bug25.
66657         * stdio-common/bug25.c: New test.
66659 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
66661         [BZ #13576]
66662         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
66663         multiple of MALLOC_ALIGNMENT in size.
66664         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
66666 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66668         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
66669         Require >= 256.
66670         (FILENAME_MAX): Use macro-int-constant.
66671         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
66672         (_IOFBF): Use macro-int-constant.
66673         (_IOLBF): Likewise.
66674         (_IONBF): Likewise.
66675         (SEEK_CUR): Likewise.
66676         (SEEK_END): Likewise.
66677         (SEEK_SET): Likewise.
66678         (TMP_MAX): Likewise.
66679         (EOF): Use macro-int-constant.  Require < 0.
66680         (NULL): Use macro-constant.  Require == 0.
66681         (stdin): Require type to be FILE *.
66682         (stdout): Likewise.
66683         (stderr): Likewise.
66684         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
66685         macro-int-constant.
66686         (EXIT_SUCCESS): Likewise.
66687         (NULL): Use macro-constant.  Require == 0.
66688         (RAND_MAX): Use macro-int-constant.
66689         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
66690         [C99-based standards] (strtof): Require function.
66691         [C99-based standards] (strtold): Likewise.
66692         [C99-based standards] (strtoll): Likewise.
66693         [C99-based standards] (strtoull): Likewise.
66694         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
66695         [ISO || ISO99 || ISO11] (limits.h): Likewise.
66696         [ISO || ISO99 || ISO11] (math.h): Likewise.
66697         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
66698         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
66699         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66701 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
66703         [BZ #14132]
66704         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
66705         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
66706         * intl/dgettext.c (DCGETTEXT): Likewise.
66707         * intl/gettext.c (DCGETTEXT): Likewise.
66708         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
66709         * posix/regex_internal.h (gettext): Likewise.
66710         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
66711         Remove declaration.
66712         * include/argz.h (__argz_count_internal)
66713         (__argz_stringify_internal): Remove declaration.
66714         (__argz_count, __argz_stringify): Declare hidden proto.
66715         * intl/dcgettext.c: Remove use of INTDEF.
66716         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
66717         * string/argz-stringify.c: Likewise.
66718         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
66719         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
66720         Declare hidden proto.
66721         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
66722         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
66723         Declare hidden proto.
66724         * include/stdio.h (__asprintf_internal): Don't declare.
66725         (__asprintf): Don't define as macro.  Declare hidden proto.
66726         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
66727         (__fsetlocking): Declare hidden proto.
66728         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
66729         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
66730         hidden proto.
66731         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
66732         (_IO_setlinebuf): Remove use of INTUSE.
66733         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
66734         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
66735         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
66736         Remove declaration.
66737         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
66738         (_IO_do_flush): Remove use of INTUSE.
66739         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
66740         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
66741         (_IO_adjust_column, _IO_least_wmarker)
66742         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
66743         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
66744         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
66745         (_IO_default_doallocate, _IO_wdefault_doallocate)
66746         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
66747         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
66748         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
66749         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
66750         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
66751         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
66752         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
66753         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
66754         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
66755         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
66756         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
66757         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
66758         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
66759         proto.
66760         (_IO_flush_all_internal, _IO_adjust_column_internal)
66761         (_IO_default_uflow_internal, _IO_default_finish_internal)
66762         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
66763         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
66764         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
66765         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
66766         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
66767         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
66768         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
66769         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
66770         (_IO_file_close_internal, _IO_file_close_it_internal)
66771         (_IO_file_underflow_internal, _IO_file_overflow_internal)
66772         (_IO_file_init_internal, _IO_file_attach_internal)
66773         (_IO_file_fopen_internal, _IO_file_read_internal)
66774         (_IO_file_sync_internal, _IO_file_seek_internal)
66775         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
66776         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
66777         (_IO_str_underflow_internal, _IO_str_overflow_internal)
66778         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
66779         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
66780         (_IO_list_all_internal, _IO_link_in_internal)
66781         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
66782         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
66783         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
66784         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
66785         (_IO_do_write_internal, _IO_padn_internal)
66786         (_IO_getline_info_internal, _IO_getline_internal)
66787         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
66788         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
66789         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
66790         (_IO_vfscanf_internal, _IO_vfprintf_internal)
66791         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
66792         (_IO_init_internal, _IO_un_link_internal): Don't declare.
66793         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
66794         with libc_hidden_ver, remove use of INTUSE.
66795         * libio/genops.c: Likewise.
66796         * libio/freopen.c: Likewise.
66797         * libio/freopen64.c: Likewise.
66798         * libio/iofclose.c: Likewise.
66799         * libio/iofdopen.c: Likewise.
66800         * libio/iofflush.c: Likewise.
66801         * libio/iofflush_u.c: Likewise.
66802         * libio/iofgets.c: Likewise.
66803         * libio/iofgets_u.c: Likewise.
66804         * libio/iofopen.c: Likewise.
66805         * libio/iofopncook.c: Likewise.
66806         * libio/iofread.c: Likewise.
66807         * libio/iofread_u.c: Likewise.
66808         * libio/ioftell.c: Likewise.
66809         * libio/iofwrite.c: Likewise.
66810         * libio/iogetline.c: Likewise.
66811         * libio/iogets.c: Likewise.
66812         * libio/iogetwline.c: Likewise.
66813         * libio/iopadn.c: Likewise.
66814         * libio/iopopen.c: Likewise.
66815         * libio/ioseekoff.c: Likewise.
66816         * libio/ioseekpos.c: Likewise.
66817         * libio/iosetbuffer.c: Likewise.
66818         * libio/iosetvbuf.c: Likewise.
66819         * libio/ioungetc.c: Likewise.
66820         * libio/ioungetwc.c: Likewise.
66821         * libio/iovdprintf.c: Likewise.
66822         * libio/iovsprintf.c: Likewise.
66823         * libio/iovsscanf.c: Likewise.
66824         * libio/memstream.c: Likewise.
66825         * libio/obprintf.c: Likewise.
66826         * libio/oldfileops.c: Likewise.
66827         * libio/oldiofclose.c: Likewise.
66828         * libio/oldiofdopen.c: Likewise.
66829         * libio/oldiofopen.c: Likewise.
66830         * libio/oldiopopen.c: Likewise.
66831         * libio/oldstdfiles.c: Likewise.
66832         * libio/putc.c: Likewise.
66833         * libio/setbuf.c: Likewise.
66834         * libio/setlinebuf.c: Likewise.
66835         * libio/stdfiles.c: Likewise.
66836         * libio/strops.c: Likewise.
66837         * libio/vasprintf.c: Likewise.
66838         * libio/vscanf.c: Likewise.
66839         * libio/vsnprintf.c: Likewise.
66840         * libio/vswprintf.c: Likewise.
66841         * libio/wfiledoalloc.c: Likewise.
66842         * libio/wfileops.c: Likewise.
66843         * libio/wgenops.c: Likewise.
66844         * libio/wmemstream.c: Likewise.
66845         * libio/wstrops.c: Likewise.
66846         * libio/__fpurge.c: Likewise.
66847         * libio/__fsetlocking.c: Likewise.
66848         * assert/assert.c: Likewise.
66849         * debug/fgets_chk.c: Likewise.
66850         * debug/fgets_u_chk.c: Likewise.
66851         * debug/fread_chk.c: Likewise.
66852         * debug/fread_u_chk.c: Likewise.
66853         * debug/gets_chk.c: Likewise.
66854         * debug/obprintf_chk.c: Likewise.
66855         * debug/vasprintf_chk.c: Likewise.
66856         * debug/vdprintf_chk.c: Likewise.
66857         * debug/vsnprintf_chk.c: Likewise.
66858         * debug/vsprintf_chk.c: Likewise.
66859         * malloc/mtrace.c: Likewise.
66860         * misc/error.c: Likewise.
66861         * misc/syslog.c: Likewise.
66862         * stdio-common/asprintf.c: Likewise.
66863         * stdio-common/fxprintf.c: Likewise.
66864         * stdio-common/getw.c: Likewise.
66865         * stdio-common/isoc99_fscanf.c: Likewise.
66866         * stdio-common/isoc99_scanf.c: Likewise.
66867         * stdio-common/isoc99_vfscanf.c: Likewise.
66868         * stdio-common/isoc99_vscanf.c: Likewise.
66869         * stdio-common/isoc99_vsscanf.c: Likewise.
66870         * stdio-common/printf-prs.c: Likewise.
66871         * stdio-common/printf_fp.c: Likewise.
66872         * stdio-common/printf_fphex.c: Likewise.
66873         * stdio-common/printf_size.c: Likewise.
66874         * stdio-common/putw.c: Likewise.
66875         * stdio-common/scanf.c: Likewise.
66876         * stdio-common/sprintf.c: Likewise.
66877         * stdio-common/tmpfile.c: Likewise.
66878         * stdio-common/vfprintf.c: Likewise.
66879         * stdio-common/vfscanf.c: Likewise.
66880         * stdlib/strfmon_l.c: Likewise.
66881         * sunrpc/openchild.c: Likewise.
66882         * sunrpc/xdr_stdio.c: Likewise.
66883         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
66884         * sysdeps/mach/hurd/tmpfile.c: Likewise.
66886 2012-05-24  Roland McGrath  <roland@hack.frob.com>
66888         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
66890         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
66891         in the third column, to generate for the shared library an IFUNC
66892         that uses _dl_vdso_vsym.
66893         * Makerules (COMPILE.c, compile-stdin.c): New variables.
66894         * Makeconfig (object-suffixes-noshared): New variable.
66896         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
66897         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
66898         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
66899         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
66901         [BZ #14132]
66902         * include/sys/time.h (__gettimeofday): Remove macro.
66903         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
66904         * time/gettimeofday.c (__gettimeofday): Remove #undef.
66905         Remove INTDEF.
66906         (__gettimeofday): Add libc_hidden_def.
66907         (gettimeofday): Add libc_hidden_weak.
66908         * sysdeps/mach/gettimeofday.c: Likewise.
66909         * sysdeps/posix/gettimeofday.c: Likewise.
66910         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
66911         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
66912         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
66913         (__gettimeofday_internal): Remove strong_alias.
66914         (__gettimeofday): Add libc_hidden_def.
66915         (gettimeofday): Add libc_hidden_weak.
66916         * sysdeps/unix/syscalls.list (gettimeofday):
66917         Remove __gettimeofday_internal alias.
66919 2012-05-24  Daniel Jacobowitz  <drow@false.org>
66920             H.J. Lu  <hongjiu.lu@intel.com>
66922         [BZ #12495]
66923         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
66924         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
66925         (largebin_index_32_big): New.
66926         (largebin_index): Use it for 16-byte alignment.
66927         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
66928         correction with front_misalign.
66930 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
66932         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
66933         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
66934         Likewise.
66935         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
66936         Likewise.
66937         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
66938         Likewise.
66939         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
66940         Likewise.
66941         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
66942         Likewise.
66943         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
66944         Likewise.
66945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
66946         Likewise.
66947         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
66948         Likewise.
66949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
66950         Likewise.
66951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
66952         Likewise.
66953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
66954         Likewise.
66955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
66956         Likewise.
66958         * scripts/data/c++-types-x32-linux-gnu.data: New file.
66959         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
66961 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66963         [BZ #10846]
66964         [BZ #14036]
66965         * math/libm-test.inc (exp_test): Add test from bug 14036.
66966         (pow_test): Add test from bug 10846.
66968         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
66969         and other flags.
66970         (special_function): Do not include flags in test name.
66971         (parse_args): Likewise.
66972         * sysdeps/i386/fpu/libm-test-ulps: Update.
66973         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66974         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66975         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66978         * math/gen-libm-test.pl (%beautify): Add entries for underflow
66979         exceptions.
66980         * math/libm-test.inc ("Philosophy"): Update comment about
66981         exception testing.
66982         (UNDERFLOW_EXCEPTION): New macro.
66983         (UNDERFLOW_EXCEPTION_OK): Likewise.
66984         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
66985         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
66986         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
66987         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
66988         (INVALID_EXCEPTION_OK): Update value.
66989         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66990         (OVERFLOW_EXCEPTION_OK): Likewise.
66991         (IGNORE_ZERO_INF_SIGN): Likewise.
66992         (test_exceptions): Handle underflow exceptions.
66993         (acos_test): Update for underflow exception expectations.
66994         (cexp_test): Likewise.
66995         (clog_test): Likewise.
66996         (clog10_test): Likewise.
66997         (csqrt_test): Likewise.
66998         (ctan_test): Likewise.
66999         (ctanh_test): Likewise.
67000         (exp_test): Likewise.
67001         (exp10_test): Likewise.
67002         (exp2_test): Likewise.
67003         (expm1_test): Likewise.
67004         (fma_test): Likewise.
67005         (j0_test): Likewise.
67006         (jn_test): Likewise.
67007         (nexttoward_test): Likewise.
67008         (pow_test): Likewise.
67009         (scalbn_test): Likewise.
67010         (scalbln_test): Likewise.
67011         (tan_test): Likewise.
67012         (y1_test): Likewise.
67013         * sysdeps/i386/fpu/libm-test-ulps: Update.
67014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67016 2012-05-23  David S. Miller  <davem@davemloft.net>
67018         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
67019         (__libc_sigaction): Remove unused local variables.
67021 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
67023         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
67025 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
67027         mktime: avoid signed integer overflow
67028         * time/mktime.c (__mktime_internal): Do not mishandle the case
67029         where diff == INT_MIN.
67031         mktime: simplify computation of average
67032         * time/mktime.c (ranged_convert): Use new time_t_avg function
67033         instead of rolling our own (probably-slower) code.
67035         mktime: do not assume signed right shift propagates sign bit
67036         * time/mktime.c (isdst_differ): New static function.
67037         (__mktime_internal): No need to normalize tm_isdst now.
67038         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
67039         tm_isdst values.
67041         mktime: merge another wrapv change from gnulib
67042         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
67043         from some compilers.
67045         mktime: remove incorrect attempt at unusual arithmetics
67046         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
67047         The code didn't really work on such machines anyway.
67048         (TYPE_MINIMUM): Assume two's complement.
67049         (twos_complement_arithmetic): Verify that long_int and time_t
67050         are two's complement (or unsigned, in the latter case).
67052         mktime: check signed shifts on long_int and time_t, too
67053         * time/mktime.c (SHR): Check that shifts work as desired
67054         on the types long_int and time_t too, as SHR is used on
67055         such types.
67057         mktime: do not assume 'long' is wide enough
67058         * time/mktime.c (verify): Move decl up.
67059         (long_int): New type.
67060         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
67061         to remove assumption in the code that 'long' is wide enough to
67062         store year values.  This assumption is not true on x32 and on
67063         some non-glibc platforms.
67065         mktime: merge wrapv change from gnulib
67066         * time/mktime.c (WRAPV): New macro.
67067         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
67068         (guess_time_tm, __mktime_internal): Do not assume that signed
67069         integer overflow wraps around; modern compilers generate code
67070         where this assumption is no longer valid.
67072 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
67074         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
67075         Replace "jmp L(pseudo_end)" with "ret".
67076         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
67077         Likewise.
67079 2012-05-23  Andreas Jaeger  <aj@suse.de>
67081         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
67082         * sysdeps/unix/sysv/linux/poll.c: Remove file.
67084 2012-05-23  Andreas Jaeger  <aj@suse.de>
67085             Maximilian Attems  <max@stro.at>
67087         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
67088         New macros.
67090 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
67092         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
67093         code so that pseudo_end is just ret and the stack pointer is
67094         correct also for static library in error case.
67096 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
67098         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
67099         move to syscalls.list.
67100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
67101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
67102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
67103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
67105         * manual/install.texi (Running make install): Do not mention Linux
67106         kernel version for which pt_chown is not needed.
67107         (Linux): Do not mention problems with nscd with 2.0 kernels.
67108         * INSTALL: Regenerated.
67110 2012-05-23  Andreas Jaeger  <aj@suse.de>
67112         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
67113         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
67114         macro.
67115         * sysdeps/unix/sysv/linux/s390/bits/mman.h
67116         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67117         * sysdeps/unix/sysv/linux/sh/bits/mman.h
67118         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67119         * sysdeps/unix/sysv/linux/i386/bits/mman.h
67120         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67121         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
67122         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67123         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
67124         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
67125         * sysdeps/unix/sysv/linux/bits/in.h
67126         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
67128 2012-05-22  Roland McGrath  <roland@hack.frob.com>
67130         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
67131         (PREPARE_VERSION): Just use assert instead, it will be elided
67132         under [NDEBUG] anyway.
67134 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67136         * sysdeps/unix/sysv/linux/Makefile: Include
67137         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
67138         (sysdep_routines): Remove sysctl.
67139         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
67140         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
67141         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
67142         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
67143         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
67145 2012-05-22  Andreas Jaeger  <aj@suse.de>
67147         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
67148         that pseudo_end is just ret and the stack pointer is correct also
67149         for static library in error case.
67151 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
67153         [BZ #14122]
67154         * nss/nsswitch.c (defconfig_entries): New variable.
67155         (__nss_database_lookup): Don't leak defconfig entries.
67156         (nss_parse_service_list): Don't leak on error paths.
67157         (free_database_entries): New function.
67158         (free_defconfig): New function.
67159         (free_mem): Move common code to free_database_entries.
67161 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67163         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
67164         Add arch_prctl.
67165         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
67167         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
67168         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
67169         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
67170         New macro.
67171         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
67172         (INTERNAL_SYSCALL_TYPES): Likewise.
67173         (LOAD_ARGS_TYPES_[1-6]): Likewise.
67174         (LOAD_REGS_TYPES_[1-6]): Likewise.
67175         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
67176         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
67178 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67180         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
67181         copysignl for GLIBC_2_0.
67182         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
67183         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
67184         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
67185         logbl for GLIBC_2_0.
67186         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
67187         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
67189 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67191         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
67192         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
67194         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
67195         Use "neg %eax".
67197         * time/mktime.c: Update copyright years.
67199 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
67201         mktime: merge comment-quoting-style change from gnulib
67202         * time/mktime.c: Quote 'like this' in comments.
67203         The GNU coding standards suggest that we no longer quote `like this',
67204         as "`" and "'" are typically rendered asymmetrically nowadays.
67205         The typical gnulib style is to quote 'like this' when quoting
67206         code, and "like this" when quoting English.
67208         * time/mktime.c (compile-command): Add "-I.".
67210         mktime: merge mktime-internal.h change from gnulib
67211         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
67213         mktime: merge time_r change from gnulib
67214         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
67216         mktime: merge DEBUG change from gnulib
67217         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
67218         case system <time.h> has a #define.
67220         mktime: merge <sys/types.h> change from gnulib
67221         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
67222         since <time.t> is now guaranteed to define time_t.
67224         mktime: merge HAVE_CONFIG_H change from gnulib
67225         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
67227 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
67229         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
67230         Use "neg %eax".
67232         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
67233         __rlim_t cast.
67234         (struct rusage): Use anonymous union to pad each field to
67235         __syscall_slong_t.
67237 2012-05-21  David S. Miller  <davem@davemloft.net>
67239         * Makefules (o-iterator): Remove .s cases.
67240         (compile-command.s): Delete.
67241         (COMPILE.s): Delete.
67242         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
67244 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
67246         * configure.in (libc_cv_predef_stack_protector): Only consider
67247         "foobar" and "__stack_chk_fail" lines in libc_undefs.
67248         * configure: Regenerated.
67250 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
67252         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
67253         New macro.  Use R*LP on int and pointer.
67254         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
67255         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
67256         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
67257         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
67259         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
67260         [__WORDSIZE_TIME64_COMPAT32] instead of
67261         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
67262         (struct utmp): Likewise.
67263         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
67264         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
67265         Renamed to ...
67266         (__WORDSIZE_TIME64_COMPAT32): This.
67267         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
67268         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
67269         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
67270         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
67271         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
67272         (__WORDSIZE_TIME64_COMPAT32): New macro.
67274 2012-05-21  Andreas Jaeger  <aj@suse.de>
67276         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
67277         only if [SHARED]. Add prototype for __wcschr_ia32.
67279 2012-05-21  Roland McGrath  <roland@hack.frob.com>
67281         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
67282         of %rbp unmolested in the jmp_buf while mangling the low bits.
67283         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
67284         unmolested high bits of %rbp while demangling the low bits.
67285         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
67287 2012-05-21  Andreas Jaeger  <aj@suse.de>
67289         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
67290         * sunrpc/svc_simple.c: Use it for registerrpc.
67291         * sunrpc/xcrypt.c: Use it for passwd2des.
67293         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
67295 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
67297         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
67298         Don't define if [__SYSCALL_WORDSIZE != 32].
67299         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
67300         New macro.
67302 2012-05-21  Bruno Haible  <bruno@clisp.org>
67303             Andreas Jaeger  <aj@suse.de>
67305         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
67306         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
67307         inptr and inend for must_buffer_ch.
67308         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
67309         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
67310         * stdio-common/Makefile (tests): Remove bug15.
67311         (bug15-ENV): Remove macro.
67312         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
67313         anymore.
67315 2012-05-19  Andreas Jaeger  <aj@suse.de>
67316             Roland McGrath  <roland@hack.frob.com>
67318         * manual/contrib.texi: Completely rewritten. It contains now an
67319         alphabetical list of contributors and their contributions.
67321 2012-05-21  Richard Henderson  <rth@twiddle.net>
67323         * misc/getauxval.c (__getauxval): Use unsigned long int.
67324         * misc/sys/auxv.h: Include <sys/cdefs.h>.
67325         (getauxval): Use unsigned long int.
67327 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
67329         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
67331 2012-05-21  Roland McGrath  <roland@hack.frob.com>
67333         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
67334         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
67335         __alignof__ (long double).
67337 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67341 2012-05-20  Richard Henderson  <rth@twiddle.net>
67343         * misc/getauxval.c: New file.
67344         * misc/sys/auxv.h: New file.
67345         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
67346         (routines): Add getauxval.
67347         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
67348         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
67349         * elf/dl-sysdep.c (_dl_auxv): Remove.
67350         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
67351         * elf/dl-support.c (_dl_auxv): New variable.
67352         (_dl_aux_init): Initialize it.
67353         * manual/startup.texi (Auxiliary Vector): New node.
67354         * sysdeps/generic/bits/hwcap.h: New file.
67355         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
67356         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
67357         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
67358         * sysdeps/sparc/sysdep.h: ... here.  Include it.
67359         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
67360         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
67361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67362         Update.
67363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
67364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
67365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
67366         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
67367         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
67368         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
67369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
67370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
67372 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67376 2012-05-19  David S. Miller  <davem@davemloft.net>
67378         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67380 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
67382         [BZ #14123]
67383         * math/s_ccosh.c: Include <float.h>
67384         (__ccosh): Avoid internal overflow calculating sinh and cosh
67385         values before multiplying by sin and cos values.
67386         * math/s_ccoshf.c: Likewise.
67387         * math/s_ccoshl.c: Likewise.
67388         * math/s_csin.c: Likewise.
67389         * math/s_csinf.c: Likewise.
67390         * math/s_csinl.c: Likewise.
67391         * math/s_csinh.c: Likewise.
67392         * math/s_csinhf.c: Likewise.
67393         * math/s_csinhl.c: Likewise.
67394         * math/libm-test.inc (ccos_test): Add more tests.
67395         (ccosh_test): Likewise.
67396         (csin_test): Likewise.
67397         (csinh_test): Likewise.
67398         * sysdeps/i386/fpu/libm-test-ulps: Update.
67399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67401 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
67403         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
67404         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
67406         * sysdeps/x86_64/x32/_itoa.h: Add comment.
67408 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
67410         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
67411         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
67412         * sysdeps/powerpc/soft-fp/Versions: Likewise.
67413         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
67414         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
67415         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
67416         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
67417         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
67418         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
67419         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
67420         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
67421         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
67422         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
67423         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
67424         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
67425         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
67426         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
67427         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
67428         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
67429         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
67430         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
67431         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
67432         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
67433         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
67434         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
67435         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
67436         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
67437         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
67438         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
67439         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
67440         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
67442 2012-05-18  Andreas Jaeger  <aj@suse.de>
67444         * csu/.gitignore: Delete.
67446 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
67448         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
67449         (timex): Use __syscall_slong_t.
67451 2012-05-18  Andreas Jaeger  <aj@suse.de>
67452             Carlos O'Donell  <carlos_odonell@mentor.com>
67454         * manual/install.texi (Configuring and compiling): Update
67455         description about files modified in the source directory.
67456         * INSTALL: Regenerated.
67458 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
67460         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
67461         value.  Use "or" to set return value to -1.
67462         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
67463         negate return value.
67465 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67467         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
67468         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
67469         failure if the compiler has Graphite support disabled.
67470         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
67471         Likewise.
67472         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
67473         (CFLAGS-memmove.c): Likewise.
67474         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
67475         Likewise.
67477 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
67479         * sysdeps/x86_64/x32/_itoa.h: New file.
67481         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
67482         getdents system call only if kernel and user dirents have the
67483         same d_ino and d_off.
67485         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
67486         LLONG_MAX != LONG_MAX.
67487         (_itoa_word): Use _ITOA_WORD_TYPE on value.
67488         (_fitoa_word): Likewise.
67490         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
67491         years.
67492         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
67493         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
67494         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
67496         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
67497         include <bits/wordsize.h>.  Check __x86_64__ instead of
67498         __WORDSIZE.
67499         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
67500         if __x86_64__ is defined.  Use anonymous union on fpstate.
67502         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
67503         anonymous union.
67505 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
67507         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
67508         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
67509         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
67510         Refer to _rtld_local_ro instead of _rtld_global_ro.
67511         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
67512         Likewise.
67513         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
67514         Likewise.
67515         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
67516         Likewise.
67517         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
67518         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
67519         of _rtld_global, and rtld_progname instead of _dl_argv[0].
67521         [BZ #10882]
67522         * sysdeps/powerpc/powerpc32/dl-machine.c
67523         (__elf_machine_runtime_setup) [PROF]: Don't reference
67524         _dl_prof_resolve.
67526 2012-05-18  Andreas Jaeger  <aj@suse.de>
67528         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
67529         function only available for GCCs before 3.4 since GCC 3.4
67530         introduced a builtin.
67531         (lrint): Likewise.
67532         (llrintf): Likewise.
67533         (llrint): Likewise.
67534         (fmaxf): Likewise.
67535         (fmax): Likewise.
67536         (fminf): Likewise.
67537         (fmin): Likewise.
67538         (rint): Likewise.
67539         (rintf): Likewise.
67540         (nearbyint): Likewise.
67541         (nearbyintf): Likewise.
67542         (ceil): Likewise.
67543         (ceilf): Likewise.
67544         (floor): Likewise.
67545         (floorf): Likewise.
67547 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67549         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
67550         on both fields and cast pointer to __syscall_ulong_t.
67552         * bits/types.h (__fsword_t): New type.
67553         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
67554         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
67555         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67556         (__FSWORD_T_TYPE): Likewise.
67557         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67558         (__FSWORD_T_TYPE): Likewise.
67559         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67560         (__FSWORD_T_TYPE): Likewise.
67561         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
67562         (__FSWORD_T_TYPE): Likewise.
67563         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
67564         __SWORD_TYPE with __fsword_t.
67565         (statfs64): Likewise.
67567 2012-05-17  David S. Miller  <davem@davemloft.net>
67569         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
67571 2012-05-17  Andreas Jaeger  <aj@suse.de>
67573         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
67574         warning.
67576 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67578         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
67580 2012-05-17  Andreas Jaeger  <aj@suse.de>
67582         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
67583         when it is used.
67585 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
67587         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
67589 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67591         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
67592         * sysdeps/x86_64/tst-mallocalign1.c: New file.
67594 2012-05-17  Andreas Jaeger  <aj@suse.de>
67595             Carlos O'Donell  <carlos_odonell@mentor.com>
67597         [BZ #14059]
67598         * sysdeps/x86_64/multiarch/init-arch.h
67599         (bit_YMM_Usable): Rename to...
67600         (bit_AVX_Usable): ... this.
67601         (bit_FMA4_Usable): New macro.
67602         (bit_XMM_state): New macro.
67603         (bit_YMM_state): New macro.
67604         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
67605         [__ASSEMBLER__] (index_AVX_Usable): ... this.
67606         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
67607         (CPUID_OSXSAVE): New macro.
67608         (CPUID_AVX): New macro.
67609         (CPUID_FMA4): New macro.
67610         (index_YMM_Usable): Rename to...
67611         (index_AVX_Usable): ... this.
67612         (HAS_AVX): Use HAS_ARCH_FEATURE.
67613         (HAS_FMA4): Likewise.
67614         (HAS_YMM_USABLE): Remove.
67615         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67616         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
67617         are present.
67618         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
67619         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
67620         * sysdeps/x86_64/multiarch/Makefile: Likewise.
67621         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
67622         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
67624 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
67626         * math/libm-test.c: Support platforms without multiple rounding modes.
67627         * math/bug-nextafter.c: Support platforms without FP exceptions.
67628         * math/bug-nexttoward.c: Likewise.
67629         * math/test-fenv.c: Likewise.
67630         * math/test-misc.c: Likewise.
67631         * stdlib/bug-getcontext.c: Likewise.
67633 2012-05-17  Andreas Jaeger  <aj@suse.de>
67635         * manual/examples/search.c (critter_cmp): Change signature to
67636         avoid warnings.
67637         * manual/string.texi (Collation Functions): Likewise.
67639 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67641         * bits/types.h: Fold copyright years.
67642         * bits/typesizes.h: Likewise.
67643         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
67644         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
67645         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
67646         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
67647         * time/time.h: Likewise.
67649 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
67651         [BZ #208]
67652         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
67653         in instead of returning them.  Return void.
67654         (__libc_mallinfo): Accumulate over all arenas.
67655         (__malloc_stats): Adjust for change in int_mallinfo interface.
67657 2012-05-16  Roland McGrath  <roland@hack.frob.com>
67659         [BZ #10375]
67660         * configure.in (NM): Add AC_CHECK_TOOL for it.
67661         (libc_extra_cflags): New substituted variable.
67662         Check for -fstack-protector being used implicitly.
67663         * configure: Regenerated.
67664         * config.make.in (config-extra-cflags): New variable,
67665         gets @libc_extra_cflags@.
67666         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
67668         [BZ #10375]
67669         * configure.in: Check for _FORTIFY_SOURCE being predefined.
67670         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
67671         * configure: Regenerated.
67672         * config.make.in (CPPUNDEFS): New substituted variable.
67673         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
67674         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
67675         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
67677 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67679         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
67680         (mq_attr): Use __syscall_slong_t.
67682 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67684         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
67685         Check __x86_64__ instead of __WORDSIZE.
67686         (_STAT_VER_LINUX): Likewise.
67687         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
67688         __syscall_ulong_t and __syscall_slong_t.
67689         (stat64): Likewise.
67691 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67693         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
67695 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67697         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
67699 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67701         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
67702         __syscall_ulong_t.
67704         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
67705         include <bits/wordsize.h>.  Check __x86_64__ instead of
67706         __WORDSIZE.
67707         (greg_t): Use "__extension__ long long int" if __x86_64__ is
67708         defined.
67709         (mcontext_t): Replace "unsigned long" with "unsigned long long".
67711         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
67712         include <bits/wordsize.h>.  Check __x86_64__ instead of
67713         __WORDSIZE.
67714         (user_regs_struct): Use "__extension__ unsigned long long"
67715         instead of "unsigned long" if __x86_64__ is defined.
67716         (user): Likewise.  Pad after pointer field if __ILP32__ is
67717         defined.
67719 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
67721         * configure.in (makeinfo): Require version 4.5 or later.  Allow
67722         versions 5 to 9.
67723         * configure: Regenerated.
67724         * manual/install.texi (texinfo): Increase version requirement to
67725         4.5 or later.
67726         * INSTALL: Regenerated.
67728         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
67730 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67732         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
67734         * sysdeps/x86_64/x32/ffs.c: New file.
67736         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
67737         __syscall_ulong_t.
67738         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
67739         defined.  Use __syscall_ulong_t.
67740         (shminfo): Use __syscall_ulong_t.
67741         (shm_info): Likewise.
67743         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
67744         __syscall_ulong_t.
67746         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
67747         <bits/wordsize.h>.
67748         (msgqnum_t): Use __syscall_ulong_t.
67749         (msglen_t): Likewise.
67750         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
67751         __syscall_ulong_t.
67753         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
67754         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
67756         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
67758         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
67759         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
67761         * sysvipc/sys/msg.h (msgbuf): Replace long int with
67762         __syscall_slong_t.
67764         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
67765         include <bits/wordsize.h>.  Check __x86_64__ instead of
67766         __WORDSIZE.
67768         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
67769         "unsigned long long int" if __x86_64__ is defined.
67770         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
67772         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
67773         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
67774         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
67776         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
67777         <stdint.h>.
67778         (GET_PC): Cast to uintptr_t first.
67779         (GET_FRAME): Likewise.
67780         (GET_STACK): Likewise.
67782         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
67783         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
67784         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
67785         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
67786         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
67787         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
67788         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
67789         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
67790         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
67791         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
67792         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
67793         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
67794         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
67795         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
67796         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
67797         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
67798         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
67799         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
67800         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
67801         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
67802         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
67803         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
67804         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
67805         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
67806         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
67807         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
67808         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
67809         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
67810         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
67812 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
67814         * Makerules (+depfiles): Also collect depfiles from .oS in
67815         $(extra-objs).
67816         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
67817         .oS, $(libnldbl-routines)).
67819         * Makerules (native-compile-mkdep-flags): Define.
67820         * sunrpc/Makefile (extra-objs): Add $(addprefix
67821         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
67822         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
67823         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
67824         calling $(make-target-directory).
67826 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67828         * bits/types.h (__snseconds_t): Removed.
67829         * time/time.h (struct timespec): Replace __snseconds_t with
67830         __syscall_slong_t.
67831         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
67832         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
67833         Likewise.
67834         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67835         (__SNSECONDS_T_TYPE): Likewise.
67836         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67837         (__SNSECONDS_T_TYPE): Likewise.
67838         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67839         (__SNSECONDS_T_TYPE): Likewise.
67841 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67843         * sysdeps/mach/hurd/bits/typesizes.h
67844         (__SYSCALL_SLONG_TYPE): New macro.
67845         (__SYSCALL_ULONG_TYPE): Likewise.
67847 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67849         * bits/types.h (__syscall_slong_t): New type.
67850         (__syscall_ulong_t): Likewise.
67852         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
67853         (__SYSCALL_ULONG_TYPE): Likewise.
67854         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67855         (__SYSCALL_SLONG_TYPE): Likewise.
67856         (__SYSCALL_ULONG_TYPE): Likewise.
67857         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67858         (__SYSCALL_SLONG_TYPE): Likewise.
67859         (__SYSCALL_ULONG_TYPE): Likewise.
67860         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67861         (__SYSCALL_SLONG_TYPE): Likewise.
67862         (__SYSCALL_ULONG_TYPE): Likewise.
67864 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67866         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
67867         Add sigaltstack-offsets.sym.
67868         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
67869         <sigaltstack-offsets.h>.
67870         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
67871         longjmp_msg pointer.
67872         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
67873         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
67874         signal stack.
67875         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
67877 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
67879         * elf/stackguard-macros.h: Remove file.
67880         * sysdeps/generic/stackguard-macros.h: New file.
67881         * sysdeps/i386/stackguard-macros.h: Likewise.
67882         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
67883         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
67884         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
67885         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
67886         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
67887         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
67888         * sysdeps/x86_64/stackguard-macros.h: Likewise.
67889         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
67890         <elf/stackguard-macros.h>.
67892         [BZ #14109]
67893         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
67894         __aligned__ in attribute.
67895         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
67896         (gregset_t): Likewise.
67898 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67900         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
67901         * sysdeps/x86_64/64/Implies-after: Here.  New file.
67902         * sysdeps/x86_64/x32/Implies-after: New file.
67904 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67906         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
67907         and access return value for _dl_profile_fixup.  Use R10_LP to
67908         load frame size.
67910 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67912         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
67914 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67916         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
67917         * sysdeps/x86_64/x32/sysdep.h: New file.
67919 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67921         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
67922         * sysdeps/x86_64/setjmp.S: Likewise.
67924 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67926         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
67927         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
67928         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
67929         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
67930         remove unused global constant.
67932 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
67934         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
67935         include of <not-cancel.h>.
67937 2012-05-15  Roland McGrath  <roland@hack.frob.com>
67939         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
67941 2012-05-15  Jeff Law  <law@redhat.com>
67942             Andreas Jaeger  <aj@suse.de>
67944         [BZ #13594]
67945         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
67946         out from...
67947         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
67948         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
67949         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
67950         code changing __hst_map_handle.map.
67952 2012-05-15  Roland McGrath  <roland@hack.frob.com>
67954         * configure.in (sysnames): Look for Implies-before and Implies-after
67955         files.
67956         * configure: Regenerated.
67958 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67960         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
67961         8-byte data alignment with LP_SIZE alignment.
67963 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67965         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
67966         into R10_LP.
67968 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67970         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
67972 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67974         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
67975         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
67976         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
67977         Likewise.
67978         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
67980 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67982         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
67983         (stackinfo_sub_sp): Likewise.
67985 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67987         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
67988         RAX_LP.
67990 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67992         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
67993         into R*_LP.
67995 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67997         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
67998         sizes into R*_LP.
68000 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68002         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
68004 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68006         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
68007         into R11_LP and load __x86_64_shared_cache_size_half into
68008         R8_LP.
68010 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68012         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
68013         R8_LP.
68015 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68017         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
68018         logb for POWER7.
68019         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
68020         logbf for POWER7.
68021         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
68022         logbl for POWER7.
68023         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
68024         powerpc32/power7/fpu/s_logb.c via #include.
68025         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
68026         powerpc32/power7/fpu/s_logbf.c via #include.
68027         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
68028         powerpc32/power7/fpu/s_logbl.c via #include.
68030 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
68032         * README.libm: Remove file.
68034 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68036         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
68037         count for x32.  Use R*_LP and omit operand-size suffix.
68039 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68041         * shlib-versions: Move x86_64-.*-linux.* entries to ...
68042         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
68043         * sysdeps/x86_64/x32/shlib-versions: New file.
68045 2012-05-14  Roland McGrath  <roland@hack.frob.com>
68047         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
68048         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
68049         Use _dl_fatal_printf instead.
68051 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
68053         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
68054         set if not set by the user.  Do not allow for being unset.
68055         * sysdeps/unix/sysv/linux/configure: Regenerated.
68057 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68059         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
68060         the `q' suffix from lea and replace .quad with ASM_ADDR.
68062 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68064         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
68065         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
68066         instead of $17.
68067         (PTR_DEMANGLE): Likewise.
68069 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68071         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
68072         (LP_OP): Likewise.
68073         (ASM_ADDR): Likewise.
68074         (RAX_LP): Likewise.
68075         (RBP_LP): Likewise.
68076         (RBX_LP): Likewise.
68077         (RCX_LP): Likewise.
68078         (RDI_LP): Likewise.
68079         (RSI_LP): Likewise.
68080         (RSP_LP): Likewise.
68081         (R8_LP): Likewise.
68082         (R9_LP): Likewise.
68083         (R10_LP): Likewise.
68084         (R10_LP): Likewise.
68085         (R11_LP): Likewise.
68086         (R12_LP): Likewise.
68087         (R13_LP): Likewise.
68088         (R14_LP): Likewise.
68089         (R15_LP): Likewise.
68091 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68093         * sysdeps/x86_64/x32/dl-machine.h: New file.
68095 2012-05-14  Andreas Jaeger  <aj@suse.de>
68097         * manual/Makefile (subdir): Remove export of subdir.
68098         (all): Remove target.
68099         (.PHONY): Remove all from list.
68100         (mkinstalldirs): Remove.
68101         (.PHONY): Remove installdirs from list.
68102         ($(inst_infodir)/libc.info): Use make-target-directory.
68103         (installdirs): Remove.
68104         (subdir_%): Remove.
68105         (glibc-targets): Remove.
68106         (lib): Remove.
68107         (stubs): Remove.
68108         ($(objpfx)stubs ../po/manual.pot): Remove.
68109         ($(objpfx)stamp%): Remove.
68110         (make-target-directory): Remove.
68111         (subdir_install): Remove.
68112         (routines): Remove.
68113         (aux): Remove.
68114         (sources): Remove.
68115         (objects): Remove.
68116         (headers): Remove.
68118         [BZ #13750]
68119         * manual/.gitignore: Remove, it's not needed anymore.
68120         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
68121         all files in it.
68122         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
68123         directory.
68124         (texis): Renamed to $(objpfx)texis.
68125         (texis-path): New, contains path to generated files.
68126         (chapters.%): Use texis-path for complete path, add extra argument
68127         libc-texinfo.sh.
68128         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
68129         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
68130         (summary,texi, stamp-summary): Use complete path of
68131         files. Generate files in build dir.
68132         (dir-add.texi): Build in build dir.
68133         (libm-err.texi,stamp-libm-err): Likewise.
68134         (version.texi, stamp-version): Likewise.
68135         (.%c.texi): Likewise.
68136         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
68137         (mostlyclean): Remove target.
68138         (realclean): Remove target.
68139         (generated): Add new variable with contents from mostlyclean and
68140         realclean, remove entries duplicated in common-mostlyclean, add
68141         stamp-libm-err and stamp-version.
68142         (generated-dirs): Add libc directory.
68143         ($(inst_infodir)/libc.info): Install files from build dir.
68145         * manual/install.texi (Configuring and compiling): Adjust since
68146         the info files are not part of the tar ball anymore.
68148 2012-05-14  Andreas Jaeger  <aj@suse.de>
68150         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
68151         variable.
68153 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
68155         [BZ #13717]
68156         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
68157         to 2.2.0 where earlier.
68158         * sysdeps/unix/sysv/linux/configure: Regenerated.
68159         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
68160         Remove conditional code.
68161         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
68162         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
68163         Remove conditional code.
68164         [!__NR_lchown]: Likewise.
68165         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
68166         [__NR_lchown]: Likewise.
68167         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
68168         comment referencing __ASSUME_LCHOWN_SYSCALL.
68169         * sysdeps/unix/sysv/linux/i386/sigaction.c
68170         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68171         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68172         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
68173         Remove conditional code.
68174         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
68175         (__protocol_available): Remove #if 0 code.
68176         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
68177         conditional code.
68178         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
68179         * sysdeps/unix/sysv/linux/kernel-features.h
68180         (__ASSUME_GETCWD_SYSCALL): Don't define.
68181         (__ASSUME_REALTIME_SIGNALS): Likewise.
68182         (__ASSUME_PREAD_SYSCALL): Likewise.
68183         (__ASSUME_PWRITE_SYSCALL): Likewise.
68184         (__ASSUME_POLL_SYSCALL): Likewise.
68185         (__ASSUME_LCHOWN_SYSCALL): Likewise.
68186         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
68187         non-SPARC.
68188         (__ASSUME_SIOCGIFNAME): Don't define.
68189         (__ASSUME_MSG_NOSIGNAL): Likewise.
68190         (__ASSUME_SENDFILE): Define unconditionally.
68191         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
68192         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
68193         conditional code.
68194         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
68195         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
68196         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
68197         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
68198         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
68199         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
68200         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
68201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
68202         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68203         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
68205         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68206         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
68208         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68209         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
68211         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68212         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
68214         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68215         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
68217         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
68218         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
68220         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68221         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
68223         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68224         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68225         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
68226         Remove conditional code.
68227         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68228         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
68229         Remove conditional code.
68230         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68231         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
68232         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
68233         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
68234         Remove conditional code.
68235         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68236         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
68237         Remove conditional code.
68238         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68239         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
68240         Remove conditional code.
68241         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68242         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
68243         Remove conditional code.
68244         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
68245         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
68246         Remove conditional code.
68247         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68248         * sysdeps/unix/sysv/linux/sh/pwrite64.c
68249         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
68250         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
68251         * sysdeps/unix/sysv/linux/sigaction.c
68252         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68253         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68254         * sysdeps/unix/sysv/linux/sigpending.c
68255         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68256         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68257         * sysdeps/unix/sysv/linux/sigprocmask.c
68258         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68259         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68260         * sysdeps/unix/sysv/linux/sigsuspend.c
68261         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
68262         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
68263         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
68264         (__libc_missing_rt_sigs): Remove.
68265         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
68266         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
68267         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
68268         Remove conditional code.
68269         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
68270         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
68271         return 1.
68272         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
68273         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
68274         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
68275         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
68277 2012-05-14  Andreas Jaeger  <aj@suse.de>
68279         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
68280         it's not used in glibc.
68281         (__coshm1): Likewise.
68282         (__acosh1p): Likewise.
68283         (__sgn): Likewise.
68285         * manual/string.texi (Copying and Concatenation): Add missing
68286         variable in concat example.
68287         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
68289 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68291         [BZ #14103]
68292         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
68293         __builtin_clzl with __builtin_clzll.
68295 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68297         [BZ #14104]
68298         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
68299         libc_freeres_ptr.
68301 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68303         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
68304         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
68305         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
68306         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
68308 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
68310         * NEWS: Update ia64 info.
68312 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
68314         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
68315         used as bcopy.
68317 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
68319         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
68320         * sysdeps/unix/syscalls.list (dup3): Likewise.
68321         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
68322         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
68324 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
68326         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
68327         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
68329 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
68331         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
68332         thread pointer.
68333         (TLS_IE): Use mov/add instead of movq/addq to load thread
68334         pointer.
68335         (TLS_GD_PREFIX): New.
68336         (TLS_GD): Use it.
68338 2012-05-11  David S. Miller  <davem@davemloft.net>
68340         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
68341         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
68342         (_FPU_SETCW): Likewise.
68344 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
68346         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
68347         is 32-byte aligned.
68349 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
68351         [BZ #11837]
68352         * iconvdata/gb18030.c: Update tables.
68353         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
68354         characters specially.
68355         (BODY for TO_LOOP): Add encoding of missing ranges.
68357 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
68359         [BZ #13673]
68360         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
68361         * sysdeps/mach/hurd/dup3.c: Likewise.
68362         * sysdeps/mach/hurd/readlinkat.c: Likewise.
68363         * sysdeps/powerpc/memmove.c:: Likewise.
68365 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
68367         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
68368         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
68370 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
68372         * elf/elf.h (R_X86_64_RELATIVE64): New.
68373         (R_X86_64_NUM): Updated.
68374         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
68375         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
68376         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
68377         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
68378         tst-quad1pie tst-quad2pie
68379         (modules-names): Add tst-quadmod1 tst-quadmod2.
68380         ($(objpfx)tst-quad1): New dependency.
68381         ($(objpfx)tst-quad2): Likewise.
68382         ($(objpfx)tst-quad1pie): Likewise.
68383         ($(objpfx)tst-quad2pie): Likewise.
68384         * sysdeps/x86_64/tst-quad1.c: New file.
68385         * sysdeps/x86_64/tst-quad1pie.c: New file.
68386         * sysdeps/x86_64/tst-quad2.c: Likewise.
68387         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
68388         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
68389         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
68390         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
68391         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
68393 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68395         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
68396         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
68397         * streams/stropts.h (t_scalar_t): Define type.
68399         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
68400         (_PATH_PRESERVE): Set to "/var/lib".
68401         (_PATH_RWHODIR): Set to "/var/spool/rwho".
68403         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
68404         instead of int.
68406         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
68407         if __dir_mkfile succeeded.
68409         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
68410         checking for _hurd_dtablesize.  Unlock it right after having
68411         finished _hurd_dtable allocation.
68413 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68415         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
68416         * sysdeps/mach/hurd/configure: Regenerated.
68417         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
68418         special-casing to...
68419         * sysdeps/gnu/configure.in: ... this new file.
68420         * sysdeps/unix/sysv/linux/configure: Regenerated.
68421         * sysdeps/gnu/configure: New generated file.
68423         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
68424         for Linux: use nsec instead of usec, as well as:
68425         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
68426         members of type struct timespec.
68427         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
68428         New macros.
68429         (struct stat64): Likewise.
68430         (_STATBUF_ST_NSEC): New macro.
68431         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
68433         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
68434         __strtoul_internal rather than strtoul.
68436 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68438         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
68439         and reject them.
68441 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68443         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
68444         which preserves existing values.
68445         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
68447 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68449         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
68450         TIMEOUT values.  Return EINVAL for NFDS values either negative or
68451         greater than FD_SETSIZE.
68453 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68455         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
68456         allocated, call __vm_protect to finish enabling the existing space, and
68457         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
68458         allocate the remainder.
68460 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68462         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
68463         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
68465 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68467         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
68468         sysdeps/mach/hurd/readlink.c.
68470         * posix/tst-sysconf.c (posix_options): Only use
68471         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
68472         _POSIX_SYNCHRONIZED_IO when they are defined
68473         * sysdeps/mach/hurd/bits/posix_opt.h:
68474         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
68475         (_XOPEN_REALTIME): Undefine macro.
68476         (_XOPEN_REALTIME_THREADS): Undefine macro.
68477         (_XOPEN_SHM): Undefine macro.
68478         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
68479         macro to -1.
68480         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
68481         macro to -1.
68482         (_POSIX_ASYNC_IO): Undefine macro.
68483         (_POSIX_PRIORITIZED_IO): Undefine macro.
68484         (_POSIX_SPIN_LOCKS): Define macro to -1.
68486         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
68487         SA_NODEFER, SA_RESETHAND.
68488         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
68489         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
68490         F_DUPFD_CLOEXEC.
68492 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68494         * elf/Makefile (pldd-modules): Define unconditionally.
68496 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68498         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
68500 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68502         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
68503         Return ENOENT when name is empty.
68504         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
68506 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68508         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
68510         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
68512 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68514         Fix mlock in all cases except non-readable pages.
68515         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
68516         instead of VM_PROT_ALL as parameter to __vm_wire function.
68518         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
68519         (__mkdir): When path is `/', just fail with EEXIST.
68520         * sysdeps/mach/hurd/mkdirat.c: Likewise.
68522 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68524         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
68525         <sys/uio.h> (for writev).
68526         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
68527         and <sys/param.h> (for MIN).
68529 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68531         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
68532         REQUESTED_TIME.  Properly set the remaining time and return EINTR
68533         if interrupted.
68535 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68537         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
68538         Depend on against $(link-rpcuserlibs).
68540 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68542         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
68543         (__libc_stack_end): Do not use attribute_relro.
68544         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
68545         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
68546         to libthread-provided value.
68547         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
68548         attribute_relro.
68550 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68552         [BZ #3748]
68553         * bits/libc-lock.h (__libc_once_get): New macro.
68554         * sysdeps/mach/bits/libc-lock.h: Likewise.
68555         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
68556         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
68557         instead of using implementation details.
68559         * libio/fileops.c: Unconditionally include <kernel-features.h>.
68560         * libio/freopen.c: Likewise.
68561         * libio/freopen64.c: Likewise.
68562         * misc/syslog.c: Likewise.
68563         * nscd/connections.c: Likewise.
68564         * nscd/netgroupcache.c: Likewise.
68565         * sysdeps/posix/getcwd.c: Likewise.
68567 2012-05-10  Roland McGrath  <roland@hack.frob.com>
68569         * math/w_ilogbf.c: Add #include <limits.h>.
68571 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68573         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
68574         path instead of returning without unlocking.
68576         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
68577         immediate-write ioctls.
68578         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
68580 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68582         * sysdeps/mach/hurd/i386/init-first.c (init): Use
68583         __builtin_frame_address instead of making assumptions about the
68584         location of the return address relative to DATA.  Force early load of
68585         the return address.
68586         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
68587         __builtin_frame_address.
68589         dup3 for GNU Hurd.
68590         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
68591         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
68592         implement dup3 and do some further code clean-ups.
68593         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
68594         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
68596 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68598         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
68600         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
68601         HURD_CRITICAL_END around holding _hurd_dtable_lock.
68602         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
68603         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
68604         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
68605         d->port.lock.
68607         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
68608         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
68609         when handler == SIG_ERR, not when handler != SIG_ERR.
68611 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68613         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
68614         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
68615         definitions.
68617         accept4 for GNU Hurd.
68618         * include/sys/socket.h (__libc_accept4): New prototype.
68619         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
68620         to implement __libc_accept4.
68621         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
68622         __libc_accept4.
68623         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
68625         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
68626         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
68627         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
68628         signal-defines.sym.
68630 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68632         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
68634 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68636         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
68637         assertion on O_CLOEXEC flag.
68638         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
68639         * hurd/intern-fd.c: Likewise.
68640         * hurd/port2fd.c: Likewise.
68642 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68644         [BZ #3906]
68645         * bits/in.h (IPV6_PKTINFO): Define new macro.
68646         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
68648 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68650         [BZ #13954]
68651         [BZ #13955]
68652         [BZ #13956]
68653         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
68654         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
68655         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
68656         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
68657         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
68658         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
68659         * math/libm-test.inc (logb_test) : Additional logb tests.
68661 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
68662             Andreas Jaeger  <aj@suse.de>
68664         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
68665         * configure: Regenerated.
68666         * config.h.in (LINK_OBSOLETE_RPC): New macro.
68667         * config.make.in (link-obsolete-rpc): New substituted variable.
68668         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
68669         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
68670         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
68671         (shared-only-routines): Don't set it under [link-obsolete-rpc],
68672         so that libc.a contains the symbols.
68673         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
68674         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
68675         * sunrpc/auth_none.c: Likewise.
68676         * sunrpc/auth_unix.c: Likewise.
68677         * sunrpc/authdes_prot.c: Likewise.
68678         * sunrpc/authuxprot.c: Likewise.
68679         * sunrpc/clnt_gen.c: Likewise.
68680         * sunrpc/clnt_perr.c: Likewise.
68681         * sunrpc/clnt_raw.c: Likewise.
68682         * sunrpc/clnt_simp.c: Likewise.
68683         * sunrpc/clnt_tcp.c: Likewise.
68684         * sunrpc/clnt_udp.c: Likewise.
68685         * sunrpc/clnt_unix.c: Likewise.
68686         * sunrpc/des_crypt.c: Likewise.
68687         * sunrpc/des_soft.c: Likewise.
68688         * sunrpc/get_myaddr.c: Likewise.
68689         * sunrpc/key_call.c: Likewise.
68690         * sunrpc/key_prot.c: Likewise.
68691         * sunrpc/netname.c: Likewise.
68692         * sunrpc/pm_getmaps.c: Likewise.
68693         * sunrpc/pm_getport.c: Likewise.
68694         * sunrpc/pmap_clnt.c: Likewise.
68695         * sunrpc/pmap_prot.c: Likewise.
68696         * sunrpc/pmap_prot2.c: Likewise.
68697         * sunrpc/pmap_rmt.c: Likewise.
68698         * sunrpc/publickey.c: Likewise.
68699         * sunrpc/rpc_cmsg.c: Likewise.
68700         * sunrpc/rpc_common.c: Likewise.
68701         * sunrpc/rpc_dtable.c: Likewise.
68702         * sunrpc/rpc_prot.c: Likewise.
68703         * sunrpc/rpc_thread.c: Likewise.
68704         * sunrpc/rtime.c: Likewise.
68705         * sunrpc/svc.c: Likewise.
68706         * sunrpc/svc_auth.c: Likewise.
68707         * sunrpc/svc_raw.c: Likewise.
68708         * sunrpc/svc_run.c: Likewise.
68709         * sunrpc/svc_tcp.c: Likewise.
68710         * sunrpc/svc_udp.c: Likewise.
68711         * sunrpc/svc_unix.c: Likewise.
68712         * sunrpc/svcauth_des.c: Likewise.
68713         * sunrpc/xcrypt.c: Likewise.
68714         * sunrpc/xdr.c: Likewise.
68715         * sunrpc/xdr_array.c: Likewise.
68716         * sunrpc/xdr_float.c: Likewise.
68717         * sunrpc/xdr_intXX_t.c: Likewise.
68718         * sunrpc/xdr_mem.c: Likewise.
68719         * sunrpc/xdr_rec.c: Likewise.
68720         * sunrpc/xdr_ref.c: Likewise.
68721         * sunrpc/xdr_sizeof.c: Likewise.
68722         * sunrpc/xdr_stdio.c: Likewise.
68724 2012-05-10  Roland McGrath  <roland@hack.frob.com>
68726         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
68727         change.  Update copyright years.
68729 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
68731         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
68733 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
68734             Joseph Myers  <joseph@codesourcery.com>
68735             Paul Pluzhnikov  <ppluzhnikov@google.com>
68737         [BZ #14012]
68738         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
68739         requiring rpcgen.
68740         [cross-compiling] (extra-libs): Likewise.
68741         [cross-compiling] (extra-libs-others): Likewise.
68742         [cross-compiling] (librpcsvc-routines): Likewise.
68743         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
68744         [cross-compiling] (omit-deps): Likewise.
68745         (sunrpc-CPPFLAGS): New variable.
68746         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
68747         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
68748         (cross-rpcgen-objs): New variable.
68749         (extra-objs): Append $(cross-rpcgen-objs).
68750         ($(cross-rpcgen-objs)): New rule.
68751         ($(objpfx)cross-rpcgen): Likewise.
68752         (rpcgen-cmd): Define to use $(built-program-file).  Expand
68753         comment.
68754         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
68755         ($(objpfx)x%.stmp): Likewise.
68756         * sunrpc/proto.h [IS_IN_build] (_): Define.
68757         [IS_IN_build] (_libc_intl_domainname): Likewise.
68759 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
68761         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
68762         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
68763         and R_X86_64_TPOFF64.
68765 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
68767         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
68768         sysdeps/unix/sysv/syscalls.list.
68769         (stime): Likewise.
68770         (utime): Likewise.
68771         * sysdeps/unix/sysv/syscalls.list: Remove file.
68773 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
68775         [BZ #3440]
68776         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
68777         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
68778         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
68779         (__LC_IDENTIFICATION): Make these macros useful in #if
68780         expressions, as required by C99.
68782 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
68784         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
68785         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
68786         after this.
68788 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
68790         * stdlib/longlong.h: Updated from GCC.
68792 2012-05-09  Andreas Jaeger  <aj@suse.de>
68794         * nscd/nscd.c (run_modes): Make named enum, reorder so that
68795         default is first entry.
68796         (run_mode): Set type.
68797         (main): Remove informal message about syslog.
68798         (options): Fix typo.
68800         [BZ #14053]
68801         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
68802         to asm.
68803         (lrint): Likewise.
68804         (llrintf): Likewise.
68805         (llrint): Likewise.
68806         (rint): Likewise.
68807         (rintf): Likewise.
68808         (nearbyint): Likewise.
68809         (nearbyintf): Likewise.
68811 2012-05-09  Andreas Jaeger  <aj@suse.de>
68812             Pedro Alves  <palves@redhat.com>
68814         * nscd/nscd.c (run_mode): Use enum.
68815         (main): Cleanup coding style issue.
68817 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
68818             Andreas Jaeger  <aj@suse.de>
68820         * nscd/nscd.c (go_background): Replaced with...
68821         (run_mode): ... this.
68822         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
68823         (options): Add -F --foreground.
68824         (main): Implement it.
68825         (parse_opt): Parse it.
68827 2012-05-09  Andreas Jaeger  <aj@suse.de>
68829         [BZ #14083]
68830         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
68831         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
68832         -Wconversion warning.
68833         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
68834         Likewise.
68836 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
68838         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
68839         == 0.
68840         (LC_ALL): Use macro-int-constant.
68841         (LC_COLLATE): Likewise.
68842         (LC_CTYPE): Likewise.
68843         (LC_MESSAGES): Likewise.
68844         (LC_MONETARY): Likewise.
68845         (LC_NUMERIC): Likewise.
68846         (LC_TIME): Likewise.
68847         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
68848         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
68849         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68850         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
68851         Specify type.
68852         [C99-based standards] (float_t): Expect type.
68853         [C99-based standards] (double_t): Expect type.
68854         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
68855         type.
68856         [C99-based standards] (HUGE_VALL): Likewise.
68857         [C99-based standards] (INFINITY): Likewise.
68858         [C99-based standards] (NAN): Likewise.
68859         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
68860         [C99-based standards] (FP_NAN): Likewise.
68861         [C99-based standards] (FP_NORMAL): Likewise.
68862         [C99-based standards] (FP_SUBNORMAL): Likewise.
68863         [C99-based standards] (FP_ZERO): Likewise.
68864         [C99-based standards] (FP_FAST_FMA): Use
68865         optional-macro-int-constant.  Specify type.  Require == 1.
68866         [C99-based standards] (FP_FAST_FMAF): Likewise.
68867         [C99-based standards] (FP_FAST_FMAL): Likewise.
68868         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
68869         [C99-based standards] (FP_ILOGBNAN): Likewise.
68870         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
68871         Specify type.
68872         [C99-based standards] (MATH_ERREXCEPT): Likewise.
68873         [C99-based standards] (math_errhandling): Specify type.
68874         [ISO99 || ISO11] (signgam): Do not allow.
68875         [non-C99-based standards] (copysignf): Do not allow.
68876         [non-C99-based standards] (exp2f): Likewise.
68877         [non-C99-based standards] (log2f): Likewise.
68878         [non-C99-based standards] (modff): Allow.
68879         [non-C99-based standards] (erff): Do not allow.
68880         [non-C99-based standards] (erfcf): Likewise.
68881         [non-C99-based standards] (gammaf): Likewise.
68882         [non-C99-based standards] (hypotf): Likewise.
68883         [non-C99-based standards] (j0f): Likewise.
68884         [non-C99-based standards] (j1f): Likewise.
68885         [non-C99-based standards] (jnf): Likewise.
68886         [non-C99-based standards] (lgammaf): Likewise.
68887         [non-C99-based standards] (tgammaf): Likewise.
68888         [non-C99-based standards] (y0f): Likewise.
68889         [non-C99-based standards] (y1f): Likewise.
68890         [non-C99-based standards] (ynf): Likewise.
68891         [non-C99-based standards] (isnanf): Likewise.
68892         [non-C99-based standards] (acoshf): Likewise.
68893         [non-C99-based standards] (asinhf): Likewise.
68894         [non-C99-based standards] (atanhf): Likewise.
68895         [non-C99-based standards] (cbrtf): Likewise.
68896         [non-C99-based standards] (expm1f): Likewise.
68897         [non-C99-based standards] (ilogbf): Likewise.
68898         [non-C99-based standards] (log1pf): Likewise.
68899         [non-C99-based standards] (logbf): Likewise.
68900         [non-C99-based standards] (nextafterf): Likewise.
68901         [non-C99-based standards] (remainderf): Likewise.
68902         [non-C99-based standards] (rintf): Likewise.
68903         [non-C99-based standards] (scalbf): Likewise.
68904         [non-C99-based standards] (copysignl): Likewise.
68905         [non-C99-based standards] (exp2l): Likewise.
68906         [non-C99-based standards] (log2l): Likewise.
68907         [non-C99-based standards] (modfl): Allow.
68908         [non-C99-based standards] (erfl): Do not allow.
68909         [non-C99-based standards] (erfcl): Likewise.
68910         [non-C99-based standards] (gammal): Likewise.
68911         [non-C99-based standards] (hypotl): Likewise.
68912         [non-C99-based standards] (j0l): Likewise.
68913         [non-C99-based standards] (j1l): Likewise.
68914         [non-C99-based standards] (jnl): Likewise.
68915         [non-C99-based standards] (lgammal): Likewise.
68916         [non-C99-based standards] (tgammal): Likewise.
68917         [non-C99-based standards] (y0l): Likewise.
68918         [non-C99-based standards] (y1l): Likewise.
68919         [non-C99-based standards] (ynl): Likewise.
68920         [non-C99-based standards] (isnanl): Likewise.
68921         [non-C99-based standards] (acoshl): Likewise.
68922         [non-C99-based standards] (asinhl): Likewise.
68923         [non-C99-based standards] (atanhl): Likewise.
68924         [non-C99-based standards] (cbrtl): Likewise.
68925         [non-C99-based standards] (expm1l): Likewise.
68926         [non-C99-based standards] (ilogbl): Likewise.
68927         [non-C99-based standards] (log1pl): Likewise.
68928         [non-C99-based standards] (logbl): Likewise.
68929         [non-C99-based standards] (nextafterl): Likewise.
68930         [non-C99-based standards] (remainderl): Likewise.
68931         [non-C99-based standards] (rintl): Likewise.
68932         [non-C99-based standards] (scalbl): Likewise.
68933         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68934         [non-C99-based standards] (FP_*): Do not allow.
68935         [C99-based standards] (FP_*): Change to
68936         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
68937         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68938         allow.
68939         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
68940         (SIG_ERR): Likewise.
68941         [X/Open-based standards] (SIG_HOLD): Likewise.
68942         (SIG_IGN): Likewise.
68943         (SIGABRT): Use macro-int-constant.  Specify type.  Require
68944         positive value.
68945         (SIGFPE): Likewise.
68946         (SIGILL): Likewise.
68947         (SIGINT): Likewise.
68948         (SIGSEGV): Likewise.
68949         (SIGTER): Likewise.
68950         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
68951         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
68952         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
68953         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
68954         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
68955         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
68956         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
68957         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
68958         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
68959         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
68960         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
68961         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
68962         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
68963         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
68964         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
68965         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
68966         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
68967         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
68968         [X/Open-based standards] (SIGTRAP): Likewise.
68969         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
68970         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
68971         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
68972         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
68973         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68974         allow.
68976 2012-05-08  Ian Wienand  <ianw@vmware.com>
68978         [BZ #14080]
68979         * time/tzset.c (__tzset_parse_tz): Update default rules for
68980         daylight time changes in the Energy Policy Act of 2005.
68982 2012-05-09  Andreas Jaeger  <aj@suse.de>
68984         [BZ #13983]
68985         * elf/ldconfig.c (parse_conf): Change string to make clear that
68986         ldconfig only issued a warning if ld.so.conf does not exist.
68988 2012-05-08  David S. Miller  <davem@davemloft.net>
68990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
68991         movxtod instead of popping the value on the stack.
68993         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68995 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
68997         * config.h.in: Add HAVE_ARM_PCS_VFP.
68999 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
69001         [BZ #13979]
69002         * include/features.h: Warn if user requests __FORTIFY_SOURCE
69003         checking but the checks are disabled for any reason.
69005 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
69007         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
69008         and ELF64_R_TYPE with ELFW(R_TYPE).
69010 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
69012         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
69013         (ulimit): Likewise.
69015         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
69016         (settimeofday): Likewise.
69018 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
69020         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
69021         a struct th_u2 inside the union, and move tu_block/tu_code into
69022         a new th_u3 union of tu_block/tu_code inside of that.  Move
69023         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
69024         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
69025         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
69026         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
69027         (th_stuff): Change to th_u1.tu_stuff.
69028         (th_data): Define.
69029         (th_msg): Change to th_u1.th_u2.tu_data.
69031 2012-05-07  David S. Miller  <davem@davemloft.net>
69033         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69035         [BZ #14074]
69036         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
69037         (SETUP_PIC_REG): Use it.
69038         (SETUP_PIC_REG_LEAF): Use it.
69040 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
69042         [BZ #13885]
69043         [BZ #13923]
69044         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69045         USE_AS_EXPM1L.
69046         (EXPL_FINITE): Likewise.
69047         (FLDLOG): Likewise.
69048         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
69049         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
69050         e_expl.S.
69051         * sysdeps/x86_64/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/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
69057         e_expl.S.
69058         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
69059         test of -max_value argument for long double.
69060         * sysdeps/i386/fpu/libm-test-ulps: Update.
69061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69063 2012-05-06  David S. Miller  <davem@davemloft.net>
69065         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
69066         quad soft-float symbols whose references which are compiler
69067         generated.
69068         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
69070 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
69072         [BZ #13884]
69073         [BZ #13914]
69074         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69075         USE_AS_EXP10L.
69076         (EXPL_FINITE): Likewise.
69077         (FLDLOG): Likewise.
69078         (c0): Likewise.
69079         (c1): Likewise.
69080         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
69081         Adjust comments for base varying.
69082         (__expl_finite): Change alias to EXPL_FINITE.
69083         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
69084         e_expl.S.
69085         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
69086         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
69087         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
69088         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
69089         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69090         USE_AS_EXP10L.
69091         (EXPL_FINITE): Likewise.
69092         (FLDLOG): Likewise.
69093         (c0): Likewise.
69094         (c1): Likewise.
69095         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
69096         Adjust comments for base varying.
69097         (__expl_finite): Change alias to EXPL_FINITE.
69098         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
69099         tests for bugs.
69100         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69102         [BZ #14064]
69103         * math/libm-test.inc (check_float_internal): Correct ulp
69104         calculation for subnormal expected results.
69106 2012-05-06  Andreas Jaeger  <aj@suse.de>
69108         * Makeconfig (+math-flags): New, set to -frounding-math.
69109         (+cflags): Add +math-flags so that all of glibc gets compiled with
69110         it.
69112         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
69114 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
69116         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
69117         Disable one test.
69119         [BZ #13787]
69120         [BZ #13922]
69121         [BZ #14036]
69122         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
69123         (__ieee754_expl): Allow for and saturate large arguments.
69124         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
69125         (u_threshold): Likewise.
69126         (__exp): Call __ieee754_exp before checking for overflow and
69127         underflow.
69128         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
69129         (u_threshold): Likewise.
69130         (__expf): Call __ieee754_expf before checking for overflow and
69131         underflow.
69132         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
69133         (u_threshold): Likewise.
69134         (__expl): Call __ieee754_expl before checking for overflow and
69135         underflow.
69136         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
69137         (__ieee754_expl): Allow for and saturate large arguments.
69138         * math/libm-test.inc (exp_test): Add another test.  Do not allow
69139         missing overflow exception on overflow.
69140         (expm1_test): Do not allow missing overflow exception on overflow.
69142         * sysdeps/i386/fpu/e_expl.c: Move to ...
69143         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
69144         rather than using inline asm.
69145         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
69146         * sysdeps/x86_64/fpu/e_expl.S: Copy from
69147         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
69149         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
69150         (nice): Likewise.
69151         (poll): Likewise.
69152         (signal): Likewise.
69153         (time): Likewise.
69154         (times): Likewise.
69156 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
69158         * sysdeps/unix/syscalls.list (adjtime): Add entry from
69159         sysdeps/unix/common/syscalls.list.
69160         (fchmod): Likewise.
69161         (fchown): Likewise.
69162         (ftruncate): Likewise.
69163         (getrusage): Likewise.
69164         (gettimeofday): Likewise.
69165         (setpgid): Likewise.
69166         (setregid): Likewise.
69167         (setreuid): Likewise.
69168         (sigaction): Likewise.
69169         (truncate): Likewise.
69170         (vhangup): Likewise.
69171         * sysdeps/unix/common/syscalls.list: Remove file.
69172         * sysdeps/unix/bsd/Implies: Don't include unix/common.
69173         * sysdeps/unix/sysv/linux/Implies: Likewise.
69175 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
69177         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
69178         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
69179         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
69180         Moved to ...
69181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
69182         Here.
69183         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
69184         to ...
69185         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
69186         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
69187         to ...
69188         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
69189         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
69190         to ...
69191         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
69192         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
69193         to ...
69194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
69195         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
69196         to ...
69197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
69198         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
69199         to ...
69200         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
69201         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
69202         to ...
69203         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
69204         Here.
69205         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
69206         to ...
69207         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
69208         Here.
69209         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
69210         to ...
69211         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
69212         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
69213         Moved to ...
69214         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
69215         Here.
69216         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
69217         to ...
69218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
69220 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
69222         * sysdeps/unix/common/bits/dirent.h: Remove file.
69223         * sysdeps/unix/common/bits/fcntl.h: Likewise.
69225         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
69226         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
69227         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
69228         * sysdeps/unix/bsd/isatty.c: Likewise.
69229         * sysdeps/unix/bsd/tcdrain.c: Likewise.
69230         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
69231         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
69233 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69235         [BZ #13563]
69236         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
69237         long double comparison inaccuracies.
69238         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
69239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69241 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
69243         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
69244         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
69246 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
69248         [BZ #14049]
69249         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
69250         nonzero digits before rounding a hex value.
69251         * stdlib/tst-strtod.c (tests): Add another test.
69253 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69255         * sysdeps/s390/fpu/libm-test-ulps: Update.
69257 2012-05-03  Andreas Jaeger  <aj@suse.de>
69259         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
69260         does not get optimized out.
69261         (malloc_opt_barrier): New.
69263 2012-05-03  Andreas Jaeger  <aj@suse.de>
69264             Roland McGrath  <roland@hack.frob.com>
69266         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
69267         intermediate file deletion.
69268         (generated): Add .symlist files.
69270 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
69272         [BZ #13775]
69273         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
69274         Redirect under this condition.
69275         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
69276         [__USE_GNU] (__dprintf_chk): Not under this condition.
69277         [__USE_GNU] (__vdprintf_chk): Likewise.
69278         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
69279         under this condition.
69280         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
69281         [__USE_XOPEN2K8] (dprintf): Define under this condition.
69282         [__USE_XOPEN2K8] (vdprintf): Likewise.
69283         [__USE_GNU] (__dprintf_chk): Not under this condition.
69284         [__USE_GNU] (__vdprintf_chk): Likewise.
69285         [__USE_GNU] (dprintf): Likewise.
69286         [__USE_GNU] (vdprintf): Likewise.
69288 2012-05-03  Roland McGrath  <roland@hack.frob.com>
69290         * elf/Makefile (common-generated): Set this instead of generated for
69291         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
69292         $(all-built-dso)-derived lists.
69294 2012-05-03  Andreas Jaeger  <aj@suse.de>
69296         * sysdeps/i386/fpu/libm-test-ulps: Update.
69298         * FAQ: Removed.
69299         * FAQ.in: Likewise.
69300         * scripts/gen-FAQ.pl: Likewise.
69301         * manual/install.texi (Installation): Point to online location of
69302         FAQ.
69303         * Makefile (files-for-dist): Remove FAQ.
69304         (FAQ): Remove.
69306 2012-05-02  Allan McRae  <allan@archlinux.org>
69308         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
69309         (LDFLAGS-reldepmod5.so): Likewise.
69310         (LDFLAGS-reldep6mod1.so): Likewise.
69311         (LDFLAGS-reldep6mod4.so): Likewise.
69312         (LDFLAGS-reldep8mod3.so): Likewise.
69313         (LDFLAGS-unload4mod1.so): Likewise.
69314         (LDFLAGS-unload4mod2.so): Likewise.
69315         (LDFLAGS-tst-initorder): Likewise.
69316         (LDFLAGS-tst-initordera2.so): Likewise.
69317         (LDFLAGS-tst-initordera3.so): Likewise.
69318         (LDFLAGS-tst-initordera4.so): Likewise.
69319         (LDFLAGS-tst-initorderb2.so): Likewise.
69320         (LDFLAGS-noload): Likewise.
69321         (LDFLAGS-next): Likewise.
69322         (LDFLAGS-order2mod1.so): Likewise.
69323         (LDFLAGS-order2mod2.so): Likewise.
69324         (LDFLAGS-tst-initorder2): Likewise.
69325         (LDFLAGS-tst-initorder2a.so): Likewise.
69326         (LDFLAGS-tst-initorder2b.so): Likewise.
69327         (LDFLAGS-tst-initorder2c.so): Likewise.
69328         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
69330 2012-05-02  David S. Miller  <davem@davemloft.net>
69332         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69334 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
69336         [BZ #14055]
69337         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
69339 2012-05-02  Andreas Jaeger  <aj@suse.de>
69341         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
69342         since we manipulate rounding mode.
69343         (CPPFLAGS-test-idouble.c): Likewise.
69344         (CPPFLAGS-test-ifloat.c): Likewise.
69345         (CFLAGS-test-ldouble.c): Likewise.
69346         (CFLAGS-test-double.c): Likewise.
69347         (CFLAGS-test-float.c): Likewise.
69348         (CFLAGS-test-misc.c): Likewise.
69349         (CFLAGS-test-test-fenv.c): Likewise.
69351 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69353         [BZ #2550]
69354         [BZ #2570]
69355         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
69356         comparisons to determine direction to adjust input.
69358 2012-05-01  Roland McGrath  <roland@hack.frob.com>
69360         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
69361         output to the target.
69363         * scripts/localplt.awk: New file.
69364         * elf/Makefile ($(objpfx)check-localplt): Target removed.
69365         (check-localplt-CFLAGS): Variable removed.
69366         ($(all-built-dso:=.jmprel)): New static pattern rule.
69367         (generated): Add those targets.
69368         (localplt-built-dso): New variable.
69369         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
69371         * elf/check-localplt.c: File removed.
69373         * scripts/check-execstack.awk: New file.
69374         * elf/Makefile ($(objpfx)check-execstack): Target removed.
69375         (check-execstack-CFLAGS): Variable removed.
69376         ($(objpfx)check-execstack.h): Target removed.
69377         ($(objpfx)execstack-default): New target.
69378         (generated): Add that instead of check-execstack.h.
69379         ($(all-built-dso:=.phdr)): New static pattern rule.
69380         (generated): Add those targets.
69381         * elf/check-execstack.c: File removed.
69383         * scripts/check-textrel.awk: New file.
69384         * elf/Makefile ($(objpfx)check-textrel): Target removed.
69385         (check-textrel-CFLAGS): Variable removed.
69386         (all-built-dso): Use := to define.o
69387         ($(all-built-dso:=.dyn)): New static pattern rule.
69388         (generated): Add those targets.
69389         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
69390         * config.make.in (READELF): New substituted variable.
69391         * elf/check-textrel.c: File removed.
69393 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
69395         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
69396         allow.
69397         * conform/data/ctype.h-data [C99-based standards] (isblank):
69398         Expect function.
69399         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
69400         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
69401         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69402         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
69403         Specify type.  Require positive value.
69404         (EILSEQ): Likewise.
69405         (ERANGE): Likewise.
69406         [ISO || POSIX] (EILSEQ): Do not expect.
69407         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
69408         Specify type.  Require positive value.
69409         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
69410         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
69411         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
69412         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
69413         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
69414         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
69415         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
69416         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
69417         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
69418         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
69419         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
69420         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
69421         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
69422         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
69423         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
69424         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
69425         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
69426         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
69427         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
69428         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
69429         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
69430         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
69431         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
69432         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
69433         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
69434         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
69435         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
69436         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
69437         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
69438         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
69439         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
69440         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
69441         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
69442         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
69443         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
69444         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
69445         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
69446         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
69447         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
69448         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
69449         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
69450         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
69451         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
69452         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
69453         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
69454         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
69455         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
69456         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
69457         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
69458         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
69459         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
69460         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
69461         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
69462         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
69463         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
69464         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
69465         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
69466         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
69467         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
69468         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
69469         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
69470         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
69471         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
69472         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
69473         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
69474         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
69475         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
69476         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
69477         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
69478         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
69479         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
69480         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
69481         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
69482         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
69483         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
69484         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
69485         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
69486         Require >= 2.
69487         (FLT_ROUNDS): Expect as macro, not constant.
69488         (FLT_MANT_DIG): Use macro-int-constant.
69489         (DBL_MANT_DIG): Likewise.
69490         (LDBL_MANT_DIG): Likewise.
69491         (FLT_DIG): Likewise.
69492         (DBL_DIG): Likewise.
69493         (LDBL_DIG): Likewise.
69494         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
69495         (DBL_MIN_EXP): Likewise.
69496         (LDBL_MIN_EXP): Likewise.
69497         (FLT_MAX_EXP): Use macro-int-constant.
69498         (DBL_MAX_EXP): Likewise.
69499         (LDBL_MAX_EXP): Likewise.
69500         (FLT_MAX_10_EXP): Likewise.
69501         (DBL_MAX_10_EXP): Likewise.
69502         (LDBL_MAX_10_EXP): Likewise.
69503         (FLT_MAX): Use macro-constant.
69504         (DBL_MAX): Likewise.
69505         (LDBL_MAX): Likewise.
69506         (FLT_EPSILON): Use macro-constant.  Give upper bound.
69507         (DBL_EPSILON): Likewise.
69508         (LDBL_EPSILON): Likewise.
69509         (FLT_MIN): Likewise.
69510         (DBL_MIN): Likewise.
69511         (LDBL_MIN): Likewise.
69512         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
69513         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
69514         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
69515         [ISO11] (FLT_HAS_SUBNORM): Likewise.
69516         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
69517         [ISO11] (DBL_DECIMAL_DIG): Likewise.
69518         [ISO11] (FLT_DECIMAL_DIG): Likewise.
69519         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
69520         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
69521         [ISO11] (FLT_TRUE_MIN): Likewise.
69522         [ISO11] (LDBL_TRUE_MIN): Likewise.
69523         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69524         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
69525         (SCHAR_MIN): Use macro-int-constant.  Specify type.
69526         (SCHAR_MAX): Likewise.
69527         (UCHAR_MAX): Likewise.
69528         (CHAR_MIN): Likewise.
69529         (CHAR_MAX): Likewise.
69530         (MB_LEN_MAX): Use macro-int-constant.
69531         (SHRT_MIN): Use macro-int-constant.  Specify type.
69532         (SHRT_MAX): Likewise.
69533         (USHRT_MAX): Likewise.
69534         (INT_MAX): Likewise.
69535         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
69536         bound negative.
69537         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69538         bound with "U".
69539         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69540         bound with "L".
69541         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
69542         bound negative.  Suffix upper bound with "L".
69543         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69544         bound with "UL".
69545         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
69546         Specify type.
69547         [C99-based standards] (LLONG_MAX): Likewise.
69548         [C99-based standards] (ULLONG_MAX): Likewise.
69549         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
69550         == 0.
69551         [ISO11] (max_align_t): Require type.
69552         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69554         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
69555         from $CFLAGS, without defining away __attribute__ calls.
69556         (checknamespace): Use $CFLAGS_namespace.
69558         * conform/conformtest.pl (@keywords): Only include C99 keywords
69559         for standards based on C99 or C11.
69561         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
69562         Disable tests.
69563         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
69564         UNIX98]: Likewise.
69566         * conform/conformtest.pl: Handle "macro-int-constant" and test for
69567         usability of symbols in #if.
69569         * conform/conformtest.pl: If macro or constant types start
69570         "promoted:", expect the symbol to be of the following type
69571         promoted by the integer promotions.
69573         * conform/conformtest.pl: Parse all "constant" and "macro" lines
69574         in one place.  Also handle "macro-constant".
69576         * conform/conformtest.pl: Only accept expected macro values with
69577         "==".  Parse all "macro" lines in one place.
69578         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
69580         * conform/conformtest.pl: Handle braced types on "constant" lines
69581         instead of handling "typed-constant".
69582         * conform/data/signal.h-data: Use "constant" instead of
69583         "typed-constant".
69585         * conform/conformtest.pl: Handle "optional-" at start of lines in
69586         one place rather than duplicating several cases.  Handle each
69587         format of "macro" line with initial "optional-".
69589         * conform/conformtest.pl: Only accept expected constant or
69590         optional-constant values with "==".  Parse all "constant" lines in
69591         one place.  Parse all "optional-constant" lines in one place.
69592         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
69593         * conform/data/fmtmsg.h-data: Likewise.
69594         * conform/data/netinet/in.h-data: Likewise.
69595         * conform/data/tar.h-data: Likewise.
69596         * conform/data/limits.h-data: Use "==" form on "constant" and
69597         "optional-constant" lines.
69599         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
69600         Use -std=c99 for XOPEN2K.
69601         (@knownproblems): Remove.
69602         (newtoken): Don't check %isknown.
69604         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
69605         Do not expect macro.
69606         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
69607         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
69608         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
69609         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
69610         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
69611         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
69612         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
69613         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
69614         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
69615         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
69616         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
69617         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
69618         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
69619         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
69620         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
69621         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
69622         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
69623         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
69624         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
69625         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
69626         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
69627         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
69628         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
69629         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
69630         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
69631         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
69632         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
69633         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
69634         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
69635         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
69636         [XPG3] (acosh): Likewise.
69637         [XPG3] (asinh): Likewise.
69638         [XPG3] (atanh): Likewise.
69639         [XPG3] (cbrt): Likewise.
69640         [XPG3] (expm1): Likewise.
69641         [XPG3] (ilogb): Likewise.
69642         [XPG3] (log1p): Likewise.
69643         [XPG3] (logb): Likewise.
69644         [XPG3] (nextafter): Likewise.
69645         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
69646         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
69647         [XPG3] (remainder): Likewise.
69648         [XPG3] (rint): Likewise.
69649         [XPG3 || XPG4 || UNIX98] (round): Likewise.
69650         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
69651         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
69652         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
69653         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
69654         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
69655         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
69656         [UNIX98 || XOPEN2K] (scalb): Expect.
69657         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
69658         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
69659         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
69660         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
69661         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
69662         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
69663         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
69664         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
69665         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
69666         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
69667         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
69668         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
69669         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
69670         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
69671         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
69672         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
69673         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
69674         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
69675         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
69676         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
69677         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
69678         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
69679         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
69680         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
69681         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
69682         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
69683         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
69684         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
69685         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
69686         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
69687         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
69688         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
69689         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
69690         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
69691         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
69692         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
69693         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
69694         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
69695         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
69696         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
69697         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
69698         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
69699         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
69700         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
69701         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
69702         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
69703         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
69704         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
69705         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
69706         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
69707         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
69708         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
69709         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
69710         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
69711         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
69712         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
69713         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
69714         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
69715         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
69716         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
69717         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
69718         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
69719         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
69720         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
69721         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
69722         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
69723         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
69724         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
69725         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
69726         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
69727         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
69728         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
69729         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
69730         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
69731         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
69732         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
69733         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
69734         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
69735         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
69736         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
69737         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
69738         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
69739         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
69740         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
69741         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
69742         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
69743         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
69744         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
69745         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
69746         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
69747         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
69748         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
69749         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
69750         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
69751         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
69752         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
69753         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
69754         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
69755         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
69756         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
69757         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
69758         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
69759         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
69760         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
69761         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
69762         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
69763         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
69764         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
69765         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
69766         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
69767         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
69768         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
69769         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
69770         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
69771         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
69772         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
69773         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
69774         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
69775         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
69776         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
69777         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
69778         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
69779         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
69780         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
69781         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
69782         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
69783         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
69784         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
69785         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
69786         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
69787         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
69788         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
69789         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
69790         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
69791         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
69792         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
69793         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
69795         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
69796         _XOPEN_SOURCE_EXTENDED for XPG4.
69798         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
69800         * Makeconfig (localtime): Remove variable.
69801         (inst_localtime-file): Likewise.
69803 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
69805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
69806         Update.
69807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69808         Update.
69809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
69810         Update.
69811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
69812         Update.
69813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
69814         Update.
69815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
69816         Update.
69817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69818         Update.
69819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
69820         Update.
69821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
69822         Update.
69824 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
69826         [BZ #2550]
69827         [BZ #2570]
69828         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
69829         comparisons to determine direction to adjust input.
69830         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
69831         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
69832         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
69833         Likewise.
69834         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
69835         Likewise.
69836         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
69837         Likewise.
69838         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
69839         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
69840         Likewise.
69841         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
69842         Likewise.
69843         * math/libm-test.inc (nexttoward_test): Add more tests.
69845 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
69847         [BZ #14040]
69848         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
69849         in version GLIBC_2.1, not GLIBC_2.0.
69850         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
69851         Likewise.
69853 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
69855         [BZ #13942]
69856         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
69857         (1 - x) * (1 + x).
69858         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
69859         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
69860         * math/libm-test.inc (acos_test): Add more tests.
69861         (asin_test): Likewise.
69862         * sysdeps/i386/fpu/libm-test-ulps: Update.
69863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69865         [BZ #14034]
69866         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
69867         of square root.
69868         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
69869         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
69870         * math/libm-test.inc (acos_test_tonearest): New function.
69871         (acos_test_towardzero): Likewise.
69872         (acos_test_downward): Likewise.
69873         (acos_test_upward): Likewise.
69874         (asin_test_tonearest): Likewise.
69875         (asin_test_towardzero): Likewise.
69876         (asin_test_downward): Likewise.
69877         (asin_test_upward): Likewise.
69878         (main): Call the new functions.
69879         * sysdeps/i386/fpu/libm-test-ulps: Update.
69880         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69882         [BZ #13884]
69883         [BZ #13924]
69884         * math/e_exp10.c: Include <float.h>.
69885         (__ieee754_exp10): Handle underflow here rather than multiplying
69886         large negative argument by M_LN10.
69887         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
69888         of __ieee754_expf.
69889         * math/e_exp10l.c: Include <float.h>.
69890         (__ieee754_exp10l): Handle underflow here rather than multiplying
69891         large negative argument by M_LN10l.
69892         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
69893         spurious overflow exception on underflow.
69895 2012-04-29  Marek Polacek  <polacek@redhat.com>
69897         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
69898         (__fortify_function): New macro.
69899         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
69900         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
69901         __extern_always_inline.
69902         * libio/bits/stdio2.h: Likewise.
69903         * libio/bits/stdio.h: Likewise.
69904         * string/string.h: Likewise.
69905         * string/bits/string3.h: Likewise.
69906         * include/stdio.h: Likewise.
69907         * stdlib/bits/stdlib.h: Likewise.
69908         * stdlib/stdlib.h: Likewise.
69909         * rt/bits/mqueue2.h: Likewise.
69910         * rt/mqueue.h: Likewise.
69911         * posix/bits/unistd.h: Likewise.
69912         * posix/unistd.h: Likewise.
69913         * io/bits/poll2.h: Likewise.
69914         * io/bits/fcntl2.h: Likewise.
69915         * io/fcntl.h: Likewise.
69916         * io/sys/poll.h: Likewise.
69917         * misc/bits/syslog.h: Likewise.
69918         * misc/bits/syslog-ldbl.h: Likewise.
69919         * misc/sys/syslog.h: Likewise.
69920         * socket/bits/socket2.h: Likewise.
69921         * socket/sys/socket.h: Likewise.
69922         * debug/tst-chk1.c: Likewise.
69923         * wcsmbs/bits/wchar2.h: Likewise.
69924         * wcsmbs/bits/wchar-ldbl.h: Likewise.
69925         * wcsmbs/wchar.h: Likewise.
69927 2012-04-29  Andreas Jaeger  <aj@suse.de>
69929         * Makerules (tests): Remove enable-check-abi protection.
69930         (check-abi-warn): Remove.
69931         (check-abi-%): Remove check-abi-warn usage.
69933         * configure.in: Remove check-abi configure option.
69934         * configure: Regenerated.
69935         * config.make.in (enable-check-abi): Remove.
69937 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
69939         [BZ #14033]
69940         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
69941         double functions to double *_finite functions.
69943         [BZ #13941]
69944         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
69945         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
69946         LDBL_MIN_EXP.
69947         * stdio-common/Makefile (tests): Add tst-sprintf3.
69948         * stdio-common/tst-sprintf3.c: New file.
69950         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
69951         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
69953 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
69955         * conform/conformtest.pl: Remove duplicate typed-constant
69956         handling.
69958 2012-04-28  David S. Miller  <davem@davemloft.net>
69960         * Makerules (%.abilist): Add vpath on sysdep_dirs.
69961         (check-abi-%): Remove AWK script prerequisite and explicit
69962         abilist directory.
69963         (check-abi): Rewrite to just diff the symlist with the abilist.
69964         (config-tls, config-abi-config): Delete, no longer used.
69965         (update-abi-%): Remove AWK script and explicit abilist directory.
69966         (update-abi): Rewrite to simply compare and conditionally copy the
69967         symlist and the sysdep abilist file.  Remove update-abi-config
69968         checks.
69969         * abilist/ld.abilist: Remove.
69970         * abilist/libBrokenLocale.abilist: Remove.
69971         * abilist/libanl.abilist: Remove.
69972         * abilist/libcrypt.abilist: Remove.
69973         * abilist/libdl.abilist: Remove.
69974         * abilist/librt.abilist: Remove.
69975         * abilist/libthread_db.abilist: Remove.
69976         * abilist/libutil.abilist: Remove.
69977         * scripts/extract-abilist.awk: Remove.
69978         * scripts/merge-abilist.awk: Remove.
69979         * sysdeps/generic/libcidn.abilist: New file.
69980         * sysdeps/generic/libnss_compat.abilist: New file.
69981         * sysdeps/generic/libnss_db.abilist: New file.
69982         * sysdeps/generic/libnss_dns.abilist: New file.
69983         * sysdeps/generic/libnss_files.abilist: New file.
69984         * sysdeps/generic/libnss_hesiod.abilist: New file.
69985         * sysdeps/generic/libnss_nis.abilist: New file.
69986         * sysdeps/generic/libnss_nisplus.abilist: New file.
69987         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
69988         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
69989         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
69990         file.
69991         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
69992         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
69993         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
69994         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
69995         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
69996         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
69997         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
69998         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
69999         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
70000         file.
70001         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
70002         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
70003         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
70004         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
70005         file.
70006         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
70007         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
70008         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
70009         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
70010         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
70011         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
70012         file.
70013         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
70014         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
70015         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
70016         file.
70017         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
70018         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
70019         New file.
70020         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
70021         New file.
70022         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
70023         New file.
70024         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
70025         New file.
70026         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
70027         New file.
70028         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
70029         New file.
70030         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
70031         New file.
70032         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
70033         New file.
70034         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
70035         New file.
70036         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
70037         New file.
70038         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
70039         New file.
70040         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
70041         New file.
70042         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
70043         New file.
70044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
70045         file.
70046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
70047         New file.
70048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
70049         New file.
70050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
70051         file.
70052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
70053         New file.
70054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
70055         New file.
70056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
70057         file.
70058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
70059         New file.
70060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
70061         New file.
70062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
70063         New file.
70064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
70065         New file.
70066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
70067         New file.
70068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
70069         New file.
70070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
70071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
70072         file.
70073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
70074         New file.
70075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
70076         file.
70077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
70078         file.
70079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
70080         file.
70081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
70082         file.
70083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
70084         file.
70085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
70086         New file.
70087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
70088         file.
70089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
70090         file.
70091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
70092         New file.
70093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
70094         file.
70095         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
70096         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
70097         file.
70098         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
70099         New file.
70100         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
70101         file.
70102         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
70103         file.
70104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
70105         file.
70106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
70107         file.
70108         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
70109         file.
70110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
70111         New file.
70112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
70113         file.
70114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
70115         file.
70116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
70117         New file.
70118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
70119         file.
70120         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
70121         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
70122         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
70123         file.
70124         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
70125         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
70126         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
70127         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
70128         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
70129         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
70130         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
70131         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
70132         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
70133         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
70134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
70135         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
70136         file.
70137         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
70138         New file.
70139         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
70140         file.
70141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
70142         file.
70143         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
70144         file.
70145         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
70146         file.
70147         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
70148         file.
70149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
70150         New file.
70151         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
70152         New file.
70153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
70154         file.
70155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
70156         New file.
70157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
70158         file.
70159         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
70160         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
70161         file.
70162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
70163         New file.
70164         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
70165         file.
70166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
70167         file.
70168         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
70169         file.
70170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
70171         file.
70172         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
70173         file.
70174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
70175         New file.
70176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
70177         New file.
70178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
70179         file.
70180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
70181         New file.
70182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
70183         file.
70185 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
70187         * conform/conformtest.pl: Fix typo in handling typed-constant from
70188         allow-header.
70190 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
70192         * README: Cut down references to pre-2.6 Linux kernels and
70193         Linuxthreads.  Update lists of configurations in libc and ports
70194         and sort alphabetically.  Say "or newer" with Linux kernel version
70195         requirements.
70197         * config.h.in [IS_IN_build]: Allow compiling without optimization.
70199 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
70201         [BZ #887]
70202         * math/libm-test.inc (logb_test_downward): New test to expose
70203         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
70204         rounding mode.
70206 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
70208         [BZ #14027]
70209         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
70210         to be done.
70211         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
70212         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
70214 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
70216         * sysdeps/unix/i386/brk.S: Remove file.
70217         * sysdeps/unix/i386/dl-brk.S: Likewise.
70218         * sysdeps/unix/i386/pipe.S: Likewise.
70219         * sysdeps/unix/i386/sigreturn.S: Likewise.
70220         * sysdeps/unix/i386/syscall.S: Likewise.
70221         * sysdeps/unix/i386/vfork.S: Likewise.
70222         * sysdeps/unix/i386/wait.S: Likewise.
70224         * sysdeps/unix/common/tcsendbrk.c: Move to ...
70225         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
70227         * configure.in (arm*-none*): Do not allow without
70228         --enable-hacker-mode.
70229         (netbsd*): Remove case setting base_os.
70230         (386bsd*): Likewise.
70231         (freebsd*): Likewise.
70232         (bsdi*): Likewise.
70233         (osf*): Likewise.
70234         (sunos*): Likewise.
70235         (ultrix*): Likewise.
70236         (newsos*): Likewise.
70237         (dynix*): Likewise.
70238         (*bsd*): Likewise.
70239         (sysv*): Likewise.
70240         (isc*): Likewise.
70241         (esix*): Likewise.
70242         (sco*): Likewise.
70243         (minix*): Likewise.
70244         (irix4*): Likewise.
70245         (irix6*): Likewise.
70246         (solaris[2-9]*): Likewise.
70247         (none): Likewise.
70248         * configure: Regenerated.
70250 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70252         [BZ #11521]
70253         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
70254         overflow or cancellation in calculating denominator.
70255         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
70256         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
70257         down expression to avoid unexpected rounding in newer GCCs.
70258         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
70260 2012-04-26  David S. Miller  <davem@davemloft.net>
70262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
70263         long-double compat symbols.
70264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
70265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
70266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
70267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
70268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
70269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
70270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
70271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
70272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
70273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
70274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
70275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
70276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
70278 2012-04-25  David S. Miller  <davem@davemloft.net>
70280         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
70281         HWCAP_* values only after the memory barriers have been defined.
70282         (atomic_full_barrier): Define.
70283         (atomic_read_barrier): Define.
70284         (atomic_write_barrier): Define.
70286 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
70288         * shlib-versions: Add libgcc_s version information.
70289         * sysdeps/generic/libgcc_s.h: Remove.
70290         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
70291         libgcc_s.h.
70292         * sysdeps/gnu/unwind-resume.c: Likewise.
70293         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
70295 2012-04-25  David S. Miller  <davem@davemloft.net>
70297         * sysdeps/unix/sparc/brk.S: Delete.
70298         * sysdeps/unix/sparc/dl-brk.S: Delete.
70299         * sysdeps/unix/sparc/pipe.S: Delete.
70300         * sysdeps/unix/sparc/sysdep.S: Delete.
70301         * sysdeps/unix/sparc/sysdep.h: Delete.
70302         * sysdeps/unix/sparc/vfork.S: Delete.
70303         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
70304         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
70305         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
70306         (ret_ERRVAL, r0, r1, MOVE): Define.
70307         (JUMPTARGET): Remove.
70308         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
70309         sysdeps/unix/sparc/sysdep.h
70310         (ENTRY, END): Remove.
70311         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70313 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
70315         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
70316         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
70317         -DIS_IN_build.
70319         * timezone/README: Update upstream location and email address for
70320         tzcode and tzdata.
70321         * timezone/zdump.c: Update from tzcode 2012b.
70322         * timezone/zic.c: Likewise.
70324         * configure.in (libc_cv_as_needed): Remove test.
70325         * configure: Regenerated.
70326         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
70327         conditional definition.
70328         [$(have-as-needed) != yes] (no-as-needed): Likewise.
70329         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
70330         * config.make.in (have-as-needed): Remove variable.
70332 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70333             Paul Pluzhnikov  <ppluzhnikov@google.com>
70335         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
70336         strings correctly.
70338 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
70340         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
70341         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
70342         * sysdeps/sh/strlen.S: Likewise.
70344 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
70346         * sysdeps/unix/fork.S: Remove file.
70347         * sysdeps/unix/i386/fork.S: Likewise.
70348         * sysdeps/unix/sparc/fork.S: Likewise.
70350         * sysdeps/unix/system.c: Remove file.
70351         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
70353         * sysdeps/unix/getegid.S: Remove file.
70354         * sysdeps/unix/geteuid.S: Likewise.
70356 2012-04-24  Roland McGrath  <roland@hack.frob.com>
70358         * scripts/check-localplt.awk: New file.
70359         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
70360         of diff.
70361         * scripts/data/localplt-generic.data: Add a comment.
70363         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
70364         NODE when __dir_mkfile failed.
70365         * sysdeps/mach/hurd/symlinkat.c: Likewise.
70366         Reported by Ludovic Courtès <ludo@gnu.org>.
70368 2012-04-24  Andreas Jaeger  <aj@suse.de>
70370         * Makerules (common-clean): Also remove gen-as-const-headers
70371         files.
70373 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
70375         * Makerules (native-compile): Do not change working directory for
70376         build.  Use $(OUTPUT_OPTION) in command.
70377         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
70379 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70381         [BZ #13886]
70382         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
70383         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
70384         * math/libm-test.inc (floor_test): Add more tests.
70385         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
70387 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
70389         * sysdeps/unix/getdents.c: Remove file.
70390         * sysdeps/unix/sysv/getdents.c: Likewise.
70391         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
70393         * sysdeps/unix/syscalls.list (madvise): Add syscall from
70394         sysdeps/unix/mman/syscalls.list.
70395         (mmap): Likewise.
70396         (mprotect): Likewise.
70397         (msync): Likewise.
70398         (munmap): Likewise.
70399         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
70400         * sysdeps/unix/mman/syscalls.list: Remove.
70401         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
70403         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
70404         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
70405         * configure: Regenerated.
70406         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
70407         $(libgcc_s_suffix).
70408         * config.make.in (libgcc_s_suffix): Remove variable.
70410 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
70412         * sysdeps/unix/sysv/gethostname.c: Move to ...
70413         * sysdeps/posix/gethostname.c: ... here.
70415         * sysdeps/unix/execve.S: Remove file.
70417         * sysdeps/unix/_exit.S: Remove file.
70419 2012-04-23  Andreas Jaeger  <aj@suse.de>
70421         [BZ #13739]
70422         * manual/Makefile: Remove make dist support, there's no
70423         need for a stand-alone documentation tar ball.
70424         (TEXI2DVI): Define always, it's not in Makeconfig.
70425         (dist): Removed.
70426         (tar-it): Removed.
70427         (edition): Removed.
70428         (glibc-doc-$(edition).tar): Removed
70429         (%.Z): Removed.
70430         (%.gz): Removed.
70431         (%.uu): Removed.
70432         (ETAGS): Remove, it's in Makeconfig.
70433         (move-if-change): Remove, it's in Makeconfig.
70435 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
70437         [BZ #13970]
70438         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
70439         (strtod, strtof, strtold, strtol, strtoul, strtoq)
70440         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
70441         (strtod_l, strtof_l, strtold_l): Remove __wur.
70442         It is not necessarily an error to ignore strtol's return value.
70443         One can reliably look at the stored endptr to decide whether
70444         the number had valid syntax.
70446 2012-04-21  Andreas Jaeger  <aj@suse.de>
70448         [BZ #13739]
70449         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
70451 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
70453         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
70454         * sysdeps/unix/sysv/Versions: Remove file.
70456 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
70458         [BZ #13927]
70459         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70461 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
70463         [BZ #7064]
70464         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
70465         version from __vm86.
70467 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
70469         * sysdeps/unix/common/lxstat.c: Remove file.
70470         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
70472         * sysdeps/unix/sysv/Makefile: Remove file.
70474         * sysdeps/unix/sysv/direct.h: Remove file.
70476         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
70477         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
70478         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
70479         * sysdeps/unix/sysv/bits/signum.h: Likewise.
70480         * sysdeps/unix/sysv/bits/stat.h: Likewise.
70481         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
70482         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
70484         * sysdeps/unix/sysv/setrlimit.c: Remove file.
70486         * sysdeps/unix/xmknod.c: Remove file.
70487         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
70489         * sysdeps/unix/sysv/settimeofday.c: Remove file.
70491         * sysdeps/unix/sysv/i386/time.S: Remove file.
70493         * sysdeps/unix/fxstat.c: Remove file.
70494         * sysdeps/unix/xstat.c: Likewise.
70495         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
70497         * sysdeps/unix/sysv/sigaction.c: Remove file.
70499         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
70500         (sysdep_headers): Remove variable.
70501         [termio.h not in sysdep_headers] (generated): Likewise.
70502         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
70503         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
70504         * sysdeps/unix/sysv/tcdrain.c: Likewise.
70505         * sysdeps/unix/sysv/tcflow.c: Likewise.
70506         * sysdeps/unix/sysv/tcflush.c: Likewise.
70507         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
70508         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
70509         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
70510         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
70511         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
70513         * sysdeps/unix/siglist.c: Remove file.
70515         * sysdeps/unix/getppid.S: Remove file.
70517         * sysdeps/unix/mkdir.c: Remove file.
70518         * sysdeps/unix/rmdir.c: Likewise.
70520 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
70522         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
70523         ERR_MAX value.
70524         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
70525         errlist-compat value.
70527 2012-04-18  David S. Miller  <davem@davemloft.net>
70529         * sysdeps/generic/memcopy.h (reg_char): Delete.
70530         * debug/strcat_chk.c: Use char, not reg_char.
70531         * debug/strcpy_chk.c: Likewise.
70532         * debug/strncat_chk.c: Likewise.
70533         * debug/strncpy_chk.c: Likewise.
70534         * string/memchr.c: Likewise.
70535         * string/memrchr.c: Likewise.
70536         * string/rawmemchr.c: Likewise.
70537         * string/strcat.c: Likewise.
70538         * string/strchr.c: Likewise.
70539         * string/strchrnul.c: Likewise.
70540         * string/strcmp.c: Likewise.
70541         * string/strcpy.c: Likewise.
70542         * string/strncat.c: Likewise.
70543         * string/strncmp.c: Likewise.
70544         * string/strncpy.c: Likewise.
70546 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70548         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
70549         __builtin_memcopy is called when src and dest ranges are known to not
70550         overlap.
70552 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70554         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
70555         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
70556         fwd_align_merge macro call.
70557         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
70558         bwd_align_merge macro call.
70559         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
70561 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70563         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
70564         bwd_align_merge macros.
70565         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
70566         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
70567         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
70569 2012-04-18  David S. Miller  <davem@davemloft.net>
70571         * sysdeps/sparc/sparc64/memcopy.h: Delete.
70573 2012-04-18  Andreas Jaeger  <aj@suse.de>
70575         [BZ# 6794]
70576         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
70577         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
70578         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70580         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
70581         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
70582         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70584         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
70585         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
70586         Adjust for changed ldbl-128 files.
70588         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
70589         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
70590         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70592 2012-04-17  David S. Miller  <davem@davemloft.net>
70594         * sysdeps/sparc/sparc32/memcopy.h: Delete.
70596 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
70598         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
70599         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
70600         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
70601         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
70602         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
70603         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
70605 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70607         [BZ #6794]
70608         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
70609         * math/libm-test.inc: Add ilogb errno and exception tests.
70610         * math/w_ilogb.c: New file: ilogb wrapper.
70611         * math/w_ilogbf.c: New file: ilogbf wrapper.
70612         * math/w_ilogbl.c: New file: ilogbl wrapper.
70613         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
70614         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
70615         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
70616         exception being thrown with 0.0 as argument.
70617         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
70618         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
70619         exception being thrown with 0.0 as argument.
70620         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
70621         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
70622         exception being thrown with 0.0 as argument.
70623         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
70624         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
70625         exception being thrown with 0.0 as argument.
70626         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
70627         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
70628         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
70629         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
70630         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
70631         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
70632         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
70633         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
70634         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
70636 2012-04-17  Petr Baudis  <pasky@ucw.cz>
70638         * include/sys/uio.h: Change __vector to __iovec to avoid clash
70639         with altivec.
70641 2012-04-16  Marek Polacek  <polacek@redhat.com>
70643         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
70645 2012-04-16  Marek Polacek  <polacek@redhat.com>
70647         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
70648         operands of fdivp instruction.
70650 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
70652         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
70653         * elf/tst-auditmod3b.c: Likewise.
70654         * elf/tst-auditmod4b.c: Likewise.
70655         * elf/tst-auditmod5b.c: Likewise.
70656         * elf/tst-auditmod6b.c: Likewise.
70657         * elf/tst-auditmod6c.c: Likewise.
70658         * elf/tst-auditmod7b.c: Likewise.
70659         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
70660         * sysdeps/x86_64/preconfigure.in: Likewise.
70661         * sysdeps/x86_64/preconfigure: Regenerated.
70663 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
70665         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
70666         __ILP32__.
70668 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
70670         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70671         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
70673 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
70675         [BZ #13973]
70676         * locale/iso-639.def: Fix gl language name. Spotted by
70677         Yaron Shahrabani.
70679 2012-04-12  Roland McGrath  <roland@hack.frob.com>
70681         [BZ #2074]
70682         * libio/libio.h (__io_write_fn): Update comment.
70684 2012-04-12  Petr Baudis  <pasky@ucw.cz>
70686         [BZ #2074]
70687         * stdio.texi (Hook Functions): The user provided writer function
70688         is not allowed to return -1.
70690 2012-04-11  David S. Miller  <davem@davemloft.net>
70692         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70694 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
70696         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
70697         Add a leading slash to rtkaio.
70699 2012-04-11  Jim Meyering  <meyering@redhat.com>
70701         [BZ #11959]
70702         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
70703         It is not necessarily an error to ignore fwrite's return
70704         value.  One can reliably use ferror to test for errors after
70705         the fact.
70707 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
70709         * bits/types.h (__snseconds_t): New type.
70710         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
70712         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
70713         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70714         (__SNSECONDS_T_TYPE): Likewise.
70715         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70716         (__SNSECONDS_T_TYPE): Likewise.
70717         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70718         (__SNSECONDS_T_TYPE): Likewise.
70720 2012-04-10  Andreas Jaeger  <aj@suse.de>
70722         [BZ #2636]
70723         * manual/time.texi (Processor Time): Return type of times is
70724         elapsed real time since an arbitrary point in the past.
70725         (CPU Time): Move CLK_TCK from here...
70726         (Processor Time): ...to here.  Correct description.
70727         * manual/conf.texi (Constants for Sysconf): Correct description of
70728         _SC_CLK_TCK.
70730 2012-04-10  David S. Miller  <davem@davemloft.net>
70732         [BZ #13967]
70733         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
70734         where the is a gap between DT_REL(A) and DT_JMPREL.
70736 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
70738         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
70739         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
70740         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
70742 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
70744         * elf/dl-support.c (_dl_inhibit_cache): New variable.
70745         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
70746         (dl_main): Handle --inhibit-cache.
70747         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
70748         _dl_inhibit_cache.
70749         * elf/dl-load.c (_dl_map_object): Use it.
70750         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
70752 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
70754         [BZ #13872]
70755         * sysdeps/i386/fpu/e_powl.S (p78): New object.
70756         (__ieee754_powl): Saturate large exponents rather than testing for
70757         overflow of y*log2(x).
70758         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70759         * math/libm-test.inc (pow_test): Do not permit spurious overflow
70760         exceptions.
70762         [BZ #11521]
70763         * math/s_ctan.c: Include <float.h>.
70764         (__ctan): Avoid internal overflow or cancellation in calculating
70765         denominator.
70766         * math/s_ctanf.c: Likewise.
70767         * math/s_ctanl.c: Likewise.
70768         * math/s_ctanh.c: Likewise.
70769         * math/s_ctanhf.c: Likewise.
70770         * math/s_ctanhl.c: Likewise.
70771         * math/libm-test.inc (ctan_test): Add more tests.
70772         (ctanh_test): Likewise.
70773         * sysdeps/i386/fpu/libm-test-ulps: Update.
70774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70776 2012-04-09  Andreas Jaeger  <aj@suse.de>
70778         [BZ #6894]
70779         * manual/filesys.texi (Directory Entries): Mention that d_namlen
70780         is an optional BSD extension.
70782         [BZ #10254]
70783         * manual/stdio.texi (Opening Streams): Document additional fopen
70784         parameters.
70786 2012-04-09  Roland McGrath  <roland@hack.frob.com>
70788         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
70789         %eax without telling the compiler.
70791 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
70793         [BZ # 13963]
70794         * manual/install.texi: Use sourceware.org.
70796 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
70798         [BZ #13873]
70799         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
70800         (__ieee754_pow): Generate overflow and underflow using huge*huge
70801         and tiny*tiny rather than just returning constant infinity or zero
70802         for large exponents.
70803         * math/libm-test.inc (pow_test): Require overflow exceptions for
70804         applicable cases of large exponents.
70806         [BZ #706]
70807         * sysdeps/i386/fpu/e_pow.S (p10): New object.
70808         (__ieee754_pow): Use iterative multiplication algorithm only for
70809         integer exponents with absolute value below 1024.  Check for odd
70810         integer exponents when using algorithm for real exponents.
70811         * math/libm-test.inc (pow_test): Add more tests.
70812         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70814 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
70816         [BZ #13705]
70817         * math/libm-test.inc (exp_test): Do not allow overflow exception
70818         on underflow test.
70820 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
70822         [BZ #13705]
70823         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
70824         instead of __kernel_standard_f.
70826 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
70828         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
70829         * sysdeps/x86_64/memset_chk.S: Likewise.
70831 2012-04-08  Andreas Jaeger  <aj@suse.de>
70833         [BZ #10153]
70834         * manual/startup.texi (Environment Access): Describe return value
70835         for putenv and setenv.
70837         [BZ #6895]
70838         * manual/filesys.texi (Directory Entries): Add description for
70839         DT_LNK.
70841         [BZ #6890]
70842         * manual/filesys.texi (Directory Entries): Clarify that it's file
70843         system not operating system in the description of DT_UNKNOWN.
70845         [BZ #6578]
70846         * manual/syslog.texi (closelog): Fix reference, it's openlog.
70848 2012-04-08  Stephen Compall  <s11@member.fsf.org>
70850         [BZ #6649]
70851         * manual/llio.texi (Opening and Closing Files): Add cross
70852         reference to explain mode argument.
70854 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
70856         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
70857         * sysdeps/x86_64/memset_chk.S: Likewise.
70859 2012-04-07  David S. Miller  <davem@davemloft.net>
70861         * elf/elf.h (R_SPARC_WDISP10): Define.
70862         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
70863         R_SPARC_SIZE32.
70864         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
70865         R_SPARC_SIZE64 and R_SPARC_H34.
70867 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
70869         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
70870         conditions and remove no longer applicable assertion.
70872 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
70874         * bits/byteswap.h: Include <features.h>.
70875         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
70876         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
70878 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
70880         * bits/byteswap.h (__bswap_16): Removed.
70881         Include <bits/byteswap-16.h> to get __bswap_16.
70882         * sysdeps/i386/bits/byteswap.h: Likewise.
70883         * sysdeps/s390/bits/byteswap.h: Likewise.
70884         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70885         * bits/byteswap-16.h: New file.
70886         * sysdeps/i386/bits/byteswap-16.h: Likewise.
70887         * sysdeps/s390/bits/byteswap-16.h: Likewise.
70888         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
70889         * string/Makefile (headers): Add bits/byteswap-16.h.
70891 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
70893         [BZ #13895]
70894         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
70895         extra indirection.
70896         * nss/Makefile (tests-static, tests): Add tst-nss-static.
70897         * nss/tst-nss-static.c: New.
70899 2012-04-06  Robert Millan  <rmh@gnu.org>
70901         [BZ #6486]
70902         * manual/llio.texi (File Position Primitive): lseek
70903         refers to WHENCE when it really means OFFSET.
70905 2012-04-06  Andreas Jaeger  <aj@suse.de>
70907         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
70908         strncmp declarations.
70910         * abilist/libc.abilist: Add __poll and __ppoll.
70912 2012-04-05  David S. Miller  <davem@davemloft.net>
70914         * scripts/check-local-headers.sh: Accept a host triplet in the
70915         path matched by the exclude regexp.
70917         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
70918         definition.
70919         * sysdeps/powerpc/powerpc32/dl-machine.h
70920         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
70921         * sysdeps/s390/s390-32/dl-machine.h
70922         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
70923         * sysdeps/sparc/sparc32/dl-machine.h
70924         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
70925         * sysdeps/sparc/sparc64/dl-machine.h
70926         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
70928         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
70929         lazy binding.
70930         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
70931         undefined symbol errors.
70933         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
70934         DT_NEEDED entries.
70936 2012-04-05  Michael Matz  <matz@suse.de>
70938         [BZ #13592]
70939         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
70941 2012-04-05  Andreas Jaeger  <aj@suse.de>
70943         [BZ #13908]
70944         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
70945         comment.
70947 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70949         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
70950         which ROUND is no valid rounding mode.
70952 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70954         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
70955         read again.
70956         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
70958 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70960         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
70961         an exception using FPU order intentionally.
70963 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70965         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
70966         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
70967         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
70968         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
70970 2012-04-05  Simon Josefsson  <simon@josefsson.org>
70972         [BZ #12340]
70973         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
70974         EINVAL when BUFLEN is too smal.
70976 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
70978         [BZ #13553]
70979         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
70980         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
70982 2012-04-03  Andreas Jaeger  <aj@suse.de>
70984         [BZ #13938]
70985         * manual/setjmp.texi (System V contexts): Fix sentence.
70987         [BZ #13926]
70988         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
70989         New macro for this case.
70990         [!__GNUC__] (__bswap_64): New inline function for this case.
70991         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70992         * bits/byteswap.h: Likewise.
70993         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
70994         ull, guard with __GLIBC_HAVE_LONG_LONG.
70996         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
70997         __GLIBC_HAVE_LONG_LONG.
70999         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
71000         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
71002 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
71004         [BZ #13691]
71005         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
71006         inptr and inend, rather than using last_ch.
71008 2012-04-02  David S. Miller  <davem@davemloft.net>
71010         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
71011         * stdio-common/printf-parse.h (read_int): Change return type to
71012         'int', return -1 on INT_MAX overflow.
71013         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
71014         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
71015         overflows INT_MAX.  Check for overflow of in-format-string precision
71016         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
71017         SIZE_MAX not INT_MAX for integer overflow test.
71018         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
71019         skip the construct in the format string but do not record anything.
71020         * stdio-common/bug22.c: Adjust to test both width/prevision
71021         INT_MAX overflow as well as total length INT_MAX overflow.  Check
71022         explicitly for proper errno values.
71024 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
71026         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
71027         CHAR_MAX.
71028         * string/test-strcmp.c [! WIDE]: Likewise.
71029         * time/tst-mktime2.c: Likewise for INT_MAX.
71030         * string/test-string.h: #include <sys/param.h> for MIN.
71032         * csu/init-first.c (__libc_init_first): Call __ctype_init.
71033         * sysdeps/i386/init-first.c (init): Likewise.
71034         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
71035         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
71036         * sysdeps/sh/init-first.c (init): Likewise.
71038 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
71040         * po/ru.po: Update from translation team.
71041         * po/vi.po: Likewise.
71043 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
71045         * resolv/nss_dns/dns-host.c: Merge copyright years.
71047 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71049         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
71050         Optimize memcpy with prefetch if
71051         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
71052         src, dst pointers have unequal 16 byte alignments.
71054 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
71056         [BZ #13928]
71057         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
71058         from a CNAME entry and return the minimum ttl for the query.
71059         (gaih_getanswer_slice): Likewise.
71061 2012-03-30  Jeff Law  <law@redhat.com>
71063         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
71064         due to long keys.
71065         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
71066         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
71068         * resolv/nss_dns/dns-host.c: Update copyright year.
71070 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
71072         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
71073         requests to save a system call.  Fix check that all bytes are sent.
71075         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
71076         comments for sendmmsg.
71078 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71080         [BZ #13691]
71081         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
71082         with only 1 character between 0x0041 and 0x01b0.
71083         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
71084         * wcsmbs/tst-mbsnrtowcs.c: New file.
71086 2012-03-29  David S. Miller  <davem@davemloft.net>
71088         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
71089         small copies by hand.
71091 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71093         [BZ #13761]
71094         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
71095         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
71096         group memberships.
71098 2012-03-28  David S. Miller  <davem@davemloft.net>
71100         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
71101         that branches into memcpy.
71102         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
71103         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
71104         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
71105         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
71106         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
71107         bits.
71108         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
71109         implementation too.
71110         * sysdeps/sparc/mempcpy.S: New file.
71112         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
71113         the IFUNC routine in the libc case.
71114         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71116         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
71117         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
71118         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
71119         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
71120         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
71121         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
71122         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
71123         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
71125         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
71126         loop to 256 bytes instead of 64 bytes and fix test signedness.
71128         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
71129         * sysdeps/sparc/sparc32/Makefile: rather than here...
71130         * sysdeps/sparc/sparc64/Makefile: and here.
71132 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
71134         * malloc/mallocbug.c: Avoid warnings about unused variables.
71136 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
71138         [BZ #13760]
71139         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
71140         in the right place. Discard and retry query if response is
71141         larger than input buffer size.
71143 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
71145         [BZ #369]
71146         [BZ #2678]
71147         [BZ #3866]
71148         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
71149         x for large integer exponent.
71150         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
71151         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
71152         sign of result as needed afterwards.
71153         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
71154         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
71155         result for underflowing pow the same as for overflow.
71156         (__kernel_standard_l): Handle powl overflow and underflow here
71157         rather than calling __kernel_standard.
71158         * math/libm-test.inc (pow_test): Add more tests.
71160         [BZ #3868]
71161         [BZ #13879]
71162         [BZ #13910]
71163         [BZ #13911]
71164         [BZ #13912]
71165         [BZ #13913]
71166         [BZ #13915]
71167         [BZ #13916]
71168         [BZ #13917]
71169         [BZ #13918]
71170         [BZ #13919]
71171         [BZ #13920]
71172         [BZ #13921]
71173         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
71174         * sysdeps/ieee754/k_standard.c: Include <float.h>.
71175         (__kernel_standard_l): New function.
71176         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
71177         __kernel_standard.
71178         * math/w_acosl.c (__acosl): Likewise.
71179         * math/w_asinl.c (__asinl): Likewise.
71180         * math/w_atan2l.c (__atan2l): Likewise.
71181         * math/w_atanhl.c (__atanhl): Likewise.
71182         * math/w_coshl.c (__coshl): Likewise.
71183         * math/w_exp10l.c (__exp10l): Likewise.
71184         * math/w_exp2l.c (__exp2l): Likewise.
71185         * math/w_fmodl.c (__fmodl): Likewise.
71186         * math/w_hypotl.c (__hypotl): Likewise.
71187         * math/w_j0l.c (__j0l, __y0l): Likewise.
71188         * math/w_j1l.c (__j1l, __y1l): Likewise.
71189         * math/w_jnl.c (__jnl, __ynl): Likewise.
71190         * math/w_lgammal.c (__lgammal): Likewise.
71191         * math/w_log10l.c (__log10l): Likewise.
71192         * math/w_log2l.c (__log2l): Likewise.
71193         * math/w_logl.c (__logl): Likewise.
71194         * math/w_powl.c (__powl): Likewise.
71195         * math/w_remainderl.c (__remainderl): Likewise.
71196         * math/w_scalbl.c (sysv_scalbl): Likewise.
71197         * math/w_sinhl.c (__sinhl): Likewise.
71198         * math/w_sqrtl.c (__sqrtl): Likewise.
71199         * math/w_tgammal.c (__tgammal): Likewise.
71200         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
71201         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
71202         * math/libm-test.inc (acos_test): Add more tests.
71203         (acosh_test): Likewise.
71204         (asin_test): Likewise.
71205         (atanh_test): Likewise.
71206         (exp_test): Likewise.
71207         (exp10_test): Likewise.
71208         (exp2_test): Likewise.
71209         (expm1_test): Likewise.
71210         (lgamma_test): Likewise.
71211         (log_test): Likewise.
71212         (log10_test): Likewise.
71213         (log1p_test): Likewise.
71214         (log2_test): Likewise.
71215         (pow_test): Do not allow some spurious overflow exceptions.
71216         (sqrt_test): Add more tests.
71217         (tgamma_test): Likewise.
71218         (y0_test): Likewise.
71219         (y1_test): Likewise.
71220         (yn_test): Likewise.
71222 2012-03-27  Anton Blanchard  <anton@samba.org>
71224         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
71225         MAP_HUGETLB.
71226         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
71227         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
71228         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
71230 2012-03-27  David S. Miller  <davem@davemloft.net>
71232         * conform/Makefile: Run run-conformtest.sh using $(BASH).
71234         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
71235         have-as-vis3 check.
71237 2012-03-27  Andreas Jaeger  <aj@suse.de>
71239         * sysdeps/x86_64/elf/configure.in: Moved to ...
71240         * sysdeps/x86_64/configure.in: ... here.
71241         * sysdeps/x86_64/elf/start.S: Moved to ...
71242         * sysdeps/x86_64/start.S: ... here.
71243         * sysdeps/x86_64/elf/configure: Delete.
71245         * sysdeps/x86_64/configure.in: Merge contents from
71246         sysdeps/i386/configure.in (without i686 check).
71248         * sysdeps/i386/elf/Versions: Merge into ...
71249         * sysdeps/i386/Versions: ... this.
71250         * sysdeps/i386/elf/Versions: Delete file.
71251         * sysdeps/i386/elf/start.S: Moved to ...
71252         * sysdeps/i386/start.S: ...here.
71253         * sysdeps/i386/elf/configure.in: Merge into...
71254         * sysdeps/i386/configure.in: ...here.
71255         * sysdeps/i386/elf/configure.in: Delete file.
71256         * sysdeps/i386/elf/configure: Delete file.
71258         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
71259         * debug/backtracesyms.c: ... here.
71260         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
71261         * debug/backtracesymsfd.c: ... here.
71262         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
71263         * sysdeps/generic/ifunc-sel.h: ... here.
71265         * sysdeps/unix/i386/start.c: Delete file.
71266         * sysdeps/unix/sparc/start.c: Delete file.
71267         * sysdeps/unix/start.c: Delete file.
71269         * sysdeps/sh/elf/configure.in: Moved to ...
71270         * sysdeps/sh/configure.in: ... here.
71271         * sysdeps/sh/elf/start.S: Moved to ...
71272         * sysdeps/sh/start.S: ... here.
71273         * sysdeps/sh/elf/configure: Delete file.
71275         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
71276         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
71277         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
71278         * sysdeps/powerpc/powerpc64/entry.h: ... here.
71279         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
71280         * sysdeps/powerpc/powerpc64/start.S: here.
71281         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
71282         * sysdeps/powerpc/powerpc64/Makefile: ... this.
71283         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
71284         * sysdeps/powerpc/powerpc64/configure.in: ... this.
71285         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
71287         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
71288         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
71289         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
71290         * sysdeps/powerpc/powerpc32/start.S: ... here.
71291         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
71292         * sysdeps/powerpc/powerpc32/configure.in: ... this.
71293         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
71295         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
71296         * sysdeps/powerpc/ifunc-sel.h: ... here.
71297         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
71298         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
71300         * sysdeps/sparc/elf/configure.in: Moved to ...
71301         * sysdeps/sparc/configure.in: ... here.
71302         * sysdeps/sparc/elf/configure: Delete file.
71303         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
71304         * sysdeps/sparc/sparc32/start.S: ... here.
71305         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
71306         * sysdeps/sparc/sparc64/start.S: ... here.
71307         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
71308         * sysdeps/sparc/sparc32/Makefile: ... this.
71309         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
71310         * sysdeps/sparc/sparc64/Makefile: ... this.
71312         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
71313         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
71314         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
71315         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
71316         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
71317         * sysdeps/s390/s390-32/setjmp.S: ... here.
71318         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
71319         * sysdeps/s390/s390-32/configure.in: ... here.
71320         * sysdeps/s390/s390-32/elf/configure: Delete file.
71321         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
71322         * sysdeps/s390/s390-32/start.S: ... here.
71324         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
71325         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
71326         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
71327         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
71328         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
71329         * sysdeps/s390/s390-64/setjmp.S: ... here.
71330         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
71331         * sysdeps/s390/s390-64/configure.in: ... here
71332         * sysdeps/s390/s390-64/elf/configure: Delete file.
71333         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
71334         * sysdeps/s390/s390-64/start.S: ... here.
71335         * sysdeps/s390/s390-64/elf/configure: Delete.
71337         * configure.in: Remove support for elf directories in sysdeps.
71339         * configure: Regenerated.
71340         * sysdeps/i386/configure: Regenerated.
71341         * sysdeps/powerpc/powerpc32/configure: Regenerated.
71342         * sysdeps/powerpc/powerpc64/configure: Regenerated.
71343         * sysdeps/s390/s390-32/configure: Regenerated.
71344         * sysdeps/s390/s390-64/configure: Regenerated.
71345         * sysdeps/sh/configure: Regenerated.
71346         * sysdeps/sparc/configure: Regenerated.
71347         * sysdeps/x86_64/configure: Regenerated.
71349 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
71351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71353         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
71354         denormal result into account.
71356 2012-03-25  Roland McGrath  <roland@hack.frob.com>
71358         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
71359         Reported by Allan McRae <allan@archlinux.org>.
71361 2012-03-23  Jeff Law  <law@redhat.com>
71363         * nss/getnssent.c (__nss_getent): Fix typo.
71365 2012-03-23  David S. Miller  <davem@davemloft.net>
71367         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71369 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
71371         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
71372         to pad to uint64_t for each field.
71373         (dl_tls_index): Replace unsigned long with uint64_t.
71375 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
71376         Paul Pluzhnikov  <ppluzhnikov@google.com>
71378         [BZ #6528]
71379         * grp/Makefile (otherlibs): Don't set it.
71380         * inet/Makefile (otherlibs): Likewise.
71381         * login/Makefile (otherlibs): Likewise.
71382         * nscd/Makefile (otherlibs): Likewise.
71383         * posix/Makefile (otherlibs): Likewise.
71384         * pwd/Makefile (otherlibs): Likewise.
71385         * rt/Makefile (otherlibs): Likewise.
71386         * sunrpc/Makefile (otherlibs): Likewise.
71387         * nss/Makefile (otherlibs): Likewise.
71388         Add libnss_files to routines and static-only-routines.
71389         ($(objpfx)getent): Remove rule.
71390         * resolv/Makefile: Add libnss_dns and libresolv to routines and
71391         static-only-routines.
71393 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
71395         [BZ #13892]
71396         * math/s_cexp.c: Include <float.h>.
71397         (__cexp): Handle exp result overflowing not necessarily
71398         overflowing both real and imaginary parts of result.
71399         * math/s_cexpf.c: Likewise.
71400         * math/s_cexpl.c: Likewise.
71401         * math/libm-test.inc (cexp_test): Add more tests.
71402         * sysdeps/i386/fpu/libm-test-ulps: Update.
71403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71405 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
71407         * include/link.h (ELFW): New macro.
71408         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
71409         Replace ELF64_R_TYPE with ELFW(R_TYPE).
71411 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
71413         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
71414         with uint64_t.
71416 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
71418         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
71419         declaration.
71420         (struct La_x32_retval): Likewise.
71422 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
71424         * sysdeps/x86_64/preconfigure.in: New file.
71425         * sysdeps/x86_64/preconfigure: New generated file.
71427 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
71429         [BZ #13824]
71430         * math/e_exp2l.c: Include <float.h>.
71431         (__ieee754_exp2l): Handle overflow and underflow cases
71432         separately.  Only pass fractional part of argument to
71433         __ieee754_expl.
71434         * math/libm-test.inc (exp2_test): Add more tests.
71436         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
71437         negating x to take absolute value.
71438         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
71439         Likewise.
71440         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
71441         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
71442         Likewise.
71443         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
71444         computing low part if x was negated.
71445         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
71447 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
71449         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
71450         la_x32_gnu_pltexit.
71451         (pltexit): Cast int_retval to ptrdiff_t.
71452         * elf/tst-auditmod3b.c: Likewise.
71453         * elf/tst-auditmod4b.c: Likewise.
71454         * elf/tst-auditmod5b.c: Likewise.
71455         * elf/tst-auditmod6b.c: Likewise.
71456         * elf/tst-auditmod6c.c: Likewise.
71457         * elf/tst-auditmod7b.c: Likewise.
71459         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
71460         and x32_gnu_pltexit.
71462         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
71463         __ELF_NATIVE_CLASS.
71464         (La_x32_regs): New macro.
71465         (La_x32_retval): Likewise.
71466         (la_x32_gnu_pltenter): New function prototype.
71467         (la_x32_gnu_pltexit): Likewise.
71469 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
71471         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
71472         exponent.
71474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71476         * configure.in (libc_cv_cc_nofma): Check for option to disable
71477         generation of FMA instructions.
71478         * configure: Regenerate.
71479         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
71480         * sysdeps/ieee754/dbl-64/Makefile: New file.
71481         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
71482         Remove brandred-fma4.
71483         (CFLAGS-brandred-fma4.c): Remove.
71484         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
71485         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
71486         define.
71487         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
71488         define.
71490 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
71492         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
71493         LLONG_MAX != LONG_MAX.
71494         (_itoa_word): Use _ITOA_WORD_TYPE on value.
71495         (_fitoa_word): Likewise.
71496         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
71497         LLONG_MAX != LONG_MAX.
71498         * stdio-common/_itowa.h: Include <_itoa.h>.
71499         (_itowa_word): Use _ITOA_WORD_TYPE on value.
71500         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
71501         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
71502         only if not defined.
71503         (_ITOA_WORD_TYPE): Likewise.
71504         (_itoa_word): Use _ITOA_WORD_TYPE on value.
71505         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
71507 2012-03-21  David S. Miller  <davem@davemloft.net>
71509         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71511 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
71513         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
71514         of x86_64 when setting libc_cv_slibdir, libdir and
71515         libc_cv_localedir.
71516         * sysdeps/unix/sysv/linux/configure: Regenerated.
71518 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71520         * manual/lang.texi (Old Varargs): Remove section.
71521         (How Variadic): Update menu.
71522         (va_start): Do not mention varargs.h.
71524 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
71525             Joseph Myers  <joseph@codesourcery.com>
71527         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
71528         link test.
71529         * configure: Regenerated.
71531 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
71533         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
71534         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
71535         conformtest.pl
71537 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71539         * NOTES: Remove.
71540         * Makefile (files-for-dist): Remove NOTES.
71541         (NOTES): Remove rule.
71542         * README: Don't refer to NOTES.
71543         * manual/creature.texi: Don't include macros.texi.
71544         * manual/intro.texi (creature.texi): Remove comment referring to
71545         NOTES.
71547         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
71548         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
71549         * configure: Regenerated.
71550         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
71551         LIBC_TRY_CC_OPTION.
71552         (libc_cv_as_i686): Likewise.
71553         (libc_cv_cc_avx): Likewise.
71554         (libc_cv_cc_sse2avx): Likewise.
71555         (libc_cv_cc_fma4): Likewise.
71556         (libc_cv_cc_novzeroupper): Likewise.
71557         * sysdeps/i386/configure: Regenerated.
71559         [BZ #13883]
71560         * sysdeps/i386/fpu/s_cexp.S: Remove.
71561         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
71562         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
71563         * math/libm-test.inc (cexp_test): Add more tests.
71564         * sysdeps/i386/fpu/libm-test-ulps: Update.
71565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71567 2012-03-21  Allan McRae  <allan@archlinux.org>
71569         * timezone/Makefile: Do not install iso3166.tab and zone.tab
71571 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71573         [BZ #13871]
71574         * math/w_exp2.c: Do not include <float.h>.
71575         (o_threshold, u_threshold): Remove.
71576         (__exp2): Calculate result before checking finiteness and calling
71577         __kernel_standard.
71578         * math/w_exp2f.c: Likewise.
71579         * math/w_exp2l.c: Likewise.
71580         * math/libm-test.inc (exp2_test): Require overflow exception for
71581         1e6 input.
71583         [BZ #3866]
71584         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
71585         range of signed 64-bit integers before using fistpll.  Remove
71586         checks for whether integers fit in mantissa bits.
71587         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
71588         the range of signed 32-bit integers before using fistpl.  Remove
71589         checks for whether integers fit in mantissa bits.
71590         * sysdeps/i386/fpu/e_powl.S (p64): New object.
71591         (__ieee754_powl): Test for y outside the range of signed 64-bit
71592         integers before using fistpll.  Reduce 64-bit values to 63-bit
71593         ones as needed.
71594         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
71595         divide-by-zero is raised for zero to large negative powers.
71596         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
71597         (__ieee754_powl): Test for y outside the range of signed 64-bit
71598         integers before using fistpll.  Reduce 64-bit values to 63-bit
71599         ones as needed.
71600         * math/libm-test.inc (pow_test): Add more tests.
71602 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71604         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
71605         <stdio-common/_itoa.h>.
71606         * debug/segfault.c: Likewise.
71607         * elf/dl-cache.c: Likewise.
71608         * elf/dl-minimal.c: Likewise.
71609         * elf/dl-misc.c: Likewise.
71610         * elf/dl-sysdep.c: Likewise.
71611         * elf/dl-version.c: Likewise.
71612         * elf/rtld.c: Likewise.
71613         * hurd/hurdsock.c: Likewise.
71614         * hurd/lookup-retry.c: Likewise.
71615         * malloc/malloc.c: Likewise.
71616         * malloc/mtrace.c: Likewise.
71617         * nscd/nscd_getgr_r.c: Likewise.
71618         * nscd/nscd_getpw_r.c: Likewise.
71619         * nscd/nscd_getserv_r.c: Likewise.
71620         * posix/getopt_init.c: Likewise.
71621         * posix/wordexp.c: Likewise.
71622         * stdio-common/_itoa.c: Likewise.
71623         * stdio-common/printf_fphex.c: Likewise.
71624         * stdio-common/vfprintf.c: Likewise.
71625         * string/_strerror.c: Likewise.
71626         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
71627         * sysdeps/i386/i686/hp-timing.h: Likewise.
71628         * sysdeps/mach/_strerror.c: Likewise.
71629         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
71630         * sysdeps/mach/hurd/sethostid.c: Likewise.
71631         * sysdeps/mach/hurd/xmknodat.c: Likewise.
71632         * sysdeps/mach/xpg-strerror.c: Likewise.
71633         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
71634         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
71635         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
71636         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
71637         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
71638         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
71639         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
71640         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
71641         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
71642         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
71643         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
71644         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
71645         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
71646         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
71647         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
71648         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
71649         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
71650         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
71651         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
71652         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
71653         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
71655         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
71657         * stdio-common/_itoa.h: Moved to ...
71658         * sysdeps/generic/_itoa.h: Here.
71660         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
71662         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
71663         instead of "_itoa.h" and "_itowa.h".
71664         * stdio-common/vfprintf.: Likewise.
71666 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71668         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
71669         <bits/wordsize.h>.
71670         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
71671         (__signbit): Likwise.
71672         (llrintf): Likwise.
71673         (llrint): Likwise.
71675 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71677         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
71678         __WORDSIZE != 64.
71680 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
71682         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
71683         OVERFLOW_EXCEPTION_OK.
71684         * math/libm-test.inc ("Philosophy"): Update comment about
71685         exception testing.
71686         (OVERFLOW_EXCEPTION): Define.
71687         (OVERFLOW_EXCEPTION_OK): Likewise.
71688         (INVALID_EXCEPTION_OK): Renumber.
71689         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
71690         (IGNORE_ZERO_INF_SIGN): Likewise.
71691         (test_exceptions): Handle FE_OVERFLOW.
71692         (exp10_test): Expect overflow exceptions.
71693         (exp2_test): Likewise.
71694         (expm1_test): Likewise.
71695         (nextafter_test): Likewise.
71696         (pow_test): Likewise.
71697         (scalbn_test): Likewise.
71698         (scalbln_test): Likewise.
71700 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71702         * sysdeps/x86_64/bits/atomic.h
71703         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
71704         64bit integer.
71705         (atomic_exchange_acq): Likewise.
71706         (__arch_exchange_and_add_body): Likewise.
71707         (__arch_add_body): Likewise.
71708         (atomic_add_negative): Likewise.
71709         (atomic_add_zero): Likewise.
71711 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71713         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
71714         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
71716 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71718         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
71719         Check __x86_64__ instead of __WORDSIZE.
71721 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71723         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
71725 2012-03-19  David S. Miller  <davem@davemloft.net>
71727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71729         * sysdeps/sparc/fpu/fenv_private.h: New file.
71730         * sysdeps/sparc/fpu/math_private.h: Use it.
71731         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
71732         Remove.
71733         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
71734         (libc_feholdexcept_setroundl): Remove.
71735         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
71736         Remove.
71737         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
71738         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
71740 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71742         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
71743         int64_t instead of long int.
71744         (INSERT_WORDS64): Likwise.
71746 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71748         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
71749         _Unwind_GetCFA return to _Unwind_Ptr first.
71751 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
71753         [BZ #13629]
71754         * math/s_clog.c: Include <float.h>.
71755         (__clog): Scale large or subnormal inputs.
71756         * math/s_clogf.c: Likewise.
71757         * math/s_clogl.c: Likewise.
71758         * math/s_clog10.c: Include <float.h>.
71759         (M_LOG10_2): Define.
71760         (__clog10): Scale large or subnormal inputs.
71761         * math/s_clog10f.c: Likewise.
71762         * math/s_clog10l.c: Likewise.
71763         * math/libm-test.inc (clog_test): Add more tests.
71764         (clog10_test): Likewise.
71765         * sysdeps/i386/fpu/libm-test-ulps: Update.
71766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71768         [BZ #11451]
71769         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
71770         x and y.
71771         * math/libm-test.inc (atan2_test): Add another test.
71773         * Makerules (common-objdir-compile): Remove.
71774         * sysdeps/unix/Makefile (config-generated): Do not add
71775         $(unix-generated) to variable.
71776         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
71777         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
71778         Remove rule.
71779         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
71780         Likewise.
71781         [generic bits/local_lim.h] (before-compile): Do not append to
71782         variable.
71783         [generic bits/local_lim.h] (common-generated): Likewise.
71784         [generic sys/param.h] (before-compile): Do not append to variable.
71785         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
71786         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
71787         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
71788         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
71789         include.
71790         [generic sys/param.h] (sys/param.h-includes): Remove variable.
71791         [generic sys/param.h] (sys/param.h-includes): Remove rule.
71792         [generic sys/param.h] ($(addprefix
71793         $(common-objpfx),$(sys/param.h-includes))): Likewise.
71794         [generic sys/param.h] (common-generated): Do not append to
71795         variable.
71796         [generic sys/param.h] (sysdep_headers): Likewise.
71797         [generic bits/errno.h] (before-compile): Do not append to
71798         variable.
71799         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
71800         rule.
71801         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
71802         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
71803         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
71804         [generic bits/errno.h] (common-generated): Do not append to
71805         variable.
71806         [generic bits/ioctls.h] (before-compile): Do not append to
71807         variable.
71808         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
71809         rule.
71810         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
71811         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
71812         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
71813         rule.
71814         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
71815         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
71816         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
71817         [generic bits/ioctls.h] (common-generated): Do not append to
71818         variable.
71819         [generic sys/syscall.h] (syscall.h): Remove variable.
71820         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
71821         rule.
71822         [generic sys/syscall.h] (before-compile): Do not append to
71823         variable.
71824         [generic sys/syscall.h] (common-generated): Likewise.
71825         * sysdeps/unix/errnos-tmpl.c: Remove file.
71826         * sysdeps/unix/errnos.awk: Likewise.
71827         * sysdeps/unix/ioctls-tmpl.c: Likewise.
71828         * sysdeps/unix/ioctls.awk: Likewise.
71829         * sysdeps/unix/mk-local_lim.c: Likewise.
71830         * sysdeps/unix/snarf-ioctls: Likewise.
71832 2012-03-19  Richard Henderson  <rth@twiddle.net>
71834         * sysdeps/i386/fpu/fenv_private.h: New file.
71835         * sysdeps/i386/fpu/math_private.h: Use it.
71836         (math_opt_barrier, math_force_eval): Remove.
71837         (libc_feholdexcept_setround_53bit): Remove.
71838         (libc_feupdateenv_53bit): Remove.
71839         * sysdeps/x86_64/fpu/math_private.h: Likewise.
71840         (math_opt_barrier, math_force_eval): Remove.
71841         (libc_feholdexcept): Remove.
71842         (libc_feholdexcept_setround): Remove.
71843         (libc_fetestexcept, libc_fesetenv): Remove.
71844         (libc_feupdateenv_test): Remove.
71845         (libc_feupdateenv, libc_feholdsetround): Remove.
71846         (libc_feresetround): Remove.
71848         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
71849         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
71851         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
71852         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
71853         (libc_feupdateenv_testl): New.
71854         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
71855         (libc_feupdateenv_testf): New.
71856         (libc_feupdateenv): Use libc_feupdateenv_test.
71857         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
71858         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
71860         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
71861         (libc_feholdsetroundf, libc_feholdsetroundl): New.
71862         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
71863         (libc_feresetround_noex): New.
71864         (libc_feresetround_noexf): New.
71865         (libc_feresetround_noexl): New.
71866         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
71867         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
71868         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
71869         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
71870         SET_RESTORE_ROUND.
71871         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
71872         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
71873         (__cos): Likewise.
71874         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
71875         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
71876         SET_RESTORE_ROUND_NOEX.
71877         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
71878         SET_RESTORE_ROUND_NOEXF.
71879         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
71880         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
71881         (libc_feholdsetroundf): New.
71882         (libc_feresetround, libc_feresetroundf): New.
71884         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
71885         (libc_feholdexcept_setround_53bit): Convert from macro to function.
71886         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
71888         * sysdeps/generic/math_private.h: Include <fenv.h>.
71889         (default_libc_feholdexcept): New.
71890         (default_libc_feholdexcept_setround): New.
71891         (default_libc_fesetenv, default_libc_feupdateenv): New.
71892         (libc_feholdexcept): Only define if undefined.
71893         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
71894         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
71895         (libc_feholdexcept_setroundl): Likewise.
71896         (libc_feholdexcept_setround_53bit): Likewise.
71897         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
71898         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
71899         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
71900         (libc_feupdateenv_53bit): Likewise.
71901         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
71902         (libc_feholdexcept): Convert from macro to inline function.
71903         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
71904         (libc_fesetenv, libc_feupdateenv): Likewise.
71906         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
71907         not previously defined.
71908         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
71909         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
71910         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
71911         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
71912         * sysdeps/ieee754/flt-32/math_private.h: New file.
71913         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
71914         math_private.h below SET_FLOAT_WORD.
71915         (__isnan, __isinf_ns, __finite): Remove.
71916         (__isnanf, __isinf_nsf, __finitef): Remove.
71918 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
71920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71922 2012-03-17  David S. Miller  <davem@davemloft.net>
71924         [BZ #6471]
71925         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
71926         for 2.16.
71928 2012-03-16  David S. Miller  <davem@davemloft.net>
71930         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
71931         warnings.
71933         [BZ #6471]
71934         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
71935         properly.
71936         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
71937         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
71938         sysdep_routines when subdir is sysvipc.
71939         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
71940         __getshmlba helper.
71942         * sysdeps/sparc/fpu/libm-test/ulps: Update.
71944 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71946         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
71947         [__LP64__].
71949 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71951         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
71952         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
71953         (__lround): Renamed to ...
71954         (__llround): This.  Replace long int with long long int.
71955         Define lround functions as aliases of llround functions.
71956         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
71958 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71960         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
71961         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
71962         adresses to uintptr_t.  Replace "long int" and "unsigned long
71963         int" with "greg_t" on va_arg.
71965 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71967         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
71968         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
71970         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
71971         Move e_machine check before EI_CLASS check.  Handle x32
71972         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
71973         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
71974         SKIP_EM_IA_64 and include
71975         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
71977         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
71978         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
71979         (add_system_dir): New macro.
71981         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
71982         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
71984 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
71986         [BZ #2551]
71987         [BZ #2552]
71988         [BZ #2553]
71989         [BZ #2554]
71990         [BZ #2562]
71991         [BZ #2563]
71992         [BZ #2565]
71993         [BZ #2566]
71994         [BZ #2576]
71995         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
71996         (y0): Likewise.
71997         * math/w_j0f.c (j0f): Likewise.
71998         (y0f): Likewise.
71999         * math/w_j0l.c (__j0l): Likewise.
72000         (__y0l): Likewise.
72001         * math/w_j1.c (j1): Likewise.
72002         (y1): Likewise.
72003         * math/w_j1f.c (j1f): Likewise.
72004         (y1f): Likewise.
72005         * math/w_j1l.c (__j1l): Likewise.
72006         (__y1l): Likewise.
72007         * math/w_jn.c (jn): Likewise.
72008         (yn): Likewise.
72009         * math/w_jnf.c (jnf): Likewise.
72010         (ynf): Likewise.
72011         * math/w_jnl.c (__jnl): Likewise.
72012         (__ynl): Likewise.
72013         * math/libm-test.inc (j0_test): Add more tests.
72014         (j1_test): Likewise.
72015         (jn_test): Likewise.  Add trailing semicolon to existing test.
72016         (y0_test): Likewise.
72017         (y1_test): Likewise.
72018         * sysdeps/i386/fpu/libm-test-ulps: Update.
72019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72021         [BZ #13851]
72022         [BZ #13854]
72023         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
72024         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
72025         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
72026         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
72027         (__tanl): Set errno for infinite argument.
72028         * sysdeps/i386/fpu/mptan.c: Remove.
72029         * sysdeps/i386/fpu/s_tan.S: Likewise.
72030         * sysdeps/i386/fpu/s_tanl.S: Likewise.
72031         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
72032         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
72033         * math/libm-test.inc (tan_test): Add more tests and enable more
72034         tests for double and long double.
72035         * sysdeps/i386/fpu/libm-test-ulps: Update.
72036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72038 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
72040         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
72041         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
72043 2012-03-16  Roland McGrath  <roland@hack.frob.com>
72045         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
72046         * configure.in: Use it for both main tree and add-ons.
72047         * configure: Regenerated.
72049 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72051         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
72053 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
72055         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
72056         in comment.
72058         [BZ #13851]
72059         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
72060         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
72061         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
72062         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
72063         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
72064         infinite argument.
72065         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
72066         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
72067         != 0 for prec == 2.
72068         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
72069         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
72070         * sysdeps/i386/fpu/s_cosl.S: Likewise.
72071         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
72072         * sysdeps/i386/fpu/s_sinl.S: Likewise.
72073         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
72074         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
72075         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
72076         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
72077         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
72078         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
72079         * math/libm-test.inc (cos_test): Add more tests and enable more
72080         tests for long double.
72081         (sin_test): Likewise.
72082         (sincos_test): Likewise.
72083         * sysdeps/i386/fpu/libm-test-ulps: Update.
72084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72086 2012-03-16  David S. Miller  <davem@davemloft.net>
72088         * sysdeps/sparc/fpu/math_private.h: New file.
72090 2012-03-15  David S. Miller  <davem@davemloft.net>
72092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
72093         file.
72094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
72095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
72096         file.
72097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
72098         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
72099         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
72100         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
72101         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
72102         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
72103         sysdep routines.
72104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
72106         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
72107         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
72109         * sysdeps/sparc/sparc-ifunc.h: New file.
72110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
72111         sparc-ifunc.h
72112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
72113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
72114         Likewise.
72115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
72116         Likewise.
72117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
72118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
72119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
72121         Likewise.
72122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
72123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
72124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
72125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
72126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
72127         Likewise.
72128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
72129         Likewise.
72130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
72131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
72132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
72133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
72134         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
72135         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
72136         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
72137         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
72138         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
72139         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
72140         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
72141         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
72142         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
72143         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
72144         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
72145         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
72146         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
72147         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
72148         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
72149         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
72150         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
72151         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
72152         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
72153         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
72155 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
72157         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
72158         scaling.
72159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72161 2012-03-15  Andreas Jaeger  <aj@suse.de>
72163         [BZ #13852]
72164         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
72165         ieee754/flt-32 implementation for sin, cos and sincos.
72166         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
72167         * sysdeps/i386/fpu/s_cosf.S: Likewise.
72168         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
72169         * sysdeps/i386/fpu/s_sinf.S: Likewise.
72170         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
72171         ieee754/flt-32 implementation for tan.
72173         * math/libm-test.inc (cos_test): Enable some large input tests for
72174         float as well
72175         (sin_test): Likewise.
72176         (sincos_test): Likewise.
72177         (tan_test): Add tests for large input.
72179         * sysdeps/i386/fpu/libm-test-ulps: Update.
72181 2012-03-15  Andreas Jaeger  <aj@suse.de>
72183         [BZ #13658]
72184         * math/libm-test.inc (cos_test): Add more test cases.
72185         (sin_test): Likewise.
72186         (sincos_test): Likewise.
72188 2012-03-15  Andreas Jaeger  <aj@suse.de>
72190         [BZ #13837]
72191         * math/libm-test.inc (cos_test): Add a test case for large input
72192         value.
72193         (sin_test): Likewise.
72194         (sincos_test): Likewise.
72196 2012-03-15  Andreas Jaeger  <aj@suse.de>
72197             Joseph Myers  <joseph@codesourcery.com>
72199         [BZ #13658]
72200         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
72201         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
72202         * sysdeps/i386/fpu/branred.c: Likewise.
72203         * sysdeps/i386/fpu/dosincos.c: Likewise.
72204         * sysdeps/i386/fpu/mpa.c: Likewise.
72205         * sysdeps/i386/fpu/s_cos.S: Likewise.
72206         * sysdeps/i386/fpu/s_sin.S: Likewise.
72207         * sysdeps/i386/fpu/s_sincos.S: Likewise.
72208         * sysdeps/i386/fpu/sincos32.c: Likewise.
72210         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
72211         Define.
72212         (libc_feupdateenv_53bit): Define.
72213         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
72214         Define.
72215         (libc_feupdateenv_53bit): Define.
72217         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
72218         53 bit (without extend i386 double precision).
72220         * math/libm-test.inc (sincos_test): Add tests for large input.
72221         (sin): Likewise.
72222         (cos): Likewise.
72224         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
72226 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
72228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72230 2012-03-15  David S. Miller  <davem@davemloft.net>
72232         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
72233         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
72234         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
72235         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
72236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
72237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
72238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
72239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
72240         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
72241         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
72242         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
72243         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
72244         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
72245         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
72246         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
72247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
72248         file.
72249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
72250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
72251         file.
72252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
72253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
72254         file.
72255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
72256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
72257         file.
72258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
72259         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
72260         fmin/fmax sysdep routines.
72261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
72263 2012-03-14  David S. Miller  <davem@davemloft.net>
72265         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
72266         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
72267         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
72268         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
72269         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
72270         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
72271         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
72272         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
72273         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
72274         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
72275         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
72276         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
72277         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
72278         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
72279         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
72280         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
72281         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
72282         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
72283         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
72284         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
72285         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
72286         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
72287         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
72288         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
72289         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
72290         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
72291         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
72292         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
72293         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
72294         routines.
72295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
72296         file.
72297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
72298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
72299         file.
72300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
72301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
72302         file.
72303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
72304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
72305         file.
72306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
72307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
72308         file.
72309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
72310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
72311         file.
72312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
72313         file.
72314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
72315         file.
72316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
72317         file.
72318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
72319         New file.
72320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
72321         file.
72322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
72323         file.
72324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
72325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
72326         file.
72327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
72328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
72329         file.
72330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
72331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
72332         file.
72333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
72334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
72335         VIS3 routines.
72337         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
72338         New file.
72340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72342         * sysdeps/sparc/configure.in: New file.
72343         * sysdeps/sparc/configure: Generate.
72344         * configure.in (libc_cv_sparc_as_vis3): Substitute.
72345         * configure: Regenerate.
72346         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
72347         * config.make.in (have-as-vis3): New.
72348         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
72349         available use -Av9d instead of -Av9a.
72350         * sysdeps/sparc/sparc64/Makefile: Likewise.
72351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
72352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
72353         New file.
72354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
72355         file.
72356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
72357         New file.
72358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
72359         file.
72360         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
72361         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
72362         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
72363         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
72364         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
72366         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
72367         fzeros/fnegs to load 0x80000000 into a float register instead of
72368         using the stack.
72369         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
72371 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
72373         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72374         bits/syscall.h.
72375         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
72376         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
72377         ($(inst_includedir)/bits/syscall.h): Remove rule.
72378         ($(objpfx)bits/syscall.d): Include instead of
72379         $(objpfx)syscall-list.d.
72380         (generated): Change syscall-list.h and syscall-list.d to
72381         bits/syscall.h and bits/syscall.d.
72383 2012-03-14  Roland McGrath  <roland@hack.frob.com>
72385         [BZ #13846]
72386         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
72388 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
72390         [BZ #13841]
72391         * math/s_csqrt.c: Include <float.h>.
72392         (__csqrt): Scale large or subnormal inputs.
72393         * math/s_csqrtf.c: Likewise.
72394         * math/s_csqrtl.c: Likewise.
72395         * math/libm-test.inc (csqrt_test): Add more tests.
72396         * sysdeps/i386/fpu/libm-test-ulps: Update.
72397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72399         [BZ #13840]
72400         * math/libm-test.inc (hypot_test): Add more tests.
72402 2012-03-13  David S. Miller  <davem@davemloft.net>
72404         [BZ #13840]
72405         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
72406         double-precision for the calculation instead of scaling.
72408 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
72410         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
72411         manipulate bits before adding and subtracting TWO52[sx].
72412         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
72413         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
72414         Likewise.
72415         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
72417 2012-03-13  David S. Miller  <davem@davemloft.net>
72419         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
72420         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
72421         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
72422         rtld-global-offsets.h
72423         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72425         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
72426         large parameters.
72428         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
72430         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
72431         'err' in the ifdef scope in which it is actually used.
72433         * nss/nss_db/db-init.c: Include string.h
72435 2012-03-12  David S. Miller  <davem@davemloft.net>
72437         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
72438         masking out of the most significant byte of random value used.
72439         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72440         Fix coding style in previous change.
72442         * sysdeps/unix/sysv/linux/kernel-features.h
72443         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
72444         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
72445         expression.
72446         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
72447         later.
72449 2012-03-11  David S. Miller  <davem@davemloft.net>
72451         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
72452         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
72453         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
72454         for 'resultvar' otherwise things get truncated on 64-bit.
72456         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72457         Fix masking out of the most significant byte of random value used.
72459         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72461 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
72463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72465 2012-03-09  David S. Miller  <davem@davemloft.net>
72467         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
72468         variables with appropriate CPP guards.
72469         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
72470         from the frame pointer, not the stack pointer.  Correct layout
72471         comments.  Fix test on resulting framesize and the management of
72472         the outregs buffer for pltexit.  Preserve floating point return
72473         values across _dl_call_pltexit call.
72474         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
72475         framesize and the management of the outregs buffer for pltexit.
72476         Preserve floating point return values across _dl_call_pltexit
72477         call.
72478         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
72479         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
72480         (la_sparc64_gnu_pltexit): New functions.
72481         (print_exit): Fix format string for return register value.
72483 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
72485         * sunrpc/Makefile (others): Add rpcgen.
72486         ($(objpfx)rpcgen): Remove special build rule and dependency on
72487         libc.
72488         * sunrpc/rpcgen.c: New file.
72490 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
72492         [BZ #13673]
72493         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
72494         * stdio-common/bug-vfprintf-nargs.c: Likewise.
72495         * sysdeps/i386/crti.S: Likewise.
72496         * sysdeps/i386/crtn.S: Likewise.
72497         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
72498         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
72499         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
72500         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
72501         * sysdeps/sh/crti.S: Likewise.
72502         * sysdeps/sh/crtn.S: Likewise.
72503         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
72505         [BZ #13673]
72506         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
72507         with URL.
72508         * locale/programs/locfile-kw.gperf: Likewise.
72509         * locale/programs/charmap-kw.h: Regenerated.
72510         * locale/programs/locfile-kw.h: Likewise.
72512         [BZ #13673]
72513         * intl/plural.y: Replace FSF snail mail address with URL.
72514         * intl/plural.c: Regenerated.
72516 2012-03-09  Richard Henderson  <rth@twiddle.net>
72518         * include/math_private.h: Remove file.
72519         * math/math_private.h: Move file ...
72520         * sysdeps/generic/math_private.h: ... here.
72522         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
72523         * sysdeps/powerpc/fpu/math_private.h: Likewise.
72524         * sysdeps/x86_64/fpu/math_private.h: Likewise.
72526         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
72527         and <math_private.h>.
72528         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72529         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72530         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72531         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72532         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72533         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
72534         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72535         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72536         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72537         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72538         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72539         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72540         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72541         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72542         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72543         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72544         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72545         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72546         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72547         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72548         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72549         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72550         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72551         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72552         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
72553         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72554         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72555         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72556         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72557         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72558         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72559         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72560         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
72561         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
72562         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72563         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72564         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
72565         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72566         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72567         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72568         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
72569         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72570         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72571         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
72572         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
72573         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72574         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
72575         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
72576         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
72577         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72578         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
72579         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
72580         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
72581         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72582         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
72583         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
72584         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72585         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
72586         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
72587         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
72588         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72589         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
72590         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72591         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72592         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
72593         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72594         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72595         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72596         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
72597         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
72598         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
72599         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72600         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
72601         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72602         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
72603         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
72604         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
72605         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72606         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
72607         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
72608         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
72609         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
72610         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
72611         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
72612         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
72613         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
72614         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
72615         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
72616         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72617         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72618         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72619         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72620         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72621         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72622         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72623         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72624         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72625         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72626         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72627         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72628         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72629         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72630         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72631         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72632         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72633         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72634         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72635         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72636         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72637         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72638         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72639         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72640         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72641         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72642         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
72643         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72644         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72645         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72646         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72647         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
72648         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72649         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72650         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72651         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
72652         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72653         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72654         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72655         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
72656         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72657         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
72658         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
72659         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
72660         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72661         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
72662         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
72663         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72664         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
72665         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72666         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
72667         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
72668         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72669         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72670         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72671         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
72672         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
72673         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72674         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72675         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72676         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
72677         * sysdeps/ieee754/k_standard.c: Likewise.
72678         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72679         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72680         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72681         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72682         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72683         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72684         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72685         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72686         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72687         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72688         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72689         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72690         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72691         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72692         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72693         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72694         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
72695         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72696         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72697         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
72698         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
72699         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
72700         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
72701         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
72702         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
72703         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
72704         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
72705         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
72706         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
72707         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
72708         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
72709         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
72710         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
72711         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
72712         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
72713         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
72714         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
72715         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
72716         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
72717         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
72718         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
72719         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
72720         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
72721         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
72722         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
72723         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
72724         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
72725         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
72726         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
72727         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
72728         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
72729         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
72730         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
72731         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
72732         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
72733         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
72734         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
72735         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
72736         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
72737         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
72738         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
72739         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
72740         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
72741         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72742         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72743         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72744         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72745         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72746         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72747         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72748         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72749         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72750         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72751         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72752         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72753         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72754         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
72755         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72756         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72757         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
72758         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
72759         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
72760         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
72761         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
72762         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
72763         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
72764         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
72765         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
72766         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
72767         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
72768         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
72769         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
72770         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
72771         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
72772         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
72773         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
72774         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
72775         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
72776         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
72777         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
72778         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
72779         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
72780         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
72781         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
72782         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
72783         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
72784         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
72785         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
72786         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
72787         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
72788         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
72789         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
72790         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72791         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72792         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72793         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72794         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72795         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72796         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72797         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
72798         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72799         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
72800         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
72801         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
72802         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72803         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
72804         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
72805         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
72806         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
72807         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
72808         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
72809         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
72810         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
72811         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
72812         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
72813         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
72814         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
72815         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
72816         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
72817         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
72818         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
72819         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
72820         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
72821         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
72822         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72823         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
72824         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
72825         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
72826         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
72827         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
72828         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
72829         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
72830         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72831         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72832         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
72833         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
72834         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
72835         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72836         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72837         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
72838         * sysdeps/ieee754/s_lib_version.c: Likewise.
72839         * sysdeps/ieee754/s_matherr.c: Likewise.
72840         * sysdeps/ieee754/s_signgam.c: Likewise.
72841         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72842         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72843         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
72844         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
72845         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
72846         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
72847         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
72848         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
72849         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
72850         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
72851         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
72852         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
72853         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72854         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72855         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
72856         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
72857         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72858         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
72859         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72860         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72861         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72863 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
72865         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
72866         * sunrpc/rpc_main.c: Likewise.
72867         * sunrpc/rpc_svcout.c: Likewise.
72869 2012-03-09  David S. Miller  <davem@davemloft.net>
72871         * include/math_private.h: New file.
72873 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
72875         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
72876         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
72877         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
72878         from <bits/socket_type.h>.
72879         (enum __socket_type): Don't define here.
72880         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
72881         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72882         bits/socket_type.h.
72884         [BZ #13566]
72885         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
72886         checking __USE_GNU.
72888         * Makerules ($(inst_includedir)/%.h): New rule.
72889         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
72890         (install-others): Remove variable setting.
72891         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
72893 2012-03-08  Richard Henderson  <rth@twiddle.net>
72895         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
72896         from macro to inline function; merge with the
72897         !__LIBC_INTERNAL_MATH_INLINES version.
72898         (__ieee754_sqrtf): Likewise.
72900         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
72901         to inline function.
72902         (__rintf, __floor, __floorf): Likewise.
72904         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
72905         macro to inline function.
72906         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
72908         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
72909         not <math/math_private.h>.
72911 2012-03-08  David S. Miller  <davem@davemloft.net>
72913         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
72914         copyright year.
72915         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
72917 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
72919         * resolv/gai_misc.c (handle_requests): Fix struct timespec
72920         normalization.
72921         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
72922         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
72924 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
72926         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
72927         be defined individually, they must be defined as a block.  Define
72928         S for printing a string instead of hidint the different by using a
72929         macro for adding the 'l'.
72930         * stdio-common/tst-fphex-wide.c: Adjust.
72932 2012-03-07  Marek Polacek  <polacek@redhat.com>
72934         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
72936 2012-03-08  Marek Polacek  <polacek@redhat.com>
72938         [BZ #13806]
72939         * stdio-common/Makefile (tests): Add tst-fphex-wide.
72940         * stdio-common/tst-fphex.c: Define a few macros to make the
72941         test reusable.  Use them.
72942         * stdio-common/tst-fphex-wide.c: New file.
72944 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
72946         [BZ #6911]
72947         * manual/macros.texi (gnusystems): New macro.
72948         (nongnusystems): Likewise.
72949         (gnulinuxhurdsystems): Likewise.
72950         (gnuhurdsystems): Likewise..
72951         (gnulinuxsystems): Likewise.
72952         * manual/charset.texi: Use new macros or @theglibc{} to refer to
72953         variants of the GNU system, not "GNU system".
72954         * manual/conf.texi: Likewise.
72955         * manual/errno.texi: Likewise.  Update example of errno macro
72956         expansion.
72957         * manual/filesys.texi: Likewise.
72958         (getumask): Document as specific to GNU/Hurd.
72959         * manual/install.texi: Likewise.  Reword some references to
72960         GNU/Linux.
72961         * manual/intro.texi: Likewise.
72962         * manual/io.texi: Likewise.
72963         (File Name Portability): Detail which constraints are inapplicable
72964         to all GNU systems and which are only inapplicable to GNU/Hurd.
72965         * manual/job.texi: Likewise.
72966         * manual/llio.texi: Likewise.
72967         (O_NOCTTY): Document as present on GNU/Linux.
72968         * manual/maint.texi: Likewise.
72969         * manual/memory.texi: Likewise.
72970         * manual/pattern.texi: Likewise.
72971         * manual/pipe.texi: Likewise.
72972         * manual/process.texi: Likewise.
72973         * manual/resource.texi: Likewise.
72974         (RUSAGE_CHILDREN): Remove statement about specifying a particular
72975         child on GNU/Hurd.
72976         * manual/setjmp.texi: Likewise.
72977         * manual/signal.texi: Likewise.
72978         * manual/startup.texi: Likewise.
72979         * manual/stdio.texi: Likewise.
72980         * manual/terminal.texi: Likewise.
72981         (ONLCR): Document as POSIX.
72982         (OXTABS): Document availability on GNU/Linux as XTABS.
72983         (ONOEOT): Document availability separately from other bits.
72984         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
72985         * manual/time.texi: Likewise.
72986         * manual/users.texi: Likewise.
72987         * INSTALL: Regenerated.
72988         * sysdeps/gnu/errlist.c: Regenerated.
72990         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
72991         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
72992         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
72993         puts.
72994         * configure: Regenerated.
72996 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
72998         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
72999         default includes instead of AC_HEADER_CHECK.
73000         * sysdeps/i386/configure: Regenerated.
73002         [BZ #10716]
73003         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
73004         * math/s_cacoshf.c (__cacoshf): Likewise.
73005         * math/s_cacoshl.c (__cacoshl): Likewise.
73006         * math/s_casinh.c (__casinh): Set signs of result from argument.
73007         * math/s_casinhf.c (__casinhf): Likewise.
73008         * math/s_casinhl.c (__casinhl): Likewise.
73009         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
73010         (casinh_test): Add more tests.
73011         * sysdeps/i386/fpu/libm-test-ulps: Update.
73012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73014 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
73016         * po/zh_TW.po: Update from translation team.
73018         * login/Makefile (distribute): Remove variable.
73019         * catgets/Makefile: Likewise.
73020         * mach/Makefile: Likewise.
73021         * malloc/Makefile: Likewise.
73022         * misc/Makefile: Likewise.
73023         * iconv/Makefile: Likewise.
73024         * nscd/Makefile: Likewise.
73025         * hurd/Makefile: Likewise.
73026         * manual/Makefile: Likewise.
73027         * locale/Makefile: Likewise.
73028         * intl/Makefile: Likewise.
73029         * conform/Makefile: Likewise.
73030         * nss/Makefile: Likewise.
73031         * time/Makefile: Likewise.
73032         * soft-fp/Makefile: Likewise.
73033         * dirent/Makefile: Likewise.
73034         * gmon/Makefile: Likewise.
73035         * po/Makefile: Likewise.
73036         * rt/Makefile: Likewise.
73037         * socket/Makefile: Likewise.
73038         * math/Makefile: Likewise.
73039         * signal/Makefile: Likewise.
73040         * debug/Makefile: Likewise.
73041         * elf/Makefile: Likewise.
73042         * timezone/Makefile: Likewise.
73043         * stdlib/Makefile: Likewise.
73044         * iconvdata/Makefile: Likewise.
73045         * sunrpc/Makefile: Likewise.
73046         * io/Makefile: Likewise.
73047         * argp/Makefile: Likewise.
73048         * inet/Makefile: Likewise.
73049         * hesiod/Makefile: Likewise.
73050         * grp/Makefile: Likewise.
73051         * csu/Makefile: Likewise.
73052         * wctype/Makefile: Likewise.
73053         * crypt/Makefile: Likewise.
73054         * libio/Makefile: Likewise.
73055         * string/Makefile: Likewise.
73056         * nis/Makefile: Likewise.
73057         * resolv/Makefile: Likewise.
73058         * stdio-common/Makefile: Likewise.
73059         * wcsmbs/Makefile: Likewise.
73060         * dlfcn/Makefile: Likewise.
73061         * posix/Makefile: Likewise.
73063         [BZ #6959]
73064         * timezone/Makefile: Don't install timezone files, just the programs
73065         and scripts.
73067 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
73069         * nss/databases.def: Add missing gshadow entry.
73071         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
73073 2012-03-06  Marek Polacek  <polacek@redhat.com>
73075         [BZ #13726]
73076         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
73077         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
73078         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
73079         * stdio-common/tst-long-dbl-fphex.c: New file.
73081 2012-03-06  David S. Miller  <davem@davemloft.net>
73083         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73084         (set_obp_int): New function.
73085         (get_obp_int): New function.
73086         (__get_clockfreq_via_dev_openprom): Likewise.
73087         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
73088         Avoid unused variable warnings on 'val' and use builtin_expect.
73089         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
73090         __builtin_expect.
73091         (INLINE_CLONE_SYSCALL): Likewise.
73093 2012-03-05  David S. Miller  <davem@davemloft.net>
73095         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73097 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
73099         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73101         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
73102         only for |x| >= 40.
73103         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73105 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
73107         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
73108         Replace gettimeofday with __vdso_gettimeofday.
73110         * sysdeps/unix/sysv/linux/x86_64/init-first.c
73111         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
73112         __vdso_clock_gettime and __vdso_getcpu.
73114         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
73115         time with __vdso_time.
73117 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
73119         * manual/lang.texi (size_t): Note types to which size_t may be
73120         equivalent with the GNU C Library, but do not describe when
73121         differences between them are significant.
73123 2012-03-05  Andreas Jaeger  <aj@suse.de>
73125         * sysdeps/i386/fpu/libm-test-ulps: Update.
73127 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
73129         [BZ #3976]
73130         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
73131         (__ieee754_pow): Save and restore rounding mode and use
73132         round-to-nearest for main computations.
73133         * math/libm-test.inc (pow_test_tonearest): New function.
73134         (pow_test_towardzero): Likewise.
73135         (pow_test_downward): Likewise.
73136         (pow_test_upward): Likewise.
73137         (main): Call the new functions.
73138         * sysdeps/i386/fpu/libm-test-ulps: Update.
73139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73141         [BZ #3976]
73142         * math/libm-test.inc (cosh_test_tonearest): New function.
73143         (cosh_test_towardzero): Likewise.
73144         (cosh_test_downward): Likewise.
73145         (cosh_test_upward): Likewise.
73146         (sinh_test_tonearest): Likewise.
73147         (sinh_test_towardzero): Likewise.
73148         (sinh_test_downward): Likewise.
73149         (sinh_test_upward): Likewise.
73150         (main): Call the new functions.
73151         * sysdeps/i386/fpu/libm-test-ulps: Update.
73152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73154 2012-03-05  Tom de Vries  <tom@codesourcery.com>
73156         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
73157         default stack guard is set in last bytes.
73158         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
73160 2012-03-05  Kees Cook  <keescook@chromium.org>
73162         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
73164         [BZ #13656]
73165         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
73166         possibly allocate from heap instead of stack.
73167         * stdio-common/bug-vfprintf-nargs.c: New file.
73168         * stdio-common/Makefile (tests): Add nargs overflow test.
73170 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
73172         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73174 2012-03-03  Marek Polacek  <polacek@redhat.com>
73176         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
73177         * math/math_private.h: Likewise.
73178         * stdlib/tst-strtod.c: Likewise.
73179         * sysdeps/i386/i486/bits/atomic.h: Likewise.
73180         * sysdeps/x86_64/bits/atomic.h: Likewise.
73182 2012-03-02  David S. Miller  <davem@davemloft.net>
73184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
73185         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
73186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
73187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
73188         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
73189         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
73190         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
73191         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
73193 2012-03-02  Roland McGrath  <roland@hack.frob.com>
73195         [BZ #13792]
73196         * manual/examples/README: New file, says the example source files
73197         can be used under GPL>=2.
73198         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
73199         line containing just "*/".
73200         * manual/examples/add.c: Add copyright header (GPL>=2).
73201         * manual/examples/argp-ex1.c: Likewise.
73202         * manual/examples/argp-ex2.c: Likewise.
73203         * manual/examples/argp-ex3.c: Likewise.
73204         * manual/examples/argp-ex4.c: Likewise.
73205         * manual/examples/atexit.c: Likewise.
73206         * manual/examples/db.c: Likewise.
73207         * manual/examples/dir.c: Likewise.
73208         * manual/examples/dir2.c: Likewise.
73209         * manual/examples/execinfo.c: Likewise.
73210         * manual/examples/filecli.c: Likewise.
73211         * manual/examples/filesrv.c: Likewise.
73212         * manual/examples/fmtmsgexpl.c: Likewise.
73213         * manual/examples/genpass.c: Likewise.
73214         * manual/examples/inetcli.c: Likewise.
73215         * manual/examples/inetsrv.c: Likewise.
73216         * manual/examples/isockad.c: Likewise.
73217         * manual/examples/longopt.c: Likewise.
73218         * manual/examples/memopen.c: Likewise.
73219         * manual/examples/memstrm.c: Likewise.
73220         * manual/examples/mkfsock.c: Likewise.
73221         * manual/examples/mkisock.c: Likewise.
73222         * manual/examples/mygetpass.c: Likewise.
73223         * manual/examples/pipe.c: Likewise.
73224         * manual/examples/popen.c: Likewise.
73225         * manual/examples/rprintf.c: Likewise.
73226         * manual/examples/search.c: Likewise.
73227         * manual/examples/select.c: Likewise.
73228         * manual/examples/setjmp.c: Likewise.
73229         * manual/examples/sigh1.c: Likewise.
73230         * manual/examples/sigusr.c: Likewise.
73231         * manual/examples/stpcpy.c: Likewise.
73232         * manual/examples/strdupa.c: Likewise.
73233         * manual/examples/strftim.c: Likewise.
73234         * manual/examples/strncat.c: Likewise.
73235         * manual/examples/subopt.c: Likewise.
73236         * manual/examples/swapcontext.c: Likewise.
73237         * manual/examples/termios.c: Likewise.
73238         * manual/examples/testopt.c: Likewise.
73239         * manual/examples/testpass.c: Likewise.
73240         * manual/examples/timeval_subtract.c: Likewise.
73242         [BZ #13792]
73243         * manual/time.texi (Elapsed Time): Move timeval_subtract example
73244         function to ...
73245         * manual/timeval_subtract.c.texi: ... here, new file.
73247 2012-03-02  David S. Miller  <davem@davemloft.net>
73249         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
73251 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
73253         [BZ #3976]
73254         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
73255         (__sin): Save and restore rounding mode and use round-to-nearest
73256         for all computations.
73257         (__cos): Save and restore rounding mode and use round-to-nearest
73258         for all computations.
73259         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
73260         <fenv.h>.
73261         (tan): Save and restore rounding mode and use round-to-nearest for
73262         all computations.
73263         * math/libm-test.inc (cos_test_tonearest): New function.
73264         (cos_test_towardzero): Likewise.
73265         (cos_test_downward): Likewise.
73266         (cos_test_upward): Likewise.
73267         (sin_test_tonearest): Likewise.
73268         (sin_test_towardzero): Likewise.
73269         (sin_test_downward): Likewise.
73270         (sin_test_upward): Likewise.
73271         (tan_test_tonearest): Likewise.
73272         (tan_test_towardzero): Likewise.
73273         (tan_test_downward): Likewise.
73274         (tan_test_upward): Likewise.
73275         (main): Call the new functions.
73276         * sysdeps/i386/fpu/libm-test-ulps: Update.
73277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73279         [BZ #10135]
73280         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
73281         small n, then large n, before computing and testing k+n.
73282         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
73283         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
73284         Likewise.
73285         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
73286         Likewise.
73287         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
73288         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
73289         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
73290         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
73291         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
73292         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
73293         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
73294         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
73295         * math/libm-test.inc (scalbn_test): Add more tests.
73296         (scalbln_test): Likewise.
73298         * manual/filesys.texi (mode_t): Describe constraints on size and
73299         signedness, not exact equivalence to a particular type.
73300         (ino_t): Likewise.
73301         (ino64_t): Likewise.
73302         (dev_t): Likewise.
73303         (nlink_t): Likewise.
73304         (blkcnt_t): Likewise.
73305         (blkcnt64_t): Likewise.
73306         * manual/llio.texi (off_t): Likewise.
73308         [BZ #3976]
73309         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
73310         (__ieee754_exp): Save and restore rounding mode and use
73311         round-to-nearest for all computations.
73312         * math/libm-test.inc (exp_test_tonearest): New function.
73313         (exp_test_towardzero): Likewise.
73314         (exp_test_downward): Likewise.
73315         (exp_test_upward): Likewise.
73316         (main): Call the new functions.
73317         * sysdeps/i386/fpu/libm-test-ulps: Update.
73318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73320 2012-03-01  Chris Demetriou  <cgd@google.com>
73322         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
73323         have predictable order.
73325 2012-03-01  David S. Miller  <davem@davemloft.net>
73327         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
73329         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
73330         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
73331         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
73332         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
73334         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
73335         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
73336         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
73337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
73338         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
73339         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
73340         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
73341         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
73342         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
73344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73346         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
73347         * sysdeps/sparc/fpu/libm-test-ulps: to here.
73348         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
73350         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
73351         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
73352         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
73353         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
73354         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
73355         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
73356         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
73357         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
73358         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
73359         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
73360         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
73361         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
73362         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
73363         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
73364         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
73365         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73366         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
73367         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
73368         * sysdeps/sparc/elf/configure: Regenerated.
73370 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
73372         * configure.in (AS, LD): Require binutils 2.20 or later.
73373         * configure: Regenerated.
73374         * manual/install.texi (Tools for Compilation): Give binutils 2.20
73375         as required minimum version.
73376         * INSTALL: Regenerated.
73378         [BZ #2541]
73379         [BZ #4108]
73380         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
73381         before squaring exponent.
73382         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
73383         bottom long double and 27 bits of top long double before squaring
73384         exponent.
73385         * math/libm-test.inc (erfc_test): Add more tests.
73386         * sysdeps/i386/fpu/libm-test-ulps: Update.
73387         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73390 2012-03-01  Kai Tietz  <ktietz@redhat.com>
73392         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
73393         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
73394         containing bit-fields.
73395         * soft-fp/extended.h (_FP_UNION_E): Likewise.
73396         * soft-fp/single.h (_FP_UNION_S): Likewise.
73397         * soft-fp/double.h (_FP_UNION_D): Likewise.
73399 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
73401         [BZ #13786]
73402         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
73403         not include ../strcmp.S.
73404         [USE_AS_STRNCASECMP_L]: Likewise.
73405         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
73406         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
73407         * sysdeps/i386/i686/multiarch/strncase_l-c.c
73408         (__strncasecmp_l_ia32): Define as alias to
73409         __strncasecmp_l_nonascii.
73411         [BZ #5794]
73412         * math/libm-test.inc (expm1_test): Add test for bug 5794.
73413         * sysdeps/i386/fpu/libm-test-ulps: Update.
73414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73416         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
73417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73419 2012-02-29  Jeff Law  <law@redhat.com>
73421         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
73422         out of bounds read.
73424 2012-02-29  Marek Polacek  <polacek@redhat.com>
73426         [BZ #13706]
73427         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
73428         * elf/Makefile: Add rules to run tst-unused-dep.out.
73430 2012-02-28  David S. Miller  <davem@davemloft.net>
73432         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
73433         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
73434         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
73435         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
73436         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
73437         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
73439 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
73441         * math/libm-test.inc (llround_test): Move one test from
73442         lround_test.  Use TEST_f_L in moved test.
73443         (lround_test): Move misplaced test to llround_test.  Add testcase
73444         from bug 2561.
73446 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
73448         * sysdeps/x86_64/fpu/e_expf.S: New file.
73449         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
73451 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
73453         [BZ #13637]
73454         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
73455         of remain_len that may cause incomplete multi-byte character and
73456         false match.
73457         * posix/bug-regex33.c: New file.
73458         * posix/Makefile (tests): Add bug-regex33.
73460 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
73462         * manual/macros.texi: New file.
73463         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
73464         * manual/libc.texinfo: Include macros.texi.
73465         * manual/creatute.texi: Likewise.
73466         * manual/install.texi: Likewise.
73467         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
73468         @glibcadj{} in references to the GNU C Library.
73469         * manual/charset.texi: Likewise.
73470         * manual/conf.texi: Likewise.
73471         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
73472         when not using those macros.
73473         * manual/creature.texi: Likewise.
73474         * manual/crypt.texi: Likewise.
73475         * manual/errno.texi: Likewise.
73476         * manual/filesys.texi: Likewise.
73477         * manual/header.texi: Likewise.
73478         * manual/install.texi: Likewise.
73479         * manual/intro.texi: Likewise.
73480         * manual/io.texi: Likewise.
73481         * manual/job.texi: Likewise.
73482         * manual/lang.texi: Likewise.
73483         * manual/libc.texiinfo: Likewise.
73484         * manual/llio.texi: Likewise.
73485         * manual/locale.texi: Likewise.
73486         * manual/maint.texi: Likewise.
73487         * manual/math.texi: Likewise.
73488         * manual/memory.texi: Likewise.
73489         * manual/message.texi: Likewise.
73490         * manual/nss.texi: Likewise.
73491         * manual/pattern.texi: Likewise.
73492         * manual/process.texi: Likewise.
73493         * manual/resource.texi: Likewise.
73494         * manual/search.texi: Likewise.
73495         * manual/setjmp.texi: Likewise.
73496         * manual/signal.texi: Likewise.
73497         * manual/socket.texi: Likewise.
73498         * manual/startup.texi: Likewise.
73499         * manual/stdio.texi: Likewise.
73500         * manual/string.texi: Likewise.
73501         * manual/sysinfo.texi: Likewise.
73502         * manual/syslog.texi: Likewise.
73503         * manual/terminal.texi: Likewise.
73504         * manual/time.texi: Likewise.
73505         * manual/users.texi: Likewise.
73506         * INSTALL: Regenerated.
73507         * NOTES: Regenerated.
73508         * sysdeps/gnu/errlist.c: Regenerated.
73510 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
73512         * include/dirent.h: Include <dirstream.h> before
73513         <dirent/dirent.h>.
73515 2012-02-28  David S. Miller  <davem@davemloft.net>
73517         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
73518         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
73519         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
73520         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
73522 2012-02-27  David S. Miller  <davem@davemloft.net>
73524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
73525         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
73526         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
73527         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
73529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
73530         frame pointer instead of stack pointer relative arg slot.
73531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
73532         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
73533         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
73535 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
73537         [BZ #3992]
73538         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
73540 2012-02-27  David S. Miller  <davem@davemloft.net>
73542         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
73543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
73544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
73545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
73546         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
73547         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
73548         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
73549         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
73551 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
73553         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
73554         later.  Allow versions 5-9.
73555         * configure: Regenerated.
73556         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
73557         required minimum version and 4.6 as recommended version.  Do not
73558         mention bugs in GCC 2.7 and 2.8.
73559         * INSTALL: Regenerated.
73561 2012-02-27  David S. Miller  <davem@davemloft.net>
73563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
73564         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
73565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
73566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
73567         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
73568         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
73569         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
73570         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
73572         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
73573         manipulate bits before adding and subtracting TWO112[sx].
73574         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73576 2012-02-27  Roland McGrath  <roland@hack.frob.com>
73578         [BZ #13775]
73579         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
73580         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
73581         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
73582         being in POSIX, because they are in 1003.1-2008.
73584         * rt/tst-aio.c: Include <fcntl.h>.
73585         * rt/tst-aio7.c: Likewise.
73586         * rt/tst-aio64.c: Likewise.
73588         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
73590 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
73592         * manual/install.texi (--with-headers): Describe headers as
73593         interface headers, not private headers.
73594         (Specific advice for GNU/Linux systems): Describe use of headers
73595         from "make headers_install", not private headers from older
73596         kernels.
73597         * INSTALL: Regenerated.
73598         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
73599         Change to 2.6.19.
73600         * sysdeps/unix/sysv/linux/configure: Regenerated.
73602         * manual/llio.texi (fclean): Remove documentation.
73604         * manual/Makefile (libc-texi-generated): New variable.  Include
73605         version.texi.
73606         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
73607         $(libc-texi-generated), not duplicated list of files.
73608         (version.texi, stamp-version): New rules.
73609         (realclean): Remove $(libc-texi-generated), not individual files
73610         from that list.  Do not remove dir-add.texinfo.
73611         * manual/libc.texinfo: Comment out uses of edition numbers and
73612         references to printed manual.  Remove last-updated dates.
73613         (EDITION): Comment out.
73614         (ISBN): Likewise.
73615         (VERSION, UPDATED): Remove.
73616         (version.texi): Include.
73618 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
73620         * sysdeps/posix/spawni.c: Include <signal.h>.
73621         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
73622         * sysdeps/pthread/aio_fsync.c: Likewise.
73624 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
73626         * conform/Makefile (tests): Run only when not cross-compiling and
73627         when fast-check is not defined.
73629         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
73630         * conform/data/limits.h-data: Fixes for POSIX2008.
73631         * conform/run-conformtest.sh: Run all tests.
73632         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
73633         headers.
73634         * include/bits/dlfcn.h: Likewise.
73635         * include/langinfo.h: Likewise.
73636         * include/monetary.h: Likewise.
73637         * include/sys/poll.h: Likewise.
73639         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
73640         for __USE_GNU.
73641         * posix/spawn.h: Define __need_sigset_t.
73642         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
73643         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
73644         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
73645         to get sigevent_t only.
73646         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
73647         only for __USE_GNU.
73648         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73649         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
73650         process_vm_writev only for __USE_GNU.
73651         * termios/termios.h: Declare tcgetsid also for POSIX2008.
73653         * conform/Makefile: For now ignore errors from run-conformtest.
73654         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
73655         POSIX to avoid namespace pollution.  Don't prepend headers.
73656         * conform/data/aio.h-data: Fixes for POSIX testing.
73657         * conform/data/fcntl.h-data: Likewise.
73658         * conform/data/glob.h-data: Likewise.
73659         * conform/data/grp.h-data: Likewise.
73660         * conform/data/pthread.h-data: Likewise.
73661         * conform/data/pwd.h-data: Likewise.
73662         * conform/data/signal.h-data: Likewise.
73663         * conform/data/spawn.h-data: Likewise.
73664         * conform/data/stdio.h-data: Likewise.
73665         * conform/data/stdlib.h-data: Likewise.
73666         * conform/data/stropts.h-data: Likewise.
73667         * conform/data/sys/mman.h-data: Likewise.
73668         * conform/data/sys/stat.h-data: Likewise.
73669         * conform/data/sys/types.h-data: Likewise.
73670         * conform/data/sys/wait.h-data: Likewise.
73671         * conform/data/time.h-data: Likewise.
73672         * conform/data/unistd.h-data: Likewise.
73673         * conform/data/utime.h-data: Likewise.
73675         * io/sys/stat.h: fchmod was always in POSIX.
73676         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
73677         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
73678         * rt/aio.h: Define __need_timespec before including <time.h>.
73679         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
73680         struct.  Add forward declaration of pthread_attr_t and use it in
73681         sigevent.
73682         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
73683         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
73684         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
73685         always remove CLK_TCK definition.
73687 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
73689         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
73691 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
73693         * conform/run-conformtest.sh: New file.
73694         * conform/Makefile: Run run-conformtest for tests.
73695         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
73696         support.
73698         * conform/data/uchar.h-data: New file.
73699         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
73700         * conform/data/arpa/inet.h-data: Likewise.
73701         * conform/data/assert.h-data: Likewise.
73702         * conform/data/complex.h-data: Likewise.
73703         * conform/data/cpio.h-data: Likewise.
73704         * conform/data/ctype.h-data: Likewise.
73705         * conform/data/dirent.h-data: Likewise.
73706         * conform/data/dlfcn.h-data: Likewise.
73707         * conform/data/errno.h-data: Likewise.
73708         * conform/data/fcntl.h-data: Likewise.
73709         * conform/data/float.h-data: Likewise.
73710         * conform/data/fmtmsg.h-data: Likewise.
73711         * conform/data/fnmatch.h-data: Likewise.
73712         * conform/data/ftw.h-data: Likewise.
73713         * conform/data/glob.h-data: Likewise.
73714         * conform/data/grp.h-data: Likewise.
73715         * conform/data/iconv.h-data: Likewise.
73716         * conform/data/inttypes.h-data: Likewise.
73717         * conform/data/langinfo.h-data: Likewise.
73718         * conform/data/libgen.h-data: Likewise.
73719         * conform/data/limits.h-data: Likewise.
73720         * conform/data/locale.h-data: Likewise.
73721         * conform/data/math.h-data: Likewise.
73722         * conform/data/monetary.h-data: Likewise.
73723         * conform/data/mqueue.h-data: Likewise.
73724         * conform/data/ndbm.h-data: Likewise.
73725         * conform/data/net/if.h-data: Likewise.
73726         * conform/data/netdb.h-data: Likewise.
73727         * conform/data/netinet/in.h-data: Likewise.
73728         * conform/data/nl_types.h-data: Likewise.
73729         * conform/data/poll.h-data: Likewise.
73730         * conform/data/pthread.h-data: Likewise.
73731         * conform/data/pwd.h-data: Likewise.
73732         * conform/data/regex.h-data: Likewise.
73733         * conform/data/sched.h-data: Likewise.
73734         * conform/data/search.h-data: Likewise.
73735         * conform/data/semaphore.h-data: Likewise.
73736         * conform/data/setjmp.h-data: Likewise.
73737         * conform/data/signal.h-data: Likewise.
73738         * conform/data/spawn.h-data: Likewise.
73739         * conform/data/stdarg.h-data: Likewise.
73740         * conform/data/stdio.h-data: Likewise.
73741         * conform/data/stdlib.h-data: Likewise.
73742         * conform/data/string.h-data: Likewise.
73743         * conform/data/strings.h-data: Likewise.
73744         * conform/data/stropts.h-data: Likewise.
73745         * conform/data/sys/ipc.h-data: Likewise.
73746         * conform/data/sys/mman.h-data: Likewise.
73747         * conform/data/sys/msg.h-data: Likewise.
73748         * conform/data/sys/resource.h-data: Likewise.
73749         * conform/data/sys/select.h-data: Likewise.
73750         * conform/data/sys/sem.h-data: Likewise.
73751         * conform/data/sys/shm.h-data: Likewise.
73752         * conform/data/sys/socket.h-data: Likewise.
73753         * conform/data/sys/stat.h-data: Likewise.
73754         * conform/data/sys/statvfs.h-data: Likewise.
73755         * conform/data/sys/time.h-data: Likewise.
73756         * conform/data/sys/timeb.h-data: Likewise.
73757         * conform/data/sys/times.h-data: Likewise.
73758         * conform/data/sys/types.h-data: Likewise.
73759         * conform/data/sys/uio.h-data: Likewise.
73760         * conform/data/sys/un.h-data: Likewise.
73761         * conform/data/sys/utsname.h-data: Likewise.
73762         * conform/data/sys/wait.h-data: Likewise.
73763         * conform/data/syslog.h-data: Likewise.
73764         * conform/data/tar.h-data: Likewise.
73765         * conform/data/termios.h-data: Likewise.
73766         * conform/data/utime.h-data: Likewise.
73767         * conform/data/utmpx.h-data: Likewise.
73768         * conform/data/varargs.h-data: Likewise.
73769         * conform/data/wchar.h-data: Likewise.
73770         * conform/data/wctype.h-data: Likewise.
73771         * conform/data/wordexp.h-data: Likewise.
73773         * include/stropts.h: New file.
73774         * include/uchar.h: New file.
73775         * include/aio.h: Changes to allow conformtest.pl to use the headers.
73776         * include/assert.h: Likewise.
73777         * include/ctype.h: Likewise.
73778         * include/dirent.h: Likewise.
73779         * include/dlfcn.h: Likewise.
73780         * include/fcntl.h: Likewise.
73781         * include/fnmatch.h: Likewise.
73782         * include/glob.h: Likewise.
73783         * include/grp.h: Likewise.
73784         * include/libio.h: Likewise.
73785         * include/locale.h: Likewise.
73786         * include/math.h: Likewise.
73787         * include/net/if.h: Likewise.
73788         * include/netdb.h: Likewise.
73789         * include/netinet/in.h: Likewise.
73790         * include/pthread.h: Likewise.
73791         * include/pwd.h: Likewise.
73792         * include/regex.h: Likewise.
73793         * include/sched.h: Likewise.
73794         * include/search.h: Likewise.
73795         * include/setjmp.h: Likewise.
73796         * include/signal.h: Likewise.
73797         * include/stdio.h: Likewise.
73798         * include/stdlib.h: Likewise.
73799         * include/string.h: Likewise.
73800         * include/sys/cdefs.h: Likewise.
73801         * include/sys/mman.h: Likewise.
73802         * include/sys/msg.h: Likewise.
73803         * include/sys/resource.h: Likewise.
73804         * include/sys/select.h: Likewise.
73805         * include/sys/socket.h: Likewise.
73806         * include/sys/stat.h: Likewise.
73807         * include/sys/statvfs.h: Likewise.
73808         * include/sys/time.h: Likewise.
73809         * include/sys/times.h: Likewise.
73810         * include/sys/uio.h: Likewise.
73811         * include/sys/utsname.h: Likewise.
73812         * include/sys/wait.h: Likewise.
73813         * include/termios.h: Likewise.
73814         * include/time.h: Likewise.
73815         * include/ulimit.h: Likewise.
73816         * include/unistd.h: Likewise.
73817         * include/utime.h: Likewise.
73818         * include/wchar.h: Likewise.
73819         * include/wctype.h: Likewise.
73820         * include/wordexp.h: Likewise.
73822         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
73824         * time/time.h: TIME_UTC must be a macro.
73825         Make timespec_get available for ISO C11 only as well.
73827 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
73829         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
73830         Reported by Peng Haitao <penght@cn.fujitsu.com>.
73832 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
73834         * configure.in: Use -o not -a in test for unsupported multi-arch.
73836 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
73838         * manual/texinfo.tex: Update to version 2012-01-19.16.
73840 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
73842         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
73844 2012-02-24  Roland McGrath  <roland@hack.frob.com>
73846         [BZ #13738]
73847         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
73848         * manual/fdl-1.3.texi: New file.
73849         * manual/fdl-1.1.texi: File removed.
73851         [BZ #13738]
73852         * manual/libc.texinfo (FDL_VERSION): New @set.
73853         Use it for mention of FDL in cover text.
73854         (Documentation License): Use it in @include file name.
73856 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73857             Roland McGrath  <roland@hack.frob.com>
73859         [BZ #5461]
73860         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
73861         (not LONG_LONG_MAX and LONG_LONG_MIN.
73862         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
73863         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
73864         name.
73865         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
73867 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73869         [BZ #2547]
73870         [BZ #11365]
73871         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
73872         manipulate bits before adding and subtracting TWO23[sx].
73873         * math/libm-test.inc (nearbyint_test): Add more tests.
73875 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73877         [BZ #2548]
73878         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
73879         bits before adding and subtracting TWO23[sx].
73880         * math/libm-test.inc (rint_test): Add more tests.
73881         (rint_test_tonearest): Likewise.
73882         (rint_test_towardzero): Likewise.
73883         (rint_test_downward): Likewise.
73884         (rint_test_upward: Likewise.
73886 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73888         [BZ #10110]
73889         * include/stdc-predef.h: New file.  Extracted from features.h.
73890         * include/features.h: Include stdc-predef.h.
73891         * Makefile (headers): Add stdc-predef.h.
73892         * CONFORMANCE (Compiler limitations): Update.
73894 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73896         * manual/libc.texinfo (VERSION, UPDATED): Revert.
73898 2012-02-21  David S. Miller  <davem@davemloft.net>
73900         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
73901         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
73903 2012-02-20  David S. Miller  <davem@davemloft.net>
73905         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
73906         using a normal save/restore sequence, rather than allocating a
73907         dummy stack frame just to store a frame pointer and restore.
73908         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
73910 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73912         * manual/install.texi: Fix stray word in line-wrapped comment.
73914 2012-02-20  David S. Miller  <davem@davemloft.net>
73916         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
73917         both binutils and gcc support GOTDATA.
73919         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
73920         "rd %pc" in the PIC register setup sequences.
73922         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
73923         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
73924         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
73925         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
73926         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
73927         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
73928         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73929         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
73930         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
73931         (SYSCALL_ERROR_HANDLER): Likewise.
73932         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
73933         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
73934         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
73935         (SYSCALL_ERROR_HANDLER): Likewise.
73937         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
73938         (HAVE_GCC_GOTDATA): New.
73939         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
73940         relocation support in both binutils and gcc.
73941         * sysdeps/sparc/elf/configure: Regenerate.
73943         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
73944         * sysdeps/sparc/sparc32/elf/configure: Delete.
73945         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
73946         * sysdeps/sparc/sparc64/elf/configure: Delete.
73947         * sysdeps/sparc/elf/configure.in: New file.
73948         * sysdeps/sparc/elf/configure: Generate.
73950         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
73951         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
73952         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
73953         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
73954         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
73956 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73958         * manual/install.texi: Do not mention specific glibc version
73959         numbers.
73960         * manual/libc.texinfo (VERSION, UPDATED): Update.
73961         (@copying): Use @copyright{} and range of years.
73963 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73965         [BZ #13695]
73966         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
73967         [crti.S not in sysdirs] (generated): Do not append.
73968         [crti.S not in sysdirs] (omit-deps): Likewise.
73969         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
73970         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
73971         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
73972         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
73973         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
73974         Likewise.
73975         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
73976         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
73977         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
73978         * csu/defs.awk: Remove file.
73979         * sysdeps/generic/initfini.c: Likewise.
73980         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
73981         variable.
73982         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
73983         Likewise.
73985 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73987         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
73988         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
73989         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
73990         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
73991         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73992         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
73993         <bits/epoll.h>.
73994         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
73995         (__EPOLL_PACKED): Define to empty if not defined by
73996         <bits/epoll.h>.
73997         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
73998         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73999         bits/epoll.h.
74001 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
74003         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
74004         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
74005         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
74006         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
74007         <bits/timerfd.h>.
74008         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
74009         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74010         bits/timerfd.h.
74012 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
74014         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
74015         in C locale.
74016         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74017         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
74018         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
74019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74021 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
74023         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74024         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
74026 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
74028         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
74029         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
74030         defined.
74031         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
74032         Likewise.
74033         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
74034         entry for 2.16.
74036 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
74038         * math/w_acos.c: Use non-signaling floating-point comparisons.
74039         * math/w_acosf.c: Likewise.
74040         * math/w_acosh.c: Likewise.
74041         * math/w_acoshf.c: Likewise.
74042         * math/w_acoshl.c: Likewise.
74043         * math/w_acosl.c: Likewise.
74044         * math/w_asin.c: Likewise.
74045         * math/w_asinf.c: Likewise.
74046         * math/w_asinl.c: Likewise.
74047         * math/w_atanh.c: Likewise.
74048         * math/w_atanhf.c: Likewise.
74049         * math/w_atanhl.c: Likewise.
74050         * math/w_exp2.c: Likewise.
74051         * math/w_exp2f.c: Likewise.
74052         * math/w_exp2l.c: Likewise.
74053         * math/w_j0.c: Likewise.
74054         * math/w_j0f.c: Likewise.
74055         * math/w_j0l.c: Likewise.
74056         * math/w_j1.c: Likewise.
74057         * math/w_j1f.c: Likewise.
74058         * math/w_j1l.c: Likewise.
74059         * math/w_jn.c: Likewise.
74060         * math/w_jnf.c: Likewise.
74061         * math/w_log.c: Likewise.
74062         * math/w_log10.c: Likewise.
74063         * math/w_log10f.c: Likewise.
74064         * math/w_log10l.c: Likewise.
74065         * math/w_log2.c: Likewise.
74066         * math/w_log2f.c: Likewise.
74067         * math/w_log2l.c: Likewise.
74068         * math/w_logf.c: Likewise.
74069         * math/w_logl.c: Likewise.
74070         * math/w_sqrt.c: Likewise.
74071         * math/w_sqrtf.c: Likewise.
74072         * math/w_sqrtl.c: Likewise.
74073         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74074         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
74075         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74076         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74077         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74079 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
74081         [BZ #9739]
74082         * manual/string.texi (strnlen): Use correct parameter name in
74083         equivalent expression.
74085 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
74087         [BZ #11174]
74088         * manual/users.texi (seteuid): Consistently use neweuid for
74089         argument name.
74091 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
74093         [BZ #13704]
74094         * manual/nss.texi (Services in the NSS configuration): Correct
74095         list of services in example configuration file.
74097 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
74099         [BZ #11322]
74100         * manual/arith.texi: Remove statements about negative zero
74101         behaving identically to zero.
74103 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
74105         [BZ #5993]
74106         * manual/install.texi: Do not document upgrading from libc5.
74108 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
74110         [BZ #4596]
74111         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
74113 2012-02-18  David S. Miller  <davem@davemloft.net>
74115         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
74116         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
74117         %o7 across the call.
74118         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
74119         instead.
74120         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
74121         SETUP_PIC_REG_LEAF.
74122         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74123         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
74124         * sysdeps/sparc/crtn.S: Likewise.
74126 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
74128         * aout/Makefile: Remove.
74130 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
74132         [BZ #13058]
74133         * manual/examples/argp-ex1.c (main): Format definition in GNU
74134         style.
74135         * manual/examples/argp-ex2.c (main): Likewise.
74136         * manual/examples/argp-ex3.c (main): Likewise.
74137         * manual/examples/argp-ex4.c (main): Likewise.
74138         * manual/examples/longopt.c (main): Use new-style prototype
74139         definition.
74140         * manual/examples/strncat.c (main): Specify return type and use
74141         (void) for arguments.
74142         * manual/examples/subopt.c (main): Use char **argv argument.
74144 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74146         [BZ #5077]
74147         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
74148         rounding modes.
74150 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
74152         [BZ #6907]
74153         * manual/string.texi (strchr): Change when strchrnul is
74154         recommended.
74156 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
74158         [BZ #174]
74159         * manual/locale.texi (setlocale): Document LOCPATH.
74161 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74163         [BZ #10210]
74164         * manual/process.texi (execle): Move @dots{} before last argument.
74166 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
74168         [BZ #12047]
74169         * manual/charset.texi (Generic Charset Conversion): Fix typo
74170         (LC_TYPE -> LC_CTYPE).
74172 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
74174         [BZ #5805]
74175         * manual/arith.texi (scalbn): Use @var{} on parameter names.
74176         (scalbnf): Likewise.
74177         (scalbnl): Likewise.
74178         (scalbln): Likewise.
74179         (scalblnf): Likewise.
74180         (scalblnl): Likewise.
74181         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
74182         (vwarnx): Likewise.
74183         (verr): Likewise.
74184         (verrx): Likewise.
74185         * manual/filesys.texi (telldir): Use braces around return type.
74186         * manual/llio.texi (mmap): Add space after comma.
74187         (mmap64): Likewise.
74188         * manual/math.texi (jn): Use @var{} on parameter names.
74189         (jnf): Likewise.
74190         (jnl): Likewise.
74191         (yn): Likewise.
74192         (ynf): Likewise.
74193         (ynl): Likewise.
74194         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
74195         line.
74196         * manual/resource.texi (ulimit): Use @dots{} instead of literal
74197         "...".
74198         (sched_get_priority_min): Remove semicolon on @deftypefun line.
74199         (sched_get_priority_max): Likewise.
74200         * manual/signal.texi (sigvec): Add space after comma.
74201         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
74202         names.
74203         (if_indextoname): Likewise.
74204         (if_freenameindex): Likewise.
74205         (sendto): Use ',' instead of '.' in prototype.
74206         * manual/startup.texi (syscall): Use @dots{} instead of literal
74207         "...".
74208         * manual/stdio.texi (__fpending): Separate initial words of
74209         paragraph from @deftypefun line.
74210         * manual/syslog.texi (syslog): Use @dots{} instead of literal
74211         "...".
74212         (vsyslog): Use @var{} on parameter names.
74213         * manual/terminal.texi (stty): Use @var{} on parameter names.
74214         * manual/users.texi (getutmp): Use @var{} on parameter names.
74215         (getutmpx): Likewise.
74217 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74219         [BZ #6884]
74220         * manual/stdio.texi (fopen): Fix typos in description of
74221         ",ccs=STRING".
74223 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
74225         [BZ #4026]
74226         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
74227         get clock_id definition.
74229 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
74231         [BZ #4822]
74232         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
74233         (madvise): Cast every argument to void on its own.
74235 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74237         [BZ #9902]
74238         * manual/startup.texi (Exit Status): Fix typo.
74240 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
74242         [BZ #10140]
74243         * manual/examples/argp-ex1.c: Include <stdlib.h>.
74244         * manual/examples/argp-ex2.c: Likewise.
74245         * manual/examples/argp-ex3.c: Likewise.
74247 2012-02-16  Richard Henderson  <rth@redhat.com>
74249         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
74250         * sysdeps/s390/s390-32/initfini.c: Remove.
74251         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
74252         * sysdeps/s390/s390-64/initfini.c: Remove.
74254 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74256         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
74257         compiler output for sysdeps/generic/initfini.c.
74258         * sysdeps/sh/elf/initfini.c: Remove file.
74260 2012-02-16  David S. Miller  <davem@davemloft.net>
74262         [BZ #11494]
74263         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
74265         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
74266         * sysdeps/sparc/crti.S: New file.
74267         * sysdeps/sparc/crtn.S: New file.
74268         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
74269         * sysdeps/sparc/sparc64/Makefile: Likewise.
74271 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
74273         [BZ #3335]
74274         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
74276 2012-02-15  Roland McGrath  <roland@hack.frob.com>
74278         [BZ #4822]
74279         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
74281         * mach/devstream.c (cookie_io_functions_t): Macro removed.
74282         (write, read, close): Likewise.
74283         Patch by Aurelien Jarno <aurelien@aurel32.net>.
74285 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
74287         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
74288         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
74289         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
74290         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
74291         <bits/signalfd.h>.
74292         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
74293         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74294         bits/signalfd.h.
74296 2012-02-14  Marek Polacek  <polacek@redhat.com>
74298         * sysdeps/x86_64/crti.S: New file.
74299         * sysdeps/x86_64/crtn.S: New file.
74300         * sysdeps/x86_64/elf/initfini.c: Remove file.
74302 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
74304         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
74305         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
74306         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
74307         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
74308         <bits/inotify.h>.
74309         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
74310         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74311         bits/inotify.h.
74313 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
74315         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
74316         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
74317         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
74318         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
74319         <bits/eventfd.h>.
74320         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
74321         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74322         bits/eventfd.h.
74324 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
74326         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
74327         __feraiseexcept instead of feraiseexcept.
74329         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
74330         nanosleep invocations.
74331         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
74332         strings, and add error checking for a nanosleep invocations.
74334 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
74336         Replace FSF snail mail address with URLs, as per GNU coding standards.
74337         Most of the snail mail addresses were wrong anyway, and omitting
74338         them makes the source code easier to maintain.  Almost all of the
74339         changes are to license notices and to locale LC_IDENTIFICATION
74340         addresses, except for this one:
74341         * manual/libc.texinfo: In "Published by", give the FSF's URL,
74342         not its snail mail address.
74344 2012-02-09  Richard Henderson  <rth@twiddle.net>
74346         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
74347         of kernel-features.h.
74349         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
74351 2012-02-08  Marek Polacek  <polacek@redhat.com>
74353         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
74354         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
74355         * sysdeps/gnu/_G_config.h: Likewise.
74356         * sysdeps/generic/_G_config.h: Likewise.
74358 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
74360         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
74361         tests.
74362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74364         * sysdeps/powerpc/powerpc32/crti.S: New file.
74365         * sysdeps/powerpc/powerpc32/crtn.S: New file.
74366         * sysdeps/powerpc/powerpc64/crti.S: New file.
74367         * sysdeps/powerpc/powerpc64/crtn.S: New file.
74369         * Makeconfig (have-initfini): Don't set.
74370         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
74371         * configure.in (nopic_initfini): Don't substitute.
74372         * config.h.in (HAVE_INITFINI): Don't #undef.
74373         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
74374         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
74376 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
74378         Support crti.S and crtn.S provided directly by architectures.
74379         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
74380         [crti.S in sysdirs] (omit-deps): Likewise.
74381         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
74382         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
74383         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
74384         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
74385         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
74386         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
74387         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
74388         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
74389         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
74390         compiler output for sysdeps/generic/initfini.c.
74391         * sysdeps/i386/elf/Makefile: Remove file.
74392         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
74394 2012-02-07  Marek Polacek  <polacek@redhat.com>
74396         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
74397         * sysdeps/gnu/_G_config.h: Likewise.
74398         * sysdeps/mach/hurd/_G_config.h: Likewise.
74400 2012-02-07  Marek Polacek  <polacek@redhat.com>
74402         * math/Makefile (tests): Add tst-CMPLX2.
74403         * math/tst-CMPLX2.c: New file.
74405 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
74407         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74409         * math/libm-test.inc (jn_test): Add missing L suffix.
74411 2012-02-06  Marek Polacek  <polacek@redhat.com>
74413         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
74414         * sysdeps/i386/fpu/e_powf.S: Likewise.
74415         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74416         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
74417         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74418         * sysdeps/i386/fpu/e_pow.S: Likewise.
74419         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
74420         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74421         * sysdeps/i386/fpu/s_expm1.S: Likewise.
74422         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
74423         * sysdeps/i386/fpu/e_log2.S: Likewise.
74424         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74425         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74426         * sysdeps/i386/fpu/e_powl.S: Likewise.
74427         * sysdeps/i386/fpu/s_log1p.S: Likewise.
74428         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74429         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
74430         * sysdeps/i386/fpu/e_logl.S: Likewise.
74431         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
74432         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
74433         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
74434         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
74435         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74436         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74437         * sysdeps/i386/fpu/e_log.S: Likewise.
74438         * sysdeps/i386/fpu/s_cexp.S: Likewise.
74439         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74440         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
74441         * sysdeps/i386/fpu/e_logf.S: Likewise.
74442         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74443         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74444         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
74445         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
74446         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
74447         * sysdeps/i386/fpu/e_log10.S: Likewise.
74448         * sysdeps/i386/fpu/s_frexp.S: Likewise.
74449         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74450         * sysdeps/i386/fpu/s_asinh.S: Likewise.
74451         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
74452         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74453         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
74454         * sysdeps/i386/asm-syntax.h: Likewise.
74455         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74456         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74457         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74458         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
74459         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
74460         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74461         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
74462         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
74463         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74464         * sysdeps/powerpc/sysdep.h: Likewise.
74465         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
74466         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
74468 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
74470         [BZ #411]
74471         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
74473 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
74475         * sysdeps/i386/sysdep.h: Include <features.h>.
74476         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
74477         version.
74479 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
74481         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
74482         Define.
74483         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
74484         LOAD_PIC_REG_STR.
74486 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74488         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
74489         (SETUP_PIC_REG): Use GET_PC_THUNK.
74490         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
74491         macro.
74493 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74495         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
74496         for non-PIC compilation.
74497         (SETUP_PIC_REG): Add .p2align directive.
74498         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
74499         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
74500         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
74501         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
74502         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
74503         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
74504         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
74505         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
74506         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
74507         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
74508         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
74509         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
74510         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
74511         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
74512         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
74513         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
74514         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
74515         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
74516         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
74517         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
74518         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
74519         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
74520         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
74521         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
74522         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
74523         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
74524         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74525         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
74526         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
74527         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
74528         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
74529         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74530         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
74531         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
74532         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
74533         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
74534         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
74535         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
74536         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
74537         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
74538         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
74540 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74542         * math/tst-CMPLX.c: Include <stdio.h>.
74544 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
74546         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
74547         float.
74548         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
74549         * sysdeps/sparc/bits/mathdef.h: Likewise.
74551 2012-01-31  Marek Polacek  <polacek@redhat.com>
74553         * libio/libio.h: Don't define _PARAMS.
74554         * locale/programs/config.h: Don't define PARAMS.
74555         * stdlib/strtol_l.c: Likewise.
74556         (__strtol_l): Remove PARAMS from the prototype.
74558 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
74560         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
74561         names.  Just use the correct names.  Remove unnecessary wrapper
74562         functions.
74563         * malloc/arena.c: Likewise.
74564         * malloc/hooks.c: Likewise.
74566         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
74567         ARENA_TEST says not to.  Simplify test for creation of a new arena.
74568         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
74570 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
74572         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
74573         into tail calls.
74574         (update_get_addr): New function.
74575         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
74576         GET_ADDR_MODULE parameter.
74578 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
74580         * crypt/cert.c: Remove __STDC__ conditionals.
74581         * crypt/crypt-entry.c: Likewise.
74582         * crypt/crypt_util.c: Likewise.
74583         * libio/filedoalloc.c: Likewise.
74584         * libio/fileops.c: Likewise.
74585         * libio/genops.c: Likewise.
74586         * libio/iofclose.c: Likewise.
74587         * libio/iofdopen.c: Likewise.
74588         * libio/iofopen.c: Likewise.
74589         * libio/iofopen64.c: Likewise.
74590         * libio/iogetdelim.c: Likewise.
74591         * libio/iopopen.c: Likewise.
74592         * libio/obprintf.c: Likewise.
74593         * libio/oldfileops.c: Likewise.
74594         * libio/oldiofclose.c: Likewise.
74595         * libio/oldiofdopen.c: Likewise.
74596         * libio/oldiofopen.c: Likewise.
74597         * libio/oldiopopen.c: Likewise.
74598         * libio/wfiledoalloc.c: Likewise.
74599         * libio/wgenops.c: Likewise.
74600         * locale/programs/xmalloc.c: Likewise.
74601         * misc/syslog.c: Likewise.
74602         * stdio-common/xbug.c: Likewise.
74603         * string/memchr.c: Likewise.
74604         * string/memcmp.c: Likewise.
74605         * string/memrchr.c: Likewise.
74606         * string/rawmemchr.c: Likewise.
74607         * sysdeps/posix/getcwd.c: Likewise.
74608         * time/strftime_l.c: Likewise.
74610 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
74612         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
74613         * config.make.in (config-cflags-sse2avx): Define.
74614         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
74615         Fix typo.
74617 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
74619         * scripts/config.guess: Update from upstream config git repository.
74620         * scripts/config.sub: Likewise.
74622 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
74624         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
74625         (EM_NUM): Update.
74626         (R_TILEPRO_*, R_TILEGX_*): New macros.
74628         * scripts/firstversions.awk: Fix bug in version range handling.
74630         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
74632         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
74634         * include/sys/epoll.h: New file.
74635         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
74636         libc_hidden_def.
74638 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
74640         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
74641         Avoid unnecessary __WORDSIZE == 64 test.
74642         (fmaxf): Use VEX format if possible.
74643         (fmax): Likewise.
74644         (fminf): Likewise.
74645         (fmin): Likewise.
74647         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
74648         * math/math_private.h: Remove libc_fegetround* and
74649         libc_fesetround*.
74650         * sysdeps/i386/configure.in: Check for -msse2avx.
74651         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
74652         also if SSE2AVX is defined.
74653         Remove libc_fegetround* and libc_fesetround*.
74654         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
74655         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
74656         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
74657         of HAS_YMM_USABLE.
74658         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74659         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74660         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74661         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74662         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74664         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
74666 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74668         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
74669         size is not set.
74670         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
74672 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
74674         [BZ #13618]
74675         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
74676         relocation.
74677         * Makeconfig (libm): Define.
74678         * elf/Makefile: Add rules to build and run tst-relsort1.
74679         * elf/tst-relsort1.c: New file.
74680         * elf/tst-relsort1mod1.c: New file.
74681         * elf/tst-relsort1mod2.c: New file.
74683 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
74685         * math/s_ldexp.c: Remove __STDC__ conditionals.
74686         * math/s_ldexpf.c: Likewise.
74687         * math/s_ldexpl.c: Likewise.
74688         * math/s_nextafter.c: Likewise.
74689         * math/s_nexttowardf.c: Likewise.
74690         * math/s_significand.c: Likewise.
74691         * math/s_significandf.c: Likewise.
74692         * math/s_significandl.c: Likewise.
74693         * math/w_jnl.c: Likewise.
74694         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
74695         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
74696         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
74697         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
74698         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
74699         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
74700         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
74701         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
74702         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
74703         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
74704         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
74705         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74706         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
74707         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
74708         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
74709         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
74710         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
74711         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
74712         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
74713         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74714         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74715         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
74716         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
74717         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
74718         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
74719         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
74720         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
74721         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
74722         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
74723         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
74724         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
74725         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
74726         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
74727         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
74728         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
74729         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
74730         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
74731         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
74732         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
74733         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
74734         * sysdeps/ieee754/k_standard.c: Likewise.
74735         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74736         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
74737         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
74738         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
74739         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
74740         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
74741         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
74742         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
74743         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
74744         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
74745         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
74746         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
74747         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
74748         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
74749         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
74750         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
74751         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
74752         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
74753         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
74754         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
74755         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
74756         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
74757         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
74758         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
74759         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
74760         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
74761         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74762         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74763         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
74764         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
74765         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
74766         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
74767         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
74768         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
74769         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
74770         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
74771         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
74772         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
74773         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
74774         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
74775         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
74776         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
74777         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
74778         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
74779         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
74780         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
74781         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
74782         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
74783         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
74784         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
74785         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
74786         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
74787         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
74788         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
74789         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
74790         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
74791         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
74792         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74793         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74794         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74795         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
74796         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
74797         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
74798         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
74799         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
74800         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
74801         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
74802         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
74803         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
74804         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
74805         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
74806         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
74807         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
74808         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
74809         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
74810         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
74811         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
74812         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
74813         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
74814         * sysdeps/ieee754/s_matherr.c: Likewise.
74815         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
74816         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
74817         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
74818         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
74820 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
74822         * crypt/md5.h: Remove __STDC__ conditionals.
74823         * libio/libioP.h: Likewise.
74824         * locale/programs/config.h: Likewise.
74825         * sysdeps/generic/sysdep.h: Likewise.
74826         * sysdeps/i386/asm-syntax.h: Likewise.
74827         * sysdeps/s390/asm-syntax.h: Likewise.
74828         * sysdeps/unix/sysdep.h: Likewise.
74829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
74830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
74832 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
74834         * libio/libio.h: Remove __STDC__ conditionals.
74835         * malloc/obstack.h: Likewise.
74836         * math/complex.h: Likewise.
74837         * math/math.h: Likewise.
74838         * sysdeps/generic/_G_config.h: Likewise.
74839         * sysdeps/gnu/_G_config.h: Likewise.
74840         * sysdeps/mach/hurd/_G_config.h: Likewise.
74841         * sysdeps/powerpc/bits/mathdef.h: Likewise.
74842         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
74843         * sysdeps/sparc/bits/mathdef.h: Likewise.
74845 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
74847         [BZ #13583]
74848         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
74849         Clean up HAS_* macros.
74850         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
74851         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
74852         possible.
74853         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
74854         HAS_AVX.
74855         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74856         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74857         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74858         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74859         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74861 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
74863         * elf/tst-unique3.cc (gets): Remove declaration.
74864         * elf/tst-unique3lib.cc (gets): Likewise.
74865         * elf/tst-unique3lib2.cc (gets): Likewise.
74866         * elf/tst-unique4.cc (gets): Likewise.
74868 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
74870         * include/stdio.h: Add C++ protection.  Add gets declarations and
74871         definitions.
74872         * debug/tst-chk1.c: Don't declare gets here.
74873         * stdio-common/tst-gets.c: Likewise.
74875 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
74877         * posix/glob: Remove directory.
74879 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
74881         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
74883 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
74885         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
74886         of the non-standard EPFNOSUPPORT.
74888 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74890         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
74891         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
74892         ANYWHERE set to 1 only on KERN_NO_SPACE error.
74894 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
74896         * wcsmbs/uchar.h: Test __STDC_VERSION__.
74898 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
74900         * nscd/aicache.c (addhstaiX): Do not cache negative results of
74901         transient errors.
74902         * nscd/grpcache.c (cache_addgr): Likewise.
74903         * nscd/hstcache.c (cache_addhst): Likewise.
74904         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74905         * nscd/pwdcache.c (cache_addpw): Likewise.
74906         * nscd/servicescache.c (cache_addserv): Likewise.
74908 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
74910         * malloc/malloc.c: Various cleanups.
74911         * malloc/hooks.c: Likewise.
74913         * stdlib/Makefile (tests): Add bug-fmtmsg1.
74914         * stdlib/bug-fmtmsg1.c: New file.
74916         * stdlib/fmtmsg.c (init): Add missing unlock.
74917         Patch by Peng Haitao <penght@cn.fujitsu.com>.
74919 2012-01-12  Marek Polacek  <polacek@redhat.com>
74921         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
74922         and _GNU_SOURCE.
74924 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
74926         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
74927         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
74928         macro to ensure uniqueness of label name.
74929         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
74930         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
74932 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
74934         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
74936         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
74937         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
74938         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
74939         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
74941 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
74943         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
74945         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
74946         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
74947         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
74949         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
74951         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
74952         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
74953         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
74954         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
74956         * math/bits/math-finite.h: Add ldexp support.
74958 2012-01-10  Marek Polacek  <polacek@redhat.com>
74960         * locale/programs/localedef.h (show_archive_content): Add noreturn
74961         attribute.
74963 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
74965         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
74967 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74969         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
74971         * io/Makefile (headers): Add bits/poll2.h.
74973 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
74975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
74976         typo #include statement.
74978 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74980         * include/sys/cdefs.h: Define __attribute_alloc_size.
74981         * catgets/gencat.c: Add alloc_size attribute and apply consistently
74982         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
74983         * elf/pldd.c: Likewise.
74984         * iconv/iconv_charmap.c: Likewise.
74985         * iconv/iconvconfig.c: Likewise.
74986         * iconv/strtab.c: Likewise.
74987         * locale/programs/locale.c: Likewise.
74988         * locale/programs/localedef.h: Likewise.
74989         * locale/programs/simple-hash.c: Likewise.
74990         * nscd/nscd.h: Likewise.
74991         * nss/makedb.c: Likewise.
74992         * sysdeps/generic/ldconfig.h: Likewise.
74993         * locale/programs/localedef.c: Remove xmalloc prototype.
74994         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
74996 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
74998         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
74999         appropriate.
75001 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
75003         * math/Makefile (tests): Add tst-CMPLX.
75004         * math/tst-CMPLX.c: New file.
75006         * math/complex.h (CMPLXL): Fix typo.
75008         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
75009         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
75010         GLIBC_2.16.
75011         * debug/tst-chk1.c: Add poll and ppoll tests.
75012         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
75013         * include/sys/poll.h: Add hidden proto for ppoll.
75014         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
75015         * sysdeps/mach/hurd/ppoll.c: Likewise.
75016         * io/ppoll.c: Likewise.
75017         * debug/poll_chk.c: New file.
75018         * debug/ppoll_chk.c: New file.
75019         * include/bits/poll2.h: New file.
75020         * io/bits/poll2.h: New file.
75022         [BZ #1350]
75023         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
75025         * configure.in: static is always set to yes.  Remove.
75026         * config.make.in: Don't set build-static.
75027         * Makeconfig: Remove use of build-static.
75028         * dlfcn/Makefile: Likewise.
75029         * elf/Makefile: Likewise.
75030         * math/Makefile: Likewise.
75031         * misc/Makefile: Likewise.
75032         * nptl/Makefile: Likewise.
75033         * sysdeps/mach/hurd/Makefile: Likewise.
75035         * configure.in: PWD_P is not used anymore.
75036         * config.make.in: Remove PWD_P entry.
75038         * configure.in: Remove last remnants of RANLIB.
75039         No need to check for signed size_t anymore.
75040         Don't set libc_commonpagesize and libc_relro_required here for Alpha
75041         and IA-64.
75042         Remove __builtin_expect test because we require at least gcc 3.4.
75043         * aclocal.m4: Likewise.
75045         * wcsmbs/mbrtoc16.c: Implement using towc function.
75046         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
75047         * wcsmbs/wcsmbsload.c: Likewise.
75048         * iconv/gconv_simple.c: Likewise.
75049         * iconv/gconv_int.h: Likewise.
75050         * iconv/gconv_builtin.h: Likewise.
75051         * iconv/iconv_prog.c: Remove CHAR16 handling.
75053         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
75055         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
75057         * configure.in: Remove --with-elf and --enable-bounded options.
75058         Dont set base_machine for ia64.  More non-ELF conditions removed.
75059         Remove testing and setting of leading underscore information.
75060         * config.make.in (build-bounded): Set to no.
75061         * config.h.in: Remove NO_UNDERSCORES entry.
75062         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
75063         them.
75064         * csu/start.c: Remove !NO_UNDERSCORE code.
75065         * locale/localeinfo.h: Likewise.
75066         * sysdeps/generic/machine-gmon.h: Likewise.
75067         * sysdeps/generic/sysdep.h: Likewise.
75068         * sysdeps/i386/sysdep.h: Likewise.
75069         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
75070         * sysdeps/mach/sysdep.h: Likewise.
75071         * sysdeps/s390/s390-32/sysdep.h: Likewise.
75072         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75073         * sysdeps/sh/sysdep.h: Likewise.
75074         * sysdeps/sparc/sparc32/alloca.S: Likewise.
75075         * sysdeps/unix/i386/sysdep.S: Likewise.
75076         * sysdeps/unix/sparc/start.c: Likewise.
75077         * sysdeps/unix/sparc/sysdep.S: Likewise.
75078         * sysdeps/unix/sparc/sysdep.h: Likewise.
75079         * sysdeps/unix/start.c: Likewise.
75080         * sysdeps/unix/x86_64/sysdep.S: Likewise.
75081         * sysdeps/x86_64/sysdep.h: Likewise.
75083 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
75085         [BZ #13553]
75086         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
75087         for non-gcc.
75088         * argp/argp-fmtstream.h: Use const instead __const.
75089         * argp/argp.h: Likewise.
75090         * assert/assert.h: Likewise.
75091         * bits/fenv.h: Likewise.
75092         * bits/sched.h: Likewise.
75093         * bits/sigset.h: Likewise.
75094         * bits/sigthread.h: Likewise.
75095         * catgets/nl_types.h: Likewise.
75096         * conform/data/pthread.h-data: Likewise.
75097         * crypt/crypt-private.h: Likewise.
75098         * crypt/crypt.h: Likewise.
75099         * crypt/crypt_util.c: Likewise.
75100         * ctype/ctype.h: Likewise.
75101         * debug/execinfo.h: Likewise.
75102         * debug/mbsnrtowcs_chk.c: Likewise.
75103         * debug/mbsrtowcs_chk.c: Likewise.
75104         * debug/wcsnrtombs_chk.c: Likewise.
75105         * debug/wcsrtombs_chk.c: Likewise.
75106         * debug/wcstombs_chk.c: Likewise.
75107         * dirent/dirent.h: Likewise.
75108         * dlfcn/dlfcn.h: Likewise.
75109         * elf/neededtest4.c: Likewise.
75110         * grp/grp.h: Likewise.
75111         * gshadow/gshadow.h: Likewise.
75112         * iconv/gconv.h: Likewise.
75113         * iconv/gconv_int.h: Likewise.
75114         * iconv/gconv_simple.c: Likewise.
75115         * iconv/iconv.h: Likewise.
75116         * iconv/loop.c: Likewise.
75117         * iconv/skeleton.c: Likewise.
75118         * include/aio.h: Likewise.
75119         * include/aliases.h: Likewise.
75120         * include/argz.h: Likewise.
75121         * include/arpa/inet.h: Likewise.
75122         * include/assert.h: Likewise.
75123         * include/dirent.h: Likewise.
75124         * include/dlfcn.h: Likewise.
75125         * include/execinfo.h: Likewise.
75126         * include/fcntl.h: Likewise.
75127         * include/fenv.h: Likewise.
75128         * include/glob.h: Likewise.
75129         * include/grp.h: Likewise.
75130         * include/libintl.h: Likewise.
75131         * include/mntent.h: Likewise.
75132         * include/netdb.h: Likewise.
75133         * include/pwd.h: Likewise.
75134         * include/rpc/netdb.h: Likewise.
75135         * include/sched.h: Likewise.
75136         * include/search.h: Likewise.
75137         * include/shadow.h: Likewise.
75138         * include/signal.h: Likewise.
75139         * include/stdio.h: Likewise.
75140         * include/stdlib.h: Likewise.
75141         * include/string.h: Likewise.
75142         * include/sys/socket.h: Likewise.
75143         * include/sys/stat.h: Likewise.
75144         * include/sys/statfs.h: Likewise.
75145         * include/sys/statvfs.h: Likewise.
75146         * include/sys/syslog.h: Likewise.
75147         * include/sys/time.h: Likewise.
75148         * include/sys/uio.h: Likewise.
75149         * include/time.h: Likewise.
75150         * include/unistd.h: Likewise.
75151         * include/utmp.h: Likewise.
75152         * include/wchar.h: Likewise.
75153         * include/wctype.h: Likewise.
75154         * inet/aliases.h: Likewise.
75155         * inet/arpa/inet.h: Likewise.
75156         * inet/netinet/ether.h: Likewise.
75157         * inet/netinet/in.h: Likewise.
75158         * intl/libintl.h: Likewise.
75159         * io/bits/fcntl2.h: Likewise.
75160         * io/fcntl.h: Likewise.
75161         * io/ftw.h: Likewise.
75162         * io/sys/poll.h: Likewise.
75163         * io/sys/stat.h: Likewise.
75164         * io/sys/statfs.h: Likewise.
75165         * io/sys/statvfs.h: Likewise.
75166         * io/utime.h: Likewise.
75167         * libio/bits/stdio.h: Likewise.
75168         * libio/bits/stdio2.h: Likewise.
75169         * libio/libio.h: Likewise.
75170         * libio/libioP.h: Likewise.
75171         * libio/stdio.h: Likewise.
75172         * locale/lc-ctype.c: Likewise.
75173         * locale/locale.h: Likewise.
75174         * login/utmp.h: Likewise.
75175         * malloc/arena.c: Likewise.
75176         * malloc/malloc.c: Likewise.
75177         * malloc/malloc.h: Likewise.
75178         * malloc/mcheck.c: Likewise.
75179         * malloc/mtrace.c: Likewise.
75180         * math/bits/mathcalls.h: Likewise.
75181         * math/fenv.h: Likewise.
75182         * math/math_private.h: Likewise.
75183         * misc/bits/error.h: Likewise.
75184         * misc/bits/syslog.h: Likewise.
75185         * misc/err.h: Likewise.
75186         * misc/error.h: Likewise.
75187         * misc/fstab.h: Likewise.
75188         * misc/mntent.h: Likewise.
75189         * misc/regexp.h: Likewise.
75190         * misc/search.h: Likewise.
75191         * misc/sgtty.h: Likewise.
75192         * misc/sys/mman.h: Likewise.
75193         * misc/sys/syslog.h: Likewise.
75194         * misc/sys/uio.h: Likewise.
75195         * misc/sys/xattr.h: Likewise.
75196         * misc/ttyent.h: Likewise.
75197         * nis/rpcsvc/ypclnt.h: Likewise.
75198         * nss/nss.h: Likewise.
75199         * posix/bits/unistd.h: Likewise.
75200         * posix/fnmatch.h: Likewise.
75201         * posix/glob.h: Likewise.
75202         * posix/sched.h: Likewise.
75203         * posix/spawn.h: Likewise.
75204         * posix/sys/wait.h: Likewise.
75205         * posix/unistd.h: Likewise.
75206         * posix/wordexp.h: Likewise.
75207         * pwd/pwd.h: Likewise.
75208         * resolv/netdb.h: Likewise.
75209         * resource/sys/resource.h: Likewise.
75210         * rt/aio.h: Likewise.
75211         * rt/bits/mqueue2.h: Likewise.
75212         * rt/mqueue.h: Likewise.
75213         * shadow/shadow.h: Likewise.
75214         * signal/signal.h: Likewise.
75215         * socket/send.c: Likewise.
75216         * socket/sendto.c: Likewise.
75217         * socket/sys/socket.h: Likewise.
75218         * stdio-common/printf.h: Likewise.
75219         * stdlib/bits/stdlib.h: Likewise.
75220         * stdlib/fmtmsg.h: Likewise.
75221         * stdlib/monetary.h: Likewise.
75222         * stdlib/stdlib.h: Likewise.
75223         * stdlib/ucontext.h: Likewise.
75224         * streams/stropts.h: Likewise.
75225         * string/argz.h: Likewise.
75226         * string/bits/string2.h: Likewise.
75227         * string/string.h: Likewise.
75228         * string/strings.h: Likewise.
75229         * sunrpc/rpc/auth.h: Likewise.
75230         * sunrpc/rpc/auth_des.h: Likewise.
75231         * sunrpc/rpc/clnt.h: Likewise.
75232         * sunrpc/rpc/netdb.h: Likewise.
75233         * sunrpc/rpc/pmap_clnt.h: Likewise.
75234         * sunrpc/rpc/xdr.h: Likewise.
75235         * sysdeps/generic/inttypes.h: Likewise.
75236         * sysdeps/generic/net/if.h: Likewise.
75237         * sysdeps/generic/sys/swap.h: Likewise.
75238         * sysdeps/gnu/net/if.h: Likewise.
75239         * sysdeps/gnu/utmpx.h: Likewise.
75240         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
75241         * sysdeps/i386/i486/bits/string.h: Likewise.
75242         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
75243         * sysdeps/s390/bits/string.h: Likewise.
75244         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
75245         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
75246         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
75247         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
75248         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
75249         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
75250         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
75251         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
75252         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
75253         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
75254         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
75255         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
75256         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
75257         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
75258         * sysdeps/unix/sysv/linux/readv.c: Likewise.
75259         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
75260         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
75261         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75262         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
75263         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
75264         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
75265         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
75266         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
75267         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
75268         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
75269         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
75270         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
75271         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75272         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
75273         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
75274         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
75275         * sysvipc/sys/ipc.h: Likewise.
75276         * sysvipc/sys/msg.h: Likewise.
75277         * sysvipc/sys/sem.h: Likewise.
75278         * sysvipc/sys/shm.h: Likewise.
75279         * termios/termios.h: Likewise.
75280         * time/sys/time.h: Likewise.
75281         * time/time.h: Likewise.
75282         * wcsmbs/bits/wchar2.h: Likewise.
75283         * wcsmbs/uchar.h: Likewise.
75284         * wcsmbs/wchar.h: Likewise.
75285         * wctype/wctype.h: Likewise.
75287         [BZ #13551]
75288         * Makeconfig: Remove all but ELF support including AIX support.
75289         * Makerules: Likewise.
75290         * config.h.in: Likewise.
75291         * config.make.in: Likewise.
75292         * configure: Likewise.
75293         * configure.in: Likewise.
75294         * csu/Makefile: Likewise.
75295         * csu/version.c: Likewise.
75296         * debug/Makefile: Likewise.
75297         * dlfcn/Makefile: Likewise.
75298         * elf/Makefile: Likewise.
75299         * extra-lib.mk: Likewise.
75300         * iconv/Makefile: Likewise.
75301         * include/libc-symbols.h: Likewise.
75302         * include/shlib-compat.h: Likewise.
75303         * resolv/Makefile: Likewise.
75304         * resolv/res_libc.c: Likewise.
75305         * rt/Makefile: Likewise.
75306         * sysdeps/i386/asm-syntax.h: Likewise.
75307         * sysdeps/i386/sysdep.h: Likewise.
75308         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
75309         * sysdeps/mach/sysdep.h: Likewise.
75310         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
75311         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
75312         * sysdeps/s390/asm-syntax.h: Likewise.
75313         * sysdeps/s390/s390-32/sysdep.h: Likewise.
75314         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75315         * sysdeps/sh/sysdep.h: Likewise.
75316         * sysdeps/unix/sparc/sysdep.h: Likewise.
75317         * sysdeps/wordsize-32/divdi3.c: Likewise.
75318         * sysdeps/x86_64/sysdep.h: Likewise.
75320         * argp/Versions: Remove _argp_unlock_xxx.
75322         [BZ #13559]
75323         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
75324         * abilist/libBrokenLocale.abilist: Likewise.
75325         * abilist/libanl.abilist: Likewise.
75326         * abilist/libc.abilist: Likewise.
75327         * abilist/libcrypt.abilist: Likewise.
75328         * abilist/libdl.abilist: Likewise.
75329         * abilist/libm.abilist: Likewise.
75330         * abilist/libnsl.abilist: Likewise.
75331         * abilist/libpthread.abilist: Likewise.
75332         * abilist/libresolv.abilist: Likewise.
75333         * abilist/librt.abilist: Likewise.
75334         * abilist/libthread_db.abilist: Likewise.
75335         * abilist/libutil.abilist: Likewise.
75336         * abilist/libnss_db.abilist: New file.
75338         * scripts/abilist.awk: Add support for indirect functions.
75340         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
75342         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
75344         * shlib-versions: Remove entries for ports architectures.
75346         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
75347         files in ports.
75348         * elf/stackguard-macros.h: Remove support for IA-64.
75349         * elf/tst-auditmod1.c: Likewise.
75350         * sysdeps/generic/ldsodefs.h: Likewise.
75352         * sysdeps/unix/sysv/linux/configure.in: Ports should define
75353         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
75354         configure files.
75356         [BZ #13552]
75357         * configure.in: Remove --enable-omitfp support.
75358         * FAQ.in: Adjust.
75359         * config.make.in: Likewise.
75360         * Makeconfig: Likewise.
75361         * manual/install.texi: Likewise.
75363         In case anyone cares, the IA-64 architecture could move to ports.
75364         * sysdeps/ia64/*: Removed.
75365         * sysdeps/unix/sysv/linux/ia64/*: Removed.
75366         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
75368         [BZ #13555]
75369         * configure.in: Remove entries for unsupported architectures.
75371         [BZ #13533]
75372         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
75373         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
75374         routines.
75375         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
75376         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
75377         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
75378         fall back to using wcrtomb.
75379         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
75380         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
75381         renaming.
75382         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
75383         * wcsmbs/tst-c16c32-1.c: New file.
75385         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
75386         local variable.
75388         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
75390         * elf/tst-unique3.cc: Add explicit declaration of gets.
75391         * elf/tst-unique3lib.cc: Likewise.
75392         * elf/tst-unique3lib2.cc: Likewise.
75393         * elf/tst-unique4.cc: Likewise.
75395         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
75397 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
75399         [BZ #13566]
75400         * assert/assert.h (static_assert): Don't define for C++.
75401         * libio/stdio.h (gets): Do declare for C++ <= C++11.
75402         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
75404 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
75406         * iconv/loop.c (single loop): Fix assertion in storing of
75407         remaining bytes.
75409         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
75411 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
75413         * posix/getconf.c: Update copyright year.
75414         * nss/getent.c: Likewise.
75415         * nss/makedb.c: Likewise.
75416         * iconv/iconvconfig.c: Likewise.
75417         * iconv/iconv_prog.c: Likewise.
75418         * elf/ldconfig.c: Likewise.
75419         * elf/pldd.c: Likewise.
75420         * elf/sotruss.ksh: Likewise.
75421         * catgets/gencat.c: Likewise.
75422         * csu/version.c: Likewise.
75423         * elf/ldd.bash.in: Likewise.
75424         * elf/sprof.c (print_version): Likewise.
75425         * locale/programs/locale.c: Likewise.
75426         * locale/programs/localedef.c: Likewise.
75427         * login/programs/pt_chown.c: Likewise.
75428         * nscd/nscd.c (print_version): Likewise.
75429         * debug/xtrace.sh: Likewise.
75430         * malloc/memusage.sh: Likewise.
75431         * malloc/mtrace.pl: Likewise.
75432         * debug/catchsegv.sh: Likewise.
75434 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
75436         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
75437         pure attribute.
75439 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
75441         [BZ #13533]
75442         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
75443         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
75444         transformations.
75445         * iconv/gconv_int.h: Likewise.
75446         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
75447         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
75448         from libc for GLIBC_2.16.
75449         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
75450         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
75451         * wcsmbs/uchar.h: Really define mbstate_t.
75452         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
75453         * wcsmbs/c16rtomb.c: New file.
75454         * wcsmbs/mbrtoc16.c: New file.
75455         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
75456         for C/POSIX locale.
75457         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
75458         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
75460         * wcsmbs/wchar.h: Add missing __restrict.
75462 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
75464         [BZ #13532]
75465         * time/Makefile (routines): Add timespec_get.
75466         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
75467         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
75468         timespec for ISO C11.
75469         * time/timespec_get.c: New file.
75470         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
75471         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
75473         [BZ #13531]
75474         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
75475         * stdlib/stdlib.h: Declare aligned_alloc.
75476         * Versions.def: Add GLIBC_2.16 for libc.
75477         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
75479         [BZ 13527]
75480         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
75481         ISO C11.
75483         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
75484         code.
75486         [BZ #13528]
75487         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
75489         [BZ #13529]
75490         * assert/assert.h (static_assert): Define.
75492         * version.h: Update for 2.16 development version.
75494         [BZ #13526]
75495         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
75496         _ISOC11_SOURCE.
75498         * version.h (RELEASE): Bump for 2.15 release.
75499         * include/features.h (__GLIBC_MINOR__): Bump to 15.
75501         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
75502         Patch by Marek Polacek <mpolacek@redhat.com>.
75504         * bits/byteswap.h: Protect long long constants with __extension__.
75505         * sysdeps/i386/bits/byteswap.h: Likewise.
75506         * sysdeps/ia64/bits/byteswap.h: Likewise.
75507         * sysdeps/s390/bits/byteswap.h: Likewise.
75508         * sysdeps/x86_64/bits/byteswap.h: Likewise.
75510 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75512         [BZ #13540]
75513         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
75514         destination buffer.
75515         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
75517 2011-12-23  Marek Polacek  <polacek@redhat.com>
75519         * elf/dl-addr.c (determine_info): Add inline keyword.
75520         * elf/tst-auditmod4b.c (check_avx): Likewise.
75521         * elf/tst-auditmod6b.c (check_avx): Likewise.
75522         * elf/tst-auditmod6c.c (check_avx): Likewise.
75523         * elf/tst-auditmod7b.c (check_avx): Likewise.
75525 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
75527         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
75528         !__SSE_MATH__.
75530 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75532         [BZ #13540]
75533         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
75534         processing for last bytes.
75536 2011-08-06  Bruno Haible  <bruno@clisp.org>
75538         [BZ #13061]
75539         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
75540         U+0385, not to U+1FEE.
75542         [BZ #13062]
75543         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
75544         entry for U+00A5 U+0301.
75546 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
75548         [BZ #13166]
75549         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
75550         buffer for the output is too small.
75552         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
75553         optimization.
75555         [BZ #13185]
75556         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
75557         SSE flags if possible.
75559 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75561         [BZ #13540]
75562         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
75563         processing for last bytes.
75565 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
75567         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
75568         (syscall-list-default-options, syscall-list-default-condition)
75569         (syscall-list-includes): Define.
75570         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
75571         list of ABIs and options and #if conditions for each ABI.  Do not
75572         handle common syscalls between ABIs specially.
75573         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
75574         Remove.
75575         (syscall-list-variants, syscall-list-32bit-options)
75576         (syscall-list-32bit-condition, syscall-list-64bit-options)
75577         (syscall-list-64bit-condition): Define.
75578         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
75579         (syscall-list-variants, syscall-list-32bit-options)
75580         (syscall-list-32bit-condition, syscall-list-64bit-options)
75581         (syscall-list-64bit-condition): Define.
75582         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
75583         Remove.
75584         (syscall-list-variants, syscall-list-32bit-options)
75585         (syscall-list-32bit-condition, syscall-list-64bit-options)
75586         (syscall-list-64bit-condition): Define.
75587         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
75588         Remove.
75589         (syscall-list-variants, syscall-list-32bit-options)
75590         (syscall-list-32bit-condition, syscall-list-64bit-options)
75591         (syscall-list-64bit-condition): Define.
75593 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
75595         * locale/iso-639.def: Add brx entry.
75597         [BZ #13328]
75598         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
75599         Proposed by Mariusz_Cukr <marcukr@op.pl>.
75601         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
75602         __feraiseexcept_renamed.
75604 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
75606         [BZ #13538]
75607         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
75608         EPOLLET with unsigned values.
75609         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75610         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
75612         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
75613         to large cancellation.
75614         * math/s_cacoshf.c: Likewise.
75615         * math/s_cacoshl.c: Likewise.
75617 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
75619         [BZ #13305]
75620         [BZ #12786]
75621         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
75622         * math/s_cacoshf.c: Likewise.
75623         * math/s_cacoshl.c: Likewise.
75625 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
75627         [BZ #13439]
75628         * iconv/gconv.h: Define __GCONV_SWAP.
75629         * iconvdata/unicode.c: The swap bit must be stored in __flags.
75630         * iconvdata/utf-16.c: Likewise.
75631         * iconvdata/utf-32.c: Likewise.
75633 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
75635         [BZ #13524]
75636         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
75637         numerator after shifting it by one limb.
75639 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
75641         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
75642         under [__USE_EXTERN_INLINES].
75644 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
75646         [BZ #13446]
75647         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
75649 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75651         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
75652         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
75653         optimized code.
75654         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
75655         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
75656         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
75657         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
75658         for strncasecmp/strncasecmp_l compilation.
75659         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
75660         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
75662 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
75664         [BZ #13484]
75665         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
75666         of __asm__.
75668 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
75670         [BZ #13506]
75671         * time/tzfile.c (__tzfile_read): Check values from file header.
75673 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
75675         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
75676         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
75677         * powerpc/powerpc32/dl-start.S: Likewise.
75678         * powerpc/powerpc32/elf/start.S: Likewise.
75679         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
75680         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
75681         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
75682         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
75683         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
75684         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
75685         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
75686         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
75687         * powerpc/powerpc32/fpu/s_round.S: Likewise.
75688         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
75689         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
75690         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
75691         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
75692         * powerpc/powerpc32/memset.S: Likewise.
75693         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
75694         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
75695         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
75696         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
75697         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
75698         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
75699         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
75700         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
75701         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
75702         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
75703         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
75704         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
75705         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
75707 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75709         * math/libm-test.inc: Added more nearbyint tests.
75710         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
75711         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
75712         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
75713         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
75715 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
75717         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
75718         FD_CLOEXEC.
75720 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75722         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
75723         Add wcscpy-ssse3 wcscpy-c.
75724         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
75725         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
75726         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
75727         * sysdeps/x86_64/wcschr.S: New file.
75728         * sysdeps/x86_64/wcsrchr.S: New file.
75729         * string/test-strcmp.c: Remove checking of wcscmp function for
75730         wrong alignments.
75731         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
75732         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
75733         wcsrchr-sse2 wcsrchr-c.
75734         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
75735         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
75736         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
75737         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
75738         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
75739         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
75740         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
75741         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
75742         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
75743         * wcsmbc/wcschr.c (WCSCHR): New macro.
75745 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75747         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
75748         * wcsmbs/test-wcsrchr.c: New file.
75749         * string/test-strrchr.c: Add wcsrchr support.
75750         (WIDE): New macro.
75751         * wcsmbs/test-wcscpy.c: New file.
75752         * string/test-strcpy.c: Add wcscpy support.
75753         (WIDE): New macro.
75755 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
75757         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
75758         the inner loop.
75760 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
75762         [BZ #13472]
75763         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
75765 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
75767         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
75768         Minor optimizations.
75770         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
75771         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
75772         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
75774 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
75776         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
75777         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
75778         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
75779         for gcc to avoid warnings.
75780         * inet/Makefile (tests): Add tst-checks.
75781         * inet/tst-checks.c: New file.
75783         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
75784         warning.
75786         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
75787         __wmemcmp_sse2.
75789         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
75790         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
75792         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
75794 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
75796         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
75797         problem.
75799         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
75801 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
75803         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
75804         conditional on GCC version.
75805         (__arch_compare_and_exchange_val_8_acq)
75806         (__arch_compare_and_exchange_val_16_acq)
75807         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
75808         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
75809         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
75811 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
75813         * sysdeps/sh/backtrace.c: New file.
75815 2011-12-02  Andreas Schwab  <schwab@redhat.com>
75817         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
75818         parenthesis.
75820 2011-12-01  Andreas Schwab  <schwab@redhat.com>
75822         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
75823         falling back to utime.
75825 2011-11-30  Andreas Schwab  <schwab@redhat.com>
75827         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
75828         expectations for float.
75830 2011-11-29  Andreas Schwab  <schwab@redhat.com>
75832         * locale/weight.h (findidx): Add parameter len.
75833         * locale/weightwc.h (findidx): Likewise.
75834         * posix/fnmatch_loop.c (FCT): Adjust caller.
75835         * posix/regcomp.c (build_equiv_class): Likewise.
75836         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
75837         * posix/regexec.c (check_node_accept_bytes): Likewise.
75838         * string/strcoll_l.c (STRCOLL): Likewise.
75839         * string/strxfrm_l.c (STRXFRM): Likewise.
75841 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
75843         * Makefile.in: Remove CVSOPT handling.
75844         * configure.in: Remove use of AC_REVISION.
75845         * iconvdata/Makefile (distribute): No need to filter out CVS.
75846         * scripts/list-sources.sh: Remove CVS, subversion and monotone
75847         handling.
75849 2011-11-16  Andreas Schwab  <schwab@redhat.com>
75851         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
75852         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
75853         [USE_AS_STRNCASECMP_L]: Likewise.
75854         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
75855         NO_TLS_DIRECT_SEG_REFS.
75856         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
75857         Fix argument offsets for non-PIC.
75858         [USE_AS_STRNCASECMP_L]: Likewise.
75859         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
75860         NO_TLS_DIRECT_SEG_REFS.
75862 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
75864         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
75865         O_CLOEXEC.
75866         * locale/loadlocale.c (_nl_load_locale): Likewise.
75868 2011-11-15  Andreas Schwab  <schwab@redhat.com>
75870         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
75871         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
75872         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
75873         (SYSCALL_GETTIME): Set errno on error.
75875         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
75876         count references to noai6ai_cached.
75878 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
75880         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
75882         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
75883         FD_CLOEXEC for /proc/self/maps.
75885         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
75886         FD_CLOEXEC for /proc/meminfo.
75888         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
75889         gai.conf.
75891         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
75892         FD_CLOEXEC for given file.
75894         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
75896         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
75897         FD_CLOEXEC for /etc/hosts.
75898         (_gethtent): Likewise.
75900         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
75902         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
75903         cancellation and set FD_CLOEXEC for /etc/netgroup.
75905         * nss/nss_files/files-key.c (search): Don't allow cancellation when
75906         reading /etc/publickey.
75908         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
75909         allow cancellation when reading /etc/group.
75911         * nss/nss_files/files-alias.c (internal_setent): Don't allow
75912         cancellation.
75913         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
75915         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
75916         when using data file.
75918         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
75920         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
75921         (write_nis_obj): Use "c" and "e" in fopen.
75923         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
75925         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
75927         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
75929         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
75931         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
75932         locale.alias.
75934         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
75936         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
75938         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
75940         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
75941         file parsing and set FD_CLOEXEC.
75943 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
75945         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
75947 2011-11-14  Andreas Schwab  <schwab@redhat.com>
75949         * malloc/arena.c (arena_get2): Don't call reused_arena when
75950         _int_new_arena failed.
75952 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
75954         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
75955         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
75956         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
75957         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75958         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75959         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
75960         to compile strcasecmp and strncasecmp.
75961         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
75962         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
75964         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
75966 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
75968         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
75969         locale-defines.sym to gen-as-const-headers.
75970         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
75971         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
75972         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
75973         to compile strcasecmp and strncasecmp.
75974         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
75975         strcasecmp_l and strncasecmp_l.
75976         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
75977         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
75978         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
75979         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
75980         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
75981         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
75982         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
75983         * sysdeps/i386/i686/multiarch/strncase.S: New file.
75984         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
75985         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
75986         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
75988 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
75990         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
75991         result of SYSDEP_GETTIME_CPU to retval.
75992         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
75993         parameter list to macro.  Remove trailing semicolon.  Adjust users.
75995         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
75996         variable.
75998         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
75999         mantissa words.
76000         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
76002         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
76003         from unused variable.
76005         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
76006         DWARF definitions.
76007         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
76008         for assembling.
76010         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
76011         over namespaces.
76013         * sunrpc/rpc_prot.c (rejected): Fix case value.
76015         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
76016         unsigned long long int to avoid warnings in shift.
76018         * posix/regex_internal.c (re_string_reconstruct): Actually use result
76019         of use of trans.
76020         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
76021         variable tmp.
76023         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
76024         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
76025         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
76027         * nis/nis_table.c (nis_list): Use variable of correct type for
76028         result of __follow_path call.
76030 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76032         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
76033         of math functions ceil, trunc, floor, round, and sqrt, when
76034         avaliable on the platform.
76035         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
76036         name clash.
76037         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
76038         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
76039         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
76041 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
76043         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
76044         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
76046 2011-11-11  Roland McGrath  <roland@hack.frob.com>
76048         * include/unistd.h: Fix __readlink return type.
76049         Reported by Chris Metcalf <cmetcalf@tilera.com>.
76051 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
76053         * stdlib/ucontext.h: Undo last change for makecontext.
76055 2011-11-11  Andreas Schwab  <schwab@redhat.com>
76057         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
76059         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
76060         * setjmp/setjmp.h: Mark functions as non-leaf.
76061         * setjmp/bits/setjmp2.h: Likewise.
76062         * stdlib/ucontext.h: Likewise.
76064 2011-11-10  Andreas Schwab  <schwab@redhat.com>
76066         * malloc/arena.c (_int_new_arena): Don't increment narenas.
76067         (reused_arena): Don't check arena limit.
76068         (arena_get2): Atomically check arena limit.
76070 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
76072         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
76073         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
76075         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
76076         instructions.
76078 2011-11-07  Andreas Schwab  <schwab@redhat.com>
76080         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
76081         handler when locking.
76083         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
76084         Fix size of allocated buffer.
76086 2011-11-04  Andreas Schwab  <schwab@redhat.com>
76088         [BZ #10103]
76089         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
76090         declarations for long double functions.
76091         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
76093         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
76095 2011-11-03  Andreas Schwab  <schwab@redhat.com>
76097         * nscd/nscd.c (main): Don't start AVC thread until credentials are
76098         installed.
76100         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
76101         is disabled.
76103 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76105         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
76107 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
76109         * include/alloca.h (stackinfo_alloca_round): Define.
76110         (extend_alloca): Use it.
76111         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
76112         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
76113         here.
76115         * scripts/check-local-headers.sh: Ignore libaudit.h.
76117         * nscd/Makefile (extra-objs): Make recursively expanded.
76119 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
76121         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
76122         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
76124         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
76125         * posix/tst-rfc3484-2.c: Likewise.
76126         * posix/tst-rfc3484-3.c: Likewise.
76128         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
76129         process_vm_writev.
76130         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
76131         process_vm_writev.
76132         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
76133         process_vm_writev from libc using GLIBC_2.15 version.
76135         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
76137 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
76139         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
76140         stack usage.
76142 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
76144         [BZ #13367]
76145         * nss/getent.c (initgroups_keys): Show error message in case no group
76146         names are given.
76148         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
76149         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
76150         __bump_nl_timestamp.
76151         * nscd/connections (nscd_init): When host database is served open
76152         netlink socket and request notification about configuration changes.
76153         (main_loop_poll): Track netlink file descriptor and bump timestamp
76154         in case data becomes available.
76155         (main_loop_epoll): Likewise.
76156         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
76157         (database_pers_head): Add extra_data fileds.
76158         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
76159         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
76160         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
76161         Adjust caller.
76162         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
76163         in6ai data, call __free_in6ai.
76164         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
76165         Add -DHAVE_NETLINK.
76166         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
76167         interface information.  Reuse previous data if netlink timestamp
76168         is not changed.
76169         (__bump_nl_timestamp): New function.
76170         (__free_in6ai): New function.
76172 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
76174         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
76175         close_not_cancel_no_status here.
76176         (__check_pf): Reorganize code a bit to not call close twice if OOM.
76178 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
76180         [BZ #13276]
76181         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
76182         return value.
76184         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
76185         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
76186         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
76188 2011-07-03  Andreas Jaeger  <aj@suse.de>
76190         [BZ #10709]
76191         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
76192         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
76193         * math/libm-test.inc (sin_test): Add test case.
76195 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
76197         [BZ #13337]
76198         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
76199         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
76201         * elf/chroot_canon.c (chroot_canon): Cleanups.
76203         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
76205         [BZ #13335]
76206         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
76207         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
76209         * string/test-strchr.c: Make usable for strchrnul testing.
76210         * string/test-strchrnul.c: New file.
76211         * string/Makefile (strop-tests): Add strchrnul.
76213         * po/it.po: Update from translation team.
76214         * po/es.po: Likewise.
76216 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
76218         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
76219         the three constants needed as parameters.  Drop the others.
76220         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
76221         __m128i_strloadu_tolower.
76222         Create and initialize variable zero and use it in all the places
76223         where _mm_setzero_si128 was used.
76225         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
76226         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
76227         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
76228         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
76229         anymore.
76230         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
76231         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
76232         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
76233         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
76234         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
76235         __mpranred, __mptan.
76236         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
76237         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
76238         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
76239         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
76240         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
76241         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
76242         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
76243         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
76244         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
76246 2011-10-28  Andreas Schwab  <schwab@redhat.com>
76248         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
76249         redefine if SHARED.
76250         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
76252         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
76253         wide char related routines to wcsmbs subdir.
76255 2011-10-27  Andreas Schwab  <schwab@redhat.com>
76257         [BZ #13344]
76258         * misc/sys/cdefs.h (__THROWNL): Define.
76259         * posix/unistd.h: Use __THREADNL instead of __THREAD
76260         for memory synchronization functions.
76262 2011-10-26  Roland McGrath  <roland@hack.frob.com>
76264         [BZ #13349]
76265         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
76266         doesn't exist.
76267         * manual/stdio.texi (Obstack Streams): Node removed.
76269 2011-10-26  Andreas Schwab  <schwab@redhat.com>
76271         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
76272         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76273         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76275         * math/math_private.h (math_force_eval): Allow non-addressable
76276         arguments.
76277         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
76279 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
76281         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
76282         file is not needed.
76284         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
76285         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
76286         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
76287         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
76288         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
76289         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
76290         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
76291         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
76292         Add AVX variants.
76293         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
76294         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
76295         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
76296         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
76297         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
76298         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
76299         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
76300         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
76301         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
76302         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
76303         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
76304         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
76305         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
76306         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
76307         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
76308         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
76309         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
76310         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
76311         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
76313         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
76314         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
76316         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
76317         place.  Use VEX encoding when compiling for AVX.
76319 2011-10-25  Andreas Schwab  <schwab@redhat.com>
76321         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
76322         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
76324         * string/test-strchr.c (do_test): Don't generate NUL bytes.
76326 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
76328         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
76329         useless if() expression.
76330         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76331         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
76332         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
76333         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76334         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
76335         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76336         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76337         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76338         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
76339         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76340         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76341         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76342         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
76343         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76344         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
76345         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76346         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76347         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76348         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
76350         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
76352 2011-10-25  Andreas Schwab  <schwab@redhat.com>
76354         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
76355         condition.
76356         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76358 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
76360         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
76361         .text section.  Avoid duplicate constants.
76362         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
76363         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76364         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76365         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76366         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76367         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76368         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76369         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76370         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
76371         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
76372         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
76373         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
76374         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
76375         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
76376         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
76377         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
76378         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
76379         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
76380         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
76381         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76382         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
76383         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
76384         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
76385         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
76386         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
76387         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
76388         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
76389         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
76390         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
76391         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
76392         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
76393         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
76394         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
76395         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
76396         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
76397         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
76398         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
76399         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
76400         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
76401         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
76402         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
76403         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
76404         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
76405         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
76406         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
76408 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
76410         * sysdeps/x86_64/dla.h: Move to ...
76411         * sysdeps/x86_64/fpu/dla.h: ...here.
76412         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
76413         situations.  Use __builtin_fma only for gcc 4.6 and up.
76415         * config.make.in: Add have-mfma4 entry.
76416         * configure.in: Substitute libc_cv_cc_fma4.
76417         * math/Makefile (dbl-only-routines): Add sincostab.
76418         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
76419         Use __sincostab not sincos.
76420         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
76421         name is a macro.
76422         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76423         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76424         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76425         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
76426         using __copysign.
76427         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
76428         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
76429         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
76430         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
76431         and __inv.
76432         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
76433         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
76434         __copysign.
76435         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
76436         define aliases when function name is a macro.
76437         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
76438         sysdeps/ieee754/dbl-64/sincos.tbl.
76439         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
76440         fma4-enabled routines.
76441         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
76442         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
76443         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
76444         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
76445         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
76446         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
76447         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
76448         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
76449         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
76450         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
76451         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
76452         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
76453         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
76454         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
76455         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
76456         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
76457         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
76458         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
76459         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
76460         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
76461         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
76462         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
76463         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
76464         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
76465         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
76466         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
76467         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
76468         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
76469         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
76470         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
76472         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
76473         rename.
76474         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76475         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76476         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76477         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76478         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76479         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76480         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76481         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76483 2011-10-24  Andreas Schwab  <schwab@redhat.com>
76485         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
76487 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76489         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
76491         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
76492         prediction.
76493         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
76495         * string/strnlen.c: Don't define STRNLEN, reverse logic.
76496         Remove unused variable magic_bits.
76497         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
76499         * string/strnlen.c: Define and use STRNLEN macro.
76500         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
76501         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
76502         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
76503         * wcsmbs/wcslen.c: Define and use WCSLEN.
76504         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
76505         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
76506         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
76507         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
76508         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
76509         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
76510         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
76512 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76514         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76515         strnlen-sse2-no-bsf.
76516         Rename strlen-no-bsf to strlen-sse2-no-bsf.
76517         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
76518         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
76519         Add strnlen support.
76520         (USE_AS_STRNLEN): New macro.
76521         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
76522         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
76523         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
76524         * sysdeps/x86_64/wcslen.S: New file.
76526 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
76528         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
76529         XMM-moves are used for copying on small sizes.
76531 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76533         * wcsmbs/Makefile (strop-tests): Add wcschr.
76534         * wcsmbs/test-wcschr.c: New file.
76535         * string/test-strchr.c: Update.
76536         Add wcschr support.
76537         (WIDE): New macro.
76539 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76541         * wcsmbs/Makefile (strop-tests): Add wcslen.
76542         * wcsmbs/test-wcslen.c: New file.
76543         * string/test-strlen.c: Update.
76544         Add wcslen support.
76545         (WIDE): New macro.
76547 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76549         * po/it.po: Update from translation team.
76551 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76553         * sysdeps/x86_64/wcscmp.S: Update.
76554         Fix wrong comparison semantics.
76555         wcscmp shall use signed comparison not unsigned.
76556         Don't use substraction to avoid overflow bug.
76557         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
76558         * wcsmbc/wcscmp.c: Likewise.
76559         * string/test-strcmp.c: Likewise.
76560         Add new tests to check cases with negative values.
76562 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76564         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
76565         * sysdeps/x86_64/dla.h: ...here.  New file.
76566         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
76567         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76568         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76569         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76570         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76571         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76572         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76573         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76574         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76576 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
76578         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
76579         __ynl_finite aliases.
76581 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
76583         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76585         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
76586         define DLA_FMA.
76587         [DLA_FMA] (EMULV): Use DLA_FMA.
76588         [DLA_FMA] (MUL12): Use EMULV.
76589         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
76590         that are not needed.
76591         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76592         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76593         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76594         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76595         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76596         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76597         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76599 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
76601         * math/s_nan.c: Undef __nan.
76602         * math/s_nanf.c: Undef __nanf.
76603         * math/s_nanl.c: Undef __nanl.
76604         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
76605         "math_private.h".
76607 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
76609         * math/s_catan.c: Add branch predictions.
76610         * math/s_catanf.c: Likewise.
76611         * math/s_catanh.c: Likewise.
76612         * math/s_catanhf.c: Likewise.
76613         * math/s_catanhl.c: Likewise.
76614         * math/s_catanl.c: Likewise.
76615         * math/s_cexp.c: Likewise.
76616         * math/s_cexpf.c: Likewise.
76617         * math/s_cexpl.c: Likewise.
76618         * math/s_clog.c: Likewise.
76619         * math/s_clog10.c: Likewise.
76620         * math/s_clog10f.c: Likewise.
76621         * math/s_clog10l.c: Likewise.
76622         * math/s_clogf.c: Likewise.
76623         * math/s_clogl.c: Likewise.
76624         * math/s_csqrt.c: Likewise.
76625         * math/s_csqrtf.c: Likewise.
76626         * math/s_csqrtl.c: Likewise.
76627         * math/s_ctanf.c: Likewise.
76628         * math/s_ctanh.c: Likewise.
76629         * math/s_ctanhf.c: Likewise.
76630         * math/s_ctanhl.c: Likewise.
76631         * math/s_ctanl.c: Likewise.
76633         * math/math_private.h: Define __nan, __nanf, __nanl.
76634         * math/s_cacosh.c: Include <math_private.h>.
76635         * math/s_cacoshl.c: Likewise.
76636         * math/s_casinh.c: Likewise.
76637         * math/s_casinhf.c: Likewise.
76638         * math/s_casinhl.c: Likewise.
76639         * math/s_ccos.c: Rely entire on ccosh.
76640         * math/s_ccosf.c: Rely entire on ccoshf.
76641         * math/s_ccosl.c: Rely entirely on ccoshl.
76642         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
76643         Remove tests for FE_INVALID.
76644         * math/s_ccoshf.c: Likewise.
76645         * math/s_ccoshl.c: Likewise.
76646         * math/s_csin.c: Likewise.
76647         * math/s_csinf.c: Likewise.
76648         * math/s_csinh.c Likewise.
76649         * math/s_csinhf.c: Likewise.
76650         * math/s_csinhl.c: Likewise.
76651         * math/s_csinl.c: Likewise.
76652         * math/s_ctan.c: Likewise.
76653         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
76654         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
76655         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
76657 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
76659         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
76660         compilation problems.
76662         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
76663         __builtin_expect.
76665 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
76667         * sysdeps/i386/configure.in: Test for -mfma4 option.
76668         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
76669         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
76670         COMMON_CPUID_INDEX_80000001.
76671         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
76672         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
76673         use it if FMA3 is not supported.
76674         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
76676         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
76677         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76679 2011-10-20  Andreas Schwab  <schwab@redhat.com>
76681         [BZ #12892]
76682         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
76683         it would create a cycle with a link time dependency.
76685 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
76687         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
76688         instruction.
76689         * string/Makefile (strop-tests): Add rawmemchr.
76690         * string/test-rawmemchr.c: New file.
76692         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
76693         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
76694         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
76695         when compiling str{,n}casecmp and when AVX is available.  Hook up
76696         new optimized code in initializers.
76698 2011-10-19  Andreas Schwab  <schwab@redhat.com>
76700         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
76701         __feraiseexcept instead of feraiseexcept.
76703 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
76705         * math/math_private.h: Define defaults for libc_fetestexcept and
76706         libc_feupdateenv.
76707         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
76708         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
76709         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
76710         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
76711         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
76712         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
76713         libc_fetestexcept and libc_feupdateenv.
76715         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
76716         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
76717         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
76718         * sysdeps/x86_64/fpu/math_private.h: Define special version of
76719         libc_feholdexcept_setround.
76721         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
76722         Add s_nearbyint-c and s_nearbyintf-c.
76723         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
76724         nearbyintf inlines.
76725         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
76726         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
76727         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
76728         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
76730         * math/math_private.h: Define defaults for libc_fegetround,
76731         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
76732         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
76733         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
76734         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
76735         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
76736         standard functions.
76737         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
76738         Remove comments and hacks for old compiler versions.
76739         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
76740         libc_fegetround, libc_fesetround, libc_feholdexcept, and
76741         libc_feholdexceptl.
76743 2011-10-18  Andreas Schwab  <schwab@redhat.com>
76745         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
76746         (__feraiseexcept_renamed): Add __NTH.
76747         (feraiseexcept): Add __NTH.  Rename local variables to fix
76748         namespace violations.
76750 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
76752         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
76754         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
76756         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
76757         recently added interfaces.
76758         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
76760         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
76761         about macro parameter expansion.
76763         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
76764         __NO_MATH_INLINES is defined.  Cleanups.
76766         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
76767         and __floorf is target has SSE4.1.
76768         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
76769         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
76770         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
76771         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
76773         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
76774         name.
76775         (floorf): Likewise.
76777         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
76779 2011-10-17  Andreas Schwab  <schwab@redhat.com>
76781         * misc/sys/cdefs.h: Fix last change.
76783         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
76784         database lookup.
76786 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
76788         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
76790         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
76791         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76792         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
76793         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76794         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76795         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
76796         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76797         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76798         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
76799         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
76800         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
76801         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
76802         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
76803         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
76804         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
76805         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
76806         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
76807         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
76808         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
76809         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
76810         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
76811         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
76813         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
76814         ceil, ceilf, floor, floorf.
76816         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
76817         Perform IRELATIVE relocations last.
76819         * elf/do-rel.h: Add another parameter nrelative, replacing the
76820         local variable with the same name.  Change name of the function
76821         to end in Rel or Rela (uppercase).
76822         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
76823         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
76824         elf_dynamic_do_##reloc function.
76826 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
76828         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
76829         is sufficient, at least on modern CPUs.
76831         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
76833         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
76834         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
76836         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
76837         __expl_finite.
76838         * math/bits/math-finite.h: Add entries for exp.
76839         * math/e_expl.c: Add __*_finite alias.
76840         * sysdeps/i386/fpu/e_exp.S: Likewise.
76841         * sysdeps/i386/fpu/e_expf.S: Likewise.
76842         * sysdeps/i386/fpu/e_expl.c: Likewise.
76843         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76844         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
76845         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
76846         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
76847         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
76848         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
76849         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
76851         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
76852         is sufficient, at least on modern CPUs.
76854         * ctype/ctype-info.c (__ctype_init): Define.
76855         * include/ctype.h (__ctype_init): Declare.
76856         (__ctype_b_loc): The variable is always initialized.
76857         (__ctype_toupper_loc): Likewise.
76858         (__ctype_tolower_loc): Likewise.
76859         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
76860         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
76862 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
76864         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
76866         * configure.in: Also look in $cxxmachine/include for C++ system
76867         headers.
76869 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76871         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
76872         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
76873         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
76874         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
76875         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
76876         (USE_AS_WMEMCMP): New macro.
76877         Fixing indents.
76878         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
76879         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
76880         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
76881         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
76882         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76883         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
76884         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
76885         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
76886         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
76887         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
76888         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
76889         (USE_AS_WMEMCMP): New macro.
76890         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
76891         * sysdeps/string/test-memcmp.c: Update.
76892         Fix simple_wmemcmp.
76893         Add new tests.
76894         * wcsmbs/wmemcmp.c: Update.
76895         (WMEMCMP): New macro.
76896         Fix overflow bug.
76898 2011-10-12  Andreas Jaeger  <aj@suse.de>
76900         [BZ #13268]
76901         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
76903 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
76905         * libio/iofwide.c (do_length): Avoid warning.
76907         * ctype/ctype.h (__isctype_f): Add missing __THROW.
76909 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
76911         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
76913         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
76914         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
76915         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
76916         * sysdeps/i386/i686/fpu/e_log.S: New file.
76917         * sysdeps/i386/i686/fpu/e_logf.S: New file.
76918         * sysdeps/i386/i686/fpu/e_logl.S: New file.
76920         * ctype/ctype.h: Add support for inlined isXXX functions when
76921         compiling C++ code.
76923 2011-10-14  Andreas Schwab  <schwab@redhat.com>
76925         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76927         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
76929 2011-10-13  Roland McGrath  <roland@hack.frob.com>
76931         [BZ #13291]
76932         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
76934 2011-10-13  Andreas Schwab  <schwab@redhat.com>
76936         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
76937         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
76938         feraiseexcept.
76940         * sysdeps/x86_64/memrchr.S: Check for zero size.
76942         * string/stratcliff.c: Add memrchr tests.
76944 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76946         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76947         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
76948         rawmemchr-sse2 rawmemchr-sse2-bsf.
76949         * sysdeps/i386/i686/multiarch/memchr.S: New file.
76950         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
76951         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
76952         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
76953         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
76954         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
76955         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
76956         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
76957         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
76958         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
76959         * string/memrchr.c (MEMRCHR): New macro.
76961 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
76963         Add integration with gcc's -ffinite-math-only and optimize wrapper
76964         functions in libm.
76965         * Versions.def: Define GLIBC_2.15 version for libm.
76966         * math/Makefile (headers): Add bits/math-finite.h.
76967         * math/bits/math-finite.h: New file.
76968         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
76969         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
76970         * math/e_acoshl.c: Add __*_finite alias.
76971         * math/e_acosl.c: Likewise.
76972         * math/e_asinl.c: Likewise.
76973         * math/e_atan2l.c: Likewise.
76974         * math/e_atanhl.c: Likewise.
76975         * math/e_coshl.c: Likewise.
76976         * math/e_exp10.c: Likewise.
76977         * math/e_exp10f.c: Likewise.
76978         * math/e_exp10l.c: Likewise.
76979         * math/e_exp2l.c: Likewise.
76980         * math/e_fmodl.c: Likewise.
76981         * math/e_gammal_r.c: Likewise.
76982         * math/e_hypotl.c: Likewise.
76983         * math/e_j0l.c: Likewise.
76984         * math/e_j1l.c: Likewise.
76985         * math/e_jnl.c: Likewise.
76986         * math/e_lgammal_r.c: Likewise.
76987         * math/e_log10l.c: Likewise.
76988         * math/e_log2l.c: Likewise.
76989         * math/e_logl.c: Likewise.
76990         * math/e_powl.c: Likewise.
76991         * math/e_sinhl.c: Likewise.
76992         * math/e_sqrtl.c: Likewise.
76993         * math/e_scalb.c: Completely rewritten and optimized.
76994         * math/e_scalbf.c: Likewise.
76995         * math/e_scalbl.c: Likewise.
76996         * math/w_acos.c: Likewise.
76997         * math/w_acosf.c: Likewise.
76998         * math/w_acosl.c: Likewise.
76999         * math/w_acosh.c: Likewise.
77000         * math/w_acoshf.c: Likewise.
77001         * math/w_acoshl.c: Likewise.
77002         * math/w_asin.c: Likewise.
77003         * math/w_asinf.c: Likewise.
77004         * math/w_asinl.c: Likewise.
77005         * math/w_atan2.c: Likewise.
77006         * math/w_atan2f.c: Likewise.
77007         * math/w_atan2l.c: Likewise.
77008         * math/w_atanh.c: Likewise.
77009         * math/w_atanhf.c: Likewise.
77010         * math/w_atanhl.c: Likewise.
77011         * math/w_exp10.c: Likewise.
77012         * math/w_exp10f.c: Likewise.
77013         * math/w_exp10l.c: Likewise.
77014         * math/w_fmod.c: Likewise.
77015         * math/w_fmodf.c: Likewise.
77016         * math/w_fmodl.c: Likewise.
77017         * math/w_j0.c: Likewise.
77018         * math/w_j0f.c: Likewise.
77019         * math/w_j0l.c: Likewise.
77020         * math/w_j1.c: Likewise.
77021         * math/w_j1f.c: Likewise.
77022         * math/w_j1l.c: Likewise.
77023         * math/w_jn.c: Likewise.
77024         * math/w_jnf.c: Likewise.
77025         * math/w_log.c: Likewise.
77026         * math/w_logf.c: Likewise.
77027         * math/w_logl.c: Likewise.
77028         * math/w_log10.c: Likewise.
77029         * math/w_log10f.c: Likewise.
77030         * math/w_log10l.c: Likewise.
77031         * math/w_log2.c: Likewise.
77032         * math/w_log2f.c: Likewise.
77033         * math/w_log2l.c: Likewise.
77034         * math/w_pow.c: Likewise.
77035         * math/w_powf.c: Likewise.
77036         * math/w_powl.c: Likewise.
77037         * math/w_remainder.c: Likewise.
77038         * math/w_remainderf.c: Likewise.
77039         * math/w_remainderl.c: Likewise.
77040         * math/w_scalb.c: Likewise.
77041         * math/w_scalbf.c: Likewise.
77042         * math/w_scalbl.c: Likewise.
77043         * math/w_sqrt.c: Likewise.
77044         * math/w_sqrtf.c: Likewise.
77045         * math/w_sqrtl.c: Likewise.
77046         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
77047         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
77048         used.
77049         * math/math_private.h: Declare __kernel_standard_f.
77050         * math/w_cosh.c: Remove cruft and optimize a bit.
77051         * math/w_coshf.c: Likewise.
77052         * math/w_coshl.c: Likewise.
77053         * math/w_exp2.c: Likewise.
77054         * math/w_exp2f.c: Likewise.
77055         * math/w_exp2l.c: Likewise.
77056         * math/w_hypot.c: Likewise.
77057         * math/w_hypotf.c: Likewise.
77058         * math/w_hypotl.c: Likewise.
77059         * math/w_lgamma.c: Likewise.
77060         * math/w_lgamma_r.c: Likewise.
77061         * math/w_lgammaf.c: Likewise.
77062         * math/w_lgammaf_r.c: Likewise.
77063         * math/w_lgammal.c: Likewise.
77064         * math/w_lgammal_r.c: Likewise.
77065         * math/w_sinh.c: Likewise.
77066         * math/w_sinhf.c: Likewise.
77067         * math/w_sinhl.c: Likewise.
77068         * math/w_tgamma.c: Likewise.
77069         * math/w_tgammaf.c: Likewise.
77070         * math/w_tgammal.c: Likewise.
77071         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77072         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77073         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
77074         Minor optimizations.  Pretty printing.  Remove cruft.
77075         * sysdeps/i386/fpu/e_acosf.S: Likewise.
77076         * sysdeps/i386/fpu/e_acosh.S: Likewise.
77077         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77078         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77079         * sysdeps/i386/fpu/e_acosl.c: Likewise.
77080         * sysdeps/i386/fpu/e_asin.S: Likewise.
77081         * sysdeps/i386/fpu/e_asinf.S: Likewise.
77082         * sysdeps/i386/fpu/e_atan2.S: Likewise.
77083         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
77084         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
77085         * sysdeps/i386/fpu/e_atanh.S: Likewise.
77086         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77087         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77088         * sysdeps/i386/fpu/e_exp10.S: Likewise.
77089         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
77090         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
77091         * sysdeps/i386/fpu/e_exp2.S: Likewise.
77092         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
77093         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
77094         * sysdeps/i386/fpu/e_fmod.S: Likewise.
77095         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
77096         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
77097         * sysdeps/i386/fpu/e_hypot.S: Likewise.
77098         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
77099         * sysdeps/i386/fpu/e_log.S: Likewise.
77100         * sysdeps/i386/fpu/e_log10.S: Likewise.
77101         * sysdeps/i386/fpu/e_log10f.S: Likewise.
77102         * sysdeps/i386/fpu/e_log10l.S: Likewise.
77103         * sysdeps/i386/fpu/e_log2.S: Likewise.
77104         * sysdeps/i386/fpu/e_log2f.S: Likewise.
77105         * sysdeps/i386/fpu/e_log2l.S: Likewise.
77106         * sysdeps/i386/fpu/e_logf.S: Likewise.
77107         * sysdeps/i386/fpu/e_logl.S: Likewise.
77108         * sysdeps/i386/fpu/e_pow.S: Likewise.
77109         * sysdeps/i386/fpu/e_powf.S: Likewise.
77110         * sysdeps/i386/fpu/e_powl.S: Likewise.
77111         * sysdeps/i386/fpu/e_remainder.S: Likewise.
77112         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
77113         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
77114         * sysdeps/i386/fpu/e_scalb.S: Likewise.
77115         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77116         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77117         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
77118         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
77119         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
77120         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
77121         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
77122         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77123         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
77124         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
77125         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
77126         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
77127         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
77128         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
77129         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
77130         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
77131         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
77132         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77133         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
77134         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
77135         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77136         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
77137         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
77138         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
77139         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77140         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
77141         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
77142         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
77143         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
77144         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
77145         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
77146         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
77147         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
77148         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
77149         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
77150         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
77151         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
77152         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
77153         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
77154         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
77155         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
77156         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
77157         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
77158         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
77159         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
77160         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
77161         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
77162         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
77163         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
77164         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
77165         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
77166         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
77167         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
77168         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
77169         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
77170         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
77171         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
77172         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
77173         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
77174         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
77175         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
77176         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
77177         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
77178         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
77179         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
77180         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
77181         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
77182         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
77183         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
77184         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
77185         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
77186         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
77187         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
77188         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
77189         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
77190         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
77191         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
77192         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
77193         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
77194         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
77195         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
77196         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
77197         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
77198         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
77199         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
77200         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
77201         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
77202         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
77203         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
77204         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
77205         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
77206         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
77207         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
77208         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
77209         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
77210         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
77211         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
77212         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
77213         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
77214         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
77215         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
77216         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
77217         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
77218         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
77219         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
77220         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
77221         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
77222         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
77223         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
77224         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77225         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
77226         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
77227         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77228         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
77229         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
77230         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
77231         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
77232         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
77233         (__isnanf): Likewise.
77234         (__isinf_ns): Likewise.
77235         (__isinf_nsf): Likewise.
77236         (__finite): Likewise.
77237         (__finitef): Likewise.
77238         (__ieee754_sqrt): Define as macro.
77239         (__ieee754_sqrtf): Define as macro.
77240         (__ieee754_sqrtl): Define as macro.
77241         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
77242         inlined copy.
77243         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
77244         __FINITE_MATH_ONLY__ consistent.
77245         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
77247 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
77249         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
77250         of rawmemchr.
77252         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
77254 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
77256         * po/ja.po: Update from translation team.
77258 2011-10-08  Roland McGrath  <roland@hack.frob.com>
77260         * locale/programs/locarchive.c (prepare_address_space): New function.
77261         (create_archive, enlarge_archive, open_archive): Use it.
77263         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
77264         inside [SHARED], where it is used.
77266         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
77268         * nss/getent.c (netgroup_keys): Remove unused variable.
77269         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
77271 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
77273         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
77274         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
77275         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
77276         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
77277         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
77278         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
77279         * math/Makefile (libm-calls): Add s_isinf_ns.
77280         * math/divtc3.c: Use __isinf_nsl instead of isinf.
77281         * math/multc3.c: Likewise.
77282         * math/s_casin.c: Likewise.
77283         * math/s_casinf.c: Likewise.
77284         * math/s_casinl.c: Likewise.
77285         * math/s_ccos.c: Likewise.
77286         * math/s_ccosf.c: Likewise.
77287         * math/s_ccosl.c: Likewise.
77288         * math/s_ctan.c: Likewise.
77289         * math/s_ctanf.c: Likewise.
77290         * math/s_ctanh.c: Likewise.
77291         * math/s_ctanhf.c: Likewise.
77292         * math/s_ctanhl.c: Likewise.
77293         * math/s_ctanl.c: Likewise.
77294         * math/w_fmod.c: Likewise.
77295         * math/w_fmodf.c: Likewise.
77296         * math/w_fmodl.c: Likewise.
77297         * math/w_remainder.c: Likewise.
77298         * math/w_remainderf.c: Likewise.
77299         * math/w_remainderl.c: Likewise.
77300         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
77301         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
77302         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
77303         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
77304         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
77305         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
77306         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
77307         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
77309         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
77310         of the number.
77311         * stdio-common/printf_fphex.c: Likewise.
77312         * stdio-common/printf_size.c: Likewise.
77314         * math/e_exp10.c: Include math_private.h using <...> not "...".
77315         * math/e_exp10f.c: Likewise.
77316         * math/e_exp10l.c: Likewise.
77317         * math/e_exp2l.c: Likewise.
77318         * math/e_j0l.c: Likewise.
77319         * math/e_j1l.c: Likewise.
77320         * math/e_jnl.c: Likewise.
77321         * math/e_lgammal_r.c: Likewise.
77322         * math/e_rem_pio2l.c: Likewise.
77323         * math/e_scalb.c: Likewise.
77324         * math/e_scalbf.c: Likewise.
77325         * math/e_scalbl.c: Likewise.
77326         * math/k_cosl.c: Likewise.
77327         * math/k_sinl.c: Likewise.
77328         * math/k_tanl.c: Likewise.
77329         * math/s_cacoshf.c: Likewise.
77330         * math/s_catan.c: Likewise.
77331         * math/s_catanf.c: Likewise.
77332         * math/s_catanh.c: Likewise.
77333         * math/s_catanhf.c: Likewise.
77334         * math/s_catanhl.c: Likewise.
77335         * math/s_catanl.c: Likewise.
77336         * math/s_ccosh.c: Likewise.
77337         * math/s_ccoshf.c: Likewise.
77338         * math/s_ccoshl.c: Likewise.
77339         * math/s_cexp.c: Likewise.
77340         * math/s_cexpf.c: Likewise.
77341         * math/s_cexpl.c: Likewise.
77342         * math/s_clog.c: Likewise.
77343         * math/s_clog10.c: Likewise.
77344         * math/s_clog10f.c: Likewise.
77345         * math/s_clog10l.c: Likewise.
77346         * math/s_clogf.c: Likewise.
77347         * math/s_clogl.c: Likewise.
77348         * math/s_csin.c: Likewise.
77349         * math/s_csinf.c: Likewise.
77350         * math/s_csinh.c: Likewise.
77351         * math/s_csinhf.c: Likewise.
77352         * math/s_csinhl.c: Likewise.
77353         * math/s_csinl.c: Likewise.
77354         * math/s_csqrt.c: Likewise.
77355         * math/s_csqrtf.c: Likewise.
77356         * math/s_csqrtl.c: Likewise.
77357         * math/s_ctan.c: Likewise.
77358         * math/s_ctanf.c: Likewise.
77359         * math/s_ctanh.c: Likewise.
77360         * math/s_ctanhf.c: Likewise.
77361         * math/s_ctanhl.c: Likewise.
77362         * math/s_ctanl.c: Likewise.
77363         * math/s_ldexp.c: Likewise.
77364         * math/s_ldexpf.c: Likewise.
77365         * math/s_ldexpl.c: Likewise.
77366         * math/s_significand.c: Likewise.
77367         * math/s_significandf.c: Likewise.
77368         * math/s_significandl.c: Likewise.
77369         * math/w_acos.c: Likewise.
77370         * math/w_acosf.c: Likewise.
77371         * math/w_acosh.c: Likewise.
77372         * math/w_acoshf.c: Likewise.
77373         * math/w_acoshl.c: Likewise.
77374         * math/w_acosl.c: Likewise.
77375         * math/w_asin.c: Likewise.
77376         * math/w_asinf.c: Likewise.
77377         * math/w_asinl.c: Likewise.
77378         * math/w_atan2.c: Likewise.
77379         * math/w_atan2f.c: Likewise.
77380         * math/w_atan2l.c: Likewise.
77381         * math/w_atanh.c: Likewise.
77382         * math/w_atanhf.c: Likewise.
77383         * math/w_atanhl.c: Likewise.
77384         * math/w_cosh.c: Likewise.
77385         * math/w_coshf.c: Likewise.
77386         * math/w_coshl.c: Likewise.
77387         * math/w_dremf.c: Likewise.
77388         * math/w_exp10.c: Likewise.
77389         * math/w_exp10f.c: Likewise.
77390         * math/w_exp10l.c: Likewise.
77391         * math/w_exp2.c: Likewise.
77392         * math/w_exp2f.c: Likewise.
77393         * math/w_fmod.c: Likewise.
77394         * math/w_fmodf.c: Likewise.
77395         * math/w_fmodl.c: Likewise.
77396         * math/w_hypot.c: Likewise.
77397         * math/w_hypotf.c: Likewise.
77398         * math/w_hypotl.c: Likewise.
77399         * math/w_j0.c: Likewise.
77400         * math/w_j0f.c: Likewise.
77401         * math/w_j0l.c: Likewise.
77402         * math/w_j1.c: Likewise.
77403         * math/w_j1f.c: Likewise.
77404         * math/w_j1l.c: Likewise.
77405         * math/w_jn.c: Likewise.
77406         * math/w_jnf.c: Likewise.
77407         * math/w_jnl.c: Likewise.
77408         * math/w_lgamma.c: Likewise.
77409         * math/w_lgamma_r.c: Likewise.
77410         * math/w_lgammaf.c: Likewise.
77411         * math/w_lgammaf_r.c: Likewise.
77412         * math/w_lgammal.c: Likewise.
77413         * math/w_lgammal_r.c: Likewise.
77414         * math/w_log.c: Likewise.
77415         * math/w_log10.c: Likewise.
77416         * math/w_log10f.c: Likewise.
77417         * math/w_log10l.c: Likewise.
77418         * math/w_log2.c: Likewise.
77419         * math/w_log2f.c: Likewise.
77420         * math/w_log2l.c: Likewise.
77421         * math/w_logf.c: Likewise.
77422         * math/w_logl.c: Likewise.
77423         * math/w_pow.c: Likewise.
77424         * math/w_powf.c: Likewise.
77425         * math/w_powl.c: Likewise.
77426         * math/w_remainder.c: Likewise.
77427         * math/w_remainderf.c: Likewise.
77428         * math/w_remainderl.c: Likewise.
77429         * math/w_scalb.c: Likewise.
77430         * math/w_scalbf.c: Likewise.
77431         * math/w_scalbl.c: Likewise.
77432         * math/w_sinh.c: Likewise.
77433         * math/w_sinhf.c: Likewise.
77434         * math/w_sinhl.c: Likewise.
77435         * math/w_sqrt.c: Likewise.
77436         * math/w_sqrtf.c: Likewise.
77437         * math/w_sqrtl.c: Likewise.
77438         * math/w_tgamma.c: Likewise.
77439         * math/w_tgammaf.c: Likewise.
77440         * math/w_tgammal.c: Likewise.
77442         * po/ja.po: Update from translation team.
77444 2011-09-29  Andreas Jaeger  <aj@suse.de>
77446         [BZ #13179]
77447         * sunrpc/netname.c (netname2host): Fix logic.
77449         [BZ #6779]
77450         [BZ #6783]
77451         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
77452         correctly.
77453         * math/w_remainder.c (__remainder): Likewise.
77454         * math/w_remainderf.c (__remainderf): Likewise.
77455         * math/libm-test.inc (remainder_test): Add test cases.
77457 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77459         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
77460         sdiv_qrnnd.
77462 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
77464         * string/test-memcmp.c: Avoid unncessary #defines.
77465         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
77467 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77469         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
77470         Use new sse2 version for core i3 - i7 as it's faster
77471         than sse42 version.
77472         (bit_Prefer_PMINUB_for_stringop): New.
77473         * sysdeps/x86_64/rawmemchr.S: Update.
77474         Replace with faster SSE2 version.
77475         * sysdeps/x86_64/memrchr.S: New file.
77476         * sysdeps/x86_64/memchr.S: Update.
77477         Replace with faster SSE2 version.
77479 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
77481         * elf/dl-load.c (lose): Add cast to avoid warning.
77483 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
77485         * po/ca.po: Update from translation team.
77487         * inet/getnetgrent_r.c: Hook up nscd.
77488         * nscd/Makefile (routines): Add nscd_netgroup.
77489         (nscd-modules): Add netgroupcache.
77490         (CFLAGS-netgroupcache.c): Define.
77491         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
77492         (cache_search): Add const to second parameter.
77493         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
77494         INNETGR.
77495         (dbs): Add netgrdb entry.
77496         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
77497         (verify_persistent_db): Handle netgrdb.
77498         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
77499         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
77500         GETFDNETGR.
77501         (netgroup_response_header): Define.
77502         (innetgroup_response_header): Define.
77503         (datahead): Add netgroup_response_header and innetgroup_response_header
77504         elements.
77505         * nscd/nscd.conf: Add entries for netgroup cache.
77506         * nscd/nscd.h (dbtype): Add netgrdb.
77507         (_PATH_NSCD_NETGROUP_DB): Define.
77508         (netgroup_iov_disabled): Declare.
77509         (xmalloc, xcalloc, xrealloc): Move declarations here.
77510         (cache_search): Adjust prototype.
77511         Add netgroup-related prototypes.
77512         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
77513         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
77514         (__nscd_innetgr): Declare.
77515         * nscd/selinux.c (perms): Use access_vector_t as element type and
77516         add netgroup-related initializers.
77517         * nscd/netgroupcache.c: New file.
77518         * nscd/nscd_netgroup.c: New file.
77519         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
77520         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
77521         For four parameters use innetgr.
77522         * nss/nss_files/files-init.c: Add definition and callback for netgr.
77523         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
77524         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
77525         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
77527         * nscd/connections.c (register_traced_file): Don't register file
77528         for disabled databases.
77530 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
77532         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
77534         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
77535         from tree and freeing node.
77537 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
77539         * nss/nsswitch.c (__nss_database_lookup): Handle
77540         nss_parse_service_list out of memory case.
77542 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
77544         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
77545         out of memory case.
77547 2011-10-04  Andreas Schwab  <schwab@redhat.com>
77549         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
77550         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
77551         pass it down.
77552         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
77553         elf_machine_rela, elf_machine_lazy_rel.
77554         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
77555         (ELF_DYNAMIC_DO_REL): Likewise.
77556         (ELF_DYNAMIC_DO_RELA): Likewise.
77557         (ELF_DYNAMIC_RELOCATE): Likewise.
77558         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
77559         to ELF_DYNAMIC_DO_REL.
77560         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
77561         (dl_main): In trace mode always set __RTLD_NOIFUNC.
77562         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
77563         elf_machine_rela.
77564         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
77565         skip_ifunc, don't call ifunc function if non-zero.
77566         (elf_machine_rela): Likewise.
77567         (elf_machine_lazy_rel): Likewise.
77568         (elf_machine_lazy_rela): Likewise.
77569         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
77570         (elf_machine_lazy_rel): Likewise.
77571         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
77572         Likewise.
77573         (elf_machine_lazy_rel): Likewise.
77574         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77575         Likewise.
77576         (elf_machine_lazy_rel): Likewise.
77577         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
77578         (elf_machine_lazy_rel): Likewise.
77579         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
77580         (elf_machine_lazy_rel): Likewise.
77581         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
77582         (elf_machine_lazy_rel): Likewise.
77583         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
77584         (elf_machine_lazy_rel): Likewise.
77585         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
77586         (elf_machine_lazy_rel): Likewise.
77587         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
77588         (elf_machine_lazy_rel): Likewise.
77590 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
77592         * nss/nss_files/files-init.c (_nss_files_init): Use static
77593         initialization for all the *_traced_file variables.
77595 2011-09-28  Andreas Schwab  <schwab@redhat.com>
77597         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77599 2011-09-27  Roland McGrath  <roland@hack.frob.com>
77601         [BZ #13226]
77602         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
77604 2011-09-27  Andreas Schwab  <schwab@redhat.com>
77606         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
77607         Reread the line before reparsing it.
77609 2011-09-26  Andreas Schwab  <schwab@redhat.com>
77611         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
77613 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
77614             Maxim Kuvyrkov  <maxim@codesourcery.com>
77615             Joseph Myers  <joseph@codesourcery.com>
77617         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
77618         if needed for __stack_chk_guard.
77620 2011-09-19  Roland McGrath  <roland@hack.frob.com>
77622         * sysdeps/posix/spawni.c (script_execute): Always define it.
77623         It will be optimized away if unused.
77624         (maybe_script_execute): New function.
77625         (__spawni): Call it.
77627         * Makerules: Don't include tls.make.
77628         (config-tls): Always set to thread.
77629         * tls.make.c: File removed.
77631 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
77633         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
77634         * config.make.in (CPPFLAGS-config): New substituted variable.
77636 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
77638         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
77640         [BZ #13192]
77641         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
77642         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
77644 2011-09-15  Roland McGrath  <roland@hack.frob.com>
77646         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
77647         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
77648         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
77649         (CALL_FAIL): Likewise.
77650         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
77651         (CALL_FAIL): Macro removed.
77652         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
77654 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
77656         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
77657         for __FINITE_MATH_ONLY__ == 1.
77659 2011-09-15  Andreas Schwab  <schwab@redhat.com>
77661         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
77662         __ieee754_sqrt instead of sqrt.
77663         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
77664         __ieee754_sqrtf instead of sqrtf.
77665         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
77666         __floorf instead of floorf.
77667         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
77668         __floorf, __truncf instead of floorf, truncf.
77670 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
77672         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
77674         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
77675         __extern_always_inline.
77676         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
77677         32-bit.
77679 2011-09-14  Andreas Schwab  <schwab@redhat.com>
77681         * elf/rtld.c (dl_main): Also relocate in dependency order when
77682         doing symbol dependency testing.
77684 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
77686         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77687         Always define `refsym'.
77689 2011-09-13  Andreas Schwab  <schwab@redhat.com>
77691         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
77692         (__FD_ELT): Renamed from __FDELT.
77693         * misc/bits/select2.h (__FD_ELT): Likewise.
77694         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
77695         __FD_MASK instead of __FDELT, __FDMASK.
77696         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
77697         Likewise.
77698         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
77699         Likewise.
77701         * elf/Makefile (gen-ldd): Fix pattern.
77703         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
77704         (init_tls): Likewise.
77706 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
77708         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
77710 2011-09-12  Andreas Schwab  <schwab@redhat.com>
77712         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
77713         `struct cmsghdr *' instead of `void *'.
77714         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
77715         Likewise.
77717 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
77719         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
77720         if non-absolute.
77721         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
77722         ldd_rewrite_script.
77724 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
77726         * configure.in: Remove --with-tls option.
77727         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
77728         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
77729         out in case it is missing.
77730         * sysdeps/ia64/elf/configure.in: Likewise.
77731         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
77732         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
77733         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
77734         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
77735         * sysdeps/sh/elf/configure.in: Likewise.
77736         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
77737         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
77738         * sysdeps/x86_64/elf/configure.in: Likewise.
77739         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
77740         * sysdeps/mach/hurd/tls.h: Likewise.
77742         [BZ #13067]
77743         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
77745         [BZ #13090]
77746         * configure.in: Fix use of AC_INIT.
77748         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
77750 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
77752         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
77753         __set_errno.
77754         * malloc/hooks.c: Likewise.
77756         [BZ #11929]
77757         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
77758         variables statically.
77759         (narenas): Initialize.
77760         (list_lock): Initialize.
77761         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
77762         initializtion of main_arena and list_lock.  Small cleanups.
77763         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
77764         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
77765         Add initializers to main_arena and mp_.
77766         (malloc_state): Remove pagesize member.  Change all users to use
77767         GLRO(dl_pagesize).
77769         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
77770         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
77771         is always initialized.
77773         * malloc/malloc.c: Removed unused configurations and dead code.
77774         * malloc/arena.c: Likewise.
77775         * malloc/hooks.c: Likewise.
77776         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
77778         * include/tls.h: Removed.  USE___THREAD must always be defined.
77779         * bits/libc-tsd.h: Don't handle !USE___THREAD.
77780         * elf/dl-libc.c: Likewise.
77781         * elf/dl-tsd.c: Likewise.
77782         * include/errno.h: Likewise.
77783         * include/netdb.h: Likewise.
77784         * include/resolv.h: Likewise.
77785         * inet/herrno-loc.c: Likewise.
77786         * inet/herrno.c: Likewise.
77787         * malloc/arena.c: Likewise.
77788         * malloc/hooks.c: Likewise.
77789         * malloc/malloc.c: Likewise.
77790         * resolv/res-state.c: Likewise.
77791         * resolv/res_libc.c: Likewise.
77792         * sysdeps/i386/dl-machine.h: Likewise.
77793         * sysdeps/ia64/dl-machine.h: Likewise.
77794         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
77795         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
77796         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
77797         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
77798         * sysdeps/sh/dl-machine.h: Likewise.
77799         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
77800         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
77801         * sysdeps/unix/i386/sysdep.S: Likewise.
77802         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
77803         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
77804         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
77805         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
77806         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
77807         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
77808         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
77809         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
77810         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77811         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
77812         * sysdeps/unix/x86_64/sysdep.S: Likewise.
77813         * sysdeps/x86_64/dl-machine.h: Likewise.
77814         * tls.make.c: Likewise.
77816         * configure.in: Remove --with-__thread option.  Make tests for
77817         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
77818         tls_model attribute fail if no support is available.  Remove
77819         USE_IN_LIBIO.
77820         * Makeconfig: Adjust for dropped configure option.  All features are
77821         now mandatory.
77822         * Makerules: Likewise.
77823         * Versions.def: Likewise.
77824         * argp/argp-fmtstream.c: Likewise.
77825         * argp/argp-fmtstream.h: Likewise.
77826         * argp/argp-help.c: Likewise.
77827         * assert/assert.c: Likewise.
77828         * config.h.in: Likewise.
77829         * config.make.in: Likewise.
77830         * configure: Likewise.
77831         * configure.in: Likewise.
77832         * csu/Versions: Likewise.
77833         * csu/init.c: Likewise.
77834         * elf/tst-audit2.c: Likewise.
77835         * elf/tst-tls10.c: Likewise.
77836         * elf/tst-tls10.h: Likewise.
77837         * elf/tst-tls11.c: Likewise.
77838         * elf/tst-tls12.c: Likewise.
77839         * elf/tst-tls14.c: Likewise.
77840         * elf/tst-tlsmod11.c: Likewise.
77841         * elf/tst-tlsmod12.c: Likewise.
77842         * elf/tst-tlsmod13.c: Likewise.
77843         * elf/tst-tlsmod13a.c: Likewise.
77844         * elf/tst-tlsmod14a.c: Likewise.
77845         * elf/tst-tlsmod15b.c: Likewise.
77846         * elf/tst-tlsmod16a.c: Likewise.
77847         * elf/tst-tlsmod16b.c: Likewise.
77848         * elf/tst-tlsmod7.c: Likewise.
77849         * elf/tst-tlsmod8.c: Likewise.
77850         * elf/tst-tlsmod9.c: Likewise.
77851         * gmon/gmon.c: Likewise.
77852         * grp/fgetgrent_r.c: Likewise.
77853         * grp/putgrent.c: Likewise.
77854         * hurd/fopenport.c: Likewise.
77855         * include/libc-symbols.h: Likewise.
77856         * include/tls.h: Likewise.
77857         * intl/gettextP.h: Likewise.
77858         * intl/loadinfo.h: Likewise.
77859         * locale/global-locale.c: Likewise.
77860         * locale/localeinfo.h: Likewise.
77861         * mach/devstream.c: Likewise.
77862         * malloc/arena.c: Likewise.
77863         * malloc/set-freeres.c: Likewise.
77864         * misc/err.c: Likewise.
77865         * misc/getttyent.c: Likewise.
77866         * misc/mntent_r.c: Likewise.
77867         * posix/getopt.c: Likewise.
77868         * posix/wordexp.c: Likewise.
77869         * pwd/fgetpwent_r.c: Likewise.
77870         * resolv/Versions: Likewise.
77871         * resolv/res_hconf.c: Likewise.
77872         * shadow/fgetspent_r.c: Likewise.
77873         * shadow/putspent.c: Likewise.
77874         * stdio-common/printf_fphex.c: Likewise.
77875         * stdio-common/tmpfile.c: Likewise.
77876         * stdlib/abort.c: Likewise.
77877         * stdlib/fmtmsg.c: Likewise.
77878         * sunrpc/auth_unix.c: Likewise.
77879         * sunrpc/clnt_perr.c: Likewise.
77880         * sunrpc/clnt_tcp.c: Likewise.
77881         * sunrpc/clnt_udp.c: Likewise.
77882         * sunrpc/clnt_unix.c: Likewise.
77883         * sunrpc/openchild.c: Likewise.
77884         * sunrpc/svc_simple.c: Likewise.
77885         * sunrpc/svc_tcp.c: Likewise.
77886         * sunrpc/svc_udp.c: Likewise.
77887         * sunrpc/svc_unix.c: Likewise.
77888         * sunrpc/xdr.c: Likewise.
77889         * sunrpc/xdr_array.c: Likewise.
77890         * sunrpc/xdr_rec.c: Likewise.
77891         * sunrpc/xdr_ref.c: Likewise.
77892         * sunrpc/xdr_stdio.c: Likewise.
77894 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77896         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77898 2011-07-03  Andreas Jaeger  <aj@suse.de>
77900         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
77901         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
77902         regenerate with gen-libm-tests.pl.
77904 2010-05-12  Petr Baudis  <pasky@suse.cz>
77906         [BZ #11589]
77907         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
77908         around j0() zero points by switching to j1().
77909         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
77910         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
77911         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
77912         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
77914 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77916         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
77917         instead of 0.
77918         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
77919         instead of 0.
77920         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77921         Patch in part by Pavel Roskin <proski@gnu.org>.
77923         [BZ #13138]
77924         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
77925         realloc.
77926         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
77927         Free memory block if necessary.
77929         [BZ #12847]
77930         * libio/genops.c (INTDEF): For string streams the _lock pointer can
77931         be NULL.  Don't lock in this case.
77933 2011-09-09  Roland McGrath  <roland@hack.frob.com>
77935         * elf/elf.h (ELFOSABI_GNU): New macro.
77936         (ELFOSABI_LINUX): Define to that.
77938 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
77940         * string/strncat.c (strncat): Undef the symbol in case it has been
77941         defined in bits/string.h.
77943 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77945         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
77947         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
77948         link map.
77950 2011-08-17  Andreas Jaeger  <aj@suse.de>
77952         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
77954 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
77955             Ian Lance Taylor  <iant@google.com>
77957         * math/libm-test.inc (lround_test): New testcase.
77958         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
77960 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
77962         * Makefile: Remove support for automatic cvs check-ins.
77963         * Makerules: Likewise.
77964         * config.make.in: Likewise.
77965         * configure.in: Likewise.
77966         * intl/Makefile: Likewise.
77967         * locale/Makefile: Likewise.
77968         * po/Makefile: Likewise.
77969         * posix/Makefile: Likewise.
77970         * sysdeps/gnu/Makefile: Likewise.
77971         * sysdeps/mach/hurd/Makefile: Likewise.
77972         * sysdeps/sparc/sparc32/Makefile: Likewise.
77974         [BZ #13118]
77975         * posix/Makefile (bug-regex32-ENV): Define.
77976         Patch by John Stanley <jpsinthemix@verizon.net>.
77978         * misc/Makefile (headers): Add bits/select2.h.
77979         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
77980         * misc/bits/select2.h: New file.
77981         * include/bits/select2.h: New file.
77982         * debug/Makefile (routines): Add fdelt_chk.
77983         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
77984         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
77985         FD_ISSET.
77986         * debug/fdelt_chk.c: New file.
77988         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
77989         * wcsmbs/test-wmemcmp.c: Likewise.
77990         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
77991         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
77993 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77995         * string/Makefile (strop-tests): Add memcmp.
77996         * string/test-wmemcmp.c: New file.
77997         * string/test-memcmp.c: Add wmemcmp support.
77999 2011-09-08  Roland McGrath  <roland@hack.frob.com>
78001         [BZ #13153]
78002         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
78003         2011-07-19 change.
78005         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
78006         garbage value in a __mach_port_mod_refs call in the cases of the
78007         task-self and thread-self ports.
78009 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78011         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
78013 2011-09-08  Andreas Schwab  <schwab@redhat.com>
78015         * elf/dl-load.c (lose): Check for non-null L.
78017 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
78019         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
78021         * elf/dl-libc.c (dlerror_run): Pass back error code from
78022         dl_catch_error.
78024         [BZ #13123]
78025         * elf/dl-load.c (lose): Free l_origin if it is valid.
78027         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
78028         names.
78029         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
78030         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
78031         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
78032         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
78033         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
78034         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
78036 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78038         * sysdeps/powerpc/fpu/e_hypot.c: New file.
78039         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
78040         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
78041         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
78042         * sysdeps/powerpc/fpu/k_cosf.c: New file.
78043         * sysdeps/powerpc/fpu/k_sinf.c: New file.
78044         * sysdeps/powerpc/fpu/s_cosf.c: New file.
78045         * sysdeps/powerpc/fpu/s_sinf.c: New file.
78046         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
78047         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
78049 2011-08-15  Alan Modra  <amodra@gmail.com>
78051         [BZ #13092]
78052         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
78053         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
78054         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
78055         ppc_mcount to static-only-routines.
78056         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
78057         __mcount_internal.
78058         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
78059         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
78061 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
78063         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
78064         for finite and infinity parameters.
78066 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
78068         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
78069         and add nop instructions for throughput optimization.
78070         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78072 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
78074         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
78075         aligned copy for power7 with vector-scalar instructions.
78076         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
78078 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
78080         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
78081         AVX check.
78083 2011-09-07  Andreas Schwab  <schwab@redhat.com>
78085         [BZ #13144]
78086         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
78087         last change.
78089 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
78091         * sysdeps/unix/sysv/linux/x86_64/init-first.c
78092         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
78093         syscall wrapper around clock_gettime in __vdso_clock_gettime.
78094         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
78095         clock_gettime.
78097 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
78099         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
78100         Forgot to demangle the pointer.
78102         * sysdeps/i386/sysdep.h: Define atom_text_section.
78103         * sysdeps/x86_64/sysdep.h: Likewise.
78104         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
78105         section with atom_text_section.
78106         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
78107         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
78108         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
78109         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
78110         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
78112         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
78113         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
78114         already be defined.  Change to take two parameters and don't assign
78115         result to variable.  Adjust all users.
78116         Define INTERNAL_GETTIME if not already defined.
78117         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
78118         call.
78119         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
78120         HAVE_CLOCK_GETTIME_VSYSCALL.
78121         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
78123         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
78124         gettimeofday vsyscall, just use time.
78126 2011-09-06  Andreas Schwab  <schwab@redhat.com>
78128         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
78129         <errno.h>.
78131 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
78133         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
78134         syscall on x86-64.
78135         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
78136         syscall.
78137         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
78138         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
78139         syscall if possible.
78141 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
78143         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
78144         e_ident.  Don't pass to find_mapsXX.
78145         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
78147 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78149         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78150         strchr-sse2-no-bsf strrchr-sse2-no-bsf
78151         * sysdeps/x86_64/multiarch/strchr.S: Update.
78152         Check bit_slow_BSF bit.
78153         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
78154         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
78155         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
78157 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
78159         [BZ #13134]
78160         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
78161         before glibc 2.15.
78162         (tryshell): Define.
78163         (__spawni): Change last parameter to be flag.  Test
78164         SPAWN_XFLAGS_USE_PATH flag to use path or not.
78165         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
78166         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
78167         * posix/spawni.c: Likewise.
78168         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
78169         * posix/spawnp.c: Likewise.  Change normal version to use
78170         SPAWN_XFLAGS_USE_PATH.
78171         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
78172         SPAWN_XFLAGS_TRY_SHELL.
78174         [BZ #13150]
78175         * posix/glob.h: Remove gcc 1.x support.
78177         [BZ #13068]
78178         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
78180 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78182         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78183         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
78184         strrchr-sse2-bsf
78185         * sysdeps/i386/i686/multiarch/strchr.S: New file.
78186         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
78187         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
78188         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
78189         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
78190         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
78192 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78194         * sysdeps/x86_64/wcscmp.S: New file.
78196         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
78197         wcscmp-c wcscmp-sse2
78198         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
78199         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
78200         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
78201         * wcsmbs/wcscmp.c: Allow renaming.
78203 2011-09-05  David S. Miller  <davem@davemloft.net>
78205         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
78206         stack slot, rather than the struct return pointer slot.
78207         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
78208         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
78209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
78210         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
78212 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
78214         * po/ja.po: Update from translation team.
78216         [BZ #13144]
78217         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
78218         kernel in 64-bit binaries.
78220 2011-09-01  David S. Miller  <davem@davemloft.net>
78222         * elf/elf.h (HWCAP_SPARC_*): Move to..
78223         * sysdeps/sparc/sysdep.h: this new file and add new values.
78224         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
78225         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
78226         _DL_HWCAP_COUNT to 24.
78227         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
78228         entries.
78229         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
78230         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
78231         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
78232         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
78233         instead of magic constants.
78234         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
78236 2011-08-31  David S. Miller  <davem@davemloft.net>
78238         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
78239         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
78240         Reimplement to do errno handling inline.
78241         (SYSCALL_ERROR_HANDLER): New macro.
78242         (__SYSCALL_STRING): Do not do errno handling in asm.
78243         (__CLONE_SYSCALL_STRING): Delete.
78244         (__INTERNAL_SYSCALL_STRING): Delete.
78245         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
78246         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
78247         (PSEUDO): Reimplement to do errno handling inline.
78248         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
78249         (SYSCALL_ERROR_HANDLER): New macro.
78250         (__SYSCALL_STRING): Do not do errno handling in asm.
78251         (__CLONE_SYSCALL_STRING): Delete.
78252         (__INTERNAL_SYSCALL_STRING): Delete.
78253         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
78254         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
78255         i386.
78256         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
78257         (inline_syscall*): Add 'err' argument.
78258         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
78259         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
78260         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
78261         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
78263         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
78264         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
78266 2011-08-30  Andreas Schwab  <schwab@redhat.com>
78268         * elf/rtld.c (dl_main): Relocate objects in dependency order.
78270 2011-08-29  Jiri Olsa <jolsa@redhat.com>
78272         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
78273         directive.
78275 2011-08-24  David S. Miller  <davem@davemloft.net>
78277         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
78279 2011-08-24  Andreas Schwab  <schwab@redhat.com>
78281         * elf/Makefile: Add rules to build and run unload8 test.
78282         * elf/unload8.c: New file.
78283         * elf/unload8mod1.c: New file.
78284         * elf/unload8mod1x.c: New file.
78285         * elf/unload8mod2.c: New file.
78286         * elf/unload8mod3.c: New file.
78288         * elf/dl-close.c (_dl_close_worker): Reset private search list if
78289         it wasn't used.
78291 2011-08-23  David S. Miller  <davem@davemloft.net>
78293         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
78294         subtract stack bias.
78295         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
78296         %sp not %fp in calculations.
78297         (_JMPBUF_UNWINDS_ADJ): Likewise.
78299         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
78300         (aio_suspend): Call it to force an exception region around the
78301         AIO_MISC_WAIT() invocation.
78303 2011-08-23  Andreas Schwab  <schwab@redhat.com>
78305         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
78306         backslash.
78308 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
78310         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
78311         protection macro.
78312         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
78313         and <dl-machine.h>.
78314         (Elf64_FuncDesc): Remove.
78316 2011-08-22  David S. Miller  <davem@davemloft.net>
78318         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
78319         sigaltstack check, add missing cfi directives.
78320         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
78321         missing cfi directives, and sigaltstack handling.
78323 2011-08-16  Andreas Schwab  <schwab@redhat.com>
78325         [BZ #11724]
78326         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
78327         object is seen twice.
78328         * elf/dl-fini.c (_dl_sort_fini): Likewise.
78330         * elf/Makefile (distribute): Add tst-initorder2.c.
78331         (tests): Add tst-initorder2.
78332         (modules-names): Add tst-initorder2a tst-initorder2b
78333         tst-initorder2c tst-initorder2d.  Add rules to build them.
78334         ($(objpfx)tst-initorder2.out): New rule.
78335         * elf/tst-initorder2.c: New file.
78336         * elf/tst-initorder2.exp: New file.
78338 2011-08-22  Andreas Schwab  <schwab@redhat.com>
78340         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
78342         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
78343         dependencies back to end of function.
78345         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
78346         $(elfobjdir)/ld.so.
78348 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
78350         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
78351         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
78352         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
78353         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
78354         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
78355         of __vdso_gettimeofday.
78356         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
78357         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
78358         attribute_hidden.
78359         (_libc_vdso_platform_setup): Remove initialization of
78360         __vdso_gettimeofday and __vdso_time.
78362 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
78364         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
78365         and fgetc_unlocked.
78366         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
78367         getc_unlocked.
78369         * elf/dl-open.c (add_to_global): Report additions to the global scope
78370         for LD_DEBUG=scopes.
78371         (dl_open_worker): Also print scope of newly loaded dependencies.
78372         (_dl_show_scope): Indicate if there is no scope.
78374         [BZ #13114]
78375         * stdio-common/Makefile (tests): Add bug24.
78376         * stdio-common/bug24.c: New file.
78378 2011-08-19  Andreas Jaeger  <aj@suse.de>
78380         [BZ #13114]
78381         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
78382         non-existant file when using close-on-exec mode.
78384 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
78386         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
78387         the very first instruction.
78389         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
78390         the CFI state in the end.
78391         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
78392         inclusion of dl-trampoline.h.
78393         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
78395 2011-08-19  Andreas Schwab  <schwab@redhat.com>
78397         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
78398         expectations for long double.
78400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
78401         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
78403 2011-08-14  David S. Miller  <davem@davemloft.net>
78405         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
78406         artificual limit depends upon the system page size.
78408 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
78410         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
78411         * resolv/Makefile: Define CFLAGS-libresolv.
78413 2011-08-17  Andreas Schwab  <schwab@redhat.com>
78415         * nss/makedb.c (compute_tables): Make variables used in nested
78416         function static.
78418 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
78420         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
78421         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
78422         if buffer was too small.
78424         * elf/pldd.c (main): Attach to all threads in the process.
78425         Rewrite /proc handling to use *at functions.
78427 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
78429         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
78430         specifies first scope to show.
78431         (dl_open_worker): Update callers.  Move printing scope of new
78432         object to before the relocation.
78433         * elf/rtld.c (dl_main): Update _dl_show_scope call.
78434         * sysdeps/generic/ldsodefs.h: Update declaration.
78436         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
78437         string for the scope number.
78439 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
78441         * nscd/servicescache.c (cache_addserv): Make sure written is always
78442         initialized.
78444 2011-08-14  Roland McGrath  <roland@hack.frob.com>
78446         * sysdeps/i386/i486/bits/atomic.h
78447         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
78448         statement expression, so as to suppress "set but not used" warning.
78449         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
78451         * string/strncat.c (STRNCAT): Use prototype definition.
78453         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
78454         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
78455         -Iprograms here.
78456         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
78457         (localedef-modules): Add localedef.
78458         (locale-modules): Add locale.
78460         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
78461         * elf/rtld.c (dl_main): Invert order of assignment in last change,
78462         to avoid a warning.
78464 2011-08-14  David S. Miller  <davem@davemloft.net>
78466         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
78467         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
78469 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
78471         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
78472         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
78473         * elf/rtld.c (dl_main): Set l_name of vDSO.
78474         Call _dl_show_scope when DL_DEBUG_SCOPES.
78475         (process_dl_debug): Recognize scopes flag and also set it for all.
78476         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
78477         Declare _dl_show_scope.
78479         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
78480         (do_dlopen): Pass caller_dlopen to dl_open.
78481         (__libc_dlopen_mode): Initialize caller_dlopen.
78483         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
78484         of libc.  Make tolower call locale-independent.  Optimize a bit by
78485         using isdigit instead of isalnum.
78486         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
78488 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
78490         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
78491         was a dependency or dynamically loaded.
78493 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
78495         * intl/l10nflist.c: Allow architecture-specific pop function.
78496         * sysdeps/x86_64/l10nflist.c: New file.
78498         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
78499         classification.
78501 2011-08-10  Andreas Schwab  <schwab@redhat.com>
78503         * include/dirent.h: Add libc_hidden_proto for scandirat and
78504         scandirat64.  Don't declare __scandirat64.
78505         * dirent/scandirat.c: Add libc_hidden_def.
78506         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
78507         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
78509 2011-08-10  David S. Miller  <davem@davemloft.net>
78511         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
78512         enum.
78513         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
78514         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
78515         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
78517 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
78519         * Versions.def [libc]: Add GLIBC_2.15.
78520         * dirent/Makefile (routines): Add scandirat and scandirat64.
78521         * dirent/Versions [libc]: Export scandirat and scandirat64 for
78522         GLIBC_2.15.
78523         * dirent/dirent.h: Declare scandirat and scandirat64.
78524         * dirent/scandirat.c: New file.
78525         * dirent/scandirat64.c: New file.
78526         * sysdeps/wordsize-64/scandirat.c: New file.
78527         * sysdeps/wordsize-64/scandirat64.c: New file.
78528         * dirent/opendir.c: Define opendirat.
78529         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
78530         using scandirat.
78531         * dirent/scandir64.c: Adjust for scandir.c change.
78532         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
78533         __scandirat64, and __scandir_cancel_handler.
78534         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
78535         additional parameter and use openat instead of open (outside of ld.so).
78536         Add new __opendir as wrapper around __opendirat.
78537         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
78538         here without requiring old scandirat implementation.
78540 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
78542         * dirent/scandir.c (cancel_handler): Renamed to
78543         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
78544         defined.  Adjust users.
78545         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
78546         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
78548 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
78550         * string/test-string.h (IMPL): Use __STRING to expand name and then
78551         stringify it.
78553         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
78554         of cleanups.
78556 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78558         * string/Makefile: Update.
78559         (strop-tests): Append strncat.
78560         * string/test-wcscmp.c: New file.
78561         New comprehensive test for wcscmp.
78562         * string/test-strcmp.c: Update.
78563         (WIDE): New define.
78565 2011-07-22  Andreas Schwab  <schwab@redhat.com>
78567         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
78568         line.
78570 2011-07-26  Andreas Schwab  <schwab@redhat.com>
78572         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78573         encoding to ACE if AI_IDN.
78575 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
78577         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
78578         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
78580 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78582         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
78583         Fix overflow bug in strncat.
78584         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
78586         * string/test-strncat.c: Update.
78587         Add new tests for checking overflow bugs.
78589 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78591         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78592         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
78593         * sysdeps/i386/i686/multiarch/strcat.S: New file.
78594         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
78595         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
78596         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
78597         * sysdeps/i386/i686/multiarch/strncat.S: New file.
78598         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
78599         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
78601         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
78602         (USE_AS_STRCAT): Define.
78603         Add strcat and strncat support.
78604         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
78606 2011-07-25  Andreas Schwab  <schwab@redhat.com>
78608         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
78609         __n bigger than INT_MAX+1.
78610         (__strncmp_g): Likewise.
78612 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
78614         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
78615         * libio/stido.h: Likewise.
78617         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
78618         (AF_NFC): Define.
78619         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
78620         (AF_NFC): Define.
78622         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
78623         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
78624         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
78625         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
78626         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
78628         [BZ #13021]
78629         * scripts/test-installation.pl: Don't expect libnss_test1 to be
78630         installed.
78632         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
78633         typo.
78634         (_dl_x86_64_save_sse): Likewise.
78636 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
78638         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
78639         OSXSAVE.
78640         (_dl_x86_64_save_sse): Likewise.
78642         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
78644         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
78646 2011-07-21  Andreas Schwab  <schwab@redhat.com>
78648         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
78649         change.
78650         (_dl_x86_64_save_sse): Use correct AVX check.
78652 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78654         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
78655         bug in strncpy/strncat.
78656         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
78658 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
78660         * string/tester.c (test_strcat): Add tests for different alignments
78661         of source and destination.
78662         (test_strncat): Likewise.
78664 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
78666         [BZ #12852]
78667         * posix/glob.c (glob): Check passed in values before using them in
78668         expressions to avoid some overflows.
78669         (glob_in_dir): Likewise.
78671         [BZ #13007]
78672         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
78673         check for AVX enablement so that we don't crash with old kernels and
78674         new hardware.
78675         * elf/tst-audit4.c: Add same checks here.
78676         * elf/tst-audit6.c: Likewise.
78678         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
78680 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
78682         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
78684 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
78686         * po/cs.po: Update from translation team.
78687         * po/bg.po: Likewise.
78689 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
78691         * misc/sys/cdefs.h: Add support for const attribute.
78692         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
78693         to gnu_dev_{major,minor,makedev} functions.
78695 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
78697         * intl/dcigettext.c (get_output_charset): Add missing bracket.
78699 2011-07-20  Andreas Schwab  <schwab@redhat.com>
78701         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
78702         strlen results.
78704 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78706         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
78707         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
78708         register in order to avoid conflicts with the soft frame pointer
78709         being held in r11 when necessary.
78710         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
78711         (INTERNAL_VSYSCALL_NCS): Likewise.
78713 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
78715         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
78716         * elf/dl-fini.c (_dl_fini): Adjust caller.
78717         * elf/dl-close.c (_dl_close_worker): Likewise.
78718         * sysdeps/generic/ldsodefs.h: Adjust declaration.
78720 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
78722         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
78723         "aux_cache->nlibs < 0".
78725         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
78726         in the reload-count case.
78728 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78730         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78731         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
78732         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
78733         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
78734         * sysdeps/x86_64/multiarch/strcat.S: New file.
78735         * sysdeps/x86_64/multiarch/strncat.S: New file.
78736         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
78737         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
78738         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
78739         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
78740         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
78741         (USE_AS_STRCAT): Define.
78742         Add strcat and strncat support.
78743         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
78744         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
78745         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
78746         * string/strncat.c: Update.
78747         (USE_AS_STRNCAT): Define.
78748         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78749         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
78750         and i7.
78751         * sysdeps/x86_64/multiarch/init-arch.h
78752         (bit_Prefer_PMINUB_for_stringop): New.
78753         (index_Prefer_PMINUB_for_stringop): Likewise.
78754         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
78755         bit_Prefer_PMINUB_for_stringop.
78757 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
78759         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
78760         buffer64.
78761         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
78762         of casting of buffer.
78763         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
78764         buffer32 and buffer64.
78765         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
78766         writes instead of casting of buffer.
78767         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
78768         buffer32.
78769         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
78770         casting of buffer.
78772 2011-07-19  Andreas Schwab  <schwab@redhat.com>
78774         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
78776 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
78778         * nscd/nscd.c (termination_handler): Don't do anything for a database
78779         if it has not yet been initialized.
78781 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
78783         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
78785 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
78787         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
78789 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
78791         * po/nl.po: Update from translation team.
78792         * po/sv.po: Likewise.
78794 2011-07-16  Roland McGrath  <roland@hack.frob.com>
78796         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
78797         now disallowed by GCC.
78799         * configure.in (use-default-link): Default to yes if a test -shared
78800         link meets our qualifications.
78801         * configure: Regenerated.
78803         * config.make.in (output-format): New variable.
78804         * configure.in: Check for ld --print-output-format support.
78805         * configure: Regenerated.
78806         * Makerules ($(common-objpfx)format.lds)
78807         [$(output-format) != unknown]: Just use $(output-format),
78808         instead of the linker-script munging.
78810 2011-07-14  Roland McGrath  <roland@hack.frob.com>
78812         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
78813         of $(common-objpfx)shlib.lds.
78814         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
78816         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
78817         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
78819         * configure.in (-z relro check): Adjust test code to add a large
78820         writable data section after it.
78821         * configure: Regenerated.
78823 2011-07-11  Roland McGrath  <roland@hack.frob.com>
78825         * configure.in (-z relro check): Fix test code to make the variable
78826         truly const.
78827         * configure: Regenerated.
78829 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
78831         * nscd/nscd.h (struct traced_file): Define.
78832         (struct database_dyn): Remove inotify_descr, reset_res, and filename
78833         elements.  Add traced_files.
78834         (inotify_fd): Declare.
78835         (register_traced_file): Declare.
78836         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
78837         (inotify_fd): Export.
78838         (resolv_conf_descr): Remove.
78839         (nscd_init): Move inotify descriptor creation to main.
78840         Don't register files for notification here.
78841         (register_traced_file): New function.
78842         (invalidate_cache): Don't use reset_res to determine whether to call
78843         res_init, go through the list of registered files.
78844         (main_loop_poll): The inotify descriptors are now stored in the
78845         structures for the traced files.
78846         (main_loop_epoll): Likewise.
78847         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
78848         to __nss_disable_nscd.
78849         * nscd/cache.c (prune_cache): There is no single inotify descriptor
78850         for a database anymore.  Check the records for all the registered
78851         files instead.
78852         * nss/Makefile (libnss_files-routines): Add files-init.
78853         (libnss_db-routines): Add db-init.
78854         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
78855         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
78856         * nss/nss_db/db-init.c: New file.
78857         * nss/nss_files/files-init.c: New file.
78858         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
78859         __nss_lookup_function.
78860         (__nss_lookup_function): Call nss_load_library.
78861         (nss_load_all_libraries): New function.
78862         (__nss_disable_nscd): Take parameter with callback function for files
78863         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
78864         used for the cached services.
78865         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
78866         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
78867         options for features to all the files in nscd.
78869         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
78871 2011-07-10  Roland McGrath  <roland@hack.frob.com>
78873         * csu/elf-init.c (__libc_csu_init): Comment typo.
78875 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
78877         * po/pl.po: Update from translation team.
78878         * po/ja.po: Likewise.
78879         * po/ru.po: Likewise.
78880         * po/ko.po: Likewise.
78881         * po/fr.po: Likewise.
78883 2011-07-09  Roland McGrath  <roland@hack.frob.com>
78885         * configure.in (.ctors/.dtors header and trailer check):
78886         Use an empirical test on a built program.
78887         * configure: Regenerated.
78889         * configure.in (-z relro check): Use an empirical test on a built DSO.
78890         Detect, but do not require, on ia64.
78891         * configure: Regenerated.
78893         * configure.in (READELF): Find it with AC_CHECK_TOOL.
78894         Update tests that use readelf to use $READELF instead.
78895         * configure: Regenerated.
78897 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
78899         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
78900         if the result is not used.
78902 2011-07-05  Andreas Jaeger  <aj@suse.de>
78904         [BZ#9696]
78905         * stdlib/tst-strtod.c: Add testcase.
78907 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
78909         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
78910         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
78911         The latter has a higher limit.  Take additional parameter to pass to
78912         the new function.
78913         (__pathconf): Pass file to __statfs_link_max.
78914         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
78915         __statfs_link_max.
78916         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
78917         __statfs_link_max.
78919         [BZ #12868]
78920         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
78921         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78922         Handle Lustre.
78923         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
78924         (__statfs_filesize_max): Likewise.
78925         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
78927 2011-07-05  Andreas Jaeger  <aj@suse.de>
78929         * resolv/res_comp.c (dn_skipname): Remove unused variable.
78931 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
78933         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
78934         `status' variable.
78935         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
78936         Likewise.
78938 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
78940         * Makefile (strop-tests): Add strncat.
78941         * string/test-strncat.c: New file.
78943 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
78945         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
78947 2011-06-21  Andreas Jaeger  <aj@suse.de>
78949         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
78950         Copy rule from iconvdata/Makefile.
78952 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
78954         [BZ #12922]
78955         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
78956         but no long options are defined, just return 'W'.
78958 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
78960         [BZ #9696]
78961         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
78963 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
78965         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
78966         netgroups to read.
78967         (innetgr): Likewise.
78969 2011-07-05  Roland McGrath  <roland@hack.frob.com>
78971         * config.make.in (install_root): Default to $(DESTDIR).
78973 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
78975         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
78977 2011-07-02  Roland McGrath  <roland@hack.frob.com>
78979         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
78981         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
78982         containing directory rather than embedding absolute directory names.
78984         * scripts/check-local-headers.sh: Rewritten using awk.
78985         Match by word, not by line.  Print error messages for matches.
78986         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
78988         * Makerules [shlib-lds-flags empty]:
78989         ($(common-objpfx)libc_pic.opts): New target.
78990         ($(common-objpfx)libc_pic.os.clean): New target.
78991         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
78993         * config.make.in (OBJCOPY): New variable.
78994         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
78995         * configure: Regenerated.
78997         * config.make.in (use-default-link): New variable.
78998         * configure.in (use_default_link): Grok --with-default-link to set it.
78999         * configure: Regenerated.
79000         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
79001         (shlib-lds, shlib-lds-flags): Define to empty.
79003         * Makerules (shlib-lds): New variable.
79004         (shlib-lds-flags): New variable.
79005         (build-shlib, build-moduile, build-module-asneeded): Use it.
79006         ($(common-objpfx)libc.so): Use $(shlib-lds).
79007         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
79008         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
79010         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
79011         DT_FLAGS/DT_FLAGS_1 with zero flags.
79013         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
79014         linker script munging.
79016 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
79018         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
79019         as 128-bit value.
79020         * crypt/sha512.c (sha512_process_block): Perform total addition using
79021         128-bit if possible.
79022         (__sha512_finish_ctx): Likewise.
79023         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
79024         as 64-bit value.
79025         * crypt/sha256.c (SWAP64): Define.
79026         (sha256_process_block): Perform total addition using 64-bit if
79027         possible.
79028         (__sha256_finish_ctx): Likewise.
79030 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
79032         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
79033         * nscd/initgrcache.c (addinitgroupsX): Likewise.
79034         * nscd/hstcache.c (cache_addhst): Likewise.
79035         * nscd/grpcache.c (cache_addgr): Likewise.
79036         * nscd/aicache.c (addhstaiX): Likewise.
79037         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
79039 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
79041         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
79042         * nscd/initgrcache.c (addinitgroupsX): Likewise.
79043         * nscd/hstcache.c (cache_addhst): Likewise.
79044         * nscd/grpcache.c (cache_addgr): Likewise.
79045         * nscd/aicache.c (addhstaiX): Likewise.
79047 2011-07-01  Andreas Schwab  <schwab@redhat.com>
79049         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
79050         domain only when needed.
79052 2011-06-30  Andreas Schwab  <schwab@redhat.com>
79054         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
79055         is always restored.
79057 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
79059         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
79060         are re-adding the entry.
79061         * nscd/servicescache.c (cache_addserv): Likewise.
79063 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
79065         * sysdeps/generic/dl-irel.h: fix protection against multiple
79066         inclusions.
79067         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
79069 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
79071         [BZ #12935]
79072         * malloc/memusage.sh: Fix quoting in message.
79073         * debug/xtrace.sh: Likewise.
79075         * configure.in: Remove support for --experimental-malloc option, make
79076         it the default.
79077         * config.make.in: Likewise.
79078         * malloc/Makefile: Likewise.
79080 2011-06-27  Andreas Schwab  <schwab@redhat.com>
79082         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
79083         two-byte characters.
79085 2011-06-27  Roland McGrath  <roland@hack.frob.com>
79087         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
79088         AC_CACHE_CHECK invocation.
79089         * configure: Regenerated.
79091         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
79093 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
79095         [BZ #12350]
79096         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
79097         bit from old_res_options.
79099         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
79101         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
79102         value type for setfct.
79104 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
79106         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
79107         __gettimeofday instead of gettimeofday.
79109 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
79111         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
79113 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
79115         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
79117         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
79118         info.
79120 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
79122         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79123         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
79124         strcpy-sse2-unaligned strncpy-sse2-unaligned
79125         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
79126         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
79127         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
79128         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
79129         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
79130         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
79131         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
79132         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
79133         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
79134         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
79135         (STRCPY): Support SSE2 and SSSE3 versions.
79137 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
79139         [BZ #12874]
79140         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
79141         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
79142         kernels which artificially limit size of requests.
79144 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
79146         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79147         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
79148         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
79149         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
79150         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
79151         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
79152         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
79153         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
79154         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
79155         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
79156         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
79157         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
79158         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
79159         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
79160         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
79161         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79162         Enable unaligned load optimization for Intel Core i3, i5 and i7
79163         processors.
79164         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
79165         Define.
79166         (index_Fast_Unaligned_Load): Define.
79167         (HAS_FAST_UNALIGNED_LOAD): Define.
79169 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
79171         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
79173 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
79175         [BZ #12907]
79176         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
79177         until it is clear that the information is realy needed.
79178         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
79180 2011-06-22  Andreas Schwab  <schwab@redhat.com>
79182         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
79184 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
79186         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
79187         /sys/devices/system/cpu/online if it is usable.
79189         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
79190         reading the information from the /proc filesystem to once a second.
79192 2011-06-21  Andreas Jaeger  <aj@suse.de>
79194         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
79195         NULL after inclusion of kernel headers.
79197 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
79199         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
79200         calls to internal_setent.
79202         [BZ #12885]
79203         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
79204         addresses using gethostbyname4_r ignore IPv4 addresses.
79206         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
79207         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
79209         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
79211 2011-06-20  David S. Miller  <davem@davemloft.net>
79213         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
79214         inclusions.
79215         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
79217         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
79218         (elf_irel): Use it.
79219         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
79220         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
79221         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
79222         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
79223         * sysdeps/x86_64/dl-irel.h: Likewise.
79225         * elf/dl-runtime.c: Use elf_ifunc_invoke.
79226         * elf/dl-sym.c: Likewise.
79228 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
79230         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
79231         need to dereference resplen2.
79233 2011-06-14  Andreas Schwab  <schwab@redhat.com>
79235         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
79237 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
79239         * Makeconfig: Define vardbdir and inst_vardbdir.
79240         * nss/Makefile: Add rules to install db-Makefile.
79242         * nss/nss_db/db-XXX.c: Cleanup.
79244         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
79245         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
79246         GLIBC_PRIVATE.
79247         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
79248         * nss/makedb.c: Implement -g option to specify that value strings
79249         are generated and should not be added to table iterated over for
79250         get*ent calls.
79251         * nss/nss_db/db-initgroups.c: New file.
79253         * nss/getent.c: Add support for initgroups lookups through getgrouplist
79254         interface.
79256         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
79257         (internal_getgrouplist): Adjust to name change.
79258         Update use_initgroups_entry if this is not the first call.
79259         * nss/databases.def: Add initgroups entry.
79261         * nss/makedb.c (compute_tables): Check result of multiple hash table
79262         sizes to minimize maximum chain length.
79264 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
79266         * Versions.def: Add entry for libnss_db.
79267         * shlib-versions: Likewise.
79268         * nss/Makefile: Add rules to build libnss_db.
79269         * nss/Versions: Add libnss_db information.  Organize libnss_files
79270         entries better.
79271         * nss/db-Makefile: Add gshadow support.  Change rules for the new
79272         makedb progra.  Some minor improvements to generate smaller files.
79273         * nss/nss_db/nss_db.h: Move NSS database header data structures to
79274         here from...
79275         * nss/makedb.c: ...here.
79276         Improve database format to be smaller and require less memory at
79277         runtime.
79278         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
79279         db anymore.
79280         * nss/nss_db/db-netgrp.c: Likewise.
79281         * nss/nss_db/db-open.c: Likewise.
79282         * nss/nss_files/flies-XXX.x: Adjust comments.
79283         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
79284         * nss/nss_files/files-grp.c: Likewise.
79285         * nss/nss_files/files-hosts.c: Likewise.
79286         * nss/nss_files/files-network.c: Likewise.
79287         * nss/nss_files/files-proto.c: Likewise.
79288         * nss/nss_files/files-pwd.c: Likewise.
79289         * nss/nss_files/files-rpc.c: Likewise.
79290         * nss/nss_files/files-service.c: Likewise.
79291         * nss/nss_files/files-sgrp.c: Likewise.
79292         * nss/nss_files/files-spwd.c: Likewise.
79293         * nss/nss_db/db-alias.c: Removed.
79294         * nss/nss_db/dummy-db.h: Removed.
79296 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
79298         * nss/makedb.c: Rewritten to not use database library.
79299         * nss/Makefile: Update to build new makedb program.
79301 2011-06-14  Andreas Jaeger  <aj@suse.de>
79303         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
79304         memset declaration.
79306 2011-06-10  Andreas Schwab  <schwab@redhat.com>
79308         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
79309         tmpbuf.
79311 2011-06-10  Roland McGrath  <roland@hack.frob.com>
79313         * Makerules (shlib.lds): Fail if the linker script comes out empty.
79314         * elf/Makefile ($(objpfx)ld.so): Likewise.
79316         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
79317         Don't list ld.so twice in dependencies.
79319         * posix/bug-regex31.c: Include <stdlib.h>.
79321         * nscd/hstcache.c (cache_addhst): Remove unused variable.
79323         * nis/nss_compat/compat-spwd.c
79324         (getspent_next_nss_netgr): Remove unused variable.
79325         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
79327         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
79328         nonmembers" output to use the right array.
79330         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
79332         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
79334         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
79335         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
79336         * catgets/gencat.c (read_input_file): Likewise.
79337         * locale/programs/locarchive.c (enlarge_archive): Likewise.
79339         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
79340         variable definition inside #if's controlling its use.
79342         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
79344         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
79346         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
79348         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
79349         unreachable code.
79351         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
79353         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
79354         * configure: Regenerated.
79356         * Makerules: Revert last change.
79357         * elf/Makefile: Likewise.
79359 2011-06-09  Roland McGrath  <roland@hack.frob.com>
79361         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
79362         * elf/Makefile ($(objpfx)librtld.os): Likewise.
79363         (reloc-link): Likewise.
79365 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
79367         * elf/Makefile: Add rules to build pldd.
79368         * elf/pldd.c: New file.
79369         * elf/pldd-xx.c: New file.
79371 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
79373         * version.h: Update for 2.15 development version.
79375 2011-06-07  David S. Miller  <davem@davemloft.net>
79377         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
79378         ifuncs.
79379         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
79380         elf_machine_lazy_rel): Likewise.
79381         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
79382         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
79383         elf_machine_lazy_rel): Likewise.
79384         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
79385         dl_hwcap via passed in argument.
79386         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
79387         Likewise.
79389 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79391         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
79393 2011-06-06  Roland McGrath  <roland@hack.frob.com>
79395         [BZ #12849]
79396         * manual/fdl-1.1.texi: New file, verbatim from:
79397         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
79398         * manual/lgpl-2.1.texi: New file, verbatim from:
79399         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
79400         * manual/Makefile (licenses): New variable, list those new file names.
79401         (texis): Use it.
79402         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
79404         * manual/fdl.texi: File removed.
79405         * manual/lesser.texi: File removed.
79406         * manual/libc.texinfo (Copying, Documentation License):
79407         Use new @include file names, put @appendix directive before @include.
79409 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
79411         [BZ #12841]
79412         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
79413         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
79414         (mq_open): Add __NTH.
79416 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
79418         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79419         Assume Intel Core i3/i5/i7 processor if AVX is available.
79421 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
79423         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
79424         typo.
79426 2011-05-31  Andreas Schwab  <schwab@redhat.com>
79428         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
79429         memory.  Use alloca_account.  Fix memory leak when retrying.
79431 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
79433         * version.h (RELEASE): Bump for 2.14 release.
79434         * include/features.h (__GLIBC_MINOR__): Bump to 14.
79436         * config.make.in (RANLIB): Remove entry.
79438 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
79440         * po/Makefile (po-sed-cmd): Add ksh to extensions.
79441         (libc.pot): Work around missing support for .ksh extension in xgettext.
79443         [BZ #12684]
79444         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
79445         if both request failed.
79446         (send_dg): In case of server errors clear resplen or *resplen2.
79448         [BZ #12454]
79449         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
79450         when there are multiple maps.
79451         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
79452         (_dl_fini): Remove test here.
79454         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
79456 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
79458         [BZ #12350]
79459         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
79460         bit from old_res_options.
79461         (gaih_inet): Likewise.
79463         [BZ #11099]
79464         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
79465         as signed.
79467         * resolv/res_init.c (res_setoptions): Make the code more compact.
79469         [BZ #11558]
79470         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
79471         set RES_USEVC.
79473         [BZ #11634]
79474         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
79476         * malloc/malloc.h: Mark malloc hook variables as deprecated.
79478         [BZ #11781]
79479         * malloc/malloc.h: Declare malloc hook variables as volatile.
79481         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
79482         in last patch.
79484         [BZ #11799]
79485         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
79486         raise in the comment.
79487         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
79488         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
79489         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
79491 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
79493         [BZ #12811]
79494         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
79495         grow the buffers more if it already has to be sufficient.
79496         (build_wcs_upper_buffer): Likewise.
79497         * posix/regexec.c (check_matching): Likewise.
79498         (clean_state_log_if_needed): Likewise.
79499         (extend_buffers): Don't enlarge buffers beyond size of the input
79500         buffer.
79501         Patches mostly by Emil Wojak <emil@wojak.eu>.
79502         * posix/bug-regex32.c: New file.
79503         * posix/Makefile (tests): Add bug-regex32.
79505         * locale/findlocale.c (_nl_find_locale): Return right away if
79506         _nl_explode_name failed.
79507         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
79509         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
79511         * debug/xtrace.sh: Unify messages.
79512         * malloc/memusage.sh: Likewise.
79514         [BZ #12813]
79515         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
79516         time symbol from vDSO.  Substitute with vsyscall if not available.
79517         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
79518         __vdso_time.
79520         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
79521         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
79522         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
79523         Add sendmmsg and internal_sendmmsg.
79524         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
79525         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
79526         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
79528         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
79529         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
79530         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
79532 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
79534         [BZ #12813]
79535         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
79536         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
79537         available.
79538         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
79539         __vdso_getcpu.
79541         [BZ #12814]
79542         * iconvdata/Makefile (tests): Add bug-iconv9.
79543         * iconvdata/bug-iconv9.c: New file.
79545 2011-05-27  Andreas Schwab  <schwab@redhat.com>
79547         [BZ #12814]
79548         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
79550 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
79552         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
79553         (struct user_regs_struct): Change intcs field back to cs.
79555 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
79557         * po/ja.po: Update from translation team.
79559 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
79561         [BZ #12795]
79562         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
79563         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
79565 2011-05-20  Andreas Schwab  <schwab@redhat.com>
79567         * stdlib/longlong.h: Update from GCC.
79569 2011-05-23  Andreas Schwab  <schwab@redhat.com>
79571         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
79572         parameter name.
79573         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
79574         Add parameter name.
79575         (__sysconf): Pass it down.
79577 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
79579         [BZ #12671]
79580         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
79581         some situations.
79582         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
79583         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
79584         add in in __libc_use_alloca calls.  Adjust callers.
79585         (glob): Use malloc in some situations.
79587         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
79588         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
79589         pltexit.
79591 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
79593         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
79594         and CLOCK_BOOTTIME_ALARM.
79596         [BZ #12782]
79597         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
79598         is returned.
79600         * string/_strerror.c (__strerror_r): Print negative errors as signed
79601         numbers.
79603         [BZ #12777]
79604         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
79605         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
79606         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
79608         * configure.in: Fix typo in redirection and correct removal of test
79609         files in two cases.
79611         [BZ #12788]
79612         * locale/setlocale.c (new_composite_name): Fix test to check for
79613         identical name of all categories.
79615         [BZ #12792]
79616         * libio/filedoalloc.c (local_isatty): New function.
79617         (_IO_file_doallocate): Use local_isatty.
79618         * stdio-common/perror.c (perror): In case a new stream is used
79619         forward the stream error.
79620         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
79621         error flag.
79623 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
79625         [BZ #11884]
79626         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
79627         alloca.
79628         * include/alloca.h (extend_alloca_account): Define.
79630         [BZ #11857]
79631         * posix/regex.h: Fix comments with documentation of user-accessible
79632         fields after compilation and describe correct free'ing of pattern
79633         after re_compile_pattern.
79634         Patch by Reuben Thomas <rrt@sc3d.org>.
79636 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
79638         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
79639         and -mno-altivec to prevent the compiler from using Altivec and/or
79640         VSX instructions when the corresponding registers are not available.
79642 2011-05-19  Andreas Schwab  <schwab@redhat.com>
79644         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
79646 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
79648         * libio/freopen.c (freopen): Use __dup2, not dup2.
79649         * libio/freopen64.c (freopen64): Likewise.
79651 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
79653         [BZ #12775]
79654         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
79655         * math/Makefile (tests): Add test-powl.
79656         (CFLAGS-test-powl.c): Define.
79657         * math/test-powl.c: New file.
79659 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79661         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
79663 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
79665         [BZ #11837]
79666         * iconvdata/gb18030.c: Update to GB18020-2005.
79668 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
79670         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
79671         RE_SYNTAX_POSIX_AWK): Update to match recent development.
79672         Patch by Aharon Robbins <arnold@skeeve.com>.
79674         [BZ #11892]
79675         * stdlib/putenv.c (putenv): Don't always create copy of the variable
79676         on the stack.
79678         [BZ #11895]
79679         * misc/pselect.c (__pselect): Handle timeout value errors hidden
79680         through underflows.
79682         [BZ #12766]
79683         * misc/error.c (error_at_line): Ensure file_name and old_file_name
79684         point to strings before performing equality test for error_one_per_line
79685         mode.
79687         [BZ #11697]
79688         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
79690         [BZ #11820]
79691         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
79692         (struct user_fpregs_struct): Avoid __uint*_t types.
79694         [BZ #6420]
79695         * malloc/mtrace.c (tr_where): Add additional parameter to point to
79696         symbol info.  Use it instead of calling _dl_addr locally.
79697         (lock_and_info): New function.
79698         (tr_freehook): Call lock_and_info and pass symbol info as additional
79699         parameter to tr_where.
79700         (tr_mallochook): Likewise.
79701         (tr_reallochook): Likewise.
79702         (tr_memalignhook): Likewise.
79704         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
79705         used and couldn't be at all thread-safe.
79707 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
79709         * libio/freopen.c (freopen): Don't close old file descriptor
79710         before the new one is opened.  Instead dup the new file descriptor
79711         to the old one after the new stream is created.
79712         * libio/freopen64.c (freopen64): Likewise.
79713         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
79714         * libio/fileops.c (_IO_new_file_close_it): Handle new
79715         _IO_FLAGS2_NOCLOSE flag.
79716         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
79717         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
79718         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
79719         _IO_FLAGS2_NOCLOSE flag.
79720         * include/unistd.h: Add hidden_proto for dup3.
79721         Define __have_dup3.
79722         * io/dup3.c: Define hidden symbol.
79723         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
79725         [BZ #7101]
79726         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
79727         when an incomplete long option is used.
79728         * posix/tst-getopt_long1.c: New file.
79729         * posix/Makefile (tests): Add tst-getopt_long1.
79731         [BZ #10138]
79732         * scripts/config.guess: Update from autoconf-2.68.
79733         * scripts/config.sub: Likewise.
79735         [BZ #10157]
79736         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
79737         tests into ...
79738         (has_cpuclock): ...this.  New function.
79739         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
79740         macro here based on has_cpuclock code.
79742         [BZ #10149]
79743         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79744         First byte (not low byte) is now always NUL.
79745         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
79747         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79748         Use non-cancelable interfaces.
79750         [BZ #9809]
79751         * locale/iso-639.def: Add entry for Sorani.
79753         [BZ #11901]
79754         * include/stdlib.h: Move include protection to the right place.
79755         Define abort_msg_s.  Declare __abort_msg with it.
79756         * stdlib/abort.c (__abort_msg): Adjust type.
79757         * assert/assert.c (__assert_fail_base): New function.  Majority
79758         of code from __assert_fail.  Allocate memory for __abort_msg with
79759         mmap.
79760         (__assert_fail): Now call __assert_fail_base.
79761         * assert/assert-perr.c: Remove bulk of implementation.  Use
79762         __assert_fail_base.
79763         * include/assert.hL Declare __assert_fail_base.
79764         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
79765         mmap.
79766         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
79768 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
79770         [BZ #11952]
79771         [BZ #12453]
79772         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
79773         until all modules are registered in the DTV.
79774         * elf/Makefile: Add rules to build and run tst-tls19.
79775         * elf/tst-tls19.c: New file.
79776         * elf/tst-tls19mod1.c: New file.
79777         * elf/tst-tls19mod2.c: New file.
79778         * elf/tst-tls19mod3.c: New file.
79779         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
79781         [BZ #12083]
79782         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
79783         correctly.
79785         [BZ #12601]
79786         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
79787         two-byte sequence errors.
79788         * iconvdata/Makefile (tests): Add bug-iconv8.
79789         * iconvdata/bug-iconv8.c: New file.
79791         [BZ #12626]
79792         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
79793         buf2 definition.
79795         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
79797         [BZ #12432]
79798         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
79799         (dummy_getcfa): New function.
79800         (init): Get _Unwind_GetCFA address, use dummy if not found.
79801         (backtrace_helper): In recursion check, also check whether CFA changes.
79802         (__backtrace): Completely initialize arg.
79804         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
79805         storing incomplete byte sequence in state object.  Avoid testing for
79806         guaranteed too small input if we know there is enough data available.
79808 2011-05-11  Andreas Schwab  <schwab@redhat.com>
79810         * Makeconfig (+link-pie): Indent.
79811         * Rules (binaries-pie): Define if $(have-fpie) and
79812         $(build-shared).
79813         (binaries-shared): Also filter out $(binaries-pie).
79814         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
79815         * nscd/Makefile (others-pie): Add nscd.
79816         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
79817         ($(objpfx)nscd): Remove command override.
79818         * login/Makefile (others-pie): Add pt_chown.
79819         ($(objpfx)pt_chown): Remove command override.
79820         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
79821         remove command overrides.
79823 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
79825         * libio/tst_putwc.c: Fix error messages.
79827         [BZ #12724]
79828         * libio/fileops.c (_IO_new_file_close_it): Always flush when
79829         currently writing and seek to current position when not.
79830         * libio/Makefile (tests): Add bug-fclose1.
79831         * libio/bug-fclose1.c: New file.
79833 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
79835         [BZ #12511]
79836         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
79837         don't set DF_1_NODELETE here.
79838         (do_lookup_x): When entering new entry test for copy relocation
79839         and if necessary set DF_1_NODELETE flag.
79840         * elf/tst-unique4.cc: New file.
79841         * elf/tst-unique4.h: New file.
79842         * elf/tst-unique4lib.cc: New file.
79843         * elf/Makefile: Add rules to build and run tst-unique4.
79844         Patch by Piotr Bury <pbury@goahead.com>.
79846 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
79848         [BZ #12052]
79849         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
79851         [BZ #12625]
79852         * misc/mntent_r.c (addmntent): Flush the stream after the output
79854         [BZ #12393]
79855         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
79856         (is_trusted_path_normalize): Skip initial colon.  Append slash
79857         to empty buffer.  Duplicate is_trusted_path code but allow
79858         constructed patch to be prefix.
79859         (is_dst): Allow $ORIGIN followed by /.
79860         (_dl_dst_substitute): Correct clearing of check_for_trusted.
79861         Correct testing of result of is_trusted_path_normalize
79862         (decompose_rpath): Fix warning.
79864 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
79866         [BZ #11257]
79867         * grp/initgroups.c (internal_getgrouplist): When we found the service
79868         list through the initgroups entry in nsswitch.conf do not always
79869         continue on a successful lookup.  Don't always use the
79870         __nss_group_database value if it is set.
79871         * nss/nsswitch.conf (initgroups): Change action for successful db
79872         lookup to continue for compatibility.
79874 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
79876         [BZ #11532]
79877         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
79878         and CP774 modules.
79879         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
79880         and CP774 modules.
79881         * iconvdata/tst-tables.sh: Likewise.
79882         * iconvdata/cp770.c: New file.
79883         * iconvdata/cp771.c: New file.
79884         * iconvdata/cp772.c: New file.
79885         * iconvdata/cp773.c: New file.
79886         * iconvdata/cp774.c: New file.
79887         * iconvdata/testdata/CP770: New file.
79888         * iconvdata/testdata/CP770..UTF8: New file.
79889         * iconvdata/testdata/CP771: New file.
79890         * iconvdata/testdata/CP771..UTF8: New file.
79891         * iconvdata/testdata/CP772: New file.
79892         * iconvdata/testdata/CP772..UTF8: New file.
79893         * iconvdata/testdata/CP773: New file.
79894         * iconvdata/testdata/CP773..UTF8: New file.
79895         * iconvdata/testdata/CP774: New file.
79896         * iconvdata/testdata/CP774..UTF8: New file.
79898         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
79899         END CHARMAP line.
79900         * iconvdata/gen-8bit-gap.sh: Likewise.
79901         * iconvdata/gen-8bit.sh: Likewise.
79903         * locale/iso-639.def: Add ary entry.
79905         [BZ #11258]
79906         * locale/C-translit.h.in: Add U20A1 transliteration.
79908         [BZ #12178]
79909         * locale/iso-639.def: Add wae entry.
79910         Patch by Kevin Bortis <bortis@translate-wae.ch>.
79912         [BZ #12545]
79913         * locale/programs/localedef.c (construct_output_path): Use ssize_t
79914         for n.
79916         [BZ #12711]
79917         * locale/C-translit.h.in: Add entry for U20B9.
79918         Patch by pravin.d.s@gmail.com.
79920 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
79922         [BZ #12713]
79923         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
79924         ENAMETOOLONG use generic getcwd.
79925         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
79926         in rtld.  Use *stat64.
79927         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
79928         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
79929         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
79930         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
79931         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
79932         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
79933         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
79934         __fstatat64 macros.
79935         * include/dirent.h: Add libc_hidden_proto for rewinddir.
79936         * dirent/rewinddir.c: Add libc_hidden_def.
79937         * sysdeps/mach/hurd/rewinddir.c: Likewise.
79938         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
79940         * include/dirent.h (__alloc_dir): Add flags parameter.
79941         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
79942         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
79943         __alloc_dir.
79944         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
79945         from fdopendir if O_CLOEXEC is already set.
79947 2011-03-15  Alan Modra  <amodra@gmail.com>
79949         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
79950         l_tls_firstbyte_offset non-zero.  Save padding offset in
79951         l_tls_firstbyte_offset for later use.
79952         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
79953         freeing static tls block.
79955 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
79957         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
79958         where #ifdef was intended.  The intent is to prevent ARG_MAX from
79959         being defined by the kernel headers.
79961 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
79963         [BZ #12734]
79964         * resolv/resolv.h: Define RES_NOTLDQUERY.
79965         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
79966         no-tld-query and set RES_NOTLDQUERY.
79967         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
79968         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
79969         modern BIND to search name as TLD unless forbidden.
79971 2011-05-07  Petr Baudis  <pasky@suse.cz>
79972             Ulrich Drepper  <drepper@gmail.com>
79974         [BZ #12393]
79975         * elf/dl-load.c (fillin_rpath): Move trusted path check...
79976         (is_trusted_path): ...to here.
79977         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
79978         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
79979         using is_trusted_path_normalize() in setuid scripts.
79981 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
79983         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
79984         __BEGIN/__END_DECLS.
79986 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
79988         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
79989         NSS_STATUS_NOTFOUND if no record was found.
79991 2011-05-05  Andreas Schwab  <schwab@redhat.com>
79993         * sunrpc/Makefile (headers): Add rpc/netdb.h.
79994         (headers-not-in-tirpc): Remove rpc/netdb.h
79995         * resolv/netdb.h: Revert last change.
79997 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
79999         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
80000         circular dependency between libgcc.a and libc.a.
80002 2011-05-05  Andreas Schwab  <schwab@redhat.com>
80004         * resolv/netdb.h: Don't include <rpc/netdb.h>.
80005         * nis/Makefile: Don't install rpcsvc/*.
80006         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
80007         instead of <rpc/types.h>.
80008         (MAXHOSTNAMELEN): Define.
80010 2011-05-03  Andreas Schwab  <schwab@redhat.com>
80012         * elf/ldconfig.c (add_dir): Don't crash on empty path.
80014 2011-04-28  Maciej Babinski  <mbabinski@google.com>
80016         [BZ #12714]
80017         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
80018         gethostbyname4_r when IPv6 results are possible.
80020 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
80022         [BZ #12723]
80023         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
80024         _PC_PIPE_BUF handling.
80026 2011-04-30  Bruno Haible  <bruno@clisp.org>
80028         [BZ #12717]
80029         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
80030         * resolv/netdb.h (getnameinfo): Change type of flags parameter
80031         to 'int'.
80032         * inet/getnameinfo.c (getnameinfo): Likewise.
80034 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
80036         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
80037         to groups setting in database lookup.
80038         * nss/nsswitch.conf: Add initgroups entry.
80040 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
80042         [BZ #12685]
80043         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
80044         mode string.
80045         Patch by Eric Blake <eblake@redhat.com>.
80047 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
80049         * sunrpc/Makefile (need-export-routines): Add svc_run.
80050         (routines): Remove svc_run.
80051         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
80052         * sunrpc/clnt_perr.c (clnt_perrno): Export.
80053         * sunrpc/svc_run.c (svc_run): Likewise.
80054         * sunrpc/svc_udp.c (svcudp_create): Likewise.
80056 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
80058         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
80059         problem in reallocation in last patch.
80061 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
80063         * sunrpc/Makefile: Move inclusion of Rules.
80065 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
80067         * nss/nss_files/files-initgroups.c: New file.
80068         * nss/Makefile (libnss_files-routines): Add files-initgroups.
80069         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
80070         _nss_files_initgroups_dyn.
80072 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
80074         * elf/elf.h (R_ARM_IRELATIVE): Define.
80076 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
80078         * po/ru.po: Update from translation team.
80080 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
80082         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
80083         dependencies.
80085 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
80087         [BZ #12653]
80088         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
80089         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
80090         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
80091         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
80092         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
80094 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
80096         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
80097         differing bytes.
80098         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
80099         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
80100         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
80102 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
80104         [BZ #12420]
80105         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
80106         storing it.
80107         * stdlib/bug-getcontext.c: New file.
80108         * stdlib/Makefile: Add rules to build and run bug-getcontext.
80110 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80112         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
80113         instructions into .machine "z9-109".
80114         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
80115         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
80117 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80119         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
80120         between environment variables and auxiliary vector.
80122 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
80124         * Makefile: Add rules to build linkobj/libc.so.
80125         * include/libc-symbols.h: Define libc_hidden_nolink.
80126         * include/rpc/auth.h: Mark functions which are to be hidden.
80127         * include/rpc/auth_des.h: Likewise.
80128         * include/rpc/auth_unix.h: Likewise.
80129         * include/rpc/clnt.h: Likewise.
80130         * include/rpc/des_crypt.h: Likewise.
80131         * include/rpc/key_prot.h: Likewise.
80132         * include/rpc/pmap_clnt.h: Likewise.
80133         * include/rpc/pmap_prot.h: Likewise.
80134         * include/rpc/pmap_rmt.h: Likewise.
80135         * include/rpc/rpc_msg.h: Likewise.
80136         * include/rpc/svc.h: Likewise.
80137         * include/rpc/svc_auth.h: Likewise.
80138         * include/rpc/xdr.h: Likewise.
80139         * nis/Makefile: Link all DSOs against linkobj/libc.so.
80140         * nss/Makefile: Likewise.
80141         * sunrpc/Makefile: Don't install headers.  Build library with normal
80142         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
80143         * sunrpc/auth_des.c: Hide exported symbols by default, export some
80144         for the compat linking library.  Remove use of INTDEF/INTUSE.
80145         * sunrpc/auth_none.c: Likewise.
80146         * sunrpc/auth_unix.c: Likewise.
80147         * sunrpc/authdes_prot.c: Likewise.
80148         * sunrpc/authuxprot.c: Likewise.
80149         * sunrpc/clnt_gen.c: Likewise.
80150         * sunrpc/clnt_perr.c: Likewise.
80151         * sunrpc/clnt_raw.c: Likewise.
80152         * sunrpc/clnt_simp.c: Likewise.
80153         * sunrpc/clnt_tcp.c: Likewise.
80154         * sunrpc/clnt_udp.c: Likewise.
80155         * sunrpc/clnt_unix.c: Likewise.
80156         * sunrpc/des_crypt.c: Likewise.
80157         * sunrpc/des_soft.c: Likewise.
80158         * sunrpc/get_myaddr.c: Likewise.
80159         * sunrpc/key_call.c: Likewise.
80160         * sunrpc/key_prot.c: Likewise.
80161         * sunrpc/netname.c: Likewise.
80162         * sunrpc/pm_getmaps.c: Likewise.
80163         * sunrpc/pm_getport.c: Likewise.
80164         * sunrpc/pmap_clnt.c: Likewise.
80165         * sunrpc/pmap_prot.c: Likewise.
80166         * sunrpc/pmap_prot2.c: Likewise.
80167         * sunrpc/pmap_rmt.c: Likewise.
80168         * sunrpc/publickey.c: Likewise.
80169         * sunrpc/rpc_cmsg.c: Likewise.
80170         * sunrpc/rpc_common.c: Likewise.
80171         * sunrpc/rpc_dtable.c: Likewise.
80172         * sunrpc/rpc_prot.c: Likewise.
80173         * sunrpc/rpc_thread.c: Likewise.
80174         * sunrpc/rtime.c: Likewise.
80175         * sunrpc/svc.c: Likewise.
80176         * sunrpc/svc_auth.c: Likewise.
80177         * sunrpc/svc_authux.c: Likewise.
80178         * sunrpc/svc_raw.c: Likewise.
80179         * sunrpc/svc_run.c: Likewise.
80180         * sunrpc/svc_simple.c: Likewise.
80181         * sunrpc/svc_tcp.c: Likewise.
80182         * sunrpc/svc_udp.c: Likewise.
80183         * sunrpc/svc_unix.c: Likewise.
80184         * sunrpc/svcauth_des.c: Likewise.
80185         * sunrpc/xcrypt.c: Likewise.
80186         * sunrpc/xdr.c: Likewise.
80187         * sunrpc/xdr_array.c: Likewise.
80188         * sunrpc/xdr_float.c: Likewise.
80189         * sunrpc/xdr_intXX_t.c: Likewise.
80190         * sunrpc/xdr_mem.c: Likewise.
80191         * sunrpc/xdr_rec.c: Likewise.
80192         * sunrpc/xdr_ref.c: Likewise.
80193         * sunrpc/xdr_sizeof.c: Likewise.
80194         * sunrpc/xdr_stdio.c: Likewise.
80196 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
80198         [BZ #12650]
80199         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
80200         * sysdeps/ia64/dl-tls.h: Likewise.
80201         * sysdeps/powerpc/dl-tls.h: Likewise.
80202         * sysdeps/s390/dl-tls.h: Likewise.
80203         * sysdeps/sh/dl-tls.h: Likewise.
80204         * sysdeps/sparc/dl-tls.h: Likewise.
80205         * sysdeps/x86_64/dl-tls.h: Likewise.
80206         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
80208 2011-03-14  Andreas Schwab  <schwab@redhat.com>
80210         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
80211         rpath element also skip the following colon.
80212         (expand_dynamic_string_token): Add is_path parameter and pass
80213         down to DL_DST_REQUIRED and _dl_dst_substitute.
80214         (decompose_rpath): Call expand_dynamic_string_token with
80215         non-zero is_path.  Ignore empty rpaths.
80216         (_dl_map_object_from_fd): Call expand_dynamic_string_token
80217         with zero is_path.
80219 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
80221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
80222         Make cancelable.
80224 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
80226         [BZ #12655]
80227         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
80228         Patch by Filipe David Manana <fdmanana@apache.org>.
80230 2011-04-07  Andreas Schwab  <schwab@redhat.com>
80232         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
80233         Maintain aligned stack.
80234         (CHECK_RSP): Remove unused macro.
80236 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
80238         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
80239         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
80241 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
80243         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
80245         * include/features.h: Mention __USE_XOPEN2K8 in comment.
80247 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
80249         [BZ #12518]
80250         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
80251         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
80252         * sysdeps/x86_64/memmove.c: New file.
80253         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
80254         (memcpy): Renamed to ...
80255         (__new_memcpy): This.
80256         (memcpy): Provide GLIBC_2_14 memcpy.
80257         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
80258         (memcpy): Provide GLIBC_2_2_5 memcpy.
80260 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
80262         [BZ #12631]
80263         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
80265 2011-03-30  Andreas Schwab  <schwab@redhat.com>
80267         * misc/syncfs.c: New file.
80268         * misc/Makefile (routines): Add syncfs.
80269         * posix/unistd.h: Declare syncfs.
80270         * sysdeps/unix/syscalls.list: Add syncfs.
80272 2011-04-01  Andreas Schwab  <schwab@redhat.com>
80274         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
80275         open_by_handle_at.
80276         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
80277         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80278         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80279         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80280         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80281         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
80282         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80284 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
80286         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
80287         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80288         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
80289         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80290         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80291         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80292         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80294         * io/Makefile: Compile fallocate.c, fallocate64.c, and
80295         sync_file_range.c with -fexceptions.
80296         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
80297         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
80298         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
80299         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
80300         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
80301         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
80302         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
80303         sync_file_range as cancellation point
80304         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
80305         now a wrapper around __call_sync_file_range with cancellation handling.
80306         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
80307         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
80308         function name to __call_sync_file_range.
80309         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
80310         Add call_sync_file_range.
80312 2011-04-01  Andreas Schwab  <schwab@redhat.com>
80314         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80315         bits/timex.h.
80317 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
80319         * iconv/iconv.h: Fix typo in comment.
80320         * io/fcntl.h: Likewise.
80321         * libio/stdio.h: Likewise.
80322         * posix/spawn.h: Likewise.
80323         * posix/unistd.h: Likewise.
80324         * stdlib/stdlib.h: Likewise.
80325         * time/time.h: Likewise.
80326         * wcsmbs/wchar.h: Likewise.
80328         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
80329         open_by_handle): Add.
80330         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
80331         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
80332         Augment a few comments.
80333         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
80334         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
80335         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
80336         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
80337         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
80338         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
80339         open_by_handle.
80341         * io/fcntl.h (AT_EMPTY_PATH): Define.
80343 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
80345         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
80346         * sysdeps/unix/sysv/linux/bits/time.h: New file.
80347         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
80348         to...
80349         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
80350         * Versions.def: Add GLIBC_2.14.
80351         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
80352         Export.
80354 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
80356         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
80357         round counter.
80358         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
80360 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80362         [BZ #12597]
80363         * string/test-strncmp.c (do_page_test): New function.
80364         (check2): Likewise.
80365         (test_main): Call check2.
80366         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
80368 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
80370         [BZ #12587]
80371         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
80372         Handle cache information in CPU leaf 4.
80373         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
80375 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
80377         [BZ #12583]
80378         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
80379         character representation.
80380         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
80382 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
80384         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
80385         END(__isnan) to END(__isnanf) to match function entry point/label
80386         EALIGN(__isnanf,...).
80388 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
80390         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
80392 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
80394         [BZ #12510]
80395         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
80396         copy from the symbol referenced in the relocation to initialize the
80397         used variable.
80398         Patch by Piotr Bury <pbury@goahead.com>.
80399         * elf/Makefile: Add rules to build and tst-unique3.
80400         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
80401         * elf/tst-unique3.cc: New file.
80402         * elf/tst-unique3.h: New file.
80403         * elf/tst-unique3lib.cc: New file.
80404         * elf/tst-unique3lib2.cc: New file.
80406         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
80408 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
80410         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
80411         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
80412         to _start.
80414 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
80416         * elf/dl-load.c (_dl_map_object): If we are looking for the first
80417         to-be-loaded object along a path to loader is ld.so.
80419 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
80420             Ulrich Drepper  <drepper@gmail.com>
80422         * sysdeps/x86_64/memset.S: After aligning destination, code
80423         branches to different locations depending on the value of
80424         misalignment, when multiarch is enabled. Fix this.
80426 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
80428         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
80429         Set _x86_64_preferred_memory_instruction for AMD processsors.
80430         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80431         Set bit_Prefer_SSE_for_memop for AMD processors.
80433 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
80435         * libio/fmemopen.c (fmemopen): Optimize a bit.
80437 2011-03-03  Andreas Schwab  <schwab@redhat.com>
80439         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
80441 2011-03-03  Roland McGrath  <roland@redhat.com>
80443         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
80445 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
80447         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
80448         __bzero_ultra1 instead of __memset_ultra1.
80450 2011-02-23  Andreas Schwab  <schwab@redhat.com>
80451             Ulrich Drepper  <drepper@gmail.com>
80453         [BZ #12509]
80454         * include/link.h (struct link_map): Add l_orig_initfini.
80455         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
80456         returning unsuccessfully.
80457         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
80458         close of a file loaded at startup, restore the original l_initfini
80459         list.
80460         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
80461         list, store the pointer.
80462         * elf/Makefile ($(objpfx)noload-mem): New rule.
80463         (noload-ENV): Define.
80464         (tests): Add $(objpfx)noload-mem.
80465         * elf/noload.c: Include <memcheck.h>.
80466         (main): Call mtrace.  Close all opened handles.
80468 2011-02-17  Andreas Schwab  <schwab@redhat.com>
80470         [BZ #12454]
80471         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
80472         dependencies are missing.
80474 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80476         Fix __if_freereq crash: Unlike the generic version which uses free,
80477         Hurd needs munmap.
80478         * sysdeps/mach/hurd/ifreq.h: New file.
80480 2011-01-27  Petr Baudis  <pasky@suse.cz>
80481             Ulrich Drepper  <drepper@gmail.com>
80483         [BZ 12445]#
80484         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
80485         to extend_alloca().
80486         * stdio-common/bug23.c: New file.
80487         * stdio-common/Makefile (tests): Add bug23.
80489 2010-09-28  Andreas Schwab  <schwab@redhat.com>
80490             Ulrich Drepper  <drepper@gmail.com>
80492         [BZ #12489]
80493         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
80494         before performing relro protection.  At old place add assertion
80495         to make sure nothing changed.
80497 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
80498             Glauber de Oliveira Costa  <glommer@gmail.com>
80500         * elf/elf.h: Add new ARM TLS relocs.
80502 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
80504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
80505         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
80506         cast from r3.
80507         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
80508         'tests' variable.
80509         * sysdeps/wordsize-64/tst-writev.c: New file.
80511 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
80513         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
80514         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
80515         insns in _dl_start to prevent a TOC reference before relocs are
80516         resolved.
80518 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
80520         [BZ #12469]
80521         * Makeconfig: Remove RANLIB definition.
80522         * Makerules: Don't use RANLIB.
80523         * aclocal.m4: Remove ranlib test.
80524         * configure.in: No need to check for ranlib.
80525         * elf/rtld-Rules: Don't use RANLIB.
80527 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80529         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
80530         protection macro.
80531         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
80532         inclusion protection macro.
80534         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
80535         SIGRTMIN and SIGRTMAX and print information in that case only when
80536         SIGRTMIN is defined.
80538 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
80540         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
80541         arginfo fn returning -1.
80543         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
80544         and thousands string is zero terminated.
80546 2011-02-03  Andreas Schwab  <schwab@redhat.com>
80548         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
80549         sysdeps/unix/sysv/linux/bits/socket.h.
80551 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80553         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
80554         (__CPU_COUNT): Remove old macros.
80555         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
80556         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
80557         (__CPU_ALLOC, __CPU_FREE): Add macros.
80558         (__sched_cpualloc, __sched_cpufree): Add declarations.
80560 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
80562         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
80563         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
80564         * nscd/aicache.c (addhstaiX): Return timeout of added value.
80565         (readdhstai): Return value of addhstaiX call.
80566         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
80567         (addgrbyX): Return value returned by cache_addgr.
80568         (readdgrbyname): Return value returned by addgrbyX.
80569         (readdgrbygid): Likewise.
80570         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
80571         (addpwbyX): Return value returned by cache_addpw.
80572         (readdpwbyname): Return value returned by addhstbyX.
80573         (readdpwbyuid): Likewise.
80574         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
80575         (addservbyX): Return value returned by cache_addserv.
80576         (readdservbyname): Return value returned by addservbyX:
80577         (readdservbyport): Likewise.
80578         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
80579         (addhstbyX): Return value returned by cache_addhst.
80580         (readdhstbyname): Return value returned by addhstbyX.
80581         (readdhstbyaddr): Likewise.
80582         (readdhstbynamev6): Likewise.
80583         (readdhstbyaddrv6): Likewise.
80584         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
80585         (readdinitgroups): Return value returned by addinitgroupsX.
80586         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
80587         (prune_cache): Keep track of timeout value of re-added entries.
80588         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
80589         * nscd/nscd.h: Adjust prototypes of readd* functions.
80591 2011-02-04  Roland McGrath  <roland@redhat.com>
80593         * nis/nis_server.c (nis_servstate): Use the right name for 0.
80594         (nis_stats): Likewise.
80595         * nis/nis_modify.c (nis_modify): Likewise.
80596         * nis/nis_remove.c (nis_remove): Likewise.
80597         * nis/nis_add.c (nis_add): Likewise.
80599         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
80601         * posix/fnmatch_loop.c: Add some consts.
80603         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
80605 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
80607         [BZ #12460]
80608         * config.make.in (config-cflags-novzeroupper): Define.
80609         * configure.in: Substitute libc_cv_cc_novzeroupper.
80610         * elf/Makefile (AVX-CFLAGS): Define.
80611         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
80612         (CFLAGS-tst-auditmod4a.c): Likewise.
80613         (CFLAGS-tst-auditmod4b.c): Likewise.
80614         (CFLAGS-tst-auditmod6b.c): Likewise.
80615         (CFLAGS-tst-auditmod6c.c): Likewise.
80616         (CFLAGS-tst-auditmod7b.c): Likewise.
80617         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
80619 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
80621         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
80622         function to the callback.
80623         Patch partly by Jiri Olsa <jolsa@redhat.com>.
80625 2011-02-02  Andreas Schwab  <schwab@redhat.com>
80627         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
80628         of errno.
80630 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
80632         [BZ #11724]
80633         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
80634         of constructors.
80635         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
80636         of destructors.
80637         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
80639         [BZ #11724]
80640         * elf/Makefile: Add rules to build and run new test.
80641         * elf/tst-initorder.c: New file.
80642         * elf/tst-initorder.exp: New file.
80643         * elf/tst-initordera1.c: New file.
80644         * elf/tst-initordera2.c: New file.
80645         * elf/tst-initordera3.c: New file.
80646         * elf/tst-initordera4.c: New file.
80647         * elf/tst-initorderb1.c: New file.
80648         * elf/tst-initorderb2.c: New file.
80649         * elf/tst-order-a1.c: New file.
80650         * elf/tst-order-a2.c: New file.
80651         * elf/tst-order-a3.c: New file.
80652         * elf/tst-order-a4.c: New file.
80653         * elf/tst-order-b1.c: New file.
80654         * elf/tst-order-b2.c: New file.
80655         * elf/tst-order-main.c: New file.
80656         New test case by George Gensure <werkt0@gmail.com>.
80658 2010-10-01  Andreas Schwab  <schwab@redhat.com>
80660         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
80661         decoding ACE if AI_CANONIDN.
80663 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
80665         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
80667 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
80669         * version.h (RELEASE): Bump for 2.13 release.
80670         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
80672         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
80674         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
80675         MADV_NOHUGEPAGE.
80676         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
80677         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
80678         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
80679         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
80680         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
80681         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
80683         * posix/getconf.c: Update copyright year.
80684         * catgets/gencat.c: Likewise.
80685         * csu/version.c: Likewise.
80686         * debug/catchsegv.sh: Likewise.
80687         * debug/xtrace.sh: Likewise.
80688         * elf/ldconfig.c: Likewise.
80689         * elf/ldd.bash.in: Likewise.
80690         * elf/sprof.c (print_version): Likewise.
80691         * iconv/iconv_prog.c: Likewise.
80692         * iconv/iconvconfig.c: Likewise.
80693         * locale/programs/locale.c: Likewise.
80694         * locale/programs/localedef.c: Likewise.
80695         * malloc/memusage.sh: Likewise.
80696         * malloc/mtrace.pl: Likewise.
80697         * nscd/nscd.c (print_version): Likewise.
80698         * nss/getent.c: Likewise.
80700         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
80701         PF_CAIF, and PF_ALG.
80702         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80704 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
80706         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
80707         (modules-names): Use them.
80708         (ifunc-test-modules, ifunc-pie-tests): Define.
80709         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
80710         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
80711         (test-extras): Likewise.
80712         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
80713         $(compile-command.c).
80714         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
80715         (all-built-dso): Define.
80716         (check-textrel.out, check-execstack.out): Depend on it.
80718         * configure.in: Don't override --enable-multi-arch.
80720 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
80722         [BZ #6812]
80723         * nscd/hstcache.c (tryagain): Define.
80724         (cache_addhst): Return tryagain not notfound for temporary errors.
80725         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
80726         failed.
80728 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
80730         [BZ #10563]
80731         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
80732         to make the syscall.
80733         * sysdeps/unix/sysv/linux/setgroups.c: New file.
80735         [BZ #12378]
80736         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
80737         and fall back to matching as normal character if the string ends before
80738         the matching ']' is found.  This is what POSIX requires.
80739         * posix/testfnm.c: Adjust test result.
80740         * posix/globtest.sh: Adjust test result.  Add new test.
80741         * posix/tst-fnmatch.input: Likewise.
80742         * posix/tst-fnmatch2.c: Add new test.
80744 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
80746         * elf/Makefile (check-execstack): Revert last change.  Depend on
80747         check-execstack.h.
80748         (check-execstack.h): New target.
80749         (generated): Add check-execstack.h.
80750         * elf/check-execstack.c: Include "check-execstack.h".
80751         (main): Revert last change.
80752         (handle_file): Return zero if GNU_STACK is absent and
80753         DEFAULT_STACK_PERMS doesn't include PF_X.
80755 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
80757         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
80758         in child fails because the descriptor is already closed.
80759         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
80760         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
80761         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
80763         [BZ #12397]
80764         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
80765         syscall.
80767         [BZ #10484]
80768         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
80769         temporary buffer used to handle multi lookups locally.
80770         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
80772 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
80774         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
80775         loader is ld.so.
80777 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
80779         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
80780         alignment for SSE2.
80782 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
80784         [BZ #12394]
80785         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
80786         characters.  When rounding increased number of integer digits recompute
80787         number of groups.
80788         * stdio-common/tst-grouping.c: New file.
80789         * stdio-common/Makefile: Add rules to build and run tst-grouping.
80791 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
80793         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
80794         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
80796         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
80797         void.
80798         * bits/select.h: Likewise.
80800 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
80802         * po/ja.po: Update from translation team.
80804 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
80806         [BZ #11155]
80807         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
80808         implementation just like for lxstat, fxstatat, et al.
80810 2010-12-27  Jim Meyering  <meyering@redhat.com>
80812         [BZ #12348]
80813         * posix/regexec.c (build_trtable): Return failure indication upon
80814         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
80816 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
80818         [BZ #12201]
80819         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
80820         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
80821         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
80822         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
80824         [BZ #12207]
80825         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
80827         [BZ #12204]
80828         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
80829         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
80831 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
80833         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
80834         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
80835         script has SORT_BY_INIT_PRIORITY.
80836         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
80837         NO_CTORS_DTORS_SECTIONS is defined.
80838         * elf/soinit.c: Likewise.
80839         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
80840         NO_CTORS_DTORS_SECTIONS is defined.
80841         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
80842         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
80843         * sysdeps/sh/init-first.c: Likewise.
80844         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
80846 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
80848         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
80849         always use the slow path.
80851 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
80853         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
80854         similar rule which adds the sysdep directories to the header search in
80855         order to pick up the correct platform stackinfo.h.
80856         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
80857         perform test if it is, otherwise return successfully without testing.
80858         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
80859         DEFAULT_STACK_PERMS define in stackinfo.h.
80860         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
80861         defined in stackinfo.h.
80862         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
80863         DEFAULT_STACK_PERMS defined in stackinfo.h.
80864         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
80865         * sysdeps/ia64/stackinfo.h: Likewise.
80866         * sysdeps/s390/stackinfo.h: Likewise.
80867         * sysdeps/sh/stackinfo.h: Likewise.
80868         * sysdeps/sparc/stackinfo.h: Likewise.
80869         * sysdeps/x86_64/stackinfo.h: Likewise.
80870         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
80871         PF_X for powerpc64.  Retain PF_X for powerpc32.
80873 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
80875         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
80876         accurately.
80877         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
80878         GETDENTS_64BIT_ALIGNED.
80880 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
80882         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
80884 2010-12-10  Andreas Schwab  <schwab@redhat.com>
80886         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
80887         _GNU_SOURCE.
80889         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
80890         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
80891         Remove __restrict.
80892         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
80893         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
80895 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
80897         [BZ #11655]
80898         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
80899         are initialized.
80901 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
80903         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
80905 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
80907         * po/it.po: Update from translation team.
80909 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
80911         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
80912         unused codes.
80914 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
80916         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
80918 2010-11-24  Andreas Schwab  <schwab@redhat.com>
80920         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
80921         specially.
80922         (gaih_getanswer_slice): Likewise.
80924 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
80926         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
80928 2010-05-31  Petr Baudis  <pasky@suse.cz>
80930         [BZ #11149]
80931         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
80932         silently even in the chroot mode.
80934 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
80936         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
80937         last patch a bit.  Pretty printing
80939 2010-05-31  Petr Baudis <pasky@suse.cz>
80941         [BZ #10085]
80942         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
80943         initialization of skip_initgroups_dyn.
80945 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
80947         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
80948         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
80950 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
80952         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
80954 2010-11-11  Andreas Schwab  <schwab@redhat.com>
80956         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
80957         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
80958         (tst-fnmatch-ENV): Set MALLOC_TRACE.
80959         ($(objpfx)tst-fnmatch-mem): New rule.
80960         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
80961         * posix/tst-fnmatch.c (main): Call mtrace.
80963 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
80965         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80966         Support Intel processor model 6 and model 0x2c.
80968 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
80970         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
80971           signed comparison.
80973 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
80975         [BZ #12205]
80976         * string/test-strncasecmp.c (check_result): New function.
80977         (do_one_test): Use it.
80978         (check1): New function.
80979         (test_main): Use it.
80980         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
80981         Support strcasecmp and strncasecmp.
80983 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
80985         [BZ #12194]
80986         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
80987         * sysdeps/x86_64/bits/byteswap.h: Likewise.
80989 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
80991         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
80992         IFUNC support.
80993         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80994         memset-x86-64.
80995         * sysdeps/x86_64/multiarch/bzero.S: New file.
80996         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
80997         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
80998         * sysdeps/x86_64/multiarch/memset.S: New file.
80999         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
81000         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81001         Set bit_Prefer_SSE_for_memop for Intel processors.
81002         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
81003         Define.
81004         (index_Prefer_SSE_for_memop): Define.
81005         (HAS_PREFER_SSE_FOR_MEMOP): Define.
81007 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
81009         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
81010         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
81012 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
81014         [BZ #12191]
81015         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
81016         (__x86_64_raw_data_cache_size_half): Likewise.
81017         (__x86_64_raw_shared_cache_size): Likewise.
81018         (__x86_64_raw_shared_cache_size_half): Likewise.
81020         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
81021         (__x86_64_raw_data_cache_size_half): Likewise.
81022         (__x86_64_raw_shared_cache_size): Likewise.
81023         (__x86_64_raw_shared_cache_size_half): Likewise.
81024         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
81025         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
81026         and __x86_64_raw_shared_cache_size_half.  Round
81027         __x86_64_data_cache_size_half, __x86_64_data_cache_size
81028         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
81029         to multiple of 256 bytes.
81031 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
81033         [BZ #12167]
81034         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
81035         of inacessible symlinks.  Verify result of symlink before returning it.
81036         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
81037         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
81039 2010-10-28  Erich Ritz  <erichritz@gmail.com>
81041         * math/math.h (isinf): Fix typo in comment.
81043 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
81045         * po/da.po: Update from translation team.
81047 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
81049         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
81050         is added to the list.
81052 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81053             Ulrich Drepper  <drepper@gmail.com>
81055         * elf/dl-object.c (_dl_new_object): Don't append the new object to
81056         the global list here.  Move code to...
81057         (_dl_add_to_namespace_list): ...here.  New function.
81058         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
81059         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
81060         * elf/dl-load.c (lose): Don't remove the element from the list.
81061         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
81062         (_dl_map_object): Likewise.
81064 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
81066         [BZ #12159]
81067         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
81068         into all bytes of SSE register.
81069         Patch by Richard Li <richardpku@gmail.com>.
81071 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
81073         [BZ #12140]
81074         * malloc/malloc.c (_int_free): Fill correct number of bytes when
81075         perturbing.
81077 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
81079         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
81080         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
81081         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
81082         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
81083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
81084         submachine.
81085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
81087 2010-10-22  Andreas Schwab  <schwab@redhat.com>
81089         * include/dlfcn.h (__RTLD_SECURE): Define.
81090         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
81091         mode & __RTLD_SECURE instead.
81092         (open_path): Rename preloaded parameter to secure.
81093         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
81094         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
81095         * elf/dl-deps.c (openaux): Likewise.
81096         * elf/rtld.c (struct map_args): Remove is_preloaded.
81097         (map_doit): Don't use it.
81098         (dl_main): Likewise.
81099         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
81100         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
81102 2010-09-09  Andreas Schwab  <schwab@redhat.com>
81104         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
81105         (sysd-rules-targets): Remove duplicates.
81106         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
81107         rtld-%.$o dependency.
81109 2010-10-18  Andreas Schwab  <schwab@redhat.com>
81111         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
81112         _dl_map_object do it.
81114 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
81116         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
81117         fast fma builtins, define the macros in the C99 standard.
81118         (FP_FAST_FMAF): Likewise.
81119         (FP_FAST_FMAL): Likewise.
81120         * sysdeps/x86_64/bits/mathdef.h: Likewise.
81122         * bits/mathdef.h: Update copyright year.
81123         * sysdeps/powerpc/bits/mathdef.h: Likewise.
81125 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
81127         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
81128         builtins, define the macros in the C99 standard.
81129         (FP_FAST_FMAF): Likewise.
81130         (FP_FAST_FMAL): Likewise.
81131         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
81132         multiply/add.
81133         (FP_FAST_FMAF): Likewise.
81135 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
81137         [BZ #3268]
81138         * math/libm-test.inc (fma_test): Some new testcases.
81139         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
81140         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
81141         y and infinite z.  Do multiplication by C already in long double.
81142         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
81143         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
81144         y and infinite z.  Do bitwise or of inexact bit into u.d.
81145         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
81146         * sysdeps/i386/fpu/s_fmaf.S: Removed.
81147         * sysdeps/i386/fpu/s_fma.S: Removed.
81148         * sysdeps/i386/fpu/s_fmal.S: Removed.
81150 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
81152         [BZ #3268]
81153         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
81154         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
81155         computation is not scheduled after fetestexcept.  Fix value
81156         of minimum denormal long double.
81158 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
81160         [BZ #3268]
81161         * math/libm-test.inc (fma_test): Add some more tests.
81162         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
81163         correctly.
81165 2010-10-15  Andreas Schwab  <schwab@redhat.com>
81167         * scripts/data/localplt-s390-linux-gnu.data: New file.
81168         * scripts/data/localplt-s390x-linux-gnu.data: New file.
81170 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
81172         [BZ #3268]
81173         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
81174         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
81175         instead of dbl-64.
81176         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
81177         inlines.
81178         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
81179         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
81180         if one of x and y is very large and the other is subnormal.
81181         * sysdeps/s390/fpu/s_fmaf.c: New file.
81182         * sysdeps/s390/fpu/s_fma.c: New file.
81183         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
81184         * sysdeps/powerpc/fpu/s_fma.S: New file.
81185         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
81186         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
81187         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
81189 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
81191         [BZ #3268]
81192         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
81193         fma tests.
81194         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
81195         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
81196         * sysdeps/i386/i686/multiarch/s_fma.c: Include
81197         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
81198         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
81199         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
81200         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
81202 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
81204         [BZ #12078]
81205         * posix/regcomp.c (parse_branch): One more memory leak plugged.
81206         * posix/bug-regex31.input: Add test case.
81208 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
81210         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
81211         * posix/bug-regex31.input: New file.
81213         [BZ #12078]
81214         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
81215         (parse_sub_exp): Fix last change, use postorder.
81217         * posix/bug-regex31.c: New file.
81218         * posix/Makefile: Add rules to build and run bug-regex31.
81220         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
81222         [BZ #12078]
81223         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
81225         [BZ #12108]
81226         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
81227         to have entries in sys_siglist.
81229         [BZ #12093]
81230         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
81231         be NULL.
81233 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
81235         [BZ #3268]
81236         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
81237         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
81238         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
81239         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
81240         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
81241         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
81242         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
81243         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
81244         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
81245         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
81246         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
81247         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
81248         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
81249         * math/ftestexcept.c (fetestexcept): Likewise.
81250         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
81251         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
81252         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
81253         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
81254         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
81255         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
81256         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
81258 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
81260         [BZ #12107]
81261         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
81262         newline.
81264 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
81266         * string/bug-strstr1.c: New file.
81267         * string/Makefile: Add rules to build and run bug-strstr1.
81269 2010-10-05  Eric Blake  <eblake@redhat.com>
81271         [BZ #12092]
81272         * string/str-two-way.h (two_way_long_needle): Always clear memory
81273         when skipping input due to the shift table.
81275 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
81277         [BZ #12005]
81278         * malloc/mcheck.c: Handle large requests.
81280         [BZ #12077]
81281         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
81282         for strncmp and strncasecmp.
81283         * string/stratcliff.c: Add tests for strcmp and strncmp.
81284         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
81286 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
81288         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
81289         __set_fpscr.
81291 2010-09-30  Andreas Jaeger  <aj@suse.de>
81293         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
81294         (CGROUP_SUPER_MAGIC): Define.
81295         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
81296         Handle btrfs and cgroup file systems.
81297         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
81298         Likewise.
81300 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
81302         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
81303         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
81305 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81307         [BZ #12067]
81308         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
81309         trying to locate the ELF header.
81311 2010-09-27  Andreas Schwab  <schwab@redhat.com>
81313         [BZ #11611]
81314         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
81315         Mask out sign-bit copies when constructing f_fsid.
81317 2010-09-24  Petr Baudis <pasky@suse.cz>
81319         * debug/stack_chk_fail_local.c: Add missing licence exception.
81320         * debug/warning-nop.c: Likewise.
81322 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
81324         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
81325         implementing getdents64 using getdents syscall, set d_type if
81326         __ASSUME_GETDENTS32_D_TYPE.
81328 2010-09-16  Andreas Schwab  <schwab@redhat.com>
81330         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
81331         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
81333 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
81335         [BZ #12037]
81336         * posix/unistd.h: Undo change of feature selection for ftruncate from
81337         2010-01-11.
81339 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
81341         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
81342         detection.
81344 2010-09-20  Andreas Schwab  <schwab@redhat.com>
81346         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
81347         fanotify_mark.
81348         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
81350 2010-09-14  Andreas Schwab  <schwab@redhat.com>
81352         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
81353         variables after CHECK_SP call.
81354         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
81356 2010-09-13  Andreas Schwab  <schwab@redhat.com>
81357             Ulrich Drepper  <drepper@redhat.com>
81359         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
81360         re-relocationg ld.so.
81361         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
81362         _dl_init_paths call.
81363         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
81364         here anymore.
81366 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
81368         * resolv/res_init.c (__res_vinit): Count the default server we added.
81370 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
81371             Ulrich Drepper  <drepper@redhat.com>
81373         [BZ #11968]
81374         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
81375         (____longjmp_chk): Use %ebx for saving value across system call.
81376         Add unwind info.
81378 2010-09-06  Andreas Schwab  <schwab@redhat.com>
81380         * manual/Makefile: Don't mix pattern rules with normal rules.
81382 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
81384         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
81385         operation.
81386         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
81387         * libio/iofopncook.c (_IO_cookie_init): Likewise.
81388         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
81389         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
81390         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81391         Likewise.
81393 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
81395         [BZ #11979]
81396         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
81397         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
81399 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
81401         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
81402         * sysdeps/x86_64/addmul_1.S: Likewise.
81403         * sysdeps/x86_64/lshift.S: Likewise.
81404         * sysdeps/x86_64/mul_1.S: Likewise.
81405         * sysdeps/x86_64/rshift.S: Likewise.
81406         * sysdeps/x86_64/sub_n.S: Likewise.
81407         * sysdeps/x86_64/submul_1.S: Likewise.
81409 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81411         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
81412         Define __sched_param instead of SCHED_* and sched_param when
81413         <bits/sched.h> is included with __need_schedparam defined.
81414         * bits/sched.h [__need_schedparam]
81415         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
81416         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
81417         (__defined_schedparam): Define to 1.
81418         (__sched_param): New structure, identical to sched_param.
81419         (__need_schedparam): Undefine.
81421 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
81423         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
81424         (epoll_create1): Declare.
81426         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
81428 2010-08-31  Andreas Schwab  <schwab@redhat.com>
81430         [BZ #7066]
81431         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
81432         shifting retval into place.
81434 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
81436         * nis/rpcsvc/nis.h: Update copyright notice.
81437         * nis/rpcsvc/nis.x: Likewise.
81438         * nis/rpcsvc/nis_callback.h: Likewise.
81439         * nis/rpcsvc/nis_callback.x: Likewise.
81440         * nis/rpcsvc/nis_object.x: Likewise.
81441         * nis/rpcsvc/nis_tags.h: Likewise.
81442         * nis/rpcsvc/yp.h: Likewise.
81443         * nis/rpcsvc/yp.x: Likewise.
81444         * nis/rpcsvc/ypupd.h: Likewise.
81445         * nis/yp_xdr.c: Likewise.
81446         * nis/ypupdate_xdr.c: Likewise.
81448         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
81449         mainly the body of pmap_getport.  Add parameters to specify timeouts.
81450         (pmap_getport): Use __libc_rpc_getport.
81451         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
81452         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
81453         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
81455 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
81457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
81458         fanotify_mark.
81460 2010-08-27  Roland McGrath  <roland@redhat.com>
81462         * sysdeps/i386/i686/multiarch/Makefile
81463         (CFLAGS-varshift.c): New variable.
81465 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
81467         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
81468         * sysdeps/i386/i686/multiarch/varshift.c: New file.
81470         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
81472         * sysdeps/x86_64/strlen.S: Minimal code improvement.
81474 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
81476         * sysdeps/x86_64/strlen.S: Unroll the loop.
81477         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81478         strlen-sse2 strlen-sse2-bsf.
81479         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
81480         __strlen_no_bsf if bit_Slow_BSF is set.
81481         (__strlen_sse42): Removed.
81482         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
81483         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
81485 2010-08-25  Roland McGrath  <roland@redhat.com>
81487         * sysdeps/x86_64/multiarch/varshift.S: File removed.
81488         * sysdeps/x86_64/multiarch/varshift.c: New file.
81489         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
81490         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
81491         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
81492         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
81494 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
81496         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81497         strlen-sse2 strlen-sse2-bsf.
81498         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
81499         __strlen_sse2_bsf if bit_Slow_BSF is unset.
81500         (__strlen_sse2): Removed.
81501         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
81502         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
81503         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
81504         bit_Slow_BSF for Atom.
81505         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
81506         (index_Slow_BSF): Define.
81507         (HAS_SLOW_BSF): Define.
81509 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
81511         [BZ #10851]
81512         * resolv/res_init.c (__res_vinit): When no server address at all
81513         is given default to loopback.
81515 2010-08-24  Roland McGrath  <roland@redhat.com>
81517         * configure.in: Remove config-name.h generation.
81518         * configure: Regenerated.
81519         * config-name.in: File removed.
81520         * scripts/config-uname.sh: New file.
81521         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
81522         ($(objdir)config-name.h): New target.
81524         * sunrpc/rpc_parse.h: Avoid nested comment.
81526 2010-08-24  Richard Henderson  <rth@redhat.com>
81527             Ulrich Drepper  <drepper@redhat.com>
81528             H.J. Lu  <hongjiu.lu@intel.com>
81530         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
81531         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
81532         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
81533         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
81534         _mm_alignr_epi8 with _mm_loadu_si128.
81535         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
81536         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
81537         (__m128i_shift_right): Removed.
81538         * sysdeps/i386/i686/multiarch/varshift.h: New file.
81539         * sysdeps/i386/i686/multiarch/varshift.S: New file.
81540         * sysdeps/x86_64/multiarch/varshift.h: New file.
81541         * sysdeps/x86_64/multiarch/varshift.S: New file.
81543 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
81545         * configure.in: Move assembler checks to before sysdep dir checking.
81547 2010-08-20  Petr Baudis  <pasky@suse.cz>
81549         * LICENSES: Sync the sunrpc license.
81551 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
81553         * sunrpc/auth_des.c: Update copyright notice once again.
81554         * sunrpc/auth_none.c: Likewise.
81555         * sunrpc/auth_unix.c: Likewise.
81556         * sunrpc/authdes_prot.c: Likewise.
81557         * sunrpc/authuxprot.c: Likewise.
81558         * sunrpc/bindrsvprt.c: Likewise.
81559         * sunrpc/clnt_gen.c: Likewise.
81560         * sunrpc/clnt_perr.c: Likewise.
81561         * sunrpc/clnt_raw.c: Likewise.
81562         * sunrpc/clnt_simp.c: Likewise.
81563         * sunrpc/clnt_tcp.c: Likewise.
81564         * sunrpc/clnt_udp.c: Likewise.
81565         * sunrpc/clnt_unix.c: Likewise.
81566         * sunrpc/des_crypt.c: Likewise.
81567         * sunrpc/des_soft.c: Likewise.
81568         * sunrpc/get_myaddr.c: Likewise.
81569         * sunrpc/getrpcport.c: Likewise.
81570         * sunrpc/key_call.c: Likewise.
81571         * sunrpc/key_prot.c: Likewise.
81572         * sunrpc/openchild.c: Likewise.
81573         * sunrpc/pm_getmaps.c: Likewise.
81574         * sunrpc/pm_getport.c: Likewise.
81575         * sunrpc/pmap_clnt.c: Likewise.
81576         * sunrpc/pmap_prot.c: Likewise.
81577         * sunrpc/pmap_prot2.c: Likewise.
81578         * sunrpc/pmap_rmt.c: Likewise.
81579         * sunrpc/rpc/auth.h: Likewise.
81580         * sunrpc/rpc/auth_unix.h: Likewise.
81581         * sunrpc/rpc/clnt.h: Likewise.
81582         * sunrpc/rpc/des_crypt.h: Likewise.
81583         * sunrpc/rpc/key_prot.h: Likewise.
81584         * sunrpc/rpc/netdb.h: Likewise.
81585         * sunrpc/rpc/pmap_clnt.h: Likewise.
81586         * sunrpc/rpc/pmap_prot.h: Likewise.
81587         * sunrpc/rpc/pmap_rmt.h: Likewise.
81588         * sunrpc/rpc/rpc.h: Likewise.
81589         * sunrpc/rpc/rpc_des.h: Likewise.
81590         * sunrpc/rpc/rpc_msg.h: Likewise.
81591         * sunrpc/rpc/svc.h: Likewise.
81592         * sunrpc/rpc/svc_auth.h: Likewise.
81593         * sunrpc/rpc/types.h: Likewise.
81594         * sunrpc/rpc/xdr.h: Likewise.
81595         * sunrpc/rpc_clntout.c: Likewise.
81596         * sunrpc/rpc_cmsg.c: Likewise.
81597         * sunrpc/rpc_common.c: Likewise.
81598         * sunrpc/rpc_cout.c: Likewise.
81599         * sunrpc/rpc_dtable.c: Likewise.
81600         * sunrpc/rpc_hout.c: Likewise.
81601         * sunrpc/rpc_main.c: Likewise.
81602         * sunrpc/rpc_parse.c: Likewise.
81603         * sunrpc/rpc_parse.h: Likewise.
81604         * sunrpc/rpc_prot.c: Likewise.
81605         * sunrpc/rpc_sample.c: Likewise.
81606         * sunrpc/rpc_scan.c: Likewise.
81607         * sunrpc/rpc_scan.h: Likewise.
81608         * sunrpc/rpc_svcout.c: Likewise.
81609         * sunrpc/rpc_tblout.c: Likewise.
81610         * sunrpc/rpc_util.c: Likewise.
81611         * sunrpc/rpc_util.h: Likewise.
81612         * sunrpc/rpcinfo.c: Likewise.
81613         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
81614         * sunrpc/rpcsvc/key_prot.x: Likewise.
81615         * sunrpc/rpcsvc/klm_prot.x: Likewise.
81616         * sunrpc/rpcsvc/mount.x: Likewise.
81617         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
81618         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
81619         * sunrpc/rpcsvc/rex.x: Likewise.
81620         * sunrpc/rpcsvc/rstat.x: Likewise.
81621         * sunrpc/rpcsvc/rusers.x: Likewise.
81622         * sunrpc/rpcsvc/sm_inter.x: Likewise.
81623         * sunrpc/rpcsvc/spray.x: Likewise.
81624         * sunrpc/rpcsvc/yppasswd.x: Likewise.
81625         * sunrpc/rtime.c: Likewise.
81626         * sunrpc/svc.c: Likewise.
81627         * sunrpc/svc_auth.c: Likewise.
81628         * sunrpc/svc_authux.c: Likewise.
81629         * sunrpc/svc_raw.c: Likewise.
81630         * sunrpc/svc_run.c: Likewise.
81631         * sunrpc/svc_simple.c: Likewise.
81632         * sunrpc/svc_tcp.c: Likewise.
81633         * sunrpc/svc_udp.c: Likewise.
81634         * sunrpc/svc_unix.c: Likewise.
81635         * sunrpc/svcauth_des.c: Likewise.
81636         * sunrpc/xcrypt.c: Likewise.
81637         * sunrpc/xdr.c: Likewise.
81638         * sunrpc/xdr_array.c: Likewise.
81639         * sunrpc/xdr_float.c: Likewise.
81640         * sunrpc/xdr_mem.c: Likewise.
81641         * sunrpc/xdr_rec.c: Likewise.
81642         * sunrpc/xdr_ref.c: Likewise.
81643         * sunrpc/xdr_sizeof.c: Likewise.
81644         * sunrpc/xdr_stdio.c: Likewise.
81646         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
81647         handling.
81649 2010-08-19  Andreas Schwab  <schwab@redhat.com>
81651         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
81653 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
81655         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
81656         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
81657         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
81658         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
81659         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
81660         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
81661         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
81662         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
81663         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
81664         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
81665         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
81666         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
81667         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
81668         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
81670 2010-07-26  Anton Blanchard  <anton@samba.org>
81672         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
81673         * malloc/arena.c (heap_trim): Likewise.
81675 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
81677         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
81678         here.  Not...
81679         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
81680         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
81682 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
81684         * sysdeps/i386/elf/Makefile: New file.
81686 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
81688         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
81689         from fanotify_init.
81690         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
81691         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
81693 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
81695         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
81696         of strncasecmp_l.
81697         * sysdeps/multiarch/strcmp.S: Likewise.
81699 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
81701         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
81702         strncase_l-nonascii.
81703         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
81704         Add strncase_l-ssse3.
81705         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
81706         * sysdeps/x86_64/strcmp.S: Likewise.
81707         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
81708         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
81709         * sysdeps/x86_64/strncase.S: New file.
81710         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
81711         * sysdeps/x86_64/strncase_l.S: New file.
81712         * string/Makefile (strop-tests): Add strncasecmp.
81713         * string/test-strncasecmp.c: New file.
81715         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
81716         warning.
81718         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
81719         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
81721 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
81723         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
81725 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
81727         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
81728         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
81729         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
81731 2010-05-01  Alan Modra  <amodra@gmail.com>
81733         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
81734         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
81735         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
81736         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
81737         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
81738         tidying.  Don't tail-call __sigjmp_save for static lib.
81739         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
81740         save location.
81741         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
81742         (CALL_MCOUNT): Add eh info, and nop after bl.
81743         (TAIL_CALL_SYSCALL_ERROR): New macro.
81744         (PSEUDO_RET): Use it.
81745         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
81746         Correct save location of integer regs and cr.
81747         (_dl_profile_resolve): Correct cr save location.  Delete nops
81748         after bl when SHARED.  Reduce cfi size a little by better
81749         placement of cfi directives.
81750         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
81751         make a stack frame.  Instead use parm save area as a temp.
81752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
81753         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
81754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
81755         Don't make a stack frame for parent, use parm save area.
81756         Increase child stack frame to 112 bytes.  Don't save unused reg,
81757         and adjust reg usage.  Set up cfi on error recovery and
81758         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
81759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
81760         (__makecontext): Add dummy nop after jump to exit.
81761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
81762         Use correct parm save area and cr save, reduce stack frame.
81763         Correct cfi for possible PSEUDO_RET frame setup.
81764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
81765         Branch to local label emitted by PSEUDO_RET rather than
81766         __syscall_error.
81768 2010-08-12  Andreas Schwab  <schwab@redhat.com>
81770         [BZ #11904]
81771         * locale/programs/locale.c (print_assignment): New function.
81772         (show_locale_vars): Use it.
81774 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
81776         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
81777         field.
81778         (struct statfs64): Likewise.
81779         (_STATFS_F_FLAGS): Define.
81780         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
81781         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
81782         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
81783         (ST_VALID): Define locally.
81784         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
81785         __statvfs_getflags, use the provided value.
81786         * sysdeps/unix/sysv/linux/kernel-features.h: Define
81787         __ASSUME_STATFS_F_FLAGS.
81789         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
81791         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
81792         Add sys/fanotify.h.
81793         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
81794         fanotify_mask for GLIBC_2.13.
81795         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
81796         fanotify_init and fanotify_mark.
81797         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
81798         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
81800         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
81801         Add prlimit.
81802         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
81803         prlimit64 for GLIBC_2.13.
81804         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
81805         prlimit64.
81806         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
81807         syscall.
81808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
81809         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
81810         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
81811         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
81812         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
81813         add prlimit alias.
81814         * sysdeps/unix/sysv/linux/prlimit.c: New file.
81816         [BZ #11903]
81817         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
81818         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
81820         * nss/Makefile: Add rules to build and run tst-nss-test1.
81821         * shlib-versions: Add entry for libnss_test1.
81822         * nss/nss_test1.c: New file.
81823         * nss/tst-nss-test1.c: New file.
81825         * nss/nsswitch.c (__nss_database_custom): Define new variable.
81826         (__nss_configure_lookup): Set appropriate entry in
81827         __nss_configure_lookup to true.
81828         * nss/nsswitch.h: Define enum with indeces of databases in
81829         databases and __nss_database_custom arrays.  Declare
81830         __nss_database_custom.
81831         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
81832         to avoid using nscd when custom rules are installed.
81833         * nss/getXXbyYY_r.c: Likewise.
81834         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
81836         * nss/nss_files/files-parse.c: Whitespace fixes.
81838 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
81840         [BZ #11883]
81841         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
81842         * posix/fnmatch_loop.c: Likewise.
81844 2010-07-17  Andi Kleen  <ak@linux.intel.com>
81846         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
81847         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
81848         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
81849         * Versions.def [GLIBC_2.13]: Add.
81851 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
81853         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
81854         Also fail if tpwd after pwuid call is NULL.
81856 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81858         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
81859         when converting to ms.
81861 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81863         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
81864         EOPNOTSUPP errors with ENOTTY.
81865         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
81866         EOPNOTSUPP errors with ENOTTY.
81868 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
81870         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
81871         Add strcasecmp_l-ssse3.
81872         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
81873         strcasecmp.
81874         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
81875         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
81876         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
81878 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
81880         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
81882         * string/Makefile (strop-tests): Add strcasecmp.
81883         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
81884         strcasecmp_l-nonascii.
81885         (gen-as-const-headers): Add locale-defines.sym.
81886         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
81887         * sysdeps/x86_64/strcasecmp.S: New file.
81888         * sysdeps/x86_64/strcasecmp_l.S: New file.
81889         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
81890         * sysdeps/x86_64/locale-defines.sym: New file.
81891         * string/test-strcasecmp.c: New file.
81893         * string/test-strcasestr.c: Test both ends of the range of characters.
81894         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
81896 2010-07-29  Roland McGrath  <roland@redhat.com>
81898         [BZ #11856]
81899         * manual/locale.texi (Yes-or-No Questions): Fix example code.
81901 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
81903         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
81904         for ld.so.
81906 2010-07-27  Andreas Schwab  <schwab@redhat.com>
81908         * manual/memory.texi (Malloc Tunable Parameters): Document
81909         M_PERTURB.
81911 2010-07-26  Roland McGrath  <roland@redhat.com>
81913         [BZ #11840]
81914         * configure.in (-fgnu89-inline check): Set and substitute
81915         gnu89_inline, not libc_cv_gnu89_inline.
81916         * configure: Regenerated.
81917         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
81919 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
81921         * string/test-strnlen.c: New file.
81922         * string/Makefile (strop-tests): Add strnlen.
81923         * string/tester.c (test_strnlen): Add a few more test cases.
81924         * string/tst-strlen.c: Better error reporting.
81926         * sysdeps/x86_64/strnlen.S: New file.
81928 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
81930         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
81931         lower-latency instructions.
81933 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
81935         * string/test-strcasestr.c: New file.
81936         * string/test-strstr.c: New file.
81937         * string/Makefile (strop-tests): Add strstr and strcasestr.
81938         * string/str-two-way.h: Don't undefine MAX.
81939         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
81941 2010-07-21  Andreas Schwab  <schwab@redhat.com>
81943         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81944         strcasestr-nonascii.
81945         (CFLAGS-strcasestr-nonascii.c): Define.
81946         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
81947         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
81948         Remove unused attribute.
81950 2010-07-20  Roland McGrath  <roland@redhat.com>
81952         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
81953         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
81954         ld.so.cache was broken.  With it, there is no way to disable dsocaps
81955         like LD_HWCAP_MASK can disable hwcaps.
81957 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
81959         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
81961 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
81963         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
81964         call in strcasestr.
81965         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
81966         __strcasestr_sse42_nonascii.
81967         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
81968         strcasestr-nonascii.c.
81969         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
81971 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
81973         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
81974         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
81975         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
81976         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
81978 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
81980         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
81981         fcntl.
81983 2010-07-06  Andreas Schwab  <schwab@redhat.com>
81985         [BZ #11577]
81986         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
81987         dl_signal_cerror.
81989 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
81991         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
81992         _PC_PIPE_BUF using F_GETPIPE_SZ.
81994 2010-07-05  Roland McGrath  <roland@redhat.com>
81996         * manual/arith.texi (Rounding Functions): Fix rint description
81997         implicit in round description.
81999 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
82001         * elf/Makefile: Fix linking for a few tests to make recent linker
82002         happy.
82004 2010-06-30  Andreas Schwab  <schwab@redhat.com>
82006         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
82007         $(common-objpfx)libc_nonshared.a.
82009 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
82011         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
82012         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
82013         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
82014         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
82015         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
82016         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
82017         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
82018         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
82019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
82020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
82021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
82022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
82023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
82024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
82025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
82026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
82027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
82028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
82029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
82030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
82031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
82032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
82033         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
82034         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
82035         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
82036         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
82037         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
82038         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
82039         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
82040         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
82041         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
82042         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
82043         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
82044         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
82045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
82046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
82047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
82048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
82049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
82050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
82051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
82052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
82053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
82054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
82055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
82056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
82057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
82058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
82060 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
82062         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
82063         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
82064         * string/memmove.c (memmove): Renamed to ...
82065         (MEMMOVE): ...this.  Default to memmove.
82066         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
82067         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
82068         (END_CHK): Define.
82069         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82070         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
82071         mempcpy-ssse3-back memmove-ssse3-back.
82072         * sysdeps/x86_64/multiarch/bcopy.S: New file .
82073         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
82074         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
82075         * sysdeps/x86_64/multiarch/memcpy.S: New file.
82076         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
82077         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
82078         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
82079         * sysdeps/x86_64/multiarch/memmove.c: New file.
82080         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
82081         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
82082         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
82083         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
82084         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
82085         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
82086         Define.
82087         (index_Fast_Copy_Backward): Define.
82088         (HAS_ARCH_FEATURE): Define.
82089         (HAS_FAST_REP_STRING): Define.
82090         (HAS_FAST_COPY_BACKWARD): Define.
82092 2010-06-21  Andreas Schwab  <schwab@redhat.com>
82094         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
82095         Restore proper fallback handling.
82097 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
82099         [BZ #11701]
82100         * posix/group_member.c (__group_member): Correct checking loop.
82102         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
82103         OOM in getpwuid_r correctly.  Return error number when the caller
82104         should return, otherwise -1.
82105         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
82106         call returning > 0 value.
82107         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
82109 2010-06-07  Andreas Schwab  <schwab@redhat.com>
82111         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
82112         libc_nonshared.a from targets in modules-names.
82114 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
82116         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
82117         requires it.
82119 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
82121         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
82122         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
82123         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
82124         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
82126 2010-06-02  Andreas Schwab  <schwab@redhat.com>
82128         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
82130 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
82132         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
82133         and F_GETPIPE_SZ.
82134         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
82135         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
82136         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
82137         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
82138         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
82139         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
82141 2010-06-14  Roland McGrath  <roland@redhat.com>
82143         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
82145 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
82147         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
82148         __REDIRECT followed by __THROW.
82149         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
82150         * posix/getopt.h (getopt): Likewise.
82152 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
82154         * hurd/lookup-at.c (__file_name_lookup_at): Accept
82155         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
82156         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
82157         in AT_FLAGS.
82158         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
82159         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
82161 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
82163         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
82165 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
82167         [BZ #11640]
82168         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82169         Properly check family and model.
82171 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
82173         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
82175 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
82177         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
82179 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
82181         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
82182         symbol reference.
82184 2010-05-19  Andreas Schwab  <schwab@redhat.com>
82186         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
82187         symbol reference.
82189 2010-05-21  Andreas Schwab  <schwab@redhat.com>
82191         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
82192         and internal_recvmmsg.
82193         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
82194         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
82195         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
82196         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
82198         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
82199         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
82200         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
82202 2010-05-20  Andreas Schwab  <schwab@redhat.com>
82204         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
82206 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
82208         POWER7 optimizations.
82209         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
82210         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
82212 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
82214         * version.h: Update for 2.13 development version.
82216 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
82218         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
82219         exceptions.  Return 0.
82221 2010-05-07  Roland McGrath  <roland@redhat.com>
82223         * elf/ldconfig.c (main): Add a const.
82225 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
82227         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
82228         (args_options): Add no-idn option.
82229         (ahosts_keys_int): Add idn_flags to ai_flags.
82230         (parse_option): Handle 'i' option to clear idn_flags.
82232         * malloc/malloc.c (_int_free): Possible race in the most recently
82233         added check.  Only act on the data if no current modification
82234         happened.
82236 See ChangeLog.17 for earlier changes.